A V2V power transmission method based on blockchain
Through the blockchain-based smart contract and accounting node mechanism, the problem of low user data security in V2V power transmission is solved, decentralized power trading is realized, and data security and transaction transparency are improved.
Patent Information
- Application Number
- CN202310343051.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-03-31
AI Technical Summary
In the existing V2V power transmission method, user data security is low and there is a lack of effective data protection mechanisms. User information is easily leaked, especially in a centralized transaction model.
A blockchain-based V2V power transmission method is adopted, and reservation orders are generated through smart contracts and the order information is written into the blockchain. Accounting nodes are used to verify transaction information and update credit scores to achieve distributed and trustless point-to-point transactions.
It improves the user data security of V2V power transmission, realizes decentralized power trading, reduces dependence on third-party institutions, and enhances the transparency and credibility of transactions.
Smart Images

Figure CN116331003B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric vehicle technology, and in particular to a V2V power transmission method based on blockchain. Background Art
[0002] As society increasingly focuses on environmental issues and clean energy, electric vehicles are garnering increasing attention from governments, industries, and consumers. However, to make electric vehicles more widely available, we need to address certain issues, such as range anxiety. Because electric vehicles have limited battery life, users may find themselves in situations where their battery is low and they are far from a charging station. This is particularly true on highways or in rural areas, where charging infrastructure is less common and drivers have to travel longer distances. Consequently, electric vehicles may be unable to travel on the road due to a low battery, leaving the only option open for a tow truck.
[0003] V2V power transmission, a new charging method, can effectively alleviate users' range anxiety. Electric vehicles equipped with DC / DC converters can sell some of their excess power to users in urgent need of charging. In this scenario, owners of charging vehicles tend to have a higher willingness to pay, thus incentivizing the discharging vehicle owner to supply power.
[0004] To organize V2V power transmission between electric vehicles, a transmission model must be designed. Because V2V power transmission involves multiple and dispersed entities, adopting a traditional centralized transaction model would require the involvement of third-party institutions. This makes user and vehicle information vulnerable to leakage. Therefore, current V2V power transmission methods offer low user data security. Summary of the Invention
[0005] Based on this, it is necessary to provide a blockchain-based V2V power transmission method that can improve the user data security of the V2V power transmission method to address the above technical problems.
[0006] A V2V power transmission method based on blockchain, the method comprising:
[0007] Receiving power transmission requests sent by each automobile user terminal;
[0008] According to the power transmission request of each of the vehicle user terminals, obtaining the positioning information, charging and discharging requirements, and whether the vehicle of each of the vehicle user terminals carries a DC / DC converter;
[0009] Determining a charging party among the vehicle user terminals according to the charging and discharging requirements of the vehicle user terminals, and determining a vehicle user terminal that is not a charging party as a discharging party to be matched;
[0010] Matching a corresponding discharger from among the dischargers to be matched for the charger based on the positioning information, charging and discharging requirements, and whether the vehicle of each vehicle user terminal carries a DC / DC converter, thereby determining a candidate discharger for the charger;
[0011] Inquiring the charging party whether to go to the selected discharging party, and if the inquiry result confirms going to the selected discharging party, generating a reservation order for the current transaction through the smart contract, and writing the order information of the reservation order into the blockchain;
[0012] If the query result is a confirmation that the vehicle will not go to the candidate discharger, the candidate discharger is asked whether to go to the charger. If the query result is not to go to the charger, the steps of matching the charger with a corresponding discharger from the candidate dischargers based on the vehicle positioning information, charging and discharging requirements, and whether a DC / DC converter is carried by each vehicle user terminal are returned to determine the candidate discharger for the charger. If the query result is to go to the charger, a reservation order for the current transaction is generated through a smart contract, and the order information of the reservation order is written into the blockchain.
[0013] If the reservation order is not cancelled, the power transmission fee is determined and payment is completed based on the charging power and service fee of the power transmission;
[0014] The evaluation information of the charging party on the service quality of the discharging party is obtained, the credit score of the discharging party is updated, and the transaction information of the current transaction is generated and broadcast to the entire network. The transaction information is stored in the block after being verified by the accounting node.
[0015] In one embodiment, the accounting node is selected as follows:
[0016] A preset number of accounting nodes in the current batch are selected within a preset time interval based on a reputation mechanism. The reputation mechanism selects a preset number of nodes with the highest reputation values as accounting nodes. The nodes are automobile user terminals. The accounting nodes collect transaction information within a preset time range for verification. After verification, the information is packaged into blocks and broadcast to other accounting nodes in the current batch.
[0017] Other accounting nodes verify the block. If the verification passes, the block is broadcast to all nodes in the network. All nodes in the network update their local ledgers and provide the accounting node with a preset economic reward. If the verification fails, the credit score of the accounting node is reduced, and it is kicked out of the accounting node set. A new accounting node is added according to the credit score, and a new accounting node is selected from the accounting nodes in the batch to record the account.
[0018] After all accounting nodes have recorded accounts, the next round of accounting node selection begins.
[0019] In one embodiment, the matching of a corresponding discharger from among the dischargers to be matched for the charger based on the positioning information, charging and discharging requirements, and whether a DC / DC converter is carried by each of the automobile user terminals, and determining the discharger to be selected for the charger includes:
[0020] Step 1: Based on the positioning information of charging party i and whether it carries a DC / DC converter, a set of pre-selected dischargers is determined from the dischargers to be matched;
[0021] Step 2: According to the charging and discharging requirements of the car of charger i, determine the minimum required power R of charger i and the initial expected bid price b of unit electricity price i and the maximum acceptable bid b i max ;
[0022] Step 3: According to the charging and discharging requirements of the dischargers in the pre-selected discharger set, determine the maximum power supply P and the initial expected price s of the unit electricity price of the dischargers in the pre-selected discharger set. j and the minimum acceptable selling price s j min ;
[0023] Step 4: Select the currently matched target discharger j from the pre-selected discharger set, compare the minimum power requirement R of the charger i with the maximum power supply P of the currently matched target discharger j. If R is less than P, return to select the currently matched target discharger from all the dischargers to be matched. If R is greater than or equal to P, proceed to step 5.
[0024] Step 5: Obtain the maximum acceptable bid b of the charger i i max and the minimum acceptable selling price s for discharge party j j min , if b i max Less than s j min , then return to reselect the current matching target discharge party from the discharge parties to be matched, if b imax Greater than or equal to s j min , go to step 6;
[0025] Step 6: Initial expected bid b based on the unit electricity price of the charger i i Analyze the unit electricity price of the charger i According to the initial expected selling price s of the unit electricity price of discharge party j j Analyze the unit electricity price of discharge party j if Less than Then return to reselect the current matching target discharge party from each discharge party to be matched. If Greater than or equal to The discharging party j is determined as a candidate charging party of the charging party.
[0026] In one embodiment, the initial expected bid b of the unit electricity price of the charger i is i Analyze the unit electricity price of the charger i include:
[0027] According to the initial expected bid b of the unit electricity price of the charger i i , use the charging party unit electricity price analysis formula to analyze and determine the unit electricity price of the charging party i
[0028] The unit electricity price analysis formula for the charger is:
[0029]
[0030] In one embodiment, the initial expected selling price s according to the unit electricity price of the discharge party j is j Analyze the unit electricity price of discharge party j include:
[0031] According to the initial expected selling price s of the unit electricity price of discharge party j j , use the discharge party unit electricity price analysis formula to analyze and determine the unit electricity price of discharge party j
[0032] The unit electricity price analysis formula of the discharge party is:
[0033]
[0034] In one embodiment, determining the power transmission fee and completing the payment based on the charging power and service fee of the power transmission includes:
[0035] According to the charging amount of the power transmission, the unit electricity price of the charging party i and service fees, determining the power transmission fee that the charger i needs to pay, and charging the power transmission fee that needs to be paid from the charger i;
[0036] According to the charging amount of the power transmission, the unit electricity price of the discharge party j and service fees, determine the power transmission fee that the discharger j should charge, and pay the power transmission fee that should be charged to the discharger j.
[0037] In one embodiment, the power transmission fee payable by the charging party i is greater than or equal to the power transmission fee payable by the discharging party j, and the method further includes:
[0038] The difference between the power transmission fee that the charging party i needs to pay and the power transmission fee that the discharging party j should receive is used as an economic reward to reward the accounting node.
[0039] In one embodiment, the method further comprises:
[0040] In the case where a reservation order is canceled, whether the preset time period is exceeded is determined based on the reservation order generation time and the reservation order cancellation time. If the preset time period is exceeded, the preset points are deducted from the credit score of the party that cancels the reservation order.
[0041] The above-mentioned blockchain-based V2V power transmission method receives the power transmission request sent by each automobile user terminal, and then obtains the positioning information, charging and discharging requirements and whether it carries a DC / DC converter of the automobile of each automobile user terminal according to the power transmission request of each automobile user terminal, and then determines the charging party among the automobile user terminals according to the charging and discharging requirements of each automobile user terminal, and the automobile user terminal that is not the charging party is used as the discharger to be matched. According to the positioning information, charging and discharging requirements and whether it carries a DC / DC converter of the automobile of each automobile user terminal, the corresponding discharger is matched from the dischargers to be matched for the charging party, and the selected discharger of the charging party is determined. The charging party is asked whether to go to the selected discharger. If the result of the inquiry is that the charging party is confirmed to go to the selected discharger, a reservation order for the current transaction is generated through the smart contract, and the order information of the reservation order is written into the blockchain. To confirm that the candidate discharger will not proceed to the candidate discharger, the candidate discharger is asked whether to proceed to the charger. If the query results in a negative response, the process returns the steps of matching the charger with a corresponding discharger from the candidate dischargers based on the vehicle location information, charging and discharging requirements, and whether a DC / DC converter is carried by each vehicle user terminal, thereby determining the candidate discharger for the charger. If the query results in a negative response, a reservation order for the current transaction is generated through a smart contract, and the order information of the reservation order is written to the blockchain. If the reservation order has not been canceled, the power transmission fee is determined based on the charging power and service fee, and payment is completed. The charger obtains information on the discharger's service quality, updates the discharger's reputation, generates transaction information for the current transaction, broadcasts it to the entire network, and stores it in the blockchain after verification by the accounting nodes. This eliminates the need for a third-party institution such as a regulatory center, enables distributed, trustless peer-to-peer transactions between vehicle user terminals, and improves the user data security of V2V power transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of a working environment of a blockchain-based V2V power transmission method in one embodiment;
[0043] Figure 2 1. A flowchart of a V2V power transmission method based on blockchain in one embodiment;
[0044] Figure 3 1. A schematic diagram of a V2V power transaction process of a V2V power transmission method based on blockchain in one embodiment;
[0045] Figure 4Schematic diagram of the consensus mechanism flow of a blockchain-based V2V power transmission method in one embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0047] Figure 1 A schematic diagram of the working environment of an embodiment of the blockchain-based V2V power transmission method of the present application is shown as follows: Figure 1 As shown in the figure, its operating environment involves a V2V transaction platform, a vehicle user terminal acting as the charger, and a vehicle user terminal acting as the discharger. These three terminals can communicate over a network. The V2V transaction platform is responsible for user registration and vehicle user terminal location. The charging and discharger terminals, acting as nodes in the blockchain, are responsible for verifying, publishing, and storing transaction information.
[0048] Among them, electric vehicle users who have charging or discharging needs can log in to the V2V trading platform through the car user terminal to register. The electric vehicle user provides the V2V trading platform with a unique identifier that indicates the user's identity. The V2V trading platform generates public and private keys and wallet addresses for the user through smart contracts. The private key is kept by the electric vehicle user himself, and the public key and wallet address are uploaded to the blockchain; the car user terminal becomes a node on the blockchain, synchronizes the latest data on the blockchain, and stores it as a local ledger.
[0049] Among them, the automobile user terminal can be an on-board computer of an electric vehicle. The on-board computer of the electric vehicle requests data from other nodes connected to the blockchain. After the electric vehicle is turned off, the on-board computer will face the problem of shutdown, which will cause the blockchain node to go offline. After it is back online, it also needs to re-synchronize the latest data, so it will obtain data from multiple nodes; other nodes connected to the blockchain send blockchain data to the on-board computer and require the on-board computer to verify the integrity of the data; the on-board computer compares the data received from different nodes. If multiple nodes n, where n≥3, send the same data, then the data is considered to be the latest data in the blockchain; the on-board computer verifies the latest data to ensure the integrity and correctness of the data; after the verification is passed, the data is added to the local ledger. If the verification fails, the above process is repeated.
[0050] In one embodiment, Figure 2As shown, a V2V power transmission method based on blockchain is provided, which is described by taking the application of the method to a V2V trading platform as an example, and includes the following steps:
[0051] Step S220: receiving a power transmission request sent by each automobile user terminal.
[0052] The power transmission request carries information such as positioning information, charging and discharging requirements, and whether a DC / DC converter is carried.
[0053] Step S240 : According to the power transmission request of each vehicle user terminal, the positioning information, charging and discharging requirements, and whether the vehicle carries a DC / DC converter of each vehicle user terminal are obtained.
[0054] Among them, the DC / DC converter can be a conversion device that connects two electric vehicle batteries through its fast charging port to achieve the purpose of direct charging and power supply between the two vehicles.
[0055] Step S260 : Determine the charging party among the vehicle user terminals according to the charging and discharging requirements of the vehicle user terminals, and the vehicle user terminals that are not charging parties are used as discharging parties to be matched.
[0056] Step S280 , matching a corresponding discharger from the dischargers to be matched for the charger based on the positioning information, charging and discharging requirements, and whether the DC / DC converter is carried by each car user terminal, and determining the discharger to be selected for the charger.
[0057] In one embodiment, after an electric vehicle user with charging needs logs into the V2V trading platform through a vehicle user terminal, the V2V trading platform displays and matches the user with available power supply vehicles nearby, i.e., the candidate dischargers, based on whether the user carries a DC / DC converter.
[0058] like Figure 3 As shown, in one embodiment, based on the positioning information, charging and discharging requirements, and whether a DC / DC converter is carried by each automobile user terminal, a corresponding discharger is matched for the charger from among the dischargers to be matched, and a candidate discharger for the charger is determined, including:
[0059] Step 1: Based on the positioning information of charging party i and whether it carries a DC / DC converter, a set of pre-selected dischargers is determined from the dischargers to be matched;
[0060] Step 2: According to the charging and discharging requirements of the car of charger i, determine the minimum required power R of charger i and the initial expected bid price b of unit electricity price i and the maximum acceptable bid b i max ;
[0061] Step 3: According to the charging and discharging requirements of the dischargers in the pre-selected discharger set, determine the maximum power supply P and the initial expected price s of the unit electricity price of the dischargers in the pre-selected discharger set. j and the minimum acceptable selling price s j min ;
[0062] Step 4: Select the currently matched target discharger j from the pre-selected discharger set, compare the minimum power requirement R of charger i with the maximum power supply P of currently matched target discharger j. If R is less than P, return to select the currently matched target discharger from all the dischargers to be matched. If R is greater than or equal to P, proceed to step 5.
[0063] Step 5: Obtain the maximum acceptable bid b of charger i i max and the minimum acceptable selling price s for discharge party j j min , if b i max Less than s j min , then return to reselect the current matching target discharge party from the discharge parties to be matched, if b i max Greater than or equal to s j min , go to step 6;
[0064] Step 6: Initial expected bid b based on the unit electricity price of charger i i Analyze the unit electricity price of charger i According to the initial expected selling price s of the unit electricity price of discharge party j j Analyze the unit electricity price of discharge party j if Less than Then return to reselect the current matching target discharge party from each discharge party to be matched. If Greater than or equal to The discharging party j is determined as a candidate charging party of the charging party.
[0065] In one embodiment, the initial expected bid b of the unit electricity price of charger i is i Analyze the unit electricity price of charger i include:
[0066] Based on the initial expected bid b of the unit electricity price of charger i i , use the charging party unit electricity price analysis formula to analyze and determine the unit electricity price of charging party i
[0067] The unit electricity price analysis formula for charging parties is:
[0068]
[0069] In one embodiment, the initial expected selling price s is calculated based on the unit electricity price of the discharger j. j Analyze the unit electricity price of discharge party j include:
[0070] According to the initial expected selling price s of the unit electricity price of discharge party j j , use the discharge party unit electricity price analysis formula to analyze and determine the unit electricity price of discharge party j
[0071] The unit electricity price analysis formula for the discharge party is:
[0072]
[0073] The unit electricity price analysis formula for the charger and the unit electricity price analysis formula for the discharger can be set based on the utility maximization of the charger and the discharger, and the setting basis is:
[0074] Assuming that both parties adopt a linear function strategy for pricing, the bidding strategy B of charger i is i (b i )for:
[0075] B i (b i )=a b +c b b i
[0076] Discharger j’s pricing strategy S j (s j )for:
[0077] S j (s j )=a s +c s s j
[0078] Among them, a b 、c b is the price coefficient of the bidding strategy, a s 、c s is the price coefficient of the pricing strategy, all greater than 0; the utility function F(B i )for:
[0079]
[0080] Among them, B i is the unit electricity price bid of the charger, E[S j (sj )|B i ≥S j (s j )] is when the charging party bids B i And the selling price of the discharger is S j (s j ) is less than or equal to B i Time S j (s j ) expectation, Prob{B i ≥S j (s j )} is the bid price of the charging party B i Greater than or equal to the selling price S of the discharger j (s j ) probability.
[0081] The utility function G(S j )for:
[0082]
[0083] Among them, S j The unit electricity price of the discharger.
[0084] In order to maximize their own utility, both parties do not know each other's valuation, so B i (b i ), S j (s j ) respectively satisfy in, Bid the best unit electricity price for the charger, The optimal unit electricity price for the discharger.
[0085] Then the linear equilibrium strategy (i.e. the unit electricity price analysis formula of the charging party and the unit electricity price analysis formula of the discharging party) is obtained as follows:
[0086]
[0087]
[0088] Step S300: Inquire the charging party whether to go to the location of the selected discharging party.
[0089] In step S320, if the inquiry result is to confirm going to the selected discharge party, a reservation order for the current transaction is generated through the smart contract, and the order information of the reservation order is written into the blockchain.
[0090] Among them, if the charging party's vehicle can go to the location of the discharging party, the V2V trading platform generates a reservation order through a smart contract and writes the order information into the blockchain.
[0091] Step S340: If the inquiry result is that the candidate discharger is confirmed not to go to the candidate discharger, the candidate discharger is asked whether to go to the charging party. If the inquiry result is that the candidate discharger is not to go to the charging party, the process returns to the step of matching the charging party with a corresponding discharger from the candidate dischargers based on the positioning information of the vehicles of each vehicle user terminal, the charging and discharging requirements, and whether the vehicle carries a DC / DC converter, and determining the candidate discharger of the charging party.
[0092] Step S360: If the query result is to go to the charging party, a reservation order for the current transaction is generated through the smart contract, and the order information of the reservation order is written into the blockchain.
[0093] Among them, if the charging party's vehicle cannot go to the location of the selected discharger, the selected discharger is asked whether it can go to the location of the charging party. If so, a reservation order is generated; if not, the process returns to the step of selecting the selected discharger.
[0094] Step S380: If the reservation order is not cancelled, the power transmission fee is determined based on the charging power and service fee of the power transmission and the payment is completed.
[0095] Among them, if either the charging party or the discharging party cancels the reservation order for some reason, it will be determined whether it exceeds the preset time. If it exceeds, a certain credit point will be deducted.
[0096] In one embodiment, the method further comprises:
[0097] In the case where a reservation order is canceled, whether the preset time period is exceeded is determined based on the reservation order generation time and the reservation order cancellation time. If the preset time period is exceeded, the preset points will be deducted from the credit score of the party that canceled the reservation order.
[0098] In one embodiment, determining the power transmission fee and completing the payment based on the charging amount and service fee of the power transmission includes:
[0099] According to the charging amount of power transmission and the unit electricity price of charging party i and service fees, determining the power transmission fee that charger i needs to pay, and charging charger i the power transmission fee to be paid;
[0100] The unit electricity price of the charging amount and discharging direction of the power transmission and service fees, determine the power transmission fee that discharger j should charge, and pay the power transmission fee that should be charged to discharger j.
[0101] In one embodiment, the power transmission fee payable by the charger i is greater than or equal to the power transmission fee payable by the discharger j, and the method further includes:
[0102] The difference between the power transmission fee that charging party i needs to pay and the power transmission fee that discharging party j should receive is used as an economic reward to reward the accounting node.
[0103] Step S400: Obtain the evaluation information of the charging party on the discharger's service quality, update the discharger's credit score, generate transaction information of the current transaction and broadcast it to the entire network, and store the transaction information in the block after verification by the accounting node.
[0104] Among them, the charging party pays the power transmission fee and evaluates the service quality of the discharging party. The evaluation will affect the credibility of the discharging party. At this time, the transaction information is generated and broadcast to the entire network. The transaction information is verified by the accounting node and stored in the block.
[0105] like Figure 4 As shown, in one embodiment, the accounting node is selected as follows:
[0106] According to the reputation mechanism, a preset number of accounting nodes of the current batch are selected within a preset time interval. The reputation mechanism is to select a preset number of nodes with the highest reputation value as accounting nodes. The nodes are automobile user terminals. The accounting nodes collect transaction information within a preset time range for verification. After the verification is passed, they are packaged into blocks and broadcast to other accounting nodes in the current batch; other accounting nodes verify the blocks. If the verification is passed, the blocks are broadcast to all nodes in the network. All nodes in the network update their local ledgers and provide preset economic rewards to the accounting nodes; if the verification fails, the reputation score of the accounting node is reduced, and it is kicked out of the accounting node set. A new accounting node is added according to the reputation value order, and a new accounting node is reselected from the accounting nodes in this batch for accounting; after all accounting nodes have recorded the accounts, the next round of accounting node selection begins.
[0107] The above-mentioned blockchain-based V2V power transmission method receives power transmission requests sent by each automobile user terminal, and then obtains the positioning information, charging and discharging requirements, and whether a DC / DC converter is carried by each automobile user terminal according to the power transmission request of each automobile user terminal. Then, according to the charging and discharging requirements of each automobile user terminal, the charging party among the automobile user terminals is determined, and the automobile user terminal that is not the charging party is used as the discharger to be matched. According to the positioning information, charging and discharging requirements, and whether a DC / DC converter is carried by each automobile user terminal, the corresponding discharger is matched from the dischargers to be matched for the charging party, and the discharger to be selected for the charging party is determined. The charging party is asked whether to go to the selected discharger. If the result of the inquiry is that the charging party is confirmed to go to the selected discharger, a reservation order for the current transaction is generated through the smart contract, and the order information of the reservation order is written into the blockchain. If the query result confirms that the candidate discharger will not go to the candidate discharger, the candidate discharger is asked whether to go to the charger. If the query result confirms that the candidate discharger will not go to the charger, the process returns a matching step for the charger from the candidate dischargers based on the vehicle location information, charging and discharging requirements, and whether a DC / DC converter is available on each vehicle user terminal. The process then determines the charger's candidate discharger. If the query result confirms that the candidate discharger will go to the charger, a reservation order for the current transaction is generated through a smart contract and the order information for the reservation order is written to the blockchain. If the reservation order has not been canceled, the power transmission fee is determined based on the charging power and service fee, and the payment is completed. The charger obtains information on the discharger's service quality, updates the discharger's reputation score, generates transaction information for the current transaction, broadcasts it to the entire network, and stores it in the blockchain after verification by the accounting nodes. This eliminates the need for a third-party institution such as a regulatory center, enables distributed, trustless peer-to-peer transactions between vehicle user terminals, and improves the user data security of V2V power transmission.
[0108] Furthermore, the blockchain-based V2V power transmission method described above does not include third-party institutions such as regulatory centers within its entire framework. It consists solely of a blockchain-based V2V trading platform and vehicle user terminals, making it more decentralized. Vehicle user terminals equipped with DC / DC converters can trade electricity anytime and anywhere, eliminating the need to visit dedicated EV alliance locations. A reputation mechanism directly selects a group of accounting nodes for block packaging, similar to the Delegated Proof of Stake (DPoS) mechanism. Reputation points are used to reduce the difficulty of node mining, similar to the Proof of Stake (PoS) mechanism.
[0109] Furthermore, vehicle user terminals can directly earn economic benefits through bookkeeping, thereby attracting more electric vehicle users to participate in V2V power trading. Simultaneously, with the added benefit of a reputation mechanism, vehicle user terminals will be more honest in their pursuit of bookkeeping rights. Furthermore, the more electric vehicle users participate, the more blockchain nodes there are, resulting in a more secure and reliable blockchain network.
[0110] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0111] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0112] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A V2V power transmission method based on blockchain, characterized in that: The method comprises: Receiving power transmission requests sent by each automobile user terminal; According to the power transmission request of each of the vehicle user terminals, obtaining the positioning information, charging and discharging requirements, and whether the vehicle of each of the vehicle user terminals carries a DC / DC converter; Determining a charging party among the vehicle user terminals according to the charging and discharging requirements of the vehicle user terminals, and determining a vehicle user terminal that is not a charging party as a discharging party to be matched; Matching a corresponding discharger from among the dischargers to be matched for the charger based on the positioning information, charging and discharging requirements, and whether the vehicle of each vehicle user terminal carries a DC / DC converter, thereby determining a candidate discharger for the charger; Inquiring the charging party whether to go to the selected discharging party, and if the inquiry result confirms going to the selected discharging party, generating a reservation order for the current transaction through the smart contract, and writing the order information of the reservation order into the blockchain; If the query result is a confirmation that the vehicle will not go to the candidate discharger, the candidate discharger is asked whether to go to the charger. If the query result is not to go to the charger, the steps of matching the charger with a corresponding discharger from the candidate dischargers based on the vehicle positioning information, charging and discharging requirements, and whether a DC / DC converter is carried by each vehicle user terminal are returned to determine the candidate discharger for the charger. If the query result is to go to the charger, a reservation order for the current transaction is generated through a smart contract, and the order information of the reservation order is written into the blockchain. If the reservation order is not cancelled, the power transmission fee is determined and payment is completed based on the charging power and service fee of the power transmission; The evaluation information of the charging party on the service quality of the discharging party is obtained, the credit score of the discharging party is updated, and the transaction information of the current transaction is generated and broadcast to the entire network. The transaction information is stored in the block after being verified by the accounting node.
2. The method according to claim 1, characterized in that The accounting node is selected as follows: A preset number of accounting nodes in the current batch are selected within a preset time interval based on a reputation mechanism. The reputation mechanism selects a preset number of nodes with the highest reputation values as accounting nodes. The nodes are automobile user terminals. The accounting nodes collect transaction information within a preset time range for verification. After verification, the information is packaged into blocks and broadcast to other accounting nodes in the current batch. Other accounting nodes verify the block. If the verification is successful, the block is broadcast to all nodes in the network. All nodes in the network update their local ledgers and provide the accounting nodes with preset economic rewards. If the verification fails, the credit score of the accounting node will be reduced, and it will be kicked out of the accounting node set. A new accounting node will be added according to the credit score order, and a new accounting node will be selected from the accounting nodes in this batch for accounting; After all accounting nodes have recorded accounts, the next round of accounting node selection begins.
3. The method according to claim 2, characterized in that The method of matching a corresponding discharger from among the dischargers to be matched for the charger based on the positioning information, charging and discharging requirements, and whether the vehicle of each vehicle user terminal carries a DC / DC converter, and determining a candidate discharger for the charger includes: Step 1: Based on the positioning information of charging party i and whether it carries a DC / DC converter, a set of pre-selected dischargers is determined from the dischargers to be matched; Step 2: According to the charging and discharging requirements of the car of charger i, determine the minimum required power R of charger i and the initial expected bid price b of unit electricity price i and the maximum acceptable bid b i max ; Step 3: According to the charging and discharging requirements of the dischargers in the pre-selected discharger set, determine the maximum power supply P and the initial expected price s of the unit electricity price of the dischargers in the pre-selected discharger set. j and the minimum acceptable selling price s j min ; Step 4: Select the currently matched target discharger j from the pre-selected discharger set, compare the minimum power requirement R of the charger i with the maximum power supply P of the currently matched target discharger j. If R is less than P, return to select the currently matched target discharger from all the dischargers to be matched. If R is greater than or equal to P, proceed to step 5. Step 5: Obtain the maximum acceptable bid b of the charger i i max and the minimum acceptable selling price s for discharge party j j min , if b i max Less than s j min , then return to reselect the current matching target discharge party from the discharge parties to be matched, if b i max Greater than or equal to s j min , go to step 6; Step 6: Initial expected bid b based on the unit electricity price of the charger i i Analyze the unit electricity price of the charger i According to the initial expected selling price s of the unit electricity price of discharge party j j Analyze the unit electricity price of discharge party j if Less than Then return to reselect the current matching target discharge party from each discharge party to be matched. If Greater than or equal to The discharging party j is determined as a candidate charging party of the charging party.
4. The method according to claim 3, characterized in that The initial expected bid b based on the unit electricity price of the charger i i Analyze the unit electricity price of the charger i include: According to the initial expected bid b of the unit electricity price of the charger i i , use the charging party unit electricity price analysis formula to analyze and determine the unit electricity price of the charging party i The unit electricity price analysis formula for the charger is:
5. The method according to claim 4, characterized in that The initial expected selling price s according to the unit electricity price of discharge party j j Analyze the unit electricity price of discharge party j include: According to the initial expected selling price s of the unit electricity price of discharge party j j , use the discharge party unit electricity price analysis formula to analyze and determine the unit electricity price of discharge party j The unit electricity price analysis formula of the discharge party is:
6. The method according to claim 5, characterized in that The determining of the power transmission fee and completing the payment based on the charging power and service fee of the power transmission includes: According to the charging amount of the power transmission, the unit electricity price of the charging party i and service fees, determining the power transmission fee that the charger i needs to pay, and charging the power transmission fee that needs to be paid from the charger i; According to the charging amount of the power transmission, the unit electricity price of the discharge party j and service fees, determine the power transmission fee that the discharger j should charge, and pay the power transmission fee that should be charged to the discharger j.
7. The method according to claim 6, characterized in that The power transmission fee to be paid by the charging party i is greater than or equal to the power transmission fee to be charged by the discharging party j, and the method further includes: The difference between the power transmission fee that the charging party i needs to pay and the power transmission fee that the discharging party j should receive is used as an economic reward to reward the accounting node.
8. The method according to claim 1, characterized in that The method further comprises: In the case where a reservation order is canceled, whether the preset time period is exceeded is determined based on the reservation order generation time and the reservation order cancellation time. If the preset time period is exceeded, the preset points are deducted from the credit score of the party that cancels the reservation order.
Citation Information
Patent Citations
Charging conversion device and charging method
CN108711913A
Charging request processing method and processor
CN108848167A