Expressway free flow precise mileage charging method based on block chain and zero knowledge proof

Through blockchain and zero-knowledge proof technology, privacy protection and accurate fee collection are achieved in free-flow highways, solving the problems of inaccurate mileage charging and user privacy leakage in existing technologies, and providing reliable records of abnormal situations and tracing mechanism.

CN118762408APending Publication Date: 2024-10-11BEIJING UNIV OF TECH

Patent Information

Application Number
CN202410749631.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing highway tolling model is difficult to accurately charge based on mileage under free flow conditions, and user privacy is easily leaked when data is stored in a centralized manner, and there is a lack of effective abnormality recording and tracing mechanisms.

Method used

Adopting a highway free-flow precise mileage charging method based on blockchain and zero-knowledge proof, license plate information is collected in real time through video surveillance nodes, a zero-knowledge proof is generated and uploaded to the blockchain, and smart contracts are combined to achieve privacy protection and cost calculation to ensure cost Accurately charge according to mileage and keep records in case of abnormal circumstances.

Benefits of technology

It achieves accurate collection of highway tolls based on actual mileage without leaking vehicle users’ private information, and provides reliable tracking guarantees for abnormal situations through the non-tamperability and traceability of the blockchain. It is suitable for highways and Other services billed based on origin and destination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762408A_ABST
    Figure CN118762408A_ABST
Patent Text Reader

Abstract

The invention discloses an expressway free flow precise charging method based on a block chain and zero-knowledge proof, and the method comprises the steps: designing an expressway vehicle payment data chaining mechanism, and encrypting and storing a vehicle position certificate and payment data on the block chain through an intelligent contract; acquiring the position of a user by adopting video monitoring and ICP identification, and designing a charging algorithm according to the mileage of the vehicle; and payment verification under user privacy protection is realized by adopting a zero-knowledge proof technology. According to the innovation value and effective application scene of the invention, compared with traditional manual charging and a charging method based on 5G and ETC, the highway charging efficiency is significantly improved; according to the method, the charging accuracy and the security of user location privacy are ensured, the charging accuracy and traceability are ensured, and a new solution is provided for the field of intelligent traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of smart transportation and information security, and in particular to a free-flow mileage charging method for highways based on blockchain and zero-knowledge proof technology. Background Art

[0002] With the development of smart transportation, the highway toll collection mode is gradually shifting from manual toll collection to pole-free payment or free-flow toll collection. The existence of physical toll stations, especially those with large traffic volume, still causes frequent congestion, and the construction, operation and management costs of toll stations are still high. Travelers are increasingly demanding less-manned, unmanned toll collection and senseless passage. Especially in the case of centralized data storage, user privacy is easily leaked to centralized entities.

[0003] Blockchain technology has very high application value due to its decentralized, tamper-proof and traceable characteristics. Zero-knowledge proof technology is often used for privacy protection to enable the prover to complete a certain activity without revealing private information to the verifier. Because the blockchain can record the key data required for zero-knowledge proof, and the blockchain's smart contract can automatically execute zero-knowledge proof to complete the multi-party interaction process, the key steps of zero-knowledge trusted settings coincide with the decentralized credibility of the blockchain. The use of blockchain technology and zero-knowledge proof technology in traditional high-speed toll collection systems can not only ensure the data security of decentralized centralized storage, but also zero-knowledge proof technology can achieve toll collection while protecting privacy. In addition, the fees charged by today's highways are only based on the information of the entry and exit gates, rather than a more fair charge based on the time and mileage of users using high-speed services.

[0004] Therefore, how to efficiently collect highway tolls based on user mileage while protecting privacy, and how to design a charging mechanism that keeps records of abnormal situations under free flow, are issues that urgently need to be addressed in this field. Summary of the invention

[0005] The purpose of this invention is to provide a free-flow highway accurate mileage charging method based on blockchain and zero-knowledge proof. The method is divided into a fake license plate detection part before entering the highway and a highway fee collection part. The method is used to efficiently collect highway fees based on user mileage while protecting privacy, and to design a charging mechanism for tracking abnormal situations and retaining records in the case of free flow.

[0006] The free-flow accurate mileage charging method for highways based on blockchain and zero-knowledge proof involves the following entities:

[0007] Highway toll node V: It is the collector of highway tolls and also acts as a verifier in the zero-knowledge proof framework, charging fees by verifying the fee proof;

[0008] Highway vehicle user node P: the payer of highway fees and the prover in the zero-knowledge proof framework. It constructs a zero-knowledge proof of the payable fees by obtaining the parameters of the payable fees.

[0009] Highway video surveillance node W: It is the collector of highway fee parameters and also acts as a witness in the zero-knowledge proof framework. It obtains the parameters for generating the fee zero-knowledge proof through video surveillance and provides accurate mileage charging parameters as a trusted third party on the road.

[0010] The free-flow accurate mileage charging method for highways based on blockchain and zero-knowledge proof is characterized by including the following two types of processes:

[0011] Clone car detection process:

[0012] 1) Video surveillance node W monitors every vehicle entering the highway in real time and collects the vehicle’s license plate information.

[0013] 2) Match the collected license plate information with the legal license plate information pre-stored on the blockchain to identify potential fake license plate vehicles.

[0014] 3) For each vehicle, the video surveillance node W generates a zero-knowledge proof based on the license plate information to prove that the vehicle is a legal vehicle without revealing the specific information of the license plate.

[0015] 4) The video surveillance node W submits the zero-knowledge proof to the blockchain network, which is verified by the highway toll node V.

[0016] The process of collecting highway fees based on zero-knowledge proof and blockchain:

[0017] 1) Construct a zero-knowledge proof circuit for accurate charging based on mileage. To achieve privacy protection using zero-knowledge proof and to charge based on mileage, V must construct a zero-knowledge proof circuit based on the route planning of the highway before the free flow of the highway is running.

[0018] 2) Sending fee parameter information. In the free flow mode of the highway, W monitors P entering and leaving the highway and sends it the entry and exit information and vehicle type information S in ,S out ,Ty. Except for the entrance and exit, during the vehicle's driving, W sends the mileage charging information N,LC[N], to realize charging according to the mileage.

[0019] 3) Record parameter cost information. When sending cost parameter information, W records this information ELC[N], in ,H out ,H N After hash encryption, it is uploaded to the blockchain for storage and record.

[0020] 4) Prepayment: Based on the entry information, the vehicle needs to transfer a fee F' to the blockchain smart contract as the highway mortgage fee.

[0021] 5) Generate a zero-knowledge proof of the payable fee. P generates a zero-knowledge proof of the payable fee based on the collected payment parameters and calculates the payable fee F.

[0022] 6) Call the blockchain smart contract to verify the fee proof and then make payment and refund. V calls the blockchain smart contract to verify the zero-knowledge proof of the payable fee provided by P. If the verification is passed, the corresponding fee will be charged and refunded, otherwise the prepaid fee will be charged.

[0023] The zero-knowledge proof circuit for accurate charging based on mileage described in part (1) first needs to verify the payment information ELC[N] stored on the chain, H in ,H out ,H N Local information S stored with P in ,S out ,N,LC[N],PubKey P ,Ty is used as the public input and private input of the circuit, and the fees to be paid by P and the verification results are used as outputs. First, the consistency of the information on the chain and the local information should be verified, and then the toll rate of the corresponding distance of the highway for the vehicle of this model is calculated through Ty. The mileage refers to the mileage of the vehicle from the entrance to the exit. The calculation of the mileage is based on the payment information N provided by the W on the road, that is, the number of W on the road. By abstracting all the stations into numerical values, each of which is both an entrance and an exit, and by setting up the Dis[] array in the circuit, which stores the product of the multiplication of two numerical values, representing different routes, assuming that there are m routes, it is obvious that the length of the Dis array is also m. By multiplying the numerical values ​​of the entrance and exit of the P circuit input parameters and matching them in the Dis[] array, the i-th route is matched. There may be m roads in the matching route, and each road has a different number of W. The Nth road among the i matching routes is determined by the distance[][] two-dimensional array built into the circuit, and the value of the two-dimensional array represents the mileage traveled.

[0024] The inbound and outbound information S described in part (2) in ,S outIt abstracts different toll booths into numerical values. The Ty is divided into four types: Class I bus Ty1, Class II bus Ty2, Class III bus Ty3, and Class IV bus Ty4. They are matched after monitoring and processing by W. The N, LC[N] is the number of Ws on the way of P, and the array of certificates sent to it by W on the way. The structure of the certificate is: PubKey s ,PC p ,Ty, where PubKey s is P's public key, PC p are the latitude and longitude coordinates of W to which the information is sent.

[0025] The structure of the hashed certificate ELC[N] described in part (3) is ELC= <PubKey P ,Hash(LC)>,H in ,H out ,H N S in ,S out ,N’s hash value is hashed using the poseidon hash algorithm.

[0026] The F' mentioned in part (4) refers to the cost of prepaying the average driving distance after being hashed and encrypted according to the entry information and called as a parameter of the prepayment smart contract.

