Search

CN-115907761-B - Data trusted transaction method for sharing charging pile system

CN115907761BCN 115907761 BCN115907761 BCN 115907761BCN-115907761-B

Abstract

Relates to the technical field of sharing charging piles, in particular to a data trusted transaction method of a sharing charging pile system. The method comprises the steps of constructing a shared charging pile data trusted model, loading relevant charging data of a charging control terminal, a blockchain node and an electric vehicle owner mobile terminal into the shared charging pile data trusted model when the occurrence of a charging order is monitored, dividing the charging data into N data blocks, generating secret keys step by step, calculating hash values corresponding to the data blocks, generating a charging data trusted transaction intelligent contract by the charging control terminal and the electric vehicle owner mobile terminal based on the shared charging data trusted model, exchanging and verifying secret keys by the blockchain node, and synchronizing bill information to other blockchain nodes. The invention can ensure safe and reliable transaction of the charging transaction data of the shared charging pile, and performs digital signature on privacy data such as the charging transaction and the like to realize anonymous protection, thereby ensuring the data privacy and integrity in the sharing charging process and transaction.

Inventors

  • ZHOU YI
  • FENG QINGLIAO
  • YU FEIOU
  • PANG JIANJUN
  • WANG GANG
  • YAN JUNBIN

Assignees

  • 广东电网有限责任公司广州供电局

Dates

Publication Date
20260508
Application Date
20221226

Claims (4)

  1. 1.A data trusted transaction method for a shared charging pile system, comprising the steps of: s1, constructing a data trust model of a shared charging pile, and establishing a unified business relation and a data standard of the shared charging pile system; Constructing a data trusted model of the shared charging pile according to the data relationship among a charging control terminal, a mobile terminal of an electric vehicle owner, a IPFS system and a block chain node; the data relationship among the charging control terminal, the main mobile terminal of the electric vehicle, the IPFS system and the block chain node comprises: The charging control terminal and IPFS system establish a data interaction channel, the charging control terminal encrypts and uploads charging transaction data, and IPFS system returns a storage address of the encrypted data; The charging control terminal carries out hash operation on the electric transaction data to obtain data hash, and uploads the data hash to the block chain node to finish data hash uplink; the electric vehicle owner mobile terminal requests the charging control terminal for charging data transaction, the charging control terminal returns an encrypted data storage address to the electric vehicle owner mobile terminal, the electric vehicle owner mobile terminal downloads the encrypted data to the IPFS system through the returned storage address, and the electric vehicle owner mobile terminal verifies the data consistency of the encrypted data provided by the charging control terminal through the block chain node; s2, when the charging order is monitored, relevant charging data of the charging control terminal, the blockchain node and the mobile terminal of the electric vehicle owner are loaded into a shared charging pile data trusted model respectively, and a private key S K , a security parameter R and an authentication certificate are generated Calculating to obtain a public key P K ; The step S2 specifically includes: acquiring charging demand information issued by a mobile terminal of an electric vehicle owner, completing searching of a target charging control terminal by a blockchain node according to the charging demand information, and then associating the charging control terminal with a user of the mobile terminal of the electric vehicle owner; Acquiring charging pile supply resource information of a charging control terminal, registering to a blockchain node according to the charging pile supply resource information, and generating a random public security parameter R and an authentication certificate after successful registration ; The block chain node randomly selects a secure Hash function to generate a private key S K according to an addition cyclic group algorithm and a multiplication cyclic group algorithm, and then generates a secure Hash function according to the private key S K , a secure parameter R and an authentication certificate Calculating to obtain a public key P K , and pushing a public and private P K and a secret key S K pair to a mobile terminal user of the electric vehicle owner by the blockchain node; Acquiring information released in real time by a charging control terminal in a charging process, and pushing the information released in real time by a block chain link point in the charging process to a user of a mobile terminal of an electric vehicle owner in real time after verification by using a public key PK and a safety parameter R; s3, dividing the charging data into N data blocks, generating secret keys step by step, calculating hash values corresponding to the data blocks, and transmitting the hash values corresponding to the data blocks to the block chain nodes; the step S3 specifically includes: The charging control terminal fills the complementary bit of the charging transaction data according to a pkcs data filling rule and a 256-bit mode, and divides the charging transaction data after filling the complementary bit into N data blocks blocki; The charging control terminal uses the private key SK to carry out data summary information generated by a group signature algorithm on each data block blocki, adds the generated data summary information to the tail part of the data block blocki and stores the data summary information into a IPFS system; the charging control terminal calculates the hash value corresponding to each data block blocki with abstract information respectively and then transmits the hash value to the block chain node; S4, based on the shared charging data trusted model, the charging control terminal and the mobile terminal of the electric vehicle owner generate a charging data trusted transaction intelligent contract, the blockchain nodes exchange and verify keys, and bill information is synchronized to other blockchain nodes to complete the charging data trusted transaction.
  2. 2. The method of claim 1, wherein the shared charging stake system includes a charging control terminal, a blockchain node, and a IPFS system, the charging control terminal in communication with the blockchain node connection, and the IPFS system in communication with the blockchain node connection.
  3. 3. The method for data trusted transaction of a shared charging pile system according to claim 1, wherein the charging demand information issued by the mobile terminal of the electric vehicle owner comprises information of an electric vehicle owner contact phone, a license plate number, an electric vehicle residual SOC, an electric vehicle residual mileage, a demand voltage, a demand current, a vehicle VIN and a demand charging time period; The charging pile supplies resource information, including personal identity information, bank card information, contact phones, geographic positions of charging control terminals, charging control terminal power, charging control terminal connection modes, parking spaces, available time periods, peak flat valley time-sharing electricity prices and rates; The information issued in real time by the charging control terminal in the charging process comprises working state, charging voltage, charging current, charging starting time, charged amount, charged expense, charging starting SOC, charging cut-off SOC, peak-valley consumed electricity amount, shutdown reason and charging bill information.
  4. 4. The method for trusted transaction of data in a shared charging stake system as claimed in claim 1, wherein the step S4 includes: After the user of the mobile terminal of the electric vehicle owner obtains the charging authorization of the charging control terminal, a charging data trusted transaction intelligent contract is formed; After receiving the charging bill information issued by the charging control terminal, the block chain link point initiates transaction confirmation to the electric vehicle owner mobile terminal user, and the electric vehicle owner mobile terminal user decrypts the bill according to the symmetric key and verifies the accuracy and rationality of the bill to confirm the transaction; the block link point extracts intelligent contract abstract information and a database address according to the system public key P K to generate a transaction stream uploading IPFS system, and synchronizes bill information to other block link nodes to complete the trusted transaction of charging data.

