Device and method for protecting data security of charging pile
Through blockchain technology and smart contract verification of charging pile information, the problem of vulnerability to charging piles and inconsistent server management is solved, and information security during charging is achieved to ensure that user information is not leaked.
Patent Information
- Application Number
- CN202411011665.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-26
AI Technical Summary
Charging piles are vulnerable to attacks, resulting in user information leakage and server management is inconsistent, making it difficult to prevent information leakage.
Using blockchain technology and smart contracts, the charging pile identification code is collected through the client, the identity information is verified and sent to the blockchain platform, and hash encryption is used to ensure the security of information and avoid the information being stored on the server and charging pile.
It realizes the security of identity information verification and payment process during charging, prevents user information from being leaked, and improves the data security of the charging system.
Smart Images

Figure CN118944934A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electric vehicle charging, and in particular relates to data security of charging piles. Background Art
[0002] At present, charging pile groups usually adopt centralized architecture and communication solutions to realize the scheduling charging function.
[0003] The existing charging pile technology has the following defects:
[0004] 1. Affected by the setting environment, charging piles are usually not equipped with complex program systems, which makes them vulnerable to attacks. Since charging piles must first meet the requirements of normal operation in various environments, such as setting up charging piles in the open air, underground garages, and the wild. It can be seen that the overall external environment for setting up charging piles is very complex, and rain, snow, wind, frost, humidity, and poor signals are very likely to occur. In this case, complex program systems are prone to running errors, so complex program systems are usually not set up on charging piles.
[0005] 2. It is difficult to manage the server in a unified way. Charging piles are distributed in various residential areas, commercial areas, enterprises and institutions. However, the communities, commercial areas and enterprises and institutions are usually neither subordinate to each other nor to a unified department. Therefore, basically every community, every commercial area and every enterprise and institution needs to configure a separate server to manage charging piles. Since the communities, commercial areas and enterprises and institutions are independent of each other, there is a lack of unified management between the servers, making them vulnerable to attacks.
[0006] Therefore, the above communication network is easily attacked, resulting in the leakage of personal and vehicle information of charging users. Summary of the invention
[0007] In view of the above problems, the present invention aims to propose a device and method for protecting the data security of a charging pile, so as to solve the problem of information leakage during the charging process.
[0008] A device for protecting charging pile data security, characterized by comprising: a client, a blockchain platform and a server;
[0009] The client is used to collect the identification code on the charging pile; obtain the charging pile information and the server information according to the identification code; and send the preset identity information, the charging pile information and the server information to the preset blockchain platform;
[0010] The blockchain platform is used to verify the identity information, the charging pile information and the server information based on a preset smart contract; after the verification is correct, the charging information is sent to the server to instruct the server to control the corresponding charging pile to charge the user's vehicle.
[0011] The server is used to control a corresponding charging pile to charge the user's vehicle according to the chargeable information.
[0012] A method for protecting the data security of a charging pile, which uses the device for protecting the data security of a charging pile as described above, and comprises the following steps:
[0013] A1. The client collects the identification code on the charging pile;
[0014] A2. The client obtains charging pile information and server information according to the identification code;
[0015] A3. The client sends preset identity information, the charging pile information and the server information to a preset blockchain platform;
[0016] A4. The blockchain platform verifies the identity information, the charging pile information and the server information based on a preset smart contract;
[0017] A5. After verification, the blockchain platform sends the charging information to the server, instructing the server to control the corresponding charging pile to charge the user's vehicle;
[0018] A6. The server controls the corresponding charging pile to charge the user's vehicle according to the chargeable information.
[0019] Compared with the prior art, the present invention can achieve the following technical effects: the present invention transfers the identity information verification step involved in the transaction process of the charging process to the smart contract, so that the identity information involved in the transaction record does not appear on the server and the charging pile. In addition, the smart contract uses blockchain technology with extremely high security to ensure that user personal information will not be leaked. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the structure of a device for protecting charging pile data security provided by embodiments 1-5 of the present invention;
[0021] Figure 2 This is a flow chart of the method for protecting the data security of a charging pile provided in Embodiments 6-8 of the present invention. DETAILED DESCRIPTION
[0022] In response to the above defects, the present invention is based on blockchain technology and executes the identity authentication process on a smart contract to ensure that user information will not appear on the server and charging pile, thereby protecting user information security.
[0023] Example 1: See attached Figure 1, a device for protecting charging pile data security, characterized by comprising: a client 1, a blockchain platform 2 and a server 3; it should be noted that in the present invention, the user communicates with the blockchain platform 2 through the client 1. The power supply side can control the start and stop of the charging pile 4 through the server 3, and communicate with the blockchain platform through the server.
[0024] The client 1 is used to collect the identification code on the charging pile 4; obtain the charging pile information and the server information according to the identification code; and send the preset identity information, the charging pile information and the server information to the preset blockchain platform 2.
[0025] In the present invention, the identity information is one or more of name, ID number, mobile phone number, license plate number and vehicle model. The identity information can be preset identification information, such as a string and a number. Since blockchain technology uses hash algorithm encryption, the data in the smart contract is unique and irreversible. In this way, even if an intruder can break into the smart contract, due to the irreversibility of hash encryption, the intruder still cannot obtain the user's identity information.
[0026] The identification code on the charging pile can be a QR code or a barcode. The identification code on the charging pile can be sprayed on the charging pile, and the user can collect the identification code by taking a photo. In addition, the identification code can also be hung on the charging pile for the convenience of user collection. The charging pile information is one or more of the charging pile number, location, model, and company to which it belongs. The server information is one or more of the server ID and the company to which the server belongs.
[0027] The blockchain platform 2 is used to verify the identity information, the charging pile information and the server information based on a preset smart contract; after verification, the rechargeable information is sent to the server 3, instructing the server 3 to control the corresponding charging pile to charge the user's vehicle.
[0028] In the present invention, the smart contract is set to trigger the contract when the identity information, charging pile information and server information are all verified. The content of the contract execution is to send the chargeable information to the server.
[0029] The server 3 is used to control the corresponding charging pile 4 to charge the user's vehicle according to the chargeable information.
[0030] In the present invention, the chargeable information is used to instruct the server to control the corresponding charging pile to charge the user. For example, the server is informed through the chargeable information that the user identity authentication is successful and the charging pile No. 1 is used to charge the user.
[0031] Example 2: See attached Figure 1 , the device for protecting charging pile data security as described in Example 1 is characterized in that:
[0032] After charging is completed, the blockchain platform 2 is used to receive consumption information sent by the server 3; generate blocks based on the consumption information, and send a charging bill to the client 1.
[0033] Furthermore, after charging with a charging pile, payment problems will inevitably arise. If the server sends the bill directly to the user, it is still necessary to obtain the user's identity information. In order to ensure the security of user information during the payment process, in the present invention, after the blockchain platform is charged, it receives the consumption information sent by the server. Afterwards, based on the consumption information, a block is generated and a charging bill is sent to the client. Blockchain technology is used to ensure that the payment process is safe and efficient, so that the payment can be completed without the server having to obtain the user's identity information.
[0034] Example 3: See attached Figure 1 , the device for protecting charging pile data security as described in Example 1 is characterized in that:
[0035] The client 1 is an image acquisition device on the user's vehicle.
[0036] Furthermore, the target of the QR code or barcode is relatively small. Considering the environment such as underground and at night, there are situations where users cannot directly scan the QR code or barcode with a mobile phone. In order to solve the above problem, in the present invention, the image acquisition device on the vehicle to be charged is used to obtain the QR code on the charging pile. The image acquisition device on the vehicle to be charged can be a driving recorder or a self-installed shooting device. In this way, the user can adjust the image acquisition device in underground or night scenes without getting off the vehicle to collect the QR code or barcode on the charging pile.
[0037] Example 4: See attached Figure 1 , the device for protecting charging pile data security as described in Example 1 is characterized in that:
[0038] The client 1 receives the charging bill sent by the blockchain platform 2 and completes the payment.
[0039] Furthermore, after charging is completed, in order to ensure the security of user information during the payment process, the blockchain is used to complete the payment in the present invention. Specifically, the client receives the charging bill sent by the blockchain platform. After that, the user completes the payment through the client according to the charging bill. It should be noted that although the client also has information security risks, compared to the charging pile, which cannot set up a complex program system, the client can set up various software for the purpose of protecting information. Therefore, compared with the existing payment process, the information security of the present invention is controllable.
[0040] Example 5: See attached Figure 1, the device for protecting charging pile data security as described in Example 1 is characterized in that:
[0041] The identity information includes preset user vehicle identification information.
[0042] In the present invention, based on the uniqueness of hash encryption, users and servers can perform hash encryption on set identification information instead of identity information when creating a smart contract, thereby ensuring the security of user information.
[0043] Example 6, see Figure 2 , a method for protecting the data security of a charging pile, which uses the device for protecting the data security of a charging pile as described in Embodiment 1, 2, 3, 4 or 5, and comprises the following steps:
[0044] A1, client 1 collects the identification code on charging pile 4;
[0045] In the present invention, in an actual scenario, the user obtains the QR code or barcode on the charging pile through a mobile phone or a camera installed on the vehicle.
[0046] A2. Client 1 obtains charging pile information and server information according to the identification code;
[0047] In the present invention, the number of the charging pile and the ID of the server are obtained by scanning the QR code or barcode with a mobile phone.
[0048] A3, client 1 sends preset identity information, charging pile information and server information to the preset blockchain platform 2;
[0049] A4, blockchain platform 2 verifies identity information, charging pile information and server information based on the preset smart contract;
[0050] In the present invention, when the identity information, charging pile information and server information are all verified, the smart contract is triggered.
[0051] A5. After verification, the blockchain platform 2 sends the charging information to the server 3, instructing the server to control the corresponding charging pile 4 to charge the user's vehicle;
[0052] A6. The server 3 controls the corresponding charging pile 4 to charge the user's vehicle according to the chargeable information.
[0053] Example 7, see Figure 2 , as in the method of Example 6, characterized in that, in step A3: the identity information includes preset user vehicle identification information.
[0054] Example 8, see Figure 2 , as in the method of embodiment 6, it uses the device for protecting charging pile data security of embodiment 2, and includes:
[0055] A7. After charging is completed, blockchain platform 2 receives consumption information sent by server 3;
[0056] A8. Blockchain platform 2 generates blocks based on consumption information and sends a charging bill to client 1.
[0057] Example 9, see Figure 2 , as in the method of embodiment 6, characterized in that:
[0058] Identification codes, including barcodes and QR codes.
[0059] Example 10, see Figure 2 , as the method described in Example 6, it uses the device for protecting charging pile data security of Example 4, and includes:
[0060] A9. Client 1 receives the charging bill sent by blockchain platform 2 and completes the payment.
Claims
1. A device for protecting charging pile data security, Features include: Client (1), blockchain platform (2) and server (3); The client (1) is used to collect an identification code on a charging pile (4); and obtain charging pile information and server information according to the identification code; Sending preset identity information, the charging pile information and the server information to the preset blockchain platform (2); The blockchain platform (2) is used to verify the identity information, the charging pile information and the server information based on a preset smart contract; After the verification is correct, the charging information is sent to the server (3), instructing the server (3) to control the corresponding charging pile (4) to charge the user's vehicle; The server (3) is used to control a corresponding charging pile (4) to charge the user's vehicle according to the chargeable information.
2. The device for protecting charging pile data security according to claim 1, Features: After charging is completed, the blockchain platform (2) is used to receive consumption information sent by the server (3); generate blocks based on the consumption information, and send a charging bill to the client (1).
3. The device for protecting charging pile data security according to claim 1, Features: The client (1) is an image acquisition device on a user's vehicle.
4. The device for protecting charging pile data security according to claim 1, Features: The client (1) receives the charging bill sent by the blockchain platform (2) and completes the payment.
5. The device for protecting charging pile data security according to claim 1, Features: The identity information includes preset user vehicle identification information.
6. A method for protecting the data security of a charging pile, which uses the device for protecting the data security of a charging pile according to claim 1, 2, 3, 4 or 5, and The following steps are involved: A1. The client (1) collects the identification code on the charging pile (4); A2. The client (1) obtains charging pile information and server information according to the identification code; A3, the client (1) sends the preset identity information, the charging pile information and the server information to the preset blockchain platform (2); A4, the blockchain platform (2) verifies the identity information, the charging pile information and the server information based on a preset smart contract; A5. After verification, the blockchain platform (2) sends the charging information to the server, instructing the server (3) to control the corresponding charging pile (4) to charge the user's vehicle; A6. The server (3) controls the corresponding charging pile (4) to charge the user's vehicle according to the chargeable information.
7. A method for protecting data security of a charging pile according to claim 6, It is characterized in that In the step A3: the identity information includes preset user vehicle identification information.
8. A method for protecting the data security of a charging pile according to claim 6, which uses the device for protecting the data security of a charging pile according to claim 2, and include: A7. After charging is completed, the blockchain platform (2) receives consumption information sent by the server (3); A8. The blockchain platform (2) generates a block based on the consumption information and sends a charging bill to the client (1).
9. A method for protecting data security of a charging pile according to claim 6, Features: The identification code includes: a barcode and a QR code.
10. A method for protecting the data security of a charging pile according to claim 6, which uses the device for protecting the data security of a charging pile according to claim 4, and further include: A9. The client (1) receives the charging bill sent by the blockchain platform (2) and completes the payment.
Citation Information
Patent Citations
Charging request processing method, server, and charging request processing system
CN109050271A
Charging pile edge computing system and method based on block chain technology
CN112491899A
Charging pile service information processing method and system based on block chain
CN112561706A
Block chain-based electric vehicle shared charging credible system and method
CN112765656A
Charging pile access authentication method, system and equipment
CN115314227A
