Charging pile settlement system and settlement method
By designing a charging pile settlement system based on blockchain, the problems of opaque settlement, frequent disputes, cumbersome operations and poor payment convenience in private charging pile sharing are solved, and transparent and automated settlement between the car owner and the charging pile owner are achieved, improving the convenience and efficiency of the charging process.
Patent Information
- Application Number
- CN202411956775.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-29
- Publication Date
- 2025-04-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, private charging pile sharing has problems such as opaque settlement, frequent disputes, cumbersome operations and poor payment convenience.
A charging pile settlement system based on blockchain is designed, including registration management module, vehicle identification module, charging management module, charging pile management module, settlement transaction module and blockchain monitoring module. The system uses blockchain technology to realize transparent and automated settlement between car owners and charging pile owners, and uses smart contracts and digital RMB to improve the efficiency and security of settlement.
Through blockchain technology and smart contracts, the trust between car owners, charging pile owners and operators has been increased, and the settlement opacity and disputes of shared charging piles have been solved, which has improved the convenience and efficiency of the charging process.
Smart Images

Figure CN119887190A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the application field of electric vehicle charging transactions, and in particular to the field of settlement of shared home private charging piles based on blockchain. Background Art
[0002] The sharing economy has now become a very important force in the social service industry. The essence of the sharing economy is to integrate offline idle items or service providers to provide products or services. For charging piles, when the existing public charging piles cannot meet the demand, making full use of the existing private charging piles or semi-private charging piles may alleviate the phenomenon of many cars and few charging piles, or cars without charging piles to a certain extent. Generally speaking, private charging piles are idle for a long time every day. If the idle time of private charging piles is used to charge other electric vehicles, so that both the charging pile owners and electric vehicle owners can benefit from it, it can create mutually beneficial economic value. However, in practical applications, there are still certain obstacles to sharing private charging piles. On the one hand, after sharing the charging piles, during settlement, the charging pile "owners" and the owners of the electric vehicles using the charging piles can easily have disputes due to opaque factors such as charging time and price, exacerbating the distrust between the two parties; on the other hand, the profit-sharing model between the private charging pile "owners" and platform operators also creates friction in the profit-sharing after settlement due to the existence of opaque factors; furthermore, in the existing technology, due to the sensitivity of data, many operators are independent of each other. If the "owners" want to widely share their charging piles, they may need to register on the APPs of multiple operators, while electric vehicle owners with charging needs sometimes need to switch between multiple APPs, which is cumbersome; finally, in the settlement and payment process, charging pile users are often required to scan the code and enter the password to pay or scan the code and pay with their faces, affecting the convenience of settlement and payment. Summary of the invention
[0003] In order to solve the problems raised in the above background technology, a charging pile settlement system and a settlement method are proposed.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a charging pile settlement system, including a registration management module, a vehicle identification module, a charging management module, a charging pile management module, a settlement transaction module, and a blockchain monitoring module.
[0005] The registration management module is used to provide registration services for car owners who need to charge, charging pile owners, and charging piles. If the owner of a charging pile intends to provide a private charging pile as a shared charging pile to everyone, he must first register his personal identity information on the operator platform application software and bind the account for automatic settlement, and register the private charging pile information at the same time, with the charging pile, charging pile owner and their account information corresponding one to one. When a car owner needs to use a shared charging pile for the first time, he should also register his personal identity information, vehicle VIN information, and license plate number information in the operator platform application software in advance, and bind the account for automatic settlement and payment, with personal identity information, vehicle VIN information, and license plate number information corresponding one to one.
[0006] The vehicle identification module is used to automatically identify the vehicle information before charging and upload the identification data to the charging pile management module.
[0007] The charging management module is used to receive the control instructions of the charging pile management module to charge the vehicle, calculate the charging time and charging cost, and after charging is completed, save the vehicle information, charging pile master information, charging pile information, charging time and charging cost as the charging information to be uploaded to the charging pile memory, and package it on the chain at the charging pile node, wherein the hash value of the charging information to be uploaded is asymmetrically encrypted, and the charging information to be uploaded is broadcast to the operation platform node and other nodes at the same time, and the account book information of the charging pile node is updated after being uploaded. When it is identified that the uploaded vehicle information meets the requirements, the charging pile management module of the operator platform will instruct the charging management module in the charging pile to start charging the vehicle. When charging, since the electricity price of the public power grid will have different unit prices in different time periods, the electricity fee for drawing electricity from the power grid is calculated according to the charging time and the corresponding unit price in each time period when drawing electricity. The electricity fee for drawing electricity from the power grid Bill1 can be obtained by accumulating all the time period fees. The fee Bill2 payable to the owner of the charging pile is calculated based on Bill1, and the management fee Bill3 payable to the operator's backend is calculated based on Bill1. Finally, the charging fee Bill4 payable by the charging owner is Bill1+Bill2+Bill3. After calculating the charging fee, the charging pile node, as a packaging node, performs hash function operations on the bottom data such as vehicle information, charging pile owner information, charging pile information, charging time and payable charging fee. After the hash operation, these bottom data of different sizes and lengths will generate hash values of uniform size and length. These hash values are the leaf nodes of the Merkle tree, and then the two adjacent leaf nodes are hashed, and the two adjacent leaves are calculated layer by layer to finally get the root node. Since the hash function is one-way, it means that the hash value can be easily calculated from the input data, but it is impossible to deduce the original input data from the hash value. This feature ensures the integrity and confidentiality of the transaction data. The calculated root node and the hash value, timestamp, and version number of the previous block body are packaged into a complete block body with the addition of a random number and a target hash. The packaging node broadcasts the block body to the entire blockchain node and waits for consensus confirmation according to the consensus mechanism. Among them, in order to ensure the overall security and integrity of the transaction, the charging pile node uses its own unique private key to asymmetrically encrypt the hash value generated by the hash operation of the bottom data to generate a unique, unforgeable signature.
[0008] The charging pile management module is used to verify the vehicle information and owner information of the charging vehicle, and instruct the charging management module to start charging after meeting the requirements. The charging pile management module exists in the operator platform, receives the vehicle license plate number information from the charging pile site, and verifies and judges the vehicle license plate number, VIN number, charging vehicle owner and his account information. After meeting the charging conditions, it sends a command to start charging to the charging management module of the on-site charging pile.
[0009] The settlement transaction module is used for settlement transactions. It reads the charging information of the vehicle on the blockchain. When the preset conditions are met, the settlement process is automatically triggered according to the smart contract, prompting the charging vehicle owner account and the charging pile master account, and the charging vehicle owner account and the operator platform account to automatically settle transactions in a P2P mode. The smart contract will broadcast the settlement information to other nodes and upload the settlement information to the chain. After the chain is uploaded, the account book information of the charging pile node and the operation platform node will be updated. The smart contract is deployed on the blockchain. When the trigger condition of legal and valid charging data is detected, the contract terms will be automatically executed without manual intervention. The smart contract will deduct the payable fees from the charging vehicle owner account according to the charging fee and add it to the charging pile master account. After executing the settlement transaction, the execution result will be broadcast to other nodes of the blockchain at the operator platform node. When the consensus is confirmed, the execution result will be uploaded to the chain and recorded in the blockchain to ensure that it cannot be tampered with. Smart contracts can be decentralized and can execute settlement transactions efficiently, transparently and securely.
[0010] The blockchain monitoring module is used to monitor and analyze the operating data of the blockchain network, evaluate the security and stability of the network, and promptly detect and handle security risks such as abnormal transactions and malicious nodes.
[0011] Preferably, the blockchain used in the charging pile settlement system is a consortium chain, which can be more conveniently connected with the digital RMB system.
[0012] Preferably, the vehicle identification module contains a device for automatically identifying the license plate number of the charging vehicle, and when the vehicle to be charged is in place, the device automatically identifies the license plate number.
[0013] Preferably, the point-to-point automatic settlement transactions of the charging pile settlement system are settlement transactions based on digital RMB.
[0014] Preferably, the charging pile communicates with the operator platform using a SIM communication module.
[0015] The present invention also provides a charging pile settlement method, comprising the following steps:
[0016] S01, calculating the fees payable to the charging pile owner and the operator platform according to the unit price of electricity during the charging period and the charging time;
[0017] S02, storing the owner of the charging vehicle, the owner of the charging pile, the unit price of electricity, the charging time, and the fees payable to the owner of the charging pile and the operator platform respectively as charging information to be uploaded to the charging pile memory;
[0018] S03, the charging pile, as a blockchain node, broadcasts the charging information to other nodes of the blockchain, and packages the charging information on the blockchain;
[0019] S04, read the charging information on the blockchain, automatically trigger the settlement process according to the smart contract, complete the point-to-point automatic settlement transaction in P2P mode between the charging vehicle owner account and the charging pile owner account, and between the charging vehicle owner account and the operator platform account. The smart contract will broadcast the settlement transaction information to other nodes and upload the settlement information to the chain, and update the account book information of the charging pile node and the operation platform node.
[0020] In terms of the beneficial effects of this technical solution, the charging pile settlement system and method of this solution is based on blockchain, which increases the trust between charging car owners, charging pile owners and operator platforms, better removes the obstacles to the sharing of private charging piles, and alleviates the phenomenon of too many cars and too few piles. At the same time, this solution uses the smart contract mechanism and the convenience of digital RMB for settlement. As long as you register and meet the requirements when using a shared charging pile for the first time, the vehicle information will be automatically identified each time you charge in the future, and the settlement will be automatically settled after charging is completed, which is convenient and fast. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a structural diagram of the charging pile settlement system according to an embodiment of the present invention.
[0022] Figure 2 The figure is a flow chart of a charging pile settlement method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0024] like Figure 1 As shown, the charging pile settlement system of the present invention includes a registration management module, a vehicle identification module, a charging management module, a charging pile management module, a settlement transaction module, and a blockchain monitoring module.
[0025] The registration management module existing on the operator platform is used to provide registration services for car owners who need to charge, charging pile owners, and charging piles. If the owner of a charging pile wants to provide a private charging pile as a shared charging pile to everyone, he must first register his personal identity information on the operator platform and bind it to a digital RMB account for automatic settlement, and at the same time register the private charging pile information, with the charging pile, charging pile owner, and their account information corresponding one to one. When using a shared charging pile for the first time, the car owner should register his personal identity information, vehicle VIN information, and license plate number information on the operator platform in advance, and bind the digital RMB account for automatic settlement and payment. The personal identity information and its digital RMB account, vehicle VIN information, and license plate number information correspond one to one. As long as the registration is successful, the car owner does not need to register again every time he needs to use a shared charging pile for charging.
[0026] After the vehicle to be charged is in place, the vehicle identification module automatically identifies the vehicle license plate number information and uploads the identification data to the charging pile management module. The charging vehicle, vehicle VIN information and the identity information of the owner of the charging vehicle and its account are one-to-one corresponding, and this information is verified by the charging pile management module of the operator platform. After meeting the requirements, the charging pile management module instructs the charging management module to start charging the vehicle on site.
[0027] When charging, the charging management module calculates the fees for each period according to the charging time and the corresponding unit price of each period when taking electricity. The electricity fee Bill1 for taking electricity from the power grid can be obtained by accumulating all the fees for each period. The fee Bill2 to be paid to the charging pile owner is calculated based on Bill1, and the management fee Bill3 to be paid to the operator's backend is calculated based on Bill1. Finally, the charging fee Bill4 to be paid by the charging owner is Bill1+Bill2+Bill3. After calculating the charging fee, the charging pile node, as a packaging node, performs a hash function operation on the bottom data such as vehicle information, charging pile owner information, charging pile information, charging time and charging fee to be paid. After the hash operation, these bottom data of different sizes and lengths will generate hash values of uniform size and length. These hash values are the leaf nodes of the Merkle tree. Then, the hash operation is performed on the two adjacent leaf nodes, and the two adjacent leaves are calculated layer by layer to finally obtain the root node. Since the hash function is unidirectional, it means that the hash value can be easily calculated from the input data, but it is impossible to derive the original input data from the hash value. This feature ensures the integrity and confidentiality of the transaction data. The calculated root node and the hash value, timestamp, and version number of the previous block are combined with random numbers and target hashes to form a complete block. The packaging node broadcasts the block to the entire blockchain node and waits for consensus confirmation according to the consensus mechanism. In order to ensure the overall security and integrity of the transaction, the charging pile node uses its own unique private key to asymmetrically encrypt the hash value generated by the hash operation of the bottom data to generate a unique, unforgeable signature. Hash encryption and asymmetric encryption can prevent charging data from being tampered with, protect user privacy, establish decentralized trust, and improve transparency and traceability.
[0028] After charging is completed, the settlement transaction module reads the charging information of the vehicle on the blockchain. When the trigger condition of legal and valid charging data is monitored according to the smart contract mechanism, the contract terms will be automatically executed without human intervention. The smart contract will deduct the payable fees from the digital RMB account of the charging vehicle owner according to the fee Bill2 that the owner should pay to the charging pile owner, and add it to the digital RMB account of the charging pile owner. The smart contract will also deduct the payable fees from the digital RMB account of the charging vehicle owner according to the management fee Bill3 that the owner should pay to the operator's backend, and add it to the digital RMB account of the operator platform. After the settlement transaction is executed, the execution result will be broadcast to other nodes of the blockchain at the operator platform node. When the consensus is confirmed, the execution result will be uploaded to the chain and recorded in the blockchain to ensure that it cannot be tampered with. Smart contracts can be decentralized and can execute settlement transactions efficiently, transparently and securely.
[0029] During the operation of the settlement system, when abnormal transactions, malicious nodes and other network problems occur, the blockchain monitoring module of the operator platform will be responsible for handling them.
[0030] In addition, combined Figure 2 As shown, the implementing body of the charging pile settlement method is the above-mentioned charging pile settlement system, and the steps of the charging pile settlement method include: S01, calculating the fees payable to the charging pile owner and the operator platform according to the unit price of electricity in the charging period and the charging time; S02, storing the charging vehicle owner, the charging pile owner, the unit price of electricity, the charging time and the fees payable to the charging pile owner and the operator platform respectively as charging information to be uploaded to the chain in the charging pile memory; S03, the charging pile, as a blockchain node, broadcasts the charging information to other nodes of the blockchain, and packages the charging information on the chain; S04, reading the charging information on the blockchain, automatically triggering the settlement process according to the smart contract, completing the point-to-point automatic settlement transaction between the charging vehicle owner account and the charging pile owner account, and between the charging vehicle owner account and the operator platform account in P2P mode, the smart contract will broadcast the settlement transaction information to other nodes and upload the settlement information to the chain, and update the account book information of the charging pile node and the operation platform node.
Claims
1. Charging pile settlement system, characterized in that: It includes a registration management module, a vehicle identification module, a charging management module, a charging pile management module, a settlement transaction module, and a blockchain monitoring module; the registration management module is used to provide registration services for car owners who need to charge, charging pile owners, and charging piles; The vehicle identification module is used to automatically identify vehicle information before charging and upload the identification data to the charging pile management module; The charging management module is used to receive the control instruction of the charging pile management module to charge the vehicle, calculate the charging time and charging cost, and after charging, save the vehicle information, charging pile master information, charging pile information, charging time and charging cost as charging information to be uploaded to the charging pile memory, and package and upload to the chain at the charging pile node, wherein the hash value of the charging information to be uploaded is asymmetrically encrypted, and the charging information to be uploaded is broadcast to the operation platform node and other nodes at the same time, and the account book information of the charging pile node is updated after being uploaded to the chain; The charging pile management module is used to verify the vehicle information and the owner information, and instruct the charging management module to start charging after meeting the requirements; the settlement transaction module is used for settlement transactions, and reads the charging information of the vehicle on the blockchain. When the preset conditions are met, the settlement process is automatically triggered according to the smart contract, so that the charging vehicle owner account and the charging pile master account, and the charging vehicle owner account and the operator platform account are automatically settled in a P2P mode. The smart contract will broadcast the settlement information to other nodes and upload the settlement information to the chain, and update the account book information of the charging pile node and the operation platform node after uploading; The blockchain monitoring module is used to monitor and analyze the operation data of the blockchain network, evaluate the security and stability of the network, and promptly discover security risks such as abnormal transactions and malicious nodes.
2. The charging pile settlement system according to claim 1, characterized in that: The blockchain is a consortium chain.
3. The charging pile settlement system according to claim 1, characterized in that: The vehicle identification module contains a device for automatically identifying the license plate number of the charging vehicle.
4. The charging pile settlement system according to claim 1, characterized in that: The point-to-point automatic settlement transaction is a settlement transaction based on digital RMB.
5. The charging pile settlement system according to claim 1, characterized in that: The charging pile and the operator platform use a SIM communication module for communication.
6. A charging pile settlement method, characterized in that: S01, according to the unit price of electricity during the charging period and the charging time, the fees payable to the charging pile owner and the operator platform are calculated respectively; S02, the owner of the charging vehicle, the owner of the charging pile, the unit price of electricity, the charging time, and the fees payable to the owner of the charging pile and the operator platform are stored in the charging pile memory as charging information to be uploaded to the chain; S03, the charging pile, as a blockchain node, broadcasts the charging information to other nodes of the blockchain, and packages the charging information on the blockchain; S04, read the charging information on the blockchain, automatically trigger the settlement process according to the smart contract, complete the point-to-point automatic settlement transaction in P2P mode between the charging vehicle owner account and the charging pile owner account, and between the charging vehicle owner account and the operator platform account. The smart contract will broadcast the settlement transaction information to other nodes and upload the settlement information to the chain, and update the account book information of the charging pile node and the operation platform node.