Description

Data trusted transaction method for sharing charging pile system Technical Field The invention relates to the technical field of sharing charging piles, in particular to a data trusted transaction method of a sharing charging pile system. Background The shared charging pile is highly valued by the nation as a traffic infrastructure matched with the new energy electric automobile industry, and economic benefits are created by transferring the use right of the idle private charging pile. With the wide application of the sharing charging pile in the market, the personal identity, the telephone, the bank card number, the automobile VIN and other data of the electric car owner, the geographic position information, the telephone, the parking space information, the charging transaction information and other privacy data of the electric charging pile owner are communicated between the equipment and the platform server in a plaintext mode, the privacy leakage problem in the sharing charging process is increasingly remarkable, and the sharing charging pile gradually becomes an important reason for restricting the popularization of the sharing charging pile market. The charging transaction process of the sharing charging pile carries a large amount of identity privacy and transaction information of electric car owners and electric pile owners, and at present, the communication mode of the sharing charging pile mostly adopts plaintext transmission and has no unified specification, so that data privacy is easy to leak, and data abuse is caused. Under the current market application scene of the shared charging pile, the charging transaction process is lack of supervision and traceability, and certain unfairness exists in data transaction. The existing shared charging transaction method directly communicates and negotiates through the blockchain, and then the data owner transmits data required by the data purchaser through other channels and platforms. In the method, the blockchain is only used as a channel for communication between two parties of the transaction, and the power data, the identity information and the transaction data in the charging process are transmitted in a plaintext manner, so that the risk of data leakage still exists. The current charging standard system lacks unified and shared charging safe and reliable transaction standard, and a basic data transaction information mechanism is needed to ensure the safety and reliability of charging transaction data of a shared charging pile and the supervision and traceability of transaction records. Disclosure of Invention In order to solve the technical problems in the prior art, the invention provides a data trusted transaction method of a shared charging pile system, which ensures the safe and trusted transaction of charging transaction data of the shared charging pile by constructing a data transaction information method in the shared charging pile system, performs digital signature on privacy data such as charging transaction and the like to realize anonymous protection, ensures the supervision and traceability of charging transaction process information, and ensures the data privacy and integrity in the shared charging process and transaction. The invention can be achieved by adopting the following technical scheme: A method of trusted transaction of data for a shared charging stake system, the method comprising: S1, constructing a data trust model of a shared charging pile, and establishing a unified business relation and a data standard of the shared charging pile system; S2, when the charging order is monitored, relevant charging data of a charging control terminal, a blockchain node and a mobile terminal of an electric vehicle owner are loaded into a shared charging pile data trusted model respectively, a private key S K, a security parameter R and an authentication certificate K CA are generated, and a public key P K is obtained through calculation; s3, dividing the charging data into N data blocks, generating secret keys step by step, calculating hash values corresponding to the data blocks, and transmitting the hash values corresponding to the data blocks to the block chain nodes; S4, based on the shared charging data trusted model, the charging control terminal and the mobile terminal of the electric vehicle owner generate a charging data trusted transaction intelligent contract, the blockchain nodes exchange and verify keys, and bill information is synchronized to other blockchain nodes to complete the charging data trusted transaction. In the preferred technical scheme, the construction of the data trusted model of the shared charging pile comprises construction according to the data relationship among the charging control terminal, the main mobile terminal of the electric vehicle, the IPFS system and the blockchain node. Specifically, the data trusted transaction method of the shared charging pile system is characterized in that the data relatio