CN110047168A - Management method, device, equipment and the system of information of vehicles - Google Patents

Management method, device, equipment and the system of information of vehicles Download PDF

Info

Publication number
CN110047168A
CN110047168A CN201910299756.3A CN201910299756A CN110047168A CN 110047168 A CN110047168 A CN 110047168A CN 201910299756 A CN201910299756 A CN 201910299756A CN 110047168 A CN110047168 A CN 110047168A
Authority
CN
China
Prior art keywords
information
block
vehicles
management equipment
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910299756.3A
Other languages
Chinese (zh)
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.)
Best Faith Racket (beijing) Mdt Infotech Ltd
Original Assignee
Best Faith Racket (beijing) Mdt Infotech 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 Best Faith Racket (beijing) Mdt Infotech Ltd filed Critical Best Faith Racket (beijing) Mdt Infotech Ltd
Priority to CN201910299756.3A priority Critical patent/CN110047168A/en
Publication of CN110047168A publication Critical patent/CN110047168A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time

Abstract

A kind of management method of information of vehicles, device, equipment and system, this method comprises: obtaining the information of vehicles for needing typing;According to information of vehicles, Merkel's cryptographic Hash is generated;Block sequence block is generated, block chain block includes information of vehicles and Merkel's cryptographic Hash;Block sequence block is broadcasted in block catenary system, so that the legitimacy of common recognition mechanism verification block sequence block of the node device in block catenary system based on block catenary system;If block chain block is legal, block chain block is added in block chain.In the application, different vehicle management equipment is placed in same block catenary system, different vehicle management equipment is all based on same block chain management information of vehicles.Guarantee that the information of vehicles of record can not be distorted by Merkel's cryptographic Hash, then by the verification to block chain block legitimacy, the information of vehicles for avoiding write-in false.Therefore information of vehicles can be prevented to be tampered, improves the reliability of information of vehicles, allow users to the real information for obtaining vehicle.

Description

Management method, device, equipment and the system of information of vehicles
Technical field
This application involves field of computer technology, in particular to a kind of management method of information of vehicles, device, equipment and it is System.
Background technique
With the continuous development of auto industry, used automobile market also continues to develop growth.More and more users select purchase Buy used car.When buying used car, in addition to price, user is most concerned with the information of vehicles for being able to reflect vehicle condition.This vehicle Information includes the record of production information of vehicle manufacturers, the record information of vehicle administration office, the sales information of used car and preceding car owner Use information etc..
Information of vehicles is really the whole life cycle for reflecting vehicle.It is produced, arrives from vehicle in manufacturer Vehicle administration office puts on record, then to selling for the first time, and car owner or sale shops finally till now sells.In entire Life Cycle Interim, information of vehicles is constantly updated by manufacturer, car owner with these different managers such as sale shops.Therefore, it is necessary to The management that information of vehicles is stored and is updated.But the system that different managers manages information of vehicles is often independent , for example, manufacturer production system and sell shops marketing system between it is independent mutually, and manager using Single database purchase information of vehicles, the information of vehicles for causing manager to store are easy to be tampered.
When user needs to trace the life cycle of vehicle, since the information of vehicles of acquisition is easy to be tampered, user The reliability of the information of vehicles of acquisition and safety be not high, and user is caused to be difficult to obtain the real information of vehicle.
Summary of the invention
This application provides a kind of management method of information of vehicles, device, equipment and system, can be used for solving in related skill Information of vehicles in art due to acquisition is easy to be tampered, and the reliability for the information of vehicles that user obtains and safety be not high, User is caused to be difficult to the problem of obtaining the real information of vehicle.
In a first aspect, the application provides a kind of management method of information of vehicles, it is applied to vehicle management equipment, the method Include:
Obtain the information of vehicles for needing typing;
According to the information of vehicles, Merkel's cryptographic Hash is generated, Merkel's cryptographic Hash is for uniquely indicating block chain In a block;
Block sequence block is generated, the block chain block includes the information of vehicles and Merkel's cryptographic Hash;
The block chain block is broadcasted in the block catenary system, so that the node device in the block catenary system Common recognition mechanism based on the block catenary system verifies the legitimacy of the block chain block;
If the block chain block is legal, the block chain block is added in block chain.
Optionally, described according to the information of vehicles, generate Merkel's cryptographic Hash, comprising:
The information of vehicles is arranged according to symmetric binary tree, the Merkel tree of generation;
Determine the cryptographic Hash of each node in the Merkel tree;
The cryptographic Hash of root node in the Merkel tree is determined as Merkel's cryptographic Hash.
Optionally, it is described the block chain block is added in block chain before, further includes:
Detection instruction is sent to backstage management equipment, the detection instruction includes the information of vehicles, so that after described Platform management equipment detects whether the information of vehicles is real information;
The write instruction that the back-stage management equipment is sent is received, said write instruction is used to indicate the vehicle management and sets It is standby that the block chain is written into the information of vehicles.
Optionally, the method also includes:
The Information revision instruction that the back-stage management equipment is sent is received, the Information revision instruction includes information to be modified Corresponding Merkel's cryptographic Hash and index mark, the information to be modified, which refers to, needs modified vehicle to believe in the block chain Breath, the index mark are used to indicate position of the information to be modified in block chain block;
According to the Information revision instruct, generate modified block, the modified block include revised information of vehicles and Modifying label, the modifying label include the corresponding Merkel's cryptographic Hash of the information to be modified and index mark;
The modified block is added in the block chain.
Optionally, it is described obtain the information of vehicles for needing typing before, further includes:
To the back-stage management equipment transmit into chain request, it is described enter chain request include the vehicle management equipment respective tube The identity information of reason person;
Receive that the back-stage management equipment sends enters chain response, it is described enter chain response be used to indicate the vehicle management and set The standby permission having in the block catenary system.
Optionally, comprising:
The block head of the block chain block is generated, the block head includes Merkel's cryptographic Hash, preceding block Hash Value and block timestamp, the preceding block cryptographic Hash are used to indicate the previous block for the block chain block to be generated, the area Block timestamp is used to indicate the time for generating the block chain block;
The block body of the block chain block is generated, the block body includes at least one with the vehicle of block transaction storage Information, the block transaction is storage form of the data information in block chain block.
Second aspect, the application provide a kind of management method of information of vehicles, are applied to back-stage management equipment, the method Include:
The detection instruction that vehicle management equipment is sent is received, the detection instruction includes that the vehicle management equipment needs to record The information of vehicles entered;
It reads the information of vehicles and corresponds to vehicle stored information of vehicles in block chain;
According to the stored information of vehicles, detect whether the information of vehicles is real information;
If the information of vehicles is real information, write instruction is sent to the vehicle management equipment, said write refers to Order is used to indicate the vehicle management equipment and the block chain is written in the information of vehicles.
Optionally, the method also includes:
The corresponding Merkel's cryptographic Hash of information to be modified and index mark are obtained, the information to be modified refers to the block Modified information of vehicles is needed in chain, Merkel's cryptographic Hash is for uniquely indicating a block in block chain, the rope Tendering knowledge is used to indicate position of the information to be modified in block chain block;
Information revision instruction is sent to the vehicle management equipment, the Information revision instruction includes the information to be modified Corresponding Merkel's cryptographic Hash and index mark.
Optionally, the method also includes:
Receive that the vehicle management equipment sends enters chain request, it is described enter chain request include the vehicle management equipment pair Answer the identity information of manager;
Detect whether the identity information meets preset condition;
If the identity information meets the preset condition, chain response is transmitted into the vehicle management equipment, it is described Enter chain response and is used to indicate the permission that the vehicle management equipment has in the block catenary system.
The third aspect, the application provide a kind of managing device of information of vehicles, are applied to vehicle management equipment, described device Include:
Data obtaining module, for obtaining the information of vehicles for needing typing;
Hash generation module, for generating Merkel's cryptographic Hash according to the information of vehicles, Merkel's cryptographic Hash is used A block in uniquely instruction block chain;
Block generation module, for generating block sequence block, the block chain block includes the information of vehicles and described Merkel's cryptographic Hash;
Block broadcast module, for broadcasting the block chain block in the block catenary system, so that the block Node device in catenary system verifies the legitimacy of the block chain block based on the common recognition mechanism of the block catenary system;
The block chain block is added to block chain if legal for the block chain block by block adding module In.
Fourth aspect, the application provide a kind of managing device of information of vehicles, are applied to back-stage management equipment, described Device includes:
Command reception module, for receiving the detection instruction of vehicle management equipment transmission, the detection instruction includes described Vehicle management equipment needs the information of vehicles of typing;
Information reading module corresponds to vehicle stored information of vehicles in block chain for reading the information of vehicles;
Information detecting module, for detecting whether the information of vehicles is true according to the stored information of vehicles Information;
Instruction sending module is write if being real information for the information of vehicles to vehicle management equipment transmission Enter instruction, said write instruction is used to indicate the vehicle management equipment and the block chain is written in the information of vehicles.
5th aspect, the application provide a kind of management equipment of information of vehicles, and the equipment is configured as:
Obtain the information of vehicles for needing typing;
According to the information of vehicles, Merkel's cryptographic Hash is generated, Merkel's cryptographic Hash is for uniquely indicating block chain In a block;
Block sequence block is generated, the block chain block includes the information of vehicles and Merkel's cryptographic Hash;
The block chain block is broadcasted in the block catenary system, so that the node device in the block catenary system Common recognition mechanism based on the block catenary system verifies the legitimacy of the block chain block;
If the block chain block is legal, the block chain block is added in block chain.
6th aspect, the application provide a kind of management equipment of information of vehicles, and the equipment is configured as:
The detection instruction that vehicle management equipment is sent is received, the detection instruction includes that the vehicle management equipment needs to record The information of vehicles entered;
It reads the information of vehicles and corresponds to vehicle stored information of vehicles in block chain;
According to the stored information of vehicles, detect whether the information of vehicles is real information;
If the information of vehicles is real information, write instruction is sent to the vehicle management equipment, said write refers to Order is used to indicate the vehicle management equipment and the block chain is written in the information of vehicles.
7th aspect, the application provides a kind of management system of information of vehicles, and the system comprises at least one as above-mentioned Equipment described in equipment described in 5th aspect and above-mentioned 6th aspect.
In scheme provided by the present application, vehicle management equipment is stored in such a way that block chain is written in information of vehicles Information of vehicles.Using block chain technology, the vehicle management equipment of different managers is placed in same block catenary system, it is different Vehicle management equipment is all based on same block chain management information of vehicles.During block chain is written in information of vehicles, pass through Merkel's cryptographic Hash guarantees that the information of vehicles of record can not be distorted, then by the verification to block chain block legitimacy, avoids writing Enter false information of vehicles.Therefore information of vehicles can be prevented to be tampered, improves the reliability and safety of information of vehicles, so that User can obtain the real information of vehicle.
Detailed description of the invention
Fig. 1 is the schematic diagram for the network architecture that the application one embodiment provides;
Fig. 2 is the flow chart of the management method for the information of vehicles that the application one embodiment provides;
Fig. 3 is the flow chart of the management method for the information of vehicles that another embodiment of the application provides;
Fig. 4 is the schematic diagram for the Merkel tree that the application one embodiment provides;
Fig. 5 is the schematic diagram for the block chain block that the application one embodiment provides;
Fig. 6 is the schematic block diagram of the managing device for the information of vehicles that the application one embodiment provides;
Fig. 7 is the schematic block diagram of the managing device for the information of vehicles that another embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
In the related art, the equipment of different managers management information of vehicles is often independent, leads to same vehicle Information of vehicles be dispersedly stored in different equipment.Therefore, the information of vehicles of vehicle is difficult to unified by effective integration, There may be the information of contradiction and mistake for the information of vehicles for causing different managers' management to record.Also, since management equipment is only Vertical, whether user is difficult to verify information of vehicles accurate, cause Some vehicles information be difficult to being tampered or in the presence of mistake by User's discovery.User is eventually led to be difficult to learn the situation that vehicle is true.For example, vehicle A is in first car owner's use process A Wan Gongli is travelled.First car owner is when selling vehicle A, vehicle A in the true information of vehicles that car test mechanism provides Mileage number is a Wan Gongli.Although car test mechanism is really and accurately, to sell to the information of vehicles that first car owner provides Shops and the first car owner have modified information of vehicles, reduce mileage number to improve price.Because purchasing automobile-used family is from sale Information of vehicles is obtained at shops, and can not carry out car test to automobile in purchase Chinese herbaceous peony, can only be believed with the vehicle for selling shops's modification Subject to breath.
It is in method provided by the present application, the information of vehicles of each vehicle management equipment typing is whole by block chain technology It closes, by block chain network come storage and management information of vehicles.The core of block chain technology is the system thinking for removing centralization. Block chain technology establishes disclosed faith mechanism in system, so that the data information of block chain storage is open and clear.Block chain Essence is the public account book for being stored with the data information of each node device in block catenary system.By block chain technology, Vehicle can be recorded in block chain from the factory information of vehicles that each manager manages into the whole life cycle of sale, To guarantee the reliability of information of vehicles, integrality and unalterable feature.
In this application, block catenary system includes application layer, service layer, core layer, basal layer and management level.Application layer is The source terminal of data and the receiving end of data.Reading data is all realized from this layer on data collection and chain on chain.Service layer Core block chain related service is provided for inquiry application and back-stage management.Inquiry application reads chain operation by carrying out, true to return Real reliable information of vehicles.Back-stage management service, which can be audited, enters user information, generates mark, write-in data etc..Core layer It is the most important component part of block catenary system, it is related to the safety and reliability of whole system, including common recognition mechanism, hidden Private protection and transmission mechanism.Basal layer provides basic Internet basic information service, mainly mentions for superstructure component For infrastructure, storage, analysis and the calculating to guarantee data security, and provide efficiently, accurately data service.Management level are to look into Significant components in the related application of data are ask, for guaranteeing the reliability of circulation data procedures.
The possible network architecture for combining Fig. 1 to be applicable in the embodiment of the present application first below is introduced.The application is implemented The network architecture of example description is the technical solution in order to clearly illustrate the embodiment of the present application, is not constituted to the application reality The restriction of the technical solution of example offer is applied, those of ordinary skill in the art are it is found that differentiation and new affairs field with the network architecture The appearance of scape, technical solution provided by the embodiments of the present application are equally applicable for similar technical problem.
Referring to FIG. 1, a kind of schematic diagram for the network architecture being applicable in it illustrates the embodiment of the present application.The network architecture packet It includes: at least one vehicle management equipment 101 and back-stage management equipment 102.In the embodiment of the present application, vehicle management equipment 101 With the node device that back-stage management equipment 102 is all in block catenary system.Vehicle management equipment 101 and back-stage management equipment 102 Form the network of multiple spot.Establishing between vehicle management equipment 101 and back-stage management equipment 102 has communication connection.It is different Establishing between vehicle management equipment 101 has communication connection.Vehicle management equipment 101 be manager be used for by information of vehicles record to The equipment of block chain, for example, computer and mobile phone etc..Manager refers in the whole life cycle of vehicle, is responsible for record and deposits The individual or entity of information of vehicles is stored up, for example, vehicle manufacturers and sale shops.Back-stage management equipment 102 is for managing The information of user and manager and the equipment of functional interface is provided to the equipment outside block catenary system.Back-stage management equipment can To be terminal, it is also possible to individual server, can also be the server cluster that multiple servers are constituted.
It should be noted that in the embodiment of the present application, belonging to vehicle management equipment 101 and back-stage management equipment 102 Block catenary system can also include other node devices.For example, the user terminal in block catenary system.Block catenary system is not only It is made of vehicle management equipment 101 and back-stage management equipment 102.
Referring to FIG. 2, the management method of the information of vehicles provided it illustrates the application one embodiment.This method can be with Applied to the vehicle management equipment in the network architecture shown in FIG. 1.This method may include the following steps.
Step 201, the information of vehicles for needing typing is obtained.
Firstly, vehicle management equipment obtains the information of vehicles for needing typing.Wherein, information of vehicles includes at least a vehicle Vehicles identifications.Vehicles identifications are for uniquely indicating an automobile, such as vehicle identification code (Vehicle Identification Number, VIN), alternatively, with the one-to-one Hash encrypted code of vehicle.According to the corresponding manager of vehicle management equipment and make With scene difference, information of vehicles further includes other data informations.For example, information of vehicles also wraps if manager is production firm Include detailed configuration information when vehicle production;If manager is vehicle transport department, information of vehicles further includes that logistics is conveyed through Release information in journey;If manager is secondhand sales shops, information of vehicles further includes emm message of the vehicle to shop.
Step 202, according to information of vehicles, Merkel's cryptographic Hash is generated.
Merkel's cryptographic Hash that vehicle management equipment generates is for uniquely indicating a block in block chain.Because one Merkel's cryptographic Hash of block is generated according to the information data recorded in the block, so the information data in block occurs When variation, the corresponding Merkel's cryptographic Hash of block can also change.Therefore, vehicle management equipment generates silent according to information of vehicles Ke Er cryptographic Hash, if distorted to information of vehicles, information of vehicles and Merkel's cryptographic Hash after distorting simultaneously are mismatched, thus User can be found that information of vehicles is tampered.By the corresponding relationship between block, information of vehicles and Merkel's cryptographic Hash, guarantee Information of vehicles be recorded after block can not tamper.
Step 203, block sequence block is generated.
Block chain is written in information of vehicles by vehicle management equipment, needs to complete by way of generating block sequence block. The block chain block includes the information of vehicles for needing typing and corresponding Merkel's cryptographic Hash.The information for including in block chain block The data capacity of data is fixed, therefore the quantity of the information of vehicles in block chain block is limited.Vehicle management equipment It needs after obtaining the information of vehicles being consistent with the capacity of block chain block, regeneration block chain block is recorded.Therefore, when The quantity of information of vehicles in one block chain block is greater than for the moment, and the information of vehicles in the block chain block can be different vehicles Information of vehicles, such as manager is production firm, may include four information of vehicles in block chain block, then production firm Vehicle management equipment get the information of vehicles of four automobiles after, regeneration block chain block record together.
Step 204, block sequence block is broadcasted in block catenary system.
According to the common recognition mechanism in block chain technology, record is had the block of information of vehicles to be added to area by vehicle management equipment Before block chain, the verifying by the other equipment of block catenary system is needed.All devices in block catenary system include at least other The vehicle management equipment and back-stage management equipment of manager.Therefore, vehicle management equipment broadcasts block chain in block catenary system Block, so that the legitimacy of other node devices verification block sequence block in block catenary system.Verify block sequence block Legitimacy is really to verify whether vehicle management equipment has by the permission of information of vehicles write-in block chain, to prevent no permission The false information of vehicles of equipment write-in.If vehicle management equipment has the permission of information of vehicles write-in block chain, the vehicle The block chain block that management equipment generates is legal;If the permission of block chain is not written in information of vehicles by vehicle management equipment, The block chain block that then the vehicle management equipment generates is illegal.
Step 205, if block chain block is legal, block chain block is added in block chain.
Block chain block is added to block if the block chain block that vehicle management equipment generates is legal by verification Chain completes the process of information of vehicles write-in block chain.Block chain is the data-link for being joined end to end by multiple data blocks and being formed. Block chain block is added to block chain, refers to the end for being added to block chain using block chain block as newest data block End.
In the embodiment of the present application, vehicle management equipment stores vehicle in such a way that block chain is written in information of vehicles Information.Using block chain technology, the vehicle management equipment of different managers is placed in same block catenary system, different vehicles Management equipment is all based on same block chain management information of vehicles.During block chain is written in information of vehicles, pass through Merck Your cryptographic Hash guarantees that the information of vehicles of record can not be distorted, then by the verification to block chain block legitimacy, avoids write-in empty False information of vehicles.Therefore information of vehicles can be prevented to be tampered, the reliability and safety of information of vehicles is improved, so that user The real information of vehicle can be obtained.
Referring to FIG. 3, it illustrates the flow charts of the management method of the information of vehicles of the application one embodiment offer.It should Method can be applied in the network architecture shown in FIG. 1.This method may include the following steps.
Step S301, vehicle management equipment transmit into chain request to backstage management equipment.
In vehicle since the life cycle production, there are multiple managers.Each manager requires to add or repair Positive information of vehicles.Before information of vehicles is written into block chain using vehicle management equipment in manager, vehicle management equipment needs Block catenary system is first added, obtains the permission of access block chain.Therefore, vehicle management equipment transmits into chain to backstage management equipment Request.This enters the identity information including the corresponding manager of the vehicle management equipment in chain request.For example, manager is sale door Shop, then the identity information of the manager includes business license number, shops address and corporate message etc..
Whether step S302, back-stage management equipment detection identity information meet preset condition.
In block catenary system, can block catenary system be added by back-stage management equipment verification vehicle management equipment, is obtained Access the permission of block chain.After vehicle management equipment transmits into chain request, correspondingly, back-stage management equipment is received asks into chain It asks.Whether the identity information that back-stage management equipment detects in chain request meets preset condition.Wherein, preset condition is vehicle pipe It manages equipment and block catenary system is added, and obtain the permission condition to be met of access block chain.If identity information meets default Condition, then back-stage management equipment determines that block catenary system can be added in vehicle management equipment, and executes step S303;If identity is believed Breath does not meet preset condition, then back-stage management equipment determines that block catenary system cannot be added in vehicle management equipment, refuses vehicle pipe Reason equipment enters chain request.
According to vehicle management equipment, corresponding manager is different, and above-mentioned preset condition is also different.For example, for selling door Shop, preset condition include that business license number is effective;For car test mechanism, preset condition includes having vehicle detection qualification.Therefore, Preset condition is preset with actual manager based on practical experience.
Optionally, it is above-mentioned enter chain request further include vehicle management equipment facility information.Facility information includes hardware configuration Information, communications address information and security log information.Whether back-stage management equipment detects vehicle management equipment according to facility information Meet the hardware and safety standard that block catenary system is added.Wherein, hardware and safety standard can be set in advance based on practical experience It is fixed.If meeting the hardware and safety standard that block catenary system is added, back-stage management equipment determines that vehicle management equipment can add Enter block catenary system;If not meeting the hardware and safety standard that block catenary system is added, back-stage management equipment determines vehicle pipe Block catenary system cannot be added in reason equipment.
Step S303, back-stage management equipment transmit into chain response to vehicle management equipment.
After back-stage management equipment determines that block catenary system can be added in vehicle management equipment, transmitted into vehicle management equipment Chain response.This enters chain response and is used to indicate the permission that vehicle management equipment has in block catenary system.Although block chain technology In, each node of same block chain network can access all information in block chain.But in the area of the embodiment of the present application In block catenary system, although the information in block chain all can be inquired and be verified to all vehicle management equipment.But back-stage management equipment Different access authority can be distributed to different vehicle management equipment.For example, for vehicle transport department, back-stage management equipment point The permission matched does not allow vehicle management equipment to read and write owner information.Therefore, enter chain response and be applied not only to notice vehicle pipe Reason equipment has entered chain, also indicates the permission that vehicle management equipment has in block catenary system.
Optionally, entering chain response includes the corresponding access key of vehicle management equipment.The access key is used to indicate vehicle The access authority of management equipment.When vehicle management equipment is read or information is written, vehicle management equipment is read by key pair Or the request of write-in is signed.If vehicle management equipment is read or the information of write-in is in the permission indicated by access key, Then block catenary system allows to access the request that key is signed;If vehicle management equipment is read or the information of write-in is not close in access In permission indicated by key, then block catenary system does not allow to access the request that key was signed.
Step S304, vehicle management equipment obtain the information of vehicles for needing typing.
Firstly, vehicle management equipment obtains the information of vehicles for needing typing.Wherein, information of vehicles includes at least a vehicle Vehicles identifications.Vehicles identifications are for uniquely indicating an automobile, such as vehicle identification code, alternatively, breathing out correspondingly with vehicle Uncommon encrypted code.According to the corresponding manager of vehicle management equipment and usage scenario difference, information of vehicles further includes other data letters Breath.For example, if manager is production firm, detailed configuration information when information of vehicles further includes vehicle production;If manager It is vehicle transport department, then information of vehicles further includes the release information during logistics is transported;If manager is secondhand sales door Shop, then information of vehicles further includes emm message of the vehicle to shop.
In addition, because may include more than one vehicle letter in one block when subsequent step generates block sequence block Breath, so vehicle management equipment, when obtaining information of vehicles, a plurality of information of vehicles of an available automobile is also available The information of vehicles of more automobiles.
Optionally, vehicle management equipment can obtain information of vehicles by information acquisition terminal, such as be adopted by image Collection equipment scratches information determine Vehicle surface.Vehicle management equipment can also obtain vehicle by way of manual entry Information.
Step S305, vehicle management equipment generate Merkel's cryptographic Hash according to information of vehicles.
Vehicle management equipment arranges information of vehicles according to symmetric binary tree, generates Merkel tree.Merkel tree is a kind of Binary tree, including one group of leaf node, one group of intermediate node and a root node.Wherein, root node is located at the most upper of Merkel tree Layer, leaf node are located at the lowest level of Merkel tree.The quantity of each node layer is the half of the quantity of next node layer, and most The quantity of the leaf node of bottom is the quantity of above-mentioned information of vehicles.Value in each node is cryptographic Hash.Vehicle management equipment By the lowest level of Merkel tree to the top layer of Merkel tree, the cryptographic Hash in each node is successively determined.Firstly, for most lower The leaf node of layer, the cryptographic Hash in leaf node are to carry out the result that Hash operation obtains to the data in information of vehicles.Each Leaf node all stores the cryptographic Hash of an information of vehicles.After the cryptographic Hash for determining lowest level leaf node, for intermediate node With the cryptographic Hash of root node, vehicle management equipment carries out Hash operation to the cryptographic Hash of two child nodes of a node again, Obtained value is the cryptographic Hash of the node.By this way, vehicle management equipment successively determines the cryptographic Hash in each node, Until determining the cryptographic Hash of root node, and the cryptographic Hash of root node is determined as above-mentioned Merkel's cryptographic Hash.
Illustratively, as shown in figure 4, it illustrates a Merkel trees.Wherein, Merkel tree includes 4 leaf nodes 401, two intermediate nodes 402 and a root node 403.When determining the cryptographic Hash of each node of Merkel tree, vehicle management Equipment is first according to information of vehicles: L1, L2, L3 and L4.Determine the cryptographic Hash of leaf node 401: hash (L1), hash (L2), hash (L3) and hash (L3), then the cryptographic Hash of intermediate node 402: hash (HashL1+L2) and hash (HashL3+L4) is determined, most The cryptographic Hash of Merkel's cryptographic Hash, that is, root node 403: Hash0 (HashL1+L2+L3+L4) is determined eventually.
Because Merkel's cryptographic Hash is generated according to the information data to be recorded in block, the information in block When data change, corresponding Merkel's cryptographic Hash can also change.Therefore, vehicle management equipment is raw according to information of vehicles At Merkel's cryptographic Hash, by corresponding relationship between the two, guarantee after block is recorded in information of vehicles can not tamper.
Step S306, vehicle management equipment generate block sequence block.
Information of vehicles write-in block chain is needed to complete by way of generating block sequence block by vehicle management equipment.It should Block chain block includes the information of vehicles for needing typing and corresponding Merkel's cryptographic Hash.The block packet that vehicle management equipment generates Include block head and block body.Block head includes above-mentioned Merkel's cryptographic Hash, preceding block cryptographic Hash and block timestamp.Preceding block is breathed out Uncommon value is used to indicate previous block of the corresponding block in block chain, and block timestamp is used to indicate and generates block sequence block Time.Block body includes at least one with the information of vehicles of block transaction storage.In the block of block chain, information data is all It is stored in the form of transaction.In block catenary system, transaction refers not only to traditional transaction, such as the buying and selling of commodities, also Including operating result, data exchange or the data itself to data.Therefore, above-mentioned block transaction is data information in block chain Storage form.In block body, each information of vehicles all exists in the form of a block transaction.Therefore, vehicle management It is really generation area build and block body that equipment, which generates block sequence block,.
Optionally, block head further includes block version number and index mark.Block version number is used to indicate block version.One It may include multiple block transaction in a block.But it when equipment reads the information in a block transaction, needs first to determine and be wanted The position of the information of reading within a block.Index mark is used to indicate the position of information of vehicles within a block, i.e. information of vehicles institute The block of category is traded.In a kind of possible embodiment, the corresponding index mark of information of vehicles is above-mentioned Merkel tree, according to Cryptographic Hash in each node of Merkel's book, can determine corresponding information of vehicles.
Illustratively, as shown in figure 5, it illustrates the 500th blocks in a block chain.The block chain block includes Block head 501 and block body 502.Wherein, block head 501 includes Merkel's cryptographic Hash Hash0 (HashL1+L2+L3+L4), preceding Block cryptographic Hash hash-499, block timestamp 93-2-21-12:12:12 and Merkel tree.Block body 502 includes 4 blocks Transaction.It is information of vehicles respectively in 4 block transaction: L1, L2, L3 and L4.It should be noted that in the example of hgure 5, Merck You are only indicated with virtual module and words identification tree, are not constituted and are limited.To the content of Merkel tree and being discussed in detail for display Fig. 4 example can be referred to.The embodiment of the present application is no longer repeated herein.
Step S307, vehicle management equipment broadcast block sequence block in block catenary system.
According to the common recognition mechanism in block chain technology, record is had the block of information of vehicles to be added to area by vehicle management equipment Before block chain, the verifying by the other equipment of block catenary system is needed.All devices in block catenary system include at least other The vehicle management equipment and back-stage management equipment of manager.Therefore, vehicle management equipment broadcasts block chain in block catenary system Block, so that the legitimacy of other node devices verification block sequence block in block catenary system.Verify block sequence block Legitimacy is really to verify whether vehicle management equipment has by the permission of information of vehicles write-in block chain, to prevent no permission The false information of vehicles of equipment write-in.If vehicle management equipment has the permission of information of vehicles write-in block chain, the vehicle The block chain block that management equipment generates is legal;If the permission of block chain is not written in information of vehicles by vehicle management equipment, The block chain block that then the vehicle management equipment generates is illegal.
Optionally, whether have verification vehicle management equipment by the permission of information of vehicles write-in block chain, block chain Other node devices in system, such as the vehicle management equipment and back-stage management equipment of other managers, can pass through detection Whether information of vehicles in block by above-mentioned access key carried out signature.Accessing key is that back-stage management equipment is sent to vehicle The permission of management equipment proves.Therefore, if there is the corresponding signature of access key, vehicle management equipment, which has, writes information of vehicles Enter the permission of block chain;If not accessing the corresponding signature of key, block is not written in information of vehicles by vehicle management equipment The permission of chain.
Step S308, vehicle management equipment send detection instruction to backstage management equipment.
In practical applications, even if vehicle management equipment has the permission of information of vehicles write-in block chain, manager's sheet Body may also typing falseness information of vehicles.For example, in secondhand sales shops, manager according to the car test information of car test department and The vehicle use information of former car owner fixes a price to vehicle, and price is written in block chain.Car test information and vehicle use Information has stored in block chain, and the manager of secondhand sales shops can not distort.But the price of second-hand vehicle is by second-hand The manager for selling shops determines that manager can be turned up price and make profit.Therefore, block chain block is being added to block Before chain, need to detect the authenticity of information of vehicles.In this regard, vehicle management equipment sends detection instruction to backstage management equipment. The detection instruction is used to indicate whether back-stage management equipment detection information of vehicles is real information.Also, it is wrapped in the detection instruction Include information of vehicles to be detected, the i.e. information of vehicles of the wanted typing of vehicle management equipment.Vehicle management equipment can will need to record All information of vehicles be sent to back-stage management equipment detection, can also with transmitting portion information of vehicles give back-stage management equipment inspection It surveys.The embodiment of the present application does not limit this.
Step S309, back-stage management equipment read information of vehicles and correspond to vehicle stored vehicle letter in block catenary system Breath.
In order to detect whether information of vehicles is real information, back-stage management equipment is according to the vehicle in information of vehicles to be detected Mark determines corresponding vehicle, then obtains vehicle information of vehicles stored in block catenary system.Stored vehicle Information refers to the information having been written into block chain.Because the information in block chain can not distort, stored vehicle letter Breath is real information.
Step S310, back-stage management equipment detect whether information of vehicles is real information according to stored information of vehicles.
According to stored information of vehicles, the information of vehicles that back-stage management equipment can detecte the transmission of vehicle management equipment is No is real information.Between the different vehicle information of one automobile is associated with each other.For example, the mileage number and vehicle of vehicle There is following association between engine usage record: mileage number is directly proportional to the extent of deterioration of engine;The price of second-hand vehicle Exist with the mileage number of vehicle and be associated with as follows: mileage number is higher, and price is lower.Therefore, back-stage management equipment is according to stored Information of vehicles, can determine the value range of other information of vehicles associated there.Back-stage management equipment detects vehicle again Whether the value for the information of vehicles to be detected that management equipment is sent is in above-mentioned value range.If back-stage management equipment determines The information of vehicles to be detected that vehicle management equipment is sent is real information;If not existing, back-stage management equipment determines vehicle management The information of vehicles to be detected that equipment is sent is not real information.Because between information of vehicles be it is associated with each other, deposited There are corresponding relationships between the information of vehicles of storage and above-mentioned value range, and back-stage management equipment is according to the corresponding relationship and has stored Information of vehicles, come determine vehicle management equipment send information of vehicles to be detected value range.Stored information of vehicles After corresponding relationship between the value range of information of vehicles to be detected can be by technical staff based on practical experience preparatory typing Platform management equipment.
Illustratively, the corresponding relationship between the mileage number of second-hand vehicle and the value range of price is as shown in following table -1
Mileage number Price (original cost percentage)
<1000km > 90%
1000-10000km 77%-90%
10000-100000km 65%-77%
>100000km < 65%
Table -1
In the corresponding relationship shown in above-mentioned table -1, different mileage numbers corresponds to different price ranges.For example, if vehicle Mileage number is 5689km, then the price of the vehicle should be the 77% to 90% of original cost.When sale, shops wants the typing vehicle When price, price is sent to back-stage management equipment by vehicle management equipment.Correspondingly, back-stage management equipment detection sale shops wants Whether the price of typing is in the 77% to 90% of original cost this value range.
When determining the value range of information of vehicles to be detected, according to different stored information of vehicles, measuring car to be checked The value range of information is also different.Because information of vehicles to be detected is usually associated with multinomial stored information of vehicles, institute With according to different stored information of vehicles, the value range of information of vehicles to be detected is also different.For example, vehicle letter to be detected Breath is the price of second-hand vehicle.The price in addition to vehicle mileage number mutually outside the Pass, also with vehicle model, accident record, insurance It records related to maintenance record.Therefore, according to the determining price range of mileage number and according to mileage number, vehicle model and accident It is not identical to record determining price range.When determining the value range of information of vehicles to be detected, back-stage management equipment institute according to According to stored information of vehicles it is more, determine that value range is more accurate, the testing result of information of vehicles to be detected also got over Accurately.
Optionally, because back-stage management equipment is when detecting vehicle to be detected, what is desired is that with information of vehicles to be detected Associated stored information of vehicles.So in above-mentioned steps S309, back-stage management equipment can only obtain with it is to be detected The associated stored information of vehicles of information of vehicles.It avoids reading unrelated information of vehicles, improves detection efficiency.
In addition, different vehicle management equipment can repeat typing to same information of vehicles.For example, the vehicle pipe of car test department Equipment meeting typing vehicle model is managed, manufacturer and the vehicle management equipment for selling shops also can typing vehicle models.Therefore, if Information of vehicles to be detected is the information of vehicles that different vehicle management equipment repeats typing, then back-stage management equipment obtains other vehicles The information of vehicles of management equipment typing, and detect information of vehicles to be detected and typing information of vehicles whether phase Together.If they are the same, it is determined that information of vehicles to be detected is real information;If it is different, it is true for then determining information of vehicles to be detected not Information.
If the information of vehicles that back-stage management equipment determines that vehicle management equipment is sent is real information, then follow the steps S311.If the information of vehicles that back-stage management equipment determines that vehicle management equipment is sent is not real information, set to vehicle management Preparation, which is sent, to be refused to respond, and block chain is written to refuse vehicle management equipment for information of vehicles.
Step S311, back-stage management equipment send write instruction to vehicle management equipment.
If the information of vehicles of back-stage management equipment detection is real information, write instruction is sent to vehicle management equipment. The write instruction is used to indicate vehicle management equipment and block chain is written in information of vehicles.Correspondingly, vehicle management equipment executes general The step of block chain is written in information of vehicles.
It should be noted that above-mentioned steps S308 to step S311 can be held before above-mentioned steps S305 to step S307 Row, can also execute after above-mentioned steps S305 to step S307, can also be with above-mentioned steps S305 to step S307 simultaneously It executes.The embodiment of the present application does not limit this.
Block chain block is added to block chain by step S312, vehicle management equipment.
If the block chain block that vehicle management equipment generates is legal, and vehicle management equipment has received to vehicle in the block The write instruction of information, then block chain block is added to block chain by vehicle management equipment, completes information of vehicles and block is written The process of chain.
It should be noted that the equipment as block chain node, which all has, generates block to record in block catenary system The right of information.It is vehicle management equipment as generation block in above-mentioned steps S305 to step S307 and step S312 The node device of recording information of vehicles.In a kind of possible embodiment, the vehicle management equipment for obtaining information of vehicles can be with Will the information of vehicles of typing broadcasted in block chain network, block note is generated by other node devices in block chain network Record information of vehicles.The vehicle management equipment for obtaining information of vehicles is also possible to the equipment except block catenary system.When needing vehicle When information write-in block chain, vehicle management equipment submits information of vehicles to block catenary system, by the node in block chain network Equipment is verified and is written.
After block chain block is added to block chain by vehicle management equipment, information of vehicles can be with as the information in block chain By each querying node in block catenary system.Therefore, back-stage management equipment can read the information of vehicles recorded in block chain. The information of vehicles of same vehicle both corresponds to same vehicles identifications.Back-stage management equipment, can according to the vehicles identifications of each vehicle To read the information of vehicles of each vehicle in block chain.Back-stage management equipment generates letter further according to the vehicles identifications of each vehicle Breath obtains code.The acquisition of information code is corresponding with vehicles identifications.Work as user terminal, such as mobile phone, when scanning information obtains code, the use Family terminal carries out parsing to acquisition of information code and obtains corresponding vehicles identifications, and sends information request to backstage management equipment, with The corresponding information of vehicles of request.Back-stage management equipment is according to the vehicles identifications in information request, the reading pair from block chain The information of vehicles answered, and user terminal is sent to authenticate the format of report.Above- mentioned information, which obtain code, can be bar code or two Tie up code.Optionally, user terminal can also be used as the node in block chain network and block chain network be added.User terminal is being added When block chain network, key is read in the request of Xiang Houtai management equipment.Scanning parse acquisition of information code after, user terminal be not necessarily to Back-stage management device request information of vehicles directly can read corresponding vehicle by vehicles identifications and reading key from block chain Information.
Optionally, vehicle management equipment is when being written block chain for information of vehicles, probably due to equipment fault or artificial behaviour It makes mistakes, is written with the information of vehicles of mistake.For example, when vehicle price is written, 534600 yuan of mistake inputs are by employee 534700.Because the information in block chain can not distort, vehicle management equipment can not be modified directly in block chain block Information of vehicles.In this regard, back-stage management equipment first determines that there are the information of vehicles of typing mistake, i.e., information to be modified.Back-stage management Equipment obtains the corresponding Merkel's cryptographic Hash of information to be modified and index mark.Merkel's cryptographic Hash uniquely indicates a block Chain block, index mark indicate position of the corresponding information of vehicles in block chain block.Therefore, it is breathed out according to one group of Merkel Uncommon value and index mark can determine information of vehicles.Back-stage management equipment sends Information revision instruction to vehicle management equipment.It should Information revision instruction includes the corresponding Merkel's cryptographic Hash of above-mentioned information to be modified and index mark.Correspondingly, vehicle management is set It is standby to receive revision directive, it is determined according to Merkel's cryptographic Hash and index mark and reads information to be modified.Vehicle management equipment Further determine that information to be modified with the presence or absence of mistake;If it does not exist, then it is not necessary to modify information to be modified for vehicle management equipment;If In the presence of then vehicle management equipment treats update information and modifies to obtain revised information of vehicles.The regeneration of vehicle management equipment At modified block.The modified block includes revised information of vehicles and modifying label.In modified block, revised vehicle It further include modifying label in addition to revised information of vehicles itself in block transaction where information.The modifying label is for referring to Information of vehicles where showing in block transaction is revised information of vehicles.Also, information to be modified is not deleted in block chain It removes.Therefore, modifying label includes the corresponding Merkel's cryptographic Hash of information to be modified and index mark.Modifying label passes through Merkel Cryptographic Hash and index mark, indicate revised information of vehicles, are indicated to above-mentioned Merkel's cryptographic Hash and index mark The amendment of information of vehicles.When avoiding reading information of vehicles, there is the case where same information different value.Finally, vehicle management equipment Modified block is added to block chain, completes the amendment of information of vehicles.
In the embodiment of the present application, vehicle management equipment stores vehicle in such a way that block chain is written in information of vehicles Information.Using block chain technology, the vehicle management equipment of different managers is placed in same block catenary system, different vehicles Management equipment is all based on same block chain management information of vehicles.During block chain is written in information of vehicles, pass through Merck Your cryptographic Hash guarantees that the information of vehicles of record can not be distorted, then by the verification of the legitimacy to block chain block, avoids being written False information of vehicles.Therefore information of vehicles can be prevented to be tampered, improves the reliability and safety of information of vehicles, so that with Family can obtain the real information of vehicle.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 6 is a kind of schematic block diagram of the managing device of information of vehicles shown according to an exemplary embodiment.The dress Setting has the function of realizing that above-mentioned vehicle management equipment side method, the function can also be held by hardware realization by hardware The corresponding software realization of row.The apparatus may include: data obtaining module 601, hash generation module 602, block generation module 603, block broadcast module 604 and block adding module 605.
Data obtaining module 601, for obtaining the information of vehicles for needing typing.
Hash generation module 602, for generating Merkel's cryptographic Hash, Merkel's Hash according to the information of vehicles Value is for uniquely indicating a block in block chain.
Block generation module 603, for generating block sequence block, the block chain block includes the information of vehicles and institute State Merkel's cryptographic Hash.
Block broadcast module 604, for broadcasting the block chain block in the block catenary system, so that the area Node device in block catenary system verifies the legitimacy of the block chain block based on the common recognition mechanism of the block catenary system.
The block chain block is added to block if legal for the block chain block by block adding module 605 In chain.
In the embodiment of the present application, vehicle management equipment stores vehicle in such a way that block chain is written in information of vehicles Information.Using block chain technology, the vehicle management equipment of different managers is placed in same block catenary system, different vehicles Management equipment is all based on same block chain management information of vehicles.During block chain is written in information of vehicles, pass through Merck Your cryptographic Hash guarantees that the information of vehicles of record can not be distorted, then by the verification to block chain block legitimacy, avoids write-in empty False information of vehicles.Therefore information of vehicles can be prevented to be tampered, the reliability and safety of information of vehicles is improved, so that user The real information of vehicle can be obtained.
Optionally, the hash generation module 602, is used for:
The information of vehicles is arranged according to symmetric binary tree, the Merkel tree of generation;It determines each in the Merkel tree The cryptographic Hash of a node;The cryptographic Hash of root node in the Merkel tree is determined as Merkel's cryptographic Hash.
Optionally, described device further include:
Sending module, for sending detection instruction to backstage management equipment, the detection instruction includes the information of vehicles, So that the back-stage management equipment detects whether the information of vehicles is real information;
Receiving module, the write instruction sent for receiving the back-stage management equipment, said write instruction are used to indicate The block chain is written in the information of vehicles by the vehicle management equipment.
Optionally, the receiving module is also used to receive the Information revision instruction that the back-stage management equipment is sent, described Information revision instruction includes the corresponding Merkel's cryptographic Hash of information to be modified and index mark, and the information to be modified refers to described Modified information of vehicles is needed in block chain, the index mark is used to indicate the information to be modified in block chain block Position.
The block generation module 603 is also used to be instructed according to the Information revision, generates modified block, the amendment Block includes revised information of vehicles and modifying label, and the modifying label includes the corresponding Merkel of the information to be modified Cryptographic Hash and index mark.
The block adding module 605 is also used to for the modified block being added in the block chain.
Optionally, the sending module, be also used to transmit into the back-stage management equipment chain request, it is described enter chain request The identity information of manager is corresponded to including the vehicle management equipment.
The receiving module, is also used to receive that the back-stage management equipment sends enters chain response, it is described enter chain response use In the permission for indicating that the vehicle management equipment has in the block catenary system.
Optionally, the block generation module 603, is used for:
The block head of the block chain block is generated, the block head includes Merkel's cryptographic Hash, preceding block Hash Value and block timestamp, the preceding block cryptographic Hash are used to indicate the previous block for the block chain block to be generated, the area Block timestamp is used to indicate the time for generating the block chain block;
The block body of the block chain block is generated, the block body includes at least one with the vehicle of block transaction storage Information, the block transaction is storage form of the data information in block chain block.
Fig. 7 is a kind of schematic block diagram of the managing device of information of vehicles shown according to an exemplary embodiment.The dress Setting has the function of realizing that above-mentioned back-stage management equipment side method, the function can also be held by hardware realization by hardware The corresponding software realization of row.The apparatus may include: command reception module 701, information reading module 702, information detecting module 703 and instruction sending module 704.
Command reception module 701, for receiving the detection instruction of vehicle management equipment transmission, the detection instruction includes institute State the information of vehicles that vehicle management equipment needs typing
Information reading module 702 corresponds to vehicle stored vehicle letter in block chain for reading the information of vehicles Cease
Information detecting module 703, for detecting whether the information of vehicles is true according to the stored information of vehicles Real information
Instruction sending module 704 is sent if being real information for the information of vehicles to the vehicle management equipment Write instruction, said write instruction are used to indicate the vehicle management equipment and the block chain are written in the information of vehicles.
In the embodiment of the present application, vehicle management equipment stores vehicle in such a way that block chain is written in information of vehicles Information.Using block chain technology, the vehicle management equipment of different managers is placed in same block catenary system, different vehicles Management equipment is all based on same block chain management information of vehicles.So as to prevent information of vehicles to be tampered.Also, by managing from the background Reason equipment detects the authenticity of information of vehicles, avoids the information of vehicles of typing falseness, further increases information of vehicles Reliability and safety allow users to the real information for obtaining vehicle.
Optionally, described device further include: Information revision module is used for:
The corresponding Merkel's cryptographic Hash of information to be modified and index mark are obtained, the information to be modified refers to the block Modified information of vehicles is needed in chain, Merkel's cryptographic Hash is for uniquely indicating a block in block chain, the rope Tendering knowledge is used to indicate position of the information to be modified in block chain block;Information is sent to the vehicle management equipment to repair Positive order, the Information revision instruction include the corresponding Merkel's cryptographic Hash of the information to be modified and index mark.
Optionally, described device further include: enter chain detection module, be used for:
Receive that the vehicle management equipment sends enters chain request, it is described enter chain request include the vehicle management equipment pair Answer the identity information of manager;Detect whether the identity information meets preset condition;If the identity information meets described pre- If condition, then to the vehicle management equipment transmit into chain response, it is described enter chain response be used to indicate the vehicle management equipment The permission having in the block catenary system.
One exemplary embodiment of the application provides a kind of management equipment of information of vehicles, i.e., above-mentioned vehicle management equipment. The equipment includes the device as shown in above-mentioned Fig. 6 embodiment, is configured as vehicle management equipment side method in implementation method example.
One exemplary embodiment of the application provides a kind of management equipment of information of vehicles, i.e., above-mentioned back-stage management equipment. The equipment includes the device as shown in above-mentioned Fig. 7 embodiment, is configured as back-stage management equipment side method in implementation method example.
The application another exemplary embodiment provides a kind of management system of information of vehicles, which includes at least one State vehicle management equipment and above-mentioned back-stage management equipment.
In the embodiment of the present application, vehicle management equipment stores vehicle in such a way that block chain is written in information of vehicles Information.Using block chain technology, the vehicle management equipment of different managers is placed in same block catenary system, different vehicles Management equipment is all based on same block chain management information of vehicles.During block chain is written in information of vehicles, pass through Merck Your cryptographic Hash guarantees that the information of vehicles of record can not be distorted, then by the verification of the legitimacy to block chain block, avoids being written False information of vehicles.Therefore information of vehicles can be prevented to be tampered, improves the reliability and safety of information of vehicles, so that with Family can obtain the real information of vehicle.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, is stored in the storage medium Computer program or intelligent contract, the computer program or intelligent contract are loaded and executed by nodes to realize above-described embodiment The management method of the information of vehicles of offer.Optionally, above-mentioned computer readable storage medium can be read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the application or embodiment The method stated.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (14)

1. a kind of management method of information of vehicles is applied to vehicle management equipment, which is characterized in that the described method includes:
Obtain the information of vehicles for needing typing;
According to the information of vehicles, Merkel (Merkle) cryptographic Hash is generated, Merkel's cryptographic Hash is for uniquely indicating area A block in block chain;
Block sequence block is generated, the block chain block includes the information of vehicles and Merkel's cryptographic Hash;
The block chain block is broadcasted in the block catenary system, so that the node device in the block catenary system is based on The common recognition mechanism of the block catenary system verifies the legitimacy of the block chain block;
If the block chain block is legal, the block chain block is added in block chain.
2. the method according to claim 1, wherein described according to the information of vehicles, generation Merkel's Hash Value, comprising:
The information of vehicles is arranged according to symmetric binary tree, the Merkel tree of generation;
Determine the cryptographic Hash of each node in the Merkel tree;
The cryptographic Hash of root node in the Merkel tree is determined as Merkel's cryptographic Hash.
3. the method according to claim 1, wherein described be added to it in block chain for the block chain block Before, further includes:
Detection instruction is sent to backstage management equipment, the detection instruction includes the information of vehicles, so that the backstage is managed It manages equipment and detects whether the information of vehicles is real information;
The write instruction that the back-stage management equipment is sent is received, said write instruction is used to indicate the vehicle management equipment will The block chain is written in the information of vehicles.
4. method according to claim 1-3, which is characterized in that the method also includes:
The Information revision instruction that the back-stage management equipment is sent is received, the Information revision instruction includes that information to be modified is corresponding Merkel's cryptographic Hash and index mark, the information to be modified, which refers to, needs modified information of vehicles, institute in the block chain It states index mark and is used to indicate position of the information to be modified in block chain block;
It is instructed according to the Information revision, generates modified block, the modified block includes revised information of vehicles and amendment Label, the modifying label include the corresponding Merkel's cryptographic Hash of the information to be modified and index mark;
The modified block is added in the block chain.
5. method according to claim 1-3, which is characterized in that it is described obtain need typing information of vehicles it Before, further includes:
To the back-stage management equipment transmit into chain request, it is described enter chain request include the vehicle management equipment correspond to manager Identity information;
Receive that the back-stage management equipment sends enters chain response, it is described enter chain response be used to indicate the vehicle management equipment and exist The permission having in the block catenary system.
6. method according to claim 1-3, which is characterized in that the generation block sequence block, comprising:
Generate the block head of the block chain block, the block head include Merkel's cryptographic Hash, preceding block cryptographic Hash and Block timestamp, the preceding block cryptographic Hash are used to indicate the previous block for the block chain block to be generated, when the block Between stamp be used to indicate the time for generating the block chain block;
The block body of the block chain block is generated, the block body includes at least one with the vehicle letter of block transaction storage Breath, the block transaction is storage form of the data information in block chain block.
7. a kind of management method of information of vehicles is applied to back-stage management equipment, which is characterized in that the described method includes:
The detection instruction that vehicle management equipment is sent is received, the detection instruction includes that the vehicle management equipment needs typing Information of vehicles;
It reads the information of vehicles and corresponds to vehicle stored information of vehicles in block chain;
According to the stored information of vehicles, detect whether the information of vehicles is real information;
If the information of vehicles is real information, write instruction is sent to the vehicle management equipment, said write instruction is used The block chain is written into the information of vehicles in the instruction vehicle management equipment.
8. the method according to the description of claim 7 is characterized in that the method also includes:
The corresponding Merkel of information to be modified (Merkle) cryptographic Hash and index mark are obtained, the information to be modified refers to described Modified information of vehicles is needed in block chain, Merkel's cryptographic Hash is for uniquely indicating a block in block chain, institute It states index mark and is used to indicate position of the information to be modified in block chain block;
Information revision instruction is sent to the vehicle management equipment, the Information revision instruction includes that the information to be modified is corresponding Merkel's cryptographic Hash and index mark.
9. the method according to the description of claim 7 is characterized in that the method also includes:
Receive that the vehicle management equipment sends enters chain request, it is described enter chain request include the vehicle management equipment respective tube The identity information of reason person;
Detect whether the identity information meets preset condition;
If the identity information meets the preset condition, to the vehicle management equipment transmit into chain response, it is described enter chain Response is used to indicate the permission that the vehicle management equipment has in the block catenary system.
10. a kind of managing device of information of vehicles, it is applied to vehicle management equipment, which is characterized in that described device includes:
Data obtaining module, for obtaining the information of vehicles for needing typing;
Hash generation module, for generating Merkel (Merkle) cryptographic Hash, Merkel's Hash according to the information of vehicles Value is for uniquely indicating a block in block chain;
Block generation module, for generating block sequence block, the block chain block includes the information of vehicles and the Merck That cryptographic Hash;
Block broadcast module, for broadcasting the block chain block in the block catenary system, so that the block linkwork Node device in system verifies the legitimacy of the block chain block based on the common recognition mechanism of the block catenary system;
The block chain block is added in block chain by block adding module if legal for the block chain block.
11. a kind of managing device of information of vehicles, it is applied to back-stage management equipment, which is characterized in that described device includes:
Command reception module, for receiving the detection instruction of vehicle management equipment transmission, the detection instruction includes the vehicle Management equipment needs the information of vehicles of typing;
Information reading module corresponds to vehicle stored information of vehicles in block chain for reading the information of vehicles;
Information detecting module, for detecting whether the information of vehicles is real information according to the stored information of vehicles;
Instruction sending module sends write-in to the vehicle management equipment and refers to if being real information for the information of vehicles It enables, said write instruction is used to indicate the vehicle management equipment and the block chain is written in the information of vehicles.
12. a kind of management equipment of information of vehicles, which is characterized in that the equipment is configured as:
Obtain the information of vehicles for needing typing;
According to the information of vehicles, Merkel (Merkle) cryptographic Hash is generated, Merkel's cryptographic Hash is for uniquely indicating area A block in block chain;
Block sequence block is generated, the block chain block includes the information of vehicles and Merkel's cryptographic Hash;
The block chain block is broadcasted in the block catenary system, so that the node device in the block catenary system is based on The common recognition mechanism of the block catenary system verifies the legitimacy of the block chain block;
If the block chain block is legal, the block chain block is added in block chain.
13. a kind of management equipment of information of vehicles, which is characterized in that the equipment is configured as:
The detection instruction that vehicle management equipment is sent is received, the detection instruction includes that the vehicle management equipment needs typing Information of vehicles;
It reads the information of vehicles and corresponds to vehicle stored information of vehicles in block chain;
According to the stored information of vehicles, detect whether the information of vehicles is real information;
If the information of vehicles is real information, write instruction is sent to the vehicle management equipment, said write instruction is used The block chain is written into the information of vehicles in the instruction vehicle management equipment.
14. a kind of management system of information of vehicles, which is characterized in that the system comprises at least one as claimed in claim 12 Equipment and equipment as claimed in claim 13.
CN201910299756.3A 2019-04-15 2019-04-15 Management method, device, equipment and the system of information of vehicles Pending CN110047168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910299756.3A CN110047168A (en) 2019-04-15 2019-04-15 Management method, device, equipment and the system of information of vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910299756.3A CN110047168A (en) 2019-04-15 2019-04-15 Management method, device, equipment and the system of information of vehicles

