CN104468719B - Method of data synchronization, data synchronization unit and system and terminal and server - Google Patents
Method of data synchronization, data synchronization unit and system and terminal and server Download PDFInfo
- Publication number
- CN104468719B CN104468719B CN201410624683.8A CN201410624683A CN104468719B CN 104468719 B CN104468719 B CN 104468719B CN 201410624683 A CN201410624683 A CN 201410624683A CN 104468719 B CN104468719 B CN 104468719B
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- cloud server
- sent
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Hardware Redundancy (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of method of data synchronization, comprising: receives the running state information of any system in the multiple systems for the terminal that terminal is sent;According to the performance information of any system of running state information and the terminal of storage and breakdown judge standard, judge whether any system breaks down;When judging that any system breaks down, warning information is sent to terminal, so that terminal prompts the user of the terminal to choose whether the data in any system being synchronized to the Cloud Server according to warning information;And receive and store terminal transmission any system in data.Correspondingly, the present invention also provides a kind of data synchronization unit, terminal, Cloud Server and data synchronous systems.By the technical solution, the data of the system can be synchronized to Cloud Server, the other systems of the terminal are synchronized to by Cloud Server, to avoid the loss of data of user, so that user can still use data therein in the terminal even if the system failure, the usage experience of user is promoted.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of method of data synchronization, a kind of synchronous dress of data
It sets, a kind of data synchronous system, a kind of terminal and a kind of server.
Background technique
With mobile phone fast development, increasingly by the attention of producer, but simultaneously, problem is also corresponding for the operation of terminal dual system
Ground generate, i.e., when one of system when something goes wrong, the information for how continuing to use damage system also seems critically important.
Store the life parameter of equipment in prior art later by the data manipulation of monitoring on a storage device
Value reminds user ID when detection goes wrong.
Prior art disadvantage mainly has the following:
1, applicability is only suitable for single-system terminals, and multisystem terminal is simultaneously not suitable for.
2, timeliness, when system when something goes wrong, cannot timely backup information.
3, convenience is backed up by other reservoirs, it has not been convenient to.
Therefore need a kind of new technical solution, can a system in multisystem terminal when something goes wrong, in time
Data in the system are backed up.
Summary of the invention
The present invention is based on the above problems, proposes a kind of new technical solution, can be in one in multisystem terminal
A system when something goes wrong, in time backs up the data in the system.
In view of this, being used for terminal the invention proposes a kind of method of data synchronization, the terminal includes multiple systems,
Method of data synchronization includes: to record the running state information of any system when the terminal is using any system;It is examining
When measuring the operating status in the running state information and reaching preset operating state, sends the running state information to cloud and take
Business device, so that information judges that any system breaks down to the Cloud Server according to the operation state.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, is further judged by Cloud Server.
In the above-mentioned technical solutions, it is preferable that further include: it receives the Cloud Server and is judging any system appearance
The warning information sent when failure;According to the warning information, the user of the terminal is prompted to choose whether any system
Data in system are synchronized to the Cloud Server;And receive the terminal user selection will be in any system
Data when being synchronized to the order of the Cloud Server, the data in any system are synchronized to the Cloud Server.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include: it is switched in the terminal from any system the multiple
When other systems in system, the synchronizing information that the Cloud Server is sent is received;According to the synchronizing information, the end is prompted
Whether the user at end is synchronized to the data in any system in the other systems;In the user for receiving the terminal
When the data in any system are synchronized to the order in the other systems of selection, sending allows synchronous feedback to institute
State Cloud Server;And receive Cloud Server send any system in the data, and by the data store to
In the other systems.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
In the above-mentioned technical solutions, it is preferable that further include: receive and show any system that the Cloud Server is sent
The corresponding data list of data in system, and the user of the terminal is prompted to select to need to be synchronized to institute from the data list
State the target data item in other systems;The target data item that the user selects is fed back into the Cloud Server;And it connects
Receive the target data that the Cloud Server is sent according to the target data item, and by the target data store to it is described other
In system.
In the technical scheme, the data that can also will synchronize to the system in Cloud Server carry out statistical classification, thus
The data list after statistical classification is shown to user by terminal, selects to need synchronous data for user, thus by user
The data of selection are synchronized to the system run at this time, and the non-selected data of other users are then without synchronization.In this way, if with
Family is not desired to synchronize all data, then can therefrom selected section data synchronize, while avoiding waste of storage space, give
The good usage experience of user's bring.
According to another aspect of the present invention, a kind of method of data synchronization is additionally provided, Cloud Server is used for, comprising: is received
The running state information of any system in the multiple systems for the terminal that terminal is sent;It information and deposits according to the operation state
The performance information and breakdown judge standard of any system of the terminal of storage, judge whether any system breaks down;
When judging that any system breaks down, warning information is sent to the terminal, so that the terminal is according to the early warning
The user of terminal described in information alert chooses whether the data in any system being synchronized to the Cloud Server;And it connects
It receives and stores the data in any system that the terminal is sent.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, by Cloud Server according to the running state information and
The performance information and breakdown judge standard of its system stored, confirm whether the system breaks down.In this way, in the system failure
When, the data in system are synchronized to Cloud Server, it can be to avoid the loss of data or damage in the system.
In the above-mentioned technical solutions, it is preferable that further include: detecting that the terminal is switched to institute from any system
When stating the other systems in multiple systems, the synchronizing information for synchronizing the data in any system to the other systems is sent
To the terminal;And when receiving the permission synchronous feedback that the terminal is sent, by the number in any system
According to being sent to the terminal.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include: when receiving the permission synchronous feedback that the terminal is sent,
The corresponding data list of the data in any system is sent to the terminal, for the terminal user from institute
It states and selects to need to be synchronized to the target data item in the other systems in data list;And according to the terminal received
The target data item of transmission is fed back, and sends the corresponding target data of the target data item to the terminal.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
In accordance with a further aspect of the present invention, a kind of data synchronization unit is additionally provided, terminal is used for, the terminal includes more
A system, the data synchronization unit include: recording unit, when the terminal uses any system, record any system
The running state information of system;Transmission unit presets operation shape detecting that the operating status in the running state information reaches
When state, the running state information is sent to Cloud Server, so that information judges the Cloud Server according to the operation state
Any system breaks down.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, is further judged by Cloud Server.
In the above-mentioned technical solutions, it is preferable that further include: receiving unit receives the Cloud Server at judgement described
The warning information that one system is sent when breaking down;Prompt unit prompts the user of the terminal to select according to the warning information
It selects and whether the data in any system is synchronized to the Cloud Server;And synchronization unit, receiving the terminal
User selection when the data in any system are synchronized to the order of the Cloud Server, will be in any system
Data be synchronized to the Cloud Server.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include: receiving unit switches in the terminal from any system
When to other systems in the multiple system, the synchronizing information that the Cloud Server is sent is received;Prompt unit, according to described
Synchronizing information, prompts whether the user of the terminal is synchronized to the data in any system in the other systems;Institute
It states transmission unit to be also used to: described in being synchronized to the data in any system of the user's selection for receiving the terminal
When order in other systems, sending allows synchronous feedback to the Cloud Server;And storage unit, receive Cloud Server hair
The data in any system sent, and the data are stored into the other systems.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
In the above-mentioned technical solutions, it is preferable that further include: selection prompt unit receives and shows the Cloud Server hair
The corresponding data list of data in any system sent, and the user of the terminal is prompted to select from the data list
Select the target data item needed to be synchronized in the other systems;The transmission unit is also used to: the mesh that the user is selected
Mark data item feeds back to the Cloud Server;And the storage unit is also used to: receiving the Cloud Server according to the mesh
The target data that data item is sent is marked, and the target data is stored into the other systems.
In the technical scheme, the data that can also will synchronize to the system in Cloud Server carry out statistical classification, thus
The data list after statistical classification is shown to user by terminal, selects to need synchronous data for user, thus by user
The data of selection are synchronized to the system run at this time, and the non-selected data of other users are then without synchronization.In this way, if with
Family is not desired to synchronize all data, then can therefrom selected section data synchronize, while avoiding waste of storage space, give
The good usage experience of user's bring.
In accordance with a further aspect of the present invention, it additionally provides a kind of for any one of terminal, including above-mentioned technical proposal institute
The data synchronization unit stated.
In accordance with a further aspect of the present invention, a kind of data synchronization unit is additionally provided, Cloud Server is used for, comprising: is received
Unit receives the running state information of any system in the multiple systems for the terminal that terminal is sent;Judging unit, according to institute
The performance information and breakdown judge standard for stating any system of the terminal of running state information and storage, judge described any
Whether system breaks down;Transmission unit sends warning information to the end when judging that any system breaks down
End, so that the terminal prompts the user of the terminal to choose whether the number in any system according to the warning information
According to being synchronized to the Cloud Server;And storage unit, receive and store the number in any system that the terminal is sent
According to.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, by Cloud Server according to the running state information and
The performance information and breakdown judge standard of its system stored, confirm whether the system breaks down.In this way, in the system failure
When, the data in system are synchronized to Cloud Server, it can be to avoid the loss of data or damage in the system.
In the above-mentioned technical solutions, it is preferable that the transmission unit is also used to: detecting the terminal from described any
When system is switched to the other systems in the multiple system, sending data to described other synchronized in any system is
The synchronizing information of system is to the terminal;And when receiving the permission synchronous feedback that the terminal is sent, by any system
The data in system are sent to the terminal.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that the transmission unit is also used to: in the permission for receiving the terminal transmission
When synchronous feedback, the corresponding data list of the data in any system is sent to the terminal, for the end
The user at end needs to be synchronized to the target data item in the other systems from selection in the data list;And according to reception
The target data item feedback that the terminal arrived is sent, sends the corresponding target data of the target data item to the terminal.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
In accordance with a further aspect of the present invention, it additionally provides a kind of for any in Cloud Server, including above-mentioned technical proposal
Data synchronization unit described in.
According to another aspect of the invention, a kind of data synchronous system is additionally provided, including described in above-mentioned technical proposal
Terminal and Cloud Server.
By above technical scheme, in a system failure of terminal, the data of the system can be synchronized to cloud clothes
Business device, the other systems of the terminal are synchronized to by Cloud Server, so that the loss of data of user is avoided, so that even if system event
Barrier, user can still use data therein in the terminal, promote the usage experience of user.
Detailed description of the invention
Fig. 1 shows the flow chart of method of data synchronization according to an embodiment of the invention;
Fig. 2 shows the flow charts of method of data synchronization according to another embodiment of the invention;
Fig. 3 shows the block diagram of data synchronization unit according to an embodiment of the invention;
Fig. 4 shows the block diagram of the terminal of embodiment according to the present invention;
Fig. 5 shows the block diagram of data synchronization unit according to another embodiment of the invention;
Fig. 6 shows the block diagram of the Cloud Server of embodiment according to the present invention;
Fig. 7 shows the block diagram of the data synchronous system of embodiment according to the present invention;
Fig. 8 shows the specific flow chart of the method for data synchronization of embodiment according to the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the flow chart of method of data synchronization according to an embodiment of the invention.
As shown in Figure 1, method of data synchronization according to an embodiment of the invention, comprising: step 102, at the end
When end is using any system, the running state information of any system is recorded;Step 104, the operating status is being detected
When operating status in information reaches preset operating state, the running state information is sent to Cloud Server, for the cloud
Information judges that any system breaks down to server according to the operation state.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, is further judged by Cloud Server.
In the above-mentioned technical solutions, it is preferable that further include: it receives the Cloud Server and is judging any system appearance
The warning information sent when failure;According to the warning information, the user of the terminal is prompted to choose whether any system
Data in system are synchronized to the Cloud Server;And receive the terminal user selection will be in any system
Data when being synchronized to the order of the Cloud Server, the data in any system are synchronized to the Cloud Server.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include: it is switched in the terminal from any system the multiple
When other systems in system, the synchronizing information that the Cloud Server is sent is received;According to the synchronizing information, the end is prompted
Whether the user at end is synchronized to the data in any system in the other systems;In the user for receiving the terminal
When the data in any system are synchronized to the order in the other systems of selection, sending allows synchronous feedback to institute
State Cloud Server;And receive Cloud Server send any system in the data, and by the data store to
In the other systems.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
In the above-mentioned technical solutions, it is preferable that further include: receive and show any system that the Cloud Server is sent
The corresponding data list of data in system, and the user of the terminal is prompted to select to need to be synchronized to institute from the data list
State the target data item in other systems;The target data item that the user selects is fed back into the Cloud Server;And it connects
Receive the target data that the Cloud Server is sent according to the target data item, and by the target data store to it is described other
In system.
In the technical scheme, the data that can also will synchronize to the system in Cloud Server carry out statistical classification, thus
The data list after statistical classification is shown to user by terminal, selects to need synchronous data for user, thus by user
The data of selection are synchronized to the system run at this time, and the non-selected data of other users are then without synchronization.In this way, if with
Family is not desired to synchronize all data, then can therefrom selected section data synchronize, while avoiding waste of storage space, give
The good usage experience of user's bring.
Fig. 2 shows the flow charts of method of data synchronization according to another embodiment of the invention.
As shown in Fig. 2, the method for data synchronization of embodiment according to the present invention, is used for Cloud Server, comprising: step 202,
Receive the running state information of any system in the multiple systems for the terminal that terminal is sent;Step 204, according to the operation
The performance information and breakdown judge standard of any system of status information and the terminal of storage judge that any system is
No failure;Step 206, when judging that any system breaks down, warning information is sent to the terminal, for institute
It states terminal and prompts the user of the terminal to choose whether for the data in any system to be synchronized to according to the warning information
The Cloud Server;And step 208, receive and store the data in any system that the terminal is sent.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, by Cloud Server according to the running state information and
The performance information and breakdown judge standard of its system stored, confirm whether the system breaks down.In this way, in the system failure
When, the data in system are synchronized to Cloud Server, it can be to avoid the loss of data or damage in the system.
In the above-mentioned technical solutions, it is preferable that further include: detecting that the terminal is switched to institute from any system
When stating the other systems in multiple systems, the synchronizing information for synchronizing the data in any system to the other systems is sent
To the terminal;And when receiving the permission synchronous feedback that the terminal is sent, by the number in any system
According to being sent to the terminal.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include: when receiving the permission synchronous feedback that the terminal is sent,
The corresponding data list of the data in any system is sent to the terminal, for the terminal user from institute
It states and selects to need to be synchronized to the target data item in the other systems in data list;And according to the terminal received
The target data item of transmission is fed back, and sends the corresponding target data of the target data item to the terminal.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
Fig. 3 shows the block diagram of data synchronization unit according to an embodiment of the invention.
As shown in figure 3, the data synchronization unit 300 of embodiment according to the present invention, is used for terminal, the terminal includes more
A system, the data synchronization unit 300 include: recording unit 302, when the terminal uses any system, described in record
The running state information of any system;Transmission unit 304 is detecting that the operating status in the running state information reaches pre-
If when operating status, sending the running state information to Cloud Server, according to the operation state for the Cloud Server
Information judges that any system breaks down.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, is further judged by Cloud Server.
In the above-mentioned technical solutions, it is preferable that further include: receiving unit 306 receives the Cloud Server described in the judgement
The warning information that any system is sent when breaking down;Prompt unit 308 prompts the terminal according to the warning information
User chooses whether the data in any system being synchronized to the Cloud Server;And synchronization unit 310, it is receiving
When the data in any system are synchronized to the order of the Cloud Server of user's selection of the terminal described will appoint
Data in one system are synchronized to the Cloud Server.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include: receiving unit 306 is cut in the terminal from any system
When changing to the other systems in the multiple system, the synchronizing information that the Cloud Server is sent is received;Prompt unit 308, root
According to the synchronizing information, prompt whether the user of the terminal by the data in any system is synchronized to the other systems
In;The transmission unit 304 is also used to: in the user's selection for receiving the terminal the data in any system are same
When walking the order in the other systems, sending allows synchronous feedback to the Cloud Server;And storage unit 312, it connects
The data in any system that Cloud Server is sent are received, and the data are stored into the other systems.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
In the above-mentioned technical solutions, it is preferable that further include: selection prompt unit 314 receives and shows the Cloud Server
The corresponding data list of data in any system sent, and prompt the user of the terminal from the data list
Selection needs to be synchronized to the target data item in the other systems;The transmission unit 304 is also used to: the user is selected
Target data item feed back to the Cloud Server;And the storage unit 312 is also used to: receive the Cloud Server according to
The target data that the target data item is sent, and the target data is stored into the other systems.
In the technical scheme, the data that can also will synchronize to the system in Cloud Server carry out statistical classification, thus
The data list after statistical classification is shown to user by terminal, selects to need synchronous data for user, thus by user
The data of selection are synchronized to the system run at this time, and the non-selected data of other users are then without synchronization.In this way, if with
Family is not desired to synchronize all data, then can therefrom selected section data synchronize, while avoiding waste of storage space, give
The good usage experience of user's bring.
Fig. 4 shows the block diagram of the terminal of embodiment according to the present invention.
As shown in figure 4, the terminal 400 of embodiment according to the present invention, including described in any one of above-mentioned technical proposal
Data synchronization unit 300.The specific technical effect identical with data synchronization unit 300 of the terminal, details are not described herein.
Fig. 5 shows the block diagram of data synchronization unit according to another embodiment of the invention.
As shown in figure 5, the data synchronization unit 500 of embodiment according to the present invention, is used for Cloud Server, comprising: receive
Unit 502 receives the running state information of any system in the multiple systems for the terminal that terminal is sent;Judging unit 504,
The performance information and breakdown judge standard of any system of information and the terminal of storage according to the operation state, judges institute
State whether any system breaks down;Transmission unit 506 sends warning information when judging that any system breaks down
To the terminal, so that the terminal prompts the user of the terminal to choose whether any system according to the warning information
Data in system are synchronized to the Cloud Server;And storage unit 508, receive and store the described any of the terminal transmission
Data in system.
In the technical scheme, the running state information of terminal record system, the operation shape in the running state information
When state reaches preset operating state, which is sent to Cloud Server, so that Cloud Server is according to the operation shape
State information judges whether system is normal.Specifically, running state information includes operating rate information, error frequency information etc., in advance
If operating status includes that operating rate is lower than default operating rate, error frequency is higher than default error frequency etc., at this point, illustrating end
End is likely to occur failure, which is sent to Cloud Server, by Cloud Server according to the running state information and
The performance information and breakdown judge standard of its system stored, confirm whether the system breaks down.In this way, in the system failure
When, the data in system are synchronized to Cloud Server, it can be to avoid the loss of data or damage in the system.
In the above-mentioned technical solutions, it is preferable that the transmission unit 506 is also used to: detecting the terminal from described
When any system is switched to the other systems in the multiple system, send synchronize data in any system to it is described its
The synchronizing information of his system is to the terminal;And when receiving the permission synchronous feedback that the terminal is sent, described it will appoint
The data in one system are sent to the terminal.
In the technical scheme, when Cloud Server judges that current system breaks down, warning information is sent to terminal, eventually
End prompts the user whether the data in current system being synchronized to terminal according to the warning information, when user's selection is, will work as
Data in preceding system are sent to Cloud Server, so that Cloud Server is backed up data to, in this way, even if current system failure,
The data in current system still can be used in user, improves the usage experience of user.
In the above-mentioned technical solutions, it is preferable that the transmission unit 506 is also used to: receiving what the terminal was sent
When allowing synchronous feedback, the corresponding data list of the data in any system is sent to the terminal, for institute
It states the user of terminal and needs to be synchronized to target data item in the other systems from selection in the data list;And according to
The target data item feedback that the terminal received is sent, sends the corresponding target data of the target data item to the end
End.
In the technical scheme, in current system failure, when terminal is switched to the other systems in terminal from current system,
It can be selected with the user of prompt terminal, if the data of the system backuped in Cloud Server are synchronized to its run at this time
He can send the other systems run at this time for the data in Cloud Server when user's selection is at system, so that
User still can promote the usage experience of user at the terminal using the data for the system damaged.
Fig. 6 shows the block diagram of the Cloud Server of embodiment according to the present invention.
As shown in fig. 6, the Cloud Server 600 of embodiment according to the present invention, including any one of above-mentioned technical proposal institute
The data synchronization unit 500 stated.The Cloud Server has technical effect identical with data synchronization unit 500, no longer superfluous herein
It states.
Fig. 7 shows the block diagram of the data synchronous system of embodiment according to the present invention.
As shown in fig. 7, the data synchronous system 700 of embodiment according to the present invention, including described in above-mentioned technical proposal
Terminal 400 and Cloud Server 600.
Fig. 8 shows the specific flow chart of the method for data synchronization of embodiment according to the present invention.
As shown in figure 8, the detailed process of the method for data synchronization of embodiment according to the present invention includes:
Step 802, running of mobile terminal.
Step 804, the operation conditions of mobile terminal records current system, such as error frequency, operating rate.
Step 806, mobile terminal judges whether the operating status of current system reaches preset operating state, such as error frequency
Reach error frequency threshold value, operating rate is lower than default operating rate etc..When the judgment result is yes, 808 are entered step, otherwise
Return step 802.
Step 808, judge whether network is opened, when the judgment result is yes, enter step 810, otherwise return step
802。
Step 810, cloud (i.e. Cloud Server) is sent by the data in current system.
Step 812, cloud is according under the operating status of current system and its various operating status of system being previously stored
Behavior data and fault judgment method judge whether current system breaks down.
Step 814, when judging result is that system breaks down, system failure early warning is issued, otherwise return step 802.
Step 816, terminal feeds back current system operating status, while being prompted the user whether in a system according to fault pre-alarming
Data be synchronized to cloud, and when user's selection is, synchronize the data to cloud.
Step 818, cloud judges whether terminal carries out system switching, when the judgment result is yes, enters step 820.
Step 820, cloud sends synchronous prompt to terminal, and whether the user of prompt terminal is synchronized to data has been cut at this time
The system changed, and when user's selection is, into synchronization.When synchronous, user can carry out a key and synchronize, and can also arrange from data
It is synchronous to carry out part for selected section data in table.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, according to the technical solution of the present invention, in terminal
When one system failure, the data of the system can be synchronized to Cloud Server, other of the terminal are synchronized to by Cloud Server
System, so that the loss of data of user is avoided, so that user can still use data therein in the terminal even if the system failure,
Promote the usage experience of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (13)
1. a kind of method of data synchronization is used for terminal, which is characterized in that the terminal includes multiple systems, comprising:
When the terminal uses any system, the running state information of any system is recorded;
When detecting that the operating status in the running state information reaches preset operating state, the operating status letter is sent
Breath is to Cloud Server, so that information judges that any system breaks down to the Cloud Server according to the operation state;
When the terminal is switched to the other systems in the multiple system from any system, the Cloud Server is received
The synchronizing information of transmission;
According to the synchronizing information, prompt the terminal user whether by the data in any system be synchronized to it is described its
In his system;
In the user's selection for receiving the terminal the data in any system are synchronized in the other systems
When order, sending allows synchronous feedback to the Cloud Server;And
The data in any system that Cloud Server is sent are received, and the data are stored to the other systems
In.
2. method of data synchronization according to claim 1, which is characterized in that further include:
Receive the warning information that the Cloud Server is sent when judging that any system breaks down;
According to the warning information, the user of the terminal is prompted to choose whether the data in any system being synchronized to institute
State Cloud Server;And
In the life that the data in any system are synchronized to the Cloud Server for the user's selection for receiving the terminal
When enabling, the data in any system are synchronized to the Cloud Server.
3. method of data synchronization according to claim 1, which is characterized in that further include:
Receive and show the corresponding data list of data in any system of the Cloud Server transmission, and described in prompt
The user of terminal needs to be synchronized to the target data item in the other systems from selection in the data list;
The target data item that the user selects is fed back into the Cloud Server;And
The target data that the Cloud Server is sent according to the target data item is received, and the target data is stored to institute
It states in other systems.
4. a kind of method of data synchronization is used for Cloud Server characterized by comprising
Receive the running state information of any system in the multiple systems for the terminal that terminal is sent;
The performance information and breakdown judge standard of any system of information and the terminal of storage according to the operation state, sentences
Whether any system that breaks breaks down;
When judging that any system breaks down, warning information is sent to the terminal, so that the terminal is according to
Warning information prompts the user of the terminal to choose whether the data in any system being synchronized to the Cloud Server;With
And
Receive and store the data in any system that the terminal is sent;
When detecting the terminal from any system and being switched to the other systems in the multiple system, synchronous institute is sent
Data in any system are stated to the synchronizing information of the other systems to the terminal;And
When receiving the permission synchronous feedback that the terminal is sent, the data in any system are sent to described
Terminal.
5. method of data synchronization according to claim 4, which is characterized in that further include:
When receiving the permission synchronous feedback that the terminal is sent, by the corresponding data of the data in any system
List is sent to the terminal, is so that the user of the terminal selects to need to be synchronized to from the data list described other
Target data item in system;And
The target data item feedback sent according to the terminal received, sends the corresponding target data of the target data item
To the terminal.
6. a kind of data synchronization unit is used for terminal, which is characterized in that the terminal includes multiple systems, and the data are synchronous
Device includes:
Recording unit records the running state information of any system when the terminal uses any system;
Transmission unit, when detecting that the operating status in the running state information reaches preset operating state, described in transmission
Running state information is to Cloud Server, so that information judges that any system goes out to the Cloud Server according to the operation state
Existing failure;
Receiving unit receives institute when the terminal is switched to the other systems in the multiple system from any system
State the synchronizing information of Cloud Server transmission;
Whether prompt unit prompts the user of the terminal data in any system are same according to the synchronizing information
It walks in the other systems;
The transmission unit is also used to:
In the user's selection for receiving the terminal the data in any system are synchronized in the other systems
When order, sending allows synchronous feedback to the Cloud Server;And
Storage unit receives the data in any system that Cloud Server is sent, and the data is stored to institute
It states in other systems.
7. data synchronization unit according to claim 6, which is characterized in that further include:
Receiving unit receives the warning information that the Cloud Server is sent when judging that any system breaks down;
Prompt unit prompts the user of the terminal to choose whether the number in any system according to the warning information
According to being synchronized to the Cloud Server;And
Data in any system are synchronized to the cloud clothes in the user's selection for receiving the terminal by synchronization unit
When the order of business device, the data in any system are synchronized to the Cloud Server.
8. data synchronization unit according to claim 6, which is characterized in that further include:
Prompt unit is selected, receives and show the corresponding data column of data in any system of the Cloud Server transmission
Table, and the user of the terminal is prompted to need to be synchronized to the target data in the other systems from selection in the data list
?;
The transmission unit is also used to:
The target data item that the user selects is fed back into the Cloud Server;And
The storage unit is also used to:
The target data that the Cloud Server is sent according to the target data item is received, and the target data is stored to institute
It states in other systems.
9. a kind of terminal characterized by comprising data synchronization unit described in any one of claim 6 to 8.
10. a kind of data synchronization unit is used for Cloud Server characterized by comprising
Receiving unit receives the running state information of any system in the multiple systems for the terminal that terminal is sent;
Judging unit, the performance information of any system of information and the terminal of storage and failure are sentenced according to the operation state
Disconnected standard, judges whether any system breaks down;
Transmission unit sends warning information to the terminal, for the terminal when judging that any system breaks down
The user of the terminal is prompted to choose whether the data in any system being synchronized to the cloud according to the warning information
Server;And
Storage unit receives and stores the data in any system that the terminal is sent;
The transmission unit is also used to:
When detecting the terminal from any system and being switched to the other systems in the multiple system, synchronous institute is sent
Data in any system are stated to the synchronizing information of the other systems to the terminal;And
When receiving the permission synchronous feedback that the terminal is sent, the data in any system are sent to described
Terminal.
11. data synchronization unit according to claim 10, which is characterized in that the transmission unit is also used to:
When receiving the permission synchronous feedback that the terminal is sent, by the corresponding data of the data in any system
List is sent to the terminal, is so that the user of the terminal selects to need to be synchronized to from the data list described other
Target data item in system;And
The target data item feedback sent according to the terminal received, sends the corresponding target data of the target data item
To the terminal.
12. a kind of Cloud Server characterized by comprising the synchronous dress of data as described in claim 10 with any one of 11
It sets.
13. a kind of data synchronous system characterized by comprising described in terminal and claim 12 as claimed in claim 9
Cloud Server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410624683.8A CN104468719B (en) | 2014-11-06 | 2014-11-06 | Method of data synchronization, data synchronization unit and system and terminal and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410624683.8A CN104468719B (en) | 2014-11-06 | 2014-11-06 | Method of data synchronization, data synchronization unit and system and terminal and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104468719A CN104468719A (en) | 2015-03-25 |
CN104468719B true CN104468719B (en) | 2018-12-25 |
Family
ID=52914072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410624683.8A Active CN104468719B (en) | 2014-11-06 | 2014-11-06 | Method of data synchronization, data synchronization unit and system and terminal and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104468719B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106339283A (en) * | 2015-07-10 | 2017-01-18 | 中兴通讯股份有限公司 | Method and device for synchronizing terminal detection data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383780A (en) * | 2007-09-05 | 2009-03-11 | 宏达国际电子股份有限公司 | Method and system for supporting network sharing and data synchronization simultaneously |
CN102111281A (en) * | 2009-12-24 | 2011-06-29 | 上海粱江通信系统股份有限公司 | Hot standby method for implementing dual-machine hot standby system |
CN102202075A (en) * | 2010-03-26 | 2011-09-28 | 联想(北京)有限公司 | Data sharing method and portable terminal |
CN103067522A (en) * | 2013-01-10 | 2013-04-24 | 东莞宇龙通信科技有限公司 | Data management method and system and mobile terminal based on cloud end server |
CN103580920A (en) * | 2013-11-07 | 2014-02-12 | 江南大学 | Method for detecting abnormal operation of information system based on cloud computing technology |
WO2014169604A1 (en) * | 2013-08-28 | 2014-10-23 | 中兴通讯股份有限公司 | Data synchronism method, device, and terminal in dual system |
-
2014
- 2014-11-06 CN CN201410624683.8A patent/CN104468719B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383780A (en) * | 2007-09-05 | 2009-03-11 | 宏达国际电子股份有限公司 | Method and system for supporting network sharing and data synchronization simultaneously |
CN102111281A (en) * | 2009-12-24 | 2011-06-29 | 上海粱江通信系统股份有限公司 | Hot standby method for implementing dual-machine hot standby system |
CN102202075A (en) * | 2010-03-26 | 2011-09-28 | 联想(北京)有限公司 | Data sharing method and portable terminal |
CN103067522A (en) * | 2013-01-10 | 2013-04-24 | 东莞宇龙通信科技有限公司 | Data management method and system and mobile terminal based on cloud end server |
WO2014169604A1 (en) * | 2013-08-28 | 2014-10-23 | 中兴通讯股份有限公司 | Data synchronism method, device, and terminal in dual system |
CN103580920A (en) * | 2013-11-07 | 2014-02-12 | 江南大学 | Method for detecting abnormal operation of information system based on cloud computing technology |
Also Published As
Publication number | Publication date |
---|---|
CN104468719A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2013200544B2 (en) | Email mailbox management | |
CN103294530B (en) | A kind of terminal device application management method and terminal device | |
EP2942910A1 (en) | Information display method for instant communication tool, and user terminal | |
CN105376141A (en) | Instant communication message processing method and device | |
CN105049336A (en) | Method and system for processing instant communication messages, server and client | |
CN104881279B (en) | A kind of method and device of pocket transmission news | |
CN103618830A (en) | Method and device for checking unread messages | |
CN105743774B (en) | Pushed information monitoring device, pushed information monitoring method and client | |
CN103729125A (en) | Data sharing operating method and terminal | |
CN107528767B (en) | Session processing method and device | |
CN103970471B (en) | A kind of method for sending information, equipment and terminal | |
CN102497333A (en) | Method, client end and system used for outputting contact object weather information | |
CN103987028A (en) | Method and system for automatically updating contact persons | |
CN105141502A (en) | Method and device for managing instant communication process | |
CN104468719B (en) | Method of data synchronization, data synchronization unit and system and terminal and server | |
CN107306458B (en) | Working SIM card configuration method of communication terminal and communication terminal | |
CN105469833A (en) | Memory life early-warning method and system | |
CN105606958A (en) | Processing method, system, and apparatus for fault information of power system | |
CN105955734A (en) | Method and device for generating time reminder | |
CN105488220A (en) | Fire-fighting early-warning method and device | |
CN103078782B (en) | A kind of recommendation remarks implementation method of good friend's remarks and system | |
CN103885827B (en) | Automatically switch the method and intelligent terminal of operational mode | |
JP2015524119A (en) | Message display method, message display device, program, and recording medium | |
CN101902341B (en) | Method and device for supplying power for powered device | |
CN104991781B (en) | Application software internal function recommendation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |