Method and system for secure transmission of charging equipment data

By using the management server to generate and exchange keys in the electric vehicle charging device, and using the vehicle identification code for identity authentication and data encryption, the problem of insufficient identity verification in the electric vehicle charging device is solved, and the security of data transmission and charging are achieved Network stability.

CN116112231BActive Publication Date: 2024-12-27PUTIAN NEW ENERGY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202211734400.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2024-12-27
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

In the prior art, electric vehicle charging equipment lacks effective identity verification measures during identity exchange and data transmission, resulting in information leakage and security risks, which may lead to paralysis of the charging network.

Method used

The management server generates and exchanges keys, uses the vehicle identification code to generate a private key for identity authentication, and encrypts data transmission through a random key to ensure the security of data transmission.

Benefits of technology

It has realized legal registration of electric vehicle identity and legal authentication of charging equipment, ensuring encryption verification during charging data transmission, avoiding information theft, and improving the security of the charging network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116112231B_ABST
    Figure CN116112231B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for secure data transmission of a charging device, and relates to the technical field of electric vehicle charging, wherein the method comprises: receiving an electric vehicle identification code sent by an electric vehicle after writing a first key, sending the received electric vehicle identification code to a management server, the management server generating a second key after receiving the electric vehicle identification code, and encrypting the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; receiving verification information sent by the management server, caching the second key, sending the received first ciphertext to the electric vehicle, the electric vehicle decrypting the received first ciphertext by the first key, obtaining the second key and caching it; receiving the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verifying whether the cached second key is valid based on the second ciphertext. The present invention can realize secure data transmission and ensure that information of the charging device will not be stolen during information communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric vehicle charging, and in particular to a method and system for securely transmitting charging equipment data. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.

[0003] The explosive growth of new energy vehicles has led to the rapid development of electric vehicle charging networks. The construction of charging pile infrastructure has continued to expand. The security risks of charging networks cannot be ignored. Once charging equipment is implanted with Trojans or viruses, illegal remote communication and operation or connection will occur, resulting in large-scale paralysis of the charging network, which will have a huge negative impact on the charging network, electric vehicles and even society. There is no solution to this problem in the existing technology. Summary of the invention

[0004] An embodiment of the present invention provides a method for secure data transmission of a charging device, which is applied to a charging device to achieve secure data transmission and provide a secure environment for information communication of the charging device. The method includes:

[0005] Receiving an electric vehicle identification code sent by the electric vehicle after writing a first key, wherein the first key is generated by the management server after obtaining the electric vehicle identification code and sent to the electric vehicle;

[0006] Sending the received electric vehicle identification code to the management server, the management server generates a second key after receiving the electric vehicle identification code, and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0007] Receiving verification information sent by the management server, wherein the verification information includes the second key and the first ciphertext;

[0008] The second key is cached, and the received first ciphertext is sent to the electric vehicle, and the electric vehicle decrypts the received first ciphertext by using the first key to obtain the second key and cache it;

[0009] A second ciphertext is received after the electric vehicle encrypts the first ciphertext using the second key and sends the second ciphertext, and based on the second ciphertext, it is verified whether the cached second key is valid.

[0010] The embodiment of the present invention further provides a charging device for realizing secure data transmission and providing a secure environment for information communication of the charging device, including:

[0011] A first key receiving module, used to receive an electric vehicle identification code sent by the electric vehicle after writing a first key, wherein the first key is generated by the management server after obtaining the electric vehicle identification code and sent to the electric vehicle;

[0012] An identification code sending module, used for sending the received electric vehicle identification code to the management server, and after receiving the electric vehicle identification code, the management server generates a second key, and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0013] A verification receiving module, used to receive verification information sent by the management server, wherein the verification information includes a second key and a first ciphertext;

[0014] A first ciphertext sending module is used to cache a second key and send the received first ciphertext to the electric vehicle, and the electric vehicle decrypts the received first ciphertext by using the first key to obtain the second key and cache it;

[0015] The second key verification module is used to receive a second ciphertext sent by the electric vehicle after encrypting the first ciphertext with the second key, and verify whether the cached second key is valid based on the second ciphertext.

[0016] The embodiment of the present invention further provides a method for secure transmission of charging device data, which is applied to a management server to achieve secure data transmission and provide a secure environment for information communication of charging devices. The method includes:

[0017] Obtaining an electric vehicle identification code, generating a first key according to the electric vehicle identification code, and sending the first key to the electric vehicle, wherein the electric vehicle sends the electric vehicle identification code to the charging device after writing the first key;

[0018] Receive the electric vehicle identification code sent by the charging device;

[0019] Generate a second key, and encrypt the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0020] Sending verification information to the charging device, wherein the verification information includes the second key and the first ciphertext;

[0021] Among them, the charging device caches the second key and sends the received first ciphertext to the electric vehicle. The electric vehicle decrypts the received first ciphertext using the first key, obtains the second key and caches it; the charging device receives the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verifies whether the cached second key is valid based on the second ciphertext.

[0022] The embodiment of the present invention further provides a management server for realizing secure data transmission and providing a secure environment for information communication of charging devices, including:

[0023] A first key generation module, used for obtaining an electric vehicle identification code, generating a first key according to the electric vehicle identification code, and sending the first key to the electric vehicle, wherein the electric vehicle sends the electric vehicle identification code to the charging device after writing the first key;

[0024] An identification code receiving module, used to receive an electric vehicle identification code sent by a charging device;

[0025] A second key generation module, used to generate a second key, and encrypt the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0026] A verification sending module, used to send verification information to the charging device, wherein the verification information includes a second key and a first ciphertext;

[0027] Among them, the charging device caches the second key and sends the received first ciphertext to the electric vehicle. The electric vehicle decrypts the received first ciphertext using the first key, obtains the second key and caches it; the charging device receives the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verifies whether the cached second key is valid based on the second ciphertext.

[0028] An embodiment of the present invention further provides a system for secure data transmission of a charging device, which is used to achieve secure data transmission and provide a secure environment for information communication of the charging device, including: the aforementioned charging device and the aforementioned management server.

[0029] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for secure transmission of charging device data when executing the computer program.

[0030] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for securely transmitting charging device data is implemented.

[0031] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for securely transmitting charging device data is implemented.

[0032] In an embodiment of the present invention, an electric vehicle identification code sent by an electric vehicle after writing a first key is received, wherein the first key is generated by a management server after obtaining the electric vehicle identification code and sent to the electric vehicle; the received electric vehicle identification code is sent to a management server, wherein the management server generates a second key after receiving the electric vehicle identification code, and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; the verification information sent by the management server is received, wherein the verification information includes the second key and the first ciphertext; the second key is cached, and the received first ciphertext is sent to the electric vehicle, wherein the electric vehicle decrypts the received first ciphertext by using the first key, obtains the second key and caches it; the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key is received, and based on the second ciphertext, the cached second key is verified to be valid. A private key is generated through the vehicle identification code as an identifier for vehicle identity authentication, and a random key is generated to encrypt the transmitted data, thereby realizing secure data transmission and preventing information from being stolen. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0034] Figure 1 A flowchart of a method for securely transmitting charging device data provided in an embodiment of the present invention;

[0035] Figure 2 A flowchart of a method for securely transmitting charging device data applied to a charging device provided in an embodiment of the present invention;

[0036] Figure 3 A schematic diagram of a charging device provided in an embodiment of the present invention;

[0037] Figure 4 A flowchart of a method for securely transmitting charging device data applied to a management server provided in an embodiment of the present invention;

[0038] Figure 5 A schematic diagram of a management server provided in an embodiment of the present invention;

[0039] Figure 6 A schematic diagram of a system for securely transmitting charging device data provided in an embodiment of the present invention;

[0040] Figure 7 A schematic diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0042] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps is not limited and can be appropriately adjusted as needed.

[0043] At present, electric vehicle manufacturers and charging manufacturers transmit data such as vehicle identification code, charger communication protocol version number, maximum allowable total charging voltage, identification result, charger number, charger / charging station area code, BMS communication protocol version number, battery type, vehicle power battery system rated capacity, vehicle power battery system rated total voltage in plain text during the identity exchange and identification process in the vehicle-pile charging handshake stage. The lack of effective identity verification measures leads to the interception of relevant information from the vehicle side, charging device side, and communication network, and further identity forgery and information tampering, causing serious security problems.

[0044] In view of the above problems, an embodiment of the present invention provides a method for securely transmitting charging device data. Figure 1 The present invention is a flowchart of a method for securely transmitting charging device data provided in an embodiment of the present invention.

[0045] The method for securely transmitting charging device data is described in detail below.

[0046] Figure 2 A method for securely transmitting charging device data applied to a charging device is provided in an embodiment of the present invention, such as Figure 2 As shown, the method includes:

[0047] Step 201: receiving an electric vehicle identification code sent by the electric vehicle after writing a first key, wherein the first key is generated by the management server after obtaining the electric vehicle identification code and sent to the electric vehicle;

[0048] Step 202: sending the received electric vehicle identification code to the management server, the management server generates a second key after receiving the electric vehicle identification code, and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0049] Step 203: receiving verification information sent by the management server, wherein the verification information includes the second key and the first ciphertext;

[0050] Step 204: caching the second key, sending the received first ciphertext to the electric vehicle, and the electric vehicle decrypting the received first ciphertext using the first key to obtain the second key and cache it;

[0051] Step 205: Receive the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verify whether the cached second key is valid based on the second ciphertext.

[0052] In the specific implementation, the electric vehicle identification code sent by the electric vehicle after writing the first key is received, and the first key is generated by the management server after obtaining the electric vehicle identification code and sent to the electric vehicle; the received electric vehicle identification code is sent to the management server, and the management server generates a second key after receiving the electric vehicle identification code, and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; the verification information sent by the management server is received, and the verification information includes the second key and the first ciphertext; the second key is cached, and the received first ciphertext is sent to the electric vehicle, and the electric vehicle decrypts the received first ciphertext with the first key, obtains the second key and caches it; the second ciphertext sent by the electric vehicle after encrypting the first ciphertext with the second key is received, and based on the second ciphertext, the cached second key is verified to be valid. The legal registration of the electric vehicle identity, the legal authentication of the charging equipment, and the encryption verification during the charging data transmission process are realized.

[0053] In one embodiment, the electric vehicle identification code is a vehicle identification vin code;

[0054] The first key is an AES 128-bit key corresponding to the vehicle identification VIN code.

[0055] In specific implementation, the electric vehicle identification code is obtained, an AES 128-bit key corresponding to the vin code is generated on the management server, that is, the first key, and the vehicle identity information is stored in the server database. The generated first key is issued to the electric vehicle.

[0056] In one embodiment, the second key is a 128-bit AES random key generated by the management server.

[0057] During specific implementation, in order to ensure that the first key of the electric vehicle is not leaked, the management server generates a 128-bit AES random key, namely the second key, which is used as a temporary key for subsequent interactions in the current session; the second key is encrypted using the first key corresponding to the electric vehicle identification code to generate a first ciphertext.

[0058] In one embodiment, receiving verification information sent by the management server includes:

[0059] The receiving management server sends verification information when the electric vehicle legitimacy identification result is passed, wherein the verification information also includes the electric vehicle legitimacy identification result, wherein after receiving the electric vehicle identification code, the management server performs electric vehicle legitimacy identification based on the electric vehicle identification code to obtain the electric vehicle legitimacy identification result.

[0060] In one embodiment, verifying whether the cached second key is valid based on the second ciphertext includes:

[0061] decrypting the second ciphertext using the cached second key;

[0062] If the decryption is successful, it is determined that the cached second key is valid;

[0063] If the decryption fails, the cached second key is determined to be invalid.

[0064] In one embodiment, after determining that the cached second key is valid, the method further includes:

[0065] Servicing electric vehicles;

[0066] After determining that the cached second key is invalid, further comprising:

[0067] Disconnect from the electric vehicle.

[0068] In specific implementation, the charging device decrypts the first ciphertext using the cached second key, extracts and verifies whether the second key is consistent. If the second key sent by the electric vehicle is verified to be consistent with the second key cached by the charging pile, it indicates that the authentication is successful; otherwise, it indicates failure and the connection is disconnected.

[0069] In one embodiment, when servicing the electric vehicle, the data during the service process is encrypted using the cached second key until the service ends.

[0070] The present invention also provides a charging device, as described in the following embodiments. Since the principle of the charging device to solve the problem is similar to the charging device data security transmission method applied to the charging device, the implementation of the charging device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0071] Figure 3 Schematic diagram of a charging device provided in an embodiment of the present invention, such as Figure 2 As shown, the charging device includes:

[0072] A first key receiving module 301 is used to receive an electric vehicle identification code sent by the electric vehicle after writing a first key, wherein the first key is generated by the management server after obtaining the electric vehicle identification code and sent to the electric vehicle;

[0073] The identification code sending module 302 is used to send the received electric vehicle identification code to the management server. After receiving the electric vehicle identification code, the management server generates a second key and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0074] The verification receiving module 303 is used to receive the verification information sent by the management server, wherein the verification information includes the second key and the first ciphertext;

[0075] The first ciphertext sending module 304 is used to cache the second key and send the received first ciphertext to the electric vehicle, and the electric vehicle decrypts the received first ciphertext by using the first key to obtain the second key and cache it;

[0076] The second key verification module 305 is used to receive the second ciphertext sent by the electric vehicle after encrypting the first ciphertext with the second key, and verify whether the cached second key is valid based on the second ciphertext.

[0077] In one embodiment, the verification receiving module 303 is specifically used for:

[0078] The receiving management server sends verification information when the electric vehicle legitimacy identification result is passed, wherein the verification information also includes the electric vehicle legitimacy identification result, wherein after receiving the electric vehicle identification code, the management server performs electric vehicle legitimacy identification based on the electric vehicle identification code to obtain the electric vehicle legitimacy identification result.

[0079] In one embodiment, the second key verification module 305 is specifically used to:

[0080] decrypting the second ciphertext using the cached second key;

[0081] If the decryption is successful, it is determined that the cached second key is valid;

[0082] If the decryption fails, the cached second key is determined to be invalid.

[0083] In one embodiment, a verification service module is also included, which is specifically used to:

[0084] After determining that the cached second key is valid, servicing the electric vehicle;

[0085] After determining that the cached second key is invalid, disconnecting from the electric vehicle.

[0086] In one embodiment, the verification service module is further used to:

[0087] When servicing the electric vehicle, the data during the service process is encrypted by the cached second key until the service is completed.

[0088] The embodiment of the present invention also provides a charging device data security transmission method applied to a management server, such as Figure 4 As shown, the method includes:

[0089] Step 401: obtaining an electric vehicle identification code, generating a first key according to the electric vehicle identification code, sending the first key to the electric vehicle, and the electric vehicle sending the electric vehicle identification code to the charging device after writing the first key;

[0090] Step 402: receiving an electric vehicle identification code sent by a charging device;

[0091] Step 403: Generate a second key, and encrypt the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0092] Step 404: Send verification information to the charging device, where the verification information includes the second key and the first ciphertext;

[0093] Among them, the charging device caches the second key and sends the received first ciphertext to the electric vehicle. The electric vehicle decrypts the received first ciphertext using the first key, obtains the second key and caches it; the charging device receives the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verifies whether the cached second key is valid based on the second ciphertext.

[0094] In one embodiment, the verification information also includes the electric vehicle legitimacy identification result;

[0095] After receiving the electric vehicle identification code sent by the charging device, it also includes:

[0096] The electric vehicle legitimacy is identified based on the electric vehicle identification code to obtain the electric vehicle legitimacy identification result; when the electric vehicle legitimacy identification result is passed, verification information is sent.

[0097] In the specific implementation, the electric vehicle identification code is obtained, a first key is generated according to the electric vehicle identification code, the first key is sent to the electric vehicle, and the electric vehicle sends the electric vehicle identification code to the charging device after writing the first key; the electric vehicle identification code sent by the charging device is received; a second key is generated, and the second key is encrypted according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; verification information is sent to the charging device, and the verification information includes the second key and the first ciphertext; wherein the charging device caches the second key, sends the received first ciphertext to the electric vehicle, and the electric vehicle decrypts the received first ciphertext with the first key, obtains the second key and caches it; the charging device receives the second ciphertext sent by the electric vehicle after encrypting the first ciphertext with the second key, and verifies whether the cached second key is valid based on the second ciphertext. Legal registration of electric vehicle identity, legal authentication of charging equipment, and encryption verification during charging data transmission are achieved.

[0098] The present invention also provides a management server, as described in the following embodiments. Since the principle of the management server to solve the problem is similar to the charging device data security transmission method applied to the charging device, the implementation of the management server can refer to the implementation of the method, and the repeated parts will not be repeated.

[0099] Figure 5 Schematic diagram of a management server provided in an embodiment of the present invention, such as Figure 4 As shown, the management server includes:

[0100] A first key generation module 501 is used to obtain an electric vehicle identification code, generate a first key according to the electric vehicle identification code, and send the first key to the electric vehicle, and the electric vehicle sends the electric vehicle identification code to the charging device after writing the first key;

[0101] The identification code receiving module 502 is used to receive the electric vehicle identification code sent by the charging device;

[0102] The second key generation module 503 is used to generate a second key, and encrypt the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext;

[0103] A verification sending module 504, configured to send verification information to the charging device, wherein the verification information includes a second key and a first ciphertext;

[0104] Among them, the charging device caches the second key and sends the received first ciphertext to the electric vehicle. The electric vehicle decrypts the received first ciphertext using the first key, obtains the second key and caches it; the charging device receives the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verifies whether the cached second key is valid based on the second ciphertext.

[0105] In one embodiment, the verification information also includes the electric vehicle legitimacy identification result;

[0106] The management server also includes a legitimacy identification module, which is specifically used to:

[0107] The electric vehicle legitimacy is identified based on the electric vehicle identification code to obtain the electric vehicle legitimacy identification result; when the electric vehicle legitimacy identification result is passed, verification information is sent.

[0108] The embodiment of the present invention also provides a system for securely transmitting charging device data. Figure 6 Schematic diagram of a management server for secure transmission of charging device data provided in an embodiment of the present invention.

[0109] like Figure 6 As shown, the charging device data security transmission system 600 includes a charging device 601 and a management server 602, which are used to achieve data security transmission and provide a secure environment for charging device information communication.

[0110] Based on the above invention concept, Figure 7 As shown, the present invention also proposes a computer device 700, including a memory 710, a processor 720, and a computer program 730 stored in the memory 710 and executable on the processor 720, wherein the processor 720 implements the above-mentioned method for secure transmission of charging device data when executing the computer program 730.

[0111] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for securely transmitting charging device data is implemented.

[0112] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for securely transmitting charging device data is implemented.

[0113] In summary, in the embodiment of the present invention, the electric vehicle identification code sent by the electric vehicle after writing the first key is received, and the first key is generated according to the electric vehicle identification code shown after the management server obtains the electric vehicle identification code; the received electric vehicle identification code is sent to the management server, and the management server is used to check whether the electric vehicle identification code is legal after receiving the electric vehicle identification code, generate a second key, and encrypt the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; the verification information sent by the management server after the electric vehicle legality identification is passed is received, and the verification information includes the electric vehicle legality identification result, the second key and the first ciphertext; the second key is cached, and the received first ciphertext is sent to the electric vehicle, and the electric vehicle is used to decrypt the received first ciphertext through the first key and cache the second key; the second ciphertext sent by the electric vehicle after the first ciphertext is encrypted using the second key is received, and the second ciphertext is decrypted by the cached second key to verify whether the second key is consistent. The private key is issued through the vehicle identification code as the identification of the vehicle identity authentication, and the transmitted data is encrypted by the generated random key to achieve data security transmission and prevent information from being stolen.

[0114] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0115] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0118] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for securely transmitting charging equipment data, characterized in that: Applied to a charging device, the method comprises: Receiving an electric vehicle identification code sent by the electric vehicle after writing a first key, wherein the first key is generated by the management server after obtaining the electric vehicle identification code and sent to the electric vehicle; Sending the received electric vehicle identification code to the management server, the management server generates a second key after receiving the electric vehicle identification code, and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; Receiving verification information sent by the management server, wherein the verification information includes the second key and the first ciphertext; The second key is cached, and the received first ciphertext is sent to the electric vehicle, and the electric vehicle decrypts the received first ciphertext by using the first key to obtain the second key and cache it; A second ciphertext is received after the electric vehicle encrypts the first ciphertext using the second key and sends the second ciphertext, and based on the second ciphertext, it is verified whether the cached second key is valid.

2. The method for secure data transmission between an electric vehicle and a charging device as claimed in claim 1, characterized in that: The electric vehicle identification code is a vehicle identification vin code; The first key is an AES 128-bit key corresponding to the vehicle identification VIN code.

3. The method for secure data transmission between an electric vehicle and a charging device as claimed in claim 1, characterized in that: The second key is a 128-bit AES random key generated by the management server.

4. The method for secure data transmission between an electric vehicle and a charging device as claimed in claim 1, characterized in that: Receive verification information sent by the management server, including: The receiving management server sends verification information when the electric vehicle legitimacy identification result is passed, wherein the verification information also includes the electric vehicle legitimacy identification result, wherein after receiving the electric vehicle identification code, the management server performs electric vehicle legitimacy identification based on the electric vehicle identification code to obtain the electric vehicle legitimacy identification result.

5. The method for secure data transmission between an electric vehicle and a charging device as claimed in claim 1, characterized in that: Based on the second ciphertext, verify whether the cached second key is valid, including: decrypting the second ciphertext using the cached second key; If the decryption is successful, it is determined that the cached second key is valid; If the decryption fails, the cached second key is determined to be invalid.

6. The method for secure data transmission between an electric vehicle and a charging device as claimed in claim 5, characterized in that: After determining that the cached second key is valid, the method further includes: Servicing electric vehicles; After determining that the cached second key is invalid, further comprising: Disconnect from the electric vehicle.

7. The method for secure data transmission between an electric vehicle and a charging device as claimed in claim 6, characterized in that: Also includes: When servicing the electric vehicle, the data during the service process is encrypted by the cached second key until the service is completed.

8. A charging device, characterized in that: include: A first key receiving module, used to receive an electric vehicle identification code sent by the electric vehicle after writing a first key, wherein the first key is generated by the management server after obtaining the electric vehicle identification code and sent to the electric vehicle; An identification code sending module, used for sending the received electric vehicle identification code to the management server, and after receiving the electric vehicle identification code, the management server generates a second key, and encrypts the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; A verification receiving module, used to receive verification information sent by the management server, wherein the verification information includes a second key and a first ciphertext; A first ciphertext sending module is used to cache a second key and send the received first ciphertext to the electric vehicle, and the electric vehicle decrypts the received first ciphertext by using the first key to obtain the second key and cache it; The second key verification module is used to receive a second ciphertext sent by the electric vehicle after encrypting the first ciphertext with the second key, and verify whether the cached second key is valid based on the second ciphertext.

9. The charging device according to claim 8, characterized in that: The verification receiving module is specifically used for: The receiving management server sends verification information when the electric vehicle legitimacy identification result is passed, wherein the verification information also includes the electric vehicle legitimacy identification result, wherein after receiving the electric vehicle identification code, the management server performs electric vehicle legitimacy identification based on the electric vehicle identification code to obtain the electric vehicle legitimacy identification result.

10. The charging device according to claim 8, characterized in that: The second key verification module is specifically used for: decrypting the second ciphertext using the cached second key; If the decryption is successful, it is determined that the cached second key is valid; If the decryption fails, the cached second key is determined to be invalid.

11. The charging device according to claim 10, characterized in that: It also includes a verification service module, which is specifically used to: After determining that the cached second key is valid, servicing the electric vehicle; After determining that the cached second key is invalid, disconnecting from the electric vehicle.

12. The charging device according to claim 11, characterized in that: The authentication service module is also used to: When servicing the electric vehicle, the data during the service process is encrypted by the cached second key until the service is completed.

13. A method for securely transmitting charging equipment data, characterized in that: Applied to a management server, the method comprises: Obtaining an electric vehicle identification code, generating a first key according to the electric vehicle identification code, and sending the first key to the electric vehicle, wherein the electric vehicle sends the electric vehicle identification code to the charging device after writing the first key; Receive the electric vehicle identification code sent by the charging device; Generate a second key, and encrypt the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; Sending verification information to the charging device, wherein the verification information includes the second key and the first ciphertext; Among them, the charging device caches the second key and sends the received first ciphertext to the electric vehicle. The electric vehicle decrypts the received first ciphertext using the first key, obtains the second key and caches it; the charging device receives the second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verifies whether the cached second key is valid based on the second ciphertext.

14. The method for securely transmitting charging device data according to claim 13, characterized in that: The verification information also includes the electric vehicle legality identification result; After receiving the electric vehicle identification code sent by the charging device, it also includes: Performing electric vehicle legality identification based on the electric vehicle identification code to obtain the electric vehicle legality identification result; When the electric vehicle legitimacy identification result is passed, the verification information is sent.

15. A management server, characterized in that: include: A first key generation module, used for obtaining an electric vehicle identification code, generating a first key according to the electric vehicle identification code, and sending the first key to the electric vehicle, wherein the electric vehicle sends the electric vehicle identification code to the charging device after writing the first key; An identification code receiving module, used to receive an electric vehicle identification code sent by a charging device; A second key generation module, used to generate a second key, and encrypt the second key according to the first key corresponding to the received electric vehicle identification code to generate a first ciphertext; A verification sending module, used to send verification information to the charging device, wherein the verification information includes a second key and a first ciphertext; The charging device caches the second key, sends the received first ciphertext to the electric vehicle, and the electric vehicle decrypts the received first ciphertext using the first key to obtain the second key and cache it; The charging device receives a second ciphertext sent by the electric vehicle after encrypting the first ciphertext using the second key, and verifies whether the cached second key is valid based on the second ciphertext.

16. The management server according to claim 15, characterized in that The verification information also includes the electric vehicle legality identification result; The invention also includes a legality identification module, which is specifically used for: The electric vehicle legitimacy is identified based on the electric vehicle identification code to obtain the electric vehicle legitimacy identification result; when the electric vehicle legitimacy identification result is passed, verification information is sent.

17. A system for securely transmitting charging device data, comprising the charging device according to claim 8 and the management server according to claim 15.

18. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method described in any one of claims 1 to 7 or the method described in any one of claims 13 to 14 is implemented.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 or the method according to any one of claims 13 to 14 is implemented.

20. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 or the method according to any one of claims 13 to 14 is implemented.

Citation Information

Patent Citations

  • Verification method of vehicle-mounted equipment, server, vehicle-mounted equipment and storage medium

    CN110113745A

  • Key acquisition method, device and system

    CN112350821A

  • Vehicle charging safety management method

    CN112583595A

  • Encrypted communication system applied between new energy automobile and charging pile

    CN115243261A

  • Method for remotely acquiring secret key, POS terminal and storage medium

    US20190312720A1