This paper takes new energy vehicles as the research object, building the technical cooperation innovation network of new energy vehicles based on the patent perspective by establishing the related technology patent search expression, and analyzing the processes of the invulnerability and optimization in the actual technology cooperation innovation network by using the simulation analysis method. The research results show that the harmfulness of the degree value priority attack in the technical cooperation innovation network of new energy vehicles is stronger than the weighted degree value priority attack and random attack, and the attacks of the State Grid and other hub nodes have an important impact on the network invulnerability. During the network optimization process of three types of connection preferences, the "weak"-"weak" connection is the best connection mode given the situation of an unweighted network without considering the weight of the connected edge. However, the "strong"-"weak" connection is the best mode given the situation of a weighted network considering the weight of the connected edge. In addition, compared with the weighted network situation, the "strong"-"weak" connection has better network optimization results given the situation of an unweighted network. Finally, we propose counter measures and suggestions to promote the innovation network invulnerability capabilities of technical cooperation in new energy vehicles.