CN111866009A - Vehicle information updating method and device - Google Patents

Vehicle information updating method and device Download PDF

Info

Publication number
CN111866009A
CN111866009A CN202010742817.1A CN202010742817A CN111866009A CN 111866009 A CN111866009 A CN 111866009A CN 202010742817 A CN202010742817 A CN 202010742817A CN 111866009 A CN111866009 A CN 111866009A
Authority
CN
China
Prior art keywords
user
vehicle
information
vehicle information
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010742817.1A
Other languages
Chinese (zh)
Other versions
CN111866009B (en
Inventor
田新雪
肖征荣
马书惠
杨子文
董慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010742817.1A priority Critical patent/CN111866009B/en
Publication of CN111866009A publication Critical patent/CN111866009A/en
Application granted granted Critical
Publication of CN111866009B publication Critical patent/CN111866009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/84Vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a vehicle information updating method and a device.A node of a vehicle management station receives a first broadcast message broadcast by a first user in a block chain and acquires first user information, first vehicle information and second vehicle information carried in the first broadcast message; receiving a second broadcast message broadcast by a second user in the block chain and acquiring second user information, first vehicle information and second vehicle information carried in the second broadcast message; if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and the first vehicle information and the second vehicle information meet a preset updating condition, broadcasting a relationship query request message comprising the first user information and the second user information in the block chain; and receiving the query result message broadcast by the public security bureau node and acquiring the query result carried in the query result message, and if the first user and the second user are determined to be direct relatives according to the query result, updating the first vehicle information and the second vehicle information and broadcasting an update success broadcast message in the block chain network.

Description

Vehicle information updating method and device
Technical Field
The invention relates to the technical field of block chains, in particular to a vehicle information updating method and device.
Background
Two car owners serving as direct relatives respectively have two non-operation type private vehicles, license plate numbers of the two cars belong to the same city, and if the two car owners want to interchange the license plate numbers of the two cars, no vehicle updating method can ensure information safety and update vehicle information at the same time.
Disclosure of Invention
Therefore, the invention provides a vehicle information updating method to solve the problem that two vehicle owners serving as direct relatives cannot exchange the license plate numbers of the famous private vehicles due to the lack of the vehicle information updating method in the prior art.
In order to achieve the above object, a first aspect of the present invention provides a vehicle information updating method applied to a vehicle management station apparatus, including:
receiving a first broadcast message broadcast by a first user in a block chain and acquiring first user information, first vehicle information and second vehicle information carried in the first broadcast message; receiving a second broadcast message broadcast by a second user in the block chain and acquiring second user information, first vehicle information and second vehicle information carried in the second broadcast message; the first vehicle is a vehicle of a first user, and the second vehicle is a vehicle of a second user;
if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and the first vehicle information and the second vehicle information meet a preset updating condition, broadcasting a relationship query request message comprising the first user information and the second user information in a block chain;
and receiving the query result message broadcast by the public security bureau node and acquiring the query result carried in the query result message, and if the first user and the second user are determined to be direct relatives according to the query result, updating the first vehicle information and the second vehicle information and broadcasting an updating success broadcast message in the block chain network.
In some embodiments, the first and second vehicle information includes a license plate number, the updating the first and second vehicle information includes:
and updating the first vehicle information to be the license plate number of the second vehicle, and updating the second vehicle information to be the license plate number of the first vehicle.
In some embodiments, the first vehicle information and the second vehicle information satisfy a preset update condition, including:
the license plate number of the first vehicle and the license plate number of the second vehicle belong to the same city license plate number, and the first vehicle and the second vehicle belong to a non-commercial private vehicle.
In some embodiments, the method further comprises:
receiving a record request message sent by a user node in a block chain, and acquiring user information carried in the record request message;
if the user information is successfully verified, distributing a block chain identifier and a public and private key pair for the user corresponding to the user node;
and sending the corresponding block chain identification and the public and private key pair to the user terminal.
A second aspect of the invention provides a vehicle information updating method including:
receiving a relation query request message broadcast by a vehicle management station node in a block chain, and acquiring first user information and second user information carried in the relation query request message;
determining whether the first user and the second user are direct relatives according to the first user information and the second user information;
and broadcasting a query result message in the block chain, wherein the query result message comprises a query result of whether the first user and the second user are immediate relatives.
A third aspect of the invention provides a vehicle information updating method including:
receiving an updating success broadcast message broadcast by a vehicle management station node in a block chain, and acquiring first user information, first vehicle information, second user information and second vehicle information carried in the updating success broadcast message;
and if the first user information, the first vehicle information, the second user information and the second vehicle information are verified successfully, updating the locally stored first vehicle information and second vehicle information according to the first vehicle information and the second vehicle information.
A fourth aspect of the present invention provides a vehicle management station node, comprising:
the receiving module is used for receiving a first broadcast message broadcast by a first user in the block chain and acquiring first user information, first vehicle information and second vehicle information carried in the first broadcast message; receiving a second broadcast message broadcast by a second user in the block chain and acquiring second user information, first vehicle information and second vehicle information carried in the second broadcast message; the first vehicle is a vehicle of a first user, and the second vehicle is a vehicle of a second user; receiving a query result message broadcast by the public security bureau node and acquiring a query result carried in the query result message;
the processing module is used for determining whether the first user information, the second user information, the first vehicle information and the second vehicle information are correct or not and whether the first vehicle information and the second vehicle information meet preset updating conditions or not; determining whether the first user and the second user are direct relatives according to the query result;
the broadcast module is used for broadcasting a relationship query request message including the first user information and the second user information in a block chain if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and meet a preset updating condition; broadcasting an update success broadcast message in the blockchain network;
and the updating module is used for updating the first vehicle information and the second vehicle information if the first user and the second user are determined to be direct relatives according to the query result.
In some embodiments, the first vehicle information and the second vehicle information include license plate numbers;
the updating module is used for updating the first vehicle information into the license plate number of the second vehicle and updating the second vehicle information into the license plate number of the first vehicle.
A fifth aspect of the present invention provides a public security bureau node, comprising:
the receiving module is used for receiving a relationship query request message broadcast by a vehicle management station node in a block chain and acquiring first user information and second user information carried in the relationship query request message;
the processing module is used for determining whether the first user and the second user are direct relatives according to the first user information and the second user information;
the broadcast module is used for broadcasting query result information in the block chain, wherein the query result information comprises a query result of whether the first user and the second user are direct relatives.
A sixth aspect of the present invention provides a vehicle inspection plant node, including:
the receiving module is used for receiving the successfully updated broadcast message broadcast by the vehicle management station node in the block chain and acquiring the first user information, the first vehicle information, the second user information and the second vehicle information carried in the successfully updated broadcast message;
the verification module is used for verifying the first user information, the first vehicle information, the second user information and the second vehicle information;
and the updating module is used for updating the locally stored first vehicle information and second vehicle information according to the first vehicle information and the second vehicle information if the first user information, the first vehicle information, the second user information and the second vehicle information are verified successfully.
The invention has the following advantages:
the vehicle information updating method provided by the embodiment of the invention can judge whether the vehicles under two user names meet the condition of exchanging the license plate numbers according to the user information and the vehicle information broadcasted by the user, if so, the license plate numbers can be exchanged for the user, the whole process is realized by a block chain technology, and the method is simple, quick and convenient to trace and can ensure the information safety of the user.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic flowchart of a vehicle information updating method according to embodiment 1 of the present invention;
fig. 2 is a schematic flowchart of a vehicle management station node allocating a blockchain identifier and a public-private key pair to a user according to embodiment 2 of the present invention;
fig. 3 is a schematic structural diagram of a vehicle management station node according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of a public security bureau node according to embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of a vehicle detection plant node according to embodiment 5 of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
A blockchain is a decentralized database that contains a list of what are called blocks, with records that are growing and aligned. Each tile contains a timestamp and a link to the previous tile: the blockchain is designed so that the data is not tampered, and once recorded, the data in a block is not reversible. The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in the blockchain system. The Blockchain (Blockchain) is an important concept of the bit coins, and the firecoin network is combined with an internet financial laboratory of the five-crossing financial institute of Qinghua university and a global bit coin development research report 2014-2016 issued by Xinghao science and technology to mention that the Blockchain is a bottom layer technology and a basic framework of the bit coins, is essentially a decentralized database and is used as the bottom layer technology of the bit coins. The block chain is a series of data blocks which are associated by using a cryptographic method, and each data block contains information of one bitcoin network transaction, so that the validity (anti-counterfeiting) of the information is verified and the next block is generated. In a narrow sense, the blockchain is a distributed account book which is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence and is guaranteed in a cryptographic mode and cannot be tampered and forged. Broadly, the blockchain technique is a completely new distributed infrastructure and computing that utilizes blockchain data structures to verify and store data, distributed node consensus algorithms to generate and update data, cryptographic means to secure data transmission and access, and intelligent contracts composed of automated script code to program and manipulate data. Blockchain design is a protective measure, such as (applied to) highly fault-tolerant distributed computing systems. The blockchain enables mixed consistency, and is suitable for recording events, titles, medical records and other activities requiring data inclusion, identification management, transaction flow management and provenance management. The blockchain has huge potential for financial off-media and has huge influence on leading global trade. The concept of blockchains was first proposed by the mingent in 2008, and in the following years, bitcoins became the core component of electronic money: as a common ledger for all transactions, the blockchain database can be managed autonomously by using a peer-to-peer network and a distributed timestamp server, and the blockchain invented for bitcoin makes bitcoin the first digital currency to solve the problem of repeated consumption, and the design of bitcoin has become an inspiration source for other applications.
The vehicle information updating method provided by the embodiment of the invention is applied to a block chain system comprising a vehicle management station node, a public security station node, a vehicle detection factory node, a traffic management station node, a user node and the like, wherein the vehicle management station node is an originator node of the block chain system, an created block is issued in a block chain network by using a broadcast message method of private key signature, and the created block can comprise a block chain identifier and a public key of the public security station node, a block chain identifier and a public key of the vehicle detection factory node, a block chain identifier and a public key of the traffic management station node, and a block chain identifier, a public key and a mobile phone number of the vehicle management station node.
As shown in fig. 1, a vehicle information updating method provided by an embodiment of the present invention may include the following steps:
step 1, a vehicle management node receives a first broadcast message broadcast by a first user in a block chain and acquires first user information, first vehicle information and second vehicle information carried in the first broadcast message, and receives a second broadcast message broadcast by a second user in the block chain and acquires second user information, first vehicle information and second vehicle information carried in the second broadcast message.
In this step, the first vehicle is a vehicle of a first user, and the second vehicle is a vehicle of a second user. The first user information may include a name and an identification number of the first user, and the second user information may include a name and an identification number of the second user.
The method comprises the steps that a first user firstly uses a public key of a vehicle management station node to encrypt first user information, first vehicle information and second vehicle information respectively, then uses a private key of the user to sign a first broadcast message comprising the encrypted first user information, first vehicle information and second vehicle information, and finally broadcasts the first broadcast message in a block chain network. The second user firstly uses the public key of the vehicle management node to encrypt the second user information, the first vehicle information and the second vehicle information respectively, then uses the private key of the user to sign the second broadcast message comprising the encrypted second user information, the encrypted first vehicle information and the encrypted second vehicle information, and finally broadcasts the second broadcast message in the block chain network.
After receiving a first broadcast message broadcast by a first user in a block chain, a node of a vehicle management station queries a block chain account book according to a block chain identifier of the first user, obtains a public key of the first user, verifies a private key signature of the first broadcast message by using the public key of the first user, if the verification is successful, obtains encrypted first user information, first vehicle information and second vehicle information in the first broadcast message, and then decrypts the encrypted first user information, first vehicle information and second vehicle information by using the private key of the node to obtain the first user information, the first vehicle information and the second vehicle information. After receiving a second broadcast message broadcast by a second user in the block chain, the node of the vehicle management station queries a block chain account book according to the block chain identifier of the second user, obtains a public key of the second user, verifies a private key signature of the second broadcast message by using the public key of the second user, if the verification is successful, obtains encrypted second user information, first vehicle information and second vehicle information in the second broadcast message, and then decrypts the encrypted second user information, first vehicle information and second vehicle information by using the private key of the node to obtain the second user information, first vehicle information and second vehicle information.
And 2, if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and the first vehicle information and the second vehicle information meet a preset updating condition, the vehicle management node broadcasts a relationship query request message comprising the first user information and the second user information in the block chain.
The method comprises the steps that a vehicle management station node judges whether first user information, second user information, first vehicle information and second vehicle information are all correct or not and whether the first vehicle information and the second vehicle information meet preset updating conditions or not based on local prestored information, if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and the first vehicle information and the second vehicle information meet the preset updating conditions, a public key of a public security bureau node is used for encrypting the first user information and the second user information respectively according to a preset algorithm, then a private key of the node is used for signing a relation query request message comprising the encrypted first user information and the encrypted second user information, and finally the relation query request message is broadcasted in a block chain network.
And 3, receiving the relationship query request message broadcast by the vehicle management station node in the block chain by the public security bureau node, and acquiring the first user information and the second user information carried in the relationship query request message.
After receiving the relationship query request message broadcast by the vehicle management station node, the public security bureau node queries a block chain account book according to the block chain identifier of the vehicle management station node to obtain a public key of the vehicle management station node, verifies a private key signature of the relationship query request message by using the public key of the vehicle management station node, if the verification is successful, obtains encrypted first user information and second user information, decrypts the encrypted first user information and second user information by using the private key of the node according to a preset algorithm, and obtains the first user information and the second user information.
And 4, the public security bureau node determines whether the first user and the second user are direct relatives or not according to the first user information and the second user information.
The first user information comprises the name and the identity card number of the first user, the second user information can comprise the name and the identity card number of the second user, and the public security bureau node can inquire a local database according to the first user information and the second user information and judge whether the first user and the second user are direct relatives.
And 5, broadcasting a query result message in the block chain by the public security bureau node, wherein the query result message comprises a query result of whether the first user and the second user are direct relatives or not.
After judging whether the first user and the second user are direct relatives or not, the public security bureau node obtains the query result of the first user and the second user which are direct relatives or the query result of the first user and the second user which are not direct relatives, encrypts the query result according to a preset algorithm by using a public key of a vehicle management center, signs the query result message including the query result of the first user and the second user which are direct relatives or not by using a private key of the node, and finally broadcasts the query result message in the block chain network.
And 6, the vehicle management station node receives the query result message broadcast by the public security bureau node and obtains the query result carried in the query result message, and if the first user and the second user are determined to be direct relatives according to the query result, the first vehicle information and the second vehicle information are updated and the broadcast message of successful update is broadcast in the block chain network.
After receiving the query result message broadcast by the public security bureau node, the vehicle management bureau node queries the block chain account book according to the block chain identifier of the public security bureau node to obtain the public key of the public security bureau node, verifies the private key signature of the query result message by using the public key of the public security bureau node, if the verification is successful, acquiring the inquiry result of whether the encrypted first user and the encrypted second user are direct relatives, if the first user and the second user are determined to be direct relatives according to the inquiry result, updating the first vehicle information and the second vehicle information, then encrypting the first user information, the updated first vehicle information, the second user information and the updated second vehicle information according to a preset algorithm, and broadcasting an update success broadcast message including the encrypted first user information, the updated first vehicle information, the second user information and the updated second vehicle information in the blockchain network.
And 7, the vehicle detection plant node receives the successfully updated broadcast message broadcast by the vehicle management station node in the block chain, and acquires the first user information, the first vehicle information, the second user information and the second vehicle information carried in the successfully updated broadcast message.
After receiving the updating success broadcast message broadcast by the vehicle management station node in the block chain, the vehicle detection plant node inquires a block chain account book according to the block chain identifier of the vehicle management station node to obtain a public key of the vehicle management station node, verifies the signature of the updating success broadcast message by using the public key of the vehicle management station node, and if the verification is successful, obtains the carried first user information, the first vehicle information, the second user information and the second vehicle information.
And 8, if the first user information, the first vehicle information, the second user information and the second vehicle information are verified successfully, updating the locally stored first vehicle information and second vehicle information according to the first vehicle information and the second vehicle information.
The vehicle detection plant node may encrypt the first user information, the first vehicle information, the second user information, and the second vehicle information, which are locally stored, according to a preset algorithm, respectively, so as to verify the first user information, the first vehicle information, the second user information, and the second vehicle information, which are obtained from the update success broadcast message, and if the verification is successful, update the first vehicle information, which is locally stored, to the first vehicle information obtained from the update success broadcast message, and update the second vehicle information, which is locally stored, to the second vehicle information obtained from the update success broadcast message.
As can be seen from steps 1 to 8, in the vehicle information updating method provided by the embodiment of the present invention, a node in a vehicle management station receives a first broadcast message broadcast by a first user in a block chain and acquires first user information, first vehicle information, and second vehicle information carried in the first broadcast message; receiving a second broadcast message broadcast by a second user in the block chain and acquiring second user information, first vehicle information and second vehicle information carried in the second broadcast message; the first vehicle is a vehicle of a first user, and the second vehicle is a vehicle of a second user; if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and the first vehicle information and the second vehicle information meet a preset updating condition, broadcasting a relationship query request message comprising the first user information and the second user information in the block chain; and receiving the query result message broadcast by the public security bureau node and acquiring the query result carried in the query result message, and if the first user and the second user are determined to be direct relatives according to the query result, updating the first vehicle information and the second vehicle information and broadcasting an update success broadcast message in the block chain network. Whether vehicles under two user names meet the condition of license plate number interchange can be judged according to user information and vehicle information broadcasted by the user, if yes, license plate numbers can be interchanged for the user, the whole process is realized through a block chain technology, and the method is simple, fast, convenient to trace to the source and capable of guaranteeing the information safety of the user.
In some embodiments, the first and second vehicle information includes a license plate number, and the updating the first and second vehicle information may include: and updating the first vehicle information into the license plate number of the second vehicle, and updating the second vehicle information into the license plate number of the first vehicle.
For example, if the license plate number of the first vehicle of the first user is jing ABC666 and the license plate number of the second vehicle of the second user is jing DEF123, updating the first vehicle information and the second vehicle information may include: and exchanging the license plate number of the first vehicle with the license plate number of the second vehicle, so that the first vehicle information comprises a license plate number Beijing DEF123 and the second vehicle information comprises a license plate number Beijing ABC 666.
It should be noted that the first vehicle information may further include an engine number and an annual check time valid period of the first vehicle, and the second vehicle information may further include a transmitter number and an annual check time valid period of the second vehicle, but when the first vehicle information and the second vehicle information are updated, the engine number and the annual check time valid period of the vehicles are not updated. For example, when the first vehicle information includes the license plate number jing ABC666, the engine number 123456789, and the annual check time validity period 2020, 5, month, and 31 days and the second vehicle information includes the license plate number jing DEF123, the engine number 987654321, and the annual check time validity period 2020, 2, month, and 28 days, updating the first vehicle information and the second vehicle information will result in: the first vehicle information including the license plate number of Jing DEF123, the engine number of 123456789, the annual inspection time validity period of 2020, 5, month and 31 days, and the second vehicle information including the license plate number of Jing ABC666, the engine number of 987654321, the annual inspection time validity period of 2020, 2, month and 28 days.
In some embodiments, the first vehicle information and the second vehicle information satisfy a preset update condition, which may include: the license plate number of the first vehicle and the license plate number of the second vehicle belong to the same city license plate number, and the first vehicle and the second vehicle belong to non-commercial private vehicles.
In step 2, after the vehicle management station node judges that the first user information, the second user information, the first vehicle information and the second vehicle information are all correct based on the local pre-stored information, whether the license plate number of the first vehicle and the license plate number of the second vehicle belong to the same city or not and whether the first vehicle and the second vehicle both belong to private vehicles not in operation or not can be further judged, and if the license plate number of the first vehicle and the license plate number of the second vehicle belong to license plate numbers in the same city and the first vehicle and the second vehicle belong to private vehicles not in operation, the first vehicle information and the second vehicle information can be considered to meet the preset updating condition.
Accordingly, in step 6, the first user information may include a name and an identification number of the first user, the second user information may include a name and an identification number of the second user, the updated first vehicle information may include a license plate number, an engine number, and an annual inspection time validity period of the first vehicle, and the updated second vehicle information may include a license plate number, an engine number, and an annual inspection time validity period of the second vehicle.
The process of encrypting the first user information, the updated first vehicle information, the second user information, and the updated second vehicle information by the vehicle management station node according to the preset algorithm may include: and respectively calculating the hash values of the names, the identity card numbers, the engine numbers and the annual inspection time validity periods according to a preset algorithm, so that the encrypted first user information and second user information respectively comprise the hash value of the names, partial plaintext of the names, the hash value of the identity card numbers and partial hash value of the identity card numbers, and the encrypted first vehicle information and second vehicle information respectively comprise the license plate numbers, the hash values of the engine numbers and the hash values of the annual inspection time validity periods.
Correspondingly, in the step 8, the process of encrypting the locally stored first user information, first vehicle information, second user information and second vehicle information by the vehicle detection plant node according to the preset algorithm may include: the vehicle detection factory node inquires a local database according to two license plate numbers acquired from the successfully updated broadcast message, acquires names, identity card numbers, engine numbers and annual inspection time validity periods corresponding to the license plate numbers, respectively calculates hash values of the names, the identity card numbers, the engine numbers and the annual inspection time validity periods according to a preset algorithm, enables the first user information and the second user information encrypted by the node to respectively comprise hash values of the names, partial plaintext of the names, the hash values of the identity card numbers and partial hash values of the identity card numbers, and enables the encrypted first vehicle information and the encrypted second vehicle information to respectively comprise hash values of the license plate numbers, the hash values of the engine numbers and the annual inspection time validity periods.
In the step 8, the process of the vehicle detection plant node verifying the first user information, the first vehicle information, the second user information and the second vehicle information obtained from the update success broadcast message may include: the vehicle detection plant node compares the encrypted first user information of the node with the first user information acquired from the successfully updated broadcast message, compares the encrypted second user information of the node with the second user information acquired from the successfully updated broadcast message, compares the hash value of the engine number and the annual inspection time validity period of the first vehicle calculated by the node with the hash value of the engine number and the annual inspection time validity period of the second vehicle acquired from the successfully updated broadcast message, compares the hash value of the engine number and the annual inspection time validity period of the second vehicle calculated by the node with the hash value of the engine number and the annual inspection time validity period of the first vehicle acquired from the successfully updated broadcast message (at the moment, the locally stored license plate numbers of the first vehicle and the second vehicle and the hash value of the annual inspection time validity period of the first vehicle in the successfully updated broadcast message are locally stored, and, The license plate numbers of the second vehicles are opposite, so that the engine number and the annual inspection time validity period of the first vehicle stored locally actually correspond to the license plate number of the second vehicle in the successfully updated broadcast message), and if the engine number and the annual inspection time validity period are consistent, the vehicle detection plant node can be considered to verify that the first user information, the first vehicle information, the second user information and the second vehicle information in the successfully updated broadcast message are successful.
In some embodiments, as shown in fig. 2, the vehicle information updating method may further include the steps of:
and step 21, receiving a filing request message sent by a user node in the block chain, and acquiring user information carried in the filing request message.
In this step, the user information may include a name, an identification number, and a mobile phone number of the user. The first user and the second user in the block chain can both send a filing request message including user information to a vehicle management node in the block chain in a manner of being under the block chain.
And step 22, if the user information is successfully verified, distributing a block chain identifier and a public and private key pair for the user corresponding to the user node.
The vehicle management station node can verify whether the name, the identification card number and the mobile phone number of the user in the user information are all correct, and if the verification is successful, a block chain identifier and a public and private key pair are distributed to the user corresponding to the user node.
And step 23, sending the corresponding blockchain identification and public and private key pair to the user node.
It can be seen from steps 21-23 that, in the vehicle information updating method provided in the embodiment of the present invention, the vehicle management node receives the docketing request message sent by the user node in the block chain, and obtains the user information carried therein, if the user information is successfully verified, allocates a block chain identifier and a public/private key pair to the user corresponding to the user node, and sends the corresponding block chain identifier and a public/private key pair to the user node. The public and private key pair of the user is not generated by the user, but is generated by the vehicle management station node in a block chain down mode and then distributed to the user by the vehicle management station node in the block chain down mode, so that the name, the identification number and the mobile phone number of the user can correspond to the block chain identifier, an operator node is not required to be introduced, the authenticity of the user identity is ensured by the user in a mode of backing up the identity information of the user to the vehicle management station in advance in the block chain down mode, the handling efficiency is also improved, and the privacy of the user information can be protected in the vehicle information updating process.
Based on the same technical concept, as shown in fig. 3, an embodiment of the present invention further provides a vehicle management station node, which may include:
the receiving module 101 is configured to receive a first broadcast message broadcast by a first user in a block chain and acquire first user information, first vehicle information, and second vehicle information carried in the first broadcast message; receiving a second broadcast message broadcast by a second user in the block chain and acquiring second user information, first vehicle information and second vehicle information carried in the second broadcast message; the first vehicle is a vehicle of a first user, and the second vehicle is a vehicle of a second user; and receiving the query result message broadcast by the public security bureau node and acquiring the query result carried in the query result message.
The processing module 102 is configured to determine whether the first user information, the second user information, the first vehicle information, and the second vehicle information are correct, and whether the first vehicle information and the second vehicle information meet a preset update condition; and determining whether the first user and the second user are direct relatives according to the query result.
The broadcasting module 103 is configured to broadcast a relationship query request message including the first user information and the second user information in a block chain if the first user information, the second user information, the first vehicle information, and the second vehicle information are correct and the first vehicle information and the second vehicle information meet a preset update condition; and broadcasting an update success broadcast message in the blockchain network.
And the updating module 104 is configured to update the first vehicle information and the second vehicle information if it is determined that the first user and the second user are immediate relatives according to the query result.
In some embodiments, the first vehicle information and the second vehicle information include license plate numbers.
The updating module 104 is configured to update the first vehicle information to a license plate number of the second vehicle, and update the second vehicle information to the license plate number of the first vehicle.
In some embodiments, the first vehicle information and the second vehicle information satisfy a preset update condition, which may include:
the license plate number of the first vehicle and the license plate number of the second vehicle belong to the same city license plate number, and the first vehicle and the second vehicle belong to a non-commercial private vehicle.
In some embodiments, the receiving module 101 is further configured to receive a docketing request message sent by a user node in a block chain, and acquire user information carried in the docketing request message.
The processing module 102 is further configured to verify user information, and if the user information is successfully verified, allocate a block chain identifier and a public-private key pair to a user corresponding to the user node.
The broadcast module 103 is further configured to send the corresponding blockchain identification and public-private key pair to the user node.
As shown in fig. 4, an embodiment of the present invention further provides a public security bureau node, which may include:
the receiving module 201 is configured to receive a relationship query request message broadcast by a vehicle management station node in a block chain, and acquire first user information and second user information carried in the relationship query request message.
The processing module 202 is configured to determine whether the first user and the second user are immediate relatives according to the first user information and the second user information.
The broadcasting module 203 is configured to broadcast a query result message in the block chain, where the query result message includes a query result of whether the first user and the second user are immediate relatives.
As shown in fig. 5, an embodiment of the present invention further provides a vehicle detection plant node, which may include:
the receiving module 301 is configured to receive an update success broadcast message broadcast by a vehicle management station node in a block chain, and acquire first user information, first vehicle information, second user information, and second vehicle information carried in the update success broadcast message.
The verification module 302 is configured to verify the first user information, the first vehicle information, the second user information, and the second vehicle information.
The updating module 303 is configured to update the locally stored first vehicle information and second vehicle information according to the first vehicle information and the second vehicle information if the first user information, the first vehicle information, the second user information, and the second vehicle information are successfully verified.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. A vehicle information updating method applied to a vehicle management station apparatus, comprising:
receiving a first broadcast message broadcast by a first user in a block chain and acquiring first user information, first vehicle information and second vehicle information carried in the first broadcast message; receiving a second broadcast message broadcast by a second user in the block chain and acquiring second user information, first vehicle information and second vehicle information carried in the second broadcast message; the first vehicle is a vehicle of a first user, and the second vehicle is a vehicle of a second user;
if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and the first vehicle information and the second vehicle information meet a preset updating condition, broadcasting a relationship query request message comprising the first user information and the second user information in a block chain;
and receiving the query result message broadcast by the public security bureau node and acquiring the query result carried in the query result message, and if the first user and the second user are determined to be direct relatives according to the query result, updating the first vehicle information and the second vehicle information and broadcasting an updating success broadcast message in the block chain network.
2. The method of claim 1, wherein the first vehicle information and the second vehicle information include license plate numbers, and wherein the updating the first vehicle information and the second vehicle information includes:
and updating the first vehicle information to be the license plate number of the second vehicle, and updating the second vehicle information to be the license plate number of the first vehicle.
3. The method of claim 2, wherein the first vehicle information and the second vehicle information satisfy a preset update condition, comprising:
the license plate number of the first vehicle and the license plate number of the second vehicle belong to the same city license plate number, and the first vehicle and the second vehicle belong to a non-commercial private vehicle.
4. The method of claim 1, further comprising:
receiving a record request message sent by a user node in a block chain, and acquiring user information carried in the record request message;
if the user information is successfully verified, distributing a block chain identifier and a public and private key pair for the user corresponding to the user node;
and sending the corresponding block chain identification and the public and private key pair to the user terminal.
5. A vehicle information updating method characterized by comprising:
receiving a relation query request message broadcast by a vehicle management station node in a block chain, and acquiring first user information and second user information carried in the relation query request message;
determining whether the first user and the second user are direct relatives according to the first user information and the second user information;
and broadcasting a query result message in the block chain, wherein the query result message comprises a query result of whether the first user and the second user are immediate relatives.
6. A vehicle information updating method characterized by comprising:
receiving an updating success broadcast message broadcast by a vehicle management station node in a block chain, and acquiring first user information, first vehicle information, second user information and second vehicle information carried in the updating success broadcast message;
and if the first user information, the first vehicle information, the second user information and the second vehicle information are verified successfully, updating the locally stored first vehicle information and second vehicle information according to the first vehicle information and the second vehicle information.
7. A vehicle authority node, comprising:
the receiving module is used for receiving a first broadcast message broadcast by a first user in the block chain and acquiring first user information, first vehicle information and second vehicle information carried in the first broadcast message; receiving a second broadcast message broadcast by a second user in the block chain and acquiring second user information, first vehicle information and second vehicle information carried in the second broadcast message; the first vehicle is a vehicle of a first user, and the second vehicle is a vehicle of a second user; receiving a query result message broadcast by the public security bureau node and acquiring a query result carried in the query result message;
the processing module is used for determining whether the first user information, the second user information, the first vehicle information and the second vehicle information are correct or not and whether the first vehicle information and the second vehicle information meet preset updating conditions or not; determining whether the first user and the second user are direct relatives according to the query result;
the broadcast module is used for broadcasting a relationship query request message including the first user information and the second user information in a block chain if the first user information, the second user information, the first vehicle information and the second vehicle information are correct and meet a preset updating condition; broadcasting an update success broadcast message in the blockchain network;
and the updating module is used for updating the first vehicle information and the second vehicle information if the first user and the second user are determined to be direct relatives according to the query result.
8. The vehicle clearinghouse node of claim 7, wherein the first vehicle information and the second vehicle information include license plate numbers;
the updating module is used for updating the first vehicle information into the license plate number of the second vehicle and updating the second vehicle information into the license plate number of the first vehicle.
9. A police office node, comprising:
the receiving module is used for receiving a relationship query request message broadcast by a vehicle management station node in a block chain and acquiring first user information and second user information carried in the relationship query request message;
the processing module is used for determining whether the first user and the second user are direct relatives according to the first user information and the second user information;
the broadcast module is used for broadcasting query result information in the block chain, wherein the query result information comprises a query result of whether the first user and the second user are direct relatives.
10. A vehicle inspection plant node, comprising:
the receiving module is used for receiving the successfully updated broadcast message broadcast by the vehicle management station node in the block chain and acquiring the first user information, the first vehicle information, the second user information and the second vehicle information carried in the successfully updated broadcast message;
the verification module is used for verifying the first user information, the first vehicle information, the second user information and the second vehicle information;
and the updating module is used for updating the locally stored first vehicle information and second vehicle information according to the first vehicle information and the second vehicle information if the first user information, the first vehicle information, the second user information and the second vehicle information are verified successfully.
CN202010742817.1A 2020-07-29 2020-07-29 Vehicle information updating method and device Active CN111866009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010742817.1A CN111866009B (en) 2020-07-29 2020-07-29 Vehicle information updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010742817.1A CN111866009B (en) 2020-07-29 2020-07-29 Vehicle information updating method and device

Publications (2)

Publication Number Publication Date
CN111866009A true CN111866009A (en) 2020-10-30
CN111866009B CN111866009B (en) 2022-04-29

Family

ID=72945417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010742817.1A Active CN111866009B (en) 2020-07-29 2020-07-29 Vehicle information updating method and device

Country Status (1)

Country Link
CN (1) CN111866009B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573388A (en) * 2018-05-08 2018-09-25 广州大学 Information of vehicles processing system and method based on block chain
CN109191230A (en) * 2018-07-16 2019-01-11 中国联合网络通信集团有限公司 Vehicle leasing method, equipment and storage medium
CN109523791A (en) * 2018-10-31 2019-03-26 武汉烽火众智数字技术有限责任公司 A kind of early warning analysis method and device for being detained vehicle
CN110047168A (en) * 2019-04-15 2019-07-23 优信拍(北京)信息科技有限公司 Management method, device, equipment and the system of information of vehicles
WO2019175006A1 (en) * 2018-03-16 2019-09-19 Audi Ag Method for exchanging data with a vehicle control unit
CN110428255A (en) * 2019-07-05 2019-11-08 深圳壹账通智能科技有限公司 A kind of vehicle data management method and device based on block chain
CN110717809A (en) * 2019-10-09 2020-01-21 重庆特斯联智慧科技股份有限公司 Vehicle transaction method and device based on big data, electronic equipment and computer readable medium
CN110889140A (en) * 2019-11-28 2020-03-17 腾讯科技(深圳)有限公司 Data processing method and storage medium
US20200178198A1 (en) * 2019-02-12 2020-06-04 Intel Corporation Server selection for vehicle communications and applications
CN111246471A (en) * 2020-01-10 2020-06-05 中国联合网络通信集团有限公司 Terminal access method and device
CN111427923A (en) * 2020-03-19 2020-07-17 财付通支付科技有限公司 Vehicle information query method and device based on block chain and storage medium
CN111431988A (en) * 2020-03-19 2020-07-17 财付通支付科技有限公司 Vehicle information storage method and device based on block chain and storage medium
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019175006A1 (en) * 2018-03-16 2019-09-19 Audi Ag Method for exchanging data with a vehicle control unit
CN108573388A (en) * 2018-05-08 2018-09-25 广州大学 Information of vehicles processing system and method based on block chain
CN109191230A (en) * 2018-07-16 2019-01-11 中国联合网络通信集团有限公司 Vehicle leasing method, equipment and storage medium
CN109523791A (en) * 2018-10-31 2019-03-26 武汉烽火众智数字技术有限责任公司 A kind of early warning analysis method and device for being detained vehicle
US20200178198A1 (en) * 2019-02-12 2020-06-04 Intel Corporation Server selection for vehicle communications and applications
CN110047168A (en) * 2019-04-15 2019-07-23 优信拍(北京)信息科技有限公司 Management method, device, equipment and the system of information of vehicles
CN110428255A (en) * 2019-07-05 2019-11-08 深圳壹账通智能科技有限公司 A kind of vehicle data management method and device based on block chain
CN110717809A (en) * 2019-10-09 2020-01-21 重庆特斯联智慧科技股份有限公司 Vehicle transaction method and device based on big data, electronic equipment and computer readable medium
CN110889140A (en) * 2019-11-28 2020-03-17 腾讯科技(深圳)有限公司 Data processing method and storage medium
CN111246471A (en) * 2020-01-10 2020-06-05 中国联合网络通信集团有限公司 Terminal access method and device
CN111427923A (en) * 2020-03-19 2020-07-17 财付通支付科技有限公司 Vehicle information query method and device based on block chain and storage medium
CN111431988A (en) * 2020-03-19 2020-07-17 财付通支付科技有限公司 Vehicle information storage method and device based on block chain and storage medium
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device

Also Published As

Publication number Publication date
CN111866009B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
US11438173B2 (en) Methods and apparatus for providing blockchain participant identity binding
CN111464980B (en) Electronic evidence obtaining device and method based on block chain in Internet of vehicles environment
US11223487B2 (en) Method and system for secure blockchain-based vehicular digital forensics
CN109922039B (en) Semi-centralized identity management method based on block chain technology
CN110633963B (en) Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
CN111556120B (en) Data processing method and device based on block chain, storage medium and equipment
CN110769035B (en) Block chain asset issuing method, platform, service node and storage medium
CN110490610B (en) Community management system based on block chain
CN111798209A (en) Engineering project management method based on block chain, electronic equipment and storage medium
CN111259439B (en) Intangible asset management service platform based on block chain and implementation method thereof
CN111445238A (en) Electronic deposit certificate system based on block chain
CN110955699B (en) Decentralized electronic academic certificate checking method and system
CN110599270B (en) Electronic bill generation method and device and computer equipment
CN113326533B (en) Electronic license service system and method based on blockchain and distributed file storage
KR102131206B1 (en) Method, service server and authentication server for providing corporate-related services, supporting the same
US20240187259A1 (en) Method and apparatus for generating, providing and distributing a trusted electronic record or certificate based on an electronic document relating to a user
CN114969786A (en) Block chain-based insurance function data processing method, node and system
CN111866009B (en) Vehicle information updating method and device
CN111866010B (en) Vehicle information updating method and device
CN112950209A (en) Nuclear power experience feedback information management method and system based on block chain
CN115225346B (en) Data evidence storage system oriented to credit investigation big data field
CN112163917B (en) Bill processing method and device based on blockchain, medium and electronic equipment
CN115310978A (en) Transaction method and device for digital assets
CN114218583A (en) File access method, block chain system, electronic device and computer readable medium
CN113992705A (en) Vehicle networking system construction method, device, equipment and medium based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant