CN111935252B - Information updating method based on block chain and server - Google Patents

Information updating method based on block chain and server Download PDF

Info

Publication number
CN111935252B
CN111935252B CN202010743894.9A CN202010743894A CN111935252B CN 111935252 B CN111935252 B CN 111935252B CN 202010743894 A CN202010743894 A CN 202010743894A CN 111935252 B CN111935252 B CN 111935252B
Authority
CN
China
Prior art keywords
vehicle
information
hash value
terminal
license plate
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.)
Active
Application number
CN202010743894.9A
Other languages
Chinese (zh)
Other versions
CN111935252A (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 CN202010743894.9A priority Critical patent/CN111935252B/en
Publication of CN111935252A publication Critical patent/CN111935252A/en
Application granted granted Critical
Publication of CN111935252B publication Critical patent/CN111935252B/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
    • 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
    • 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/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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 Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application discloses an information updating method and a server based on a block chain, wherein the method comprises the following steps: acquiring a first broadcast message sent by an operator node from a block chain network; the second hash value is obtained by carrying out hash operation on a second code by the terminal, and the second code is obtained by coding the information of the second vehicle by the terminal according to a preset mode; the method comprises the steps of obtaining first storage information and second storage information which are stored in advance, coding the first storage information to obtain a third code and coding the second storage information to obtain a fourth code according to a preset mode; performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value; sequencing the third hash value and the fourth hash value according to a preset time sequence to obtain a second sequencing result; and updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result.

Description

Information updating method based on block chain and server
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information updating method and a server based on a block chain.
Background
At present, 10 new measures for the traffic management reform of the department of public security are announced and released by the department of public security. The 10 new measures comprise 5 types of services which can be accessed in different places and 5 convenient and fast services. The service of the remote communication comprises the following steps: the owner can update the original license plate number to other own vehicles of the same type, so that the owner can keep the original license plate number unchanged.
Because the user name in the block chain network is not the real name of the user, if the license plate number is updated in the block chain network mode, the confidentiality of the information is poor, the privacy information of the vehicle owner is easy to be revealed, and the user experience is poor.
Disclosure of Invention
Therefore, the information updating method and the server based on the block chain are provided to solve the problem that in the process of changing the vehicle number, the privacy information of the terminal is easily leaked, and the customer experience is poor.
In order to achieve the above object, a first aspect of the present application provides an information updating method based on a block chain, where the method includes: acquiring a first broadcast message sent by an operator node from a block chain network, wherein the first broadcast message comprises a first sequencing result, a first hash value and a second hash value, the first sequencing result is a result of sequencing the first hash value and the second hash value by a terminal inquired by the operator node, the first hash value is a value obtained by performing hash operation on a first code by the terminal, and the first code is a value obtained by encoding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by carrying out hash operation on a second code by the terminal, and the second code is obtained by coding the information of the second vehicle by the terminal according to a preset mode; the method comprises the steps of obtaining first storage information and second storage information which are stored in advance, coding the first storage information to obtain a third code and coding the second storage information to obtain a fourth code according to a preset mode; performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value; sequencing the third hash value and the fourth hash value according to a preset time sequence to obtain a second sequencing result; and updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result.
In some implementations, before the step of acquiring the first broadcast message sent by the operator node from the blockchain network, the method further includes: acquiring identity information of a user to which a terminal belongs in a mode of block chaining; distributing block chain information for the terminal according to the identity information, wherein the block chain information comprises a block chain identifier of the terminal, a public key and a private key of the terminal; and generating and sending a second broadcast message to the blockchain network according to the identity information and the blockchain information.
In some implementations, before the step of acquiring the first broadcast message sent by the operator node from the blockchain network, the method further includes: acquiring a vehicle information exchange request sent by a terminal from a block chain network, wherein the vehicle information exchange request comprises a block chain identifier, a license plate interchange identifier, a license plate number of a first vehicle and a license plate number of a second vehicle; when the type of the first vehicle is determined to be the same as that of the second vehicle and the city to which the first vehicle belongs is determined to be the same as that of the second vehicle, generating and sending a third broadcast message to a block chain network according to identity information of a user to which the terminal belongs and an inquiry request identifier, so that the operator node obtains the third broadcast message, wherein the inquiry request identifier is used for indicating the operator node to send an inquiry request to the terminal, and the information of the first vehicle and the information of the second vehicle fed back by the terminal are obtained.
In some implementations, updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sorting result and the first sorting result includes: if the following conditions are simultaneously satisfied: the second sorting result is the same as the first sorting result, the third hash value is the same as the first hash value, and the fourth hash value is the same as the second hash value; and updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the license plate interchange identification.
In some implementations, the information of the first vehicle includes hardware information of the first vehicle and a check-in time of the first vehicle, and the information of the second vehicle includes hardware information of the second vehicle and a check-in time of the second vehicle; the preset time sequence is a sequence generated according to the annual check time of the vehicle, or a sequence generated according to the purchase time of the vehicle.
In some implementations, updating the license plate number of the first vehicle and the license plate number of the second vehicle based on the license plate interchange identifier includes: replacing the license plate number of the second vehicle with the license plate number of the first vehicle according to the license plate interchange identification; meanwhile, replacing the license plate number of the first vehicle by the license plate number of the second vehicle; and keeping the hardware information of the first vehicle, the vehicle inspection time of the first vehicle, the hardware information of the second vehicle and the vehicle inspection time of the second vehicle unchanged.
In some implementations, after the step of updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sorting result and the first sorting result, the method further includes: sending a fourth broadcast message to the block chain network so that the vehicle inspection plant node can obtain and update the vehicle record information of the vehicle inspection plant node according to the fourth broadcast message; the fourth broadcast message comprises a block chain identifier of the terminal, identity information of a user to which the terminal belongs, a first hash value, a second hash value, an updated license plate number of the first vehicle and an updated license plate number of the second vehicle.
In order to achieve the above object, a second aspect of the present application provides an information updating method based on a block chain, including: acquiring a third broadcast message sent by a node of a vehicle management station from a block chain network, wherein the third broadcast message comprises identity information of a user to which a terminal belongs and a query request identifier, and the query request identifier is used for indicating the node to send a query request to the terminal so as to obtain information of a first vehicle and information of a second vehicle fed back by the terminal; searching an operator database according to the identity information of the user to which the terminal belongs, and acquiring a network identifier of the terminal corresponding to the identity information of the user to which the terminal belongs; sending a query request to the terminal in a mobile switching network mode according to the network identifier of the terminal; obtaining an inquiry response fed back by a terminal through a mobile switching network, wherein the inquiry response comprises a first sequencing result, a first hash value and a second hash value, the first sequencing result is a result obtained by sequencing the first hash value and the second hash value according to a preset time sequence by the terminal, the first hash value is a value obtained by carrying out hash operation on a first code by the terminal, and the first code is a value obtained by coding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by carrying out hash operation on a second code by the terminal, and the second code is obtained by coding the information of the second vehicle by the terminal according to a preset mode; and generating and sending a first broadcast message to the block chain network according to the first sequencing result, the first hash value and the second hash value, so that the license plate number of the first vehicle and the license plate number of the second vehicle are updated according to the first sequencing result and the second sequencing result calculated by the vehicle management node.
In some implementations, before the step of acquiring the third broadcast message sent by the vehicle management node from the blockchain network, the method further includes: and acquiring a second broadcast message sent by the vehicle management station node from the block chain network, wherein the second broadcast message comprises the identity information of the user to which the terminal belongs and the block chain information of the terminal.
In order to achieve the above object, a third aspect of the present application provides a vehicle authority node server, including: the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining a first broadcast message sent by an operator node from a block chain network, the first broadcast message comprises a first sequencing result, a first hash value and a second hash value, the first sequencing result is a result obtained by sequencing the first hash value and the second hash value by a terminal inquired by the operator node, the first hash value is a value obtained by carrying out hash operation on a first code by the terminal, and the first code is a value obtained by coding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by carrying out hash operation on a second code by the terminal, and the second code is obtained by coding the information of the second vehicle by the terminal according to a preset mode; the encoding module is used for acquiring pre-stored first storage information and second storage information, respectively encoding the first storage information to acquire a third code and encoding the second storage information to acquire a fourth code according to a preset mode; the Hash operation module is used for respectively carrying out Hash operation on the third code and the fourth code to obtain a third Hash value and a fourth Hash value; the sorting module is used for sorting the third hash value and the fourth hash value according to a preset time sequence to obtain a second sorting result; and the updating module is used for updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result.
According to the information updating method and the server based on the block chain, a first broadcast message sent by an operator node is obtained, a first Hash value in the first broadcast message is a value obtained by carrying out Hash operation on a first code by a terminal, and the first code is a value obtained by coding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding the information of the second vehicle according to a preset mode, so that the information sent by the terminal is prevented from being leaked, and the safety of the information is ensured; meanwhile, according to a preset mode, the first storage information is coded to obtain a third code, the second storage information is coded to obtain a fourth code, the first storage information and the second storage information are prevented from being leaked, and privacy of user information is further guaranteed. And updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result, so that the updating accuracy of the license plate numbers is ensured, and the user experience is improved.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing in detail exemplary embodiments thereof with reference to the attached drawings, in which:
fig. 1 illustrates a flowchart of an information updating method based on a blockchain in an embodiment of the present application.
Fig. 2 is a flowchart illustrating an information updating method based on a blockchain in another embodiment of the present application.
Fig. 3 is a flowchart illustrating an information updating method based on a blockchain in yet another embodiment of the present application.
Fig. 4 shows a block diagram of the components of the node server of the vehicle management station in the embodiment of the present application.
Fig. 5 shows a block diagram of a block chain-based information update system in an embodiment of the present application.
Fig. 6 shows a flowchart of an operating method of the information updating system based on the blockchain in the embodiment of the present application.
In the drawings:
401: the first obtaining module 402: coding module
403: the hash operation module 404: sorting module
405: the update module 501: terminal device
502: the vehicle management station node server 503: node server of vehicle inspection factory
504: operator node server
Detailed Description
The following detailed description of embodiments of the present application will be made with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present application, are given by way of illustration and explanation only, and are not intended to limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating an information updating method based on a blockchain in an embodiment of the present application, where the method is applicable to a node server of a vehicle management center. As shown in fig. 1, includes:
step 110, obtain a first broadcast message sent by an operator node from a blockchain network.
The first broadcast message comprises a first sequencing result, a first hash value and a second hash value, the first sequencing result is a result obtained by sequencing the first hash value and the second hash value by a terminal inquired by an operator node, the first hash value is a value obtained by carrying out hash operation on a first code by the terminal, and the first code is a value obtained by coding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding the information of the second vehicle according to a preset mode.
In some implementations, the information of the first vehicle includes hardware information of the first vehicle and a check-in time of the first vehicle, and the information of the second vehicle includes hardware information of the second vehicle and a check-in time of the second vehicle.
The hardware information may be a device Number of the Vehicle engine, or a Vehicle Identification Number (VIN) of the Vehicle. The hardware information is an identifier for distinguishing different vehicles, and the hardware information of each vehicle is unique. The hardware information is only an example, and may be specifically set according to specific situations, and other hardware information not described is also within the protection scope of the present application, and is not described herein again.
And step 120, acquiring first storage information and second storage information which are stored in advance, and coding the first storage information to acquire a third code and coding the second storage information to acquire a fourth code according to a preset mode.
And step 130, performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value.
And 140, sorting the third hash value and the fourth hash value according to a preset time sequence to obtain a second sorting result.
The preset time sequence is a sequence generated according to annual check time of the vehicle or a sequence generated according to purchase time of the vehicle. The preset time sequence is only illustrated by way of example, and may be specifically set according to specific situations, and other non-illustrated preset time sequences are also within the protection scope of the present application and are not described herein again.
And 150, updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result.
It should be noted that, the updating may be to exchange the license plate number of the first vehicle with the license plate number of the second vehicle, so that the user can manage the named vehicles conveniently, and convenience of the user is improved.
In some implementations, step 150 includes: if the following conditions are simultaneously satisfied: the second sorting result is the same as the first sorting result, the third hash value is the same as the first hash value, and the fourth hash value is the same as the second hash value; and updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the license plate interchange identification.
It should be noted that only when the above conditions are simultaneously satisfied, it can be determined that the license plate numbers of two vehicles can be updated according to the license plate interchange identifier, so that the vehicle numbers are prevented from being updated to wrong vehicles, and the safety of license plate number updating is ensured. Moreover, by comparing the hash values, the privacy information of the vehicle is prevented from being revealed, and the user experience is improved.
In some implementations, updating the license plate number of the first vehicle and the license plate number of the second vehicle based on the license plate interchange identifier includes: replacing the license plate number of the second vehicle with the license plate number of the first vehicle according to the license plate interchange identification; meanwhile, replacing the license plate number of the first vehicle by the license plate number of the second vehicle; and keeping the hardware information of the first vehicle, the vehicle inspection time of the first vehicle, the hardware information of the second vehicle and the vehicle inspection time of the second vehicle unchanged.
The license plate numbers of the two vehicles are interchanged to meet the requirements of the user to which the terminal belongs. And when the license plate numbers are exchanged, the hardware information of the first vehicle, the vehicle inspection time of the first vehicle, the hardware information of the second vehicle and the vehicle inspection time of the second vehicle are kept unchanged, so that the hardware information and the vehicle inspection time of the vehicles are not tampered, and the safety of the vehicle information is ensured.
In this embodiment, a first broadcast message sent by an operator node is acquired, where a first hash value in the first broadcast message is a value obtained by a terminal performing hash operation on a first code, and the first code is a value obtained by the terminal encoding information of a first vehicle according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding the information of the second vehicle according to a preset mode, so that the information sent by the terminal is prevented from being leaked, and the safety of the information is ensured; meanwhile, according to a preset mode, the first storage information is coded to obtain a third code, the second storage information is coded to obtain a fourth code, the first storage information and the second storage information are prevented from being leaked, and privacy of user information is further guaranteed. And updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result, so that the updating accuracy of the license plate numbers is ensured, and the user experience is improved.
The embodiment of the present application provides another possible implementation manner, where before step 110, the method further includes: acquiring identity information of a user to which a terminal belongs in a mode of block chaining; distributing block chain information for the terminal according to the identity information, wherein the block chain information comprises a block chain identifier of the terminal, a public key and a private key of the terminal; and generating and sending a second broadcast message to the blockchain network according to the identity information and the blockchain information so that the operator node determines the identifier of the terminal according to the identity information.
The mode under the block chain can be a wireless communication mode, a point-to-point communication mode, a short-distance communication mode and other different non-block chain communication modes. The above methods for block chain linking are only examples, and may be specifically set according to actual situations, and other methods for block chain linking not described are also within the scope of the present application, and are not described herein again.
The block chain information is distributed to the terminal according to the identity information of the user to which the terminal belongs, so that the block chain information of the terminal can correspond to the identity information of the user to which the terminal belongs, and the identity information of the terminal is guaranteed to be real and effective.
The embodiment of the present application provides another possible implementation manner, where before step 110, the method further includes: acquiring a vehicle information exchange request sent by a terminal from a block chain network, wherein the vehicle information exchange request comprises a block chain identifier, a license plate interchange identifier, a license plate number of a first vehicle and a license plate number of a second vehicle; and when the type of the first vehicle is determined to be the same as that of the second vehicle and the city to which the first vehicle belongs is determined to be the same as that of the second vehicle, generating and sending a third broadcast message to the block chain network according to the identity information of the user to which the terminal belongs and the query request identifier, so that the operator node obtains the third broadcast message.
The inquiry request identifier is used for indicating the operator node to send an inquiry request to the terminal so as to obtain the information of the first vehicle and the information of the second vehicle fed back by the terminal. Specifically, the terminal can encode or perform hash operation on the information of the first vehicle and the information of the second vehicle, process the information, and feed back the hash value obtained through calculation to the operator node, so as to ensure that the information of the terminal is not leaked and improve the safety of user information.
Fig. 2 is a flowchart illustrating an information updating method based on a blockchain in another embodiment of the present application. As shown in fig. 2, the following steps are included.
Step 210, a first broadcast message sent by an operator node is obtained from a blockchain network.
Step 220, obtaining pre-stored first storage information and second storage information, and coding the first storage information to obtain a third code and coding the second storage information to obtain a fourth code according to a preset mode.
And step 230, performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value.
And 240, sorting the third hash value and the fourth hash value according to a preset time sequence to obtain a second sorting result.
And step 250, updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result.
It should be noted that steps 210 to 250 in this embodiment are the same as steps 110 to 150 in the previous embodiment, and are not described again here.
Step 260, sending a fourth broadcast message to the blockchain network.
The fourth broadcast message comprises a block chain identifier of the terminal, identity information of a user to which the terminal belongs, a first hash value, a second hash value, an updated license plate number of the first vehicle and an updated license plate number of the second vehicle.
Specifically, after the vehicle inspection factory node obtains the fourth broadcast message, the fourth broadcast message is analyzed, so that the block chain identifier of the terminal, the identity information of the user to which the terminal belongs, the first hash value, the second hash value, the updated license plate number of the first vehicle and the updated license plate number of the second vehicle can be obtained. And then, the vehicle inspection factory node inquires a database stored in the vehicle inspection factory node according to the block chain identifier of the terminal, and if the information is determined to be correct, the vehicle record information of the vehicle inspection factory node is updated by using the updated information.
In this embodiment, the fourth broadcast message is sent to the blockchain network, so that the vehicle inspection factory node can obtain the updated information, update the locally stored vehicle record information, facilitate subsequent management and query on the vehicle information, and improve the processing speed of the vehicle information.
Fig. 3 is a flowchart illustrating an information updating method based on a blockchain in an embodiment of the present application. The method can be applied to an operator node server. As shown in fig. 3, the following steps are included.
Step 310, acquiring a third broadcast message sent by the vehicle management node from the blockchain network.
The third broadcast message comprises identity information of a user to which the terminal belongs and a query request identifier, wherein the query request identifier is used for indicating the node to send a query request to the terminal so as to obtain information of the first vehicle and information of the second vehicle fed back by the terminal.
Step 320, searching the operator database according to the identity information of the user to which the terminal belongs, and obtaining the network identifier of the terminal corresponding to the identity information of the user to which the terminal belongs.
Step 330, sending a query request to the terminal through a mobile switching network according to the network identifier of the terminal.
Step 340, obtaining the inquiry response fed back by the terminal through the mobile switching network.
The inquiry response comprises a first sequencing result, a first hash value and a second hash value, wherein the first sequencing result is obtained by sequencing the first hash value and the second hash value according to a preset time sequence by the terminal, the first hash value is obtained by carrying out hash operation on a first code by the terminal, and the first code is obtained by coding the information of the first vehicle by the terminal according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding the information of the second vehicle according to a preset mode.
And 350, generating and sending a first broadcast message to the blockchain network according to the first sequencing result, the first hash value and the second hash value.
Specifically, the license plate number of the first vehicle and the license plate number of the second vehicle are updated by the vehicle management node according to the first sequencing result and the second sequencing result calculated by the vehicle management node. For example, the license plate number of the first vehicle and the license plate number of the second vehicle are exchanged to meet the requirements of users, and the users can conveniently manage the vehicle information.
In the embodiment, the network identifier of the terminal corresponding to the identity information of the user to which the terminal belongs is obtained by searching the operator database according to the identity information of the user to which the terminal belongs; and sending a query request to the terminal in a mobile switching network mode according to the network identifier of the terminal, and generating and sending a first broadcast message to the block chain network after obtaining a first sequencing result, a first hash value and a second hash value fed back by the terminal. Under the condition that the user changes the network identifier, the first sequencing result, the first hash value and the second hash value fed back by the terminal can still be obtained, and the condition that the terminal information cannot be obtained is avoided. After the vehicle management node obtains the first sequencing result, the first hash value and the second hash value, the license plate number of the first vehicle and the license plate number of the second vehicle are updated according to the first sequencing result and the second sequencing result calculated by the vehicle management node, so that the updating efficiency of the license plate numbers of the vehicles is improved, and the user experience degree is high.
Another possible implementation manner is provided in the embodiment of the present application, where before step 310, the method further includes: and acquiring a second broadcast message sent by the vehicle management station node from the block chain network, wherein the second broadcast message comprises the identity information of the user to which the terminal belongs and the block chain information of the terminal.
The second broadcast message sent by the vehicle management station node is acquired from the block chain network, so that the identity information of the user to which the terminal belongs and the block chain information of the terminal are acquired, the block chain information of the terminal and the identity information of the user to which the terminal belongs can be ensured to be corresponding, the terminal is ensured to be real and reliable, the disorder of the terminal information is avoided, the vehicle exchange efficiency is improved, and the user experience degree is improved.
Fig. 4 is a schematic structural diagram of a node server of a vehicle management station according to an embodiment of the present application, and specific implementation of the server may refer to related description of the first embodiment, and repeated details are not repeated. It should be noted that the specific implementation of the server in this embodiment is not limited to the above embodiment, and other undescribed embodiments are also within the scope of the server.
As shown in fig. 4, the node server of the vehicle management station specifically includes: the car management station node server comprises: a first obtaining module 401, configured to obtain a first broadcast message sent by an operator node from a blockchain network, where the first broadcast message includes a first ordering result, a first hash value, and a second hash value, the first ordering result is a result obtained by the operator node ordering the first hash value and the second hash value, the first hash value is a value obtained by a terminal performing hash operation on a first code, and the first code is a value obtained by the terminal encoding information of a first vehicle according to a preset mode; the second hash value is obtained by carrying out hash operation on a second code by the terminal, and the second code is obtained by coding the information of the second vehicle by the terminal according to a preset mode; the encoding module 402 is configured to acquire first storage information and second storage information which are stored in advance, and encode the first storage information to obtain a third code and encode the second storage information to obtain a fourth code according to a preset mode; a hash operation module 403, configured to perform a hash operation on the third code and the fourth code, respectively, to obtain a third hash value and a fourth hash value; the sorting module 404 is configured to sort the third hash value and the fourth hash value according to a preset time sequence to obtain a second sorting result; and an updating module 405, configured to update the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sorting result and the first sorting result.
In the embodiment, a first broadcast message sent by an operator node is acquired through a first acquisition module, a first hash value in the first broadcast message is a value obtained by a terminal performing hash operation on a first code, and the first code is a value obtained by the terminal encoding information of a first vehicle according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding the information of the second vehicle according to a preset mode, so that the information sent by the terminal is prevented from being leaked, and the safety of the information is ensured; meanwhile, the coding module is used for coding the first storage information respectively to obtain a third code and coding the second storage information to obtain a fourth code according to a preset mode, so that the first storage information and the second storage information are prevented from being leaked, and the privacy of user information is further guaranteed. And updating the license plate number of the first vehicle and the license plate number of the second vehicle by using the updating module according to the second sequencing result and the first sequencing result, so that the updating accuracy of the license plate numbers is ensured, and the user experience is improved.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, a unit that is not so closely related to solving the technical problem proposed by the present application is not introduced in the present embodiment, but it does not indicate that no other unit exists in the present embodiment.
Fig. 5 shows a block diagram of a block chain-based information updating system according to an embodiment of the present application. As shown in fig. 5, includes: a terminal 501, a vehicle management node server 502, a vehicle inspection station node server 503 and an operator node server 504.
The vehicle management station node server 502 is an originator node of the block chain, and issues an founding block to the block chain in a manner of sending a broadcast message signed by a private key of the vehicle management station node server 502. The broadcast message specifically includes: the mobile phone number of the terminal 501, the block chain identifier and the public key of the node server 502 of the vehicle management station, and the block chain identifier and the public key of the node server 503 of the vehicle inspection factory.
Fig. 6 is a flowchart illustrating a method for operating an information updating system based on a blockchain in an embodiment of the present application. As shown in fig. 6, the method specifically includes the following steps.
Step 601, in a block chaining mode, the terminal 501 sends a mobile phone number and identity information (for example, a name and an identification number of a user of the terminal 501, etc.) of the user to which the terminal 501 belongs to the vehicle management station node server 502.
The mode under the blockchain may include various non-blockchain communication modes such as a wireless communication mode, a peer-to-peer communication mode, and a short-range communication mode. The above methods for block chain linking are only examples, and may be specifically set according to actual situations, and other methods for block chain linking not described are also within the scope of the present application, and are not described herein again.
In step 602, the node server 502 of the vehicle management station allocates blockchain information (for example, a blockchain identifier and a public key and a private key of the terminal 501) to the terminal 501 according to the obtained identity information of the user to which the terminal 501 belongs.
Step 603, the node server 502 of the vehicle management station generates and sends a second broadcast message to the blockchain network according to the identity information and the blockchain information of the user to which the terminal 501 belongs, so that each node in the blockchain can acquire the blockchain information of the terminal 501.
In step 604, the terminal 501 performs private key signature on the vehicle information exchange request, and generates and sends the signed vehicle information exchange request to the blockchain network.
It should be noted that the first vehicle M and the second vehicle N are both vehicles under the user name to which the terminal 501 belongs. The vehicle information exchange request may include: the block chain identifier of the terminal 501, the license plate interchange identifier, the identity information of the user to which the terminal 501 belongs encrypted by using the public key of the vehicle management node server 502 according to a pre-agreed algorithm, the license plate number of the first vehicle M (for example, kyoto ABC666) encrypted by using the public key of the vehicle management node server 502 according to a pre-agreed algorithm, the annual inspection time validity period of the first vehicle M (for example, 31/5/2020/year), the license plate number of the second vehicle N (for example, DEF 123/kyoto) encrypted by using the public key of the vehicle management node server 502 according to a pre-agreed algorithm, and the annual inspection time validity period of the second vehicle N (for example, 28/2/month 2021/year).
In step 605, the node server 502 of the vehicle management station obtains the vehicle information exchange request sent by the terminal 501 from the blockchain network. Firstly, the vehicle management station node server 502 searches a block chain account book, obtains a public key corresponding to a block chain identifier of the terminal 501, verifies a private key signature of the vehicle information exchange request by using the public key, and decrypts each encrypted information (for example, the identity information of the user to which the terminal 501 belongs, the encrypted license plate number of the first vehicle M and its annual inspection time validity period, the encrypted license plate number of the second vehicle N and its annual inspection time validity period) in the vehicle information exchange request according to a predetermined algorithm by using the private key of the vehicle management station node server 502 if the verification is passed, so as to obtain the identity information of the user to which the terminal 501 belongs, the license plate number of the first vehicle M and its annual inspection time validity period, and the license plate number of the second vehicle N and its annual inspection time validity period. The node of the node server 502 of the vehicle management station queries a database according to the block chain identifier of the terminal 501 to determine whether the information is correct. If the first vehicle M and the second vehicle N are correct, the database is inquired to judge whether the first vehicle M and the second vehicle N belong to the same city and whether the vehicle types of the first vehicle M and the second vehicle N are the same.
In step 606, if it is determined that the first vehicle M and the second vehicle N belong to the same city (for example, the first vehicle M and the second vehicle N belong to beijing) and the vehicle types are the same (for example, both are non-operation type private cars), the vehicle management node server 502 sends a third broadcast message to the blockchain network, so that the operator node server 504 obtains the third broadcast message.
Wherein the third broadcast message comprises: identity information and query request identification of the user to which the terminal 501 belongs. Moreover, the identity information and the query request identifier of the user to which the terminal 501 belongs need to be encrypted by using the public key of the operator node server 504 according to a predetermined algorithm, so as to ensure the security of the identity information and the query request identifier. The query request identifier is used to indicate that the operator node server 504 needs to send a query request to the terminal to obtain the information of the first vehicle M and the information of the second vehicle N fed back by the terminal.
In step 607, the operator node server 504 obtains a third broadcast message from the blockchain network. The private key of the user is used first, and the identity information and the query request identifier of the user to which the terminal 501 belongs, which are encrypted by using the public key of the operator node server 504 in the third broadcast message, are decrypted according to a predetermined algorithm, so that the identity information and the query request identifier of the user to which the terminal 501 belongs are obtained. The operator node server 504 searches an operator database (or an operator customer service system) according to the identity information of the user to which the terminal 501 belongs, and obtains a network identifier (for example, a mobile phone number corresponding to the terminal 501) of the terminal 501 corresponding to the identity information of the user to which the terminal 501 belongs.
In step 608, the operator node server 504 sends the query request to the terminal 501 through a mobile switching network (e.g. short message) according to the network identifier of the terminal 501.
It should be noted that, if the user to which the terminal 501 belongs applies for a mobile phone number in real name from multiple operators (for example, 138xxxx2345 when the user to which the terminal 501 belongs applies for a first mobile phone number in real name from a first operator, and 130xxxx5678 when the user to which the terminal 501 belongs applies for a second mobile phone number in real name from a second operator), the operator node server 504 includes a first operator node server and a second operator node server, and each operator node server needs to send an inquiry request to a corresponding mobile phone number.
For example, the first operator node server needs to send a query request to the mobile phone number 138xxxx2345, and meanwhile, the second operator node server needs to send a query request to the mobile phone number 130xxxx 5678. The operator node server 504 comprehensively evaluates the obtained information of the first vehicle M and the information of the second vehicle N through the information fed back by the plurality of mobile phone numbers.
Step 609, after receiving the query request sent by the operator node server 504, the terminal 501 encodes the information of the first vehicle M and the information of the second vehicle N respectively according to a preset mode, so as to obtain the first code and the second code. Then, carrying out Hash operation on the first code to obtain a first Hash value; and carrying out Hash operation on the second code to obtain a second Hash value. Sequencing the first hash value and the second hash value according to a preset time sequence to obtain a first sequencing result; and generating inquiry response information according to the first sequencing result, the first hash value and the second hash value.
Wherein the information of the first vehicle M includes: the transmitter number of the first vehicle M and the vehicle annual inspection time corresponding to the first vehicle M, and the transmitter number of the second vehicle N and the vehicle annual inspection time corresponding to the second vehicle N. The preset time sequence may be the sequence of annual inspection time of the vehicle, or the sequence of purchasing age of the vehicle, the preset time sequence is only an example, and may be specifically set according to specific situations in specific implementation, and other unexplained preset time sequences are also within the protection scope of the present application, and are not described herein again.
In step 610, the terminal 501 feeds back the generated query response information to the operator node server 504 through the mobile switching network.
In step 611, after the operator node server 504 obtains the query response information fed back by the terminal 501, the public key of the node server 502 of the vehicle management station is used to encrypt the query response information, and then the private key of the operator node server 504 is used to sign the encrypted query response information, so as to generate and send a first broadcast message to the blockchain network.
Step 612, after obtaining the first sequencing result, the first hash value and the second hash value sent by the terminal 501 from the block chain network, the node server 502 of the vehicle management station encodes first storage information pre-stored in the node server, generates a first storage code, encodes second storage information, and generates a second storage code; and then carrying out hash operation on the first storage code to generate a third hash value, and carrying out hash operation on the second storage code to generate a fourth hash value. And sequencing the third hash value and the fourth hash value according to a preset time sequence to obtain a second sequencing result. If the following conditions are simultaneously satisfied: the second sorting result is the same as the first sorting result, the third hash value is the same as the first hash value, and the fourth hash value is the same as the second hash value; the license plate numbers of the first vehicle M and the second vehicle N may be interchanged while keeping the engine number of the first vehicle M, the vehicle inspection time of the first vehicle M, the engine number of the second vehicle N, and the vehicle inspection time of the second vehicle N unchanged.
Wherein the first stored information is information of a first vehicle M stored in advance, and the second stored information is information of a second vehicle N stored in advance;
it should be noted that after the license plate numbers of the first vehicle M and the second vehicle N are interchanged, the specific information of the two vehicles is as follows: the license plate number of the first vehicle M is jing DEF123, the engine number of the first vehicle M remains unchanged, the annual inspection time validity period of the second vehicle M is 2020, 5 and 31, the license plate number of the second vehicle N is jing ABC666, the engine number of the second vehicle N remains unchanged, and the annual inspection time validity period of the second vehicle N is 2021, 2 and 28.
Step 613, the vehicle management station node server 502 records the specific information of the two vehicles with interchanged license plate numbers to the local, generates a fourth broadcast message according to the recorded information, signs the fourth broadcast message by using its own private key, and then sends the signed fourth broadcast message to the block chain network, so that the vehicle inspection station node server 503 obtains and updates the vehicle record information of the vehicle inspection station node server 503 according to the fourth broadcast message.
The fourth broadcast message comprises a block chain identifier of the terminal, identity information of a user to which the terminal belongs, a first hash value, a second hash value, an updated license plate number of the first vehicle and an updated license plate number of the second vehicle. For example, the block chain identifier of the terminal 501, the hash value of the id card information and the numerical information in the id card information of the user to which the terminal 501 belongs, the hash value of the name and the literal information of the name of the user to which the terminal 501 belongs, the hash value corresponding to the license plate number (jing DEF123) of the first vehicle M, the engine number (for example, 123456789) of the first vehicle M, the hash value corresponding to the license plate number (jing ABC666) of the second vehicle N, and the engine number (for example, 111222333) of the second vehicle N may be specifically included.
It should be noted that, the information in the fourth broadcast message needs to be encrypted (for example, a hash value of each information is calculated) to ensure that the information privacy of the user and the information privacy of the vehicle are not leaked.
Step 614, after obtaining the fourth broadcast message from the blockchain network, the vehicle inspection plant node server 503 searches for a blockchain account book, obtains and verifies the private key signature of the fourth broadcast message by using the public key of the vehicle management station node server 502, and if the verification is passed, searches its internal database according to the license plate numbers of the first vehicle M and the second vehicle N to obtain the identity information of the terminal 501, the information of the first vehicle M, and the information of the second vehicle N. Then, the identity information of the user to which the terminal 501 belongs in the fourth broadcast information is compared with the identity information of the user to which the terminal 501 belongs, which is stored in the internal database of the user, the engine number of the first vehicle M in the fourth broadcast information is compared with the engine number of the first vehicle M, which is stored in the internal database of the user, the engine number of the second vehicle N in the fourth broadcast information is compared with the engine number of the second vehicle N, which is stored in the internal database of the user, and if the comparison results are the same, the vehicle registration information stored locally is updated according to the fourth broadcast information. For example, the local vehicle registration information is updated using the blockchain identifier of the terminal 501, the identification card information of the user to which the terminal 501 belongs, the license plate number of the first vehicle M (jing DEF123), the engine number of the first vehicle M (e.g., 123456789), the license plate number of the second vehicle N (jing ABC666), and the engine number of the second vehicle N (e.g., 111222333).
In this embodiment, in a manner under a block chain, the terminal records the identity information and the mobile phone number of the user to which the terminal belongs to the node server of the vehicle management station, so that the node server of the vehicle management station allocates a block chain identifier, a public key and a private key to the terminal, and each node in the block chain can verify the authenticity of the identity information of the user to which the terminal belongs according to the block chain identifier of the terminal. The inquiry message is sent to the terminal through the operator node server so as to obtain the inquiry response fed back by the terminal, and even if the mobile phone number is changed by the terminal, the inquiry response fed back by the terminal can still be obtained through the operator node server, so that the convenience of information acquisition is improved. After the node server of the vehicle management station obtains the first sorting result, the first hash value and the second hash value fed back by the terminal, the engine numbers and the vehicle inspection time of the first vehicle and the second vehicle are respectively coded in a preset mode, the coded hash values are calculated, and then the two hash values are sorted according to a preset time sequence to obtain a second sorting result. By comparing the first sequencing result with the second sequencing result, the node server of the vehicle management station can verify whether the engine numbers and the vehicle inspection time of the two vehicles are correct, so that the engine numbers and the vehicle inspection time are prevented from being leaked, and the safety of vehicle information is improved.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present application, and that the present application is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the application, and these changes and modifications are to be considered as the scope of the application.

Claims (9)

1. An information updating method based on a block chain is applied to a vehicle management station node server, and the method comprises the following steps:
acquiring a first broadcast message sent by an operator node from a block chain network, wherein the first broadcast message comprises a first sequencing result, a first hash value and a second hash value, the first sequencing result is a result obtained by sequencing the first hash value and the second hash value by a terminal inquired by the operator node, the first hash value is a value obtained by performing hash operation on a first code by the terminal, and the first code is a value obtained by encoding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding information of a second vehicle according to the preset mode;
acquiring first storage information and second storage information which are stored in advance, coding the first storage information respectively according to the preset mode to obtain a third code, and coding the second storage information to obtain a fourth code;
performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value;
sequencing the third hash value and the fourth hash value according to a preset time sequence to obtain a second sequencing result;
updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result;
the updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sorting result and the first sorting result includes:
if the following conditions are simultaneously satisfied: the second sorting result is the same as the first sorting result, the third hash value is the same as the first hash value, and the fourth hash value is the same as the second hash value;
and updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the acquired license plate interchange identification.
2. The method of claim 1, wherein prior to the step of obtaining the first broadcast message sent by the operator node from the blockchain network, further comprising:
acquiring identity information of a user to which a terminal belongs in a mode of block chaining;
distributing block chain information to the terminal according to the identity information, wherein the block chain information comprises a block chain identifier of the terminal, and a public key and a private key of the terminal;
and generating and sending a second broadcast message to the block chain network according to the identity information and the block chain information.
3. The method of claim 1, wherein prior to the step of obtaining the first broadcast message sent by the operator node from the blockchain network, further comprising:
acquiring a vehicle information exchange request sent by the terminal from a block chain network, wherein the vehicle information exchange request comprises a block chain identifier, a license plate interchange identifier, a license plate number of the first vehicle and a license plate number of the second vehicle of the terminal;
and when the type of the first vehicle is determined to be the same as that of the second vehicle and the city to which the first vehicle belongs is determined to be the same as that of the second vehicle, generating and sending a third broadcast message to a block chain network according to the identity information of the user to which the terminal belongs and an inquiry request identifier so that the operator node obtains the third broadcast message, wherein the inquiry request identifier is used for indicating the operator node to send an inquiry request to the terminal so as to obtain the information of the first vehicle and the information of the second vehicle fed back by the terminal.
4. The method of claim 3, wherein the information of the first vehicle includes hardware information of the first vehicle and a check-in time of the first vehicle, and the information of the second vehicle includes hardware information of the second vehicle and a check-in time of the second vehicle; the preset time sequence is a sequence generated according to annual check time of the vehicle or a sequence generated according to purchase time of the vehicle.
5. The method of claim 4, wherein the updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the license plate interchange identifier comprises:
replacing the license plate number of the second vehicle with the license plate number of the first vehicle according to the license plate interchange identification; simultaneously, replacing the license plate number of the first vehicle with the license plate number of the second vehicle;
keeping the hardware information of the first vehicle, the vehicle inspection time of the first vehicle, the hardware information of the second vehicle and the vehicle inspection time of the second vehicle unchanged.
6. The method of claim 1, wherein after the step of updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sorting result and the first sorting result, further comprising:
sending a fourth broadcast message to a block chain network so that a vehicle inspection factory node can obtain and update vehicle record information of the vehicle inspection factory node according to the fourth broadcast message;
the fourth broadcast message comprises a block chain identifier of the terminal, identity information of a user to which the terminal belongs, a first hash value, a second hash value, an updated license plate number of the first vehicle and an updated license plate number of the second vehicle.
7. An information updating method based on a block chain is applied to an operator node server, and the method comprises the following steps:
acquiring a third broadcast message sent by a node of a vehicle management station from a block chain network, wherein the third broadcast message comprises identity information of a user to which a terminal belongs and a query request identifier, and the query request identifier is used for indicating the node to send a query request to the terminal so as to acquire information of a first vehicle and information of a second vehicle fed back by the terminal;
searching an operator database according to the identity information of the user to which the terminal belongs, and acquiring the network identifier of the terminal corresponding to the identity information of the user to which the terminal belongs;
sending a query request to the terminal in a mobile switching network mode according to the network identifier of the terminal;
obtaining an inquiry response fed back by the terminal through the mobile switching network, wherein the inquiry response comprises a first sequencing result, a first hash value and a second hash value, the first sequencing result is obtained by sequencing the first hash value and the second hash value by the terminal according to a preset time sequence, the first hash value is obtained by carrying out hash operation on a first code by the terminal, and the first code is obtained by coding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding the information of the second vehicle according to the preset mode;
generating and sending a first broadcast message to a block chain network according to the first sequencing result, the first hash value and the second hash value, so that the license plate number of the first vehicle and the license plate number of the second vehicle are updated according to the first sequencing result and a second sequencing result calculated by the vehicle management node;
the updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sorting result and the first sorting result includes:
if the following conditions are simultaneously satisfied: the second sorting result is the same as the first sorting result, a third hash value is the same as the first hash value, and a fourth hash value is the same as the second hash value;
updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the acquired license plate interchange identification;
the third hash value is a value obtained by the vehicle management station node by coding the acquired first storage information according to a preset mode to obtain a third code and performing hash operation on the third code, and the fourth hash value is a value obtained by the vehicle management station node by coding the acquired second storage information according to a preset mode to obtain a fourth code and performing hash operation on the fourth code.
8. The method of claim 7, wherein prior to the step of obtaining the third broadcast message sent by the vehicle management node from the blockchain network, further comprising:
and acquiring a second broadcast message sent by the vehicle management station node from a block chain network, wherein the second broadcast message comprises the identity information of the user to which the terminal belongs and the block chain information of the terminal.
9. A vehicle authority node server, comprising:
the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining a first broadcast message sent by an operator node from a blockchain network, the first broadcast message comprises a first sequencing result, a first hash value and a second hash value, the first sequencing result is a result obtained by sequencing the first hash value and the second hash value by the operator node, the first hash value is a value obtained by carrying out hash operation on a first code by a terminal, and the first code is a value obtained by coding information of a first vehicle by the terminal according to a preset mode; the second hash value is obtained by the terminal performing hash operation on a second code, and the second code is obtained by the terminal encoding information of a second vehicle according to the preset mode;
the encoding module is used for acquiring first storage information and second storage information which are stored in advance, respectively encoding the first storage information to acquire a third code and encoding the second storage information to acquire a fourth code according to the preset mode;
the Hash operation module is used for carrying out Hash operation on the third code and the fourth code respectively to obtain a third Hash value and a fourth Hash value;
the sorting module is used for sorting the third hash value and the fourth hash value according to a preset time sequence to obtain a second sorting result;
the updating module is used for updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the second sequencing result and the first sequencing result;
the update module is specifically configured to: if the following conditions are simultaneously satisfied: the second sorting result is the same as the first sorting result, the third hash value is the same as the first hash value, and the fourth hash value is the same as the second hash value;
and updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the acquired license plate interchange identification.
CN202010743894.9A 2020-07-29 2020-07-29 Information updating method based on block chain and server Active CN111935252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010743894.9A CN111935252B (en) 2020-07-29 2020-07-29 Information updating method based on block chain and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010743894.9A CN111935252B (en) 2020-07-29 2020-07-29 Information updating method based on block chain and server

Publications (2)

Publication Number Publication Date
CN111935252A CN111935252A (en) 2020-11-13
CN111935252B true CN111935252B (en) 2021-11-26

Family

ID=73314857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010743894.9A Active CN111935252B (en) 2020-07-29 2020-07-29 Information updating method based on block chain and server

Country Status (1)

Country Link
CN (1) CN111935252B (en)

Citations (7)

* 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
CN109242507A (en) * 2018-08-14 2019-01-18 淮北创之社信息科技有限公司 A kind of vehicle transaction retroactive method based on block chain
CN109472594A (en) * 2018-10-11 2019-03-15 平安科技(深圳)有限公司 Car data sharing method, device, equipment and storage medium based on block chain
EP3525498A1 (en) * 2018-02-08 2019-08-14 Sony Corporation Electronic devices, systems and methods for vehicular communication
WO2019175006A1 (en) * 2018-03-16 2019-09-19 Audi Ag Method for exchanging data with a vehicle control unit
CN110889520A (en) * 2019-11-29 2020-03-17 腾讯科技(深圳)有限公司 Block chain-based vehicle management method and device, terminal and storage medium
CN110958301A (en) * 2019-11-04 2020-04-03 广州亚美信息科技有限公司 Vehicle archive data processing method, device and system based on alliance chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3525498A1 (en) * 2018-02-08 2019-08-14 Sony Corporation Electronic devices, systems and methods for vehicular communication
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
CN109242507A (en) * 2018-08-14 2019-01-18 淮北创之社信息科技有限公司 A kind of vehicle transaction retroactive method based on block chain
CN109472594A (en) * 2018-10-11 2019-03-15 平安科技(深圳)有限公司 Car data sharing method, device, equipment and storage medium based on block chain
CN110958301A (en) * 2019-11-04 2020-04-03 广州亚美信息科技有限公司 Vehicle archive data processing method, device and system based on alliance chain
CN110889520A (en) * 2019-11-29 2020-03-17 腾讯科技(深圳)有限公司 Block chain-based vehicle management method and device, terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Blockchain-Based Framework for Lightweight Data Sharing and Energy Trading in V2G Network;Vikas Hassija等;《IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY》;20200630;第69卷(第6期);全文 *
基于区块链技术的车联网高效匿名认证方案;陈葳葳等;《Journal of Computer Applications》;20200618;全文 *

Also Published As

Publication number Publication date
CN111935252A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN112134698B (en) Block chain-based quick communication authentication method and system for vehicles and vehicles in Internet of vehicles
CN111882008A (en) Method and system for binding vehicle with Internet of vehicles account
CN110324335A (en) A kind of automobile method for upgrading software and system based on electronics mobile certificate
CN106899972B (en) Vehicle registration method, vehicle charging method, device and system
CN106897307A (en) A kind of method for obtaining electronic identity documents on mobile terminals
CN111245602A (en) Data right confirming method and system based on block chain
KR20200141402A (en) Method and system for collecting and managing event data which is recorded by vehicle
CN113420277B (en) Digital identity management and verification method based on intelligent contract
CN114610984A (en) Industrial Internet identification issuing and inquiring method and data identification system
CN108540335B (en) Management method and management device for equipment analysis report
CN112235290B (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
CN111935252B (en) Information updating method based on block chain and server
CN116089921B (en) Identifiable identifier generation method for distributed digital identity
CN109472890A (en) intelligent lock and intelligent lock control method
CN111885072B (en) Information updating method, server and terminal
CN111866010B (en) Vehicle information updating method and device
CN111866009B (en) Vehicle information updating method and device
CN1415084A (en) Method and system for managing property
Prakash et al. Cvin: Connected vehicle information network
CN113408005B (en) Auxiliary evaluation method, system, computer equipment and storage medium for automobile performance
CN111263328B (en) Vehicle information acquisition method and vehicle-mounted device
CN111885074B (en) Block chain-based information change method, vehicle management station node and operator node
CN111885073B (en) Vehicle granting method and server
CN111935253B (en) Block chain information updating method, vehicle management station node and operator node
CN111866014B (en) Vehicle information protection method and device

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