Publications (1)

Publication Number Publication Date
CN110047168A true CN110047168A (en) 2019-07-23

Family

ID=67277146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910299756.3A Pending CN110047168A (en) 2019-04-15 2019-04-15 Management method, device, equipment and the system of information of vehicles

Country Status (1)

Country Link
CN (1) CN110047168A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110610610A (en) * 2019-09-20 2019-12-24 腾讯科技(深圳)有限公司 Vehicle access management method and device and storage medium
CN110889520A (en) * 2019-11-29 2020-03-17 腾讯科技(深圳)有限公司 Block chain-based vehicle management method and device, terminal and storage medium
CN111368326A (en) * 2020-02-25 2020-07-03 百度在线网络技术(北京)有限公司 Vehicle data processing method and device, electronic equipment and storage medium
CN111866009A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
CN111866011A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Method and device for updating vehicle information
CN111866014A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information protection method and device
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
CN112585930A (en) * 2020-09-11 2021-03-30 华为技术有限公司 Data storage method, device and system
CN112700361A (en) * 2020-12-29 2021-04-23 安徽路歌运输有限公司 Method for storing transportation vehicle information in transportation platform
CN112733197A (en) * 2019-10-28 2021-04-30 本田技研工业株式会社 Information management system
CN112866250A (en) * 2021-01-19 2021-05-28 中国工商银行股份有限公司 Vehicle data processing method and device based on block chain
CN113094440A (en) * 2021-04-28 2021-07-09 永旗(北京)科技有限公司 Data processing method based on block chain
WO2022042255A1 (en) * 2020-08-28 2022-03-03 京东科技信息技术有限公司 Item information management method and network, and item circulation method, platform and system
WO2022067731A1 (en) * 2020-09-30 2022-04-07 Huawei Technologies Co., Ltd. Method for verifying software security of electronic device(s) in vehicle and related device
CN115510501A (en) * 2022-11-22 2022-12-23 中汽信息科技(天津)有限公司 Automobile data tamper-proofing method and system
CN116668052A (en) * 2022-12-29 2023-08-29 摩斯智联科技有限公司 Vehicle and user assessment system for trusted exchange of industrial data

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050730A (en) * 2014-05-23 2014-09-17 北京中交兴路信息科技有限公司 Method and apparatus for processing vehicle reported information
CN104854430A (en) * 2012-12-12 2015-08-19 大陆汽车有限责任公司 Method for checking a total distance which is travelled by a motor vehicle and is displayed therein
CN106897887A (en) * 2017-02-15 2017-06-27 深圳先进技术研究院 A kind of Second-hand Vehicle Transaction method, apparatus and system based on block chain technology
CN107945312A (en) * 2017-10-31 2018-04-20 深圳市轱辘车联数据技术有限公司 A kind of vehicle checking method and its equipment
CN108009646A (en) * 2017-11-30 2018-05-08 深圳市轱辘车联数据技术有限公司 Vehicle data processing method and server
CN109241762A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets information acquisition methods, device and computer equipment based on block chain technology
CN109472594A (en) * 2018-10-11 2019-03-15 平安科技(深圳)有限公司 Car data sharing method, device, equipment and storage medium based on block chain
CN109542888A (en) * 2018-12-03 2019-03-29 百度在线网络技术(北京)有限公司 The data modification and synchronous method of block chain, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104854430A (en) * 2012-12-12 2015-08-19 大陆汽车有限责任公司 Method for checking a total distance which is travelled by a motor vehicle and is displayed therein
CN104050730A (en) * 2014-05-23 2014-09-17 北京中交兴路信息科技有限公司 Method and apparatus for processing vehicle reported information
CN106897887A (en) * 2017-02-15 2017-06-27 深圳先进技术研究院 A kind of Second-hand Vehicle Transaction method, apparatus and system based on block chain technology
CN107945312A (en) * 2017-10-31 2018-04-20 深圳市轱辘车联数据技术有限公司 A kind of vehicle checking method and its equipment
CN108009646A (en) * 2017-11-30 2018-05-08 深圳市轱辘车联数据技术有限公司 Vehicle data processing method and server
CN109241762A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets information acquisition methods, device and computer equipment based on block chain technology
CN109472594A (en) * 2018-10-11 2019-03-15 平安科技(深圳)有限公司 Car data sharing method, device, equipment and storage medium based on block chain
CN109542888A (en) * 2018-12-03 2019-03-29 百度在线网络技术(北京)有限公司 The data modification and synchronous method of block chain, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
杜宁等: "《监管科技-人工智能与区块链应用之大道》", 31 July 2018 *
熊健等: "《区块链技术原理与应用》", 31 December 2018 *
顾炳文: "《风口区块链》", 30 June 2018 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110610610A (en) * 2019-09-20 2019-12-24 腾讯科技(深圳)有限公司 Vehicle access management method and device and storage medium
CN112733197A (en) * 2019-10-28 2021-04-30 本田技研工业株式会社 Information management system
CN110889520A (en) * 2019-11-29 2020-03-17 腾讯科技(深圳)有限公司 Block chain-based vehicle management method and device, terminal and storage medium
CN110889520B (en) * 2019-11-29 2023-12-26 腾讯科技(深圳)有限公司 Vehicle management method, device, terminal and storage medium based on block chain
CN111368326A (en) * 2020-02-25 2020-07-03 百度在线网络技术(北京)有限公司 Vehicle data processing method and device, electronic equipment and storage medium
CN111368326B (en) * 2020-02-25 2023-01-10 百度在线网络技术(北京)有限公司 Vehicle data processing method and device, electronic equipment and storage medium
CN111866014B (en) * 2020-07-29 2022-02-11 中国联合网络通信集团有限公司 Vehicle information protection method and device
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
CN111866014A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information protection method and device
CN111866011A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Method and device for updating vehicle information
CN111866009A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
WO2022042255A1 (en) * 2020-08-28 2022-03-03 京东科技信息技术有限公司 Item information management method and network, and item circulation method, platform and system
CN112585930A (en) * 2020-09-11 2021-03-30 华为技术有限公司 Data storage method, device and system
WO2022067731A1 (en) * 2020-09-30 2022-04-07 Huawei Technologies Co., Ltd. Method for verifying software security of electronic device(s) in vehicle and related device
CN112700361A (en) * 2020-12-29 2021-04-23 安徽路歌运输有限公司 Method for storing transportation vehicle information in transportation platform
CN112866250A (en) * 2021-01-19 2021-05-28 中国工商银行股份有限公司 Vehicle data processing method and device based on block chain
CN113094440A (en) * 2021-04-28 2021-07-09 永旗(北京)科技有限公司 Data processing method based on block chain
CN115510501A (en) * 2022-11-22 2022-12-23 中汽信息科技(天津)有限公司 Automobile data tamper-proofing method and system
CN116668052A (en) * 2022-12-29 2023-08-29 摩斯智联科技有限公司 Vehicle and user assessment system for trusted exchange of industrial data

Similar Documents

Publication Publication Date Title
CN110047168A (en) Management method, device, equipment and the system of information of vehicles
TWI768163B (en) Method and device for generating smart contracts
CN110335149A (en) A kind of assets based on block chain really weigh transaction realization method and system
CN109101839B (en) Product maintenance support system based on block chain
CN110226317A (en) Data authentication method, device and system
CN108846752A (en) Data processing method, system, block platform chain and readable storage medium storing program for executing
CN108540553B (en) Internet of things data management method, platform and equipment
CN109034414A (en) A kind of automobile management system based on block chain technology
CN111813857A (en) Detection data management system and method based on block chain technology
US20080120119A1 (en) Method for Servicing an Electronic Certificate for a Big-Name Brand
CN110866755A (en) Processing method, equipment and medium for bill data
CN111368262B (en) Artificial intelligent model protection and loose coupling distributed training method based on blockchain
CN114596101A (en) Traffic product authentication tracing system and method based on block chain technology
CN110704539A (en) Supply chain management method and device
CN114092287A (en) Intellectual property management system and method based on block chain
CN109472604A (en) Antifake method for products and system based on real name block chain
CN105512863A (en) Marketing management method and system
CN112052033A (en) Power distribution automation master station version management method and system based on process and block chain
CN106897886A (en) Publication management method and system
JP4217222B2 (en) Integrated business system
CN114596165A (en) Block chain system and method for registering, selling and managing financial products
KR20200079931A (en) Method for issuing and authenticating an elelcrtonic ticket based on block chain network
CN109978568A (en) A kind of retrospect method for anti-counterfeit and system of two dimensional code
CN113469758B (en) Billing method, device, equipment and storage medium of blockchain and tax system
CN112837039B (en) Business training management method and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190723