Invention content
An embodiment of the present invention provides the management method of vehicle diagnosis information, device and terminal devices, can solve to repair
The problem of factory's parts stock causes to be delayed vehicle maintenance not in time.
In a first aspect, a kind of management method of vehicle diagnosis information is provided, including:
Obtain the information of vehicles and diagnostic message of fault car;
Components information according to needed for the information of vehicles and diagnostic message determine to repair the fault car;
Bind the information of vehicles, the diagnostic message and the components information;
The information of vehicles, the diagnostic message and the components information after binding is stored to the node of block chain
On server, so that registered repair shop's server is obtained from the node server of the block chain on the block chain
The information of vehicles, the diagnostic message and the components information.
Optionally, binding information refers to the information of vehicles, the diagnostic message and the components information after binding,
The information of vehicles, the diagnostic message and the components information by after binding is stored to the node serve of block chain
Include on device:
The binding information is uploaded on the given server of the block chain, so that the given server is by described in
Binding information is broadcasted to all node servers on the block chain, and all node servers receive it is described
The characteristic value about the binding information is preserved during binding information;The given server refers to note on the block chain in advance
The node server specified of volume.
Optionally, it before the binding information is uploaded on the given server of the block chain, further includes:
The binding information is encrypted;
The binding information is broadcasted to before all node servers on the block chain in the given server,
The binding information is decrypted in the given server.
Optionally, the parts according to needed for the information of vehicles and diagnostic message determine to repair the fault car
Information includes:
It is analyzed according to the information of vehicles and diagnostic message to obtain the failure of the fault car using vehicle diagnostic equipment
Diagnostic result;
Components information according to needed for the fault diagnosis result determines to repair the fault car.
Second aspect provides a kind of managing device of vehicle diagnosis information, including:
Diagnostic message acquisition module, for obtaining the information of vehicles of fault car and diagnostic message;
Components information determining module, for being determined to repair the fault car according to the information of vehicles and diagnostic message
Required components information;
Information binding module, for binding the information of vehicles, the diagnostic message and the components information;
Block chain memory module is believed for the information of vehicles, the diagnostic message and the parts after binding
Breath is stored to the node server of block chain, so that registered repair shop's server is from the block on the block chain
The information of vehicles, the diagnostic message and the components information are obtained on the node server of chain.
Optionally, binding information refers to the information of vehicles, the diagnostic message and the components information after binding,
The block chain memory module is specifically used for:
The binding information is uploaded on the given server of the block chain, so that the given server is by described in
Binding information is broadcasted to all node servers on the block chain, and all node servers receive it is described
The characteristic value about the binding information is preserved during binding information;The given server refers to note on the block chain in advance
The node server specified of volume.
Optionally, the block chain memory module is specifically used for:
The binding information is encrypted, then the binding information is uploaded to the specified clothes of the block chain
Be engaged on device so that the given server is after the binding information is decrypted, by the binding information broadcast to
All node servers on the block chain, and all node servers are preserved when receiving the binding information
Characteristic value about the binding information.
Optionally, the components information determining module includes:
Diagnosis unit, for being analyzed to obtain the event according to the information of vehicles and diagnostic message using vehicle diagnostic equipment
Hinder the fault diagnosis result of vehicle;
Parts unit is determined, for zero according to needed for the fault diagnosis result determines to repair the fault car
Part information.
The third aspect provides a kind of terminal device, including memory, processor and is stored in the memory simultaneously
The computer program that can be run on the processor, the processor realize above-mentioned vehicle when performing the computer program
The step of management method of diagnostic message.
Fourth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter
The step of calculation machine program, the computer program realizes the management method of above-mentioned vehicle diagnosis information when being executed by processor.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, first, the information of vehicles and diagnostic message of fault car are obtained;Then, according to the vehicle
Information and diagnostic message determine to repair the components information needed for the fault car;Then, the information of vehicles, institute are bound
State diagnostic message and the components information;Finally, by after binding the information of vehicles, the diagnostic message and zero described
Part information is stored to the node server of block chain, so that registered repair shop's server is from described on the block chain
The information of vehicles, the diagnostic message and the components information are obtained on the node server of block chain.It is as it can be seen that of the invention
The components information needed for information of vehicles, diagnostic message and the corresponding repair of fault car can be obtained, and these information are tied up
It is stored in a manner of block chain after fixed, using the characteristic of block chain technology, ensure that data are not tampered, it is ensured that these
The authenticity of information;Also, registered repair shop can get these information from block chain, wherein repairing required zero
Component information can help repair shop to carry out parts stock targeted specifically, increase corresponding parts inventory, alleviate significantly
Required parts inventory insufficient situation when fault car is repaired reduces the stand-by period of vehicle maintenance.
Specific embodiment
An embodiment of the present invention provides the management method of vehicle diagnosis information, device and terminal device, for solving to repair
The problem of factory's parts stock causes to be delayed vehicle maintenance not in time.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that disclosed below
Embodiment be only part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
All other embodiment that those of ordinary skill is obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, a kind of management method one embodiment of vehicle diagnosis information includes in the embodiment of the present invention:
101st, the information of vehicles and diagnostic message of fault car are obtained;
Firstly, it is necessary to explanation, the executive agent of the present embodiment can be the terminal devices such as computer, mobile terminal,
Can also be the system or server for performing the management method.In the present embodiment, preferred executive agent is terminal device.
It is understood that after vehicle breaks down, user can detect disabled vehicle by the diagnostic device of profession
, so as to which terminal device can get the information of vehicles and diagnostic message of the fault car.Wherein, above-mentioned information of vehicles can
To include but not limited to vehicle unique identifier (VIN codes), the mileage number that vehicle has currently travelled, vehicle brand, vehicle, year
The information such as money, engine model.And above-mentioned diagnostic message can include but is not limited to automobile fault code, trouble location is shot
The information such as photo.
102nd, the components information according to needed for the information of vehicles and diagnostic message determine to repair the fault car;
Terminal device, can be true according to the information of vehicles and diagnostic message after information of vehicles and diagnostic message is got
Surely the components information needed for the fault car is repaired.Wherein, the components information refers to repair needed for the fault car
Parts model, quantity, even specification, the information such as manufacturer.
It is understood that the parts due to automobile are varied, parts used in the automobile of different brands
Be different, this cause often for different brands, model automobile replace same area parts when, need using difference
The parts of model.Therefore, terminal device can learn repair event after information of vehicles and diagnostic message is got by analysis
Hinder the components information needed for vehicle, so as to be provided conveniently for the repair shop of vehicle.
Further, as shown in Fig. 2, above-mentioned steps 102 can include:
201st, it is analyzed to obtain the fault car according to the information of vehicles and diagnostic message using vehicle diagnostic equipment
Fault diagnosis result;
202nd, the components information according to needed for the fault diagnosis result determines to repair the fault car.
For above-mentioned steps 201, it is to be understood that terminal device can be believed using vehicle diagnostic equipment to analyze vehicle
Breath and diagnostic message, so as to obtain the fault diagnosis result of the fault car.The fault diagnosis result may include whether to need
Whether repair needs replacing parts, replaces the information such as which parts.
It, can be according to the failure by above-mentioned steps 201 it is found that after fault diagnosis result is obtained for step 202
Diagnostic result determines to repair the components information needed for the fault car, can include the models of parts, quantity, specification,
The information such as brand or even the purchase channel of parts can also be included, recommend information, the repair shop such as manufacturing company that can pass through this
A little components informations carry out parts stock.
103rd, the information of vehicles, the diagnostic message and the components information are bound;
In the present embodiment, due to the information of vehicles that for fault car, terminal device acquires every time, institute
State diagnostic message and the components information correspond, in order to ensure these data when being supplied to subsequent data analysis energy
Interrelated, the present embodiment binds the above-mentioned information of vehicles, diagnostic message and the components information that get every time.Specifically
Ground, the mode of binding can include data packet is packaged, index information is associated with etc..
104th, the information of vehicles, the diagnostic message and the components information after binding are stored to block chain
On node server, so that registered repair shop's server is from the node server of the block chain on the block chain
Obtain the information of vehicles, the diagnostic message and the components information.
It is understood that in order to ensure information of vehicles, the diagnostic message and the components information after binding not
It is tampered, ensures the authority of data, the present embodiment stores these data using block chain technology.Since block chain is deposited
The characteristic of storage technology is stored in these data to block chain, and the registered server on block chain can be from block
These data are got on chain.Therefore, as long as the server of repair shop is registered on block chain, you can from any section of block chain
The information of vehicles, the diagnostic message and the components information of binding are downloaded on point server so that repair shop can
To learn the parts needed for the fault car in advance, so as to carry out the stock of parts in advance.
For ease of description, the information of vehicles, the diagnostic message and the components information after binding are referred to as tied up
Determine information, therefore, above-mentioned steps 104 are specifically as follows:The binding information is uploaded to the given server of the block chain
On, so that the given server broadcasts the binding information to all node servers on the block chain, and institute
It states all node servers and characteristic value about the binding information is preserved when receiving the binding information;The specified clothes
Business device refers to the node server specified registered on the block chain in advance.It is found that above-mentioned characteristic value can be based on
One-way hash function show that one-way hash function can include hash function, MD5 digest algorithm after calculating the binding information
Deng.Particularly, the hash values that hash function calculates the binding information may be used under an application scenarios, due to hash algorithm
Unidirectional irreversible property, all node servers save the binding information and hash values on block chain, so as to i.e.
It is that the providers of data can not also change these and store the authority that the data of block chain, ensure that data.
Further, the safety for raising data, in the specified clothes that the binding information is uploaded to the block chain
Before on business device, also the binding information is encrypted.Correspondingly, in the given server by the binding information
Before broadcast to all node servers on the block chain, the given server then needs to carry out the binding information
Decryption processing.
Further, the Encryption Algorithm that the present embodiment uses can be asymmetrical Encryption Algorithm.It illustrates:In advance
A pair of public and private key of setting, in advance by public key distribution to terminal device, private key distributes to the given server.When terminal device obtains
When getting above-mentioned binding information, binding information is encrypted using public key;And when given server gets encrypted tie up
When determining information, which then may be used corresponding private key and the binding information is decrypted, so as to get encryption
Rear binding information is simultaneously broadcasted to all node servers on block chain.
It is understood that the node server on block chain is by binding information when being supplied to repair shop, it can also be first
Binding information is encrypted using private key, is then available to repair shop.The public key that repair shop reuses mandate believes binding
The information such as breath decryption acquisition information of vehicles therein, diagnostic message and components information, it is ensured that the safety of data and authenticity.
In addition, repair shop can also carry out data traceability according to each node server on block chain, so as to verify that is got ties up
Whether true determine information.
In the present embodiment, first, the information of vehicles and diagnostic message of fault car are obtained;Then, believed according to the vehicle
Breath and diagnostic message determine to repair the components information needed for the fault car;Then, it binds the information of vehicles, described examine
Disconnected information and the components information;Finally, the information of vehicles, the diagnostic message and the parts after binding are believed
Breath is stored to the node server of block chain, so that registered repair shop's server is from the block on the block chain
The information of vehicles, the diagnostic message and the components information are obtained on the node server of chain.As it can be seen that the present embodiment can
To obtain the components information needed for the information of vehicles of fault car, diagnostic message and corresponding repair, and these information are bound
It is stored in a manner of block chain afterwards, using the characteristic of block chain technology, ensure that data are not tampered, it is ensured that these letters
The authenticity of breath;Also, registered repair shop can get these information from block chain, wherein repairing required zero
Part information can help repair shop to carry out parts stock targeted specifically, increase corresponding parts inventory, alleviate event significantly
Required parts inventory insufficient situation when hindering vehicle maintenance reduces the stand-by period of vehicle maintenance.
A kind of management method of vehicle diagnosis information is essentially described above, it below will be to a kind of pipe of vehicle diagnosis information
Reason device is described in detail.
Fig. 3 shows a kind of managing device one embodiment structure chart of vehicle diagnosis information in the embodiment of the present invention.
In the present embodiment, a kind of managing device of vehicle diagnosis information includes:
Diagnostic message acquisition module 301, for obtaining the information of vehicles of fault car and diagnostic message;
Components information determining module 302, for being determined to repair the failure according to the information of vehicles and diagnostic message
Components information needed for vehicle;
Information binding module 303, for binding the information of vehicles, the diagnostic message and the components information;
Block chain memory module 304, for the information of vehicles, the diagnostic message and the parts after binding
Information is stored to the node server of block chain, so that registered repair shop's server is from the area on the block chain
The information of vehicles, the diagnostic message and the components information are obtained on the node server of block chain.
Further, binding information can refer to the information of vehicles after binding, the diagnostic message and zero described
Part information, the block chain memory module are specifically used for:
The binding information is uploaded on the given server of the block chain, so that the given server is by described in
Binding information is broadcasted to all node servers on the block chain, and all node servers receive it is described
The characteristic value about the binding information is preserved during binding information;The given server refers to note on the block chain in advance
The node server specified of volume.
Further, the block chain memory module can be specifically used for:
The binding information is encrypted, then the binding information is uploaded to the specified clothes of the block chain
Be engaged on device so that the given server is after the binding information is decrypted, by the binding information broadcast to
All node servers on the block chain, and all node servers are preserved when receiving the binding information
Characteristic value about the binding information.
Further, the components information determining module can include:
Diagnosis unit, for being analyzed to obtain the event according to the information of vehicles and diagnostic message using vehicle diagnostic equipment
Hinder the fault diagnosis result of vehicle;
Parts unit is determined, for zero according to needed for the fault diagnosis result determines to repair the fault car
Part information.
Fig. 4 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 4, the terminal of the embodiment is set
Standby 4 include:Processor 40, memory 41 and it is stored in the meter that can be run in the memory 41 and on the processor 40
Calculation machine program 42, such as perform the program of the management method of above-mentioned vehicle diagnosis information.The processor 40 performs the calculating
The step in the management method embodiment of above-mentioned each vehicle diagnosis information, such as step shown in FIG. 1 are realized during machine program 42
101 to 104.Alternatively, the processor 40 realized when performing the computer program 42 each module in above-mentioned each device embodiment/
The function of unit, such as the function of module 301 to 304 shown in Fig. 3.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are performed by the processor 40, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 42 in the terminal device 4 is described.
The terminal device 4 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The terminal device may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4
The only example of terminal device 4 does not form the restriction to terminal device 4, can include than illustrating more or fewer portions
Part either combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk of terminal device 4 or interior
It deposits.The memory 41 can also be the External memory equipment of the terminal device 4, such as be equipped on the terminal device 4
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4
Member also includes External memory equipment.The memory 41 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each embodiments described with reference to the embodiments described herein
Module, unit and/or method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.This
A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation
It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-described embodiment side
All or part of flow in method can also instruct relevant hardware to complete, the computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can
Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with
Including:Any entity of the computer program code or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, light can be carried
Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer
The content that readable medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as
In certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or carry out equivalent replacement to which part technical characteristic;And these
Modification is replaced, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.