Traffic data sharing method and device, nonvolatile storage medium and electronic equipment
Through blockchain network and public key encryption algorithm, data sharing problems among vehicles of different automobile manufacturers are solved, traffic data security sharing and identity privacy protection across operators are realized, and data security and privacy protection of 5G vehicle networking is improved.
Patent Information
- Application Number
- CN202411081891.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-08-07
AI Technical Summary
Because the connected vehicles of different car manufacturers are built with different operator eSIM cards, they cannot directly communicate and share the collected traffic data, which poses data security risks and identity privacy protection problems.
Using the public key encryption and signature algorithm between edge computing nodes and authoritative trusted nodes in the blockchain network, an alliance blockchain network is established through the automotive manufacturer's authentication service node and the operator's authentication service node to realize the legality of vehicle unique identification Authentication and data sharing securely, protect vehicle identity privacy with pseudonyms, and expose malicious vehicles through privacy-tracking technology.
It realizes cross-operators' security sharing of traffic data, protects the identity privacy of vehicles, reduces the risk of assisted driving data security and privacy leakage, and improves data security and identity protection among connected vehicles.
Smart Images

Figure CN119071783A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle networking, and specifically, to a traffic data sharing method, device, non-volatile storage medium and electronic device. Background Art
[0002] In the assisted driving and intelligent driving technologies in the related technologies, vehicles usually collect surrounding road information through sensors such as laser radar or cameras installed in the vehicle, and the collected road information can be transmitted through the car dealer's server communication. The problem in sharing traffic data in the related technologies is that the networked vehicles of different automobile manufacturers have different operator eSIM cards built in, and networked vehicles with different operator eSIM cards cannot communicate directly to share the collected data securely, resulting in the related technologies being unable to integrate and share the road information collected by each vehicle in the area without ensuring the security of vehicle data.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a traffic data sharing method, device, non-volatile storage medium and electronic device to at least solve the technical problem in the related art that networked vehicles corresponding to different operators cannot directly transmit data, resulting in the inability to integrate and share road information corresponding to different operators in the region.
[0005] According to one aspect of an embodiment of the present application, a traffic data sharing method is provided, including: a first edge computing node in a blockchain network sends an edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtains a verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; after the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the first edge computing node obtains traffic sharing data in the blockchain network, wherein the traffic sharing data includes traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; the first edge computing node broadcasts the traffic sharing data through the base station where the first edge computing node is located.
[0006] Optionally, the method also includes: obtaining signature data sent by the connected vehicle, wherein the signature data is obtained after the connected vehicle signs the vehicle data based on the vehicle private key of the connected vehicle; the first edge computing node authenticates the signature data based on the vehicle public key of the connected vehicle; after the authentication is passed, uploading the vehicle data to the blockchain network, thereby updating the traffic sharing data.
[0007] Optionally, the vehicle data also includes timestamp information; uploading the vehicle data to the blockchain network to update the traffic sharing data includes: determining whether there is historical vehicle data uploaded by connected vehicles in the traffic sharing data; when it is determined that there is historical vehicle data uploaded by connected vehicles, updating the historical vehicle data in the traffic sharing data according to the timestamp information.
[0008] Optionally, the first edge computing node broadcasts traffic shared data through the base station where the first edge computing node is located, including: after obtaining the traffic shared data, signing the traffic shared data through the base station private key of the base station to obtain broadcast data, wherein the broadcast data includes plain text of the traffic shared data, the public key certificate of the base station, the signature of the plain text, and a broadcast timestamp; broadcasting the broadcast data through the base station within the coverage range of the base station.
[0009] Optionally, the traffic sharing data also includes: determining abnormal networked vehicles, wherein the abnormal networked vehicle is a vehicle that sends traffic sharing data acquisition requests to the first edge computing node at a frequency higher than a preset frequency, or the shared vehicle data is problematic data, and the problematic data includes false data; sending the vehicle pseudonym identification of the abnormal networked vehicle to an authoritative trusted node, wherein the authoritative trusted node is used to determine the real vehicle information of the abnormal networked vehicle based on the identification information, and add the real vehicle information to a malicious vehicle list corresponding to the blockchain network, and the vehicle pseudonym identification is the identification information of the abnormal networked vehicle in the blockchain network generated by the authoritative trusted node during the authentication process of the abnormal networked vehicle based on the real vehicle information of the abnormal networked vehicle.
[0010] Optionally, the traffic data sharing method further includes: obtaining a request authentication parameter sent by the networked vehicle, wherein the request authentication parameter includes vehicle identification information of the networked vehicle, identification information of a pre-installed operator communication card, operator information and vehicle manufacturer information; the first edge computing node encrypts the request authentication parameter by using a system public key to obtain an encrypted authentication parameter; sending the encrypted authentication parameter to an authoritative trusted node, wherein the authoritative trusted node is used to decrypt the encrypted authentication parameter according to a private key of the authoritative trusted node to obtain the request authentication parameter, and calling the operator authentication service node to authenticate the request authentication parameter; after the authentication is passed and the networked vehicle obtains the vehicle pseudonym representation generated by the authoritative trusted node, the first edge computing node The computing node obtains the vehicle authentication data generated by the networked vehicle based on the vehicle pseudonym and the vehicle private key, and signs the vehicle authentication data based on the base station private key of the base station to obtain signature authentication data, wherein the vehicle authentication data includes the vehicle pseudonym of the networked vehicle, the vehicle public key certificate generated by the networked vehicle based on the vehicle pseudonym and the vehicle private key, and the vehicle public key generated by the networked vehicle based on the vehicle private key and the global parameters broadcast by the authoritative trusted node; sends the signature authentication data to the authoritative trusted node, wherein the authoritative trusted node is used to verify the security status of the networked vehicle based on the signature authentication data, and saves the vehicle authentication data of the networked vehicle to the ledger of the blockchain network after confirming that the security status is safe.
[0011] Optionally, the vehicle pseudonym identification includes a first pseudonym parameter, a second pseudonym parameter and a third pseudonym parameter, wherein the first pseudonym parameter is calculated by the authoritative trusted node based on a random number and a system secret key of the blockchain network, the second pseudonym parameter is calculated by the authoritative trusted node based on the vehicle identification information of the networked vehicle, the vehicle manufacturer information, the pre-installed operator communication card identification information and the operator information, and the third pseudonym parameter is calculated by the authoritative trusted node based on the first pseudonym parameter, the second pseudonym parameter, the system secret key and the system public key of the blockchain network.
[0012] According to another aspect of the embodiment of the present application, a traffic data sharing system is also provided, including: an authoritative trusted node, multiple edge computing nodes, an automobile manufacturer authentication service node, and a networked vehicle, wherein the authoritative trusted node is used to call the automobile manufacturer authentication service node to authenticate the networked vehicle when authenticating the networked vehicle, and calculate the vehicle pseudonym identification of the networked vehicle; a first edge computing node among the multiple edge computing nodes is used to send the edge computing node public key of the first edge computing node to the authoritative trusted node in the blockchain network, and obtain a verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any one of the multiple edge computing nodes A computing node, an edge computing node in a blockchain network corresponds to multiple operators; after verifying the verification certificate and the verification result is that the verification is passed, traffic sharing data in the blockchain network is obtained, wherein the traffic sharing data includes traffic data uploaded to the blockchain network by a second edge computing node among multiple edge computing nodes, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; the traffic sharing data is broadcast through the base station where the first edge computing node is located; after receiving the traffic sharing data, the networked vehicle verifies whether the signature of the traffic sharing data is valid; after verifying that the signature of the traffic sharing data is valid, the traffic condition is determined based on the traffic sharing data.
[0013] According to another aspect of an embodiment of the present application, a traffic data sharing device is also provided, which is applicable to a first edge computing node in a blockchain network, and includes: a first processing module, which is used to send the edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtain a verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; a second processing module, which is used to verify the verification certificate, and after the verification result is the verification passed, obtain the traffic sharing data in the blockchain network, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; a third processing module, which is used to broadcast the traffic sharing data through the base station where the first edge computing node is located.
[0014] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, in which a program is stored, wherein when the program is running, a device where the non-volatile storage medium is located is controlled to execute a traffic data sharing method.
[0015] According to another aspect of an embodiment of the present application, there is further provided an electronic device, including: a memory and a processor, wherein the processor is configured to run a program stored in the memory, wherein the traffic data sharing method is executed when the program is run.
[0016] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a computer program, and the computer program implements the traffic data sharing method when executed by a processor.
[0017] In an embodiment of the present application, a first edge computing node in a blockchain network is used to send an edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtain a verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; after the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the traffic sharing data in the blockchain network is obtained, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is the same as the operator corresponding to the first edge computing node. The operators of the first edge computing node are different; the first edge computing node broadcasts the traffic sharing data through the base station where the first edge computing node is located, and authenticates the edge computing nodes in the base stations of each operator by using an authoritative trusted node, and allows the edge computing nodes to obtain and broadcast the traffic sharing data after the authentication is passed, thereby achieving the purpose of integrating the traffic data uploaded by different edge computing nodes to obtain traffic sharing data, and sharing the traffic sharing data between edge computing nodes of different manufacturers, thereby realizing the technical effect of cross-operator traffic data integration and sharing, and further solving the technical problem in the related technology that the networked vehicles corresponding to different operators cannot directly transmit data, resulting in the inability to integrate and share the road information corresponding to different operators in the region. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 It is a structural schematic diagram of a traffic data sharing system provided according to an embodiment of the present application;
[0020] Figure 2 is a schematic diagram of an interaction process of a traffic data sharing system provided according to an embodiment of the present application;
[0021] Figure 3It is a flow chart of a traffic data sharing method provided according to an embodiment of the present application;
[0022] Figure 4 It is a schematic diagram of a blockchain network initialization process provided according to an embodiment of the present application;
[0023] Figure 5 is a schematic diagram of a base station authentication process provided according to an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of a networked vehicle authentication process provided according to an embodiment of the present application;
[0025] Figure 7 is a schematic diagram of a traffic data sharing process of a networked vehicle provided according to an embodiment of the present application;
[0026] Figure 8 is a schematic diagram of a shared traffic data verification process provided according to an embodiment of the present application;
[0027] Fig. 9 It is a schematic diagram of an abnormal vehicle identification and processing process provided according to an embodiment of the present application;
[0028] Fig.10 It is a structural schematic diagram of a traffic data sharing device provided according to an embodiment of the present application;
[0029] Fig.11 It is a structural schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] In order to better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained as follows:
[0033] 5G Internet of Vehicles: Internet of Vehicles based on the fifth generation of mobile communication technology, refers to the real-time connection and data exchange between vehicles and infrastructure, other vehicles, pedestrians, and the Internet through the 5G network, thereby improving traffic efficiency and safety.
[0034] Blockchain: Blockchain is a decentralized distributed ledger technology that records and verifies data through encryption algorithms and consensus mechanisms to ensure data transparency, immutability and traceability.
[0035] At present, in the field of 5G Internet of Vehicles, the mainstream assisted driving and intelligent driving technologies in related technologies are to collect traffic information such as pedestrians and vehicles around the vehicle through sensors such as laser radar or cameras carried by the vehicle, and use data processing and analysis for vehicle intelligent driving decision-making, or realize scheduling intelligent driving through communication transmission and remote control of car dealer servers. This method has the disadvantages of high computing overhead and high latency, and is not suitable for large-scale networked vehicles to access the 5G network in the future. In addition, the networked vehicles of different automobile manufacturers each have built-in eSIM cards of different operators, and the network services of different operators in the same coverage area are continuous, complete and homogeneous. The waste of power consumption of the vehicle's own computing power and the inefficient use of network base stations of different operators make it difficult to achieve the goals of carbon peak and carbon neutrality. In addition, the assisted driving method implemented by networked vehicles in related technologies by receiving traffic information and even remote control and other command information sent by the central server of the vehicle manufacturer has the characteristics of heavy communication burden and low efficiency. There is also a safety hazard that the networked vehicles cannot transmit important traffic information in real time due to the downtime of the central server of the automobile manufacturer, which leads to real-time communication and traffic between vehicles.
[0036] In order to allow connected vehicles to obtain road information in a certain area, connected vehicles in related technologies can receive traffic information such as road accidents and congestion prompted by map manufacturers such as AutoNavi and Baidu to realize intelligent driving decisions of connected vehicles. And when 5G connected vehicles of different operators' networks are driving, they can choose to report and share traffic information such as accidents and congestion on the way with other vehicles passing by to avoid them from encountering the same accidents, firefighting, bad weather and other road congestion. However, it is difficult for connected vehicles of different operators to communicate directly, and even if traffic data is shared, there will be dual security risks of data security and identity privacy. In other words, the related technology cannot protect the secure sharing of data of 5G connected vehicles across operator networks, nor can it protect the identity privacy and data legitimacy of vehicles between different automobile manufacturers. These security factors are crucial for the secure sharing of data and identity privacy protection of connected vehicles of different automobile manufacturers across operator networks.
[0037] In order to solve the above problems, a method for sharing traffic data based on blockchain in 5G vehicle networking is provided in the embodiment of the present application to realize the identity authentication and traffic data sharing of networked vehicles of different automobile manufacturers in different operator networks, protect the safe sharing of traffic data of networked vehicles, enhance the identity privacy protection of networked vehicles, and reduce the risk of data security and privacy leakage of assisted driving of networked vehicles. The alliance blockchain network is established by using the automobile manufacturer authentication service node and the operator authentication service node to complete the legal authentication of the vehicle unique identification and the vehicle eSIM card and record them in the blockchain, wherein the automobile manufacturer authentication service node is responsible for the legal authentication of the vehicle unique identification by the automobile manufacturer, and the operator authentication service node is responsible for the legal authentication of the eSIM card in the networked vehicle and the subsequent data security transmission communication process. The traffic data security sharing and data legitimacy are realized through the public key encryption and signature algorithm of the vehicle and the base station, and the pseudonym is used to protect the vehicle identity privacy of the 5G networked vehicle. The true identity of the vehicle is revealed through the privacy traceability technology, and the vehicle is added to the blacklist, and the subsequent traffic data sharing cannot be carried out. The scheme can realize the safe sharing of traffic data of 5G networked vehicles across automobile manufacturers in different operator networks, and protect the identity privacy of the vehicle, and provide effective traffic data security sharing services for the intelligent driving of networked vehicles. The method provided in this application is described in detail below.
[0038] According to an embodiment of the present application, a method embodiment of a traffic data sharing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0039] The traffic data sharing method provided by this application can be used in Figure 1 The traffic data sharing system shown is implemented. Figure 1 This is a schematic diagram of the traffic data sharing system. Figure 1 As can be seen from the figure, the system includes: authoritative trusted nodes, multiple edge computing nodes, automobile manufacturer certification service nodes, and connected vehicles.
[0040] The authoritative trusted node is used to call the automobile manufacturer authentication service node to authenticate the networked vehicle when authenticating the networked vehicle, and calculate the vehicle pseudonym identification of the networked vehicle;
[0041] The first edge computing node among the multiple edge computing nodes is used to send the edge computing node public key of the first edge computing node to the authoritative trusted node in the blockchain network, and obtain the verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any one of the multiple edge computing nodes, and the edge computing nodes in the blockchain network correspond to multiple operators; after verifying the verification certificate and the verification result is that the verification is passed, the traffic sharing data in the blockchain network is obtained, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node among the multiple edge computing nodes, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; the traffic sharing data is broadcasted through the base station where the first edge computing node is located; after receiving the traffic sharing data, the networked vehicle verifies whether the signature of the traffic sharing data is valid; after verifying that the signature of the traffic sharing data is valid, the traffic condition is determined according to the traffic sharing data.
[0042] from Figure 1 It can be seen that the above traffic data sharing system also includes multiple operator authentication service locations, and the number of automobile manufacturer authentication service locations is also multiple. In addition, each edge computing node is set in the operator base station.
[0043] Specifically, with the large-scale, continuous, and high-quality coverage of 5G base stations, 5G networks can provide highly reliable, low-latency services for connected vehicles, and directly provide data communication services for vehicles without relying on external equipment or channels. The MEC edge computing nodes in the 5G base stations in the 5G network have strong computing and storage capabilities, which can realize the collection, analysis, processing, and sharing of traffic data. The embodiment of the present application provides a method for efficiently utilizing the computing, storage and traditional communication capabilities of 5G base stations, and uses the alliance blockchain network to build MEC edge computing operation and maintenance blockchain network nodes of different operator networks, different automobile manufacturers and 5G base stations. Vehicles act as collectors of traffic data, and the MEC edge computing nodes of 5G base stations act as collectors and sharers of data. By designing identity authentication, public key encryption, and signature algorithms, traffic data between networked vehicles of different automobile manufacturers are securely shared with networked vehicles of other manufacturers in different networks, thereby realizing secure sharing of traffic data between networked vehicles of different networks and different manufacturers, avoiding the waste of computing power of networked vehicles, saving energy consumption of networked vehicles, and efficiently utilizing the surplus value of base stations. It also provides certain traffic data assistance for assisted driving on the road for low-end networked vehicles that do not have data collection sensors such as lidar and cameras.
[0044] In some embodiments of the present application, Figure 1 The interaction process between the various parts in the traffic data sharing system shown in Figure 2 As shown. Figure 2 It can be seen that the interaction process between traffic data sharing systems can be divided into several parts, including base station authentication, vehicle authentication, vehicle data sharing and updating, traffic sharing data synchronization, and malicious vehicle processing. In addition, it should be noted that the connected vehicle is responsible for the generation of vehicle safety parameters, data security processing, and data security sharing and transmission through the vehicle safety communication module, and realizes secure communication with the MEC edge computing node on the 5G base station side through the 5G new air interface.
[0045] Among them, in the base station authentication part, the edge computing node in the 5G base station will submit authentication information to the authoritative trusted node. The authoritative trusted node will then call the operator authentication service node to authenticate the authentication information submitted by the base station, and return the digital certificate to the base station after the authentication is passed.
[0046] In the vehicle authentication part, the connected vehicle will submit the vehicle authentication information to the edge computing node in the corresponding base station, and then the edge computing node will send the vehicle authentication information to the authoritative trusted node. The authoritative trusted node will call the operator authentication service node to authenticate the legitimacy of the sSIM in the vehicle authentication information, and call the automobile manufacturer authentication service node to authenticate the legitimacy of the vehicle. And after determining that both the vehicle and the vehicle's eSIM are not on the blacklist, the vehicle pseudonym is sent to the connected vehicle through the edge computing node. The connected vehicle will then generate a public-private key pair and a pseudonym public key certificate request information, and send the encrypted public key certificate request information to the edge computing node. The edge computing node will then send the signed request information to the authoritative trusted node after signing the request information. The authoritative trusted node will then verify the base station signature, vehicle signature and pseudonym, and after successful verification, the relevant information will be recorded in the blockchain through the edge computing node.
[0047] In the vehicle data sharing and more detailed part, when vehicle A and vehicle B want to share the traffic information they have collected, they will sign the traffic information they have collected and send the signed traffic information to the edge computing node to request to share the traffic information. After verifying the validity of the signature, the edge computing node will format the traffic information according to the preset processing method and apply to the authoritative trusted node to synchronize the traffic information to the blockchain. If the signature verification fails, the traffic information will be discarded directly.
[0048] In addition, after receiving the traffic information and applying for synchronization, the edge computing node will also determine whether there is traffic information previously uploaded by the vehicle, and update the traffic information in a timely manner, including updating the affected location, time, etc.
[0049] When a connected vehicle receives the traffic sharing information broadcast by the edge computing node through the base station, the connected vehicle will first verify the base station signature in the traffic sharing information, and then receive the traffic sharing information after the verification is passed.
[0050] In the malicious vehicle processing step, if a vehicle sends requests to the edge computing node in the base station too frequently or sends malicious false information, it will be identified as a malicious vehicle. The edge computing node in the base station will then send the malicious vehicle's pseudonym to the authoritative trusted node, which will determine the true identity of the malicious vehicle based on the pseudonym, revoke the malicious vehicle's permissions, and reveal the malicious vehicle's identity.
[0051] In the above operating environment, the present application embodiment provides a traffic data sharing method, such as Figure 3 As shown, the method comprises the following steps:
[0052] Step S302: the first edge computing node in the blockchain network sends the edge computing node public key of the first edge computing node to the authoritative trusted node in the blockchain network, and obtains a verification certificate generated by the authoritative trusted node according to the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators;
[0053] In some embodiments of the present application, the initialization process of the blockchain network is as follows: Figure 4 As shown, the following steps are included:
[0054] Step S402, the authoritative trusted node selects security parameters, two cyclic groups, and two secure one-way hash functions;
[0055] Step S404, select a random number as the system master key and calculate the system public key;
[0056] Step S406: The authoritative trusted node publishes global parameters, which include the system public key and generators of the cyclic group, while keeping the system master key confidential.
[0057] As an optional implementation, the authoritative trusted node will select a security parameter k, two cyclic groups G1 and G2, two secure one-way hash functions H1 and H2, and then select a random number s as the system master key to calculate the system public key PK sys =sP. Then the global parameter GP is made public and the system master key s is kept secret. The global parameter includes the system public key PK sys And generator P, the cyclic group G1 is the additive group, G2 is the multiplicative group, q is the order of the two groups, and P is the generator of G1.
[0058] Step S304: After the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the first edge computing node obtains the traffic sharing data in the blockchain network, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node;
[0059] It should be noted that the above-mentioned edge computing node is a MEC edge computing module built into the 5G base station, which has strong local data computing and storage capabilities. As a MEC edge computing node in the blockchain network, this module is responsible for forwarding vehicle authentication request information, processing and transmitting traffic shared data, maintaining blockchain accounting nodes, and broadcasting shared traffic data within the validity period.
[0060] In some embodiments of the present application, the process of authenticating the base station where the first edge computing node is located by the first edge computing node is as follows: Figure 5It should be noted that the actions performed by the base station in the following process can all be completed by the first edge computing node, including the following steps:
[0061] Step S502: The base station selects a random number as its private key, calculates a public key, and provides the base station public key and the base station unique identifier to an authoritative trusted node;
[0062] In the technical solution provided in step S502, the 5G base station selects a random number u as its private key SK g =u, and use the global parameter GP to calculate its public key PK g =uP, 5G base station uses its public key PK g And the base station unique ID g Sent to an authoritative trusted node.
[0063] Step S504: After receiving the base station public key and confirming the legitimacy of the base station through the base station identifier, the authoritative trusted node generates the first parameter of the public key certificate for the base station signature, generates the public key certificate and sends the certificate parameters to the base station;
[0064] In the scheme provided in step S504, after receiving the public key of the 5G base station and confirming the legitimacy of the base station through the base station identifier, the authoritative trusted node uses its private key s to sign the public key of the 5G base station to generate the first parameter S of the base station public key certificate. g =Sig(PK g )=SK V ·H2(PK g ), and then generate the public key certificate Cert of the 5G base station g =(PK g ,S g ,T g ), and the 5G base station public key certificate parameter Cert g Sent to the MEC edge computing node.
[0065] Step S506, the base station verifies whether the public key certificate of the base station is legal, if not, the verification is terminated, if yes, the public key certificate is saved.
[0066] In the technical solution provided in step S506, after receiving the certificate, the base station uses the system public key PK sys Verify the certificate g After decrypting the certificate, check whether the base station public key is correct to prevent tampering after eavesdropping by a third-party attacker. After verifying the legitimacy, save the public key certificate. Otherwise, terminate the contract. g It is the validity period of the public key certificate. The specific validity period is determined according to the actual strategy and can be one month, two months or half a year.
[0067] In some embodiments of the present application, the following method can be used to authenticate the networked vehicle: obtain the requested authentication parameters sent by the networked vehicle, wherein the requested authentication parameters include the vehicle identification information of the networked vehicle, the identification information of the pre-installed operator communication card, the operator information and the vehicle manufacturer information; the first edge computing node encrypts the requested authentication parameters by using the system public key to obtain the encrypted authentication parameters; sends the encrypted authentication parameters to the authoritative trusted node, wherein the authoritative trusted node is used to decrypt the encrypted authentication parameters according to the authoritative trusted node private key to obtain the requested authentication parameters, and calls the operator authentication service node to authenticate the requested authentication parameters; after the authentication is passed and the networked vehicle obtains the vehicle pseudonym representation generated by the authoritative trusted node Afterwards, the first edge computing node obtains the vehicle authentication data generated by the networked vehicle based on the vehicle pseudonym and the vehicle private key, and signs the vehicle authentication data based on the base station private key of the base station to obtain signature authentication data, wherein the vehicle authentication data includes the vehicle pseudonym of the networked vehicle, the vehicle public key certificate generated by the networked vehicle based on the vehicle pseudonym and the vehicle private key, and the vehicle public key generated by the networked vehicle based on the vehicle private key and the global parameters broadcast by the authoritative trusted node; sends the signature authentication data to the authoritative trusted node, wherein the authoritative trusted node is used to verify the security status of the networked vehicle based on the signature authentication data, and saves the vehicle authentication data of the networked vehicle to the ledger of the blockchain network after confirming that the security status is safe.
[0068] As an optional implementation, the vehicle pseudonym identification includes a first pseudonym parameter, a second pseudonym parameter and a third pseudonym parameter, wherein the first pseudonym parameter is calculated by an authoritative trusted node based on a random number and a system secret key of the blockchain network, the second pseudonym parameter is calculated by an authoritative trusted node based on the vehicle identification information of the networked vehicle, the vehicle manufacturer information, the pre-installed operator communication card identification information and the operator information, and the third pseudonym parameter is calculated by an authoritative trusted node based on the first pseudonym parameter, the second pseudonym parameter, the system secret key and the system public key of the blockchain network.
[0069] In some embodiments of the present application, the following can also be used: Figure 6 The authentication process shown verifies the connected vehicle. It should be noted that the operations performed by the base station in the following process can be completed by the edge computing node in the base station:
[0070] Step S602: The vehicle sends the vehicle manufacturer, vehicle unique identifier, operator identifier, and eSIM card identifier to the base station, and the base station encrypts the authentication request with the system public key and forwards it to the authoritative trusted node.
[0071] Specifically, a vehicle safety communication module is built into the connected vehicle, which has a certain computing and processing capability. Assume that each connected vehicle V of each automobile manufacturer M has a unique identifier RID when it leaves the factory.V And the eSIM card pre-installed with operator O=PLMN, whose unique identifier is ESIM V =SUCI, which is recorded as the real identity M||RID of vehicle V of manufacturer M V ||O||ESIM V The connected vehicle V of manufacturer M will request the authentication parameter M||RID through the 5G new air interface. V ||O||ESIM V Transmitted to the 5G base station, the MEC edge computing node encrypts the authentication request using the system public key Req = PK sys ·(M||RID V ||O||ESIM V ) is forwarded directly to the authoritative trusted node;
[0072] Step S604, after the authoritative trusted node confirms the legal identity of the vehicle and the eSIM, it calculates a pseudonym for the vehicle and transmits it to the vehicle as a response;
[0073] In the technical solution provided in step S604, the authoritative trusted node receives the request information M||RID by decrypting it with the private key. V ||O||ESIM V , call the automobile manufacturer authentication service node to perform the automobile manufacturer's unique identification of the vehicle M||RID V The legal authentication will then be called to the operator authentication service node to perform the operator network's unique identification of the vehicle's eSIM O||ESIM V After confirming the legal identity of the eSIM of the car manufacturer M vehicle V in the operator network O, the authoritative trusted node first selects a random number r and calculates the pseudonym first parameter PID for the vehicle through the system master key s. V1 =rP, pseudonym second parameter Pseudonym third parameter Generate a pseudonymous PID for the vehicle V =(PID V1 ,PID V2 ,PID V3 ) and the vehicle pseudonym PID V Transmitted to the networked vehicle V upon authentication response.
[0074] Step S606, the vehicle selects a random number as a private key and calculates the vehicle public key, generates a vehicle pseudonym public key certificate and transmits it to the base station;
[0075] Step S608, the base station uses its private key to sign the vehicle pseudonym public key certificate and transmits it to the authoritative trusted node;
[0076] In the technical solution provided in step S606 and step S608, the networked vehicle V receives a response to the legal authentication and obtains the pseudonym PID V After that, its vehicle security communication module selects a random number a as its private key SK V = a, and use the global parameter GP to calculate its public key PK V = aP, using the vehicle private key SK V The pseudonym PID V Perform digital signature and generate the first parameter S of the vehicle public key certificate V =Sig(PID V )=SK V H2(PID V ), and then generate a pseudonymous PID V Vehicle public key certificate Cert V =(PID V ,S V ,T V ) and the vehicle public key certificate and public key (Cert V ||PK V ) is sent to the 5G base station, and the MEC edge computing node uses the 5G base station private key SK g PID V ||Cert V ||PK V ) to sign and generate S gV =Sig(PID V ||Cert V ||PK V ||ID g )=SK g H2(PID V ||Cert V ||PK V ||ID g ), and (PID V ||Cert v ||PK V ||ID g ||S gV ) is sent to the blockchain network.
[0077] Step S610, the base station verifies the legitimacy of the base station and vehicle signatures, and queries whether the vehicle information exists in the blacklist. If it exists in the blacklist, the vehicle authentication is terminated, otherwise, the process continues to step S612;
[0078] In step S612, the authoritative trusted node saves the vehicle pseudonym, real identity and related public key certificates in the blockchain account book.
[0079] In the technical solution provided in step S610 and step S612, the authoritative trusted node receives the certificate through the base station public key PK g Verify the certificate Ver(PID V ||Cert V ||PK V ||ID g , S gV )=True is it legal? If it is legal, further verify the vehicle public key certificate Cert V , by verifying Ver(PID V , S V )=True and whether T V Whether it is within the validity period, the vehicle pseudonym and the vehicle public key are compared to prevent tampering by third-party attackers after eavesdropping. Secondly, the authoritative trusted node checks and compares whether the vehicle information exists in the blockchain malicious vehicle blacklist account book. If it exists, the vehicle contract is terminated. After verification of legitimacy, the vehicle pseudonym, public key, certificate and other authentication parameters are combined into a tuple (RID V ||H1(M||O||ESIM V )||PID V ||PK V ||Cert V ) is saved in the ledger of the blockchain network. V It is the validity period of the public key certificate. The specific validity period is determined according to the actual strategy and can be one month, two months or half a year.
[0080] In some embodiments of the present application, there is also provided a Figure 7 The traffic data sharing process of connected vehicles is shown in Figure 1. Figure 7 As shown, the process includes the following steps:
[0081] Step S702, acquiring signature data sent by the networked vehicle, wherein the signature data is obtained after the networked vehicle signs the vehicle data according to the vehicle private key of the networked vehicle;
[0082] Step S704, the first edge computing node authenticates the signature data according to the vehicle public key of the networked vehicle;
[0083] Step S706, after the authentication is passed, the vehicle data is uploaded to the blockchain network, thereby updating the traffic sharing data.
[0084] Specifically, when a vehicle V is traveling within the coverage of a certain base station and wants to share traffic information m, it uses the private key SK V Sign the traffic sharing message m and calculate Sig(m)=SK VH2(m||T1), where T1 represents the first timestamp of the message. Then the vehicle V will (PID V ,m,Sig(m),T1) is sent to the MEC edge computing node in the 5G base station. The base station uses the vehicle public key to verify the signature. If the verification is valid, the shared traffic data is analyzed and processed according to the specified format as FM(m) and uploaded to the blockchain network to request synchronization data. The data contains the location and time of the traffic information. If the signature is invalid, the message m is discarded.
[0085] In some embodiments of the present application, the step of uploading vehicle data to the blockchain network to update the traffic sharing data also includes: determining whether there is historical vehicle data uploaded by the connected vehicle in the traffic sharing data; and when it is determined that there is historical vehicle data uploaded by the connected vehicle, updating the historical vehicle data in the traffic sharing data based on the timestamp information.
[0086] Specifically, when vehicle V2 is traveling within the coverage of a certain base station and wants to share traffic information m2, it uses the private key SK V2 Sign the traffic sharing message m2 and calculate Sig(m2)=SK V2 ·H2(m2||T2), where T2 represents the second timestamp of the message. Then the vehicle V will (PID V ,m2,Sig(m2),T2) is sent to the MEC edge computing node in the 5G base station. The base station uses the vehicle public key to verify the signature. If the verification is valid, the shared traffic data FM(m2) is analyzed and processed in the specified format. If the data already exists in the blockchain network, that is, FM(m2)=FM(m1), then the blockchain network is requested to update the location range and time T2 of the traffic data affecting the vehicle network, and mark whether the traffic sharing message is valid. If the shared traffic data reports that the traffic situation in the area has returned to normal, the blockchain network is requested to update it to invalid to avoid misleading the connected vehicles passing through here.
[0087] Step S306: The first edge computing node broadcasts the traffic sharing data through the base station where the first edge computing node is located.
[0088] In the technical solution provided in step S306, the step of the first edge computing node broadcasting traffic shared data through the base station where the first edge computing node is located includes: after obtaining the traffic shared data, signing the traffic shared data through the base station private key of the base station to obtain broadcast data, wherein the broadcast data includes the plaintext of the traffic shared data, the public key certificate of the base station, the signature of the plaintext, and the broadcast timestamp; broadcasting the broadcast data through the base station within the coverage range of the base station.
[0089] Specifically, after the base station obtains the traffic sharing data through the first edge computing node, it can generate a traffic sharing message sm locally based on the synchronized valid traffic sharing data in the blockchain network, and send it to the 5G base station through the private key SK g Sign the message sm and calculate Sig(sm)=SK g ·H2(sm∥T s ), and then broadcast periodically within the coverage area of this base station. The information is Mes = (sm, Cert g ,Sig(sm),T s ), 5G base station will Mes = (sm, Cert g ,Sig(sm),T s ) is broadcast to the connected vehicles within the coverage of the base station in the operator's network. The broadcast information includes the shared traffic data plaintext, the base station public key certificate, the signature of the plaintext, and the timestamp T of the base station data broadcast s .
[0090] In some embodiments of the present application, Figure 8 As shown in FIG. 1 , when a connected vehicle receives the shared traffic information broadcast by a base station, the following process is executed to control the motion state of the connected vehicle according to the shared traffic information:
[0091] Step S802, verifying whether the signature in the shared traffic information is valid;
[0092] Step S804, after verification, the traffic conditions around the networked vehicle are determined based on the shared traffic information, and data services are provided for intelligent driving based on the traffic conditions.
[0093] Specifically, when the vehicle V travels within the coverage area of the 5G base station, it will receive the traffic message Mes=(sm,Cert g ,Sig(sm),T s ), vehicle V passes the public key certificate Cert of the base station g =(PK g ,S g ,T g ), first verify the Cert of the 5G base station g Medium T g and T s If the 5G base station public key certificate is valid within the validity period, the 5G base station public key verification equation Ver(Sig(sm), sm) = True is used to confirm whether the signature Sig(sm) of the shared message is legal. If it is illegal, the message sm is discarded. If the verification is legal and valid, the received message sm is used to analyze and process the current traffic situation, providing safe and reliable traffic information sharing for intelligent driving decisions of connected vehicles.
[0094] As an optional implementation, the following Fig. 9 The process shown identifies and handles abnormal connected vehicles, and specifically includes the following steps:
[0095] Step S902, determining an abnormal networked vehicle, wherein the abnormal networked vehicle is a vehicle that sends a traffic shared data acquisition request to the first edge computing node at a frequency higher than a preset frequency, or the shared vehicle data is problematic data, and the problematic data includes false data;
[0096] Step S904, sending the vehicle pseudonym identification of the abnormal networked vehicle to the authoritative trusted node, wherein the authoritative trusted node is used to determine the real vehicle information of the abnormal networked vehicle based on the identification information, and add the real vehicle information to the vehicle malicious list corresponding to the blockchain network. The vehicle pseudonym identification is the identification information of the abnormal networked vehicle in the blockchain network generated by the authoritative trusted node during the authentication process of the abnormal networked vehicle based on the real vehicle information of the abnormal networked vehicle.
[0097] Specifically, in the 5G Internet of Vehicles, when the base station finds that the traffic messages frequently requested by vehicle V contain malicious or false information, the MEC edge computing node of the 5G base station will send the vehicle pseudonym PID V Sent to the authoritative trusted node, the authoritative trusted node receives the PID V After that, calculate Then, the real identity (PID) corresponding to the vehicle V pseudonym V ,RID V ) is added to the malicious vehicle blacklist in the blockchain network.
[0098] The authoritative trusted node maintains a blacklist of malicious vehicles in the alliance blockchain network, including the mapping relationship between vehicle pseudonyms and real identities, to revoke the sharing permissions of malicious vehicles and reveal their real identities.
[0099] The first edge computing node in the blockchain network is used to send the edge computing node public key of the first edge computing node to the authoritative trusted node in the blockchain network, and obtain the verification certificate generated by the authoritative trusted node according to the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; after the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the traffic sharing data in the blockchain network is obtained, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node and the operator corresponding to the first edge computing node Different; the first edge computing node broadcasts traffic sharing data through the base station where the first edge computing node is located, and authenticates the edge computing nodes in each operator's base station by using an authoritative trusted node, and allows the edge computing node to obtain and broadcast traffic sharing data after the authentication is passed, thereby achieving the purpose of integrating traffic data uploaded by different edge computing nodes to obtain traffic sharing data, and sharing the traffic sharing data between edge computing nodes of different manufacturers, thereby achieving the technical effect of cross-operator traffic data integration and sharing, and further solving the technical problem in related technologies that the networked vehicles corresponding to different operators cannot directly transmit data, resulting in the inability to integrate and share road information corresponding to different operators in the region.
[0100] In addition, in order to realize the safe sharing of traffic data of networked vehicles of different automobile manufacturers in different networks, in the traffic data sharing method provided in the embodiment of the present application, by efficiently utilizing the computing, storage and traditional communication capabilities of the base station, with the help of the alliance blockchain network, the MEC edge computing of the network of different operators, different automobile manufacturers and 5G base stations is constructed as the blockchain network node, and the traffic data collected by the vehicle is realized through public key encryption and signature algorithm to realize the safe sharing of networked vehicle data between different networks, avoiding the waste of computing power of networked vehicles, efficiently utilizing the surplus value of base stations, and also providing data support for assisted driving and intelligent driving on the road for low-end networked vehicles that do not have their own data collection. In addition, in the embodiment of the present application, the identity authentication, data security communication and privacy protection of networked vehicles of different automobile manufacturers in the network of different operators are realized through the alliance blockchain and data security algorithm, which reduces the risk of data and identity privacy leakage in the communication process between vehicles of different automobile manufacturers, and protects the identity privacy and data security in the vehicle communication process.
[0101] In order to achieve identity authentication and data security communication between networked vehicles of different automobile manufacturers, the embodiment of the present application uses the automobile manufacturer authentication service node as a node in the alliance blockchain network to achieve identity authentication between networked vehicles of different automobile manufacturers and the blockchain network, and generates pseudonyms and public-private key pairs for data security communication for authenticated legal and valid networked vehicles, which are used for real-time data security communication during vehicle driving, and realize the real-time traffic information security sharing of vehicles traveling in the same coverage area in the 5G vehicle networking scenario, which greatly reduces the risk of data and identity privacy leakage of networked vehicles during data security communication, and protects data security and identity privacy during vehicle communication.
[0102] In order to realize the conditional traceability technology of networked vehicles of different automobile manufacturers in different networks, the embodiments of the present application realize the legal authentication of vehicle shared information by designing corresponding public key certificates and signature technologies to ensure the legitimacy of shared information. If a malicious vehicle is found to spread forged information, the blockchain network will reveal the true identity of the vehicle through the 5G base station and revoke the relevant permissions of the vehicle, thereby limiting its participation in subsequent 5G vehicle network security communications.
[0103] In summary, the traffic data sharing method provided in the embodiment of the present application realizes the secure data sharing and identity privacy protection of networked vehicles of different automobile manufacturers in networks of different operators, and improves the utilization value of 5G base stations. It also reduces the energy consumption of networked vehicles in processing data, has high practical value, can achieve cost reduction and efficiency improvement, and has strong scalability. It is easy to be deployed on a large scale in assisted driving, intelligent driving and unmanned driving scenarios of 5G vehicle networking.
[0104] The embodiment of the present application provides a traffic data sharing device, Fig.10 is a schematic diagram of the structure of the device. Fig.10 It can be seen that the device includes: a first processing module 100, which is used to send the edge computing node public key of the first edge computing node to the authoritative trusted node in the blockchain network, and obtain the verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; a second processing module 102, which is used to verify the verification certificate, and after the verification result is the verification passed, obtain the traffic sharing data in the blockchain network, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; a third processing module 104, which is used to broadcast the traffic sharing data through the base station where the first edge computing node is located.
[0105] In some embodiments of the present application, the traffic data sharing device is also used to: obtain signature data sent by the networked vehicle, wherein the signature data is obtained after the networked vehicle signs the vehicle data based on the vehicle private key of the networked vehicle; the first edge computing node authenticates the signature data based on the vehicle public key of the networked vehicle; after the authentication is passed, the vehicle data is uploaded to the blockchain network, thereby updating the traffic sharing data.
[0106] In some embodiments of the present application, the vehicle data also includes timestamp information; the traffic data sharing device uploads the vehicle data to the blockchain network, and the step of updating the traffic sharing data includes: determining whether there is historical vehicle data uploaded by the networked vehicle in the traffic sharing data; when it is determined that there is historical vehicle data uploaded by the networked vehicle, updating the historical vehicle data in the traffic sharing data according to the timestamp information.
[0107] In some embodiments of the present application, the traffic data sharing device is also used to: obtain the request authentication parameters sent by the networked vehicle, wherein the request authentication parameters include the vehicle identification information of the networked vehicle, the pre-installed operator communication card identification information, the operator information and the vehicle manufacturer information; the first edge computing node encrypts the request authentication parameters by using the system public key to obtain the encrypted authentication parameters; sends the encrypted authentication parameters to the authoritative trusted node, wherein the authoritative trusted node is used to decrypt the encrypted authentication parameters according to the authoritative trusted node private key to obtain the request authentication parameters, and calls the operator authentication service node to authenticate the request authentication parameters; after the authentication is passed and the networked vehicle obtains the vehicle pseudonym representation generated by the authoritative trusted node, the first edge computing node An edge computing node obtains vehicle authentication data generated by a networked vehicle based on a vehicle pseudonym and a vehicle private key, and signs the vehicle authentication data based on a base station private key of a base station to obtain signature authentication data, wherein the vehicle authentication data includes the vehicle pseudonym of the networked vehicle, a vehicle public key certificate generated by the networked vehicle based on the vehicle pseudonym and the vehicle private key, and a vehicle public key generated by the networked vehicle based on the vehicle private key and global parameters broadcast by an authoritative trusted node; sends the signature authentication data to an authoritative trusted node, wherein the authoritative trusted node is used to verify the security status of the networked vehicle based on the signature authentication data, and saves the vehicle authentication data of the networked vehicle to the ledger of the blockchain network after confirming that the security status is safe.
[0108] In some embodiments of the present application, the vehicle pseudonym identification includes a pseudonym first parameter, a pseudonym second parameter and a pseudonym third parameter, wherein the pseudonym first parameter is calculated by an authoritative trusted node based on a random number and a system secret key of the blockchain network, the pseudonym second parameter is calculated by an authoritative trusted node based on the vehicle identification information of the networked vehicle, the vehicle manufacturer information, the pre-installed operator communication card identification information and the operator information, and the pseudonym third parameter is calculated by an authoritative trusted node based on the pseudonym first parameter, the pseudonym second parameter, the system secret key and the system public key of the blockchain network.
[0109] In some embodiments of the present application, the step of the third processing module 104 broadcasting traffic shared data through the base station where the first edge computing node is located includes: after obtaining the traffic shared data, signing the traffic shared data through the base station private key of the base station to obtain broadcast data, wherein the broadcast data includes the plaintext of the traffic shared data, the public key certificate of the base station, the signature of the plaintext, and the broadcast timestamp; broadcasting the broadcast data through the base station within the coverage range of the base station.
[0110] In some embodiments of the present application, the traffic data sharing device is also used to: determine abnormal networked vehicles, wherein the abnormal networked vehicle is a vehicle that sends traffic sharing data acquisition requests to the first edge computing node at a frequency higher than a preset frequency, or the shared vehicle data is problematic data, and the problematic data includes false data; send the vehicle pseudonym identification of the abnormal networked vehicle to an authoritative trusted node, wherein the authoritative trusted node is used to determine the real vehicle information of the abnormal networked vehicle based on the identification information, and add the real vehicle information to the vehicle malicious list corresponding to the blockchain network, and the vehicle pseudonym identification is the identification information of the abnormal networked vehicle in the blockchain network generated by the authoritative trusted node during the authentication process of the abnormal networked vehicle based on the real vehicle information of the abnormal networked vehicle.
[0111] It should be noted that the various modules in the above-mentioned traffic data sharing device can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.
[0112] The method embodiments provided in the embodiments of the present application can be executed in an electronic device. Fig.11 FIG. 1 shows a hardware structure block diagram of an electronic device for implementing a traffic data sharing method. Fig.11As shown, the electronic device 110 may include one or more (1102a, 1102b, ..., 1102n are used to illustrate) processors 1102 (the processor 1102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1104 for storing data, and a transmission device 1106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Fig.11 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.11 More or fewer components as shown, or with Fig.11 Different configurations are shown.
[0113] It should be noted that the one or more processors 1102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the electronic device 11110. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0114] The memory 1104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the traffic data sharing method in the embodiment of the present application. The processor 1102 executes various functional applications and data processing by running the software programs and modules stored in the memory 1104, that is, the above-mentioned traffic data sharing method is realized. The memory 1104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1104 may further include a memory remotely arranged relative to the processor 1102, and these remote memories may be connected to the electronic device 110 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0115] The transmission device 1106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the electronic device 110. In one example, the transmission device 1106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 1106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0116] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 110 .
[0117] According to another aspect of an embodiment of the present application, a non-volatile storage medium is also provided, in which a program is stored. When the program is running, the device where the non-volatile storage medium is located is controlled to execute the following traffic data sharing method: a first edge computing node in a blockchain network sends an edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtains a verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; after the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the first edge computing node obtains traffic sharing data in the blockchain network, wherein the traffic sharing data includes traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; the first edge computing node broadcasts the traffic sharing data through the base station where the first edge computing node is located.
[0118] According to another aspect of an embodiment of the present application, there is also provided an electronic device, comprising: a memory and a processor, the processor being used to run a program stored in the memory, wherein the following traffic data sharing method is executed when the program is running: a first edge computing node in a blockchain network sends an edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtains a verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; after the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the first edge computing node obtains traffic sharing data in the blockchain network, wherein the traffic sharing data includes traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; the first edge computing node broadcasts the traffic sharing data through the base station where the first edge computing node is located.
[0119] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a computer program, which implements the following traffic data sharing method when executed by a processor: a first edge computing node in a blockchain network sends an edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtains a verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; after the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the first edge computing node obtains traffic sharing data in the blockchain network, wherein the traffic sharing data includes traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; the first edge computing node broadcasts the traffic sharing data through the base station where the first edge computing node is located.
[0120] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0121] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0125] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A traffic data sharing method, characterized in that: include: A first edge computing node in a blockchain network sends an edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtains a verification certificate generated by the authoritative trusted node according to the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; After the first edge computing node verifies the verification certificate and the verification result is that the verification is passed, the first edge computing node obtains the traffic sharing data in the blockchain network, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; The first edge computing node broadcasts the traffic sharing data through a base station where the first edge computing node is located.
2. The traffic data sharing method according to claim 1, characterized in that: The method further comprises: Acquire signature data sent by the networked vehicle, wherein the signature data is obtained after the networked vehicle signs the vehicle data according to the vehicle private key of the networked vehicle; The first edge computing node authenticates the signature data according to the vehicle public key of the networked vehicle; After the authentication is passed, the vehicle data is uploaded to the blockchain network, thereby updating the traffic sharing data.
3. The traffic data sharing method according to claim 2, characterized in that: The vehicle data also includes timestamp information; uploading the vehicle data to the blockchain network to update the traffic sharing data includes: Determining whether there is historical vehicle data uploaded by the networked vehicle in the traffic sharing data; When it is determined that the historical vehicle data uploaded by the networked vehicle already exists, the historical vehicle data in the traffic sharing data is updated according to the timestamp information.
4. The traffic data sharing method according to claim 1, characterized in that: The first edge computing node broadcasting the traffic sharing data through the base station where the first edge computing node is located includes: After acquiring the traffic sharing data, the traffic sharing data is signed by using the base station private key of the base station to obtain broadcast data, wherein the broadcast data includes the plain text of the traffic sharing data, the public key certificate of the base station, the signature of the plain text, and the broadcast timestamp; The broadcast data is broadcasted by the base station within the coverage of the base station.
5. The traffic data sharing method according to claim 1, characterized in that: The method further comprises: Determine an abnormal networked vehicle, wherein the abnormal networked vehicle is a vehicle that sends a traffic sharing data acquisition request to the first edge computing node at a frequency higher than a preset frequency, or the shared vehicle data is problematic data, and the problematic data includes false data; The vehicle pseudonym identification of the abnormal networked vehicle is sent to the authoritative trusted node, wherein the authoritative trusted node is used to determine the real vehicle information of the abnormal networked vehicle based on the pseudonym identification, and add the real vehicle information to the vehicle malicious list corresponding to the blockchain network, and the vehicle pseudonym identification is the pseudonym identification of the abnormal networked vehicle in the blockchain network generated by the authoritative trusted node during the authentication process of the abnormal networked vehicle based on the real vehicle information of the abnormal networked vehicle.
6. The traffic data sharing method according to claim 1, characterized in that: The traffic data sharing method further includes: Acquire the request authentication parameters sent by the networked vehicle, wherein the request authentication parameters include vehicle identification information of the networked vehicle, identification information of the pre-installed operator communication card, operator information and vehicle manufacturer information; The first edge computing node encrypts the requested authentication parameter by using a system public key to obtain an encrypted authentication parameter; Sending the encrypted authentication parameter to the authoritative trusted node, wherein the authoritative trusted node is used to decrypt the encrypted authentication parameter according to the authoritative trusted node private key to obtain the requested authentication parameter, and calling the operator authentication service node to authenticate the requested authentication parameter; After the authentication is passed and the networked vehicle obtains the vehicle pseudonym representation generated by the authoritative trusted node, the first edge computing node obtains the vehicle authentication data generated by the networked vehicle based on the vehicle pseudonym identifier and the vehicle private key, and signs the vehicle authentication data based on the base station private key of the base station to obtain signature authentication data, wherein the vehicle authentication data includes the vehicle pseudonym identifier of the networked vehicle, the vehicle public key certificate generated by the networked vehicle based on the vehicle pseudonym identifier and the vehicle private key, and the vehicle public key generated by the networked vehicle based on the vehicle private key and the global parameters broadcast by the authoritative trusted node; The signature authentication data is sent to the authoritative trusted node, wherein the authoritative trusted node is used to verify the security status of the networked vehicle based on the signature authentication data, and save the vehicle authentication data of the networked vehicle into the ledger of the blockchain network after confirming that the security status is safe.
7. The traffic data sharing method according to claim 6, characterized in that: The vehicle pseudonym identification includes a first pseudonym parameter, a second pseudonym parameter and a third pseudonym parameter, wherein the first pseudonym parameter is calculated by the authoritative trusted node based on a random number and a system secret key of the blockchain network, the second pseudonym parameter is calculated by the authoritative trusted node based on the vehicle identification information of the networked vehicle, the vehicle manufacturer information, the pre-installed operator communication card identification information and the operator information, and the third pseudonym parameter is calculated by the authoritative trusted node based on the first pseudonym parameter, the second pseudonym parameter, the system secret key and the system public key of the blockchain network.
8. A traffic data sharing system, characterized in that: Including authoritative trusted nodes, multiple edge computing nodes, automobile manufacturer certification service nodes, and connected vehicles, among which, The authoritative trusted node is used to call the automobile manufacturer authentication service node to authenticate the networked vehicle when authenticating the networked vehicle, and calculate the vehicle pseudonym identification of the networked vehicle; The first edge computing node among the multiple edge computing nodes is used to send the edge computing node public key of the first edge computing node to the authoritative trusted node in the blockchain network, and obtain the verification certificate generated by the authoritative trusted node based on the edge computing node public key, wherein the first edge computing node is any one of the multiple edge computing nodes, and the edge computing nodes in the blockchain network correspond to multiple operators; after verifying the verification certificate and the verification result is that the verification is passed, the traffic sharing data in the blockchain network is obtained, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node among the multiple edge computing nodes, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; the traffic sharing data is broadcasted through the base station where the first edge computing node is located; After receiving the traffic sharing data, the networked vehicle verifies whether the signature of the traffic sharing data is valid; after verifying that the signature of the traffic sharing data is valid, the networked vehicle determines the traffic condition according to the traffic sharing data.
9. A traffic data sharing device, characterized in that: Applicable to the first edge computing node in blockchain network, including: A first processing module is configured to send an edge computing node public key of the first edge computing node to an authoritative trusted node in the blockchain network, and obtain a verification certificate generated by the authoritative trusted node according to the edge computing node public key, wherein the first edge computing node is any edge computing node in the blockchain network, and the edge computing nodes in the blockchain network correspond to multiple operators; A second processing module is used to verify the verification certificate, and after the verification result is that the verification is passed, obtain the traffic sharing data in the blockchain network, wherein the traffic sharing data includes the traffic data uploaded to the blockchain network by the second edge computing node, and the operator corresponding to the second edge computing node is different from the operator corresponding to the first edge computing node; The third processing module is used to broadcast the traffic sharing data through the base station where the first edge computing node is located.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the traffic data sharing method according to any one of claims 1 to 7.
11. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program executes the traffic data sharing method according to any one of claims 1 to 7 when running.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the traffic data sharing method according to any one of claims 1 to 7 when being executed by a processor.
Citation Information
Patent Citations
Internet of vehicles edge computing sharing method based on block chain
CN114945022A
Vehicle-mounted network message authentication method based on block chain and physical unclonable function
CN115580488A
Traffic data security sharing method based on block chain and traceable annular signature
CN116437350A
Vehicle-mounted ad hoc network cross-vehicle-enterprise authentication method based on block chain
CN117411612A
Blockchain-based method and device for processing driving data
US20220407704A1
