CN111885072A - Information updating method, server and terminal - Google Patents

Information updating method, server and terminal Download PDF

Info

Publication number
CN111885072A
CN111885072A CN202010743632.2A CN202010743632A CN111885072A CN 111885072 A CN111885072 A CN 111885072A CN 202010743632 A CN202010743632 A CN 202010743632A CN 111885072 A CN111885072 A CN 111885072A
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.)
Granted
Application number
CN202010743632.2A
Other languages
Chinese (zh)
Other versions
CN111885072B (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 CN202010743632.2A priority Critical patent/CN111885072B/en
Publication of CN111885072A publication Critical patent/CN111885072A/en
Application granted granted Critical
Publication of CN111885072B publication Critical patent/CN111885072B/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)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an information updating method, a server and a terminal, wherein the method comprises the following steps: acquiring identity information of a user to which the terminal belongs in a mode of block chain, and distributing block chain information to the terminal according to the identity information; acquiring a vehicle information exchange request sent by a terminal from a block chain network; sending an inquiry message to the terminal according to the block chain information of the terminal; responding to response information sent by the terminal through the mobile switching network, and obtaining a first sequencing result, a first hash value and a second hash value; generating a third hash value and a fourth hash value according to the first storage information and the second storage information; 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. The method and the device avoid the privacy information of the terminal from being revealed, and improve the safety of the user information so as to improve the user experience.

Description

Information updating method, server and terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information updating method, a server, and a terminal.
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 leaked, and the user experience is poor.
Disclosure of Invention
Therefore, the information updating method, the server and the terminal are provided to solve the problem that privacy information of the terminal is easily leaked to cause poor customer experience degree in the process of replacing the vehicle number.
In order to achieve the above object, a first aspect of the present application provides an information updating method, including: acquiring identity information of a user to which the terminal belongs in a mode of block chain, and distributing block chain information to the terminal according to the identity information; acquiring a vehicle information exchange request sent by a terminal from a block chain network, wherein the vehicle information exchange request comprises a license plate number of a first vehicle and a license plate number of a second vehicle; sending an inquiry message to the terminal according to the block chain information of the terminal; responding to response information sent by the terminal through a mobile switching network, and obtaining a first sequencing result, a first hash value and a second hash value, wherein the first sequencing result is a sequencing result generated by the terminal according to the first hash value and the second hash value, 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; generating a third hash value and a fourth hash value according to the first storage information and the second storage information, wherein the first storage information is pre-stored information of the first vehicle, and the second storage information is pre-stored information of the second vehicle; 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 one specific implementation, generating a third hash value and a fourth hash value according to the first storage information and the second storage information includes: according to a preset mode, coding the first storage information to obtain a third code, and coding the second storage information to obtain a fourth code; and performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value.
In one specific implementation, 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 the vehicle information exchange request.
In one particular implementation, the information of the first vehicle includes hardware information of the first vehicle and a vehicle check time of the first vehicle, and the information of the second vehicle includes hardware information of the second vehicle and a vehicle check 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 one specific implementation, 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 in the vehicle information exchange request 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 a specific implementation, after the step of obtaining the identity information of the user to which the terminal belongs by the block chain, and allocating the block chain information to the terminal according to the identity information, the method further includes: and generating and sending a first broadcast message to the blockchain network according to the identity information and the blockchain information.
In one specific implementation, 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 second 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 second broadcast message; the second 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, including: generating and sending a vehicle information exchange request to a block chain network according to the license plate number of the first vehicle and the license plate number of the second vehicle so that a vehicle management station node obtains the vehicle information exchange request; responding to an inquiry message sent by a node of a vehicle management station, and generating a first hash value and a second hash value according to the information of the first vehicle and the information of the second vehicle; sorting the first hash value and the second hash value according to a preset time sequence to obtain a first sorting result; and generating and sending response information to the vehicle management node according to the first sequencing result, the first hash value and the second hash value, so that the vehicle management node can obtain and update the license plate number of the first vehicle and the license plate number of the second vehicle according to the first sequencing result and the second sequencing result calculated by the vehicle management.
In one embodiment, before the step of generating and sending the vehicle information exchange request to the blockchain network according to the license plate number of the first vehicle and the license plate number of the second vehicle, the method further includes: sending the identity information of the user to which the terminal belongs to a node of a vehicle management station in a block chain-down mode, so that the node of the vehicle management station distributes block chain information to the terminal according to the identity information; and acquiring a first broadcast message sent by a vehicle management station node from the block chain network, wherein the first broadcast message comprises block chain information and identity information of a user to which the terminal belongs.
In order to achieve the above object, a third aspect of the present application provides a vehicle authority node server, including: the distribution module is used for acquiring the identity information of the user to which the terminal belongs in a mode of block chain and distributing block chain information to the terminal according to the identity information; the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a vehicle information exchange request sent by a terminal from a block chain network, and the vehicle information exchange request comprises a license plate number of a first vehicle and a license plate number of a second vehicle; the sending module is used for sending an inquiry message to the terminal according to the block chain information of the terminal; the second obtaining module is used for responding to response information sent by the terminal through a mobile switching network, and obtaining a first sorting result, a first hash value and a second hash value, wherein the first sorting result is a sorting result generated by the terminal according to the first hash value and the second hash value, 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 the information of the 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 hash value generation module is used for generating a third hash value and a fourth hash value according to the first storage information and the second storage information which are stored in advance; 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, the server and the terminal, the identity information of the user to which the terminal belongs is obtained through a block chain downloading mode, and the block chain information is distributed to the terminal according to the identity information, so that the key identity information can correspond to the block chain information of the terminal, and the authenticity of the identity information of the user to which the terminal belongs is verified. After a vehicle information exchange request sent by the terminal is obtained, an inquiry message is sent to the terminal, response information sent by the terminal is obtained through a mobile exchange network, and then the license plate number of the first vehicle and the license plate number of the second vehicle are updated according to a first sequencing result in the response information and a second sequencing result obtained through calculation, so that the privacy information of the terminal is prevented from being leaked, the safety of user information is improved, and the user experience degree 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 is a flowchart illustrating an information updating method in an embodiment of the present application.
Fig. 2 is a flowchart illustrating an information updating method in another embodiment of the present application.
Fig. 3 is a flowchart illustrating an information updating method in 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 components of an information update system in an embodiment of the present application.
Fig. 6 is a flowchart illustrating a method of operating the information update system in the embodiment of the present application.
In the drawings:
401: the assignment module 402: first acquisition module
403: the sending module 404: second acquisition module
405: the hash value generation module 406: sorting module
407: the update module 501: terminal device
502: the vehicle management station node server 503: node server of vehicle inspection factory
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 schematic flow chart illustrating an information updating method according to a first 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:
and step 110, acquiring identity information of a user to which the terminal belongs in a mode of block chain, and distributing block chain information to 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.
And step 120, acquiring the vehicle information exchange request sent by the terminal from the blockchain network.
The vehicle information exchange request comprises the license plate number of the first vehicle and the license plate number of the second vehicle.
Step 130, sending the inquiry message to the terminal according to the block chain information of the terminal.
It should be noted that the inquiry message is sent to the terminal, so that the information of the first vehicle and the information of the second vehicle fed back by the terminal can be obtained, and the authenticity of the information of the first vehicle and the second vehicle can be conveniently checked.
Step 140, in response to the response message sent by the terminal through the mobile switching network, obtaining a first ordering result, a first hash value and a second hash value.
The first sorting result is a sorting result generated by the terminal according to a first hash value and a second hash value, the first hash value is a value obtained by the 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.
In one implementation, the information of the first vehicle includes hardware information of the first vehicle and a vehicle check time of the first vehicle, and the information of the second vehicle includes hardware information of the second vehicle and a vehicle check 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.
Step 150, generating a third hash value and a fourth hash value according to the first storage information and the second storage information.
Wherein the first stored information is information of a first vehicle stored in advance, and the second stored information is information of a second vehicle stored in advance.
And 160, sequencing the third hash value and the fourth hash value according to a preset time sequence to obtain a second sequencing result.
In one implementation, the predetermined chronological order is an order generated according to an annual check time of the vehicle, or an order generated according to a 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 step 170, 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 this embodiment, the identity information of the user to which the terminal belongs is obtained in a block chain downlink manner, and block chain information is allocated to the terminal according to the identity information, so that the important identity information can be corresponding to the block chain information of the terminal, so as to verify the authenticity of the identity information of the user to which the terminal belongs. After a vehicle information exchange request sent by the terminal is obtained, an inquiry message is sent to the terminal, response information sent by the terminal is obtained through a mobile exchange network, and then the license plate number of the first vehicle and the license plate number of the second vehicle are updated according to a first sequencing result in the response information and a second sequencing result obtained through calculation, so that the privacy information of the terminal is prevented from being leaked, the safety of user information is improved, and the user experience degree is improved.
The embodiment of the present application provides another possible implementation manner, wherein the generating a third hash value and a fourth hash value according to the first storage information and the second storage information in step 150 includes: according to a preset mode, coding the first storage information to obtain a third code, and coding the second storage information to obtain a fourth code; and performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value.
The preset mode may be a predetermined coding mode, such as a compression coding mode or a non-compression coding mode. The preset manner is only illustrated by way of example, and may be specifically set according to specific situations, and other non-illustrated preset manners are also within the scope of the present application and are not described herein again.
The first storage information and the second storage information are respectively coded in a preset mode to generate a third code and a fourth code, and the first storage information and the second storage information are guaranteed not to be leaked. And then, the third code and the fourth code are respectively subjected to Hash operation, so that the safety of information is further ensured.
The embodiment of the present application provides another possible implementation manner, wherein step 170 may be implemented specifically by the following manner: 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 the vehicle information exchange request.
By comparing the second sorting result with the first sorting result, comparing the third hash value with the first hash value and comparing the fourth hash value with the second hash value, only when the three comparison results are the same, the license plate numbers of two vehicles can be determined to be updated according to the license plate interchange identification, 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 one specific implementation, 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 in the vehicle information exchange request 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.
Through the license plate interchange identification, the license plate number of the first vehicle is used for replacing the license plate number of the second vehicle, and meanwhile, the license plate number of the second vehicle is used for replacing the license plate number of the first vehicle, so that the license plate numbers of the two vehicles can be interchanged, and the requirements of a user to which the terminal belongs are met. 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 some implementations, after step 110, the method further includes: and generating and sending a first broadcast message to the blockchain network according to the identity information and the blockchain information.
By sending the first broadcast message to the blockchain network, each node in the blockchain can acquire the blockchain information of the terminal. And the identity information of the user to which the terminal belongs corresponds to the blockchain information of the terminal, and each node in the blockchain can verify the authenticity of the identity information of the user to which the terminal belongs according to the blockchain identifier of the terminal.
Fig. 2 is a flowchart illustrating an information updating method in another embodiment of the present application. The method can be applied to the node server of the vehicle management station. As shown in fig. 2, includes:
step 210, obtaining the identity information of the user to which the terminal belongs by means of block chaining, and allocating block chaining information to the terminal according to the identity information.
Step 220, the vehicle information exchange request sent by the terminal is obtained from the blockchain network.
Step 230, sending the query message to the terminal according to the block chain information of the terminal.
Step 240, in response to the response message sent by the terminal through the mobile switching network, obtaining a first ordering result, a first hash value and a second hash value.
And step 250, generating a third hash value and a fourth hash value according to the first storage information and the second storage information.
And step 260, sequencing the third hash value and the fourth hash value according to a preset time sequence to obtain a second sequencing result.
And step 270, 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 270 in this embodiment are the same as steps 110 to 170 in the previous embodiment, and are not described herein again.
Step 280, sending a second broadcast message to the blockchain network.
The second 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 second broadcast message from the block chain network, it searches its internal database according to the license plate numbers of the first vehicle and the second vehicle, and obtains the identity information of the terminal, the information of the first vehicle, and the information of the second vehicle. Then, the identity information of the user to which the terminal belongs in the second broadcast information is compared with the identity information of the user to which the terminal belongs, which is stored in the internal database of the user, the engine number of the first vehicle in the second broadcast information is compared with the engine number of the first vehicle stored in the internal database of the user, the engine number of the second vehicle in the second broadcast information is compared with the engine number of the second vehicle stored in the internal database of the user, and if the comparison results are the same, the vehicle record information stored locally is updated according to the second broadcast information.
In this embodiment, the identity information of the user to which the terminal belongs is obtained in a block chain downlink manner, and block chain information is allocated to the terminal according to the identity information, so that the key identity information can be corresponding to the block chain information of the terminal, so as to verify the authenticity of the identity information of the user to which the terminal belongs. After a vehicle information exchange request sent by the terminal is obtained, an inquiry message is sent to the terminal, response information sent by the terminal is obtained through a mobile exchange network, and then the license plate number of the first vehicle and the license plate number of the second vehicle are updated according to a first sequencing result in the response information and a second sequencing result obtained through calculation, so that the privacy information of the terminal is prevented from being leaked, the safety of user information is improved, and the user experience degree is improved. And the block chain identification 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 are sent to the block chain network in a second broadcast message mode, so that the vehicle inspection factory node can obtain the updated information and update locally stored vehicle record information, subsequent management and query of vehicle information are facilitated, and the processing speed of the vehicle information is increased.
Fig. 3 is a flowchart illustrating an information updating method in another embodiment of the present application. The method can be applied to a terminal. As shown in fig. 3, includes:
and step 310, generating and sending a vehicle information exchange request to the block chain network according to the license plate number of the first vehicle and the license plate number of the second vehicle.
For example, the vehicle management station node obtains the vehicle information exchange request from the block chain network, so that the vehicle management station can record the license plate number of the first vehicle and the license plate number of the second vehicle, and the information of the first vehicle and the information of the second vehicle are conveniently compared subsequently, so as to verify the correctness of the information of the first vehicle and the information of the second vehicle.
In step 320, in response to the query message sent by the node of the vehicle management station, a first hash value and a second hash value are generated according to the information of the first vehicle and the information of the second vehicle.
In one specific implementation, according to a preset mode, encoding information of a first vehicle to generate a first code, and performing hash operation on the first code to generate a first hash value; and according to a preset mode, coding the information of the second vehicle to generate a second code, and performing hash operation on the second code to generate a second hash value.
The preset mode may be a predetermined coding mode, such as a compression coding mode or a non-compression coding mode. The preset manner is only illustrated by way of example, and may be specifically set according to specific situations, and other non-illustrated preset manners are also within the scope of the present application and are not described herein again.
Step 330, sorting the first hash value and the second hash value according to a preset time sequence to obtain a first sorting result.
The preset time sequence can be the sequence of annual inspection time of the vehicle or the sequence of purchasing years 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 340, generating and sending response information to the vehicle management station node according to the first sequencing result, the first hash value and the second hash value.
Specifically, after the node of the vehicle management station obtains the response information, the response information is analyzed to obtain a first sequencing result, a first hash value and a second hash value. And then, updating the license plate number of the first vehicle and the license plate number of the second vehicle according to the first sequencing result and a second sequencing result calculated by the vehicle management node. For example, by comparing the first sorting result with the second sorting result, if it is determined that the first sorting result is the same as the second sorting result, it is determined that the license plate number of the first vehicle and the license plate number of the second vehicle can be updated.
The license plate number of the first vehicle and the license plate number of the second vehicle are updated, and the license plate number of the first vehicle and the license plate number of the second vehicle can be interchanged to meet the personalized requirement of the vehicle owner.
In this embodiment, a vehicle management station node can obtain a requirement of a terminal by sending a vehicle information exchange request, when receiving an inquiry message sent by the vehicle management station node, a first hash value and a second hash value can be generated according to information of a first vehicle and information of a second vehicle, and the first hash value and the second hash value are sorted according to a preset time sequence, so as to obtain and send a first sorting result to the vehicle management station node, so that the vehicle management station node can compare the first sorting result with a second sorting result calculated by the city management station node itself, so as to determine and update a license plate number of the first vehicle and a license plate number of the second vehicle, so as to meet an individualized requirement of a user to which the terminal belongs, and simultaneously, avoid privacy information of the terminal from being leaked, and ensure information security of the terminal.
Another possible implementation manner is provided in the embodiment of the present application, where before step 310, the method further includes: sending the identity information of the user to which the terminal belongs to a node of a vehicle management station in a block chain-down mode, so that the node of the vehicle management station distributes block chain information to the terminal according to the identity information; and acquiring a first broadcast message sent by a vehicle management station node from the block chain network, wherein the first broadcast message comprises block chain information and identity information of a user to which the terminal belongs.
And sending the identity information of the user to which the terminal belongs to a vehicle management station node in a mode under the block chain, so that the vehicle management station node can distribute the block chain information to the terminal according to the identity information, the block chain information of the terminal is ensured to be corresponding to the identity information of the user to which the terminal belongs, and other nodes in the block chain network can timely verify the authenticity of the identity information of the user to which the terminal belongs.
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 descriptions in the first embodiment, and repeated descriptions are omitted here. 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 following modules:
the allocating module 401 is configured to obtain identity information of a user to which the terminal belongs in a block chain manner, and allocate block chain information to the terminal according to the identity information.
The first obtaining module 402 is configured to obtain a vehicle information exchange request sent by a terminal from a blockchain network, where the vehicle information exchange request includes a license plate number of a first vehicle and a license plate number of a second vehicle.
A sending module 403, configured to send an inquiry message to the terminal according to the block chain information of the terminal.
A second obtaining module 404, configured to obtain a first sorting result, a first hash value, and a second hash value in response to response information sent by the terminal through a mobile switching network, where the first sorting result is a sorting result generated by the terminal according to the first hash value and the second hash value, 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 manner; 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 hash value generating module 405 is configured to generate a third hash value and a fourth hash value according to the first storage information and the second storage information that are stored in advance.
And the sorting module 406 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 the updating module 407 is 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 this embodiment, the identity information of the user to which the terminal belongs is obtained in a block chain downlink manner, and block chain information is allocated to the terminal according to the identity information, so that the important identity information can be made to correspond to the block chain information of the terminal, and the authenticity of the identity information of the user to which the terminal belongs is verified. After a vehicle information exchange request sent by the terminal is obtained, the second sending module sends an inquiry message to the terminal, response information sent by the terminal is obtained through a mobile exchange network, and then the license plate number of the first vehicle and the license plate number of the second vehicle are updated by using the updating module according to a first sequencing result in the response information and a second sequencing result obtained by calculation of the updating module, so that the privacy information of the terminal is prevented from being leaked, the safety of user information is improved, and the user experience degree 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 is a block diagram illustrating components of an information updating system according to an embodiment of the present application, and as shown in fig. 5, the system includes: a terminal 501, a vehicle management node server 502 and a vehicle inspection station node server 503.
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 working method of the information updating system in an embodiment of the present application, and as shown in fig. 6, the method specifically includes the following steps.
Step 601, in a block chaining mode, the terminal 501 sends the mobile phone number and the identity information (for example, the name and the identification number of the user of the terminal 501) 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 first 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 vehicles), the node server 502 of the vehicle management station sends an inquiry message to the terminal 501 according to the block chain information of the terminal 501 by using a block chain down mode (for example, sending a short message to a mobile phone number corresponding to the terminal 501) to inquire the engine numbers and the vehicle inspection time of the first vehicle and the second vehicle.
In step 607, 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 to obtain a first code and a 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 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 608, the terminal 501 transmits the response message to the node server 502 of the vehicle management station by the communication method of the mobile switching network.
In specific implementation, the terminal 501 may respectively send the first hash value and the second hash value to the vehicle management station node server 502 according to a predetermined sequence of annual inspection time of the vehicle or a predetermined sequence of purchasing years of the vehicle.
Step 609, after obtaining the first sequencing result, the first hash value and the second hash value sent by the terminal 501, the node server 502 of the vehicle management station encodes the first storage information pre-stored in the node server, generates a first storage code, encodes the 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 610, the vehicle management station node server 502 records the specific information of the two vehicles with the interchanged license plate numbers to the local, generates a second broadcast message according to the recorded information, signs the second broadcast message by using a private key of the second broadcast message, and then sends the signed second 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 second broadcast message.
The second 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 second 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 611, after the vehicle inspection plant node server 503 obtains the second broadcast message from the blockchain network, it searches for a blockchain account book, obtains and verifies the private key signature of the second broadcast message by using the public key of the vehicle management station node server 502, and if the verification is passed, it 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 second 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 second 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 second 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 second 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 method comprises the steps of coding the engine numbers and the vehicle inspection time of a first vehicle and a second vehicle respectively in a preset mode, calculating the hash values of the codes, sequencing the two hash values according to a preset time sequence, and enabling a vehicle management station node server to verify whether the engine numbers and the vehicle inspection time of the two vehicles are correct or not by using a mode of sending short messages, 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 (10)

1. An information updating method, characterized in that the method comprises:
acquiring identity information of a user to which a terminal belongs in a mode of block chain, and distributing block chain information to the terminal according to the identity information;
acquiring a vehicle information exchange request sent by the terminal from a block chain network, wherein the vehicle information exchange request comprises a license plate number of a first vehicle and a license plate number of a second vehicle;
sending an inquiry message to the terminal according to the block chain information of the terminal;
responding to response information sent by the terminal through a mobile switching network, and obtaining a first sequencing result, a first hash value and a second hash value, wherein the first sequencing result is a sequencing result generated by the terminal according to the first hash value and the second hash value, the first hash value is a value obtained by the terminal through hash operation on a first code, and the first code is a value obtained by the terminal through coding 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 information of a second vehicle according to the preset mode;
generating a third hash value and a fourth hash value according to first storage information and second storage information, wherein the first storage information is pre-stored information of the first vehicle, and the second storage information is pre-stored information of the second vehicle;
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.
2. The method of claim 1, wherein generating the third hash value and the fourth hash value based on the first stored information and the second stored information comprises:
according to the preset mode, coding is respectively carried out on the first storage information to obtain a third code, and coding is carried out on the second storage information to obtain a fourth code;
and performing hash operation on the third code and the fourth code respectively to obtain a third hash value and a fourth hash value.
3. The method of claim 1, wherein 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 comprises:
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 the vehicle information exchange request.
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 in the vehicle information exchange request 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 according to claim 1, wherein after the step of obtaining the identity information of the user to which the terminal belongs in a block chain down manner and allocating block chain information to the terminal according to the identity information, the method further comprises:
and generating and sending a first broadcast message to a block chain network according to the identity information and the block chain information.
7. The method according to any one of claims 1 to 6, 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 second broadcast message to a block chain network so that a vehicle inspection plant node can obtain and update vehicle record information of the vehicle inspection plant node according to the second broadcast message;
the second 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.
8. An information updating method, characterized in that the method comprises:
generating and sending a vehicle information exchange request to a block chain network according to the license plate number of the first vehicle and the license plate number of the second vehicle so that a vehicle management station node obtains the vehicle information exchange request;
responding to an inquiry message sent by the vehicle management node, and generating a first hash value and a second hash value according to the information of the first vehicle and the information of the second vehicle;
sorting the first hash value and the second hash value according to a preset time sequence to obtain a first sorting result;
and generating and sending response information to the vehicle management node according to the first sequencing result, the first hash value and the second hash value, so that the vehicle management node can obtain and update the license plate number of the first vehicle and the license plate number of the second vehicle according to the first sequencing result and a second sequencing result calculated by the vehicle management node.
9. The method of claim 8, further comprising, prior to the step of generating and sending a vehicle information exchange request into the blockchain network based on the license plate number of the first vehicle and the license plate number of the second vehicle:
sending identity information of a user to which the terminal belongs to a vehicle management station node in a block chain-down mode, so that the vehicle management station node distributes block chain information to the terminal according to the identity information;
and acquiring a first broadcast message sent by a vehicle management station node from a block chain network, wherein the first broadcast message comprises the block chain information and the identity information of a user to which the terminal belongs.
10. A vehicle authority node server, comprising:
the distribution module is used for acquiring the identity information of the user to which the terminal belongs in a mode of block chain and distributing block chain information to the terminal according to the identity information;
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a vehicle information exchange request sent by the terminal from a block chain network, and the vehicle information exchange request comprises a license plate number of a first vehicle and a license plate number of a second vehicle;
the sending module is used for sending an inquiry message to the terminal according to the block chain information of the terminal;
the second obtaining module is used for responding to response information sent by the terminal through a mobile switching network, and obtaining a first sorting result, a first hash value and a second hash value, wherein the first sorting result is a sorting result generated by the terminal according to the first hash value and the second hash value, the first hash value is a value obtained by the terminal through hash operation on a first code, and the first code is a value obtained by the terminal through coding 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 information of a second vehicle according to the preset mode;
the hash value generation module is used for generating a third hash value and a fourth hash value according to the first storage information and the second storage information which are stored in advance;
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.
CN202010743632.2A 2020-07-29 2020-07-29 Information updating method, server and terminal Active CN111885072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010743632.2A CN111885072B (en) 2020-07-29 2020-07-29 Information updating method, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010743632.2A CN111885072B (en) 2020-07-29 2020-07-29 Information updating method, server and terminal

Publications (2)

Publication Number Publication Date
CN111885072A true CN111885072A (en) 2020-11-03
CN111885072B CN111885072B (en) 2021-12-14

Family

ID=73201547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010743632.2A Active CN111885072B (en) 2020-07-29 2020-07-29 Information updating method, server and terminal

Country Status (1)

Country Link
CN (1) CN111885072B (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
VIKAS HASSIJA等: "A Blockchain-Based Framework for Lightweight Data Sharing and Energy Trading in V2G Network", 《IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY》 *
陈葳葳等: "基于区块链技术的车联网高效匿名认证方案", 《JOURNAL OF COMPUTER APPLICATIONS》 *

Also Published As

Publication number Publication date
CN111885072B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN101217728B (en) A blank card for wireless card writing, wireless card writing server and wireless card writing method
CN112134698B (en) Block chain-based quick communication authentication method and system for vehicles and vehicles in Internet of vehicles
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
CN110719620B (en) Terminal access method and system
CN111245602A (en) Data right confirming method and system based on block chain
CN112784310A (en) Certificate management method, certificate authorization center, management node and Internet of vehicles terminal
CN114339680B (en) V2X system and safety authentication method
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
CN111885072B (en) Information updating method, server and terminal
CN111935252B (en) Information updating method based on block chain and server
CN112235290A (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
CN111866010B (en) Vehicle information updating method and device
CN1415084A (en) Method and system for managing property
CN111866009B (en) Vehicle information updating method and device
CN112543439B (en) Internet of vehicles location information encryption cloud platform, terminal, system and method
CN111263328B (en) Vehicle information acquisition method and vehicle-mounted device
CN116089921B (en) Identifiable identifier generation method for distributed digital identity
CN111885073B (en) Vehicle granting method and server
CN111885074B (en) Block chain-based information change method, vehicle management station node and operator node
CN112566047B (en) Method, device and system for determining authority of V2X interaction information based on alliance chain
CN111935253B (en) Block chain information updating method, vehicle management station node and operator node
RU2803701C2 (en) Method of reporting targeted information and initiating actions on mobile devices using hybrid qr code with a short number
CN111866015B (en) Vehicle information updating 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