CN104967653A - Data synchronous drawing and issuing method and apparatus - Google Patents
Data synchronous drawing and issuing method and apparatus Download PDFInfo
- Publication number
- CN104967653A CN104967653A CN201510128156.2A CN201510128156A CN104967653A CN 104967653 A CN104967653 A CN 104967653A CN 201510128156 A CN201510128156 A CN 201510128156A CN 104967653 A CN104967653 A CN 104967653A
- Authority
- CN
- China
- Prior art keywords
- data
- data sequence
- sequence
- request
- stores
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a data synchronous drawing method. The method comprises the following steps: sending a data sequence drawing request to a server, wherein the data sequence drawing request comprises jittering time of a locally stored data sequence and the data identification of the last data item of the data sequence, and the jittering time of the data sequence is the modification time when non-additional data item modification is carried out on the data sequence for the last time; receiving a sub sequence after a corresponding position of the data identification of the last data item in a latest-version data sequence stored in a background, returned by the server, wherein the sub sequence is returned by the server when the jittering time of the locally stored data sequence is not earlier than the jittering time of the latest-version data sequence stored in the background; and appending the sub sequence to the locally stored data sequence. According to the method provided by the invention, total-amount data of the data sequence does not have to be drawn for the server so that consumption of network flow can be reduced. Besides, the invention also provides a data synchronous drawing apparatus, and a data synchronous issuing method and apparatus.
Description
Technical field
The present invention relates to networking technology area, particularly relate to a kind of data syn-chronization and pull method and apparatus, and a kind of data syn-chronization delivery method and device.
Background technology
Terminal needs to keep data syn-chronization with service end usually, and such as, the directory information that reader terminal local stores needs to keep synchronous with the directory information of the latest edition that server background stores; User's friend relation chain that in social networks application, terminal local stores needs to keep synchronous with user's friend relation chain of the latest edition that server background stores, etc.
In conventional art, general, terminal pulls the synchronous data of the needs of latest edition that backstage stores at interval of Preset Time to service end, or, pull the synchronous data of the needs of the latest edition that backstage stores when terminal needs to use the synchronous data of (such as show) these needs to service end.
But terminal to server full dose pulls the technical scheme needing synchronous data in conventional art, need to expend larger network traffics, how to reduce terminal and the network traffics spent by server data synchronizing process need the problem of solution badly.
Summary of the invention
Based on this, be necessary to provide a kind of and reduce the data syn-chronization that network traffics expend and pull method and apparatus, in addition, there is a need to provide a kind of and reduce the data syn-chronization delivery method and device that network traffics expend.
A kind of data syn-chronization pulls method, comprises the following steps:
Send data sequence to server and pull request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Subsequence in the data sequence of the latest edition that the Data Identification of last data item described that reception server returns stores on backstage after correspondence position, is returned by described server when the shaky time of the data sequence that described subsequence stores in this locality is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores;
Described subsequence is added in the data sequence that this locality stores.
A kind of data syn-chronization delivery method, comprises the following steps:
The data sequence that receiving terminal sends pulls request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises terminal local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Obtain the shaky time of data sequence of the latest edition that backstage stores, the described shaky time pulling the data sequence of the latest edition that the shaky time that comprises in request and backstage store is compared;
If the shaky time comprised in described request is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores, then the described subsequence of Data Identification in the data sequence of described latest edition after correspondence position pulling last data item comprised in request is issued to described terminal, in the data sequence that described terminal is stored in this locality, adds described subsequence.
A kind of data syn-chronization pulling device, comprising:
Sequence pulls request sending module, request is pulled for sending data sequence to server, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Subsequence receiver module, subsequence in the data sequence of the latest edition that the Data Identification of last data item described in returning for reception server stores on backstage after correspondence position, is returned by described server when the shaky time of the data sequence that described subsequence stores in this locality is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores;
Subsequence adds module, for adding described subsequence in the data sequence that stores in this locality.
Transmitting apparatus under a kind of data syn-chronization, comprising:
Sequence pulls request receiving module, the data sequence sent for receiving terminal pulls request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises terminal local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Shaky time comparing module, for obtaining the shaky time of data sequence of the latest edition that backstage stores, compares the described shaky time pulling the data sequence of the latest edition that the shaky time that comprises in request and backstage store;
Subsequence issues module, if the shaky time for comprising in described request is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores, then the described subsequence of Data Identification in the data sequence of described latest edition after correspondence position pulling last data item comprised in request is issued to described terminal, in the data sequence that described terminal is stored in this locality, adds described subsequence.
Above-mentioned data syn-chronization pulls method and apparatus, the data sequence sent to server pulls in request the shaky time of data sequence and the Data Identification of this last data item of data sequence that contain local storage, when the shaky time of the data sequence stored in this locality is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, namely when the data sequence of the latest edition of backstage storage has just added data item relative to the data sequence that this locality stores, subsequence in the data sequence of the latest edition that the Data Identification that then can receive last data item above-mentioned that server returns stores on backstage after correspondence position, this subsequence be the data sequence that the data sequence of latest edition that backstage stores stores relative to this locality the data item sequence that adds, and do not need the full dose data to server pulling data sequence, thus expending of network traffics can be reduced.
Above-mentioned data syn-chronization delivery method and device, the data sequence received from terminal pulls request the shaky time of data sequence and the Data Identification of this last data item of data sequence that contain terminal local storage, when the shaky time of the data sequence that terminal local stores is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, namely when the data sequence of the latest edition of backstage storage has just added data item relative to the data sequence that terminal local stores, subsequence in the data sequence of the latest edition that the Data Identification then issuing last data item above-mentioned to terminal stores on backstage after correspondence position, this subsequence be the data sequence that the data sequence of latest edition that backstage stores stores relative to terminal local the data item sequence that adds, and do not need the full dose data issuing data sequence to terminal, thus expending of network traffics can be reduced.
Accompanying drawing explanation
Figure 1A is the part-structure block diagram that in an embodiment, service data synchronously pulls the terminal of method;
Figure 1B is the part-structure block diagram of the server of the synchronous delivery method of service data in an embodiment;
Fig. 2 is the schematic flow sheet that data syn-chronization in an embodiment pulls method;
Fig. 3 is the schematic flow sheet of the process pulling detailed data content corresponding to subsequence in an embodiment;
Fig. 4 is the schematic flow sheet of the process of the detailed data content pulling variance data item correspondence in an embodiment;
Fig. 5 is the schematic flow sheet that data syn-chronization in an embodiment pulls method;
Fig. 6 is that the data syn-chronization in an embodiment pulls the schematic flow sheet issued;
Fig. 7 is the schematic flow sheet of the process issuing detailed data content corresponding to data item in an embodiment;
Fig. 8 is the mutual sequential chart that data syn-chronization in an embodiment pulls terminal and server in method and data syn-chronization delivery method;
Fig. 9 is the structural representation of the data syn-chronization pulling device in an embodiment;
Figure 10 is the structural representation of the data syn-chronization pulling device in an embodiment;
Figure 11 is the structural representation of the data syn-chronization pulling device in an embodiment;
Figure 12 is the structural representation of the data syn-chronization pulling device in an embodiment;
Figure 13 is the structural representation of transmitting apparatus under the data syn-chronization in an embodiment;
Figure 14 is the structural representation of transmitting apparatus under the data syn-chronization in an embodiment;
Figure 15 is the structural representation of transmitting apparatus under the data syn-chronization in an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Figure 1A is the part-structure block diagram that in an embodiment, service data synchronously pulls the terminal of method.This terminal can be the terminal that mobile phone, notebook computer, panel computer etc. can be accessed by arbitrarily network.As shown in Figure 1A, in one embodiment, this terminal comprises the processor, storage medium, internal memory, network interface, display screen and the input mechanism that are connected by system bus; Wherein, input mechanism triggers dependent instruction according to user operation, display screen then by relevant information display to user, network interface is used for communicating with network, internal memory is used for data cached, store the software instruction pulling method for the data syn-chronization realized described in the application in storage medium, processor is coordinated the work of each parts and is performed these instructions and pull method with the data syn-chronization realized described in the application.It will be appreciated by those skilled in the art that, structure shown in Figure 1A, it is only the block diagram of the part-structure relevant to the application's scheme, do not form the restriction to the terminal that the application's scheme is applied thereon, concrete terminal can comprise than parts more or less shown in figure, or combine some parts, or there is different parts layouts.
Figure 1B is the part-structure block diagram of the server of the synchronous delivery method of service data in an embodiment.As shown in Figure 1B, in one embodiment, this server comprises the processor, storage medium, internal memory and the network interface that are connected by system bus; Wherein, network interface is used for communicating with network, internal memory is used for data cached, store operating system, database and the software instruction for realizing the data syn-chronization delivery method described in the application in storage medium, processor is coordinated the work of each parts and is performed these instructions to realize the data syn-chronization delivery method described in the application.It will be appreciated by those skilled in the art that, structure shown in Figure 1B, it is only the block diagram of the part-structure relevant to the application's scheme, do not form the restriction to the server that the application's scheme is applied thereon, concrete server can comprise than parts more or less shown in figure, or combine some parts, or there is different parts layouts.
In one embodiment, the data syn-chronization described in the application pulls method and can be performed by terminal.As shown in Figure 2, in one embodiment, a kind of data syn-chronization pulls method, comprises the following steps:
Step S202, send data sequence to server and pull request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out.
The all corresponding unique arrangement sequence number of each data item in the data sequence of the application, this arrangement sequence number is corresponding unique arrangement position in data sequence, arranges before the little data item of sequence number is considered to be arranged in the large data item of arrangement sequence number in data sequence.
Each data item in the data sequence of the application all has unique Data Identification, the data object that data item can be made up of Data Identification, Data subject or data name and out of Memory.Such as, the following data item be arranged in order forms a data sequence (001, chapter 1), (002, chapter 2), (003, chapter 3), wherein " 001 ", " 002 ", " 003 " represent Data Identification, and " chapter 1 ", " chapter 2 ", " chapter 3 " represent Data subject or data name; The form of expression of data sequence is not limited to this example, and wherein, in this example, the numerical value of the Data Identification of adjacent data items is continuous print, and in other example, the numerical value of the Data Identification of adjacent data items also can be discontinuous.
Data sequence described in the application includes but not limited to directory listing, friend information list, contact method information list, etc.
In the application, add one or more data item at the end of data sequence, be called the supplemental data item amendment that data sequence is carried out; This type of amendment (amendment of supplemental data item) is carried out to a certain data sequence, then think that data sequence does not produce shake, in addition to the amendment that data sequence is carried out, comprise data inserting item, deleted data item, Update Table item, the amendment of non-supplemental data item can be referred to as, non-supplemental data item amendment is considered to cause data sequence to create shake, and the shaky time of data sequence is the modification time for the last time data sequence being carried out to the amendment of non-supplemental data item.
In one embodiment, data sequence can be sent when getting data sequence renewal instruction to server and pull request; This renewal instruction can trigger automatically at interval of preset duration, namely upgrades instruction at interval of preset duration trigger data sequence; Such as, or by entering data sequence, this renewal instruction can show that the user operation at interface triggers, user operation request enters data sequence and shows interface, then trigger data sequence upgrades instruction; Or this renewal instruction can be corresponding by the data item of checking in data sequence detailed data content user operation trigger, such as, a certain data item in user click data sequence shows interface checks with request the data content that this data item is corresponding, then trigger data sequence upgrades instruction; Etc..
Step S204, subsequence in the data sequence of the latest edition that the Data Identification that the data sequence that reception server returns pulls last data item comprised in request stores on backstage after correspondence position, when the shaky time of the data sequence that this subsequence stores in this locality is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, serviced device returns.
In one embodiment, step S204 comprises the following steps: the data sequence that reception server returns and modify instruction, judge whether this modify instruction represents that the data sequence returned by server is appended to the local data sequence stored, if, then represent the subsequence after correspondence position in the data sequence of the data sequence of the reception latest edition that to be the data sequence Data Identification that pulls last data item comprised in request store on backstage, enter step S206.
In another embodiment, step S204 comprises the following steps: the data sequence that reception server returns, whether the Data Identification that the Data Identification that the data sequence relatively received comprises comprises with the local data sequence stored has lap, if not, then represent the subsequence after correspondence position in the data sequence of the data sequence of the reception latest edition that to be the data sequence Data Identification that pulls last data item comprised in request store on backstage, enter step S206.
Step S206, adds above-mentioned subsequence in the data sequence that this locality stores.
Concrete, above-mentioned subsequence can be added to the end of the local data sequence stored.
In one embodiment, the corresponding detailed data content of each data item in data sequence; Such as, data sequence is directory listing, wherein the corresponding chapters and sections content in detail of each entry (i.e. each data item) etc.; Again such as, data sequence is friend information list, wherein the corresponding friend information in detail of each entry (i.e. each data item); Etc..
In one embodiment, above-mentioned data syn-chronization pulls method and also comprises the process pulling detailed data content corresponding to subsequence, and as shown in Figure 3, in one embodiment, this process comprises the following steps:
Step S302, after reception server returns above-mentioned subsequence, obtains the Data Identification that sub-series of packets contains.
Step S304, send detailed data content to server and pull request, this pulls in request the Data Identification comprising above-mentioned subsequence.
In one embodiment, step S302 can obtain the Data Identification of each data item in subsequence, forms Data Identification sequence.Before step S304, the detailed data content comprising this Data Identification sequence can be generated and pull request.
Step S306, the detailed data content that the Data Identification of the above-mentioned subsequence that reception server returns is corresponding.
In one embodiment, the detailed data content that the Data Identification of above-mentioned subsequence is corresponding can be included in Map set and be returned, this Map concentrates and comprises and the key-value pair one to one of the Data Identification in above-mentioned subsequence, and each key-value pair represents the detailed data content of a Data Identification and correspondence thereof.
Step S308, carries out corresponding stored by detailed data content corresponding with it for the Data Identification of above-mentioned subsequence.
The corresponding relation of the Data Identification detailed data content corresponding with it can be stored in this locality.
In one embodiment, it is further comprising the steps of that above-mentioned data syn-chronization pulls method: the data sequence of the latest edition that backstage that reception server returns stores, and during shaky time early than the data sequence of this latest edition of the shaky time of the data sequence that the data sequence of this latest edition stores in this locality, serviced device returns; The data sequence that this locality stores is replaced with the data sequence of this latest edition.
In one embodiment, the step of the data sequence of the latest edition that the backstage that reception server returns stores comprises the following steps: the data sequence that reception server returns and modify instruction, judge whether this modify instruction represents that the data sequence returned by server replaces the local data sequence stored, if, then represent that the data sequence of reception is the data sequence of the latest edition that backstage stores, enter the step data sequence that this locality stores being replaced with the data sequence of this latest edition.
In another embodiment, the step of the data sequence of the latest edition that the backstage that reception server returns stores comprises the following steps: the data sequence that reception server returns, whether the Data Identification that the Data Identification that the data sequence relatively received comprises comprises with the local data sequence stored has lap, if not, then represent that the data sequence of reception is the data sequence of the latest edition that backstage stores, enter the step data sequence that this locality stores being replaced with the data sequence of this latest edition.
In one embodiment, the corresponding detailed data content of each data item in data sequence; Above-mentioned data syn-chronization pulls the process that method also comprises the detailed data content pulling variance data item correspondence, and as shown in Figure 4, this process comprises the following steps:
Step S402, after the data sequence of the latest edition of the backstage storage that reception server returns, the data sequence returned by server is compared with the local data sequence stored, and obtains the Data Identification of the variance data item of the data sequence that data sequence that server returns stores relative to this locality.
Variance data item comprises data item, the data item of deletion, the data item of amendment that data sequence that server returns increases relative to the data sequence that this locality stores.
Step S404, send detailed data content to server and pull request, this pulls in request the Data Identification comprising above-mentioned variance data item.
Step S406, the detailed data content that the Data Identification of the above-mentioned variance data item that reception server returns is corresponding.
Step S408, carries out corresponding stored by detailed data content corresponding with it for the Data Identification of above-mentioned variance data item.
As shown in Figure 5, in one embodiment, a kind of data syn-chronization pulls method, comprises the following steps:
Step S502, send data sequence to server and pull request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out.
Step S504, the data sequence that reception server returns and modify instruction.
In one embodiment, the predetermined symbol that modify instruction can be different or the different implication of string representation.Such as, character string " Append " is comprised in modify instruction, then represent that the data sequence returned by server is appended to the local data sequence stored, in modify instruction, comprise character string " Diff ", then represent that the data sequence returned by server replaces the local data sequence stored.
Step S506, judges that this modify instruction represents that the data sequence returned by server is appended to the local data sequence stored, or represents that the data sequence returned by server replaces the local data sequence stored; If this modify instruction represents that the data sequence returned by server is appended to the local data sequence stored, then perform step S508; If this modify instruction represents that the data sequence returned by server replaces the local data sequence stored, then perform step S510.
If this modify instruction represents that the data sequence returned by server is appended to the local data sequence stored, then represent the subsequence after correspondence position in the data sequence of data sequence that server the returns latest edition that to be the data sequence Data Identification that pulls last data item comprised in request store on backstage.
If this modify instruction represents that the data sequence returned by server replaces the local data sequence stored, then the data sequence that expression server returns is the data sequence of the latest edition that backstage stores.
In one embodiment, if modify instruction does not belong to two kinds of situations described in step S506, then can judge whether modify instruction represents that maintaining data sequence does not revise, such as modify instruction can comprise character string " Remain " to represent that maintaining data sequence does not revise, if so, then terminate.
Step S508, adds the data sequence that server returns in the data sequence that this locality stores.
Step S510, replaces with the data sequence that this server returns by the data sequence that this locality stores.
Above-mentioned data syn-chronization pulls method, the data sequence sent to server pulls in request the shaky time of data sequence and the Data Identification of this last data item of data sequence that contain local storage, when the shaky time of the data sequence stored in this locality is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, namely when the data sequence of the latest edition of backstage storage has just added data item relative to the data sequence that this locality stores, subsequence in the data sequence of the latest edition that the Data Identification that then can receive last data item above-mentioned that server returns stores on backstage after correspondence position, this subsequence be the data sequence that the data sequence of latest edition that backstage stores stores relative to this locality the data item sequence that adds, and do not need the full dose data to server pulling data sequence, thus expending of network traffics can be reduced.
In one embodiment, the data syn-chronization delivery method in the application can be performed by server.As shown in Figure 6, a kind of data syn-chronization delivery method, comprises the following steps:
Step S602, the data sequence that receiving terminal sends pulls request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises terminal local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out.
Step S604, obtains the shaky time of data sequence of the latest edition that backstage stores, and shaky time data sequence being pulled the data sequence of the latest edition that the shaky time comprised in request and backstage store is compared.
Server often carries out once the amendment of non-supplemental data item to the data sequence that backstage stores, comprise the increase data item of carrying out in data sequence, deleted data item or Update Table item, the modification time all preserving this amendment is the shaky time of the data sequence of latest edition.
Step S606, if data sequence pulls the shaky time that the shaky time comprised in request is no earlier than the data sequence of the latest edition that backstage stores, subsequence in the data sequence of the latest edition that the Data Identification then data sequence being pulled last data item comprised in request stores on backstage after correspondence position is issued to terminal, adds this subsequence in the data sequence that terminal is stored in this locality.
In the present embodiment, can generate and represent that the data sequence returned by server is appended to the modify instruction of the data sequence that terminal local stores, this modify instruction is issued to terminal together with above-mentioned subsequence.
If data sequence pulls the Data Identification of last data item comprised in request, namely the Data Identification of last data item of the data sequence of terminal local storage, identical with the Data Identification of last data item of the data sequence of the latest edition that backstage stores; Alternatively, last data item in the data sequence of the latest edition that the corresponding backstage of Data Identification that data sequence pulls last data item comprised in request stores, then can issue to terminal the instruction representing that service data sequence is not revised.
In one embodiment, above-mentioned data syn-chronization delivery method is further comprising the steps of: if data sequence pulls the shaky time of the data sequence of the latest edition that the shaky time that comprises in request stores early than described backstage, the data sequence of the latest edition then stored on backstage is issued to terminal, makes described terminal that the data sequence that this locality stores is replaced with the data sequence of described latest edition.
In the present embodiment, also can generate and represent that the data sequence returned by server replaces the modify instruction of the data sequence that terminal local stores, together with the data sequence of the latest edition stored in this instruction and backstage, be issued to terminal.
In one embodiment, the corresponding detailed data content of each data item in data sequence.
Above-mentioned data syn-chronization delivery method also comprises the process issuing detailed data content corresponding to data item, and as shown in Figure 7, this process comprises the following steps:
Step S702, the detailed data content that receiving terminal sends pulls request, and this pulls in request the Data Identification comprising and ask the detailed data content that pulls corresponding.
Above-mentioned detailed data content pulls in request and can comprise one or more Data Identification.
Step S704, obtains the detailed data content that backstage stores and pulls detailed data content corresponding to the Data Identification that comprises in request in the detailed data content that backstage stores.
Step S706, by the detailed data down sending content of acquisition to terminal.
In one embodiment, search detailed data content in the detailed data content that step S704 can store on backstage and pull detailed data content corresponding to each Data Identification of comprising in request, and by detailed data content corresponding with it for each Data Identification composition key-value pair, each key-value pair of composition should be joined in Map set; This Map set can be issued to terminal by step S706.
Above-mentioned data syn-chronization delivery method, the data sequence received from terminal pulls request the shaky time of data sequence and the Data Identification of this last data item of data sequence that contain terminal local storage, when the shaky time of the data sequence that terminal local stores is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, namely when the data sequence of the latest edition of backstage storage has just added data item relative to the data sequence that terminal local stores, subsequence in the data sequence of the latest edition that the Data Identification then issuing last data item above-mentioned to terminal stores on backstage after correspondence position, this subsequence be the data sequence that the data sequence of latest edition that backstage stores stores relative to terminal local the data item sequence that adds, and do not need the full dose data issuing data sequence to terminal, thus expending of network traffics can be reduced.
Fig. 8 is the mutual sequential chart that data syn-chronization in an embodiment pulls terminal and server in method and data syn-chronization delivery method.Below in conjunction with Fig. 8, this method of data synchronization and data syn-chronization delivery method are described.As shown in the figure:
(1) terminal to server sends data sequence and pulls request, and this pulls the shaky time T1 of data sequence and the Data Identification D of this last data item of data sequence that request comprises local storage.
(2) server obtains the shaky time T2 of the data sequence of the latest edition that backstage stores, and is compared by T1 and T2.
(3.1) if T1 is no earlier than T2, the subsequence List1 in the data sequence of the latest edition that D then stores on backstage by server after correspondence position and represent that the modify instruction Instct1 that the data sequence returned by server is appended to the data sequence that terminal local stores is issued to terminal.
(3.2) if T1 is early than T2, then the modify instruction Instct2 that the data sequence that server returns by the data sequence List2 of the latest edition stored on backstage and expression replaces the data sequence that terminal local stores is issued to terminal.
(4.1) terminal receives Instct1 and List1, then in the data sequence of this locality storage, add List1, generates the detailed data content comprising the Data Identification of this List1 and pulls request.
(4.2) terminal receives Instct2 and List2, then obtain the Data Identification of the variance data item of the data sequence that List2 stores relative to this locality, generates the detailed data content comprising the Data Identification of variance data item and pulls request; The data sequence that this locality stores is replaced with List2.
(5) terminal to server sends detailed data content and pulls request.
(6) obtain detailed data content in the detailed data content that server stores on backstage and pull detailed data content corresponding to the Data Identification that comprises in request.
(7) server by obtain detailed data down sending content to terminal.
(8) terminal storage Data Identification and detailed data content carry out corresponding stored.
Illustrate that the data syn-chronization of the application pulls method and data syn-chronization delivery method below in conjunction with this concrete application scenarios of listing of novel list synchronous between terminal with server.Wherein, listing of novel list is arranged by multiple data item and forms, and each data item comprises the information such as section number, section name.
(1) terminal to server sends listing of novel list and pulls request, this listing of novel list pulls the shaky time of listing of novel list and the section number of this last chapter of listing of novel list that request comprises local storage, and section number can unique identification chapters and sections.
(2) server receives listing of novel list and pulls request, and obtain the shaky time of the listing of novel list of the latest edition that backstage stores, shaky time listing of novel list being pulled the listing of novel list of the latest edition that the shaky time comprised in request and backstage store is compared, if listing of novel list pulls the shaky time that the shaky time comprised in request is no earlier than the listing of novel list of the latest edition that backstage stores, illustrate that the listing of novel list that backstage stores, relative to the listing of novel list of terminal, new shake does not occur, otherwise illustrate that the listing of novel list that backstage stores there occurs new shake relative to the listing of novel list of terminal.
(3.1) if new shake does not occur in the listing of novel list that backstage stores, the position at section number (i.e. the section number of last chapter of the listing of novel list of the terminal storage) place comprised in the request of pulling is searched in the listing of novel list that then server stores on backstage, if there is no listing of novel data after this position in the listing of novel list that backstage stores, then server issues Remain mark to terminal, otherwise server issues Append mark to terminal, issue the listing of novel data (also forming a listing of novel list) in the listing of novel list of backstage storage after this position to terminal simultaneously,
Wherein, Remain mark is used to indicate terminal and maintains the local listing of novel list stored; Append mark is used to indicate listing of novel list that server returns by terminal and is appended to the listing of novel list that terminal local stores.
(3.2) if the listing of novel list that backstage stores there occurs new shake, then server issues Diff mark to terminal, issues the listing of novel list of the latest edition stored on backstage to terminal simultaneously;
Wherein, Diff mark is used to indicate the listing of novel list of the listing of novel list replacement terminal local storage that server returns by terminal.
(4.1) terminal receives Remain mark, then terminate.
(4.2) terminal receives the Append mark and listing of novel list that server issues, in the listing of novel list of this locality storage, then add the listing of novel list received from server, generate detailed chapters and sections content and pull request, this detailed chapters and sections content pulls in request the section number the listing of novel list comprising and receive from server, and detailed chapters and sections content is pulled request sends to server.
(4.3) terminal receives the Diff mark and listing of novel list that server issues, then obtain the variance data item of the listing of novel list stored relative to this locality from the listing of novel list of server reception, and obtain the section number of variance data item, generate the detailed data chapters and sections comprising the section number of variance data item and pull request, send detailed chapters and sections content to server and pull request; And the listing of novel list that this locality stores is replaced with the listing of novel list received from server.
(5) server receives detailed chapters and sections content and pulls request, obtains detailed chapters and sections content and pull detailed chapters and sections content corresponding to the section number that comprises in request in the detailed chapters and sections content that backstage stores.
(6) the detailed chapters and sections content obtained is sent to terminal with corresponding section number by server.
(7) the detailed chapters and sections content received from server and section number are carried out corresponding stored by terminal.
According to such scheme, even if the listing of novel list on backstage continues to change, the listing of novel list synchronization that also can server background be stored efficiently is to terminal, and such scheme only can saving network flow to terminal by detailed chapters and sections content synchronization corresponding for latest update data item in listing of novel list.
As shown in Figure 9, in one embodiment, a kind of data syn-chronization pulling device, comprises sequence and pulls request sending module 902, subsequence receiver module 904 and subsequence and add module 906, wherein:
Sequence pulls request sending module 902 and pulls request for sending data sequence to server, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out.
In one embodiment, sequence pulls request sending module 902 and can pull request when getting data sequence renewal instruction to server transmission data sequence; This renewal instruction can trigger automatically at interval of preset duration, namely upgrades instruction at interval of preset duration trigger data sequence; Such as, or by entering data sequence, this renewal instruction can show that the user operation at interface triggers, user operation request enters data sequence and shows interface, then trigger data sequence upgrades instruction; Or this renewal instruction can be corresponding by the data item of checking in data sequence detailed data content user operation trigger, such as, a certain data item in user click data sequence shows interface checks with request the data content that this data item is corresponding, then trigger data sequence upgrades instruction; Etc..
Subsequence in the data sequence of the latest edition that subsequence receiver module 904 pulls last data item comprised in request Data Identification for the data sequence that reception server returns stores on backstage after correspondence position, when the shaky time of the data sequence that this subsequence stores in this locality is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, serviced device returns.
In one embodiment, the data sequence that subsequence receiver module 904 returns for reception server and modify instruction, judge whether this modify instruction represents that the data sequence returned by server is appended to the local data sequence stored, if, then represent the subsequence after correspondence position in the data sequence of the data sequence of the reception latest edition that to be the data sequence Data Identification that pulls last data item comprised in request store on backstage, promoter sequence adds module 906.
In another embodiment, the data sequence that subsequence receiver module 904 returns for reception server, whether the Data Identification that the Data Identification that the data sequence relatively received comprises comprises with the local data sequence stored has lap, if not, then represent the subsequence after correspondence position in the data sequence of the data sequence of the reception latest edition that to be the data sequence Data Identification that pulls last data item comprised in request store on backstage, promoter sequence adds module 906.
Promoter sequence adds module 906 for adding above-mentioned subsequence in the data sequence that stores in this locality.
Concrete, above-mentioned subsequence can be added to the end of the local data sequence stored.
In one embodiment, the corresponding detailed data content of each data item in data sequence; Such as, data sequence is directory listing, wherein the corresponding chapters and sections content in detail of each entry (i.e. each data item) etc.; Again such as, data sequence is friend information list, wherein the corresponding friend information in detail of each entry (i.e. each data item); Etc..
As shown in Figure 10, in one embodiment, above-mentioned data syn-chronization pulling device also comprises subsequence Data Identification acquisition module 1002, first content pulls request sending module 1004, first content receiver module 1006 and the first memory module 1008, wherein:
Subsequence Data Identification acquisition module 1002, for after returning above-mentioned subsequence at reception server, obtains the Data Identification that sub-series of packets contains.
First content pulls request sending module 1004 and pulls request for sending detailed data content to server, and this pulls in request the Data Identification comprising above-mentioned subsequence.
In one embodiment, subsequence Data Identification acquisition module 1002 can obtain the Data Identification of each data item in subsequence, forms Data Identification sequence; Above-mentioned data syn-chronization pulling device also comprises content and pulls request generation module (not shown), pulls request for generating the detailed data content comprising this Data Identification sequence.
The detailed data content that the Data Identification of the above-mentioned subsequence that first content receiver module 1006 returns for reception server is corresponding.
In one embodiment, the detailed data content that the Data Identification of above-mentioned subsequence is corresponding can be included in Map set and be returned, this Map concentrates and comprises and the key-value pair one to one of the Data Identification in above-mentioned subsequence, and each key-value pair represents the detailed data content of a Data Identification and correspondence thereof.
First memory module 1008 is for carrying out corresponding stored by detailed data content corresponding with it for the Data Identification of above-mentioned subsequence.First memory module 1008 can store the corresponding relation of the Data Identification detailed data content corresponding with it in this locality.
As shown in figure 11, in one embodiment, above-mentioned data syn-chronization pulling device also comprises up-to-date sequential reception module 1102 and up-to-date sequence replacement module 1104, wherein:
The data sequence of the latest edition that the backstage that up-to-date sequential reception module 1102 returns for reception server stores, during shaky time early than the data sequence of this latest edition of the shaky time of the data sequence that the data sequence of this latest edition stores in this locality, serviced device returns; Up-to-date sequence replacement module 1104 replaces with the data sequence of this latest edition for the data sequence stored this locality.
In one embodiment, the data sequence that up-to-date sequential reception module 1102 returns for reception server and modify instruction, judge whether this modify instruction represents that the data sequence returned by server replaces the local data sequence stored, if, then represent that the data sequence of reception is the data sequence of the latest edition that backstage stores, start up-to-date sequence replacement module 1104.
In another embodiment, the step of the data sequence of the latest edition that the backstage that up-to-date sequential reception module 1102 returns for reception server stores comprises the following steps: the data sequence that reception server returns, whether the Data Identification that the Data Identification that the data sequence relatively received comprises comprises with the local data sequence stored has lap, if not, then represent that the data sequence of reception is the data sequence of the latest edition that backstage stores, start up-to-date sequence replacement module 1104.
In one embodiment, the corresponding detailed data content of each data item in data sequence; Above-mentioned data syn-chronization pulling device also comprises variance data identifier acquisition module 1202, second content and pulls request sending module 1204, second content receiver module 1206 and the second memory module 1208, wherein:
After the data sequence of the latest edition that variance data identifier acquisition module 1202 stores for the backstage returned at reception server, the data sequence returned by server is compared with the local data sequence stored, and obtains the Data Identification of the variance data item of the data sequence that data sequence that server returns stores relative to this locality.
Variance data item comprises data item, the data item of deletion, the data item of amendment that data sequence that server returns increases relative to the data sequence that this locality stores.
Second content pulls request sending module 1204 and pulls request for sending detailed data content to server, and this pulls in request the Data Identification comprising above-mentioned variance data item.
The detailed data content that the Data Identification of the above-mentioned variance data item that the second content receiver module 1206 returns for reception server is corresponding.
Second memory module 1208 is for carrying out corresponding stored by detailed data content corresponding with it for the Data Identification of above-mentioned variance data item.
Above-mentioned data syn-chronization pulling device, the data sequence sent to server pulls in request the shaky time of data sequence and the Data Identification of this last data item of data sequence that contain local storage, when the shaky time of the data sequence stored in this locality is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, namely when the data sequence of the latest edition of backstage storage has just added data item relative to the data sequence that this locality stores, subsequence in the data sequence of the latest edition that the Data Identification that then can receive last data item above-mentioned that server returns stores on backstage after correspondence position, this subsequence be the data sequence that the data sequence of latest edition that backstage stores stores relative to this locality the data item sequence that adds, and do not need the full dose data to server pulling data sequence, thus expending of network traffics can be reduced.
As shown in figure 13, in one embodiment, transmitting apparatus under a kind of data syn-chronization, comprises sequence and pulls request receiving module 1302, shaky time comparing module 1304 and subsequence and issue module 1306, wherein:
Sequence pulls the data sequence that request receiving module 1302 sends for receiving terminal and pulls request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises terminal local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out.
The shaky time of data sequence of latest edition of shaky time comparing module 1304 for obtaining backstage and storing, shaky time data sequence being pulled the data sequence of the latest edition that the shaky time comprised in request and backstage store is compared.
Under above-mentioned data syn-chronization, transmitting apparatus also comprises shaky time preservation module (not shown), when the data sequence stored for obtaining backstage often carries out once the amendment of non-supplemental data item, comprise the increase data item of carrying out in data sequence, deleted data item or Update Table item, the modification time all preserving this amendment is the shaky time of the data sequence of latest edition.
If subsequence issues module 1306 and pulls for data sequence the shaky time that the shaky time comprised in request is no earlier than the data sequence of the latest edition that backstage stores, subsequence in the data sequence of the latest edition that the Data Identification then data sequence being pulled last data item comprised in request stores on backstage after correspondence position is issued to terminal, adds this subsequence in the data sequence that terminal is stored in this locality.
In the present embodiment, under above-mentioned data syn-chronization, transmitting apparatus also can comprise added instruction generation module (not shown), represent that the data sequence returned by server is appended to the modify instruction of the data sequence that terminal local stores for generating, subsequence issues module 1306 can be issued to terminal by this modify instruction together with above-mentioned subsequence.
If data sequence pulls the Data Identification of last data item comprised in request, namely the Data Identification of last data item of the data sequence of terminal local storage, identical with the Data Identification of last data item of the data sequence of the latest edition that backstage stores; Alternatively, last data item in the data sequence of the latest edition that the corresponding backstage of Data Identification that data sequence pulls last data item comprised in request stores, then subsequence issues module 1306 and can issue to terminal the instruction representing that service data sequence is not revised.
As shown in figure 14, in one embodiment, under above-mentioned data syn-chronization, transmitting apparatus also comprises up-to-date sequence and issues module 1402, the shaky time of the data sequence of the latest edition that the shaky time comprised in request if pull for data sequence stores early than described backstage, the data sequence of the latest edition then stored on backstage is issued to terminal, makes described terminal that the data sequence that this locality stores is replaced with the data sequence of described latest edition.
In the present embodiment, under above-mentioned data syn-chronization, transmitting apparatus also can comprise replacement instruction generation module (not shown), representing that the data sequence that returned by server replaces the modify instruction of the data sequence that terminal local stores for generating, together with the data sequence that up-to-date sequence issues the latest edition that this instruction and backstage can store by module 1402, being issued to terminal.
In one embodiment, the corresponding detailed data content of each data item in data sequence.
As shown in figure 15, in one embodiment, under above-mentioned data syn-chronization, transmitting apparatus also comprises content and pulls request receiving module 1502, content obtaining module 1504 and down sending content module 1506, wherein:
Content pulls the detailed data content that request receiving module 1502 sends for receiving terminal and pulls request, and this pulls in request and comprises Data Identification corresponding to the detailed data content asking to pull.
Above-mentioned detailed data content pulls in request and can comprise one or more Data Identification.
Content obtaining module 1504 pulls detailed data content corresponding to the Data Identification that comprises in request for the detailed data content obtaining backstage in the detailed data content that stores on backstage and store.
Down sending content module 1506 for will obtain detailed data down sending content to terminal.
In one embodiment, search detailed data content in the detailed data content that content obtaining module 1504 can store on backstage and pull detailed data content corresponding to each Data Identification of comprising in request, and by detailed data content corresponding with it for each Data Identification composition key-value pair, each key-value pair of composition should be joined in Map set; This Map set can be issued to terminal by down sending content module 1506.
Transmitting apparatus under above-mentioned data syn-chronization, the data sequence received from terminal pulls request the shaky time of data sequence and the Data Identification of this last data item of data sequence that contain terminal local storage, when the shaky time of the data sequence that terminal local stores is no earlier than the shaky time of the data sequence of the latest edition that backstage stores, namely when the data sequence of the latest edition of backstage storage has just added data item relative to the data sequence that terminal local stores, subsequence in the data sequence of the latest edition that the Data Identification then issuing last data item above-mentioned to terminal stores on backstage after correspondence position, this subsequence be the data sequence that the data sequence of latest edition that backstage stores stores relative to terminal local the data item sequence that adds, and do not need the full dose data issuing data sequence to terminal, thus expending of network traffics can be reduced.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (14)
1. data syn-chronization pulls a method, comprises the following steps:
Send data sequence to server and pull request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Subsequence in the data sequence of the latest edition that the Data Identification of last data item described that reception server returns stores on backstage after correspondence position, is returned by described server when the shaky time of the data sequence that described subsequence stores in this locality is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores;
Described subsequence is added in the data sequence that this locality stores.
2. data syn-chronization according to claim 1 pulls method, it is characterized in that, the corresponding detailed data content of each data item in described data sequence;
Described method is further comprising the steps of:
After reception server returns described subsequence, obtain the Data Identification that described sub-series of packets contains;
Send detailed data content to server and pull request, this pulls in request the Data Identification comprising described subsequence;
The detailed data content that the Data Identification of the described subsequence that reception server returns is corresponding;
Detailed data content corresponding with it for the Data Identification of described subsequence is carried out corresponding stored.
3. data syn-chronization according to claim 1 pulls method, it is characterized in that, further comprising the steps of:
The data sequence of the latest edition that backstage that reception server returns stores, is returned by described server during shaky time early than the data sequence of described latest edition of the shaky time of the data sequence that the data sequence of described latest edition stores in this locality;
The data sequence that this locality stores is replaced with the data sequence of described latest edition.
4. data syn-chronization according to claim 3 pulls method, it is characterized in that, the corresponding detailed data content of each data item in described data sequence;
Described method is further comprising the steps of:
After the data sequence of the latest edition of the backstage storage that reception server returns, the data sequence returned by server is compared with the local data sequence stored, and obtains the Data Identification of the variance data item of the data sequence that data sequence that server returns stores relative to this locality;
Send detailed data content to server and pull request, this pulls in request the Data Identification comprising described variance data item;
The detailed data content that the Data Identification of the described variance data item that reception server returns is corresponding;
Detailed data content corresponding with it for the Data Identification of described variance data item is carried out corresponding stored.
5. a data syn-chronization delivery method, comprises the following steps:
The data sequence that receiving terminal sends pulls request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises terminal local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Obtain the shaky time of data sequence of the latest edition that backstage stores, the described shaky time pulling the data sequence of the latest edition that the shaky time that comprises in request and backstage store is compared;
If the shaky time comprised in described request is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores, then the described subsequence of Data Identification in the data sequence of described latest edition after correspondence position pulling last data item comprised in request is issued to described terminal, in the data sequence that described terminal is stored in this locality, adds described subsequence.
6. data syn-chronization delivery method according to claim 5, is characterized in that, further comprising the steps of:
If the shaky time of the data sequence of the latest edition that the shaky time comprised in described request stores early than described backstage, then the data sequence of described latest edition is issued to described terminal, makes described terminal that the data sequence that this locality stores is replaced with the data sequence of described latest edition.
7. the data syn-chronization delivery method according to claim 5 or 6, is characterized in that, the corresponding detailed data content of each data item in described data sequence;
Described method is further comprising the steps of:
The detailed data content that receiving terminal sends pulls request, and this pulls in request the Data Identification comprising and ask the detailed data content that pulls corresponding;
Obtain in the detailed data content that backstage stores backstage store described in pull detailed data content corresponding to the Data Identification that comprises in request;
By the detailed data down sending content of acquisition to described terminal.
8. a data syn-chronization pulling device, is characterized in that, comprising:
Sequence pulls request sending module, request is pulled for sending data sequence to server, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Subsequence receiver module, subsequence in the data sequence of the latest edition that the Data Identification of last data item described in returning for reception server stores on backstage after correspondence position, is returned by described server when the shaky time of the data sequence that described subsequence stores in this locality is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores;
Subsequence adds module, for adding described subsequence in the data sequence that stores in this locality.
9. data syn-chronization pulling device according to claim 8, is characterized in that, the corresponding detailed data content of each data item in described data sequence;
Described device also comprises:
Subsequence Data Identification acquisition module, after returning described subsequence at reception server, obtains the Data Identification that described sub-series of packets contains;
First content pulls request sending module, and pull request for sending detailed data content to server, this pulls in request the Data Identification comprising described subsequence;
First content receiver module, the detailed data content that the Data Identification of the described subsequence returned for reception server is corresponding;
First memory module, for carrying out corresponding stored by detailed data content corresponding with it for the Data Identification of described subsequence.
10. data syn-chronization pulling device according to claim 8, is characterized in that, also comprise:
Up-to-date sequential reception module, the data sequence of the latest edition that the backstage returned for reception server stores, is returned by described server during shaky time early than the data sequence of described latest edition of the shaky time of the data sequence that the data sequence of described latest edition stores in this locality;
Up-to-date sequence replacement module, the data sequence for being stored this locality replaces with the data sequence of described latest edition.
11. data syn-chronization according to claim 10 pull method, it is characterized in that, the corresponding detailed data content of each data item in described data sequence;
Described device also comprises:
Variance data identifier acquisition module, for after the data sequence that reception server returns, the Data Identification of the variance data item of the data sequence that the data sequence that acquisition server returns stores relative to this locality;
Second content pulls request sending module, and pull request for sending detailed data content to server, this pulls in request the Data Identification comprising described variance data item;
Second content receiver module, the detailed data content that the Data Identification of the described variance data item returned for reception server is corresponding;
Second memory module, for carrying out corresponding stored by detailed data content corresponding with it for the Data Identification of described variance data item.
Transmitting apparatus under 12. 1 kinds of data syn-chronization, is characterized in that, comprising:
Sequence pulls request receiving module, the data sequence sent for receiving terminal pulls request, this pulls the shaky time of data sequence and the Data Identification of this last data item of data sequence that request comprises terminal local storage, data sequence comprises multiple data item having priority and put in order, and the shaky time of data sequence is for the last time to the modification time of the non-supplemental data item amendment that data sequence is carried out;
Shaky time comparing module, for obtaining the shaky time of data sequence of the latest edition that backstage stores, compares the described shaky time pulling the data sequence of the latest edition that the shaky time that comprises in request and backstage store;
Subsequence issues module, if the shaky time for comprising in described request is no earlier than the shaky time of the data sequence of the latest edition that described backstage stores, then the described subsequence of Data Identification in the data sequence of described latest edition after correspondence position pulling last data item comprised in request is issued to described terminal, in the data sequence that described terminal is stored in this locality, adds described subsequence.
Transmitting apparatus under 13. data syn-chronization according to claim 12, is characterized in that, also comprise:
Up-to-date sequence issues module, if the shaky time of the data sequence of the latest edition stored early than described backstage for the shaky time comprised in described request, then the data sequence of described latest edition is issued to described terminal, makes described terminal that the data sequence that this locality stores is replaced with the data sequence of described latest edition.
Transmitting apparatus under 14. data syn-chronization according to claim 12 or 13, is characterized in that, the corresponding detailed data content of each data item in described data sequence;
Described device also comprises:
Content pulls request receiving module, and the detailed data content sent for receiving terminal pulls request, and this pulls in request the Data Identification comprising and ask the detailed data content that pulls corresponding;
Content obtaining module, for obtain in the detailed data content that stores on backstage backstage store described in pull detailed data content corresponding to the Data Identification that comprises in request;
Down sending content module, for will obtain detailed data down sending content to described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510128156.2A CN104967653B (en) | 2015-03-23 | 2015-03-23 | Data syn-chronization pulls, delivery method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510128156.2A CN104967653B (en) | 2015-03-23 | 2015-03-23 | Data syn-chronization pulls, delivery method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104967653A true CN104967653A (en) | 2015-10-07 |
CN104967653B CN104967653B (en) | 2018-04-06 |
Family
ID=54221594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510128156.2A Active CN104967653B (en) | 2015-03-23 | 2015-03-23 | Data syn-chronization pulls, delivery method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104967653B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827721A (en) * | 2016-04-20 | 2016-08-03 | 努比亚技术有限公司 | Data transmission method and device |
CN106254373A (en) * | 2016-08-31 | 2016-12-21 | 北京信安世纪科技有限公司 | Digital certificate synchronous method, digital signature server and digital certificate synchronize system |
CN106302719A (en) * | 2016-08-13 | 2017-01-04 | 乐视控股(北京)有限公司 | Resource synchronization method, client and server |
CN107402975A (en) * | 2017-06-30 | 2017-11-28 | 深圳市金立通信设备有限公司 | A kind of information processing method, server and terminal |
CN107634975A (en) * | 2016-07-18 | 2018-01-26 | 中兴通讯股份有限公司 | A kind of method of data synchronization, equipment and system |
CN113824797A (en) * | 2021-11-19 | 2021-12-21 | 南京好先生智慧科技有限公司 | Self-adaptive synchronization method and device for teaching resources |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996872A (en) * | 2006-01-05 | 2007-07-11 | 乐金电子(中国)研究开发中心有限公司 | A selective data synchronization method |
EP2204964A1 (en) * | 2007-12-12 | 2010-07-07 | Huawei Technologies Co., Ltd. | Method and device for realizing data synchronization |
CN103281798A (en) * | 2013-05-30 | 2013-09-04 | 腾讯科技(深圳)有限公司 | Method, device and system for achieving modification synchronization |
CN103428242A (en) * | 2012-05-18 | 2013-12-04 | 阿里巴巴集团控股有限公司 | Method, device and system for increment synchronization |
CN103442042A (en) * | 2013-08-14 | 2013-12-11 | 福建天晴数码有限公司 | Incremental data synchronization method and system |
-
2015
- 2015-03-23 CN CN201510128156.2A patent/CN104967653B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996872A (en) * | 2006-01-05 | 2007-07-11 | 乐金电子(中国)研究开发中心有限公司 | A selective data synchronization method |
EP2204964A1 (en) * | 2007-12-12 | 2010-07-07 | Huawei Technologies Co., Ltd. | Method and device for realizing data synchronization |
CN103428242A (en) * | 2012-05-18 | 2013-12-04 | 阿里巴巴集团控股有限公司 | Method, device and system for increment synchronization |
CN103281798A (en) * | 2013-05-30 | 2013-09-04 | 腾讯科技(深圳)有限公司 | Method, device and system for achieving modification synchronization |
CN103442042A (en) * | 2013-08-14 | 2013-12-11 | 福建天晴数码有限公司 | Incremental data synchronization method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827721A (en) * | 2016-04-20 | 2016-08-03 | 努比亚技术有限公司 | Data transmission method and device |
CN105827721B (en) * | 2016-04-20 | 2019-06-21 | 努比亚技术有限公司 | A kind of data transmission method and device |
CN107634975A (en) * | 2016-07-18 | 2018-01-26 | 中兴通讯股份有限公司 | A kind of method of data synchronization, equipment and system |
CN106302719A (en) * | 2016-08-13 | 2017-01-04 | 乐视控股(北京)有限公司 | Resource synchronization method, client and server |
CN106254373A (en) * | 2016-08-31 | 2016-12-21 | 北京信安世纪科技有限公司 | Digital certificate synchronous method, digital signature server and digital certificate synchronize system |
CN106254373B (en) * | 2016-08-31 | 2019-12-27 | 北京信安世纪科技股份有限公司 | Digital certificate synchronization method, digital signature server and digital certificate synchronization system |
CN107402975A (en) * | 2017-06-30 | 2017-11-28 | 深圳市金立通信设备有限公司 | A kind of information processing method, server and terminal |
CN113824797A (en) * | 2021-11-19 | 2021-12-21 | 南京好先生智慧科技有限公司 | Self-adaptive synchronization method and device for teaching resources |
CN113824797B (en) * | 2021-11-19 | 2022-02-18 | 南京好先生智慧科技有限公司 | Self-adaptive synchronization method and device for teaching resources |
Also Published As
Publication number | Publication date |
---|---|
CN104967653B (en) | 2018-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104967653A (en) | Data synchronous drawing and issuing method and apparatus | |
US8892511B2 (en) | Apparatus and method for synchronizing data in connected devices | |
WO2021223662A1 (en) | Page access based on code scanning | |
CN105740048A (en) | Image management method, device and system | |
CN102769640B (en) | The update method of user profile, server and system | |
CN106657433B (en) | Naming method and device for physical network card in multi-network snap ring environment | |
CN103701653B (en) | The processing method of a kind of interface hot plug configuration data and network configuration server | |
CN104243429A (en) | Method, device and system for achieving browser bookmark synchronization | |
CN102186163A (en) | Data synchronizing method of multi-account address book of smart phone | |
CN104424224A (en) | File index storage method and device | |
CN109885325B (en) | Terminal system upgrading method, terminal and computer readable storage medium | |
CN105007310A (en) | Information synchronization method, device and system | |
CN109525629A (en) | Information-pushing method, device and storage medium | |
CN113779422A (en) | Method and device for realizing relation chain label, electronic equipment and storage medium | |
CN100525208C (en) | Data synchronization method | |
CN103164122A (en) | Method and device calling address book content | |
CN112256295A (en) | Application program updating method, device, equipment and storage medium | |
CN105306228A (en) | Virtual content sharing method | |
CN110768811B (en) | Method, device and system for updating YANG model file library | |
CN111176715A (en) | Information calling method and server | |
CN102932513B (en) | A kind of business card maintaining method, device and equipment | |
EP2200395A1 (en) | Managing method, system and device for an appearance packet | |
EP2712162A1 (en) | Method and system for inputting information to mobile terminal as well as mobile terminal | |
CN113163257B (en) | Screen projection method, device, equipment and storage medium | |
JP2005284395A (en) | Communication equipment, method for synchronizing information of communication system, control program for communication equipment, and recording medium |
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 |