[0027] In part (5), P uses the collected locally stored fee information as the private input of the zero-knowledge proof circuit, and retrieves it according to P's public key by interacting with the blockchain, retrieving the hashed confidential information stored on the blockchain as the public input of the circuit, and finally generates a zero-knowledge proof. At the same time, the payable fee F is publicly output, and the zero-knowledge proof and F are uploaded to the blockchain.

[0028] Part (6) V calls the blockchain verification contract to verify the proof generated by P. After the verification is successful, it charges F's fee and returns the fee of F'-F.

[0029] Compared with the existing technology, the innovative value and effective application scenarios of the present invention are: the present invention can realize the accurate collection of highway fees based on the actual mileage without leaking the privacy information of the vehicle user node P. At the same time, the application of blockchain technology ensures the immutability and traceability of all transaction records, providing a reliable guarantee for the tracing of abnormal situations. At the same time, the fee collection method is not only applicable to highways, but also to many other services and facilities based on starting point and end point billing, such as public transportation systems, urban road tolls, road rescue services, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 The system framework diagram of the highway free-flow precise mileage charging method based on blockchain and zero-knowledge proof of the present invention is shown.

[0032] Figure 2 The flowchart of the cloned vehicle detection process of the present invention is shown.

[0033] Figure 3 A flow chart of the highway toll collection process based on blockchain and zero-knowledge proof of the present invention is shown. DETAILED DESCRIPTION

[0034] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0035] It should be clear that the described embodiments are only part of the embodiments of the present invention, rather than all 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.

[0036] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0037] Embodiment 1

[0038] Figure 1 The system framework diagram of the highway free-flow precise mileage charging method based on blockchain and zero-knowledge proof of the present invention is shown.

[0039] In the overall architecture model, the video surveillance node first performs a fake license plate detection, and then performs off-chain detection in the national license plate detection database, the regional license plate detection database, and the spatiotemporal contradiction detection database. When all the detections are passed, the expressway zero-knowledge proof charging stage is entered. Otherwise, an abnormal warning is issued and the abnormal information is stored on the chain. In the zero-knowledge proof charging stage of the expressway, the video surveillance node for the vehicle user node is responsible for sending the vehicle inbound and outbound information S in and S out, vehicle type Ty, and can be used as ICP and send the location certificate (LC) in the middle of the road; for the blockchain platform, the video surveillance node also sends the vehicle encrypted certificate (ELC), S in and S out And personal identification is uploaded to the blockchain for storage.

[0040] When the vehicle user node enters the highway, it receives information from the video surveillance node and calls the smart contract to initiate a prepayment to send it the amount F'. When exiting the station, it receives information from the video surveillance node and integrates the payment-related information received on the way, combined with the inbound and outbound information and the information network trusted third-party information collection point (ICP) on the road. At the same time, it queries its own certificate on the chain and the corresponding hashed encrypted information as the private input and public input of the zero-knowledge circuit, and finally obtains the payment zero-knowledge proof π and the fee F and stores them on the chain.

[0041] The blockchain platform is responsible for recording plaintext exception information, encrypted location certificates and other encrypted payment information. It uses the traceability and immutability of blockchain and smart contracts to ensure reliable payment and zero-knowledge verification processes.

[0042] Highway toll collection nodes collect fees based on the payment verification results of the blockchain smart contract and conduct audits on toll evasion recorded on the blockchain.

[0043] Embodiment 2

[0044] Figure 2 A flow chart of the process of detecting a cloned vehicle according to the present invention is shown.

[0045] Taking the free-flow toll collection of a certain province's highway as an example, after the video surveillance node detects the vehicle information, it can query the national license plate detection database to prove that the current vehicle's license plate exists. Due to the geographical characteristics of the province, vehicles entering the province have information backups. At this time, it is verified whether it has been registered in the provincial regional database. If it fails, it proves that it is a fake license plate vehicle. If it passes but there is a time-space contradiction at the same time or soon, that is, the same license plate appears at a distance, it proves that it is a fake license plate vehicle.

[0046] Embodiment 3

[0047] Figure 3 A flow chart of the process of collecting highway fees by mileage based on blockchain and zero-knowledge proof according to the present invention is shown.

[0048] like Figure 3As shown in the figure, in the general framework of zero-knowledge proof, three roles are usually included: prover, verifier, and witness, to assist in completing the proof process of privacy protection. The key parameters of zero-knowledge proof are divided into two modes: built-in circuit and external input. In this charging method, the privacy-protected highway is accurately charged according to the mileage through the design of built-in key data related to the proof and special circuit algorithms. Due to the initiative of the monitoring function of the video surveillance node, the prover does not need to actively apply to the witness for the parameters required to generate the proof like the prover in the traditional zero-knowledge proof interaction mechanism. As a witness, the video node sends the corresponding payment information to the vehicle user node when it monitors the vehicle user node entering the highway entrance. At the same time, the video surveillance node in the middle of the road can also be used as an ICP to transmit the charging verification parameters and store them on the chain. Since the circuit parameters are built-in, there is no need for the verifier to communicate with the prover to send constraints. After the prover collects the parameters from the witness and the blockchain, it directly constructs the payment proof and uploads it to the blockchain. The verifier calls the smart contract to perform zero-knowledge charging verification. In this process, a total of two interactions are reduced, and efficiency is also improved.

[0049] The zero-knowledge payment proof protocol process consists of two parts, namely, the collection parameter prepayment and the fee verification protocol. Among them, the collection parameter prepayment protocol is mainly used to specify how the vehicle interacts with the video surveillance node, enters the highway to request the issuance of LC, and stipulates that the video surveillance node uploads the corresponding information; the fee verification protocol is mainly used to specify how the vehicle generates the zero-knowledge proof of the payable fee F and how the highway toll node verifies the legitimacy of the fee. In the collection parameter prepayment stage, the video surveillance node sends the entry information and vehicle model information to it after monitoring the vehicle. On the road, the vehicle requests the ICP video surveillance node to issue LC. After receiving the request, the video surveillance node verifies the validity of the request and returns the LC parameters if the verification is passed; at the same time, the video surveillance node combines the information contained in the user request, generates ELC and broadcasts the fingerprint to the entire blockchain network, waiting for other video surveillance nodes in the network to save the fingerprint. After receiving the LC parameters returned by the video surveillance node, the vehicle generates LC and saves it locally for use when requesting payment. In the fee verification stage, the vehicle uses the locally saved LC and the information on the chain to generate a zero-knowledge proof of the payable fee. Then, the zero-knowledge proof of the payable fee F is sent to the video surveillance node via remote communication to request payment. After receiving the zero-knowledge proof of the payable fee F, the highway toll node calls the smart contract to verify the validity of the zero-knowledge proof of the payable fee F, and returns the verification result if the verification is successful; at the same time, the highway toll node generates the payment fee or refund fee F-F' and requests to save the service record to the blockchain network.

[0050] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A free-flow accurate mileage charging method for highways based on blockchain and zero-knowledge proof, characterized in that: Mileage charges include: Highway toll node V: the collector of highway fees, and also acts as a verifier in the zero-knowledge proof framework, charging fees by verifying fee proofs; Highway vehicle user node P: the payer of highway fees and the prover in the zero-knowledge proof framework. It constructs a zero-knowledge proof of the payable fees by obtaining the parameters of the payable fees. Highway video surveillance node W: It is the collector of highway fee parameters and also acts as a witness in the zero-knowledge proof framework. It obtains the parameters for generating the fee zero-knowledge proof through video surveillance and also acts as a trusted third party on the road to provide accurate mileage charging parameters. The mileage charging methods include the following: The process of detecting fake license plates: The video surveillance node W monitors every vehicle entering the highway in real time and collects the vehicle’s license plate information; 1) Match the collected license plate information with the legal license plate information pre-stored on the blockchain to identify potential fake license plate vehicles; 2) For each vehicle, the video surveillance node W generates a zero-knowledge proof based on the license plate information to prove that the vehicle is a legal vehicle without revealing the specific information of the license plate; 3) The video surveillance node W submits the zero-knowledge proof to the blockchain network, which is verified by the highway toll node V; The process of collecting highway fees based on zero-knowledge proof and blockchain: 1) Construct a zero-knowledge proof circuit for accurate charging based on mileage. To achieve privacy protection using zero-knowledge proof and charge based on mileage, V must construct a zero-knowledge proof circuit based on the route planning of the highway before the free flow of the highway is running. 2) Sending fee parameter information; In the free flow mode of the highway, W monitors P entering and leaving the highway and sends it the entry and exit information and vehicle type information S in ,S out ,Ty; Except for the entrance and exit, during the vehicle driving process, W sends the mileage charging information N,LC[N] to realize the charging according to the mileage; 3) Record parameter cost information; W sends the cost parameter information while W records this information ELC[N],H in ,H out ,H N After hash encryption, upload to the blockchain for storage and record; 4) Prepayment: Based on the entry information, the vehicle needs to transfer a fee F' to the blockchain smart contract as the highway mortgage fee; 5) Generate a zero-knowledge proof of the payable fee; P generates a zero-knowledge proof of the payable fee based on the collected payment parameters and calculates the payable fee F at the same time; 6) Call the blockchain smart contract to verify the fee proof and then make payment and refund; V calls the blockchain smart contract to verify the zero-knowledge proof of the payable fees provided by P. If the verification is passed, the corresponding fees will be charged and refunded, otherwise the prepayment fee will be charged.

2. The highway free-flow accurate mileage charging method based on blockchain and zero-knowledge proof according to claim 1 is characterized by: In step 3) of the fake license plate detection process, the license plate information collected is S1, and the circuit private input is S1. The circuit does not contain output, but only verification information, whether it is a legal vehicle.

3. The highway free-flow accurate mileage charging method based on blockchain and zero-knowledge proof according to claim 1 is characterized by: In the process of highway toll collection based on zero-knowledge proof and blockchain 1), the zero-knowledge proof circuit for accurate charging based on mileage first needs to verify the payment information ELC[N] stored on the chain, H in ,H out ,H N Local information S stored with P in ,S out ,N,LC[N],PubKey P ,Ty is used as the public input and private input of the circuit, and the fee payable by P and the verification result are used as outputs; first, the consistency of the information on the chain and the local information should be verified, and then the toll rate of the corresponding distance of the highway for the vehicle of this model is calculated through Ty; the mileage refers to the mileage of the vehicle from the entrance to the exit; the mileage is calculated through the payment information N provided by the W on the road, that is, the number of W on the road; by abstracting all the stations into numerical values, each of which is both an entrance and an exit, by setting up a Dis[] array in the circuit, which stores the product of the multiplication of two numerical values, representing different routes, assuming that there are m routes, it is obvious that the length of the Dis array is also m; by multiplying the numerical values ​​of the entrance and exit of the P circuit input parameters and matching them in the Dis[] array, matching the i-th route, there may be m roads in the matching routes, and each road has a different number of W; the N-th road in the i-matched routes is determined by the distance[][] two-dimensional array set in the circuit, and the value of the two-dimensional array represents the mileage.

4. The highway free-flow accurate mileage charging method based on blockchain and zero-knowledge proof according to claim 1 is characterized by: The inbound and outbound information S described in the highway toll collection process 2) based on zero-knowledge proof and blockchain in ,S out It abstracts different toll booths into numerical values; the Ty is divided into four types, and the first-class passenger car Ty1, the second-class passenger car Ty2, the third-class passenger car Ty3, and the fourth-class passenger car Ty4 are matched according to the monitoring and processing of W; the N, LC[N] is the number of W on the way of P, and the array of certificates sent to it by W on the way; the structure of the certificate is: PubKey s ,PC p ,Ty, where PubKey s is P's public key, PC p are the latitude and longitude coordinates of W to which the information is sent.

5. The free-flow accurate mileage charging method for highways based on blockchain and zero-knowledge proof according to claim 1 is characterized by: In the highway toll collection process 3) based on zero-knowledge proof and blockchain, the structure of the hash-encrypted certificate ELC[N] is ELC= <PubKey P ,Hash(LC)>,H in ,H out ,H N S in ,S out ,N’s hash value is hashed and encrypted using the Poseidon hash algorithm.

6. The highway free-flow accurate mileage charging method based on blockchain and zero-knowledge proof according to claim 1 is characterized by: In the highway toll collection process 4) based on zero-knowledge proof and blockchain, F' refers to the parameter of the prepayment smart contract that is called after the entry information is hashed and encrypted, and the prepayment fee for the average driving distance is paid.

7. The highway free-flow accurate mileage charging method based on blockchain and zero-knowledge proof according to claim 1 is characterized by: In the highway toll collection process based on zero-knowledge proof and blockchain 5), P uses the collected locally stored fee information as the private input of the zero-knowledge proof circuit, interacts with the blockchain, retrieves it according to P's public key, and retrieves the hashed confidential information stored on the blockchain as the public input of the circuit, and finally generates a zero-knowledge proof, and calculates the payable fee public output F, and uploads the zero-knowledge proof and F to the blockchain.

8. The highway free-flow accurate mileage charging method based on blockchain and zero-knowledge proof according to claim 1 is characterized by: In the highway toll collection process based on zero-knowledge proof and blockchain 6), V calls the blockchain verification contract to verify the proof generated by P. After the verification is passed, F's fee is collected and the fee of F'-F is refunded.

Citation Information

Patent Citations

  • Communication network node, method, and mobile terminal

    CN113330473A

  • Block chain data privacy protection and sharing method based on zero knowledge proof

    CN114143080A

Cited By

  • WebRTC-based vehicle-mounted video stream secure transmission management method

    CN120434052A

  • Secure transmission management method of in-vehicle video stream based on WebRTC

    CN120434052B