A privacy protection method for wireless charging of electric vehicles based on blockchain

Through blockchain-based decentralized identity authentication and PVC digital commitment protocol, the problem of user privacy protection in dynamic wireless charging of electric vehicles is solved, payment and location privacy protection of anonymous energy coins are realized, and the security of the charging process is ensured. and efficiency.

CN115941339BInactive Publication Date: 2024-09-03SHENZHEN INCREASE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211595485.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-13
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing dynamic wireless charging certification scheme for electric vehicles is too centralized, has security risks, and cannot effectively protect user privacy, and the issuance of pseudonyms by third-party organizations may lead to security risks.

Method used

Adopting a decentralized identity authentication system based on the blockchain, through the alliance chain, ERC entity registration contract and RVC certification verification contract, using the PVC digital commitment protocol and zero-knowledge proof algorithm to realize the construction and payment of anonymous energy coins to ensure the charging process User location privacy protection in .

Benefits of technology

It achieves the unification of charging services across organizations and regions, ensures the protection of user location privacy, avoids the threat of a single central agency, and improves the safety and efficiency of the electric vehicle charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941339B
    Figure CN115941339B
Patent Text Reader

Abstract

The present invention belongs to the field of security authentication in the discipline of cyberspace security, and specifically relates to a privacy protection method for wireless charging of electric vehicles based on blockchain. The method is based on the zero-knowledge proof algorithm of the PVC digital commitment protocol, and realizes the construction and payment of anonymous energy coins. The vehicle requests authentication from a roadside unit based on the anonymous energy coin and obtains a one-time session key for authentication with the roadside unit, and converts the authentication of the user's real identity into an authentication valid for the energy coin. During the charging process, any single CSP does not know the real identity of the charging vehicle, and effectively protects the location privacy of the vehicle user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of security authentication in the discipline of cyberspace security, and specifically relates to a privacy protection method for wireless charging of electric vehicles based on blockchain. Background Art

[0002] The rapid growth of global energy demand and environmental pollution pressure has led to increasing international attention to energy transformation and environmental protection. In this context, electric vehicles have become an effective solution for countries around the world to implement energy strategies, air pollution prevention and control plans, and energy conservation and emission reduction policies with their advantages of energy conservation and environmental protection, and have developed rapidly. The dynamic wireless charging technology for electric vehicles enables electric vehicles to charge while driving through magnetic induction between the charging plate placed under the road and the transmission coil at the bottom of the vehicle. When electric vehicles access the V2G network for charging services, they first need to authenticate the electric vehicle, and when the charging is completed, they need to pay the corresponding bill. There are many security risks in this application scenario, such as user privacy leakage or refusal to pay, which makes the secure and anonymous interaction of information energy in the V2G network a problem.

[0003] At present, there are some authentication schemes for dynamic wireless charging of electric vehicles. In 2015, H.Li et al. proposed the FADEC authentication protocol, which uses lightweight symmetric cryptographic operations to achieve effective authentication between electric vehicles and roadside units, and uses active key distribution methods to achieve seamless authentication between the same electric vehicle and different roadside units. However, this solution focuses on the rapid switching of electric vehicles between different RSUs without addressing privacy issues. In 2016, H.Li et al. proposed the Portunes privacy-preserving fast authentication protocol, which uses a pre-distributed key method to minimize the computational cost during the authentication of electric vehicles and charging boards, but the charging service provider is trusted to know the location and true identity of the electric vehicle, and each charging board must store all pseudonyms and keys, including those used by the vehicle at other charging stations. On this basis, H.Li proposed the Janus authentication protocol, which uses modern cryptographic tools to ensure that the total bill of the electric vehicle is correctly calculated without revealing the charging time and location of the electric vehicle.

[0004] The above schemes are too centralized. There is a trusted center to ensure the security and privacy protection of the system, which may cause the center to be threatened or attacked, thereby leaking user privacy. Dorri et al. proposed a blockchain-based architecture to protect user privacy and improve the security of the vehicle ecosystem. Although they considered the privacy of users and the security of the vehicle ecosystem, they did not give a specific and practical solution. In 2019, the privacy theory of electric vehicle charging process protected by anonymous currency based on blockchain was first proposed by David. In 2020, David first proposed in his paper that anonymous currency based on zero-knowledge proof can be used as a charging medium for electric vehicles to protect the privacy and security of EVs. However, this scheme is still based on a pseudonym mechanism and cannot completely eliminate the security risks brought about by the issuance of pseudonyms by third-party institutions for EVs. Summary of the invention

[0005] To solve the above problems, the present invention provides a privacy protection method for wireless charging of electric vehicles based on blockchain, comprising the following steps:

[0006] S1. Build a blockchain-based electric vehicle system, which includes a charging service provider, a roadside communication unit, an electric vehicle, and a charging board;

[0007] S2. The electric vehicle system is initialized, a consortium chain is built using a charging service provider and a roadside communication unit, and an ERC entity registration contract and an RVC proof verification contract are deployed on the consortium chain;

[0008] S3. The charging service provider and the roadside communication unit each generate their own corresponding public identity identifiers according to the decentralized identity identifier standard, and each public identity identifier corresponds to a DID document;

[0009] S4. When any electric vehicle has a charging demand, the electric vehicle calls the ERC entity registration contract according to the public identity of the required charging service provider, queries the DID document of the required charging service provider and parses it to obtain the communication address, sends an energy coin purchase request to the queried communication address, and the required charging service provider constructs the corresponding energy coin according to the energy coin purchase request and sends it to the electric vehicle;

[0010] S5. The electric vehicle verifies whether the energy coin sent by the required charging service provider is valid based on the zero-knowledge proof algorithm of the PVC digital commitment protocol. If so, the electric vehicle pays the required charging service provider the fee for the energy coin;

[0011] S6. After the electric car pays the energy coin fee, it sends a verifiable expression VP to the nearest roadside communication unit to verify its identity; the nearest roadside communication unit calls the RVC proof verification contract to verify the validity of the energy coin based on the energy coin valid proof in the verifiable expression VP;

[0012] S7. If the verification is successful, the validity certificate of the energy coin is stored in the revocation list of the alliance chain, and the verification pass information is returned to the nearest roadside communication unit, and the nearest roadside communication unit sends a one-time session key to the electric vehicle;

[0013] S8. The electric car authenticates the charging board according to the one-time session key and charges after the authentication is passed.

[0014] Furthermore, after the electric vehicle system is initialized, system parameters are generated and broadcast according to the PVC digital commitment protocol, and the system parameters include:

[0015] t, l, s1, s2, p, q, g1, g2, f1, f2

[0016]

[0017]

[0018]

[0019]

[0020] Among them, t, l, s1, s2 are 4 security parameters; q and p are 2 large prime numbers, and p = 2q + 1; H(·) represents a secure hash function. There exists |H(x)|+1=|p|, and represents the set of integers greater than 0 and less than P; μ1, is a random number, g1 is The element with the largest intermediate order, g2, f1, f2 are the elements in the cyclic group generated by g1, g1, g2≠1, f1, f2≠1, and the order of g1, g2, f1, f2 is q.

[0021] Furthermore, the public identity is represented as:

[0022] DID="did:did-method:did-method-specific-id"

[0023] Among them, "did" is a fixed string, ":" is a separator character, "did-method" is a name variable used to indicate the name of the blockchain where the DID document is stored; "did-methodspecific-id" is a DID document determination variable used to identify a DID document;

[0024] Each public identity corresponds to a DID document, which consists of four parts: public identity, public key set, communication service address and signature. The DID document is used to reveal the public information of its holder and is stored on the consortium chain.

[0025] Furthermore, in step S4, the process of the electric vehicle sending an energy coin purchase request to the charging service provider includes:

[0026] S41. The electric car randomly selects three random numbers ω, η1 and η2, and ω=[1,2 t+1 q-1], η2∈[1,2 t+1 q-1];

[0027] S42. The electric car is calculated by random numbers ω, η1 and η2 and c = H(w1||w2);

[0028] S43. The electric car randomly selects two random numbers S and r A Calculating commitment

[0029] S44. The electric car calls the entity query interface in the ERC entity registration contract to query the charging service provider CSP to which the required energy coins belong i DID document, parse the DID document to obtain the charging service provider CSP i The communication address and public key of

[0030] S45. The electric vehicle uses a charging service provider CSP i The public key encrypts c, η2 and S, and we get And sent to the charging service provider CSP i ;

[0031] S46. Charging Service Provider CSP i Decrypt δ to get S, and select a random number r B Calculate its commitment to S

[0032] S47. Charging Service Provider CSP i Calculate D2=cr based on the decrypted c and η2 B +η2;

[0033] S48. Charging Service Provider CSP i Use commitment com csp and D2 issues a verifiable credential VC to the electric vehicle;

[0034] Among them, t, l, s1 are three security parameters; q is a large prime number, H(·) represents a secure hash function, and g1 is The element with the largest intermediate order, g2, f1, f2 are the elements in the cyclic group generated by g1, and S is the serial number of the energy coin.

[0035] Furthermore, in step S5, the process of electric vehicles verifying energy coins based on the zero-knowledge proof algorithm of the PVC digital commitment protocol includes:

[0036] S51. After receiving the energy coins returned by the charging service provider, the electric vehicle calculates D = cS + ω and D1 = cr A +η1, and for the commitment com ev and promises com csp Generate proof of equality of hidden energy coin serial number S:

[0037] π=(c,D,D1,D2,com ev ,com csp );

[0038] S52. The electric car constructs a zero-knowledge proof:

[0039]

[0040] S53. The electric vehicle verifies locally whether c==c′ is established through zero-knowledge proof. If so, the electric vehicle pays the energy coin fee to the charging service provider that provides the energy coin;

[0041] Among them, S is the serial number of the energy coin, c is the hash value obtained by the secure hash function, ω, r A 、r B and η1 are random numbers, D2 is the value calculated by the charging service provider, and g1 is The element with the largest intermediate order, g2, f1, f2 are the elements in the cyclic group generated by g1.

[0042] Furthermore, the specific process of step S6 includes:

[0043] S61. Electric vehicle to the nearest roadside communication unit RSU i Send energy coins to prove validity, the nearest roadside communication unit RSU i Call RVC to verify the contract;

[0044] S62. The RVC proof verification contract determines whether c has been used according to the revocation list. If not, it verifies whether the equation c == c′ holds.

[0045] S63. If the equation holds true, then the nearest roadside communication unit RSUi Send a one-time session key to the electric vehicle.

[0046] Furthermore, the calculation formula of c' in the verification equation c == c' is:

[0047]

[0048] Beneficial effects of the present invention:

[0049] The present invention proposes an identity authentication system based on a decentralized identity identifier DID and a consortium chain, which realizes cross-organizational and cross-regional charging services and enables charging service providers CSP of different organizations to provide unified services.

[0050] The present invention realizes the construction and payment of anonymous energy coins based on the zero-knowledge proof algorithm of the PVC digital commitment protocol. The vehicle requests authentication from the roadside unit based on the anonymous energy coin and obtains a one-time session key for authentication with the roadside unit, and turns the authentication of the user's real identity into an authentication valid for the energy coin. During the charging process, no single CSP knows the real identity of the charging vehicle, which effectively protects the location privacy of the vehicle user.

[0051] The present invention designs a one-time session key management mechanism based on reverse hash chain, which preloads enough one-time session keys onto each charging plate every day, so that electric vehicles and charging plates can achieve fast identity authentication, guarantee the location privacy of electric vehicles, and ensure the efficiency of vehicle-by-vehicle identity authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a system model diagram of the present invention;

[0053] Figure 2 Purchase flowchart for energy coins;

[0054] Figure 3 Flowchart for verifying and distributing one-time session keys for energy coins;

[0055] Figure 4 Flow chart for verifying charging key;

[0056] Figure 5 This is a diagram of the DID identifier structure. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] The present invention provides a privacy protection method for wireless charging of electric vehicles based on blockchain, comprising the following steps:

[0059] S1. Build a blockchain-based electric vehicle system, which includes charging service providers, roadside communication units, electric vehicles, and charging boards.

[0060] Specifically, Figure 1 As shown, the electric vehicle system includes multiple charging service providers (CSPs), multiple roadside units (RSUs), charging panels (CPs) and electric vehicles (EVs). Multiple CSPs and RSUs are used to form a consortium chain to jointly manage the charging affairs of EVs; two smart contracts, the ERC entity registration contract and the RVC proof verification contract, are deployed on the consortium chain, where the ERC entity registration contract includes two interfaces: the entity registration interface entityRegister and the entity query interface entityQuery. The RVC proof verification contract is responsible for verifying the verifiable expression VP, which aims to selectively expose the verifiable credential VC. The verifiable expression VP contains a valid proof of energy coins. The RVC proof verification contract will put the verified valid proof of energy coins into the revocation list; CSP is responsible for issuing anonymous energy coins and verifiable credentials VC to EVs; RSU is responsible for authenticating EVs and distributing one-time session keys to authenticated EVs; CP is responsible for providing charging services for authenticated and authorized EVs.

[0061] S2. The electric vehicle system is initialized, a consortium chain is built using a charging service provider and a roadside communication unit, an ERC entity registration contract and an RVC proof verification contract are deployed on the consortium chain; and system parameters are generated and broadcasted according to the PVC digital commitment protocol.

[0062] Specifically, the system parameters include:

[0063] t, l, s1, s2, p, q, g1, g2, f1, f2

[0064]

[0065]

[0066]

[0067]

[0068] Among them, t, l, s1, s2 are 4 security parameters; q and p are 2 large prime numbers, and p = 2q + 1; H(·) represents a secure hash function. There exists |H(x)|+1=|p|, and represents the set of integers greater than 0 and less than P; μ1, is a random number, g1 is The element with the largest intermediate order, g2, f1, f2 are the elements in the cyclic group generated by g1, g1, g2≠1, f1, f2≠1, and the order of g1, g2, f1, f2 is q.

[0069] S3. The charging service provider and the roadside communication unit respectively produce their own corresponding public identity identifiers according to the decentralized identity identifier standard. The charging service provider and the roadside communication unit call the entity registration interface entityRegister of the ERC entity registration contract through the public identity identifier and store the DID document on the alliance chain.

[0070] Specifically, the public identity is represented as:

[0071] DID="did:did-method:did-method-specific-id"

[0072] Among them, "did" is a fixed string, ":" is a separator, "did-method" and "did-methodspecific-id" are variable names; did-method represents the name of the blockchain where the DID document is stored, and did-methodspecific-id is a unique string that is unique and non-repeating in the entire blockchain and is used to identify a DID document. Specific examples are as follows Figure 5 shown.

[0073] Each public identity corresponds to a DID document, which consists of four parts: public identity, public key set, communication service address and signature. The DID document is used to reveal the public information of its holder and is stored on the consortium chain.

[0074] S4. When any electric vehicle has a charging demand, the electric vehicle calls the ERC entity registration contract to query the public identity of the required charging service provider and resolves it to obtain the communication address, and sends an energy coin purchase request to the queried communication address. The required charging service provider constructs the corresponding energy coin based on the energy coin purchase request and sends it to the electric vehicle.

[0075] Specifically, the energy coin purchase process is as follows: Figure 2 As shown, including:

[0076] S41. Electric Vehicle EV i Randomly select two random numbers ω, η1 and η2, and ω=[1,2 t+1 q-1], η2∈[1,2 t+1 q-1];

[0077] S42. Electric Vehicles EV i The following parameters are calculated using random numbers ω, η1 and η2:

[0078]

[0079]

[0080] c=H(w1||w2)

[0081] S43. Electric Vehicles EV i Randomly select two random numbers S and r A Calculating commitment

[0082] S44. Electric Vehicle EV i Call the entity query interface entityQuery of the ERC entity registration contract to query the charging service provider CSP to which the required energy coin belongs i DID document, parse the DID document to obtain the charging service provider CSP i The communication address and public key of

[0083] S45. Electric Vehicle EV i Use a charging service provider (CSP) i The public key encrypts c, η2 and S, and we get And sent to the charging service provider CSP i ;

[0084] S46. Charging Service Provider CSP i After processing δ, the electric vehicle EV i Issue a verifiable certificate VC.

[0085] Specifically, charging service providers CSP i Electric Vehicles (EV) i The process of issuing a verifiable credential (VC) includes:

[0086] S461. Charging Service Provider CSP i Use your own private key to decrypt δ to get S, and select a random number r B Calculate its commitment to S

[0087] S462. Charging Service Provider CSP i Calculate D2=cr based on the decrypted c and η2 B +η2;

[0088] S463. Charging Service Provider CSP i The structure includes a commitment to com csp and D2's credential field, and change the issuer field to your own public identity;

[0089] S464. Charging Service Provider CSP i Use the private key to sign the credential field and the issuser field to obtain the signature value sign; and use it to construct the proof field, which includes the signature value sign, the signature algorithm method, and the creator creator;

[0090] S465. Charging Service Provider GSP i Issuing a verifiable credential VC to an electric vehicle is represented as:

[0091]

[0092] Among them, sign sk GSP stands for Charging Service Provider i Select the private key signature issuer, credential, SCP, ECP, and timestamp fields corresponding to any public key in the public key set of its DID document. SCP represents the starting sequence number of the charging board, ECP represents the ending sequence number of the charging board, and timestamp represents the current timestamp.

[0093] S5. The electric vehicle verifies whether the energy coins sent by the required charging service provider are valid based on the zero-knowledge proof algorithm of the PVC digital commitment protocol. If so, the electric vehicle pays the fee for the energy coins to the required charging service provider.

[0094] Specifically, the energy coin verification process is as follows: Figure 3 As shown, including:

[0095] S51. Electric Vehicle EV i Received from charging service provider CSP i The returned verifiable credential VC is used to query the charging service provider SCP by calling the entity query interface EntityQuery of the ERC entity registration contract based on the issuser field in the verifiable credential VC. i DID document, obtain the public key corresponding to the creator in the proof field, and use the public key to verify whether the signature value is correct; if it is correct, it means that the current verifiable credential VC is issued by the charging service provider CSP i Released, Electric Vehicle EV iAccept the verifiable credential VC and store it secretly locally; if it is incorrect, it means that the verifiable credential VC is not issued by the charging service provider CSP. i Published by EV i Do not accept the VC and initiate a new purchase request;

[0096] S52. Calculate D = cS + ω and D1 = cr A +η1, and then calculate locally:

[0097]

[0098] S53. Electric Vehicle EV i Construct a zero-knowledge proof, expressed as:

[0099]

[0100] S54. Electric Vehicle EV i Through zero-knowledge proof, it is verified locally whether c==c′ is true. If so, the electric vehicle EV i Provide energy coins to charging service providers CSP i Pay the fee for this energy coin.

[0101] S6. After paying the energy coin fee, the electric car sends a verifiable expression VP (the verifiable expression VP contains a valid proof of the energy coin, i.e., evidence of the equality of the hidden energy coin serial number S) to the nearest roadside communication unit to verify its identity; the nearest roadside communication unit calls the RVC proof verification contract to verify the validity of the energy coin based on the valid proof of the energy coin in the verifiable expression VP.

[0102] Specifically, the verification process of the validity of energy coins is as follows: Figure 3 As shown, including:

[0103] S61. Electric Vehicle EV i The nearest roadside communication unit RSU i Send energy coins to prove validity, the nearest roadside communication unit RSU i Call RVC to verify the contract;

[0104] Specifically, the energy coin validity proof includes two commitments: EV and com csp Proof of equality of the generated hidden energy coin serial number S:

[0105] π=(c,D,D1,D2,com ev ,com csp )

[0106] It also includes the starting sequence number SCP and the ending sequence number BCP of the charging board to be charged;

[0107] Specifically, the charging board CP will load the one-time session key into the storage unit of the charging board in advance during the idle time period; when the electric vehicle needs to be charged, it uses the verifiable expression VP to verify with the nearest roadside unit RSU;

[0108] S62. The RVC proof verification contract determines whether c has been used according to the revocation list. If not, it verifies whether the equation c == c′ holds.

[0109] S63. If the equation holds, put c into the revocation list and send it to the nearest roadside communication unit RSU i Return verification pass notification; nearest roadside communication unit RSU i After receiving the verification notification, a one-time session key is generated based on the starting sequence number SCP and the ending sequence number ECP received from the charging board. and sends it to the electric vehicle EV i .

[0110] S7. If the verification is successful, the validity certificate of the energy coin is stored in the revocation list of the alliance chain, and the verification pass information is returned to the nearest roadside communication unit. The nearest roadside communication unit sends a one-time session key to the electric vehicle.

[0111] S8. The electric car authenticates the charging board according to the one-time session key and charges after the authentication is passed.

[0112] Specifically, Figure 4 As shown in the figure, the process of electric vehicle authenticating to the charging board based on the one-time session key includes:

[0113] S81. Based on the one-time session key (a ECP ,β SCP ) to get a i and β i , the calculation formula is as follows:

[0114]

[0115]

[0116] S82. According to the calculated a i and β i Calculate the authentication key for each charging board:

[0117] S83. Calculate the identity authentication key between each CP that needs to be charged based on the verification key. After successful authentication, the charging board provides charging services for the electric vehicle; when entering the range of a new roadside unit, the electric vehicle re-requests a new one-time session key to authenticate the charging board.

[0118] In the present invention, unless otherwise clearly stipulated and limited, the terms such as "installation", "setting", "connection", "fixation" and "rotation" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in the present invention according to the specific circumstances.

[0119] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A privacy protection method for wireless charging of electric vehicles based on blockchain, characterized in that: The following steps are involved: S1. Build a blockchain-based electric vehicle system, which includes a charging service provider, a roadside communication unit, an electric vehicle, and a charging board; S2. The electric vehicle system is initialized, a consortium chain is built using a charging service provider and a roadside communication unit, and an ERC entity registration contract and an RVC proof verification contract are deployed on the consortium chain; S3. The charging service provider and the roadside communication unit each generate their own corresponding public identity identifiers according to the decentralized identity identifier standard, and each public identity identifier corresponds to a DID document; S4. When any electric vehicle has a charging demand, the electric vehicle calls the ERC entity registration contract according to the public identity of the required charging service provider, queries the DID document of the required charging service provider, parses the DID document to obtain the communication address of the required charging service provider, and sends an energy coin purchase request to the queried communication address. The required charging service provider constructs the corresponding energy coin according to the energy coin purchase request and sends it to the electric vehicle; S5. The electric vehicle verifies whether the energy coin sent by the required charging service provider is valid based on the zero-knowledge proof algorithm of the PVC digital commitment protocol. If so, the electric vehicle pays the required charging service provider the fee for the energy coin; Step S5 The process of electric vehicles verifying energy coins based on the zero-knowledge proof algorithm of the PVC digital commitment protocol includes: S51. After receiving the energy coins returned by the charging service provider, the electric vehicle calculates D = cS + ω and D1 = cr A +η1, and for the commitment com ev and promises com csp Generate proof of equality of hidden energy coin serial number S: π=(c,D,D1,D2,com ev ,com csp ); S52. The electric car constructs a zero-knowledge proof: S53. The electric car verifies locally that c==c through zero-knowledge proof ′ Is it established? If so, the electric vehicle pays the energy coin to the charging service provider that provides the energy coin; Among them, S is the serial number of the energy coin, c is the hash value obtained by the secure hash function, ω, r A 、r B and η1 are random numbers, D2 is the value calculated by the charging service provider, and g1 is The element with the largest intermediate order, g2, f1, f2 are the elements in the cyclic group generated by g1; S6. After the electric car pays the energy coin fee, it sends a verifiable expression VP to the nearest roadside communication unit; the nearest roadside communication unit calls the RVC proof verification contract to verify the validity of the energy coin based on the energy coin validity proof in the verifiable expression VP; S7. If the verification is successful, the validity certificate of the energy coin is stored in the revocation list of the alliance chain, and the verification pass information is returned to the nearest roadside communication unit, and the nearest roadside communication unit sends a one-time session key to the electric vehicle; S8. The electric car authenticates the charging board according to the one-time session key and charges after the authentication is passed.

2. According to the blockchain-based electric vehicle wireless charging privacy protection method of claim 1, it is characterized in that: After the electric vehicle system is initialized, the system parameters are generated and broadcast according to the PVC digital commitment protocol. The system parameters include: t, l, s1, s2, p, q, g1, g2, f1, f2 Among them, t, l, s1, s2 are 4 security parameters; q and p are 2 large prime numbers, and p = 2q + 1; H(·) represents a secure hash function. There exists |H(x)|+1=|p|, and represents the set of integers greater than 0 and less than P; is a random number, g1 is The element with the largest intermediate order, g2, f1, f2 are the elements in the cyclic group generated by g1, g1, g2≠1, f1, f2≠1, and the order of g1, g2, f1, f2 is q.

3. According to the blockchain-based electric vehicle wireless charging privacy protection method of claim 1, it is characterized in that: The public identity is represented by: DID="did:did-method:did-method-specific-id" Among them, "did" is a fixed string, ":" is a separator character, "did-method" is a name variable used to indicate the name of the blockchain where the DID document is stored; "did-methodspecific-id" is a DID document determination variable used to identify a DID document; Each public identity corresponds to a DID document, which consists of four parts: public identity, public key set, communication service address and signature. The DID document is used to reveal the public information of its holder and is stored on the consortium chain.

4. According to the blockchain-based electric vehicle wireless charging privacy protection method of claim 1, it is characterized in that: The process of the electric vehicle sending an energy coin purchase request to the charging service provider in step S4 includes: S41. The electric car randomly selects three random numbers ω, η1 and η2, and ω=[1,2 t+1 q-1], η2∈[1,2 t+1 q-1]; S42. The electric car is calculated by random numbers ω, η1 and η2 and c = H(w1||w2); S43. The electric car randomly selects two random numbers S and r A Calculating commitment S44. The electric car calls the entity query interface in the ERC entity registration contract to query the charging service provider CSP to which the required energy coins belong i DID document, parse the DID document to obtain the charging service provider CSP i The communication address and public key of S45. The electric vehicle uses a charging service provider CSP i The public key encrypts c, η2 and S, and we get And sent to the charging service provider CSP i ; S46. Charging Service Provider CSP i Decrypt δ to get S, and select a random number r B Calculate its commitment to S S47. Charging Service Provider CSP i Calculate D2=cr based on the decrypted c and η2 B +η2; S48. Charging Service Provider CSP i Use commitment com csp and D2 issues a verifiable credential VC to the electric vehicle; Among them, t, l, s1 are three security parameters; q is a large prime number, H(·) represents a secure hash function, and g1 is The element with the largest intermediate order, g2, f1, f2 are the elements in the cyclic group generated by g1, and S is the serial number of the energy coin.

5. According to the blockchain-based electric vehicle wireless charging privacy protection method of claim 1, it is characterized in that: The specific process of step S6 includes: S61. Electric vehicle to the nearest roadside communication unit RSU i Send energy coins to prove validity, the nearest roadside communication unit RSU i Call RVC to prove the verification contract; S62.RVC proves that the verification contract determines whether c has been used according to the revocation list. If not, it verifies the equation c==c ′ whether it is established; S63. If the equation holds true, then the nearest roadside communication unit RSU i Send a one-time session key to the electric vehicle.

6. A blockchain-based electric vehicle wireless charging privacy protection method according to any one of claims 1 or 5, characterized in that: Verify the equation c==c ′ c ′ The calculation formula is: