CN103164422A - Method, equipment and system for conducting data synchronism by adopting general data storage format - Google Patents

Method, equipment and system for conducting data synchronism by adopting general data storage format Download PDF

Info

Publication number
CN103164422A
CN103164422A CN201110413820XA CN201110413820A CN103164422A CN 103164422 A CN103164422 A CN 103164422A CN 201110413820X A CN201110413820X A CN 201110413820XA CN 201110413820 A CN201110413820 A CN 201110413820A CN 103164422 A CN103164422 A CN 103164422A
Authority
CN
China
Prior art keywords
synchrodata
data
network equipment
treatment
identification information
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.)
Pending
Application number
CN201110413820XA
Other languages
Chinese (zh)
Inventor
向雪松
牛玺雷
连城
冯世浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201110413820XA priority Critical patent/CN103164422A/en
Publication of CN103164422A publication Critical patent/CN103164422A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention aims to provide a method, equipment and a system for conducting data synchronism by adopting a general data storage format. Compared with the prior art, the general data storage format such as a key-value storage format is adopted by data to be synchronized. According to first updating identification information of the data to be synchronized at a network equipment end and corresponding second updating identification information of the data to be synchronized at a user equipment end and according to a preset synchronization rule, the data to be synchronized is conducted with data synchronism. Then, unified maintenance and updating to the data of different applications are achieved. Separate maintenance to the data of the different applications is avoided, and thereby the data maintenance cost of the network equipment end is lowered. In addition, due to the fact that the general data storage format is irrelevant to data types of data to be updated, user data of new applications can be stored conveniently, and thereby extendibility of data maintenance and updating achievement is guaranteed.

Description

Adopt the conventional data storage format to carry out the synchronous method of data, equipment and system
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of synchronous technology of data of carrying out.
Background technology
In prior art, for the different application such as browser, input method from subscriber equipment, due to the dissimilar user data that has of described each application, as can be plain text data, image data, file data etc., the network equipment needs safeguard respectively and upgrade it; For example in browser application, user's Web page bookmark is plain text data, user's character library during input method is used is file data, need to safeguard respectively and upgrade the user data of above-mentioned two kinds of application at network equipment end, make the maintenance of the part conventional data in these two kinds of data and upgrade and to share, thereby causing higher network equipment end data maintenance cost; Simultaneously, due to the maintenance of the user data of each application with upgrade user data type binding specific with it, so the poor expandability of data maintenance and renewal realization.
Therefore, how being embodied as a plurality of application, to carry out efficient data synchronous, becomes one of present problem demanding prompt solution.
Summary of the invention
The purpose of this invention is to provide a kind of synchronous method of data, equipment and system of carrying out.
According to an aspect of the present invention, provide a kind of synchronous method of data of carrying out in the network equipment, wherein, the described network equipment is that one or more application are carried out data with subscriber equipment and synchronizeed, and wherein, treats that synchrodata adopts the conventional data storage format, wherein, the method comprises the following steps:
A obtains the data synchronization request from subscriber equipment, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata;
B is according to described application identification information, obtains describedly to treat that synchrodata upgrades identification information at first of described network equipment end;
C upgrades described in identification information and described data synchronization request according to described first and treats that synchrodata upgrades identification information at second of described subscriber equipment end, according to predetermined synchronization rules, treat that to described synchrodata carries out data and synchronize between the described network equipment and described subscriber equipment.
According to an aspect of the present invention, also provide a kind of assisting in subscriber equipment to carry out the synchronous method of data, the method comprises the following steps:
A sends the data synchronization request for the treatment of synchrodata to the network equipment, wherein, described data synchronization request comprises the described affiliated application identification information of using of synchrodata for the treatment of;
B receives the described network equipment in response to the feedback information of described data synchronization request;
C is according to described feedback information, carries out operation accordingly, to treat that synchrodata is carried out data synchronous to described.
According to a further aspect in the invention, provide a kind of synchronous network equipment of data that carries out, wherein, the described network equipment is that one or more application are carried out data with subscriber equipment and synchronizeed, and wherein, treats that synchrodata adopts the conventional data storage format, wherein, this equipment comprises:
The acquisition request device is used for obtaining the data synchronization request from subscriber equipment, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata;
The identification information deriving means is used for according to described application identification information, obtains describedly to treat that synchrodata upgrades identification information at first of described network equipment end;
The first synchronous device, be used for upgrading the described of identification information and described data synchronization request according to described first and treat that synchrodata is at the second renewal identification information of described subscriber equipment end, according to predetermined synchronization rules, treat that to described synchrodata carries out data and synchronize between the described network equipment and described subscriber equipment.
According to a further aspect in the invention, also provide a kind of assisting to carry out the synchronous subscriber equipment of data, this equipment comprises:
The second send-request unit is used for sending to the network equipment data synchronization request for the treatment of synchrodata, and wherein, described data synchronization request comprises the described affiliated application identification information of using of synchrodata for the treatment of;
Information receiver is used for receiving the described network equipment in response to the feedback information of described data synchronization request;
The second synchronous device is used for according to described feedback information, carries out operation accordingly, to treat that synchrodata is carried out data synchronous to described.
According to another aspect of the invention, also provide a kind of data synchronous system of carrying out, comprised the above-mentioned network equipment and subscriber equipment.
Compared with prior art, treat in the present invention that synchrodata adopts the conventional data storage format, as key-value (key-value) storage format, upgrade identification information and upgrade identification information in second of the synchrodata for the treatment of corresponding to subscriber equipment end at first of network equipment end according to treating synchrodata, according to predetermined synchronization rules, this is treated that synchrodata is carried out data synchronous, and then realize the unified of data of different application safeguarded and upgraded, avoid it is safeguarded respectively, thus the data maintenance cost of reduction network equipment end; In addition, irrelevant because of the data type of general data memory format and data to be updated, so it can store the user data of new application easily, thereby guarantees data maintenance and upgrade the extensibility that realizes.
Description of drawings
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 illustrates and carries out the synchronous system topological figure of data according to one aspect of the invention;
Fig. 2 illustrates and carries out data synchronizer schematic diagram according to one aspect of the invention;
Fig. 3 illustrate in accordance with a preferred embodiment of the present invention carry out the synchronous equipment schematic diagram of data;
What Fig. 4 illustrated according to the present invention another preferred embodiment carries out the synchronous equipment schematic diagram of data;
Fig. 5 illustrates and carries out the synchronous equipment schematic diagram of data according to another preferred embodiment of the present invention;
Fig. 6 illustrate according to a further aspect of the present invention carry out the synchronous method flow diagram of data;
What Fig. 7 illustrated according to the present invention another preferred embodiment carries out the synchronous method flow diagram of data;
What Fig. 8 illustrated according to the present invention another preferred embodiment carries out the synchronous method flow diagram of data;
What Fig. 9 illustrated according to the present invention another preferred embodiment carries out the synchronous method flow diagram of data.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 illustrates and carries out the synchronous system topological figure of data according to one aspect of the invention.Comprising a network equipment 1 and a plurality of subscriber equipment 2.
Wherein, the network equipment 1 carries out data for one or more application with a plurality of subscriber equipmenies 2 and synchronizes.At this, can realize communicating by letter by any communication mode between the network equipment 1 and subscriber equipment 2, include but not limited to, based on the mobile communication of 3GPP, LTE, WIMAX, based on the computer network communication of TCP/IP, udp protocol and based on the low coverage wireless transmission method of bluetooth, Infrared Transmission standard.
The network equipment 1 is connected via network with a plurality of subscriber equipmenies 2, and wherein, the network equipment 1 can carry out data with a plurality of subscriber equipmenies 2 respectively synchronizes.At this, network includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN (Local Area Network), VPN network, wireless self-organization network (Ad Hoc network) etc.
At this, the described network equipment includes but not limited to the cloud that computing machine, network host, single network server, a plurality of webserver collection or a plurality of server consist of.At this, cloud is by consisting of based on a large amount of computing machines of cloud computing (Cloud Computing) or the webserver, and wherein, cloud computing is a kind of of Distributed Calculation, a super virtual machine that is comprised of the loosely-coupled computing machine collection of a group.
At this, described subscriber equipment includes but not limited to any equipment with the function of surfing the web such as computing machine, smart mobile phone, PDA.
Those skilled in the art will be understood that the above-mentioned network equipment 1, subscriber equipment 2 and connection network therebetween are only for giving an example; other network equipments 1 existing or that may occur from now on, subscriber equipment 2 or network are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
For simplicity's sake, the below is described as an example of a subscriber equipment 2 example.Those skilled in the art will be understood that the network equipment 1 can be simultaneously mutual with a plurality of subscriber equipmenies 2, and carry out data for one or more application with these a plurality of subscriber equipmenies 2 and synchronize.
Fig. 2 illustrates and carries out data synchronizer schematic diagram according to one aspect of the invention.Wherein, the network equipment 1 comprises acquisition request device 111, identification information deriving means 112 and the first synchronous device 113, and subscriber equipment 2 comprises the second acquisition request device 121, matching inquiry device 122 and the second synchronous device 123.Wherein, the network equipment 1 carries out data for one or more application with subscriber equipment 2 synchronizes, and wherein, treats that synchrodata adopts the conventional data storage format.
At this, described application means computer utility, includes but not limited to browser, input method, game etc.
At this, described conventional data storage format includes but not limited to key-value (Key-Value) storage format.Wherein, in described key-value storage format, key is used for storage Data Identification information, and its building form includes but not limited to: 1) application identification information-application item identification information, as browser-historical record, input method ID-character library ID; 2) application identification information-application item identification information-user totem information is as browser-historical record-user A; The data of value storage are general object type (object type), rather than specific data type, as file type, character string type, numeric type etc.The data of storing due to described key-value storage format intermediate value are general object type, thereby make each dissimilar data become transparent.
Referring to Fig. 2, the network equipment 1 for carrying out the process that data synchronize, one or more application and subscriber equipment 2 is described in detail:
At first, the second send-request unit 121 of subscriber equipment 2 sends to the network equipment 1 data synchronization request for the treatment of synchrodata; Then, the acquisition request device 111 of the network equipment 1 obtains the data synchronization request from subscriber equipment 2, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata.
At this, described application identification information includes but not limited to:
1) Apply Names corresponding with treating synchrodata, application ID;
2) with the application item title for the treatment of the application item that synchrodata is corresponding, application item ID; As the bookmark in browser application, the historical viewings record in browser application, the character library that input method is used, the application configuration information that input method is used etc.; Be a certainly to treat that synchrodata can represent all data of an application, also can represent the data of certain application item in an application.
At this, described transmission treats that the situation of the data synchronization request of synchrodata includes but not limited to:
1) the second send-request unit 121 answers Event triggered to send to the network equipment 1 in real time;
2) the second send-request unit 121 sends to the network equipment periodically.
in an example, the user is by the interactive device of subscriber equipment 2, include but not limited to keyboard, mouse, telepilot, touch pad, or handwriting equipment, carry out alternately with the browser software in subscriber equipment 2, take mouse as example, during " preservation bookmark " menu item of user's click browser software, this subscriber equipment obtains the URL(uniform resource locator) (URL) of the webpage of the current demonstration of this browser in real time, the information such as webpage title, and one of insertion comprises this webpage URL in customer data base, the data recording of the information such as webpage title, the predetermined storage mode of this data recording is the Key-Value storage format, wherein, key is " browser-bookmark ", storage webpage URL in value, the data such as webpage title, simultaneously, because the customer data base of subscriber equipment 2 changes, generate thereby trigger subscriber equipment 2 data synchronization request for the treatment of synchrodata, wherein, comprise the bookmark item ID in browser application in this data synchronization request, then the second send-request unit 121 is sent to the network equipment 1 with this data synchronization request for the treatment of synchrodata by the communication mode of arranging, for example, it can be encapsulated as a request message, as the http request message, and by corresponding communication protocol, as http, https communication protocol, be sent to the network equipment 1, then, the acquisition request device 111 of the network equipment 1 receives and resolves this request message, the data synchronization request for the treatment of synchrodata to obtain this in real time, at this, comprise the data of one or more application and application item thereof in customer data base, it comprises relational database, Key-Value storage system, file system etc.Each application can have customer data base separately, also can share same customer data base.
In another example, the application programming interface (API) that the second send-request unit 121 of subscriber equipment 2 provides according to the network equipment 1, send the request message of the data synchronization request for the treatment of synchrodata to this network equipment according to predetermined period, for example this data synchronization request is the character library synchronization request that input method is used, wherein, this data synchronization request comprises the title of the character library application item that input method is used; The acquisition request device 111 of the network equipment 1 receives and resolves this request message by the mode of Real Time Monitoring, the data synchronization request for the treatment of synchrodata to obtain this.
The mode that those skilled in the art will be understood that the mode of above-mentioned transmission data synchronization request and/or obtain data synchronization request is only for for example; the mode of other transmission data synchronization request existing or that may occur from now on and/or the mode of obtaining data synchronization request are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Then, the application identification information that the data synchronization request that the identification information deriving means 112 of the network equipment 1 obtains according to acquisition request device 111 comprises is obtained this and is treated that synchrodata is at the first renewal identification information of network equipment end.
At this, described first upgrades identification information is used for marked network equipment 1 and treats accordingly the latest update information of synchrodata from the synchrodata for the treatment of of subscriber equipment 2, includes but not limited to:
1) if in the network equipment 1, treat accordingly that with the synchrodata for the treatment of from subscriber equipment 2 synchrodata exists, the first renewal identification information comprises information update time, version information etc.;
2) if in the network equipment 1, treat accordingly that with the synchrodata for the treatment of from subscriber equipment 2 synchrodata not yet exists, first upgrades identification information and is set to default renewal identification information, as update time information be set to 0.
At this, described first mode of upgrading identification information of obtaining comprises following situation:
The application identification information that-identification information deriving means 112 comprises according to data synchronization request, for example, according to predetermined key create-rule, generate key, and according to this key, carry out matching inquiry in network data base, to obtain the synchrodata for the treatment of in the network equipment corresponding with this key, and then extract the information such as stamp update time for the treatment of synchrodata in this network equipment, version number, upgrade identification information to generate first; At this, include but not limited in described network data base and the synchrodata for the treatment of of treating the corresponding network equipment of synchrodata from subscriber equipment 2, it comprises relational database, Key-Value storage system, file system etc.
in an example, when the data storage method of network data base is the Key-Value storage, identification information deriving means 112 is " input method " according to the Apply Names that data synchronization request comprises, the application item name is called " character library ", key create-rule according to predetermined " Apply Names-application item title ", generate key " input method-character library ", then carry out matching inquiry in network data base, to obtain the value corresponding with this key " input method-character library ", it is the word-base data that input method is used, with as treating the synchronization character database data in the network equipment, and then extract the recent renewal timestamp " 1288869719 " that this treats the synchronization character database data, comprise first of this timestamp with generation and upgrade identification information.
Those skilled in the art will be understood that the above-mentioned mode of the first renewal identification information of obtaining is only for giving an example; other existing or first modes of upgrading identification information of obtaining that may occur from now on are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Preferably (with reference to Fig. 2), data synchronization request from subscriber equipment 2 also comprises the user totem information for the treatment of synchrodata, identification information deriving means 112 can also according to this user totem information and application identification information, obtain and treat that synchrodata is at the first renewal identification information of network equipment end.
Particularly, if the data synchronization request that acquisition request device 111 obtains comprises application identification information and user totem information, identification information deriving means 112 can be according to this user totem information and application identification information, carry out matching inquiry in network data base, with obtain corresponding with this user totem information and application identification information be specific to one or more specific users treat synchrodata in the network equipment, upgrade identification information to generate first.
in an example, when illustrating Apply Names, data synchronization request is " browser ", the application item name is called " browser setting " and user's name is " user A ", identification information deriving means 112 is according to the key create-rule of predetermined " Apply Names-application item title-user's name ", generate key " browser-browser setting-user A ", then, carry out matching inquiry in network data base according to this key, to obtain value corresponding with this key " browser-browser setting-user A " in the network equipment, the browser that namely is specific to user A arranges the synchrodata for the treatment of of application item, and then extract the recent renewal timestamp that this treats synchrodata, upgrade identification information to generate first.
Those skilled in the art will be understood that the above-mentioned mode of the first renewal identification information of obtaining is only for giving an example; other existing or first modes of upgrading identification information of obtaining that may occur from now on are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Then, the first synchronous device 113 first upgrades identification information and data synchronization request is corresponding treats that synchrodata upgrades identification information at second of subscriber equipment end according to what identification information deriving means 112 obtained, according to predetermined synchronization rules, between the network equipment 1 and subscriber equipment 2, this is treated that synchrodata carries out data and synchronize.
At this, described second upgrades the latest update information for the treatment of synchrodata that identification information is used for identifying user equipment 2, includes but not limited to information update time for the treatment of synchrodata, version information etc. in subscriber equipment 2.
At this, describedly carry out the synchronous situation of data according to predetermined synchronization rules and include but not limited to:
1) upgrade identification information and second with first and upgrade identification information and compare, for example compare by stabbing update time, to determine treating that whether synchrodata is newly in the corresponding synchrodata for the treatment of in subscriber equipment 2 in the network equipment 1; When in the network equipment 1 when synchrodata is newer, the synchrodata for the treatment of in the network equipment 1 is sent to subscriber equipment 2, to be used for being updated in the corresponding synchrodata for the treatment of of subscriber equipment 2, the specific embodiment of this mode will be elaborated follow-up.
2) when in subscriber equipment 2 when synchrodata is newer, generate to be used for obtaining the data acquisition request for the treatment of synchrodata at subscriber equipment 2; This data acquisition request is sent to subscriber equipment 2, and receive subscriber equipment 2 in response to the synchrodata for the treatment of of this data acquisition request feedback, to be used for being updated in the corresponding synchrodata for the treatment of of the network equipment 1, the specific embodiment of this mode will be elaborated follow-up.
Those skilled in the art will be understood that the above-mentioned synchronous mode of data of carrying out is only for giving an example; other existing or synchronous modes of data of carrying out that may occur from now on are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Subsequently, the information receiver 122 of subscriber equipment 2 receives the network equipment 1 in response to the feedback information of data synchronization request by for example real-time listening ground mode;
At this, described feedback information includes but not limited to:
1) when in the network equipment 1 until synchrodata newly in corresponding in subscriber equipment 2 during until synchrodata, feedback information is for treating synchrodata from its of the network equipment 1;
2) when in subscriber equipment 2 until synchrodata newly in corresponding in the network equipment 1 during until synchrodata, feedback information is the data acquisition request for the treatment of synchrodata in subscriber equipment 2 obtained from the network equipment 1.
Those skilled in the art will be understood that the mode of above-mentioned receiving feedback information is only for giving an example; the mode of other receiving feedback informations existing or that may occur from now on is as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Subsequently, the feedback information that the second synchronous device 123 receives according to information receiver 122 is carried out operation accordingly, and to carry out data synchronous to treat synchrodata.
At this, the corresponding operation of described execution includes but not limited to carry out the synchronous situation of data:
1) when feedback information be included in the network equipment 1 until synchrodata the time, the second synchronous device 123 is according to the synchrodata for the treatment of of being somebody's turn to do in the network equipment 1, be updated in the corresponding synchrodata for the treatment of in subscriber equipment 2, the specific embodiment of this mode will be elaborated follow-up.
2) when feedback information comprise obtain in subscriber equipment 2 until the data acquisition request of synchrodata the time, the second synchronous device 123 obtains the treat synchrodata corresponding with this data acquisition request according to this data acquisition request; And then this is treated that synchrodata is sent to the network equipment 1, to be used for being updated in the corresponding synchrodata for the treatment of of the network equipment 1, the specific embodiment of this mode will be elaborated follow-up.
Preferably, be to work continuously between the second send-request unit 121 in the acquisition request device 111 in the network equipment 1, identification information deriving means 112, the first synchronous device 13 and subscriber equipment 2, information receiver 122, the second synchronous device 123.Particularly, the second send-request unit 121 of subscriber equipment 2 sends to the network equipment 1 data synchronization request for the treatment of synchrodata constantly, and wherein, described data synchronization request comprises the described affiliated application identification information of using of synchrodata for the treatment of; Then, the acquisition request device 111 of the network equipment 1 also obtains the data synchronization request from subscriber equipment 2 constantly, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata; Subsequently, identification information deriving means 112 is also constantly according to described application identification information, obtains describedly to treat that synchrodata upgrades identification information at first of described network equipment end; Subsequently, the first synchronous device 113 also upgrades described in identification information and described data synchronization request according to described first constantly and treats that synchrodata upgrades identification information at second of described subscriber equipment end, according to predetermined synchronization rules, treat that to described synchrodata carries out data and synchronize between the described network equipment and described subscriber equipment; Then, the information receiver 122 of subscriber equipment 2 also receives the described network equipment constantly in response to the feedback information of described data synchronization request; The second synchronous device 123 is also constantly according to described feedback information, carries out operation accordingly, to treat that synchrodata is carried out data synchronous to described.At this, it will be understood by those skilled in the art that " continuing " refers to that each device constantly carries out the reception that the obtaining of transmission, data synchronization request of above-mentioned data synchronization request, first upgraded the synchronous and feedback information of the obtaining of identification information, data, until satisfy predetermined stoppage condition, for example acquisition request device 111 stops obtaining the data synchronization request in a long time.
Fig. 3 illustrate in accordance with a preferred embodiment of the present invention carry out the synchronous equipment schematic diagram of data.Wherein, the first synchronous device 213 comprises comparison determining unit 2131 and 2132.
At this, install 211,212,221,222 identically with reference to the described device 111 of Fig. 2,112,121,122 and 123 content with 223 function and front shown in Fig. 3, for simplicity's sake, it is contained in this with way of reference, do not give unnecessary details and do not do.
At first, relatively determining unit 2131 compares the first renewal identification information and the second renewal identification information, for example extract respectively the first stamp update time that upgrades in identification information and the second renewal identification information, and compare stabbing two update times, whether compare new for the corresponding synchrodata for the treatment of of subscriber equipment end with the synchrodata for the treatment of of determining network equipment end.
Then, when network equipment end when synchrodata is newer, the first data transmission unit 2132 is sent to subscriber equipment with the synchrodata for the treatment of of network equipment end, be used for to upgrade the corresponding synchrodata for the treatment of of subscriber equipment end.
in an example, relatively stab T1 the update time in determining unit 2131 extraction the first renewal identification informations and be " 1288869722 ", stab T2 and be " 1288869719 " update time in extraction the second renewal identification information, wherein, T1 is greater than T2, be network equipment end treat that synchrodata is more late update time, the first data transmission unit 2132 is sent to subscriber equipment 2 with the synchrodata for the treatment of in the network equipment 1, wherein, this treats that synchrodata is sent to subscriber equipment 2 with the form of Key-Value, for example, it can be encapsulated as a request message, as the http request message, and by corresponding communication protocol, as http, https communication protocol, be sent to subscriber equipment 2, subscriber equipment 2 receives this request message from the network equipment 1 by real-time listening ground mode, and resolve and treat synchrodata to obtain this, extract key wherein, and according to this key, matching inquiry is to determine to have the corresponding synchrodata for the treatment of of same keys in customer data base, and then will be somebody's turn to do from the value in synchrodata for the treatment of of the network equipment subscriber equipment corresponding treated that the value in synchrodata replaces, to upgrade the corresponding synchrodata for the treatment of of subscriber equipment end.
Those skilled in the art will be understood that the mode of above-mentioned relatively identification information and/or the mode that synchrodata is treated in transmission are only for example; the mode that synchrodata is treated in the mode of other comparison identification informations existing or that may occur from now on and/or transmission is as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
What Fig. 4 illustrated according to the present invention another preferred embodiment carries out the synchronous equipment schematic diagram of data.Wherein.The first data transmission unit 3132 comprises incremental data acquiring unit 31321 and the second data transmission unit 31322.
At this, install 311,312,3131,321,322 identical with reference to the described device 211 of Fig. 3,212,2131,221,222 and 223 content with 323 function and front shown in Fig. 4, for simplicity's sake, it is contained in this with way of reference, does not give unnecessary details and do not do.
Particularly, when network equipment end when synchrodata is newer, incremental data acquiring unit 31321 upgrades identification information and the second renewal identification information according to first, obtains to treat synchrodata and the corresponding incremental data for the treatment of between synchrodata in subscriber equipment 2 in the network equipment 1; The second data transmission unit 31322 is sent to subscriber equipment 2 with this incremental data, to be used for upgrading the corresponding synchrodata for the treatment of of subscriber equipment 2.
In an example, when network equipment end when synchrodata is newer, incremental data acquiring unit 31321 upgrades identification information and second according to first and upgrades identification information, first published this shop as corresponding in it and second edition this shop, in recording the storehouse, the Data Update of the network equipment 1 carries out matching inquiry, with obtain data corresponding to first published this shop with the different pieces of information part between data corresponding to second edition this shop, with as incremental data, be used for upgrading the corresponding synchrodata for the treatment of of subscriber equipment 2; At this, described Data Update records in the storehouse record first and upgrades identification information and second and upgrade identification information and distinguish corresponding Data Update record, and it includes but not limited to relational database, Key-Value storage system, file system etc.Then, the second data transmission unit 31322 is sent to subscriber equipment 2 with this incremental data by predetermined communication mode, this incremental data is inserted in the customer data base of subscriber equipment 2, to upgrade the corresponding synchrodata for the treatment of in subscriber equipment 2.
The mode that those skilled in the art will be understood that the above-mentioned mode of obtaining incremental data and/or send incremental data is only for for example; other existing or modes of obtaining incremental data that may occur from now on and/or the mode that sends incremental data are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Fig. 5 illustrates and carries out the synchronous equipment schematic diagram of data according to another preferred embodiment of the present invention.Wherein, the first data transmission unit 4132 comprises that the first merge cells 41321, the first merge cellses 41321 comprise request generation unit 413211, the first request transmitting unit 413212 and data receiver unit 413213; The second synchronous device 423 comprises that the second merge cells 4231, the second merge cellses 4231 comprise synchrodata acquiring unit 42311 and the 3rd data transmission unit 42312.
At this, install 411,412,4131,421 identically with reference to the described device 211 of Fig. 3,212,2131,221 and 222 content with 422 function and front shown in Fig. 5, for simplicity's sake, it is contained in this with way of reference, do not give unnecessary details and do not do.
Particularly, in subscriber equipment 2 when synchrodata is newer, the request generation unit 413211 of the first merge cells 41321 generates and obtains the data acquisition request for the treatment of synchrodata in subscriber equipment 2, and wherein, described data acquisition request comprises the application identification information for the treatment of synchrodata.
Then, the first request transmitting unit 413212 is sent to subscriber equipment 2 with this data acquisition request; For example, it can be encapsulated as a request message, as the http request message, and by corresponding communication protocol, as http, https communication protocol, be sent to subscriber equipment 2.
Then, subscriber equipment 2 receives and resolves feedback information from the network equipment 1 by real-time listening ground mode, when this feedback information comprise obtain in subscriber equipment 2 until the data acquisition request of synchrodata the time, the synchrodata acquiring unit 42311 of the second merge cells 4231 is according to this data acquisition request, for example extract the application identification information in this data acquisition request, according to predetermined key create-rule, generate key, and carry out match query in customer data base according to this key, to obtain the treat synchrodata corresponding with this data acquisition request.
Subsequently, the 3rd data transmission unit 42312 treats that with this synchrodata for example by predetermined communication mode, is sent to the network equipment 1, to be used for the more corresponding synchrodata for the treatment of of new network device end.
Subsequently, the data receiver unit 413213 of the network equipment 1 is for example by real-time listening ground mode, receive subscriber equipment 2 in response to the synchrodata for the treatment of of data acquisition request feedback, for example by extracting key wherein, and according to this key, matching inquiry is to determine to have the corresponding synchrodata for the treatment of of same keys in network data base, and then the network equipment 1 will be somebody's turn to do from the value in synchrodata for the treatment of of subscriber equipment 2 network equipment 1 corresponding treated that the value in synchrodata replaces, with the corresponding synchrodata for the treatment of of new network device end more.
those skilled in the art will be understood that above-mentioned generated data obtain the mode of request and/or send the mode of data acquisition request and/or obtain the mode for the treatment of synchrodata and/or mode that synchrodata is treated in mode that synchrodata is treated in transmission and/or reception only for for example, other generated datas existing or that may occur from now on obtain the mode of request and/or send the mode of data acquisition request and/or obtain the mode for the treatment of synchrodata and/or mode that synchrodata is treated in mode that synchrodata is treated in transmission and/or reception as applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this with way of reference.
Fig. 6 illustrates and carries out the method for data synchronization process flow diagram according to one aspect of the invention.Wherein, the network equipment 1 carries out data for one or more application with subscriber equipment 2 synchronizes, and wherein, treats that synchrodata adopts the conventional data storage format.
At this, described application means computer utility, includes but not limited to browser, input method, game etc.
At this, described conventional data storage format includes but not limited to key-value (Key-Value) storage format.Wherein, in described Key-Value storage format, key is used for storage Data Identification information, and its building form includes but not limited to: 1) application identification information-application item identification information, as browser-historical record, input method ID-character library ID; 2) application identification information-application item identification information-user totem information is as browser-historical record-user A; The data of value storage are general object type (object type), rather than specific data type, as file type, character string type, numeric type etc.The data of storing due to described Key-Value storage format intermediate value are general object type, thereby make each dissimilar data become transparent.
Referring to Fig. 6, the network equipment 1 for carrying out the process that data synchronize, one or more application and subscriber equipment 2 is described in detail:
At first, in step S501, subscriber equipment 2 sends to the network equipment 1 data synchronization request for the treatment of synchrodata; Then, in step S502, the network equipment 1 obtains the data synchronization request from subscriber equipment 2, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata.
At this, described application identification information includes but not limited to:
1) Apply Names corresponding with treating synchrodata, application ID;
2) with the application item title for the treatment of the application item that synchrodata is corresponding, application item ID; As the bookmark in browser application, the historical viewings record in browser application, the character library that input method is used, the application configuration information that input method is used etc.; Be a certainly to treat that synchrodata can represent all data of an application, also can represent the data of certain application item in an application.
At this, described transmission treats that the situation of the data synchronization request of synchrodata includes but not limited to:
1) in step S501, subscriber equipment 2 answers Event triggered to send to the network equipment 1 in real time;
2) in step S501, subscriber equipment 2 sends to the network equipment 1 periodically.
in an example, the user by with the interactive mode of subscriber equipment 2, include but not limited to keyboard, mouse, telepilot, touch pad, or handwriting equipment, carry out alternately with the browser software in subscriber equipment 2, take mouse as example, during " preservation bookmark " menu item of user's click browser software, this subscriber equipment obtains the URL(uniform resource locator) (URL) of the webpage of the current demonstration of this browser in real time, the information such as webpage title, and one of insertion comprises this webpage URL in customer data base, the data recording of the information such as webpage title, the predetermined storage mode of this data recording is the Key-Value storage format, wherein, key is " browser-bookmark ", storage webpage URL in value, the data such as webpage title, simultaneously, because the customer data base of subscriber equipment 2 changes, generate thereby trigger subscriber equipment 2 data synchronization request for the treatment of synchrodata, wherein, comprise the bookmark item ID in browser application in this data synchronization request, then in step S501, subscriber equipment 2 is sent to the network equipment 1 with this data synchronization request for the treatment of synchrodata by the communication mode of arranging, for example, it can be encapsulated as a request message, as the http request message, and by corresponding communication protocol, as http, https communication protocol, be sent to the network equipment 1, then, in step S502, the network equipment 1 receives and resolves this request message, the data synchronization request for the treatment of synchrodata to obtain this in real time, at this, comprise the data of one or more application and application item thereof in customer data base, it comprises relational database, Key-Value storage system, file system etc.Each application can have customer data base separately, also can share same customer data base.
In another example, in step S501, the application programming interface that subscriber equipment 2 provides according to the network equipment 1 (API), send the request message of the data synchronization request for the treatment of synchrodata to this network equipment according to predetermined period, for example this data synchronization request is the character library synchronization request that input method is used, wherein, this data synchronization request comprises the title of the character library application item that input method is used; In step S502, the network equipment 1 receives and resolves this request message by the mode of Real Time Monitoring, the data synchronization request for the treatment of synchrodata to obtain this.
The mode that those skilled in the art will be understood that the mode of above-mentioned transmission data synchronization request and/or obtain data synchronization request is only for for example; the mode of other transmission data synchronization request existing or that may occur from now on and/or the mode of obtaining data synchronization request are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Then, in step S503, the network equipment 1 obtains this and treats that synchrodata is at the first renewal identification information of network equipment end according to the application identification information that its data synchronization request of obtaining in step S502 comprises.
At this, described first upgrades identification information is used for marked network equipment 1 and treats accordingly the latest update information of synchrodata from the synchrodata for the treatment of of subscriber equipment 2, includes but not limited to:
1) if in the network equipment 1, treat accordingly that with the synchrodata for the treatment of from subscriber equipment 2 synchrodata exists, the first renewal identification information comprises information update time, version information etc.;
2) if in the network equipment 1, treat accordingly that with the synchrodata for the treatment of from subscriber equipment 2 synchrodata not yet exists, first upgrades identification information and is set to default renewal identification information, as update time information be set to 0.
At this, described first mode of upgrading identification information of obtaining comprises following situation:
-in step S503, the application identification information that the network equipment 1 comprises according to data synchronization request, for example, according to predetermined key create-rule, generate key, and according to this key, carry out matching inquiry in network data base, obtaining the synchrodata for the treatment of in the network equipment corresponding with this key, and then extract the information such as stamp update time for the treatment of synchrodata in this network equipment, version number, upgrade identification information to generate first; At this, include but not limited in described network data base and the synchrodata for the treatment of of treating the corresponding network equipment of synchrodata from subscriber equipment 2, it comprises relational database, Key-Value storage system, file system etc.
in an example, when the data storage method of network data base is the Key-Value storage, in step S503, the network equipment 1 is " input method " according to the Apply Names that data synchronization request comprises, the application item name is called " character library ", key create-rule according to predetermined " Apply Names-application item title ", generate key " input method-character library ", then carry out matching inquiry in network data base, to obtain the value corresponding with this key " input method-character library ", it is the word-base data that input method is used, with as treating the synchronization character database data in the network equipment, and then extract the recent renewal timestamp " 1288869719 " that this treats the synchronization character database data, comprise first of this timestamp with generation and upgrade identification information.
Those skilled in the art will be understood that the above-mentioned mode of the first renewal identification information of obtaining is only for giving an example; other existing or first modes of upgrading identification information of obtaining that may occur from now on are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Preferably (with reference to Fig. 6), data synchronization request from subscriber equipment 2 also comprises the user totem information for the treatment of synchrodata, in step S503, the network equipment 1 can also according to this user totem information and application identification information, obtain and treat that synchrodata is at the first renewal identification information of network equipment end.
Particularly, if in step S502, the data synchronization request that the network equipment 1 obtains comprises application identification information and user totem information, in step S503, the network equipment 1 can be according to this user totem information and application identification information, carry out matching inquiry in network data base, with obtain corresponding with this user totem information and application identification information be specific to one or more specific users treat synchrodata in the network equipment, upgrade identification information to generate first.
in an example, when illustrating Apply Names, data synchronization request is " browser ", the application item name is called " browser setting " and user's name is " user A ", in step S503, the network equipment 1 is according to the key create-rule of predetermined " Apply Names-application item title-user's name ", generate key " browser-browser setting-user A ", then, carry out matching inquiry in network data base according to this key, to obtain value corresponding with this key " browser-browser setting-user A " in the network equipment, the browser that namely is specific to user A arranges the synchrodata for the treatment of of application item, and then extract the recent renewal timestamp that this treats synchrodata, upgrade identification information to generate first.
Those skilled in the art will be understood that the above-mentioned mode of the first renewal identification information of obtaining is only for giving an example; other existing or first modes of upgrading identification information of obtaining that may occur from now on are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Then, in step S504, the network equipment 1 first upgrades identification information and data synchronization request is corresponding treats that synchrodata upgrades identification information at second of subscriber equipment end according to what it obtained in step S503, according to predetermined synchronization rules, between the network equipment 1 and subscriber equipment 2, this is treated that synchrodata carries out data and synchronize.
At this, described second upgrades the latest update information for the treatment of synchrodata that identification information is used for identifying user equipment 2, includes but not limited to information update time for the treatment of synchrodata, version information etc. in subscriber equipment 2.
At this, describedly carry out the synchronous situation of data according to predetermined synchronization rules and include but not limited to:
1) upgrade identification information and second with first and upgrade identification information and compare, for example compare by stabbing update time, to determine treating that whether synchrodata is newly in the corresponding synchrodata for the treatment of in subscriber equipment 2 in the network equipment 1; When in the network equipment 1 when synchrodata is newer, the synchrodata for the treatment of in the network equipment 1 is sent to subscriber equipment 2, to be used for being updated in the corresponding synchrodata for the treatment of of subscriber equipment 2, the specific embodiment of this mode will be elaborated follow-up.
2) when in subscriber equipment 2 when synchrodata is newer, generate to be used for obtaining the data acquisition request for the treatment of synchrodata at subscriber equipment 2; This data acquisition request is sent to subscriber equipment 2, and receive subscriber equipment 2 in response to the synchrodata for the treatment of of this data acquisition request feedback, to be used for being updated in the corresponding synchrodata for the treatment of of the network equipment 1, the specific embodiment of this mode will be elaborated follow-up.
Those skilled in the art will be understood that the above-mentioned synchronous mode of data of carrying out is only for giving an example; other existing or synchronous modes of data of carrying out that may occur from now on are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Subsequently, in step S505, subscriber equipment 2 receives the network equipment 1 in response to the feedback information of data synchronization request by for example real-time listening ground mode;
At this, described feedback information includes but not limited to:
1) when in the network equipment 1 until synchrodata newly in corresponding in subscriber equipment 2 during until synchrodata, feedback information is for treating synchrodata from its of the network equipment 1;
2) when in subscriber equipment 2 until synchrodata newly in corresponding in the network equipment 1 during until synchrodata, feedback information is the data acquisition request for the treatment of synchrodata in subscriber equipment 2 obtained from the network equipment 1.
Those skilled in the art will be understood that the mode of above-mentioned receiving feedback information is only for giving an example; the mode of other receiving feedback informations existing or that may occur from now on is as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Subsequently, in step S506, subscriber equipment 2 is according to its feedback information that receives in step S505, carries out operation accordingly, and to carry out data synchronous to treat synchrodata.
At this, the corresponding operation of described execution includes but not limited to carry out the synchronous situation of data:
1) when feedback information be included in the network equipment 1 until synchrodata the time, in step S506, subscriber equipment 2 is updated in the corresponding synchrodata for the treatment of in subscriber equipment 2 according to the synchrodata for the treatment of of being somebody's turn to do in the network equipment 1, and the specific embodiment of this mode will be elaborated follow-up.
2) when feedback information comprise obtain in subscriber equipment 2 until the data acquisition request of synchrodata the time, in step S506, subscriber equipment 2 obtains the treat synchrodata corresponding with this data acquisition request according to this data acquisition request; And then this is treated that synchrodata is sent to the network equipment 1, to be used for being updated in the corresponding synchrodata for the treatment of of the network equipment 1, the specific embodiment of this mode will be elaborated follow-up.
Preferably, the network equipment 1 in step S502, step S503, step S504 and subscriber equipment 2 be to work continuously in step S501, step S505, step S506.Particularly, in step S501, subscriber equipment 2 sends to the network equipment 1 data synchronization request for the treatment of synchrodata constantly, and wherein, described data synchronization request comprises the described affiliated application identification information of using of synchrodata for the treatment of; Then, in step S502, the network equipment 1 also obtains the data synchronization request from subscriber equipment 2 constantly, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata; Subsequently, in step S503, the network equipment 1 is also constantly according to described application identification information, obtains describedly to treat that synchrodata upgrades identification information at first of described network equipment end; Subsequently, in step S504, the network equipment 1 also upgrades described in identification information and described data synchronization request according to described first constantly and treats that synchrodata upgrades identification information at second of described subscriber equipment end, according to predetermined synchronization rules, treat that to described synchrodata carries out data and synchronize between the described network equipment and described subscriber equipment; Then, in step S505, subscriber equipment 2 also receives the described network equipment constantly in response to the feedback information of described data synchronization request; In step S506, subscriber equipment 2 is also constantly according to described feedback information, carries out operation accordingly, to treat that synchrodata is carried out data synchronous to described.At this, it will be understood by those skilled in the art that " continuing " refers to that the network equipment 1 and subscriber equipment 2 constantly carry out the reception that the obtaining of the transmission of above-mentioned data synchronization request, data synchronization request, first upgraded the synchronous and feedback information of the obtaining of identification information, data in each step, until satisfy predetermined stoppage condition, for example the network equipment 1 stops obtaining the data synchronization request in a long time.
Fig. 7 illustrate in accordance with a preferred embodiment of the present invention carry out the synchronous method flow diagram of data.Wherein, step S604 comprises step S6041 and step S6042.
At this, the network equipment shown in Fig. 71 is identical with the content of subscriber equipment 1 in step S501, step S505, step S506 in step S502, step S503 with reference to the described network equipment 1 of Fig. 6 with the front with the function of subscriber equipment 1 in step S601, step S605, step S606 in step S602, step S603, for simplicity's sake, it is contained in this with way of reference, does not give unnecessary details and do not do.
At first, in step S6041, the network equipment 1 upgrades identification information with first and the second renewal identification information compares, for example extract respectively the first stamp update time that upgrades in identification information and the second renewal identification information, and compare stabbing two update times, whether compare new for the corresponding synchrodata for the treatment of of subscriber equipment end with the synchrodata for the treatment of of determining network equipment end.
Then, when network equipment end when synchrodata is newer, in step S6042, the network equipment 1 is sent to subscriber equipment with the synchrodata for the treatment of of network equipment end, be used for to upgrade the corresponding synchrodata for the treatment of of subscriber equipment end.
in an example, in step S6041, stab T1 and be " 1288869722 " update time in the network equipment 1 extraction the first renewal identification information, stab T2 and be " 1288869719 " update time in extraction the second renewal identification information, wherein, T1 is greater than T2, be network equipment end treat that synchrodata is more late update time, in step S6042, the network equipment 1 is sent to subscriber equipment 2 with the synchrodata for the treatment of in the network equipment 1, wherein, this treats that synchrodata is sent to subscriber equipment 2 with the form of Key-Value, for example, it can be encapsulated as a request message, as the http request message, and by corresponding communication protocol, as http, https communication protocol, be sent to subscriber equipment 2, subscriber equipment 2 receives this request message from the network equipment 1 by real-time listening ground mode, and resolve and treat synchrodata to obtain this, extract key wherein, and according to this key, matching inquiry is to determine to have the corresponding synchrodata for the treatment of of same keys in customer data base, and then will be somebody's turn to do from the value in synchrodata for the treatment of of the network equipment subscriber equipment corresponding treated that the value in synchrodata replaces, to upgrade the corresponding synchrodata for the treatment of of subscriber equipment end.
Those skilled in the art will be understood that the mode of above-mentioned relatively identification information and/or the mode that synchrodata is treated in transmission are only for example; the mode that synchrodata is treated in the mode of other comparison identification informations existing or that may occur from now on and/or transmission is as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
What Fig. 8 illustrated according to the present invention another preferred embodiment carries out the synchronous method flow diagram of data.Wherein, step S7042 comprises step S70421 and step S70422.
At this, the network equipment shown in Fig. 81 is identical with the content of subscriber equipment 1 in step S601, step S605, step S606 in step S602, step S603, step S6041 with reference to the described network equipment 1 of Fig. 7 with the front with the function of subscriber equipment 1 in step S701, step S705, step S706 in step S702, step S703, step S7041, for simplicity's sake, it is contained in this with way of reference, does not give unnecessary details and do not do.
Particularly, when network equipment end when synchrodata is newer, in step S70421, the network equipment 1 upgrades identification information and the second renewal identification information according to first, obtains to treat synchrodata and the corresponding incremental data for the treatment of between synchrodata in subscriber equipment 2 in the network equipment 1; In step S70422, the network equipment 1 is sent to subscriber equipment 2 with this incremental data, to be used for upgrading the corresponding synchrodata for the treatment of of subscriber equipment 2.
In an example, when network equipment end when synchrodata is newer, in step S70421, the network equipment 1 upgrades identification information and second according to first and upgrades identification information, first published this shop as corresponding in it and second edition this shop, in recording the storehouse, the Data Update of the network equipment 1 carries out matching inquiry, with obtain data corresponding to first published this shop with the different pieces of information part between data corresponding to second edition this shop, with as incremental data, be used for upgrading the corresponding synchrodata for the treatment of of subscriber equipment 2; At this, described Data Update records in the storehouse record first and upgrades identification information and second and upgrade identification information and distinguish corresponding Data Update record, and it includes but not limited to relational database, Key-Value storage system, file system etc.Then, in step S70422, the network equipment 1 is sent to subscriber equipment 2 with this incremental data by predetermined communication mode, this incremental data is inserted in the customer data base of subscriber equipment 2, to upgrade the corresponding synchrodata for the treatment of in subscriber equipment 2.
The mode that those skilled in the art will be understood that the above-mentioned mode of obtaining incremental data and/or send incremental data is only for for example; other existing or modes of obtaining incremental data that may occur from now on and/or the mode that sends incremental data are as applicable to the present invention; also should be included in protection domain of the present invention, and be contained in this with way of reference.
Fig. 9 illustrates and carries out the synchronous method flow diagram of data according to another preferred embodiment of the present invention.Wherein, step S8042 comprises step S80421 and step S80422, step S80423, and step S806 comprises step S8061, step S8062.
At this, the network equipment shown in Fig. 91 is identical with the content of subscriber equipment 1 in step S601, step S605 in step S602, step S603, step S6041 with reference to the described network equipment 1 of Fig. 7 with the front with the function of subscriber equipment 1 in step S801, step S805 in step S802, step S803, step S8041, for simplicity's sake, it is contained in this with way of reference, does not give unnecessary details and do not do.
Particularly, in subscriber equipment 2 when synchrodata is newer, in step S80421, the network equipment 1 generates and obtains the data acquisition request for the treatment of synchrodata in subscriber equipment 2, wherein, described data acquisition request comprises the application identification information for the treatment of synchrodata.
Then, in step S80422, the network equipment 1 is sent to subscriber equipment 2 with this data acquisition request; For example, it can be encapsulated as a request message, as the http request message, and by corresponding communication protocol, as http, https communication protocol, be sent to subscriber equipment 2.
Then, subscriber equipment 2 receives and resolves feedback information from the network equipment 1 by real-time listening ground mode, when this feedback information comprise obtain in subscriber equipment 2 until the data acquisition request of synchrodata the time, in step S8061, subscriber equipment 2 is according to this data acquisition request, for example extract the application identification information in this data acquisition request, according to predetermined key create-rule, generate key, and carry out match query in customer data base according to this key, to obtain the treat synchrodata corresponding with this data acquisition request.
Subsequently, in step S8062, subscriber equipment 2 treats that with this synchrodata for example by predetermined communication mode, is sent to the network equipment 1, to be used for the more corresponding synchrodata for the treatment of of new network device end.
Subsequently, in step S80423, the network equipment 1 is for example by real-time listening ground mode, receive subscriber equipment 2 in response to the synchrodata for the treatment of of data acquisition request feedback, for example by extracting key wherein, and according to this key, matching inquiry is to determine to have the corresponding synchrodata for the treatment of of same keys in network data base, and then the network equipment 1 will be somebody's turn to do from the value in synchrodata for the treatment of of subscriber equipment 2 network equipment 1 corresponding treated that the value in synchrodata replaces, with the corresponding synchrodata for the treatment of of new network device end more.
those skilled in the art will be understood that above-mentioned generated data obtain the mode of request and/or send the mode of data acquisition request and/or obtain the mode for the treatment of synchrodata and/or mode that synchrodata is treated in mode that synchrodata is treated in transmission and/or reception only for for example, other generated datas existing or that may occur from now on obtain the mode of request and/or send the mode of data acquisition request and/or obtain the mode for the treatment of synchrodata and/or mode that synchrodata is treated in mode that synchrodata is treated in transmission and/or reception as applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this with way of reference.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and in the situation that do not deviate from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims rather than above-mentioned explanation, therefore is intended to be included in the present invention dropping on the implication that is equal to important document of claim and all changes in scope.Any Reference numeral in claim should be considered as limit related claim.In addition, obviously other unit or step do not got rid of in " comprising " word, and odd number is not got rid of plural number.A plurality of unit of stating in the device claim or device also can be realized by software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (19)

1. one kind is carried out the synchronous method of data in the network equipment, and wherein, the described network equipment is that one or more application are carried out data with subscriber equipment and synchronizeed, and wherein, treats that synchrodata adopts the conventional data storage format, and wherein, the method comprises the following steps:
A obtains the data synchronization request from subscriber equipment, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata;
B is according to described application identification information, obtains describedly to treat that synchrodata upgrades identification information at first of described network equipment end;
C upgrades described in identification information and described data synchronization request according to described first and treats that synchrodata upgrades identification information at second of described subscriber equipment end, according to predetermined synchronization rules, treat that to described synchrodata carries out data and synchronize between the described network equipment and described subscriber equipment.
2. method according to claim 1, wherein, described data synchronization request also comprises the user totem information for the treatment of synchrodata, wherein, described step b comprises:
-according to described user totem information and described application identification information, obtain and describedly treat that synchrodata upgrades identification information at first of described network equipment end.
3. method according to claim 1 and 2, wherein, described step c comprises:
Whether c1 upgrades identification information with described first and described the second renewal identification information compares, compare new for the corresponding synchrodata for the treatment of of described subscriber equipment end with the synchrodata for the treatment of of determining described network equipment end;
C2 when described network equipment end when synchrodata is newer, the synchrodata for the treatment of of described network equipment end is sent to described subscriber equipment, to be used for upgrading the corresponding synchrodata for the treatment of of described subscriber equipment end.
4. method according to claim 3, wherein, described step c2 also comprises:
C21 upgrades identification information and described second according to described first and upgrades identification information, obtains the corresponding incremental data for the treatment of between synchrodata for the treatment of synchrodata and described subscriber equipment end of described network equipment end;
C22 is sent to described subscriber equipment with described incremental data, to be used for upgrading the corresponding synchrodata for the treatment of of described subscriber equipment end.
5. method according to claim 3, wherein, described step c2 comprises:
-when described subscriber equipment end when synchrodata is newer, carry out following operation:
-generate for the described data acquisition request for the treatment of synchrodata of obtaining described subscriber equipment end;
-described data acquisition request is sent to described subscriber equipment;
-receive described user device responsive in the synchrodata for the treatment of of described data acquisition request feedback, to be used for upgrading the corresponding synchrodata for the treatment of of described network equipment end.
6. the described method of any one according to claim 1 to 5, wherein, described conventional data storage format comprises key-value (key-value) storage format.
7. one kind auxiliaryly in subscriber equipment is carried out the synchronous method of data, and the method comprises the following steps:
A sends the data synchronization request for the treatment of synchrodata to the network equipment, wherein, described data synchronization request comprises the described affiliated application identification information of using of synchrodata for the treatment of;
B receives the described network equipment in response to the feedback information of described data synchronization request;
C is according to described feedback information, carries out operation accordingly, to treat that synchrodata is carried out data synchronous to described.
8. method according to claim 7, wherein, described step C comprises:
-when described feedback information comprise described network equipment end until synchrodata the time, according to the synchrodata for the treatment of of described network equipment end, upgrade the corresponding synchrodata for the treatment of of described subscriber equipment end.
9. method according to claim 7, wherein, described step C comprises:
-when described feedback information comprise obtain described subscriber equipment end until the data acquisition request of synchrodata the time, carry out following operation:
-according to described data acquisition request, obtain described the treat synchrodata corresponding with described data acquisition request;
-treat that with described synchrodata is sent to the described network equipment, to be used for upgrading the corresponding synchrodata for the treatment of of described network equipment end.
10. one kind is carried out the synchronous network equipment of data, and wherein, the described network equipment is that one or more application are carried out data with subscriber equipment and synchronizeed, and wherein, treats that synchrodata adopts the conventional data storage format, and wherein, this equipment comprises:
The acquisition request device is used for obtaining the data synchronization request from subscriber equipment, and wherein, described data synchronization request comprises treats the affiliated application identification information of using of synchrodata;
The identification information deriving means is used for according to described application identification information, obtains describedly to treat that synchrodata upgrades identification information at first of described network equipment end;
The first synchronous device, be used for upgrading the described of identification information and described data synchronization request according to described first and treat that synchrodata is at the second renewal identification information of described subscriber equipment end, according to predetermined synchronization rules, treat that to described synchrodata carries out data and synchronize between the described network equipment and described subscriber equipment.
11. equipment according to claim 10, wherein, described data synchronization request also comprises the user totem information for the treatment of synchrodata, wherein, described identification information deriving means is used for according to described user totem information and described application identification information, obtains describedly to treat that synchrodata upgrades identification information at first of described network equipment end.
12. according to claim 10 or 11 described equipment, wherein, described the first synchronous device comprises:
Whether relatively determining unit, be used for that described the first renewal identification information and described second is upgraded identification information and compare, compare new for the corresponding synchrodata for the treatment of of described subscriber equipment end with the synchrodata for the treatment of of determining described network equipment end;
The first data transmission unit, be used for when described network equipment end when synchrodata is newer, the synchrodata for the treatment of of described network equipment end is sent to described subscriber equipment, with for the corresponding synchrodata for the treatment of of upgrading described subscriber equipment end.
13. equipment according to claim 12, wherein, described the first data transmission unit also comprises:
The incremental data acquiring unit is used for upgrading identification information and described second according to described first and upgrades identification information, obtains the corresponding incremental data for the treatment of between synchrodata for the treatment of synchrodata and described subscriber equipment end of described network equipment end;
The second data transmission unit is used for described incremental data is sent to described subscriber equipment, to be used for upgrading the corresponding synchrodata for the treatment of of described subscriber equipment end.
14. equipment according to claim 12, wherein, described the first data transmission unit comprises:
The first merge cells, be used for when described subscriber equipment end when synchrodata is newer, comprising:
The request generation unit is used for generating the described data acquisition request for the treatment of synchrodata that is used for obtaining described subscriber equipment end;
The first request transmitting unit is used for described data acquisition request is sent to described subscriber equipment;
The data receiver unit is used for receiving described user device responsive in the synchrodata for the treatment of of described data acquisition request feedback, to be used for upgrading the corresponding synchrodata for the treatment of of described network equipment end.
15. according to claim 10 to the described equipment of any one in 14, wherein, described conventional data storage format comprises key-value (key-value) storage format.
16. assist and carry out the synchronous subscriber equipment of data for one kind, this equipment comprises:
The second send-request unit is used for sending to the network equipment data synchronization request for the treatment of synchrodata, and wherein, described data synchronization request comprises the described affiliated application identification information of using of synchrodata for the treatment of;
Information receiver is used for receiving the described network equipment in response to the feedback information of described data synchronization request;
The second synchronous device is used for according to described feedback information, carries out operation accordingly, to treat that synchrodata is carried out data synchronous to described.
17. equipment according to claim 16, wherein, described the second synchronous device be used for when described feedback information comprise described network equipment end until synchrodata the time, according to the synchrodata for the treatment of of described network equipment end, upgrade the corresponding synchrodata for the treatment of of described subscriber equipment end.
18. equipment according to claim 16, wherein, described the second synchronous device comprises:
The second merge cells, be used for when described feedback information comprise obtain described subscriber equipment end until the data acquisition request of synchrodata the time, comprising:
The synchrodata acquiring unit is used for according to described data acquisition request, obtains described the treat synchrodata corresponding with described data acquisition request;
The 3rd data transmission unit is used for treating that with described synchrodata is sent to the described network equipment, to be used for upgrading the corresponding synchrodata for the treatment of of described network equipment end.
19. one kind is carried out data synchronous systems, comprises the network equipment as described in any one in claim 10 to 15 and subscriber equipment as described in any one in claim 16 to 18.
CN201110413820XA 2011-12-09 2011-12-09 Method, equipment and system for conducting data synchronism by adopting general data storage format Pending CN103164422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110413820XA CN103164422A (en) 2011-12-09 2011-12-09 Method, equipment and system for conducting data synchronism by adopting general data storage format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110413820XA CN103164422A (en) 2011-12-09 2011-12-09 Method, equipment and system for conducting data synchronism by adopting general data storage format

Publications (1)

Publication Number Publication Date
CN103164422A true CN103164422A (en) 2013-06-19

Family

ID=48587517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110413820XA Pending CN103164422A (en) 2011-12-09 2011-12-09 Method, equipment and system for conducting data synchronism by adopting general data storage format

Country Status (1)

Country Link
CN (1) CN103164422A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243533A (en) * 2013-06-21 2014-12-24 英华达(上海)科技有限公司 Method for performing data sharing and data synchronization in local area network
CN105162865A (en) * 2015-09-14 2015-12-16 海智网聚网络技术(北京)有限公司 Method and device for data synchronization
CN105407117A (en) * 2014-09-10 2016-03-16 腾讯科技(深圳)有限公司 Distributed data backup method, device and system
CN105827699A (en) * 2016-03-16 2016-08-03 心动网络股份有限公司 Data synchronization method
CN108090152A (en) * 2017-12-11 2018-05-29 阿里巴巴集团控股有限公司 A kind of method of data synchronization and system
CN109408376A (en) * 2018-09-28 2019-03-01 深圳乐信软件技术有限公司 A kind of generation method of configuration data, device, equipment and storage medium
CN109885614A (en) * 2019-01-04 2019-06-14 平安科技(深圳)有限公司 A kind of method and apparatus that data are synchronous
CN110147380A (en) * 2019-05-23 2019-08-20 腾讯科技(成都)有限公司 Data-updating method, device, server and storage medium
CN111614750A (en) * 2020-05-19 2020-09-01 深圳市网心科技有限公司 Data updating method, system, equipment and storage medium
CN113010610A (en) * 2021-04-15 2021-06-22 上海绚显科技有限公司 Data synchronization method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442789A (en) * 2002-03-01 2003-09-17 夏普株式会社 Information processing device
CN1713674A (en) * 2004-06-25 2005-12-28 华为技术有限公司 Telephone book system, updating and calling method for telephone book of mobile terminal telephone book
CN101075864A (en) * 2007-07-16 2007-11-21 腾讯科技(深圳)有限公司 Method for synchronizing and processing data, customer terminal equipment and servo
CN101616132A (en) * 2008-06-24 2009-12-30 中国移动通信集团公司 A kind of data capture method and device thereof and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442789A (en) * 2002-03-01 2003-09-17 夏普株式会社 Information processing device
CN1713674A (en) * 2004-06-25 2005-12-28 华为技术有限公司 Telephone book system, updating and calling method for telephone book of mobile terminal telephone book
CN101075864A (en) * 2007-07-16 2007-11-21 腾讯科技(深圳)有限公司 Method for synchronizing and processing data, customer terminal equipment and servo
CN101616132A (en) * 2008-06-24 2009-12-30 中国移动通信集团公司 A kind of data capture method and device thereof and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243533B (en) * 2013-06-21 2018-03-30 英华达(上海)科技有限公司 The method that data sharing and data syn-chronization are carried out in LAN
CN104243533A (en) * 2013-06-21 2014-12-24 英华达(上海)科技有限公司 Method for performing data sharing and data synchronization in local area network
CN105407117B (en) * 2014-09-10 2019-04-09 腾讯科技(深圳)有限公司 The methods, devices and systems of distributed backup data
CN105407117A (en) * 2014-09-10 2016-03-16 腾讯科技(深圳)有限公司 Distributed data backup method, device and system
CN105162865A (en) * 2015-09-14 2015-12-16 海智网聚网络技术(北京)有限公司 Method and device for data synchronization
CN105827699A (en) * 2016-03-16 2016-08-03 心动网络股份有限公司 Data synchronization method
CN108090152B (en) * 2017-12-11 2021-11-30 创新先进技术有限公司 Data synchronization method and system
CN108090152A (en) * 2017-12-11 2018-05-29 阿里巴巴集团控股有限公司 A kind of method of data synchronization and system
CN109408376A (en) * 2018-09-28 2019-03-01 深圳乐信软件技术有限公司 A kind of generation method of configuration data, device, equipment and storage medium
CN109408376B (en) * 2018-09-28 2022-04-22 深圳乐信软件技术有限公司 Configuration data generation method, device, equipment and storage medium
CN109885614A (en) * 2019-01-04 2019-06-14 平安科技(深圳)有限公司 A kind of method and apparatus that data are synchronous
CN110147380A (en) * 2019-05-23 2019-08-20 腾讯科技(成都)有限公司 Data-updating method, device, server and storage medium
CN110147380B (en) * 2019-05-23 2023-11-24 腾讯科技(成都)有限公司 Data updating method, device, server and storage medium
CN111614750A (en) * 2020-05-19 2020-09-01 深圳市网心科技有限公司 Data updating method, system, equipment and storage medium
CN111614750B (en) * 2020-05-19 2023-05-12 深圳市网心科技有限公司 Data updating method, system, equipment and storage medium
CN113010610A (en) * 2021-04-15 2021-06-22 上海绚显科技有限公司 Data synchronization method and device

Similar Documents

Publication Publication Date Title
CN103164422A (en) Method, equipment and system for conducting data synchronism by adopting general data storage format
CN104572843B (en) The loading method and device of a kind of page
CN103457905B (en) Method of data synchronization, system and equipment
CN103765423B (en) Gathering transaction data associated with locally stored data files
CN102164186B (en) Method and system for realizing cloud search service
CN102289480B (en) Method and system for updating data
CN102420813B (en) Method and device for providing target information according to terminal attributes of user equipment
CN102917061B (en) Resource synchronization method and system
WO2014056337A1 (en) Search word acquisition method, server and search word recommendation system
CN103916482A (en) Data synchronous transmission method based on sqlite
CN103309884A (en) User behavior data collecting method and system
CN102314496A (en) Method and equipment for previewing media file
CN103955495B (en) The method for down loading and device of page child resource
CN102970348A (en) Method and system for network application propelling and network application server
CN102298617A (en) Method for obtaining target page and equipment
CN102651021A (en) Icon content updating method and device
CN104283926A (en) Data synchronization method, device and server
CN102323937A (en) Method and equipment for providing search result
CN102904960A (en) Information synchronizing system and method based on really simple syndication (RSS)
CN102163196B (en) Implementation method and system thereof for intelligent browser of mobile terminal
CN107844488B (en) Data query method and device
CN102412993A (en) Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface
CN102314437A (en) Method for supporting user to browse multiple format resources and equipment
CN102546811A (en) Method and device for arranging browser plugin on mobile terminal
CN107463657A (en) File operation method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130619