CN104980455B - A kind of multiple terminals method of data synchronization based on cloud storage, device and system - Google Patents
A kind of multiple terminals method of data synchronization based on cloud storage, device and system Download PDFInfo
- Publication number
- CN104980455B CN104980455B CN201410132046.9A CN201410132046A CN104980455B CN 104980455 B CN104980455 B CN 104980455B CN 201410132046 A CN201410132046 A CN 201410132046A CN 104980455 B CN104980455 B CN 104980455B
- Authority
- CN
- China
- Prior art keywords
- buffer zone
- data
- terminal
- total buffer
- cloud device
- 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
Landscapes
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The multiple terminals method of data synchronization that the embodiment of the invention discloses a kind of based on cloud storage, device and system;This programme is using the synchronized update message for receiving the end-user listening data that terminal is sent in real time by binding account, according to Backup Data caching corresponding with the terminal in the corresponding total buffer zone of the synchronized update information updating binding account, obtain updated total buffer zone, then the end-user listening data in all terminals changed under binding account is synchronized according to buffer zone total after the update, hereafter, if getting backtracking instruction in preset time, total buffer zone before then being updated buffer zone total after update backtracking according to backtracking instruction, otherwise, then confirm that update is effective, it regard the Backup Data caching in buffer zone total after the update as Backup Data.The user data of real-time automatic synchronization multiple terminals not only may be implemented in the program, updates moreover, can avoid data caused by maloperation, substantially increases data synchronous flexibility and safety.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of multiple terminals method of data synchronization based on cloud storage, dress
It sets and system.
Background technique
Cloud storage be in the conceptive extension of cloud computing (cloud computing) and a new concept developed,
Refer to through functions such as cluster application, grid or distributed file systems, is deposited largely various types of in network
It stores up equipment and collaborative work is gathered by application software, data storage is externally provided jointly and one of business access function is
System.
With the rapid development of the communication technology in recent years, cloud storage has been widely applied to various aspects, especially
The storage of end-user listening data.In the prior art, the synchronization about the cloud storage of end-user listening data is broadly divided into two kinds,
One is cloud storage class, another kind is cloud syncsort;Wherein, cloud storage class refer to user manually by end-user listening data, than
If some personal informations are stored to cloud, when other terminals need synchronous, user can be manual by way of account authenticates
End-user listening data is synchronous;And for cloud syncsort, then it can be by way of account authenticates, the case where network is permitted
Under, end-user listening data is directly synchronized to cloud and local.
In the research and practice process to the prior art, it was found by the inventors of the present invention that the prior art realization not
It is enough flexibly to cannot be considered in terms of synchronous effect and safety, for example, for cloud storage class, due to needing manual synchronization, therefore, it is impossible to
It realizes real-time synchronization, and for cloud syncsort, then it is possible that maloperation, for example accidentally deletes or accidentally increase asking for end-user listening data
Topic.
Summary of the invention
The embodiment of the present invention provides a kind of multiple terminals method of data synchronization based on cloud storage, device and system, Ke Yi
While realizing the user data of real-time automatic synchronization multiple terminals, maloperation is avoided, for example accidentally deletes or accidentally increase end-user listening data
The case where generation, improve data synchronous flexibility and safety.
The embodiment of the present invention provides a kind of multiple terminals method of data synchronization based on cloud storage, comprising:
Receive the synchronized update message for the end-user listening data that terminal is sent in real time by binding account;
It is corresponding with the terminal in the corresponding total buffer zone of binding account according to the synchronized update information updating
Backup Data caching, obtain updated total buffer zone;
According to buffer zone total after the update to it is described binding account under all terminals in end-user listening data into
Row synchronizes;
If getting backtracking instruction in preset time, total buffer zone backtracking after being updated according to backtracking instruction
For total buffer zone before update;
If backtracking instruction has not been obtained in preset time, the Backup Data in buffer zone total after the update is delayed
It deposits as Backup Data.
The embodiment of the present invention also provides another multiple terminals method of data synchronization based on cloud storage, comprising:
Receive the synchronizing indication that cloud device is sent according to buffer zone total after update;
Determine whether current sync operation is correct according to the synchronizing indication;
If correct, end-user listening data is synchronized;
If incorrect, touching makes cloud device generate backtracking instruction in preset time, so that cloud device is according to
Buffer zone total after update backtracking is total buffer zone before update by backtracking instruction.
Correspondingly, the embodiment of the present invention also provides a kind of cloud device, including the first receiving unit, updating unit, synchronization
Unit, trace unit and processing unit;
First receiving unit, for receiving the synchronized update for the end-user listening data that terminal is sent in real time by binding account
Message;
Updating unit, in the corresponding total buffer zone of binding account according to the synchronized update information updating with
The corresponding Backup Data caching of the terminal, obtains updated total buffer zone;
Synchronization unit, for according to buffer zone total after the update to it is described binding account under all terminals in end
End-user data synchronizes;
Trace unit, it is total after being updated according to the backtracking instruction when for getting backtracking instruction in preset time
Buffer zone backtracking is total buffer zone before update;
Processing unit will be in buffer zone total after the update when for backtracking instruction to have not been obtained in preset time
Backup Data caching be used as Backup Data.
Correspondingly, the embodiment of the present invention also provides a kind of terminal, including receiving unit, judging unit, synchronization unit and touching
Bill member;
Receiving unit, the synchronizing indication sent for receiving cloud device according to buffer zone total after update;
Judging unit, for determining whether current sync operation is correct according to the synchronizing indication;
Synchronization unit, for being synchronized to end-user listening data when judging unit determines that current sync operation is correct;
Trigger unit, for when judging unit determines that current sync operation is incorrect, touching to make cloud in preset time
Equipment generates backtracking instruction, so that cloud device updates buffer zone total after update backtracking according to backtracking instruction
Preceding total buffer zone.
Correspondingly, the embodiment of the present invention also provides a kind of communication system, including any cloud provided in an embodiment of the present invention
End equipment and any terminal provided in an embodiment of the present invention.
The embodiment of the present invention is using the synchronized update for receiving the end-user listening data that terminal is sent in real time by binding account
Message, according to Backup Data corresponding with the terminal in the corresponding total buffer zone of the synchronized update information updating binding account
Caching, obtains updated total buffer zone, then according to buffer zone total after the update to all ends changed under binding account
End-user listening data in end synchronizes, hereafter, will according to backtracking instruction if getting backtracking instruction in preset time
After update otherwise total buffer zone backtracking then confirms that update effectively, will always cache after the update for total buffer zone before updating
Backup Data caching in region is used as Backup Data.The number of users of real-time automatic synchronization multiple terminals not only may be implemented in the program
According to moreover, because whether can effectively detect to the update of data, therefore, can keep away in preset time after synchronization
The generation for the case where exempting from the update of data caused by maloperation, for example accidentally deleting or accidentally increase end-user listening data, substantially increases number
According to synchronous flexibility and safety.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow chart of the multiple terminals method of data synchronization provided in an embodiment of the present invention based on cloud storage;
Fig. 2 is another flow chart of the multiple terminals method of data synchronization provided in an embodiment of the present invention based on cloud storage;
Fig. 3 a is the another flow chart of the multiple terminals method of data synchronization provided in an embodiment of the present invention based on cloud storage;
Fig. 3 b is the caching relation schematic diagram of end-user listening data beyond the clouds in the embodiment of the present invention;
Fig. 3 c is the schematic diagram of a scenario of the multiple terminals method of data synchronization provided in an embodiment of the present invention based on cloud storage;
Fig. 4 a is the structural schematic diagram of cloud device provided in an embodiment of the present invention;
Fig. 4 b is another structural schematic diagram of cloud device provided in an embodiment of the present invention;
Fig. 5 a is the structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 b is another schematic diagram of structure of terminal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of multiple terminals method of data synchronization based on cloud storage, device and system.Divide below
It is not described in detail.
Embodiment one,
The embodiment of the present invention will be described from the angle of cloud device, which is specifically as follows the nets such as server
Network side apparatus.
A kind of multiple terminals method of data synchronization based on cloud storage, comprising: receive terminal and sent in real time by binding account
End-user listening data synchronized update message, according to the corresponding total buffer zone of the synchronized update information updating binding account
In corresponding with terminal Backup Data caching, updated total buffer zone is obtained, according to buffer zone pair total after the update
The end-user listening data in all terminals under the binding account synchronizes, and refers to if getting backtracking in preset time
Show, then indicates buffer zone total after update backtracking to be total buffer zone before update according to the backtracking;If in preset time
Backtracking instruction has not been obtained, then regard the Backup Data caching in buffer zone total after the update as Backup Data.
As shown in Figure 1, being somebody's turn to do the detailed process of the multiple terminals method of data synchronization based on cloud storage can be such that
101, the synchronized update message for the end-user listening data that terminal is sent in real time by binding account is received.
Wherein, binding account can be phone number, QQ number code, Email Accounts or other can identify the account of user identity
Number etc..Wherein, a binding account can be used for multiple terminals, i.e., one binding account can correspond to multiple terminals, and
Since this multiple terminal all has corresponding buffer zone beyond the clouds, it can collect this multiple buffer zone as one
It closes, referred to as total buffer zone, total buffer zone is corresponding with binding account, i.e., each binding account is corresponding with a total caching
Region.For example, by taking the binding account of terminal A, terminal B and terminal C are account 1 as an example, if terminal A is corresponding slow beyond the clouds
Depositing region is buffer zone 1, and corresponding buffer zone is buffer zone 2, terminal C corresponding caching beyond the clouds to terminal B beyond the clouds
Region is buffer zone 3, then total buffer zone corresponding to account 1 may include buffer zone 1, buffer zone 2 and buffer area
Domain 3.
In addition, before receiving synchronized update message of the terminal by binding the end-user listening data that account is sent in real time,
The end-user listening data that multiple terminals are uploaded respectively by same binding account can also be received, then according to terminal user's number
Corresponding Backup Data caching is generated according to terminal respectively each in the corresponding total buffer zone of the binding account.
Then at this point, step " receives the synchronized update message for the end-user listening data that terminal is sent in real time by binding account
(step 101) " is specifically as follows: receiving any terminal in multiple terminal and passes through the terminal user that the binding account is sent in real time
The synchronized update message of data.
102, according to corresponding with the terminal in the corresponding total buffer zone of the synchronized update information updating binding account
Backup Data caching, obtains updated total buffer zone.
It should be noted that due to cloud synchronize be more buffer zones set, when some buffer zone therein send out
When changing, total buffer zone can also change, so, a new total buffer zone is generated at this point, can synchronize, in this hair
In bright embodiment, referred to as updated total buffer zone.Wherein, total buffer zone carry timestamp to confirm that update when
Between.
103, according to buffer zone total after the update to the end-user listening data in all terminals under the binding account into
Row synchronizes.
For example, if the terminals such as terminal A, terminal B and terminal C all correspond to the binding account, at this point it is possible to according to this
Total buffer zone synchronizes the end-user listening data of the terminals such as terminal A, terminal B and terminal C after update.
Be simultaneously indicated for example, can specifically be sent to terminals such as terminal A, terminal B and terminal C, so as to terminal A, terminal B and
Terminal C determines whether to receive synchronization according to the synchronizing indication, if not receiving synchronization, can raise an objection or request again more
The end-user listening data etc. in new cloud.
104, determine backtracking instruction whether is got in preset time, if so, 105 are thened follow the steps, if it is not, then executing step
Rapid 106.
If 105, getting backtracking instruction in preset time, total buffer zone is returned after being updated according to backtracking instruction
It traces back as total buffer zone before update.
If getting backtracking instruction in preset time, show that update operation may be maloperation, therefore, it is necessary to
It is total buffer zone before update by buffer zone total after update backtracking, that is, restores data, to guarantee the correctness of data.Its
In, backtracking instruction can generate in following situation:
If updated total buffer zone is updated again in preset time, backtracking instruction is generated;Alternatively,
If receiving any terminal under the binding account in preset time to raise an objection, backtracking instruction, etc. is generated.
Wherein, which can be configured according to the demand of practical application, for example, can be set waiting 5 minutes,
10 minutes or 20 minutes, etc., details are not described herein.
If backtracking instruction 106, has not been obtained in preset time, by the Backup Data in buffer zone total after the update
Caching is used as Backup Data.
If backtracking instruction has not been obtained in preset time, show update operation effectively, it therefore, can be by this more
Backup Data caching after new in total buffer zone is used as Backup Data.
From the foregoing, it will be observed that the present embodiment is using the synchronization for receiving the end-user listening data that terminal is sent in real time by binding account
Update message, according to backup corresponding with the terminal in the corresponding total buffer zone of the synchronized update information updating binding account
Data buffer storage obtains updated total buffer zone, then according to buffer zone total after the update to the institute changed under binding account
There is the end-user listening data in terminal to synchronize, hereafter, if getting backtracking instruction in preset time, is referred to according to backtracking
Show otherwise buffer zone total after update backtracking is then confirmed into update effectively for total buffer zone before updating, it will be total after the update
Backup Data caching in buffer zone is used as Backup Data.The use of real-time automatic synchronization multiple terminals not only may be implemented in the program
User data, moreover, because whether the update of data can effectively be detected in preset time after synchronization, it therefore, can
To avoid the update of data caused by maloperation, for example the generation for the case where increasing end-user listening data is accidentally deleted or missed, greatly improves
Data synchronous flexibilities and safety.
Embodiment two,
The present embodiment will be described from the angle of terminal, which is specifically as follows mobile phone, tablet computer or personal meter
The equipment such as calculation machine (PC, Personal Computer).
A kind of multiple terminals method of data synchronization based on cloud storage, comprising: receive cloud device and always cached according to after update
The synchronizing indication that region is sent determines whether current sync operation is correct according to the synchronizing indication, if correctly, to terminal user
Data synchronize;If incorrect, in preset time touching make cloud device generate backtracking instruction, so as to cloud device according to
Buffer zone total after update backtracking is total buffer zone before update by backtracking instruction.
As shown in Fig. 2, being somebody's turn to do the multiple terminals method of data synchronization based on cloud storage, detailed process be can be such that
201, the synchronizing indication that cloud device is sent according to buffer zone total after update is received, wherein the synchronizing indication
It generates for details, reference can be made to embodiment one, details are not described herein.
Optionally, other than it can receive the simultaneously operating in cloud, which can also update cloud with activly request and protect
The end-user listening data deposited, i.e., step " synchronizing indication that total buffer zone is sent after receiving cloud device according to update " it
Before, being somebody's turn to do the multiple terminals method of data synchronization based on cloud storage can also include:
The synchronized update message of end-user listening data is sent, in real time to cloud device by binding account so as to cloud device
Corresponding Backup Data caching, obtains more in the corresponding total buffer zone of binding account according to the synchronized update information updating
Total buffer zone after new.
Wherein, binding account can be phone number, QQ number code, Email Accounts or other can identify the account of user identity
Number etc..Wherein, a binding account can be used for multiple terminals, i.e., one binding account can correspond to multiple terminals, and
Since this multiple terminal all has corresponding buffer zone beyond the clouds, it can collect this multiple buffer zone as one
It closes, referred to as total buffer zone, total buffer zone is corresponding with binding account, i.e., each binding account is corresponding with a total caching
Region.
In addition, before the synchronized update message for sending end-user listening data in real time to cloud device by binding account,
End-user listening data can also be uploaded to cloud device by binding account, so that cloud device exists according to the end-user listening data
Corresponding Backup Data caching is generated in the corresponding total buffer zone of the binding account.
202, determine whether current sync operation is correct according to the synchronizing indication, if correctly, thening follow the steps 203, if not
Correctly, 204 are thened follow the steps.
203, if it is determined that current sync operation is correct, then end-user listening data is synchronized.
204, if it is determined that current sync operation is incorrect, then touching makes cloud device generate backtracking instruction in preset time,
So that cloud device indicates buffer zone total after update backtracking to be total buffer zone before update according to the backtracking.
For example, the synchronized update message of end-user listening data can be specifically sent to cloud device in preset time, with
Buffer zone total after the update is updated, so that cloud device is generated backtracking instruction with touching;Alternatively,
It raises an objection in preset time to cloud device, so that cloud device is generated backtracking instruction, etc. with touching.
From the foregoing, it will be observed that the present embodiment is the corresponding method of embodiment one, in the present embodiment, terminal can receive cloud and set
Then the standby synchronizing indication sent in real time according to buffer zone total after update determines that current sync operation is according to the synchronizing indication
No correct, if correctly, synchronizing to end-user listening data, if incorrect, touching keeps cloud device raw in preset time
It is indicated at backtracking, so that cloud device indicates to be total slow before updating by buffer zone total after update backtracking according to the backtracking
Deposit region;The user data of real-time automatic synchronization multiple terminals not only may be implemented in the program, moreover, because can after synchronization
In preset time, whether the update of data is effectively detected, it can thus be avoided data caused by maloperation update,
Such as the generation for the case where accidentally deleting or accidentally increasing end-user listening data, substantially increase data synchronous flexibility and safety.
Embodiment three,
According to method described in embodiment one and two, citing is described in further detail below.
In the present embodiment, it will be illustrated for the synchronization between terminal A, terminal B and terminal C, wherein terminal A,
Terminal B and terminal C needs to bind the same cloud account (i.e. binding account).Wherein, the binding account can be phone number,
QQ number code, Email Accounts or other can identify account of user identity etc..
A kind of multiple terminals method of data synchronization based on cloud storage, as shown in Figure 3a, detailed process can be such that
301, the respective end-user listening data that terminal A, terminal B and terminal C are uploaded by the same binding account respectively.
Wherein, the binding account can be phone number, QQ number code, Email Accounts or other can identify user identity
Account etc..
302, cloud device is after receiving the end-user listening data that terminal A, terminal B and terminal C are uploaded respectively, according to
The end-user listening data received is respectively that each terminal generation is corresponding standby in the corresponding total buffer zone of the binding account
Part data buffer storage.
For example, by taking the binding account is specially cell-phone number " 12345678900 " as an example, then as shown in Figure 3b, beyond the clouds, hand
Machine number " 12345678900 " can correspond to total buffer zone M, and terminal A can specifically correspond to the buffer zone 1 in total buffer zone M,
Terminal B can specifically correspond to the buffer zone 2 in total buffer zone M, and terminal C can specifically correspond to the buffer area in total buffer zone M
Domain 3.
303, when the end-user listening data in terminal A changes, terminal A is set to cloud in real time by the binding account
Preparation send synchronized update message.
304, cloud device according in the corresponding total buffer zone of the synchronized update information updating binding account with terminal A
Corresponding Backup Data caching, for example buffer zone 1 is updated to buffer zone 1 ', obtain updated total buffer zone.Its
In, which can carry timestamp to confirm that the time updated.
For example, as shown in Figure 3c, specifically the corresponding buffer zone 1 terminal A can be updated to buffer zone 1 ', and submit
To total buffer zone M, to refresh total buffer zone M, so that total buffer zone M is updated to total buffer zone N.
305, cloud device uses the terminal in all terminals under the binding account according to buffer zone total after the update
User data synchronizes, and in the present embodiment, i.e., synchronizes to the end-user listening data in terminal A, terminal B and terminal C.
It is simultaneously indicated for example, can specifically be sent to terminals such as terminal A, terminal B and terminal C.
306, terminal A, terminal B and terminal C are after the synchronizing indication for receiving cloud device transmission, respectively according to the synchronization
Indicate determine whether the simultaneously operating is correct, if correctly, synchronizing to end-user listening data, if incorrect, preset
Touching makes cloud device generate backtracking instruction in time.
For example, by taking terminal A determines that the simultaneously operating is incorrect as an example, then terminal A can be touched in preset time and be made at this time
Cloud device generates backtracking instruction, for example, specifically the same of end-user listening data can be sent to cloud device in preset time
Update message is walked, to be updated to buffer zone total after the update, so that cloud device is generated backtracking instruction with touching;Alternatively,
It raises an objection in preset time to cloud device, so that cloud device is generated backtracking instruction, etc. with touching.
It is of course also possible to which being touched in preset time by terminal B and/or terminal C makes cloud device generate backtracking instruction, in fact
Existing identical, details are not described herein.
Wherein, which can be configured according to the demand of practical application, for example, can be set to 10 minutes or
15 minutes, etc..
307, cloud device starting timing detects, to confirm whether get backtracking instruction in preset time, if obtained
Backtracking instruction is got, thens follow the steps 308, otherwise, if backtracking instruction has not been obtained, thens follow the steps 309.
For example, specifically can be confirmed whether updated total buffer zone is updated again in preset time, or
The no objection, etc. for receiving any terminal under the binding account and proposing, if updated total caching in preset time
Region is updated or receives again the objection that any terminal proposes under the binding account, then shows that the update may be maloperation
It is caused, it is therefore contemplated that the update is invalid (determining that total buffer zone N is invalid), backtracking instruction is then generated, and execute step
308, otherwise, if updated total buffer zone is not updated in preset time, and also it is not received by the binding
The objection that any terminal proposes under account, then it is assumed that the update effectively (determining that total buffer zone N is effective), therefore, can be held
Row step 309.
If 308, getting backtracking instruction in preset time, total buffer zone is returned after being updated according to backtracking instruction
It traces back as total buffer zone before update.
For example, as shown in Figure 3c, total buffer zone N recall for total buffer zone M, i.e., by the recovery of buffer zone 1 caching
Region 1 '.
If backtracking instruction 309, has not been obtained in preset time, by the Backup Data in buffer zone total after the update
Caching is used as Backup Data.
For example, as shown in Figure 3c, it specifically can be using the file in total buffer zone N as new Backup Data.
From the foregoing, it will be observed that the present embodiment is using the synchronization for receiving the end-user listening data that terminal is sent in real time by binding account
Update message, according to backup corresponding with the terminal in the corresponding total buffer zone of the synchronized update information updating binding account
Data buffer storage obtains updated total buffer zone, then according to buffer zone total after the update to the institute changed under binding account
There is the end-user listening data in terminal to synchronize, hereafter, if getting backtracking instruction in preset time, is referred to according to backtracking
Show otherwise buffer zone total after update backtracking is then confirmed into update effectively for total buffer zone before updating, it will be total after the update
Backup Data caching in buffer zone is used as Backup Data.The use of real-time automatic synchronization multiple terminals not only may be implemented in the program
User data, moreover, because whether the update of data can effectively be detected in preset time after synchronization, it therefore, can
To avoid the update of data caused by maloperation, for example the generation for the case where increasing end-user listening data is accidentally deleted or missed, greatly improves
Data synchronous flexibilities and safety.
Example IV,
Correspondingly, the embodiment of the present invention provides a kind of cloud device, as shown in fig. 4 a, which includes the first reception
Unit 401, updating unit 402, synchronization unit 403, trace unit 404 and processing unit 405;
First receiving unit 401, for receiving the synchronization for the end-user listening data that terminal is sent in real time by binding account
Update message.
Wherein, binding account can be phone number, QQ number code, Email Accounts or other can identify the account of user identity
Number etc..Wherein, a binding account can be used for multiple terminals, i.e., one binding account can correspond to multiple terminals, and
Since this multiple terminal all has corresponding buffer zone beyond the clouds, it can collect this multiple buffer zone as one
It closes, referred to as total buffer zone, total buffer zone is corresponding with binding account, i.e., each binding account is corresponding with a total caching
Region.
Updating unit 402, for according in the corresponding total buffer zone of the synchronized update information updating binding account
Backup Data caching corresponding with the terminal, obtains updated total buffer zone.
Wherein, total buffer zone can carry timestamp to confirm that the time updated.
Synchronization unit 403, for according to buffer zone total after the update to it is described binding account under all terminals in
End-user listening data synchronizes.
For example, if the terminals such as terminal A, terminal B and terminal C all correspond to the binding account, at this point, synchronization unit
403 can carry out together according to end-user listening data of the buffer zone total after the update to terminals such as terminal A, terminal B and terminal C
Step.
It is simultaneously indicated for example, synchronization unit 403 can specifically be sent to terminals such as terminal A, terminal B and terminal C, so as to end
End A, terminal B determine whether to receive synchronous with terminal C according to the synchronizing indication, if not receiving synchronization, can raise an objection
Or request updates the end-user listening data etc. in cloud again.
Trace unit 404, it is total after being updated according to the backtracking instruction when for getting backtracking instruction in preset time
Buffer zone backtracking is total buffer zone before update.
For example, trace unit 404, specifically can be used for when in preset time updated total buffer zone again by
When update, alternatively, backtracking instruction is generated when receiving that any terminal is raised an objection under the binding account in preset time,
Total buffer zone before being updated buffer zone total after update backtracking according to backtracking instruction.
Wherein, which can be configured according to the demand of practical application, for example, can be set waiting 5 minutes,
10 minutes or 20 minutes, etc., details are not described herein.
Processing unit 405 will be in buffer zone total after the update when for backtracking instruction to have not been obtained in preset time
Backup Data caching be used as Backup Data.
In addition, before receiving synchronized update message of the terminal by binding the end-user listening data that account is sent in real time,
The end-user listening data that multiple terminals are uploaded respectively by same binding account can also be received, then according to terminal user's number
Corresponding Backup Data caching is generated according to terminal respectively each in the corresponding total buffer zone of the binding account;I.e. such as Fig. 4 b
Shown, which can also be as follows including the second receiving unit 406 and generation unit 407:
Second receiving unit 406, the terminal user's number uploaded respectively for receiving multiple terminals by same binding account
According to;
Generation unit 407, for being distinguished in the corresponding total buffer zone of the binding account according to the end-user listening data
Corresponding Backup Data caching is generated for each terminal;
Then at this point, the first receiving unit 401, specifically can be used for receiving in multiple terminal any terminal, this is tied up by institute
Determine the synchronized update message for the end-user listening data that account is sent in real time.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities.The specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
The cloud device specifically can be with equipment such as servers.
From the foregoing, it will be observed that the first receiving unit 401 of the cloud device of the present embodiment, which can receive terminal, passes through binding account
The synchronized update message of the end-user listening data sent in real time, then by updating unit 402 according to the synchronized update information updating
Backup Data caching corresponding with the terminal, obtains updated total buffer area in the corresponding total buffer zone of the binding account
Then domain is used the terminal in all terminals changed under binding account according to buffer zone total after the update by synchronization unit 403
User data synchronizes, and hereafter, if getting backtracking instruction in preset time, is indicated by trace unit 404 according to backtracking
Otherwise buffer zone total after update backtracking is then confirmed into update effectively, by processing unit 405 for total buffer zone before updating
It regard the Backup Data caching in buffer zone total after the update as Backup Data.The program not only may be implemented automatic in real time same
The user data of multiple terminals is walked, moreover, because whether can be effectively carried out in preset time after synchronization to the update of data
The hair for the case where increasing end-user listening data is accidentally deleted or missed to detection it can thus be avoided data caused by maloperation update, for example
It is raw, substantially increase data synchronous flexibility and safety.
Embodiment five,
Correspondingly, the embodiment of the present invention provides a kind of terminal, as shown in Figure 5 a, which includes receiving unit 501, judgement
Unit 502, synchronization unit 503 and trigger unit 504, as follows:
Receiving unit 501, the synchronizing indication sent for receiving cloud device according to buffer zone total after update.
Judging unit 502, for determining whether current sync operation is correct according to the synchronizing indication.
Synchronization unit 503, for judging unit 502 determine current sync operation it is correct when, to end-user listening data into
Row synchronizes.
Trigger unit 504, for being touched in preset time when judging unit 502 determines that current sync operation is incorrect
So that cloud device is generated backtracking instruction, is so that cloud device indicates to recall buffer zone total after the update according to the backtracking
Total buffer zone before update.
For example, trigger unit 504, specifically can be used for sending end-user listening data to cloud device in preset time
Synchronized update message makes cloud device generate backtracking instruction to be updated to buffer zone total after the update with touching;Alternatively,
It raises an objection in preset time to cloud device, so that cloud device is generated backtracking instruction, etc. with touching.
Optionally, other than it can receive the simultaneously operating in cloud, which can also update cloud with activly request and protect
The end-user listening data deposited, i.e., as shown in Figure 5 b, the terminal can also include transmission unit 505;
Transmission unit 505, for sending the synchronized update of end-user listening data in real time to cloud device by binding account
Message, so that cloud device backs up accordingly according in the corresponding total buffer zone of the synchronized update information updating binding account
Data buffer storage obtains updated total buffer zone.
Wherein, binding account can be phone number, QQ number code, Email Accounts or other can identify the account of user identity
Number etc..Wherein, a binding account can be used for multiple terminals, i.e., one binding account can correspond to multiple terminals, and
Since this multiple terminal all has corresponding buffer zone beyond the clouds, it can collect this multiple buffer zone as one
It closes, referred to as total buffer zone, total buffer zone is corresponding with binding account, i.e., each binding account is corresponding with a total caching
Region.
In addition, before the synchronized update message for sending end-user listening data in real time to cloud device by binding account,
End-user listening data can also be uploaded to cloud device by binding account, so that cloud device exists according to the end-user listening data
Corresponding Backup Data caching is generated in the corresponding total buffer zone of the binding account;That is:
Transmission unit 505 can be also used for uploading end-user listening data to cloud device by binding account, so as to cloud
Equipment generates corresponding Backup Data caching according to the end-user listening data in the corresponding total buffer zone of the binding account.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities.The specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
The terminal is specifically as follows the equipment such as mobile phone, tablet computer or personal computer.
It is always cached from the foregoing, it will be observed that the receiving unit 501 of the terminal of the present embodiment can receive cloud device according to after update
Then the synchronizing indication that region is sent in real time determines whether just current sync operates according to the synchronizing indication by judging unit 502
Really, if correctly, being synchronized by synchronization unit 503 to end-user listening data, if incorrect, by trigger unit 504 pre-
Setting touching in the time makes cloud device generate backtracking instruction, so that cloud device will always be cached according to backtracking instruction after the update
Region backtracking is total buffer zone before update;The user data of real-time automatic synchronization multiple terminals not only may be implemented in the program,
Moreover, because whether the update of data can effectively be detected in preset time after synchronization, it can thus be avoided
Data caused by maloperation update, for example accidentally delete or miss the generation for the case where increasing end-user listening data, substantially increase data
Synchronous flexibility and safety.
Embodiment six,
Correspondingly, the embodiment of the present invention also provides a kind of communication system, including it is provided in an embodiment of the present invention any one
Cloud device and any one terminal, wherein cloud device specifically may refer to example IV, and for details, reference can be made to embodiments for terminal
Five, details are not described herein.
Since the communication system of the embodiment of the present invention may include any one cloud device provided in an embodiment of the present invention
And terminal, therefore any one cloud device and terminal provided in an embodiment of the present invention equally may be implemented similarly beneficial to effect
Fruit is detailed in preceding embodiment, and details are not described herein.
Embodiment seven,
The embodiment of the present invention also provides a kind of server, wherein the product information that can integrate the embodiment of the present invention recommends dress
It sets, as shown in fig. 6, it illustrates the structural schematic diagrams of server involved in the embodiment of the present invention, specifically:
The server may include one or processor 601, one or more meters of more than one processing core
Memory 602, radio frequency (Radio Frequency, RF) circuit 603, the wireless communication module of calculation machine readable storage medium storing program for executing are such as blue
Tooth module and/or Wireless Fidelity (WiFi, Wireless Fidelity) module 604 etc. (in Fig. 6 by taking WIFI module 604 as an example),
The components such as power supply 605, sensor 606, input unit 607 and display unit 608.It will be understood by those skilled in the art that figure
Server architecture shown in 6 does not constitute the restriction to server, may include components more more or fewer than diagram, or
Combine certain components or different component layouts.Wherein:
Processor 601 is the control centre of the server, utilizes each of various interfaces and the entire server of connection
Part by running or execute the software program and/or module that are stored in memory 602, and calls and is stored in memory
Data in 602, the various functions and processing data of execute server, to carry out integral monitoring to server.Optionally, locate
Managing device 601 may include one or more processing cores;Preferably, processor 601 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 601.
Memory 602 can be used for storing software program and module, and processor 601 is stored in memory 602 by operation
Software program and module, thereby executing various function application and data processing.Memory 602 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to server
Deng.In addition, memory 602 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 602 can also include
Memory Controller, to provide access of the processor 601 to memory 602.
During RF circuit 603 can be used for receiving and sending messages, signal is sended and received, and particularly, the downlink of base station is believed
After breath receives, one or the processing of more than one processor 601 are transferred to;In addition, the data for being related to uplink are sent to base station.It is logical
Often, RF circuit 603 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, user identity
Module (SIM) card, transceiver, coupler, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..This
Outside, RF circuit 603 can also be communicated with network and other equipment by wireless communication.The wireless communication can be used any logical
Beacon standard or agreement, including but not limited to global system for mobile communications (GSM, Global System of Mobile
Communication), general packet radio service (GPRS, General Packet Radio Service), CDMA
(CDMA, Code Division Multiple Access), wideband code division multiple access (WCDMA, Wideband Code
Division Multiple Access), long term evolution (LTE, Long Term Evolution), Email, short message clothes
Be engaged in (SMS, Short Messaging Service) etc..
WiFi belongs to short range wireless transmission technology, and stream is sent and received e-mail and accessed to server by WiFi module 604
Formula media etc., it can provide wireless broadband internet access.Although Fig. 6 shows WiFi module 604, but it is understood that
, and be not belonging to must be configured into for server, can according to need completely within the scope of not changing the essence of the invention and
It omits.
Server further includes the power supply 605(such as battery powered to all parts), it is preferred that power supply can pass through power supply
Management system and processor 601 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.Power supply 605 can also include one or more direct current or AC power source, recharging system, power failure
The random components such as detection circuit, power adapter or inverter, power supply status indicator.
The server may also include at least one sensor 606, such as optical sensor, motion sensor and other sensings
Device.The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor that the server can also configure,
This is repeated no more.
The server may also include input unit 607, which can be used for receiving the number or character letter of input
Breath, and generation keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal are defeated
Enter.Specifically, in a specific embodiment, input unit 607 may include touch sensitive surface and other input equipments.It is touch-sensitive
Surface, also referred to as touch display screen or Trackpad, collect user on it or nearby touch operation (such as user use
The operation of any suitable object or attachment such as finger, stylus on touch sensitive surface or near touch sensitive surface), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch sensitive surface may include touch detecting apparatus and touch controller two
A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Processor 601 is given, and order that processor 601 is sent can be received and executed.Furthermore, it is possible to using resistance-type, capacitor
The multiple types such as formula, infrared ray and surface acoustic wave realize touch sensitive surface.In addition to touch sensitive surface, input unit 607 can also be wrapped
Include other input equipments.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control
Key processed, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
The server may also include display unit 608, the display unit 608 can be used for showing information input by user or
Be supplied to the information of user and the various graphical user interface of server, these graphical user interface can by figure, text,
Icon, video and any combination thereof are constituted.Display unit 608 may include display panel, optionally, can use liquid crystal display
Device (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting
) etc. Diode forms configure display panel.Further, touch sensitive surface can cover display panel, when touch sensitive surface detects
After touch operation on or near it, processor 601 is sent to determine the type of touch event, is followed by subsequent processing 601 basis of device
The type of touch event provides corresponding visual output on a display panel.Although in Fig. 6, touch sensitive surface is with display panel
Input and input function are realized as two independent components, but in some embodiments it is possible to by touch sensitive surface and are shown
Show that panel is integrated and realizes and outputs and inputs function.
Although being not shown, server can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality
It applies in example, the processor 601 in server can be according to following instruction, by the process pair of one or more application program
The executable file answered is loaded into memory 602, and the application journey of storage in the memory 602 is run by processor 601
Sequence, thus realize various functions, it is as follows:
The synchronized update message for the end-user listening data that terminal is sent in real time by binding account is received, more according to the synchronization
New information updates Backup Data caching corresponding with the terminal in the corresponding total buffer zone of the binding account, obtains updated
Total buffer zone, according to buffer zone total after the update to it is described binding account under all terminals in end-user listening data into
Row synchronizes, if getting backtracking instruction in preset time, is by buffer zone total after update backtracking according to backtracking instruction
Total buffer zone before update;It, will be in buffer zone total after the update if backtracking instruction has not been obtained in preset time
Backup Data caching is used as Backup Data.
Wherein, binding account can be phone number, QQ number code, Email Accounts or other can identify the account of user identity
Number etc..Wherein, a binding account can be used for multiple terminals, i.e., one binding account can correspond to multiple terminals, and
Since this multiple terminal all has corresponding buffer zone beyond the clouds, it can collect this multiple buffer zone as one
It closes, referred to as total buffer zone, total buffer zone is corresponding with binding account, i.e., each binding account is corresponding with a total caching
Region.
Wherein, if backtracking instruction has not been obtained in preset time, show update operation effectively, it therefore, can be with
It regard the Backup Data caching in buffer zone total after the update as Backup Data.And if getting backtracking in preset time
Instruction then shows that update operation may be maloperation, is total before update therefore, it is necessary to buffer zone total after updating backtracking
Buffer zone, i.e. recovery data, to guarantee the correctness of data.Wherein, backtracking instruction can generate in following situation:
If updated total buffer zone is updated again in preset time, backtracking instruction is generated;Alternatively,
If receiving any terminal under the binding account in preset time to raise an objection, backtracking instruction, etc. is generated.
Wherein, which can be configured according to the demand of practical application, for example, can be set waiting 5 minutes,
10 minutes or 20 minutes, etc., details are not described herein.
In addition, before receiving synchronized update message of the terminal by binding the end-user listening data that account is sent in real time,
The end-user listening data that multiple terminals are uploaded respectively by same binding account can also be received, then according to terminal user's number
Corresponding Backup Data caching is generated according to terminal respectively each in the corresponding total buffer zone of the binding account.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
From the foregoing, it will be observed that the cloud device of the present embodiment can receive the terminal user that terminal is sent in real time by binding account
The synchronized update message of data, according in the corresponding total buffer zone of the synchronized update information updating binding account with the terminal
Corresponding Backup Data caching, obtains updated total buffer zone, is then bound according to buffer zone total after the update to changing
The end-user listening data in all terminals under account synchronizes, hereafter, if getting backtracking instruction in preset time,
Otherwise total buffer zone before being updated buffer zone total after update backtracking according to backtracking instruction then confirms update effectively, will
Backup Data caching after the update in total buffer zone is used as Backup Data.Real-time automatic synchronization not only may be implemented in the program
The user data of multiple terminals, moreover, because whether can effectively be examined to the update of data in preset time after synchronization
It surveys, it can thus be avoided data caused by maloperation update, for example accidentally deletes or miss the hair for the case where increasing end-user listening data
It is raw, substantially increase data synchronous flexibility and safety.
Embodiment eight,
Correspondingly, the embodiment of the present invention also provides a kind of terminal, as shown in fig. 7, the terminal may include radio frequency (RF,
Radio Frequency) circuit 701, the memory 702, defeated that includes one or more computer readable storage medium
Enter unit 703, display unit 704, sensor 705, voicefrequency circuit 706, Wireless Fidelity (WiFi, Wireless Fidelity)
The components such as module 707, the processor 708 for including one or more than one processing core and power supply 709.This field skill
Art personnel are appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 7, may include more or more than illustrating
Few component perhaps combines certain components or different component layouts.Wherein:
RF circuit 701 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 708 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 701 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuit 701 can also by wireless communication with network and its
He communicates equipment.Any communication standard or agreement, including but not limited to global system for mobile telecommunications system can be used in the wireless communication
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 702 can be used for storing software program and module, and processor 708 is stored in memory 702 by operation
Software program and module, thereby executing various function application and data processing.Memory 702 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to terminal
(such as audio data, phone directory etc.) etc..In addition, memory 702 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 702 can also include Memory Controller, to provide processor 708 and input unit 703 to memory 702
Access.
Input unit 703 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in a specific embodiment
In, input unit 703 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touching
Control plate, collect user on it or nearby touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 708, and can reception processing
Order that device 708 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 703 can also include other input equipments.Specifically, other are defeated
Entering equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One of mark, operating stick etc. are a variety of.
Display unit 704 can be used for showing information input by user or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display
Unit 704 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to
Device 708 is followed by subsequent processing device 708 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although touch sensitive surface and display panel are to realize input and input as two independent components in Fig. 7
Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 705, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear
Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions
Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 706, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 706 can
By the electric signal after the audio data received conversion, it is transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, is converted to audio data after being received by voicefrequency circuit 706, then
After the processing of audio data output processor 708, it is sent to such as another terminal through RF circuit 701, or by audio data
Output is further processed to memory 702.Voicefrequency circuit 706 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 707
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown
WiFi module 707, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 708 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 702, and call and be stored in memory 702
Data execute the various functions and processing data of terminal, to carry out integral monitoring to mobile phone.Optionally, processor 708 can wrap
Include one or more processing cores;Preferably, processor 708 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 708.
Terminal further includes the power supply 709(such as battery powered to all parts), it is preferred that power supply can pass through power supply pipe
Reason system and processor 708 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 709 can also include one or more direct current or AC power source, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically in this implementation
In example, the processor 708 in terminal can be corresponding by the process of one or more application program according to following instruction
Executable file is loaded into memory 702, and the application program being stored in memory 702 is run by processor 708, from
And realize various functions:
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically in this implementation
In example, the display unit of terminal is touch-screen display, and terminal further includes having memory and one or more than one journey
Sequence, perhaps more than one program is stored in memory and is configured to by one or more than one processor for one of them
Execution states one or more than one program includes the instruction for performing the following operation:
The synchronizing indication that cloud device is sent according to buffer zone total after update is received, is determined according to the synchronizing indication current
Whether simultaneously operating is correct, if correctly, synchronizing to end-user listening data;If incorrect, touching in preset time makes
Cloud device generates backtracking instruction, so that cloud device is indicated buffer zone total after update backtracking according to the backtracking as more
Total buffer zone before new.
For example, the synchronized update message of end-user listening data can be specifically sent to cloud device in preset time, with
Buffer zone total after the update is updated, so that cloud device is generated backtracking instruction with touching;Alternatively, to cloud in preset time
End equipment is raised an objection, and so that cloud device is generated backtracking instruction, etc. with touching.
Optionally, other than it can receive the simultaneously operating in cloud, which can also update cloud with activly request and protect
The end-user listening data deposited, i.e., before " synchronizing indication that total buffer zone is sent after receiving cloud device according to update ", also
It can execute and such as give an order:
The synchronized update message of end-user listening data is sent, in real time to cloud device by binding account so as to cloud device
Corresponding Backup Data caching, obtains more in the corresponding total buffer zone of binding account according to the synchronized update information updating
Total buffer zone after new.
Wherein, binding account can be phone number, QQ number code, Email Accounts or other can identify the account of user identity
Number etc..Wherein, a binding account can be used for multiple terminals, i.e., one binding account can correspond to multiple terminals, and
Since this multiple terminal all has corresponding buffer zone beyond the clouds, it can collect this multiple buffer zone as one
It closes, referred to as total buffer zone, total buffer zone is corresponding with binding account, i.e., each binding account is corresponding with a total caching
Region.
In addition, before the synchronized update message for sending end-user listening data in real time to cloud device by binding account,
End-user listening data can also be uploaded to cloud device by binding account, so that cloud device exists according to the end-user listening data
Corresponding Backup Data caching is generated in the corresponding total buffer zone of the binding account.
From the foregoing, it will be observed that the terminal of the present embodiment can receive what cloud device was sent in real time according to buffer zone total after update
Synchronizing indication, then according to the synchronizing indication determine current sync operation it is whether correct, if correctly, to end-user listening data into
Row synchronizes, if incorrect, touching makes cloud device generate backtracking instruction in preset time, so that cloud device is according to the backtracking
It indicates buffer zone total after update backtracking to be total buffer zone before update;The program not only may be implemented automatic in real time
The user data of synchronous multiple terminals, moreover, because can in preset time after synchronization, to the updates of data whether effectively into
Row detection it can thus be avoided data caused by maloperation update, for example is accidentally deleted or is missed the case where increasing end-user listening data
Occur, substantially increases data synchronous flexibility and safety.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
It is provided for the embodiments of the invention a kind of multiple terminals method of data synchronization based on cloud storage, device above and is
System is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, above
The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (13)
1. a kind of multiple terminals method of data synchronization based on cloud storage characterized by comprising
Receive the synchronized update message for the end-user listening data that terminal is sent in real time by binding account;
It is corresponding with the terminal standby in the corresponding total buffer zone of binding account according to the synchronized update information updating
Part data buffer storage, obtains updated total buffer zone;
The end-user listening data in all terminals under the binding account is carried out according to updated total buffer zone
It is synchronous;
If getting backtracking instruction in preset time, it is by updated total buffer zone backtracking according to backtracking instruction
Total buffer zone before update;
If backtracking instruction has not been obtained in preset time, the Backup Data in updated total buffer zone is cached
As Backup Data.
2. the method according to claim 1, wherein the end for receiving terminal and being sent in real time by binding account
Before the synchronized update message of end-user data, further includes:
Receive the end-user listening data that multiple terminals are uploaded respectively by same binding account;
It is respectively each terminal generation pair in the corresponding total buffer zone of the binding account according to the end-user listening data
The Backup Data caching answered;
The synchronized update message for receiving the end-user listening data that terminal is sent in real time by binding account, specifically: it receives
The synchronized update message for the end-user listening data that any terminal is sent in real time by the binding account in the multiple terminal.
3. method according to claim 1 or 2, which is characterized in that get backtracking instruction in preset time, comprising:
If updated total buffer zone is updated again in preset time, backtracking instruction is generated;Alternatively,
If receiving any terminal under the binding account in preset time to raise an objection, backtracking instruction is generated.
4. a kind of multiple terminals method of data synchronization based on cloud storage characterized by comprising
Send to cloud device the synchronized update message of end-user listening data in real time by binding account, so as to cloud device according to
Corresponding Backup Data caching, is updated in the corresponding total buffer zone of binding account described in the synchronized update information updating
Total buffer zone afterwards;
Receive the synchronizing indication that cloud device is sent according to updated total buffer zone;
Determine whether current sync operation is correct according to the synchronizing indication;
If correct, end-user listening data is synchronized;
If incorrect, touching makes cloud device generate backtracking instruction in preset time, so that cloud device is according to the backtracking
Indicate that by updated total buffer zone backtracking be total buffer zone before update.
5. according to the method described in claim 4, it is characterized in that, described refer in preset time to cloud device transmission backtracking
Show, comprising:
The synchronized update message of end-user listening data is sent to cloud device in preset time, to described updated total slow
It deposits region to be updated, so that cloud device is generated backtracking instruction with touching;Alternatively,
It raises an objection in preset time to cloud device, so that cloud device is generated backtracking instruction with touching.
6. according to the method described in claim 4, it is characterized in that, described send end to cloud device by binding account in real time
Before the synchronized update message of end-user data, further includes:
End-user listening data is uploaded to cloud device by binding account, so that cloud device exists according to the end-user listening data
Corresponding Backup Data caching is generated in the corresponding total buffer zone of the binding account.
7. a kind of cloud device characterized by comprising
First receiving unit is disappeared for receiving terminal by binding the synchronized update for the end-user listening data that account is sent in real time
Breath;
Updating unit, in the corresponding total buffer zone of binding account according to the synchronized update information updating with it is described
The corresponding Backup Data caching of terminal, obtains updated total buffer zone;
Synchronization unit, for according to updated total buffer zone to it is described binding account under all terminals in terminal
User data synchronizes;
Trace unit will be updated total slow according to the backtracking instruction when for getting backtracking instruction in preset time
Region backtracking is deposited as total buffer zone before update;
Processing unit will be in updated total buffer zone when for backtracking instruction to have not been obtained in preset time
Backup Data caching is used as Backup Data.
8. cloud device according to claim 7, which is characterized in that further include generation unit and the second receiving unit;
Second receiving unit, the end-user listening data uploaded respectively for receiving multiple terminals by same binding account;
The generation unit, for being distinguished in the corresponding total buffer zone of the binding account according to the end-user listening data
Corresponding Backup Data caching is generated for each terminal;
First receiving unit is sent out specifically for any terminal in the multiple terminal of reception by the binding account in real time
The synchronized update message of the end-user listening data sent.
9. cloud device according to claim 7 or 8, which is characterized in that
The trace unit, specifically for when updated total buffer zone described in preset time is updated again, or
Person generates backtracking instruction, according to described when receiving that any terminal is raised an objection under the binding account in preset time
Updated total buffer zone backtracking is total buffer zone before update by backtracking instruction.
10. a kind of terminal characterized by comprising
Transmission unit, for sending the synchronized update message of end-user listening data in real time to cloud device by binding account, with
Just cloud device binds in the corresponding total buffer zone of account according to the synchronized update information updating and backs up number accordingly
According to caching, updated total buffer zone is obtained;
Receiving unit, the synchronizing indication sent for receiving cloud device according to updated total buffer zone;
Judging unit, for determining whether current sync operation is correct according to the synchronizing indication;
Synchronization unit, for being synchronized to end-user listening data when judging unit determines that current sync operation is correct;
Trigger unit, for when judging unit determines that current sync operation is incorrect, touching to make cloud device in preset time
Backtracking instruction is generated, so that cloud device indicates before recalling updated total buffer zone to update according to the backtracking
Total buffer zone.
11. terminal according to claim 10, which is characterized in that
The trigger unit, specifically for disappearing in preset time to the synchronized update that cloud device sends end-user listening data
Breath makes cloud device generate backtracking instruction to be updated to updated total buffer zone with touching;Alternatively, preset
It raises an objection in time to cloud device, so that cloud device is generated backtracking instruction with touching.
12. terminal according to claim 10, which is characterized in that
The transmission unit is also used to upload end-user listening data to cloud device by binding account, so as to cloud device root
Corresponding Backup Data caching is generated in the corresponding total buffer zone of the binding account according to the end-user listening data.
13. a kind of communication system, which is characterized in that including the described in any item cloud devices of claim 7 to 9 and claim
10 to 12 described in any item terminals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410132046.9A CN104980455B (en) | 2014-04-02 | 2014-04-02 | A kind of multiple terminals method of data synchronization based on cloud storage, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410132046.9A CN104980455B (en) | 2014-04-02 | 2014-04-02 | A kind of multiple terminals method of data synchronization based on cloud storage, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104980455A CN104980455A (en) | 2015-10-14 |
CN104980455B true CN104980455B (en) | 2019-02-05 |
Family
ID=54276556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410132046.9A Active CN104980455B (en) | 2014-04-02 | 2014-04-02 | A kind of multiple terminals method of data synchronization based on cloud storage, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104980455B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105763278B (en) * | 2016-01-06 | 2018-02-09 | 新华三技术有限公司 | A kind of method and apparatus of time backtracking |
CN106202373A (en) * | 2016-07-08 | 2016-12-07 | 青岛海信传媒网络技术有限公司 | Multiple terminals data processing method and data server |
CN107645532B (en) * | 2016-07-22 | 2020-07-24 | 腾讯科技(深圳)有限公司 | User management method and device of hybrid cloud |
CN106294607A (en) * | 2016-07-29 | 2017-01-04 | 北京奇虎科技有限公司 | Data cached update method and updating device |
CN106131217A (en) * | 2016-08-23 | 2016-11-16 | 努比亚技术有限公司 | Data uploading device and method |
CN106375478B (en) * | 2016-10-25 | 2019-07-23 | Oppo广东移动通信有限公司 | A kind of synchronous method of mobile terminal data, apparatus and system |
CN108073660B (en) * | 2016-11-18 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Method and system for realizing cache data synchronization |
CN108243209A (en) * | 2016-12-23 | 2018-07-03 | 深圳市优朋普乐传媒发展有限公司 | A kind of method of data synchronization and device |
CN107256527B (en) * | 2017-04-18 | 2020-10-02 | 上海高顿教育培训有限公司 | Bitmap backtracking method based on dynamic cache |
CN107276880B (en) * | 2017-06-13 | 2020-06-02 | 青岛海信移动通信技术股份有限公司 | Method and device for acquiring mail |
CN111324615A (en) * | 2018-12-13 | 2020-06-23 | 北京京东尚科信息技术有限公司 | Data processing method, device, medium and electronic equipment |
CN115865528B (en) * | 2023-02-20 | 2023-05-12 | 深圳市英唐数码科技有限公司 | Multi-device-based user profile operation method, system and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6317425B1 (en) * | 1997-07-18 | 2001-11-13 | Samsung Electronics Co., Ltd. | Data synchronizing method for radio multi-terminal communications system |
CN101001243A (en) * | 2006-01-09 | 2007-07-18 | 杭州世导科技有限公司 | System and method for implementing mobile information synchronous |
CN101201769A (en) * | 2006-12-13 | 2008-06-18 | 联想(北京)有限公司 | Synchronous system and method for multiple equipment document |
CN101505300A (en) * | 2009-03-13 | 2009-08-12 | 张昊 | System for data synchronization between server and terminal on the basis of Linux and synchronization method thereof |
CN102497424A (en) * | 2011-12-12 | 2012-06-13 | 创新科存储技术(深圳)有限公司 | Method for achieving cloud storage through mobile storage device |
CN102638578A (en) * | 2012-03-29 | 2012-08-15 | 深圳市高正软件有限公司 | Data synchronization method and data synchronization system based on mobile devices |
CN103562913A (en) * | 2011-03-17 | 2014-02-05 | 远程媒体有限责任公司 | System and method for media file synchronization |
-
2014
- 2014-04-02 CN CN201410132046.9A patent/CN104980455B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6317425B1 (en) * | 1997-07-18 | 2001-11-13 | Samsung Electronics Co., Ltd. | Data synchronizing method for radio multi-terminal communications system |
CN101001243A (en) * | 2006-01-09 | 2007-07-18 | 杭州世导科技有限公司 | System and method for implementing mobile information synchronous |
CN101201769A (en) * | 2006-12-13 | 2008-06-18 | 联想(北京)有限公司 | Synchronous system and method for multiple equipment document |
CN101505300A (en) * | 2009-03-13 | 2009-08-12 | 张昊 | System for data synchronization between server and terminal on the basis of Linux and synchronization method thereof |
CN103562913A (en) * | 2011-03-17 | 2014-02-05 | 远程媒体有限责任公司 | System and method for media file synchronization |
CN102497424A (en) * | 2011-12-12 | 2012-06-13 | 创新科存储技术(深圳)有限公司 | Method for achieving cloud storage through mobile storage device |
CN102638578A (en) * | 2012-03-29 | 2012-08-15 | 深圳市高正软件有限公司 | Data synchronization method and data synchronization system based on mobile devices |
Also Published As
Publication number | Publication date |
---|---|
CN104980455A (en) | 2015-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104980455B (en) | A kind of multiple terminals method of data synchronization based on cloud storage, device and system | |
CN105490919B (en) | Message cancelling method and device | |
CN106502834B (en) | Backup method, the apparatus and system of data | |
CN104519485B (en) | Communication means, device and system between a kind of terminal | |
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN104618217B (en) | Share method, terminal, server and the system of resource | |
US9794206B2 (en) | Method and apparatus for managing the display of messages of a group chat | |
CN104572430B (en) | A kind of test method, the device and system at terminal applies interface | |
CN106357808B (en) | A kind of method of data synchronization and device | |
CN104571787B (en) | A kind of message display method and communication terminal | |
CN104427074B (en) | A kind of methods, devices and systems for showing incoming information | |
CN106161176A (en) | Cluster conversation message treatment method and device | |
CN105141458B (en) | Residual time length methods of exhibiting and device | |
CN106534940A (en) | Method and device for displaying preview picture at live broadcasting entrance | |
CN104123276B (en) | The hold-up interception method of pop-up, device and system in a kind of browser | |
CN104424211B (en) | A kind of dissemination method of the business datum based on microblogging, device and system | |
CN104104711B (en) | Reading histories treating method and apparatus | |
CN106453597B (en) | The method of adjustment of data synchronizing cycles, apparatus and system | |
CN104869465A (en) | Video playing control method and device | |
CN105992026A (en) | Method and device for displaying barrage comment information | |
CN104253870B (en) | The method and apparatus of control data access cycle | |
CN107786424A (en) | Audio/video communication method, terminal and server | |
CN109857297A (en) | Information processing method and terminal device | |
US10298590B2 (en) | Application-based service providing method, apparatus, and system | |
CN105739839B (en) | The selection method and device of multimedia menu item |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230626 Address after: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |