CN104901983A - Information synthesizing method, device and system - Google Patents
Information synthesizing method, device and system Download PDFInfo
- Publication number
- CN104901983A CN104901983A CN201410079492.8A CN201410079492A CN104901983A CN 104901983 A CN104901983 A CN 104901983A CN 201410079492 A CN201410079492 A CN 201410079492A CN 104901983 A CN104901983 A CN 104901983A
- Authority
- CN
- China
- Prior art keywords
- information
- message identification
- server
- memory block
- terminal
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses an information synthesizing method, device and system. The method can comprise the following steps that: a terminal transmits a recovery request carrying an information identifier to a server; the server searches for information corresponding to the information identifier from a storage area and/or a preset backup area, wherein the storage area is used for storing information which is stored synchronously by the server and the terminal, and the preset backup area is used for storing information which is deleted synchronously by the server and the terminal and is removed from the storage area; the server transmits the searched information corresponding to the information identifier to the terminal; and the terminal receives the information corresponding to the information identifier, and recovers the information corresponding to the information identifier. Through adoption of the method provided by the embodiment of the invention, the storage of the information of the terminal and the server is kept consistent, and the recoverability of information is enhanced.
Description
Technical field
The present invention relates to computer realm, particularly relate to a kind of information synchronization method, Apparatus and system.
Background technology
In prior art, can back up information such as the personal informations of such as account address list, account mailings, account application, terminal can be backuped to, also can during backed up in synchronization store to cloud, information back-up can comprise two kinds of scenes: one-sided synchronous and bi-directional synchronization, wherein, by synchronizing information back-up storage in cloud memory block, if the information backed up in deletion terminal, this information stored in asynchronous deletion cloud memory block, belongs to one-sided synchronization scenarios; By synchronizing information back-up storage in cloud memory block, if delete the information backed up in terminal, this information stored in synchronization removal cloud memory block, belongs to bi-directional synchronization scene.
In prior art, when information is recovered, there is the situation that between server and terminal, information is inconsistent, reduce the restorability of effective information, such as, for one-sided synchronization scenarios, if during by the Information recovering in cloud memory block to terminal, then by deleted for terminal Information recovering in terminal, and deleted information is not efficient message, causes the redundancy of data; If account deletes the information backed up in terminal by mistake, when carrying out synchronous with cloud memory block, also this information stored in synchronization removal cloud memory block, then all delete this information in terminal and cloud memory block, prior art cannot be recovered the information that account is deleted by mistake, the information of by mistake deleting belongs to effective information, cannot recover in prior art to effective information.
Summary of the invention
The embodiment of the present invention provides a kind of information synchronization method, Apparatus and system, can solve when recovering information in prior art, occur the technical problem of the situation that information is inconsistent between server and terminal.
First aspect present invention provides a kind of information synchronization method, can comprise:
Terminal to server sends the recovery request of carry information mark;
Described server searches information corresponding to described message identification from memory block and/or default backup area, the information that described memory block stores for storing described server and described terminal synchronizes, when described default backup area is deleted for storing described server and described terminal synchronizes, from the information that described memory block removes;
The information that the described message identification found described in described server sends to described terminal is corresponding;
Described terminal receives information corresponding to described message identification, and the information corresponding to described message identification is recovered.
In the first possibility implementation of first aspect, the information that described server searches described message identification corresponding from memory block and/or default backup area comprises:
Described server obtains the wheel synchronization type of described information, searches information corresponding to described message identification according to described wheel synchronization type from described default backup area or described memory block.
In the second possibility implementation of first aspect, the information that described server searches described message identification corresponding from memory block and/or default backup area comprises:
Described server is searched at described default backup area, if there is information corresponding to described message identification in described default backup area, information corresponding for described message identification is moved to described memory block from described default backup area, if described default backup area does not exist information corresponding to described message identification, search information corresponding to described message identification in described memory block; Or
Described server is searched in described memory block, if there is not information corresponding to described message identification in described memory block, search information corresponding to described message identification at described default backup area, and information corresponding for described message identification is moved to described memory block from described default backup area.
In conjunction with first aspect, first aspect the first may implementation, first aspect the second may in implementation any one, may in implementation at the third of first aspect, described method also comprises:
When described terminal receives the delete instruction to described information, according to described delete instruction, described information is deleted;
Described terminal sends the synchronization removal request of carrying the message identification of described information to described server;
Information corresponding for described message identification is moved to described default backup area from described memory block by described server.
In the 4th kind of possibility implementation of first aspect, described method also comprises:
When described server receives the overall situation reduction request that described terminal sends, described server obtains the information that stores in described memory block and sends to described terminal.
Second aspect present invention provides another kind of information synchronization method, can comprise:
Terminal demonstration presupposed information delete list, described presupposed information delete list comprises the index list item of the information of server and/or described terminal deletion;
When described terminal receives the recovery instruction of account to the index list item of the information in described presupposed information delete list, obtain the message identification that described recovery instruction is corresponding;
Described terminal sends the recovery request of carrying described message identification to described server, to make described whois lookup to information corresponding to described message identification, and information corresponding for described message identification is sent to described terminal;
Described terminal receives information corresponding to described message identification that described server sends, and the information corresponding to described message identification is recovered.
Third aspect present invention provides another information synchronization method, can comprise:
The recovery request of the carry information mark that server receiving terminal sends;
Described server searches information corresponding to described message identification from memory block and default backup area, the information that described memory block stores for storing described server and described terminal synchronizes, when described default backup area is deleted for storing described server and described terminal synchronizes, from the information that described memory block removes;
The information that the described message identification found described in described server sends to described terminal is corresponding, recovers with the information making described terminal corresponding to described message identification.
Fourth aspect present invention provides a kind of synchronizing information device, can comprise:
Display module, acquisition module, sending module, receiver module and recovery module;
Described display module, for showing presupposed information delete list, described presupposed information delete list comprises the index list item of the information of server and/or terminal deletion;
Described acquisition module, during for receiving the recovery instruction of account to the index list item of the information in described presupposed information delete list at described receiver module, obtains the message identification that described recovery instruction is corresponding;
Described sending module, for sending the recovery request of carrying described message identification to described server, to make described whois lookup to information corresponding to described message identification, and sends to described terminal by information corresponding for described message identification;
Described receiver module, the information that the described message identification for receiving the transmission of described server is corresponding;
Described recovery module, recovers for the information corresponding to described message identification.
Fifth aspect present invention provides a kind of terminal, can comprise: the device as described in above-mentioned fourth aspect.
Sixth aspect present invention provides a kind of synchronizing information device, can comprise:
Receiver module, search module and sending module;
Described receiver module, for the recovery request of the carry information mark that receiving terminal sends;
Describedly search module, for searching information corresponding to described message identification from memory block and/or default backup area, the information that described memory block stores for storage server and described terminal synchronizes, when described default backup area is deleted for storing described server and described terminal synchronizes, from the information that described memory block removes;
Described sending module, the information that the described message identification for finding described in sending to described terminal is corresponding, recovers with the information making described terminal corresponding to described message identification.
Seventh aspect present invention provides a kind of server, can comprise: the device as described in above-mentioned 6th aspect.
Eighth aspect present invention provides a kind of information synchronization system, can comprise: the terminal provided as above-mentioned 6th aspect and the server provided as above-mentioned 7th aspect.
Implement the embodiment of the present invention, there is following beneficial effect:
The embodiment of the present invention is passed through Servers installed memory block and default backup area, when user deletes data, data are removed to default backup area from memory block, thus on the one hand when user needs to recover some synchrodata deleted, from default backup area, date restoring is returned terminal to memory block; And when user needs to recover global data, only need to recover whole user data from memory block and can not cause recovering some and delete data.
The embodiment of the present invention, can make the storage of the information of terminal and server keep consistency, and recovers, avoid the situation of data redundancy during date restoring simultaneously, improve the restorability of information the information that account is deleted by mistake.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of information synchronization method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of information synchronization method that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of another information synchronization method that the embodiment of the present invention provides;
Fig. 4 is the display interface schematic diagram of the information that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of synchronizing information device that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of synchronizing information device that the embodiment of the present invention provides;
Fig. 7 is the schematic diagram of a kind of information synchronization system that the embodiment of the present invention provides;
Fig. 8 is the schematic diagram of the another kind of information synchronization system that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In embodiments of the present invention, a kind of synchronizing information device can be: the terminals such as PC, panel computer, smart mobile phone, also can be realized by the client modules in terminal, such as: file-sharing sync client, mail synchronization client, contact person's sync client, instant communication client etc.A kind of synchronizing information device can be: server, and this server can be used for the information that storage server and terminal synchronizes store, and also can be used for the information that storage server and terminal synchronizes are deleted.
Information in the embodiment of the present invention can comprise: the personal information etc. of the associated person information in account address list, account mailings, account application can be used for backuping to the information in terminal and cloud memory block, specifically not by the restriction of the embodiment of the present invention.
The information synchronization method that the embodiment of the present invention provides can be applied to the scene recovered the information of deleting by mistake, such as: account deletes the information stored in client by mistake, server with client synchronization, namely this information of storing of server and terminal synchronizes is also deleted, embodiment of the present invention server can find from default backup area the information that server and terminal synchronizes delete, thus recovers the information of deleting by mistake; Account deletes the information stored in client by mistake, server not with client synchronization, namely this information of storing of server and terminal synchronizes is not deleted, and embodiment of the present invention server can find this information from memory block, thus recovers the information of deleting by mistake.
Further alternative, in prior art, for one-sided synchronization scenarios, when the contact details of the contact person in cloud memory block are returned to terminal, then by the Information recovering of deleted for terminal contact person in terminal, cause the redundancy of data.And the embodiment of the present invention, for in one-sided synchronization scenarios, for the deleted information of terminal, the wheel synchronization type of information is updated to: non-wheel synchronization type, and server according to reducing to ask to return wheel synchronization type to terminal is: the information of wheel synchronization type, thus in realization to wheel synchronization type be: the information of wheel synchronization type is reduced, and the storage of the information of terminal and server can be made to keep consistency, and avoids the generation of the situation of data redundancy during date restoring under one-sided synchronization scenarios.
As the optional execution mode of one, the memory block in the embodiment of the present invention and default backup area can be located between the different memory areas in same server, also can be divided in two servers, specifically not by the restriction of the embodiment of the present invention.
Below in conjunction with accompanying drawing 1 ~ accompanying drawing 4, the information synchronization method that the embodiment of the present invention provides is described in detail.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of information synchronization method, the method can comprise the following steps: S101 ~ S104.
S101, terminal to server sends the recovery request of carry information mark.
As the optional execution mode of one, before step S101, terminal also can show presupposed information delete list, wherein, presupposed information delete list comprises the index list item of the information of server and/or terminal deletion, and terminal receives the recovery instruction of account to the index list item of the information in presupposed information delete list, by this recovery instruction determination recovery request, wherein, recovery request carry information identifies, and terminal to server sends the recovery request of carry information mark.In specific implementation, message identification can be the ID(Identity of this contact person generated by terminal when creating contact person, identify label number), such as can be made up of sequence code.
S102, server searches information corresponding to message identification from memory block and/or default backup area.Wherein, the information that memory block stores for storage server and terminal synchronizes, presets backup area and deletes for storage server and terminal synchronizes, the information removed from memory block.
As the optional execution mode of one, server can search information corresponding to message identification from memory block and/or default backup area after receiving the recovery request of the carry information mark that terminal sends.
Wherein, memory block is used for the information that storage server and terminal synchronizes store.Concrete, when terminal receives the storage instruction of account to information, according to this storage instruction, this information is stored, and generate the message identification of this information, terminal to server sends the stores synchronized request of carrying the message identification of this information, then server sync stores this information, is stored in memory block by this synchronizing information.
Wherein, the information that backup area is deleted for storage server and terminal synchronizes is preset.Concrete, when terminal receives the delete instruction to information, delete information according to delete instruction, terminal to server sends the synchronization removal request of the message identification of carry information, and information corresponding for message identification is moved to default backup area from memory block by server.Thus the memory block of server and terminal synchronizes delete this information, and this information of synchronization removal is stored in default backup area.
In specific implementation, server is searched information corresponding to message identification from memory block and/or default backup area and specifically can be comprised:
The wheel synchronization type of server obtaining information, searches information corresponding to message identification according to wheel synchronization type from default backup area or memory block.
In specific implementation, the wheel synchronization type of information can comprise: wheel synchronization type or non-wheel synchronization type, server can the wheel synchronization type of information corresponding to comformed information mark, if the wheel synchronization type of the information that comformed information mark is corresponding is: wheel synchronization type, server searches information corresponding to message identification from default backup area; If the wheel synchronization type of the information that comformed information mark is corresponding is: non-wheel synchronization type, server searches information corresponding to message identification from memory block.
Concrete, the wheel synchronization type of information can comprise: wheel synchronization type or non-wheel synchronization type, wheel synchronization type can comprise: terminal with server sync, for the deleted information of terminal, memory block in server also this information of synchronization removal, this information is present in the default backup area of server; Non-wheel synchronization type can comprise: terminal not with server sync, for the deleted information of terminal, this information of non-synchronization removal of the memory block in server, this information is present in the memory block of server, and the default backup area of server does not exist this information.In the embodiment of the present invention, if can be for the wheel synchronization type of the information of comformed information mark correspondence: wheel synchronization type, then server determines that this information is present in default backup area, then server searches information corresponding to message identification from default backup area.In the embodiment of the present invention, if can also be for the wheel synchronization type of the information of comformed information mark correspondence: non-wheel synchronization type, then server determines that this information is present in memory block, and server searches information corresponding to message identification from memory block.
Further alternative, server is searched information corresponding to message identification from memory block and/or default backup area and specifically can also be comprised:
Server is searched at default backup area, if preset backup area to there is information corresponding to message identification, information corresponding for message identification is moved to memory block from default backup area, if preset backup area there is not information corresponding to message identification, searches the information that message identification is corresponding in memory block; Or
Server is searched in memory block, if there is information corresponding to message identification in memory block, the information that message identification is corresponding is searched in memory block, if there is not information corresponding to message identification in memory block, search information corresponding to message identification at default backup area, and information corresponding for message identification is moved to memory block from default backup area.
Concrete, server can travel through default backup area or memory block, searches the information that message identification is corresponding.
Can first search at default backup area, server determines that default backup area exists information corresponding to message identification, information corresponding to this message identification is searched at default backup area, and information corresponding for message identification is moved to memory block from default backup area, the information corresponding by message identification is deleted from default backup area, and adds in memory block.If server determines that default backup area does not exist information corresponding to message identification, search the information that message identification is corresponding in memory block.Further, the also wheel synchronization type of the information that this message identification renewable is corresponding, wherein, the wheel synchronization type of the information that message identification is corresponding can comprise: wheel synchronization type or non-wheel synchronization type.If server determines that default backup area does not exist information corresponding to message identification, after information corresponding to message identification is searched in memory block, the state information of information corresponding for this information is updated to wheel synchronization type by non-wheel synchronization type.
Can first search in memory block, server determines that memory block exists information corresponding to message identification, information corresponding to this message identification is searched in storage, further, the also wheel synchronization type of the information that this message identification renewable is corresponding, wherein, the wheel synchronization type of the information that message identification is corresponding can comprise: wheel synchronization type or non-wheel synchronization type.If the state information of information corresponding for this information, after information corresponding to message identification is searched in memory block, is updated to wheel synchronization type by non-wheel synchronization type by server.If memory block does not exist information corresponding to message identification, search information corresponding to message identification at default backup area, and information corresponding for message identification is moved to memory block from default backup area.
S103, server sends information corresponding to the message identification that finds to terminal.
S104, terminal receives information corresponding to message identification, and the information corresponding to message identification is recovered.
As the optional execution mode of one, the information that the message identification that terminal reception server sends is corresponding, and the information corresponding to this message identification is recovered.Further, such as, when the associated person information in address list is recovered, associated person information corresponding for this message identification can be shown, and add in the address list of terminal.
Further alternative, the method for the embodiment of the present invention can also comprise:
When server receives the overall situation reduction request of terminal transmission, server obtains the information stored in memory block and also sends to terminal.
In specific implementation, for the scene of bi-directional synchronization, server is when receiving the overall situation reduction request that terminal sends, the information stored in server acquisition memory block also sends to terminal, default backup area is stored into for the deleted information of account, without the deleted information of account in memory block, therefore, according to overall situation reduction request, the information in memory block is all sent to terminal and carries out overall situation reduction, without the deleted redundant data of account.
Further alternative, for one-sided synchronous scene, wherein, the wheel synchronization type of information comprises: wheel synchronization type or non-wheel synchronization type, concrete, before receiving the overall situation reduction request of terminal transmission, can also comprise step at server:
When terminal receives the delete instruction to information, according to delete instruction, information is deleted;
Terminal to server sends the synchronization removal request of the message identification of carry information;
The wheel synchronization type of information corresponding for message identification in memory block, according to synchronization removal request, is updated to by server: non-wheel synchronization type;
When server receives the overall situation reduction request of terminal transmission, server sends wheel synchronization type to terminal and is: the information of wheel synchronization type;
Terminal to wheel synchronization type is: the information of wheel synchronization type is reduced.
In specific implementation, in one-sided synchronization scenarios, by synchronizing information back-up storage in cloud memory block, if delete the information backed up in terminal, this information stored in asynchronous deletion cloud memory block.Terminal can be deleted information according to delete instruction, and send synchronization removal request to server, server can according to the wheel synchronization type of synchronization removal request lastest imformation, concrete, the wheel synchronization type of information corresponding for this message identification is updated to: non-wheel synchronization type, thus when receiving the overall situation reduction request that terminal sends, server sends wheel synchronization type to terminal: the information of wheel synchronization type, can not be to wheel synchronization type then: the information of non-wheel synchronization type is reduced, thus to avoid in prior art in one-sided synchronization scenarios, during by the Information recovering in cloud memory block to terminal, by deleted for terminal Information recovering in terminal, cause the situation of the redundancy of data.
The embodiment of the present invention provides a kind of information synchronization method, terminal can send the recovery request of carry information mark to server, server can search information corresponding to message identification from memory block and/or default backup area, and send this information to terminal, thus terminal can be recovered this information, wherein, the information that memory block stores for storage server and terminal synchronizes, preset backup area to delete for storage server and terminal synchronizes, the information removed from memory block, when can avoid recovering information in prior art, the situation that between the server occurred and terminal, information is inconsistent, for one-sided synchronization scenarios, can avoid the Information recovering in cloud memory block to data redundancy situation during terminal, for bi-directional synchronization scene, situation about cannot recover the information of deleting by mistake can be avoided.Adopt the embodiment of the present invention, the storage of the information of terminal and server can be made to keep consistency, for bi-directional synchronization scene, the information that account is deleted by mistake can be recovered, for one-sided synchronization scenarios, avoid the situation of data redundancy during date restoring, improve the restorability of information.
Refer to Fig. 2, for embodiments providing the schematic flow sheet of another kind of information synchronization method.The present embodiment sets forth the idiographic flow of information synchronization method from end side, and the method can comprise the following steps: S201 ~ S204.
S201, terminal demonstration presupposed information delete list, presupposed information delete list comprises the index list item of the information of server and/or terminal deletion.
As the optional execution mode of one, terminal can show presupposed information delete list, and wherein, presupposed information delete list can comprise the index list item of the information of server and/or terminal deletion.See Fig. 4, it is the display interface schematic diagram of the information that the embodiment of the present invention provides, what this display interface was concrete can be terminal: enter the display page after recycle bin after handset starting contact person sync client, region 401 shows presupposed information delete list, presupposed information delete list in region 401 comprises the index list item of multiple information: contact person 1, contact person 2 ... contact person N, N be greater than 0 positive integer, wherein, index list item can be name of contact person, this information is the information of server and/or terminal deletion, can think that terminal has been deleted and the not deleted information of server, also can delete and the deleted information of server for terminal.
S202, when terminal receives the recovery instruction of account to the index list item of the information in presupposed information delete list, obtains and recovers message identification corresponding to instruction.
As the optional execution mode of one, terminal receives account to the recovery instruction of the index list item of the information in presupposed information delete list, and obtains message identification corresponding to recovery instruction.As shown in Figure 4, account carries out touch control operation to the region 402 that region 401 shows in presupposed information delete list, then terminal receives recovery instruction corresponding to this touch control operation, the information of region 402 corresponding relationship people 1, the message identification of contact person 1 is M0, and terminal gets message identification M0.
S203, terminal to server sends the recovery request of carry information mark, to make whois lookup to information corresponding to message identification, and information corresponding for message identification is sent to terminal.
S204, the information that the message identification that terminal reception server sends is corresponding, and the information corresponding to message identification is recovered.
As the optional execution mode of one, the information that the message identification that terminal reception server sends is corresponding, and the information corresponding to message identification is recovered, as shown in Figure 4, display page in region 403 is the information that terminal receives the contact person 1 that server sends, to the display page that the information of contact person 1 is recovered.
Further alternative, the information synchronization method that the embodiment of the present invention provides, after step S303, can also comprise step:
The index list item of information corresponding for message identification in presupposed information delete list is deleted by terminal.
In specific implementation, the index list item of information corresponding for message identification in presupposed information delete list is deleted after continuing to recover to information corresponding to message identification by terminal.
Further alternative, the information synchronization method that the embodiment of the present invention provides can also comprise step:
When terminal receives the delete instruction of information, according to delete instruction, information is deleted;
Terminal to server sends the synchronization removal request of the message identification of carry information, to make server, information corresponding for message identification is moved to default backup area from memory block; The information that memory block stores for storage server and terminal synchronizes, presets the information that backup area is deleted for storage server and terminal synchronizes.
In specific implementation, above-mentioned steps can perform before step S201 or after S201.Concrete, when terminal receives the delete instruction to information, delete information according to delete instruction, terminal to server sends the synchronization removal request of the message identification of carry information, and information corresponding for message identification is moved to default backup area from memory block by server.Thus the memory block of server and terminal synchronizes delete this information, and this information of synchronization removal is stored in default backup area by server.
Further alternative, the information synchronization method that the embodiment of the present invention provides can also comprise step:
Terminal to server sends overall situation reduction request;
Terminal reception server asks the information obtained from memory block according to overall situation reduction.
In specific implementation, for the scene of bi-directional synchronization, terminal to server sends overall situation reduction request, server is according to the information that stores in overall situation reduction acquisition request memory block and send to terminal, default backup area is stored into for the deleted information of account, without the deleted information of account in memory block, therefore, according to overall situation reduction request, the information in memory block is all sent to terminal and carries out overall situation reduction, without the deleted redundant data of account.
Further alternative, for one-sided synchronous scene, wherein, the wheel synchronization type of information comprises: wheel synchronization type or non-wheel synchronization type, concrete, when terminal receives the delete instruction to information, deletes information according to delete instruction; Terminal to server sends the synchronization removal request of the message identification of carry information, to make server according to synchronization removal request, the wheel synchronization type of information corresponding for message identification is updated to: non-wheel synchronization type; When terminal to server sends overall situation reduction request, returning wheel synchronization type to make server is: the information of wheel synchronization type; Terminal to wheel synchronization type is: the information of wheel synchronization type is reduced.
In specific implementation, in one-sided synchronization scenarios, by synchronizing information back-up storage in cloud memory block, if delete the information backed up in terminal, this information stored in asynchronous deletion cloud memory block.Terminal is when terminal receives the delete instruction to described information, according to delete instruction, described information is deleted, and send synchronization removal request to server, to make server according to the wheel synchronization type of synchronization removal request lastest imformation, concrete, the wheel synchronization type of information corresponding for this message identification can be updated to by server: non-wheel synchronization type, terminal can send overall situation reduction request to server, terminal can ask the wheel synchronization type that returns to be according to reduction by reception server: the information of wheel synchronization type, the wheel synchronization type that terminal is right is: the information of wheel synchronization type is reduced, can not be to wheel synchronization type: the information of non-wheel synchronization type is reduced, thus to avoid in prior art in one-sided synchronization scenarios, during by the Information recovering in cloud memory block to terminal, by deleted for terminal Information recovering in terminal, cause the situation of the redundancy of data.
The embodiment of the present invention provides a kind of information synchronization method, terminal can show presupposed information delete list, wherein, presupposed information delete list comprises the index list item of the information of server and/or terminal deletion, when receiving the recovery instruction of account to the index list item of the information in presupposed information delete list, can obtain and recover message identification corresponding to instruction, the recovery request of carry information mark can be sent to server, thus information corresponding to message identification can be got from server, and the information corresponding to message identification is recovered, the storage of the information of terminal and server is kept consistency, for bi-directional synchronization scene, the information that account is deleted by mistake can be recovered, for one-sided synchronization scenarios, avoid the situation of data redundancy during date restoring, improve the restorability of information, terminal can show presupposed information delete list, user can consult deleted information by presupposed information delete list, and can operate in presupposed information delete list, be convenient to recover deleted information, improve the simple operation to information.
Refer to Fig. 3, for embodiments providing the schematic flow sheet of another information synchronization method.The present embodiment sets forth the idiographic flow of information synchronization method from server side, and the method can comprise the following steps: S301 ~ S303.
S301, the recovery request of the carry information mark that server receiving terminal sends.
S302, server searches information corresponding to message identification from memory block and/or default backup area, the information that memory block stores for storage server and terminal synchronizes, presets backup area and deletes for storage server and terminal synchronizes, the information removed from memory block.
As the optional execution mode of one, server searches information corresponding to message identification from memory block and default backup area after receiving the recovery request of the carry information mark that terminal sends.
Wherein, memory block is used for the information that storage server and terminal synchronizes store.Concrete, when terminal receives the storage instruction of account to information, according to this storage instruction, this information is stored, and generate the message identification of this information, terminal to server sends the stores synchronized request of carrying the message identification of this information, then server sync stores this information, is stored in memory block by this synchronizing information.
Wherein, the information that backup area is deleted for storage server and terminal synchronizes is preset.Concrete, when terminal receives the delete instruction to information, delete information according to delete instruction, terminal to server sends the synchronization removal request of the message identification of carry information, and information corresponding for message identification is moved to default backup area from memory block by server.Thus the memory block of server and terminal synchronizes delete this information, and this information of synchronization removal is stored in default backup area.
In specific implementation, server is searched information corresponding to message identification from memory block and/or default backup area and specifically can be comprised:
The wheel synchronization type of server obtaining information, searches information corresponding to message identification according to wheel synchronization type from default backup area or memory block.
In specific implementation, the wheel synchronization type of information can comprise: wheel synchronization type or non-wheel synchronization type, server can the wheel synchronization type of information corresponding to comformed information mark, if the wheel synchronization type of the information that comformed information mark is corresponding is: wheel synchronization type, server searches information corresponding to message identification from default backup area; If the wheel synchronization type of the information that comformed information mark is corresponding is: non-wheel synchronization type, server searches information corresponding to message identification from memory block.
Server is searched information corresponding to message identification from memory block and/or default backup area and specifically can also be comprised:
Server is searched at default backup area, if preset backup area to there is information corresponding to message identification, information corresponding for message identification is moved to memory block from default backup area, if preset backup area there is not information corresponding to message identification, searches the information that message identification is corresponding in memory block; Or
Server is searched in memory block, if there is information corresponding to message identification in memory block, the information that message identification is corresponding is searched in memory block, if there is not information corresponding to message identification in memory block, search information corresponding to message identification at default backup area, and information corresponding for message identification is moved to memory block from default backup area.
S303, server sends information corresponding to the message identification that finds to terminal, recovers with the information making terminal corresponding to message identification.
Further alternative, the method for the embodiment of the present invention can also comprise: when server receives the overall situation reduction request of terminal transmission, server obtains the information stored in memory block and also sends to terminal.
In specific implementation, for the scene of bi-directional synchronization, server is when receiving the overall situation reduction request that terminal sends, the information stored in server acquisition memory block also sends to terminal, default backup area is stored into for the deleted information of account, without the deleted information of account in memory block, therefore, according to overall situation reduction request, the information in memory block is all sent to terminal and carries out overall situation reduction, without the deleted redundant data of account.
Further alternative, for one-sided synchronous scene, wherein, the wheel synchronization type of information comprises: wheel synchronization type or non-wheel synchronization type, concrete, before receiving the overall situation reduction request of terminal transmission, can also comprise step at server:
The synchronization removal request of the message identification of the carry information that server receiving terminal sends;
The wheel synchronization type of information corresponding for message identification, according to synchronization removal request, is updated to by server: non-wheel synchronization type;
When server receives the overall situation reduction request of terminal transmission, server sends wheel synchronization type to terminal and is: the information of wheel synchronization type, to make terminal to wheel synchronization type is: the information of wheel synchronization type is reduced.
In specific implementation, in one-sided synchronization scenarios, by synchronizing information back-up storage in cloud memory block, if delete the information backed up in terminal, this information stored in asynchronous deletion cloud memory block.Terminal can be deleted information according to delete instruction, and send synchronization removal request to server, server can according to the wheel synchronization type of synchronization removal request lastest imformation, concrete, the wheel synchronization type of information corresponding for this message identification is updated to: non-wheel synchronization type, thus when receiving the overall situation reduction request that terminal sends, server sends wheel synchronization type to terminal: the information of wheel synchronization type, can not be to wheel synchronization type then: the information of non-wheel synchronization type is reduced, thus to avoid in prior art in one-sided synchronization scenarios, during by the Information recovering in cloud memory block to terminal, by deleted for terminal Information recovering in terminal, cause the situation of the redundancy of data.
The embodiment of the present invention provides a kind of information synchronization method, server can receiving terminal send transmission carry information mark recovery request, can by the wheel synchronization type of information corresponding to message identification, information corresponding to message identification is searched from memory block and/or default backup area, and send this information to terminal, can recover this information to make terminal, wherein, the information that memory block stores for storage server and terminal synchronizes, preset backup area to delete for storage server and terminal synchronizes, the information removed from memory block, when can avoid recovering information in prior art, the situation that between the server occurred and terminal, information is inconsistent, for one-sided synchronization scenarios, can avoid the Information recovering in cloud memory block to data redundancy situation during terminal, for bi-directional synchronization scene, situation about cannot recover the information of deleting by mistake can be avoided.Adopt the embodiment of the present invention, the storage of the information of terminal and server can be made to keep consistency, the information that account is deleted by mistake can be recovered, improve the restorability of information.
Below in conjunction with accompanying drawing 5 and accompanying drawing 6, the synchronizing information device that the embodiment of the present invention provides is described in detail.It should be noted that, device shown in accompanying drawing 5 and accompanying drawing 6, be respectively used to perform Fig. 2 of the present invention and method embodiment illustrated in fig. 3, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 2 and Fig. 3 of the present invention.
Refer to Fig. 5, for embodiments providing a kind of structural representation of synchronizing information device.As shown in Figure 5, the synchronizing information device of the embodiment of the present invention can comprise: display module 501, acquisition module 502, sending module 503, receiver module 504 and recovery module 505.
Display module 501, for showing presupposed information delete list, presupposed information delete list comprises the index list item of the information of server and/or terminal deletion.
As the optional execution mode of one, display module 501 can show presupposed information delete list, and wherein, presupposed information delete list can comprise the index list item of the information of server and/or terminal deletion.See Fig. 4, it is the display interface schematic diagram of the information that the embodiment of the present invention provides, what this display interface was concrete can be terminal: enter the display page after recycle bin after handset starting contact person sync client, region 401 shows presupposed information delete list, presupposed information delete list in region 401 comprises the index list item of multiple information: contact person 1, contact person 2 ... contact person N, N be greater than 0 positive integer, wherein, index list item can be name of contact person, this information is the information of server and/or terminal deletion, can think that terminal has been deleted and the not deleted information of server, also can delete and the deleted information of server for terminal.
Acquisition module 502, during for receiving the recovery instruction of account to the index list item of the information in presupposed information delete list at receiver module 504, obtains and recovers message identification corresponding to instruction.
As the optional execution mode of one, receiver module 504 receives the recovery instruction of account to the index list item of the information in presupposed information delete list, and acquisition module 502 obtains and recovers message identification corresponding to instruction.In specific implementation, message identification can be the ID of this contact person generated by terminal when creating contact person, such as, can be made up of sequence code.As shown in Figure 4, account carries out touch control operation to the region 402 that region 401 shows in presupposed information delete list, then terminal receives recovery instruction corresponding to this touch control operation, the information of region 402 corresponding relationship people 1, the message identification of contact person 1 is M0, and terminal gets message identification M0.
Sending module 503, for sending the recovery request of carry information mark to server, to make whois lookup to information corresponding to message identification, and sends to terminal by information corresponding for message identification.
Receiver module 504, the information that the message identification for reception server transmission is corresponding.
Recover module 505, recover for the information corresponding to message identification.
As the optional execution mode of one, the information recovering module 505 pairs of message identifications corresponding is recovered, as shown in Figure 4, the display page in region 403 is the information that terminal receives the contact person 1 that server sends, to the display page that the information of contact person 1 is recovered.
Further alternative, the synchronizing information device that the embodiment of the present invention provides can also comprise: removing module 506.
Removing module 506, for when receiver module 504 receives the delete instruction of information, deletes information according to delete instruction.
Sending module 503, also for sending the synchronization removal request of the message identification of carry information to server, moves to default backup area by information corresponding for message identification from memory block to make server; The information that memory block stores for storage server and terminal synchronizes, presets the information that backup area is deleted for storage server and terminal synchronizes.
In specific implementation, when receiver module 504 receives the delete instruction to information, removing module 506 is deleted information according to delete instruction, sending module 503 sends the synchronization removal request of the message identification of carry information to server, information corresponding for message identification is moved to default backup area from memory block by server.Thus the memory block of server and terminal synchronizes delete this information, and this information of synchronization removal is stored in default backup area by server.
Further alternative, removing module 506 also for: the index list item of information corresponding for message identification in presupposed information delete list is deleted.
In specific implementation, after terminal continues to recover to information corresponding to message identification, removing module 506 is also for deleting the index list item of information corresponding for message identification in presupposed information delete list.
Further alternative, sending module 503, also for sending overall situation reduction request to server;
Receiver module 504, asks the information obtained from memory block according to overall situation reduction for reception server.
In specific implementation, in specific implementation, for the scene of bi-directional synchronization, terminal to server sends overall situation reduction request, and server is according to the information that stores in overall situation reduction acquisition request memory block and send to terminal, has been stored into default backup area for the deleted information of account, without the deleted information of account in memory block, therefore, according to overall situation reduction request, the information in memory block is all sent to terminal and carries out overall situation reduction, without the deleted redundant data of account.
Further alternative, for one-sided synchronous scene, wherein, the wheel synchronization type of information comprises: wheel synchronization type or non-wheel synchronization type, concrete, when receiving the delete instruction to information, deletes described information according to delete instruction; Send the synchronization removal request of the message identification of carry information to server, to make server according to synchronization removal request, the wheel synchronization type of information corresponding for message identification is updated to: non-wheel synchronization type; When sending reduction request to server, returning wheel synchronization type to make server is: the information of wheel synchronization type; To wheel synchronization type be: the information of wheel synchronization type is reduced.
In specific implementation, in one-sided synchronization scenarios, by synchronizing information back-up storage in cloud memory block, if delete the information backed up in terminal, this information stored in asynchronous deletion cloud memory block.Terminal is when terminal receives the delete instruction to described information, according to delete instruction, described information is deleted, and send synchronization removal request to server, to make server according to the wheel synchronization type of synchronization removal request lastest imformation, concrete, the wheel synchronization type of information corresponding for this message identification can be updated to by server: non-wheel synchronization type, terminal can send overall situation reduction request to server, terminal can ask the wheel synchronization type that returns to be according to reduction by reception server: the information of wheel synchronization type, the wheel synchronization type that terminal is right is: the information of wheel synchronization type is reduced, can not be to wheel synchronization type: the information of non-wheel synchronization type is reduced, thus to avoid in prior art in one-sided synchronization scenarios, during by the Information recovering in cloud memory block to terminal, by deleted for terminal Information recovering in terminal, cause the situation of the redundancy of data.
The embodiment of the present invention provides a kind of synchronizing information device, display module can show presupposed information delete list, wherein, presupposed information delete list comprises the index list item of the information of server and/or terminal deletion, when receiver module receives the recovery instruction of account to the index list item of the information in presupposed information delete list, acquisition module can obtain and recover message identification corresponding to instruction, sending module can send the recovery request of carry information mark to server, thus information corresponding to message identification can be got from server, the information recovering module corresponding to message identification is recovered, the storage of the information of terminal and server is kept consistency, for bi-directional synchronization scene, can recover for one-sided synchronization scenarios to the information that account is deleted by mistake, avoid the situation of data redundancy during date restoring, , improve the restorability of information, terminal can show presupposed information delete list, user can consult deleted information by presupposed information delete list, and can operate in presupposed information delete list, be convenient to recover deleted information, improve the simple operation to information.
The embodiment of the invention also discloses a kind of terminal, comprise the device shown in Fig. 5; The 26S Proteasome Structure and Function of this device can the associated description of embodiment shown in Figure 5, is not repeated herein.It should be noted that, the server of the present embodiment can be applicable in said method.
Refer to Fig. 6, for embodiments providing the structural representation of another kind of synchronizing information device.As shown in Figure 6, the synchronizing information device of the embodiment of the present invention can comprise: receiver module 601, search module 602 and sending module 603.
Receiver module 601, for the recovery request of the carry information mark that receiving terminal sends.
Search module 602, for searching information corresponding to message identification from memory block and/or default backup area, the information that memory block stores for storage server and terminal synchronizes, when default backup area is deleted for storage server and terminal synchronizes, the information removed from memory block.
As the optional execution mode of one, search module 602 and can search information corresponding to message identification from memory block and/or default backup area.
Wherein, memory block is used for the information that storage server and terminal synchronizes store.Concrete, when terminal receives the storage instruction of account to information, according to this storage instruction, this information is stored, and generate the message identification of this information, terminal to server sends the stores synchronized request of carrying the message identification of this information, then server sync stores this information, is stored in memory block by this synchronizing information.
Wherein, the information that backup area is deleted for storage server and terminal synchronizes is preset.
Further alternative, the recovery device of the information that the embodiment of the present invention provides can also comprise: mobile module 604.
Receiver module 601, the synchronization removal request that the carry information also sent for receiving terminal identifies;
Mobile module 604, for moving to default backup area by information corresponding for message identification from memory block.
Concrete, when terminal receives the delete instruction to information, according to delete instruction, information is deleted, terminal to server sends the synchronization removal request of the message identification of carry information, the synchronization removal request of the carry information mark that receiver module 601 receiving terminal sends, information corresponding for message identification is moved to default backup area from memory block by mobile module 604.Thus the memory block of server and terminal synchronizes delete this information, and this information of synchronization removal is stored in default backup area.
Further alternative, searching module 602 can comprise: acquiring unit and first searches unit.
Acquiring unit, for the wheel synchronization type of obtaining information;
First searches unit, for searching information corresponding to message identification according to wheel synchronization type from default backup area or memory block.
In specific implementation, the wheel synchronization type of information can comprise: wheel synchronization type or non-wheel synchronization type, server can the wheel synchronization type of information corresponding to comformed information mark, if the wheel synchronization type of the information that comformed information mark is corresponding is: wheel synchronization type, search information corresponding to message identification from default backup area.If the wheel synchronization type of the information that comformed information mark is corresponding is: non-wheel synchronization type, search the information that message identification is corresponding from memory block.
Concrete, the wheel synchronization type of information can comprise: wheel synchronization type or non-wheel synchronization type, wheel synchronization type can comprise: terminal with server sync, for the deleted information of terminal, memory block in server also this information of synchronization removal, this information is present in the default backup area of server; Non-wheel synchronization type can comprise: terminal not with server sync, for the deleted information of terminal, this information of non-synchronization removal of the memory block in server, this information is present in the memory block of server, and the default backup area of server does not exist this information.In the embodiment of the present invention, if can be for the wheel synchronization type of the information of comformed information mark correspondence: wheel synchronization type, then server determines that this information is present in default backup area, then server searches information corresponding to message identification from default backup area.In the embodiment of the present invention, if can also be for the wheel synchronization type of the information of comformed information mark correspondence: non-wheel synchronization type, then server determines that this information is present in memory block, and server searches information corresponding to message identification from memory block.
Further alternative, searching module 602 can comprise: second searches unit or the 3rd searches unit.
Second searches unit, for searching at default backup area, if preset backup area to there is information corresponding to message identification, information corresponding for message identification is moved to memory block from default backup area, if preset backup area there is not information corresponding to message identification, search the information that message identification is corresponding in memory block.
3rd searches unit, for searching in memory block, if there is information corresponding to described message identification in memory block, information corresponding to described message identification is searched in memory block, if there is not information corresponding to message identification in memory block, search information corresponding to message identification at default backup area, and information corresponding for message identification is moved to memory block from default backup area.
Concrete, search module 602 and can travel through default backup area or memory block, search the information that message identification is corresponding.
Concrete, can search at default backup area, server determines that default backup area exists information corresponding to message identification, then server with client synchronization, namely this information of storing of server and terminal synchronizes is also deleted, searches information corresponding to this message identification, and information corresponding for message identification is moved to memory block from default backup area at default backup area, the information corresponding by message identification is deleted from default backup area, and adds in memory block.If server determines that default backup area does not exist information corresponding to message identification, then server not with client synchronization, namely this information of storing of server and terminal synchronizes is not deleted, searches the information that message identification is corresponding in memory block.
Can search in memory block, server determines that memory block exists information corresponding to message identification, information corresponding to this message identification is searched in storage, if the state information of information corresponding for this information, after information corresponding to message identification is searched in memory block, is updated to wheel synchronization type by non-wheel synchronization type by server.If memory block does not exist information corresponding to message identification, search information corresponding to message identification at default backup area, and information corresponding for message identification is moved to memory block from default backup area.
Sending module 603, for sending information corresponding to the message identification that finds to terminal, recovers with the information making terminal corresponding to message identification.
Further alternative, the wheel synchronization type of the embodiment of the present invention also information that this message identification renewable is corresponding, wherein, the wheel synchronization type of the information that message identification is corresponding can comprise: synchronized update state or non-synchronized update state.If second searches unit, determine that default backup area does not exist information corresponding to message identification, after information corresponding to message identification is searched in memory block, the state information of information corresponding for this information is updated to wheel synchronization type by non-wheel synchronization type.If or the 3rd searches unit after information corresponding to message identification is searched in memory block, and the state information of information corresponding for this information is updated to wheel synchronization type by non-wheel synchronization type.
Further alternative, receiver module 601, also asks for the overall situation reduction that receiving terminal sends;
Search module 602, also for according to the information that stores in overall situation reduction acquisition request memory block;
Sending module 603, also for sending to terminal by searching the information stored in storage that module gets.
In specific implementation, for the scene of bi-directional synchronization, the overall situation reduction request of terminal transmission can be received at receiver module 601, search module 602 and obtain the information stored in memory block, information is sent to terminal by sending module 603, has been stored into default backup area for the deleted information of account, without the deleted information of account in memory block, therefore, according to overall situation reduction request, the information in memory block is all sent to terminal and carries out overall situation reduction, without the deleted redundant data of account.
Further alternative, for one-sided synchronous scene, wherein, the wheel synchronization type of information comprises: wheel synchronization type or non-wheel synchronization type, concrete, can the synchronization removal request of message identification of carry information that sends of receiving terminal, according to synchronization removal request, the wheel synchronization type of information corresponding for message identification is updated to: non-wheel synchronization type; Receiver module 601 receives the overall situation reduction request that terminal sends, and sending module 603 sends wheel synchronization type to terminal and is: the information of wheel synchronization type, to make terminal to wheel synchronization type is: the information of wheel synchronization type is reduced.
In specific implementation, in one-sided synchronization scenarios, by synchronizing information back-up storage in cloud memory block, if delete the information backed up in terminal, this information stored in asynchronous deletion cloud memory block.Terminal can be deleted information according to delete instruction, and send synchronization removal request to server, server can according to the wheel synchronization type of synchronization removal request lastest imformation, concrete, the wheel synchronization type of information corresponding for this message identification is updated to: non-wheel synchronization type, thus when receiving the reduction request that terminal sends, server sends wheel synchronization type to terminal: the information of wheel synchronization type, can not be to wheel synchronization type then: the information of non-wheel synchronization type is reduced, thus to avoid in prior art in one-sided synchronization scenarios, during by the Information recovering in cloud memory block to terminal, by deleted for terminal Information recovering in terminal, cause the situation of the redundancy of data.
The embodiment of the present invention provides a kind of synchronizing information device, receiver module can receiving terminal send transmission carry information mark recovery request, search module and can search information corresponding to message identification from memory block and/or default backup area, sending module can send this information to terminal, can recover this information to make terminal, wherein, the information that memory block stores for storage server and terminal synchronizes, preset backup area to delete for storage server and terminal synchronizes, the information removed from memory block, when can avoid recovering information in prior art, the situation that between the server occurred and terminal, information is inconsistent, for one-sided synchronization scenarios, can avoid the Information recovering in cloud memory block to data redundancy situation during terminal, for bi-directional synchronization scene, situation about cannot recover the information of deleting by mistake can be avoided.Adopt the embodiment of the present invention, the storage of the information of terminal and server can be made to keep consistency, the information that account is deleted by mistake can be recovered, improve the restorability of information.
The embodiment of the invention also discloses a kind of server, comprise the device shown in Fig. 6; The 26S Proteasome Structure and Function of this device can the associated description of embodiment shown in Figure 6, is not repeated herein.It should be noted that, the server of the present embodiment can be applicable in said method.
The embodiment of the invention also discloses a kind of recovery system of information, as shown in Figure 7, is the schematic diagram of a kind of information synchronization system that the embodiment of the present invention provides.As shown in Figure 7a, the information synchronization system that the embodiment of the present invention provides can comprise terminal 1N0 and server 20, wherein, and the device of terminal 1N0 as shown in Figure 5 in embodiment, the server of server 20 as shown in Figure 6 in embodiment.Concrete, a station server 20 may correspond at least one terminal: terminal 110, terminal 120 ... terminal 1N0, wherein, N be greater than 0 positive integer.It should be noted that, the information synchronization system of the present embodiment can be applied in said method.
Further alternative, as shown in Figure 7b, for the structural representation that the system shown in Fig. 7 a is corresponding, this information synchronization system can comprise terminal 10 and server 20, wherein, memory block 40 and default backup area 50 are located at the different partition holdings in server 20, and memory block 40 can be used for the information that storage server and terminal synchronizes store, default backup area 50 can be used for storage server and terminal synchronizes is deleted, from the information that memory block removes.Terminal 10 can comprise N number of terminal, wherein, N be greater than 0 positive integer.
As shown in Figure 8, be the schematic diagram of the another kind of information synchronization system that the embodiment of the present invention provides.As shown in Figure 8 a, the information synchronization system that the embodiment of the present invention provides can comprise terminal 1N0 ', server 20 ' and server 30, wherein, the device of terminal 1N0 ' as shown in Figure 5 in embodiment, server 20 ', server 30 server as shown in Figure 6 in embodiment.Wherein, N be greater than 0 positive integer.It should be noted that, the information synchronization system of the present embodiment can be applied in said method.
Further alternative, as shown in Figure 8 b, for the structural representation that the system shown in Fig. 8 a is corresponding, this information synchronization system can comprise terminal 10 ', server 20 ' and server 30, and wherein, memory block 40 ' is located in server 20 ', presetting backup area 50 ' is located in server 30, memory block 40 ' can be used for the information that storage server and terminal synchronizes store, and presets backup area 50 ' and can be used for storage server and terminal synchronizes is deleted, from the information that memory block removes.Terminal 10 ' can comprise N number of terminal, wherein, N be greater than 0 positive integer.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (25)
1. an information synchronization method, is characterized in that, described method comprises:
Terminal to server sends the recovery request of carry information mark;
Described server searches information corresponding to described message identification from memory block and/or default backup area, the information that described memory block stores for storing described server and described terminal synchronizes, when described default backup area is deleted for storing described server and described terminal synchronizes, from the information that described memory block removes;
The information that the described message identification found described in described server sends to described terminal is corresponding;
Described terminal receives information corresponding to described message identification, and the information corresponding to described message identification is recovered.
2. the method for claim 1, is characterized in that, the information that described server searches described message identification corresponding from memory block and/or default backup area comprises:
Described server obtains the wheel synchronization type of described information, searches information corresponding to described message identification according to described wheel synchronization type from described default backup area or described memory block.
3. the method for claim 1, is characterized in that, the information that described server searches described message identification corresponding from memory block and/or default backup area comprises:
Described server is searched at described default backup area, if there is information corresponding to described message identification in described default backup area, information corresponding for described message identification is moved to described memory block from described default backup area, if described default backup area does not exist information corresponding to described message identification, search information corresponding to described message identification in described memory block; Or
Described server is searched in described memory block, if there is not information corresponding to described message identification in described memory block, search information corresponding to described message identification at described default backup area, and information corresponding for described message identification is moved to described memory block from described default backup area.
4. the method as described in as arbitrary in claims 1 to 3, it is characterized in that, described method also comprises:
When described terminal receives the delete instruction to described information, according to described delete instruction, described information is deleted;
Described terminal sends the synchronization removal request of carrying the message identification of described information to described server;
Information corresponding for described message identification is moved to described default backup area from described memory block by described server.
5. the method for claim 1, is characterized in that, described method also comprises:
When described server receives the overall situation reduction request that described terminal sends, described server obtains the information that stores in described memory block and sends to described terminal.
6. an information synchronization method, is characterized in that, described method comprises:
Terminal demonstration presupposed information delete list, described presupposed information delete list comprises the index list item of the information of server and/or described terminal deletion;
When described terminal receives the recovery instruction of account to the index list item of the information in described presupposed information delete list, obtain the message identification that described recovery instruction is corresponding;
Described terminal sends the recovery request of carrying described message identification to described server, to make described whois lookup to information corresponding to described message identification, and information corresponding for described message identification is sent to described terminal;
Described terminal receives information corresponding to described message identification that described server sends, and the information corresponding to described message identification is recovered.
7. method as claimed in claim 6, it is characterized in that, institute's method also comprises:
When described terminal receives the delete instruction of described information, according to described delete instruction, described information is deleted;
Described terminal sends the synchronization removal request of carrying the message identification of described information to described server, to make described server, information corresponding for described message identification is moved to default backup area from memory block; The information that described memory block stores for storing described server and described terminal synchronizes, when described default backup area is deleted for storing described server and described terminal synchronizes, from the information that described memory block removes.
8. method as claimed in claim 6, it is characterized in that, described method comprises:
Described terminal sends overall situation reduction request to described server;
Described terminal receives the information that described server asks according to described overall situation reduction to obtain from described memory block.
9. an information synchronization method, is characterized in that, described method comprises:
The recovery request of the carry information mark that server receiving terminal sends;
Described server searches information corresponding to described message identification from memory block and/or default backup area, the information that described memory block stores for storing described server and described terminal synchronizes, when described default backup area is deleted for storing described server and described terminal synchronizes, from the information that described memory block removes;
The information that the described message identification found described in described server sends to described terminal is corresponding, recovers with the information making described terminal corresponding to described message identification.
10. method as claimed in claim 9, it is characterized in that, the information that described server searches described message identification corresponding from memory block and/or default backup area comprises:
Described server obtains the wheel synchronization type of described information, searches information corresponding to described message identification according to described wheel synchronization type from described default backup area or described memory block.
11. methods as claimed in claim 9, it is characterized in that, the information that described server searches described message identification corresponding from memory block and/or default backup area comprises:
Described server is searched at described default backup area, if there is information corresponding to described message identification in described default backup area, information corresponding for described message identification is moved to described memory block from described default backup area, if described default backup area does not exist information corresponding to described message identification, search information corresponding to described message identification in described memory block; Or
Described server is searched in described memory block, if there is information corresponding to described message identification in described memory block, information corresponding to described message identification is searched in described memory block, if there is not information corresponding to described message identification in described memory block, search information corresponding to described message identification at described default backup area, and information corresponding for described message identification is moved to described memory block from described default backup area.
12. as arbitrary in claim 9 ~ 11 as described in method, it is characterized in that, described method also comprises:
Described server receives the synchronization removal request of the carry information mark that described terminal sends;
Information corresponding for described message identification is moved to described default backup area from described memory block by described server.
13. methods as claimed in claim 9, it is characterized in that, described method also comprises:
When described server receives the overall situation reduction request that described terminal sends, described server obtains the information that stores in described memory block and sends to described terminal.
14. 1 kinds of synchronizing information devices, is characterized in that, described device comprises: display module, acquisition module, sending module, receiver module and recovery module;
Described display module, for showing presupposed information delete list, described presupposed information delete list comprises the index list item of the information of server and/or terminal deletion;
Described acquisition module, during for receiving the recovery instruction of account to the index list item of the information in described presupposed information delete list at described receiver module, obtains the message identification that described recovery instruction is corresponding;
Described sending module, for sending the recovery request of carrying described message identification to described server, to make described whois lookup to information corresponding to described message identification, and sends to described terminal by information corresponding for described message identification;
Described receiver module, the information that the described message identification for receiving the transmission of described server is corresponding;
Described recovery module, recovers for the information corresponding to described message identification.
15. devices as claimed in claim 14, it is characterized in that, institute's device also comprises:
Removing module, for when described receiver module receives the delete instruction of described information, deletes described information according to described delete instruction;
Described sending module, also for sending the synchronization removal request of carrying the message identification of described information to described server, moves to default backup area by information corresponding for described message identification from memory block to make described server; The information that described memory block stores for storing described server and described terminal synchronizes, the information that described default backup area is deleted for storing described server and described terminal synchronizes.
16. devices as claimed in claim 14, it is characterized in that, described device also comprises:
Removing module, for deleting the index list item of information corresponding for message identification described in described presupposed information delete list.
17. devices as claimed in claim 14, is characterized in that, described sending module, also for sending overall situation reduction request to described server;
Described receiver module, for receiving the information that described server asks according to described overall situation reduction to obtain from described memory block.
18. 1 kinds of terminals, is characterized in that, comprise as arbitrary in claim 14 ~ 17 as described in device.
19. 1 kinds of synchronizing information devices, is characterized in that, described device comprises: receiver module, search module and sending module;
Described receiver module, for the recovery request of the carry information mark that receiving terminal sends;
Describedly search module, for searching information corresponding to described message identification from memory block and/or default backup area, the information that described memory block stores for storage server and described terminal synchronizes, when described default backup area is deleted for storing described server and described terminal synchronizes, from the information that described memory block removes;
Described sending module, the information that the described message identification for finding described in sending to described terminal is corresponding, recovers with the information making described terminal corresponding to described message identification.
20. devices as claimed in claim 19, is characterized in that, described in search module and comprise: acquiring unit and first searches unit;
Described acquiring unit, for obtaining the wheel synchronization type of described information;
Described first searches unit, for searching information corresponding to described message identification according to described wheel synchronization type from described default backup area or described memory block.
21. devices as claimed in claim 19, is characterized in that, described in search module and comprise: second searches unit or the 3rd searches unit;
Described second searches unit, for searching at described default backup area, if there is information corresponding to described message identification in described default backup area, information corresponding for described message identification is moved to described memory block from described default backup area, if described default backup area does not exist information corresponding to described message identification, search information corresponding to described message identification in described memory block;
Described 3rd searches unit, for searching in described memory block, if there is information corresponding to described message identification in described memory block, information corresponding to described message identification is searched in described memory block, if there is not information corresponding to described message identification in described memory block, search information corresponding to described message identification at described default backup area, and information corresponding for described message identification is moved to described memory block from described default backup area.
22. as arbitrary in claim 19 ~ 21 as described in device, it is characterized in that,
Described receiver module, also for receiving the synchronization removal request of the carry information mark that described terminal sends;
Described device also comprises:
Mobile module, for moving to described default backup area by information corresponding for described message identification from described memory block.
23. devices as claimed in claim 19, is characterized in that,
Described receiver module, also for receiving the overall situation reduction request that described terminal sends;
Describedly search module, the information also for storing in memory block according to described overall situation reduction acquisition request;
Described sending module, also for the described information stored in the described storage that module gets of searching is sent to described terminal.
24. 1 kinds of servers, is characterized in that, comprise as arbitrary in claim 19 ~ 23 as described in device.
25. 1 kinds of information synchronization systems, is characterized in that, described system comprises: comprise the terminal as described in 18 and the server as described in 24.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410079492.8A CN104901983B (en) | 2014-03-05 | 2014-03-05 | A kind of information synchronization method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410079492.8A CN104901983B (en) | 2014-03-05 | 2014-03-05 | A kind of information synchronization method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104901983A true CN104901983A (en) | 2015-09-09 |
CN104901983B CN104901983B (en) | 2019-09-13 |
Family
ID=54034380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410079492.8A Active CN104901983B (en) | 2014-03-05 | 2014-03-05 | A kind of information synchronization method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104901983B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786645A (en) * | 2016-02-14 | 2016-07-20 | 北京艾森思科技有限公司 | Backup and restoring methods and devices of operating system |
CN106095624A (en) * | 2016-06-28 | 2016-11-09 | 北京金山安全软件有限公司 | Data recovery method and device, terminal equipment and server |
CN106888307A (en) * | 2015-12-15 | 2017-06-23 | 北京奇虎科技有限公司 | The acquisition methods and terminal of information |
CN107040564A (en) * | 2016-02-04 | 2017-08-11 | 希姆通信息技术(上海)有限公司 | Method of data synchronization, data synchronization server and the cloud storage system of cloud storage |
CN107222521A (en) * | 2017-04-28 | 2017-09-29 | 厦门中控智慧信息技术有限公司 | Personal information automatic synchronous method and device |
CN107249021A (en) * | 2017-05-27 | 2017-10-13 | 广东欧珀移动通信有限公司 | Method of data synchronization, device, storage medium, computer equipment and server |
CN108924771A (en) * | 2018-05-28 | 2018-11-30 | 深圳市宝尔爱迪科技有限公司 | A kind of method that terminal device short message accidentally deletes recovery |
CN111125038A (en) * | 2019-12-31 | 2020-05-08 | 成都驰通数码系统有限公司 | Intelligent data synchronization method and system based on cloud storage |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094163A (en) * | 2006-06-22 | 2007-12-26 | 腾讯科技(深圳)有限公司 | A method and device for transmitting data |
CN101120319A (en) * | 2004-12-30 | 2008-02-06 | 伊姆西公司 | Systems and methods for restoring data |
US20100250497A1 (en) * | 2007-01-05 | 2010-09-30 | Redlich Ron M | Electromagnetic pulse (EMP) hardened information infrastructure with extractor, cloud dispersal, secure storage, content analysis and classification and method therefor |
-
2014
- 2014-03-05 CN CN201410079492.8A patent/CN104901983B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101120319A (en) * | 2004-12-30 | 2008-02-06 | 伊姆西公司 | Systems and methods for restoring data |
CN101094163A (en) * | 2006-06-22 | 2007-12-26 | 腾讯科技(深圳)有限公司 | A method and device for transmitting data |
US20100250497A1 (en) * | 2007-01-05 | 2010-09-30 | Redlich Ron M | Electromagnetic pulse (EMP) hardened information infrastructure with extractor, cloud dispersal, secure storage, content analysis and classification and method therefor |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106888307A (en) * | 2015-12-15 | 2017-06-23 | 北京奇虎科技有限公司 | The acquisition methods and terminal of information |
CN106888307B (en) * | 2015-12-15 | 2019-12-20 | 北京奇虎科技有限公司 | Information acquisition method and terminal |
CN107040564A (en) * | 2016-02-04 | 2017-08-11 | 希姆通信息技术(上海)有限公司 | Method of data synchronization, data synchronization server and the cloud storage system of cloud storage |
CN105786645A (en) * | 2016-02-14 | 2016-07-20 | 北京艾森思科技有限公司 | Backup and restoring methods and devices of operating system |
CN106095624A (en) * | 2016-06-28 | 2016-11-09 | 北京金山安全软件有限公司 | Data recovery method and device, terminal equipment and server |
CN107222521A (en) * | 2017-04-28 | 2017-09-29 | 厦门中控智慧信息技术有限公司 | Personal information automatic synchronous method and device |
CN107249021A (en) * | 2017-05-27 | 2017-10-13 | 广东欧珀移动通信有限公司 | Method of data synchronization, device, storage medium, computer equipment and server |
CN108924771A (en) * | 2018-05-28 | 2018-11-30 | 深圳市宝尔爱迪科技有限公司 | A kind of method that terminal device short message accidentally deletes recovery |
CN111125038A (en) * | 2019-12-31 | 2020-05-08 | 成都驰通数码系统有限公司 | Intelligent data synchronization method and system based on cloud storage |
CN111125038B (en) * | 2019-12-31 | 2023-04-07 | 成都驰通数码系统有限公司 | Intelligent data synchronization method and system based on cloud storage |
Also Published As
Publication number | Publication date |
---|---|
CN104901983B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104901983A (en) | Information synthesizing method, device and system | |
CN103473277B (en) | The Snapshot Method and device of file system | |
CN102223361A (en) | Communication systems and data synchronization methods | |
CN103220358B (en) | The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit | |
CN111104069B (en) | Multi-region data processing method and device of distributed storage system and electronic equipment | |
CN103049355B (en) | Method and equipment for database system recovery | |
CN102591747A (en) | Data backup method and device | |
CN104283926A (en) | Data synchronization method, device and server | |
CN104488248A (en) | File synchronization method, server and terminal | |
RU2545999C2 (en) | Method, apparatus and mobile broadcast business management system for transmitting information in data form | |
CN105354097A (en) | Data operation method and device based on clipboard and electronic equipment | |
CN104317676A (en) | Data backup disaster tolerance method | |
CN103281798A (en) | Method, device and system for achieving modification synchronization | |
CN104348859A (en) | File synchronizing method, device, server, terminal and system | |
CN103167086A (en) | System and method for cleaning invalid contact persons of mobile phone | |
CN101741569B (en) | Data synchronization method, data synchronization system, client and server | |
CN103312489A (en) | Method and device for synchronizing terminal and server | |
CN105827740A (en) | Method, equipment and system for contact person information backup | |
CN101980504B (en) | Data sharing method, mobile terminal and server | |
CN103500129A (en) | Back-up object sending and back-up method, production end, backup-for-disaster-recovery end and system | |
CN105407148A (en) | Network data synchronization method, device and system based on client | |
CN105224418A (en) | A kind of data back up method and device | |
CN112667698B (en) | MongoDB data synchronization method based on converged media platform | |
CN102736962A (en) | Method and device of recovering data | |
CN103870478B (en) | A kind of method and device for restoring synchrodata |
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 |