CN112398907B - Driving behavior fidelity data chain method based on blockchain and related device - Google Patents

Driving behavior fidelity data chain method based on blockchain and related device Download PDF

Info

Publication number
CN112398907B
CN112398907B CN202011125342.8A CN202011125342A CN112398907B CN 112398907 B CN112398907 B CN 112398907B CN 202011125342 A CN202011125342 A CN 202011125342A CN 112398907 B CN112398907 B CN 112398907B
Authority
CN
China
Prior art keywords
data
vehicle
block chain
message
target
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
CN202011125342.8A
Other languages
Chinese (zh)
Other versions
CN112398907A (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.)
Yixian Intelligent Technology Co ltd
Original Assignee
Yixian Intelligent Technology 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 Yixian Intelligent Technology Co ltd filed Critical Yixian Intelligent Technology Co ltd
Priority to CN202011125342.8A priority Critical patent/CN112398907B/en
Publication of CN112398907A publication Critical patent/CN112398907A/en
Application granted granted Critical
Publication of CN112398907B publication Critical patent/CN112398907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Traffic Control Systems (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The embodiment of the application provides a driving behavior fidelity data chain method based on a blockchain and a related device, which are used for improving the protection of privacy during transmission and reducing hidden troubles of information leakage, data loss and data tampering. The method comprises the following steps: the vehicle-mounted terminal acquires identity information of a driver; the vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information; the vehicle-mounted terminal encrypts the driving behavior data to obtain initial data; and the vehicle-mounted terminal uploads the initial data to a message queue through a TCP protocol.

Description

Driving behavior fidelity data chain method based on blockchain and related device
Technical Field
The embodiment of the application relates to the field of data processing, in particular to a method and a related device for driving behavior fidelity data chain based on a block chain.
Background
The driving license is required for driving the motor vehicle, and an intelligent system is popularized in the driving school vehicle for evaluating the level of a driving school student so as to improve the teaching efficiency of the driving school student.
In the prior art, a C/S (Client/Server) architecture is adopted for transmission and storage of driving behavior data, and a blockchain Server of the architecture directly downloads and stores the driving behavior data uploaded to a message queue by a vehicle end, so that the transmission mode is easy to lack of secret privacy protection, and potential safety hazards of information leakage, data loss and data tampering exist.
Disclosure of Invention
The embodiment of the application provides a driving behavior fidelity data chain method based on a blockchain and a related device, which are used for improving the protection of privacy during transmission and reducing hidden troubles of information leakage, data loss and data tampering.
The first aspect of the application provides a method for a block chain-based motor vehicle driving behavior fidelity data chain, which comprises the following steps:
the vehicle-mounted terminal acquires identity information of a driver;
the vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information;
the vehicle-mounted terminal encrypts the driving behavior data to obtain initial data;
and the vehicle-mounted terminal uploads the initial data to a message queue through a TCP protocol.
Optionally, after the vehicle-mounted end stores the target data to a blockchain, the method further includes:
the vehicle-mounted terminal performs offline sampling calculation on the target data to obtain a target result;
the vehicle-mounted terminal judges whether the target result is data matching or not;
if not, the vehicle-mounted server side synchronizes the target data secondarily.
Optionally, after the resynchronizing the target data, the method further comprises:
the vehicle-mounted end message informs a process supervision system so that the process supervision system records the target data re-synchronization of the blockchain server through the message notification.
A second aspect of the present application provides a method of a blockchain-based motor vehicle driving behavior fidelity data chain, comprising:
the block chain server downloads initial data from the message queue;
the block chain server analyzes the initial data to obtain target data;
the blockchain server stores the target data to a blockchain.
Optionally, the blockchain server parses the initial data, and obtaining the target data includes:
the block chain server analyzes the initial data;
the block chain server marks the analyzed initial data with a unique identifier to obtain the target data, wherein the unique identifier is used for corresponding to the initial data and the target data.
A third aspect of the present application provides a vehicle-mounted terminal, including:
the acquisition unit is used for acquiring the identity information of the driver;
an extracting unit for extracting driving behavior data matched with the driver identity information through the driver identity information;
an encryption unit configured to encrypt the driving behavior data,
and the uploading unit is used for uploading the initial data to the message queue through a TCP protocol.
Optionally, the vehicle-mounted terminal further includes:
the calculation unit is used for performing off-line sampling calculation on the target data to obtain a target result;
the judging unit is used for judging whether the target result is data matching or not;
and the synchronization unit is used for secondarily synchronizing the target data when the judging result is negative.
Optionally, the vehicle further includes:
and the message notification unit is used for notifying a process supervision system by the message so that the process supervision system can record the target data re-synchronization of the blockchain server through the message notification.
A fourth aspect of the present application provides a blockchain server, including:
a downloading unit for downloading the initial data from the message queue;
the analysis unit is used for analyzing the initial data to obtain target data;
and the storage unit is used for storing the target data into a blockchain.
Optionally, the parsing unit includes:
the analysis module is used for analyzing the initial data;
the marking module is used for marking the analyzed initial data with a unique identifier to obtain the target data, and the unique identifier is used for corresponding to the initial data and the target data.
A fifth aspect of the present application provides a vehicle-mounted terminal, comprising:
the device comprises a processor, a memory, an input/output unit and a bus;
the processor is connected with the memory, the input/output unit and the bus;
the processor specifically performs the following operations:
the vehicle-mounted terminal acquires identity information of a driver;
the vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information;
the vehicle-mounted terminal encrypts the driving behavior data to obtain initial data;
and the vehicle-mounted terminal uploads the initial data to a message queue through a TCP protocol.
A sixth aspect of the present application provides a blockchain server, including:
the device comprises a processor, a memory, an input/output unit and a bus;
the processor is connected with the memory, the input/output unit and the bus;
the processor specifically performs the following operations:
the block chain server downloads initial data from the message queue;
the block chain server analyzes the initial data to obtain target data;
the blockchain server stores the target data to a blockchain.
According to the technical scheme, the vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information, and then encrypts the data and uploads the data to the message queue through the TCP protocol.
Drawings
FIG. 1 is a flowchart of one embodiment of a method for a blockchain-based driving behavior fidelity data chain in the embodiments of the present application;
FIG. 2 is a flowchart of another embodiment of a method for driving a chain of data based on blockchain in the embodiments of the present application;
fig. 3 is a schematic structural diagram of an embodiment of a vehicle-mounted terminal in the embodiment of the present application;
fig. 4 is a schematic structural diagram of another embodiment of a vehicle-mounted terminal according to an embodiment of the present application;
FIG. 5 is a schematic block chain server in an embodiment of the present application;
FIG. 6 is a schematic diagram of another embodiment of a block chain server in an embodiment of the present application;
fig. 7 is a schematic structural diagram of another embodiment of a vehicle-mounted terminal according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another embodiment of a block chain server in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a driving behavior fidelity data chain method based on a blockchain and a related device, which are used for improving the protection of privacy during transmission and reducing hidden troubles of information leakage, data loss and data tampering.
The following description of the embodiments of the present application will be provided in full and complete with reference being made to the accompanying drawings of embodiments of the present application, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The application scene can be applied to all situations where behavioral driving records are required, such as driving school study and driving qualification tests, and the like, and the driving school study is taken as a main description situation.
Referring to fig. 1, an embodiment of the present application provides a method for a block chain-based vehicle driving behavior fidelity data chain, including:
101. the vehicle-mounted terminal acquires identity information of a driver;
before a driver drives a vehicle, identity information needs to be input into a system of a vehicle-mounted terminal, and after the identity information of the driver is determined to be legal information, the vehicle-mounted terminal can match driving behavior data of the driver with the identity information of the driver.
In practice, from the start of the vehicle by the driver, the vehicle-mounted end system will always monitor the behavior of the driver and store the behavior data of the driver locally.
102. The vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information;
after the driver extinguishes the automobile, stopping recording the driving behavior, extracting the recorded driving behavior data by the vehicle-mounted end system according to the identity information of the driver, and calibrating the driving behavior data by taking the driver identity information as an identifier, so that the system can determine the driving behavior data of the driver through the driver identity information.
103. The vehicle-mounted terminal encrypts the driving behavior data to obtain initial data;
after the vehicle-mounted terminal in step 102 extracts the driving behavior data of the driver, the vehicle-mounted terminal encrypts the driving behavior data containing the identity information of the driver before uploading to the cash-out server to ensure the data security.
In actual situations, the identity information of the driving school student comprises a license plate number, an identity card number of the student, an identity card number of a coach and a social unified signal of the driving school, the identifications are configured well before the vehicle-mounted terminal is initialized, and unique codes are generated by the MD5 (Message-Digest Algorithm) to serve as verification to prevent the tampering of the identifications.
104. The vehicle-mounted terminal uploads the initial data to a message queue through a TCP protocol;
according to the embodiment of the application, a parallel database scheme is used, data with unique identification is stored in the block chain server side and the vehicle-mounted side database through the message middleware, the data in the block chain server side is used as feasibility fidelity, and the data in the vehicle-mounted side of the database is used as data analysis and real-time query. The message middleware uses the RocketMq message queue, and the vehicle-mounted terminal data encrypts and uploads the data to the RocketMq message queue through a TCP protocol.
105. The block chain server downloads initial data from the message queue;
blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. Blockchains are serial transaction records (also known as chunks) that are cryptographically concatenated and protect content, each chunk containing a cryptographic hash of a previous chunk, a corresponding time stamp, and transaction data, such design making the content of the chunk difficult to tamper with. The distributed ledgers concatenated with blockchain enable both parties to record transactions efficiently and to permanently verify the data.
In the embodiment of the application, in order to achieve the effect of ensuring the driving behavior data, a message middleware is sent from the vehicle-mounted terminal to the RocketMq message queue, and when the blockchain server detects that a new message exists in the RocketMq message queue, the new message is downloaded.
106. The block chain server analyzes the initial data to obtain target data;
after the blockchain server obtains new driving behavior data, the blockchain server analyzes the obtained data, the analysis process comprises the steps of obtaining encrypted initial data through a message middleware, and obtaining driver information and driving behavior data of the driver through the message middleware through a set key analysis message middleware.
107. The blockchain server stores the target data to a blockchain.
After the blockchain server obtains the driver information and the driving behavior data related to the driver through step 106, the blockchain server stores the target data obtained or obtained into the blockchain.
In the embodiment of the application, the vehicle-mounted terminal is used for acquiring data and uploading the acquired data to the RocketMq message queue, so that the blockchain server can download the data from the RocketMq message queue, the blockchain server stores the data, and at the moment, the vehicle-mounted terminal and the blockchain server both store the data, thereby ensuring the accuracy of the data.
Referring to fig. 2, an embodiment of the present application provides a method for a block chain-based vehicle driving behavior fidelity data chain, including:
201. the vehicle-mounted terminal acquires identity information of a driver;
202. the vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information;
203. the vehicle-mounted terminal encrypts the driving behavior data to obtain initial data;
204. the vehicle-mounted terminal uploads the initial data to a message queue through a TCP protocol;
205. the block chain server downloads initial data from the message queue;
steps 201 to 205 in this embodiment are similar to steps 101 to 105 in the previous embodiment, and will not be repeated here.
206. The block chain server analyzes the initial data;
in practical situations, after the blockchain server obtains the initial data, the blockchain server analyzes the initial data, so that the blockchain server can operate on the initial data, and in order to ensure the authenticity of the information, generally, the operation can only be an adding operation.
207. The block chain server marks the analyzed initial data with a unique identifier to obtain the target data, wherein the unique identifier is used for corresponding to the initial data and the target data;
in order to facilitate the searching and extracting of information, in practical situations, after the blockchain server analyzes the initial data, unique tags are marked on the analyzed initial data according to driver information in the initial data, and target data are generated.
208. The block chain server stores the target data to a block chain;
step 208 in this embodiment is similar to step 107 in the previous embodiment, and will not be described here again.
209. The vehicle-mounted terminal performs offline sampling calculation on the target data to obtain a target result;
in practical situations, the blockchain server receives driving behavior data of the same driver information, and in order to ensure the fidelity of the data stored in the blockchain server, the vehicle-mounted terminal is connected with the blockchain server at regular time, and the target data of the blockchain server are compared by using local data to obtain a matched value, wherein the value is a target result.
210. The vehicle-mounted terminal judges whether the target result is data matching or not;
after the target result is obtained in step 209, the vehicle-mounted terminal compares the target result with the calibration value, and when the target result is greater than the calibration value, the data is not matched, otherwise, when the target result is smaller than the calibration value, the data is matched.
211. If not, the vehicle-mounted terminal secondarily synchronizes the target data;
through step 211, the vehicle-mounted end will upload the target data to the RocketMq message queue again, so that the blockchain server end synchronizes the target data again.
212. The vehicle-mounted end message informs a process supervision system so that the process supervision system records the target data re-synchronization of the blockchain server through the message notification.
And each time the vehicle-mounted terminal performs offline sampling calculation to obtain a target result, the vehicle-mounted terminal can send a message notification to the process monitoring system, and the process monitoring system is used for monitoring whether the vehicle-mounted terminal and the blockchain server perform illegal operation on driving behavior data or not, and the safety of the data is improved through third party monitoring, so that the fidelity is improved.
Referring to fig. 3, an embodiment of the present application provides a vehicle-mounted terminal, including:
an acquisition unit 301 for acquiring driver identity information;
an extracting unit 302 for extracting driving behavior data matched with the driver identity information through the driver identity information;
an encryption unit 303 for encrypting the driving behavior data,
an uploading unit 304, configured to upload the initial data to a message queue through a TCP protocol.
Referring to fig. 4, an embodiment of the present application provides a blockchain server, including:
an acquisition unit 401 for acquiring driver identity information;
an extracting unit 402 for extracting driving behavior data matched with the driver identity information through the driver identity information;
an encryption unit 403 for encrypting the driving behavior data,
an uploading unit 404, configured to upload the initial data to a message queue through a TCP protocol.
A calculating unit 405, configured to perform offline sampling calculation on the target data to obtain a target result;
a judging unit 406, configured to judge whether the target result is data matching;
a synchronization unit 407, configured to secondarily synchronize the target data when the determination result is negative;
and a message notification unit 408, configured to notify a process supervision system of a message, so that the process supervision system resynchronizes the target data by recording the blockchain server through the message notification.
Referring to fig. 5, an embodiment of the present application provides a blockchain server, including:
a downloading unit 501 for downloading initial data from the message queue;
the parsing unit 502 is configured to parse the initial data to obtain target data;
a storage unit 503, configured to store the target data into a blockchain.
Referring to fig. 6, another blockchain server is provided in an embodiment of the present application, including:
a downloading unit 601, configured to download initial data from the message queue;
the parsing unit 602 is configured to parse the initial data to obtain target data;
a storage unit 603 for storing the target data into a blockchain;
in the embodiment of the present application, the parsing unit 602 includes:
a parsing module 6021 for parsing the initial data;
the labeling module 6022 is configured to label the parsed initial data with a unique identifier, so as to obtain the target data, where the unique identifier is used to correspond to the initial data and the target data.
In the above embodiment, the functions of each unit in fig. 3 to 6 correspond to the steps in the embodiments in fig. 1 and 2, and are not described herein again.
Referring to fig. 7, another vehicle-mounted terminal is provided in an embodiment of the present application, including:
a processor 701, a memory 702, an input/output unit 703, and a bus 704;
the processor 701 is connected to the memory 702, the input-output unit 703, and the bus 604;
the processor 701 specifically performs the following operations:
the vehicle-mounted terminal acquires identity information of a driver;
the vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information;
the vehicle-mounted terminal encrypts the driving behavior data to obtain initial data;
and the vehicle-mounted terminal uploads the initial data to a message queue through a TCP protocol.
In this embodiment, the specific execution of the processor corresponds to the steps in the embodiments shown in fig. 1 and fig. 2, and the detailed description is omitted herein.
Referring to fig. 8, another blockchain server is provided in an embodiment of the present application, including:
a processor 801, a memory 802, an input/output unit 803, and a bus 804;
the processor 801 is connected to the memory 802, the input/output unit 803, and the bus 804;
the processor 801 specifically performs the following operations:
the block chain server downloads initial data from the message queue;
the block chain server analyzes the initial data to obtain target data;
the blockchain server stores the target data to a blockchain.
In this embodiment, the specific execution of the processor corresponds to the steps in the embodiments shown in fig. 1 and fig. 2, and the detailed description is omitted herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (4)

1. A method of blocking chain based driving behavior fidelity data chain of a motor vehicle, comprising:
the vehicle-mounted terminal acquires identity information of a driver;
the vehicle-mounted terminal extracts driving behavior data matched with the driver identity information through the driver identity information;
the vehicle-mounted terminal encrypts the driving behavior data to obtain initial data;
the vehicle-mounted terminal uploads the initial data to a message queue through a TCP protocol;
after the vehicle-mounted terminal uploads the initial data to the message queue through the TCP, the method further comprises the following steps:
the method comprises the steps that a block chain server performs offline sampling calculation on target data to obtain a target result, wherein the block chain server analyzes the initial data to obtain the target data;
the block chain server judges whether the target result is data matching or not;
if not, the block chain server side secondarily synchronizes the target data;
simultaneously storing data with unique identification into a block chain server and a vehicle-mounted database through a message middleware, wherein the data in the block chain server is used as feasibility fidelity, the data in the vehicle-mounted database is used as data analysis and real-time query, the message middleware uses a RocketMq message queue, and the vehicle-mounted data is encrypted and uploaded into the RocketMq message queue through a TCP protocol;
after resynchronizing the target data, the method further comprises:
the blockchain server notifies a process supervision system of the message, so that the process supervision system records the target data re-synchronization of the blockchain server through the message notification.
2. A method of blocking chain based driving behavior fidelity data chain of a motor vehicle, comprising:
the block chain server downloads initial data from the message queue;
the block chain server analyzes the initial data to obtain target data;
the block chain server stores the target data to a block chain;
the block chain server analyzes the initial data, and the obtaining of target data comprises the following steps:
the block chain server analyzes the initial data;
the block chain server marks the analyzed initial data with a unique identifier to obtain the target data, wherein the unique identifier is used for corresponding to the initial data and the target data;
the method comprises the steps that data with unique identification are stored in a block chain server side and a vehicle-mounted side database through a message middleware, the data in the block chain server side are used as feasibility fidelity, the data in the vehicle-mounted side of the database are used as data analysis and real-time query, the message middleware uses a RocketMq message queue, and the vehicle-mounted side data are encrypted and uploaded to the RocketMq message queue through a TCP protocol;
the blockchain server notifies a process supervision system of the message, so that the process supervision system records the target data re-synchronization of the blockchain server through the message notification.
3. A vehicle-mounted terminal, characterized by comprising:
the acquisition unit is used for acquiring the identity information of the driver;
an extracting unit for extracting driving behavior data matched with the driver identity information through the driver identity information;
an encryption unit configured to encrypt the driving behavior data,
the uploading unit is used for uploading the initial data to the message queue through the TCP; the vehicle-mounted terminal further comprises:
the computing unit is used for performing off-line sampling computation on target data to obtain a target result, wherein the initial data is analyzed by the block chain server to obtain the target data;
the judging unit is used for judging whether the target result is data matching or not;
the synchronization unit is used for secondarily synchronizing the target data when the judgment result is negative;
simultaneously storing data with unique identification into a block chain server and a vehicle-mounted database through a message middleware, wherein the data in the block chain server is used as feasibility fidelity, the data in the vehicle-mounted database is used as data analysis and real-time query, the message middleware uses a RocketMq message queue, and the vehicle-mounted data is encrypted and uploaded into the RocketMq message queue through a TCP protocol;
the vehicle-mounted terminal further comprises:
and the message notification unit is used for notifying a process supervision system by the message so that the process supervision system can re-synchronize the target data through the message notification record block chain server.
4. A blockchain server, comprising:
a downloading unit for downloading the initial data from the message queue;
the analysis unit is used for analyzing the initial data to obtain target data;
a storage unit for storing the target data to a blockchain;
simultaneously storing data with unique identification into a block chain server and a vehicle-mounted database through a message middleware, wherein the data in the block chain server is used as feasibility fidelity, the data in the vehicle-mounted database is used as data analysis and real-time query, the message middleware uses a RocketMq message queue, and the vehicle-mounted data is encrypted and uploaded into the RocketMq message queue through a TCP protocol; the parsing unit includes:
the analysis module is used for analyzing the initial data;
the marking module is used for marking the analyzed initial data with a unique identifier to obtain the target data, wherein the unique identifier is used for corresponding to the initial data and the target data;
the blockchain server notifies a process supervision system of the message, so that the process supervision system records the target data re-synchronization of the blockchain server through the message notification.
CN202011125342.8A 2020-10-20 2020-10-20 Driving behavior fidelity data chain method based on blockchain and related device Active CN112398907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011125342.8A CN112398907B (en) 2020-10-20 2020-10-20 Driving behavior fidelity data chain method based on blockchain and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011125342.8A CN112398907B (en) 2020-10-20 2020-10-20 Driving behavior fidelity data chain method based on blockchain and related device

Publications (2)

Publication Number Publication Date
CN112398907A CN112398907A (en) 2021-02-23
CN112398907B true CN112398907B (en) 2024-01-12

Family

ID=74596832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011125342.8A Active CN112398907B (en) 2020-10-20 2020-10-20 Driving behavior fidelity data chain method based on blockchain and related device

Country Status (1)

Country Link
CN (1) CN112398907B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535779A (en) * 2021-07-09 2021-10-22 南京楔形文智慧科技有限公司 Information processing system of block chain and network communication device applied to system
CN114205109A (en) * 2021-09-30 2022-03-18 徐敏 Internet of vehicles information management method and chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171430A (en) * 2017-12-29 2018-06-15 深圳市轱辘车联数据技术有限公司 Data processing method, mobile unit and UBI analysis centers server
CN110365928A (en) * 2019-07-16 2019-10-22 阿里巴巴集团控股有限公司 A kind of Driving Test videotape storage means, apparatus and system based on block chain
CN111125787A (en) * 2019-12-27 2020-05-08 上海共链信息科技有限公司 Gas inspection data cochain system based on block chain and use method thereof
CN111680305A (en) * 2020-07-31 2020-09-18 支付宝(杭州)信息技术有限公司 Data processing method, device and equipment based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171430A (en) * 2017-12-29 2018-06-15 深圳市轱辘车联数据技术有限公司 Data processing method, mobile unit and UBI analysis centers server
CN110365928A (en) * 2019-07-16 2019-10-22 阿里巴巴集团控股有限公司 A kind of Driving Test videotape storage means, apparatus and system based on block chain
CN111125787A (en) * 2019-12-27 2020-05-08 上海共链信息科技有限公司 Gas inspection data cochain system based on block chain and use method thereof
CN111680305A (en) * 2020-07-31 2020-09-18 支付宝(杭州)信息技术有限公司 Data processing method, device and equipment based on block chain

Also Published As

Publication number Publication date
CN112398907A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN108768972B (en) Vehicle data storage and access method, device, system and electronic equipment
US20180249190A1 (en) Method and apparatus for cloud storage and cloud download of multimedia data
CN112398907B (en) Driving behavior fidelity data chain method based on blockchain and related device
CN109543065B (en) Video active identification method combined with block chain
US10818202B2 (en) Method and apparatus for encrypting data, method and apparatus for decrypting data
KR101302562B1 (en) Apparatus and Method for Falsification Protection of Black Box Data
US20070016788A1 (en) Digital signature computer, system, method, and storage medium storing program for collectively affixing signature to plurality of messages
CN105631361B (en) A kind of application program channel source identification method and device
JP2011075867A (en) Signature generation device, signature verification device, signature generation method, signature verification method, signature generation program, and signature verification program
US11449584B1 (en) Generating authenticable digital content
WO2024012515A1 (en) Vehicle monitoring method and device, and storage medium
CN113452526B (en) Electronic file certification method, verification method and corresponding devices
CN111046407A (en) Data storage system based on block chain
CN111581659A (en) Method and device for calling electronic evidence
CN110727546A (en) Automobile data backup method and device
CN111585995A (en) Method and device for transmitting and processing safety wind control information, computer equipment and storage medium
CN112073418B (en) Encrypted flow detection method and device and computer readable storage medium
CN111198862A (en) File storage method and device based on block chain, terminal equipment and medium
CN117149521A (en) Network-connected automobile data backup method and system
KR101953908B1 (en) Security System and Method of Embeded software in Vehicle electric device
Johnson et al. On the digital forensics of heavy truck electronic control modules
CN115914578A (en) Case handling full-process management method and system based on block chain
CN107172165B (en) Data synchronization method and device
CN114189359B (en) Internet of things equipment capable of avoiding data tampering, data safety transmission method and system
CN115567212A (en) File processing method and device, computer equipment and computer readable storage medium

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