Maintenance backup method, Auto analyzer and the backup server of Auto analyzer
Technical field
The invention belongs to maintenance backup method, the vehicle diagnosis of automobile technical field, more particularly to a kind of Auto analyzer
Instrument and backup server.
Background technology
Auto analyzer is a special instrument specifically for automotive check, can detect the performance of vehicle in real time, and right
Vehicle trouble is detected, and is to detect a kind of indispensable instrument of vehicle.The repair message of current Auto analyzer mainly includes
Measuring car history, station information, customer information etc., measuring car history mainly include automobile fault code, information of vehicles, customer information.
And above-mentioned repair message is all stored in the local data base of Auto analyzer.If user's imprudence has carried out maloperation, than
Such as format whole disk, deleted some measuring car history or client by mistake, this is a troublesome thing to each user.If
User has changed new Auto analyzer, and former measuring car history can not will occur on new machine, and customer information is also necessary
Re-enter, great inconvenience is caused to user.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of maintenance backup method of Auto analyzer, Auto analyzer and standby
Part server, it is intended to solve the repair message of existing Auto analyzer in the unsafe problem of local backup.
The embodiment of the present invention is achieved in that a kind of maintenance backup method of Auto analyzer, and its methods described includes
Following steps:
Extract repair message;
Backup server is uploaded to after encrypting the repair message, for the backup server by the maintenance encrypted
Information and the registered account relating of user's input simultaneously back up;
The registered account is the ID of Auto analyzer.
Further, methods described also includes:
Sending recovery request to the backup server, the recovery request includes the registered account of user input
Number, the registered account is verified for the backup server;
Verification by when download described in the repair message encrypted, and decrypt.
The present invention also proposes a kind of maintenance backup method of Auto analyzer, and methods described comprises the following steps:
Receive the repair message encrypted that Auto analyzer uploads;
By the repair message encrypted and the registered account relating of user's input and back up;
The registered account is the ID of Auto analyzer.
Further, methods described also includes:
The recovery request of Auto analyzer is received, the recovery request includes the registered account of user input;
The registered account is verified;
When verification passes through, it is allowed to the repair message encrypted described in the Auto analyzer download.
Further, after the registered account for inputting the repair message encrypted and user is performed, also wrap
Include:
The repair message encrypted is added into timestamp.
The present invention also proposes a kind of Auto analyzer, and the Auto analyzer includes:
Extraction module, for extracting repair message;
Uploading module, for being uploaded to backup server after encrypting the repair message, for the backup server by institute
State the registered account relating of the repair message encrypted and user's input and back up;
The registered account is the ID of Auto analyzer.
Further, the Auto analyzer also includes:
Sending module, for sending recovery request to the backup server, it is defeated that the recovery request includes the user
The registered account entered, the registered account is verified for the backup server;
Download module, for verify by when download described in the repair message encrypted, and decrypt.
The present invention also proposes a kind of backup server, and the backup server includes:
Receiving module, for receiving the repair message encrypted of Auto analyzer upload;
Relating module, for the registered account relating for inputting the repair message encrypted and user and back up;
The registered account is the ID of Auto analyzer.
Further,
The receiving module is additionally operable to receive the recovery request of Auto analyzer, and it is defeated that the recovery request includes the user
The registered account entered;The backup server also includes:
Correction verification module, for being verified to the registered account;And verification is when passing through, it is allowed to the vehicle diagnosis
The repair message encrypted described in instrument download.
Further,
The relating module is additionally operable to the repair message encrypted adding timestamp.
The backup server that the embodiment of the present invention sends the repair message of Auto analyzer to network is backed up.User
Therefore the repair message of multiple versions can be preserved, and selects one of version to recover.User is when changing Auto analyzer
Former data are replicated with being also convenient for, the use to Auto analyzer, which provides, improves safety while facilitate
Property.
Brief description of the drawings
Fig. 1 is the flow chart of the maintenance backup method for the Auto analyzer that the embodiment of the present invention one provides;
Fig. 2 is the system construction drawing of the maintenance backup method application for the Auto analyzer that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the maintenance backup method for the Auto analyzer that the embodiment of the present invention two provides;
Fig. 4 is the structure chart for the Auto analyzer that the embodiment of the present invention three provides;
Fig. 5 is the structure chart for the backup server that the embodiment of the present invention four provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Embodiment one
The embodiment of the present invention one proposes a kind of maintenance backup method of Auto analyzer, for Auto analyzer.Such as Fig. 1 institutes
Show, the method for the embodiment of the present invention one comprises the following steps:
S11, extraction repair message;
Be uploaded to backup server after S12, encryption repair message, for backup server by the repair message encrypted and
The registered account relating of family input simultaneously backs up.
The method of the embodiment of the present invention one be applied to Fig. 2 shown in system, the system include an at least Auto analyzer and
An at least backup server.The repair message of the embodiment of the present invention one refers to the letter such as the measuring car history of Auto analyzer, customer information
Breath, Auto analyzer can timing, or manually, or automatically repair message is extracted when having new repair message every time, shape
Into the byte stream of certain format, then byte stream is encrypted, then by internet (wirelessly or non-wirelessly) by the word after encryption
Throttling is sent to server, and backup server preserves the byte stream encrypted received to local data with file mode
Storehouse.
Preferably, backup server can prompt user that input is corresponding before or after being backed up to repair message
Registered account, the register account number can be the accounts that user manually enters.Certainly it can also be Auto analyzer that this is registered
It is uploaded to the account of backup server, the account of the ID unique mark Auto analyzers of such as Auto analyzer.Backup server
The repair message received and registered account are associated after receiving repair message, are then stored in local data base.
Preferably, backup server can also contrast to the repair message received with local existing repair message,
Just back up when finding that repair message has renewal, be otherwise not backed up.For the repair message of newest backup, backup server can add
Lid timestamp, and identify different version numbers.
S13, recovery request is sent to backup server.When Auto analyzer needs to recover related repair message, hair
Sending recovery request, the recovery request includes registered account to backup server, and backup server can enter to the registered account
Row verification.Show that the registered account is validated user if verifying and passing through, then backup server is looked into according to the registered account
The repair message of backup is supplied to Auto analyzer to download corresponding to asking.As a registered account corresponds to multiple different editions
During repair message, the catalogue of the repair message of different editions can be sent to Auto analyzer, by Auto analyzer according to current
Need select respective version repair message be downloaded.In default situations, backup server can be by newest timestamp
Repair message is transmitted directly to Auto analyzer.
S14, verification by when download the repair message encrypted, and decrypt.
In the embodiment of the present invention one, by the repair message of Auto analyzer send to network backup server carry out it is standby
Part.Therefore user can preserve the repair message of multiple versions, and select one of version to recover.User examines in replacing automobile
Former data are replicated with being also convenient for during disconnected instrument, the use to Auto analyzer, which provides, to improve while facilitate
Security.
Embodiment two
The embodiment of the present invention two provides a kind of maintenance backup method of Auto analyzer, for backup server.Such as Fig. 3 institutes
Show, the method for the embodiment of the present invention two comprises the following steps:
S21, receive the repair message encrypted that Auto analyzer uploads.The repair message of the embodiment of the present invention two refers to vapour
The information such as the measuring car history of car diagnostic equipment, customer information, Auto analyzer can timing, or manually, or have new maintenance letter every time
Automatically repair message is extracted during breath, the byte stream of certain format is formed, then byte stream is encrypted, then pass through
Byte after encryption is streamed to server by internet (wirelessly or non-wirelessly).
S22, the registered account relating for inputting the repair message encrypted and user simultaneously back up.Backup server is right
Before or after repair message is backed up, it can prompt user's input corresponding registered account, the register account number can be used
The account that family manually enters.Certainly it can also be account that Auto analyzer is uploaded to backup server that this is registered, such as automobile
The account of the unique mark Auto analyzer such as ID of diagnostic equipment.Backup server receives the repair message that will be received after repair message
It is associated with registered account, is then stored in local data base.Backup server can also be to the repair message that receives
Contrasted with local existing repair message, just back up when finding that repair message has renewal, be otherwise not backed up.For newest
The repair message of backup, backup server can be capped timestamp, and identify different version numbers.
S23, the recovery request for receiving Auto analyzer.The recovery request includes registered account.
S24, backup server verify to registered account.
When S25, verification pass through, it is allowed to which Auto analyzer downloads the repair message encrypted.Show this if verifying and passing through
Registered account is validated user, then the repair message that backup server backs up according to corresponding to the registered account inquiry provides
Downloaded to Auto analyzer., can be by different editions when corresponding to the repair message of multiple different editions such as a registered account
The catalogue of repair message is sent to Auto analyzer, is believed by Auto analyzer according to the current maintenance for needing to select respective version
Breath is downloaded.In default situations, the repair message of newest timestamp can be transmitted directly to vehicle diagnosis by backup server
Instrument.It is decrypted and preserves after receives the repair message of backup server transmission by Auto analyzer.
In the embodiment of the present invention two, backup server is backed up the repair message that Auto analyzer uploads.Steam supply car
Diagnostic equipment recovers when needed.User is replicated former data with being also convenient for when changing Auto analyzer, is given
The use of Auto analyzer, which provides, improves security while convenience.
Embodiment three
The embodiment of the present invention three provides a kind of Auto analyzer.As shown in figure 4, the Auto analyzer of the embodiment of the present invention three
Including:
Extraction module 31, for extracting repair message;
Uploading module 32, for being uploaded to backup server after encrypting repair message, it will be encrypted for backup server
Repair message and the registered account relating of user's input simultaneously back up.
Sending module 33, for sending recovery request to backup server, the recovery request includes user and inputted
Register account number, registered account is verified for backup server;
Download module 34, for verify by when download the repair message encrypted, and decrypt.
The repair message of the embodiment of the present invention three refers to the information such as the measuring car history of Auto analyzer, customer information, extracts mould
Block 31 can timing, or manually, or automatically repair message is extracted when having new repair message every time, forms certain format
Byte stream, then byte stream is encrypted by uploading module 32, then by internet (wirelessly or non-wirelessly) by after encryption
Byte is streamed to server, and backup server preserves the byte stream encrypted received to local data with file mode
Storehouse.
Preferably, backup server can prompt user that input is corresponding before or after being backed up to repair message
Registered account, the register account number can be the accounts that user manually enters.Certainly it can also be Auto analyzer that this is registered
It is uploaded to the account of backup server, the account of the ID unique mark Auto analyzers of such as Auto analyzer.Backup server
The repair message received and registered account are associated after receiving repair message, are then stored in local data base.
Preferably, backup server can also contrast to the repair message received with local existing repair message,
Just back up when finding that repair message has renewal, be otherwise not backed up.For the repair message of newest backup, backup server can add
Lid timestamp, and identify different version numbers.
When Auto analyzer needs to recover related repair message, sending module 33 sends recovery request to backup services
Device, the recovery request include registered account, and backup server can verify to the registered account.The table if verifying and passing through
The bright registered account is validated user, then the repair message that backup server backs up according to corresponding to the registered account inquiry
It is supplied to Auto analyzer to download., can be by different versions when corresponding to the repair message of multiple different editions such as a registered account
The catalogue of this repair message is sent to Auto analyzer, by Auto analyzer according to the current dimension for needing to select respective version
Information is repaiied to be downloaded.In default situations, the repair message of newest timestamp can be transmitted directly to automobile by backup server
Diagnostic equipment.
The verification of download module 34 by when download the repair message encrypted, and decrypt.
In the embodiment of the present invention three, the backup server that Auto analyzer sends repair message to network is backed up.
Therefore user can preserve the repair message of multiple versions, and select one of version to recover.User is changing vehicle diagnosis
Former data are replicated with being also convenient for during instrument, the use to Auto analyzer, which provides, to be improved while facilitate
Security.
Example IV
The embodiment of the present invention four provides a kind of backup server.As shown in figure 5, the backup server of the embodiment of the present invention four
Including:
Receiving module 41, for receiving the repair message encrypted of Auto analyzer upload;
Relating module 42, for the registered account relating for inputting the repair message encrypted and user and back up.
Correction verification module 43, for being verified to registered account;And verification is when passing through, it is allowed to which Auto analyzer is downloaded
The repair message encrypted.
Receiving module 41 receives the repair message encrypted that Auto analyzer uploads.The maintenance letter of the embodiment of the present invention four
Breath refers to the information such as measuring car history, the customer information of Auto analyzer, Auto analyzer can timing, or manually, or have every time new
Automatically repair message is extracted during repair message, the byte stream of certain format is formed, then byte stream is encrypted,
The byte after encryption is streamed to by server by internet (wirelessly or non-wirelessly) again.
Relating module 42 is by the repair message encrypted and the registered account relating of user's input and backs up.Relating module
42 to repair message before or after backing up, and can prompt user's input corresponding registered account, the register account number can
Be user manually enter account.Certainly it can also be account that Auto analyzer is uploaded to backup server that this is registered,
The account of the ID unique mark Auto analyzers of such as Auto analyzer.Relating module 42 receives the dimension that will be received after repair message
Repair information to be associated with registered account, be then stored in local data base.Backup server can also be to the dimension that receives
Repair information to be contrasted with local existing repair message, just back up when finding that repair message has renewal, be otherwise not backed up.It is right
In the repair message of newest backup, relating module 42 can be capped timestamp, and identify different version numbers.
When Auto analyzer needs to recover repair message, recovery request is sent to backup server.Backup server
Receiving module 41 receives the recovery request of Auto analyzer.The recovery request includes registered account, and correction verification module 43 can be to this
Registered account is verified.
When verification passes through, correction verification module 43 allows Auto analyzer to download the repair message encrypted.If verifying and passing through
It is validated user to show the registered account, then the maintenance letter that backup server backs up according to corresponding to the registered account inquiry
Breath is supplied to Auto analyzer to download., can be by difference when corresponding to the repair message of multiple different editions such as a registered account
The catalogue of the repair message of version is sent to Auto analyzer, needs to select respective version according to current by Auto analyzer
Repair message is downloaded.In default situations, the repair message of newest timestamp can be transmitted directly to vapour by backup server
Car diagnostic equipment.It is decrypted and preserves after receives the repair message of backup server transmission by Auto analyzer.
In the embodiment of the present invention four, backup server is backed up the repair message that Auto analyzer uploads.Steam supply car
Diagnostic equipment recovers when needed.User is replicated former data with being also convenient for when changing Auto analyzer, is given
The use of Auto analyzer, which provides, improves security while convenience.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.