CN103685333A - Data synchronization method, terminal equipment, register server and web page server - Google Patents
Data synchronization method, terminal equipment, register server and web page server Download PDFInfo
- Publication number
- CN103685333A CN103685333A CN201210318792.8A CN201210318792A CN103685333A CN 103685333 A CN103685333 A CN 103685333A CN 201210318792 A CN201210318792 A CN 201210318792A CN 103685333 A CN103685333 A CN 103685333A
- Authority
- CN
- China
- Prior art keywords
- terminal equipment
- web page
- domain name
- page server
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a data synchronization method, terminal equipment, a register server and a web page server, and belongs to the technical field of networks. The method comprises the following steps: receiving first information through the terminal equipment; sending a first synchronization request to the web page server from the terminal equipment according to the first information, wherein the first synchronization request carries the first information and a terminal mark of the terminal equipment; performing data synchronization according to the first information and the terminal mark when the web page server receives the first synchronization request. Due to the adoption of the technical scheme, the terminal mark is used as a data synchronization index in the data synchronization process of the terminal equipment, and the data synchronization process is carried out on the web page server, so that the data synchronization process of the terminal equipment cannot be restricted by a data synchronization application, frequent interaction between a login web page server or a data synchronization application server and the server is avoided, and the data synchronization process is simplified.
Description
Technical field
The present invention relates to networking technology area, particularly a kind of method of data synchronization, terminal equipment, registrar and web page server.
Background technology
Along with the development of network technology, the data that terminal equipment need to be preserved are more and more, and for the sake of security, terminal equipment generally passes through data synchronously or the means of data backup, realizes the many places storage of same piece of data.Particularly, terminal equipment can be by local backup and synchronously to carry out data synchronous, the functions such as Account Registration that can also provide by the server on network, take account as according to server between synchronize and back up.
In realizing process of the present invention, inventor finds that prior art at least exists following problem:
Synchronous and the backup that the account of take is foundation, need to be based on account and data synchronization applications, for the terminal equipment of installation data synchronous applications not, cannot realize synchronous, greatly limited the scope of application, and based on the synchronous of account and backup, need frequent mutual between terminal equipment and server, process is complicated.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method of data synchronization, terminal equipment, registrar and web page server.Described technical scheme is as follows:
A method of data synchronization, described method comprises:
Terminal equipment receives the first information;
Described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.
A method of data synchronization, comprising:
The registration request that receiving terminal apparatus sends;
According to the registration request of described terminal equipment, it is described terminal equipment distributing terminals sign;
Described terminal iidentification is sent to described terminal equipment.
A method of data synchronization, comprising:
The first synchronization request that web page server receiving terminal apparatus sends, described the first synchronization request is carried the terminal iidentification of the first information and described terminal equipment;
It is synchronous that described web page server carries out data according to the described first information and described terminal iidentification.
A terminal equipment, comprising:
Receiver module, for receiving the first information;
Sending module, be used for according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.
A registrar, comprising:
Receiver module, the registration request sending for receiving terminal apparatus;
Distribution module, for according to the registration request of described terminal equipment, is described terminal equipment distributing terminals sign;
Sending module, for sending to described terminal equipment by described terminal iidentification.
A web page server, comprising:
Receiver module, the first synchronization request sending for receiving terminal apparatus, described the first synchronization request is carried the terminal iidentification of the first information and described terminal equipment;
Data simultaneous module, synchronous for carry out data according to the described first information and described terminal iidentification.
The method of data synchronization that the embodiment of the present invention provides, terminal equipment, registrar and web page server, receive the first information by terminal equipment; Described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.Adopt technical scheme of the present invention, terminal equipment is in carrying out the synchronous process of data, use terminal iidentification as the synchronous index of its data, synchronous in the enterprising row data of web page server, can make the data synchronization process of terminal equipment not be subject to the restriction of data synchronization applications, avoided log-on webpage server or data synchronization applications server and and server between frequent mutual, simplified the synchronous flow process of data.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of method of data synchronization of providing of the embodiment of the present invention;
Fig. 2 is the flow chart of a kind of method of data synchronization of providing of the embodiment of the present invention;
Fig. 3 is the flow chart of a kind of method of data synchronization of providing of the embodiment of the present invention;
Fig. 4 is the particular flow sheet of a kind of method of data synchronization of providing of the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of terminal equipment of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of registrar of providing of the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of web page server of providing of the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the flow chart of a kind of method of data synchronization of providing of the embodiment of the present invention.The executive agent of this embodiment is terminal equipment, particularly, this terminal equipment can be mobile terminal or fixed terminal, mobile terminal can be smart mobile phone, panel computer, MP3(Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), PDA(Personal Digital Assistant, personal digital assistant) etc., fixed terminal can be PC(Personal Computer, PC) etc.Referring to Fig. 1, described method comprises:
101, terminal equipment receives the first information;
In the present embodiment, terminal equipment receives the first information can comprise following arbitrary situation: terminal equipment starts browser, by the webpage corresponding to the corresponding domain name of terminal iidentification of browser access terminal equipment, user inputs the first information on webpage, thereby terminal equipment receives the first information; Or, terminal equipment log-on data synchronous applications, user inputs the first information in data synchronization applications, thus terminal equipment receives the first information.
102, described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.
Wherein, terminal iidentification can, for (Globally Unique Identifier, globally unique identifier), be used for identifying the unique identity in a certain system.
It should be noted that, on terminal equipment, preserve the terminal iidentification that registrar distributes for this terminal equipment, therefore when sending the first synchronization request, in the first synchronization request, not only carry the first information, also need to carry this terminal iidentification, while receiving this first synchronization request with convenient web page server, according to the described first information and described terminal iidentification, carry out data synchronous.
The method of data synchronization that the embodiment of the present invention provides, receives the first information by terminal equipment; Described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.Adopt technical scheme of the present invention, terminal equipment is in carrying out the synchronous process of data, use terminal iidentification as the synchronous index of its data, synchronous in the enterprising row data of web page server, can make the data synchronization process of terminal equipment not be subject to the restriction of data synchronization applications, avoided log-on webpage server or data synchronization applications server and and server between frequent mutual, simplified the synchronous flow process of data.
Alternatively, technical scheme based on embodiment illustrated in fig. 1, step 102 " described terminal equipment, according to the described first information, sends the first synchronization request to web page server " comprises before: described terminal equipment receives and preserve the described terminal iidentification that registrar distributes.
In the present embodiment, terminal equipment is when first installation browser or data synchronization applications, need to send registration request to this browser or registrar corresponding to data synchronization applications, so that this registrar is this terminal equipment distributing terminals sign, for each terminal equipment all distributes and its unique corresponding terminal iidentification, terminal equipment is using this terminal iidentification as carrying out the index of data when synchronous, web page server when sending synchronization request, carries this terminal iidentification, so that can be determined the webpage that this terminal equipment should be accessed according to this terminal iidentification.
The method of data synchronization that the embodiment of the present invention provides, receives the first information by terminal equipment; Described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.Adopt technical scheme of the present invention, terminal equipment is in carrying out the synchronous process of data, use terminal iidentification as the synchronous index of its data, synchronous in the enterprising row data of web page server, can make the data synchronization process of terminal equipment not be subject to the restriction of data synchronization applications, avoided log-on webpage server or data synchronization applications server and and server between frequent mutual, simplified the synchronous flow process of data.Further, by registrar, be the process that terminal equipment is carried out registration and distributing terminals sign, make web page server only be to provide the synchronous platform of data, avoided too much Signalling exchange.
Alternatively, the technical scheme based on embodiment illustrated in fig. 1, step 102 " described terminal equipment, according to the described first information, sends the first synchronization request to web page server " also comprises step () and/or step (two) before:
(1) described terminal equipment receives and preserves the domain name that described registrar distributes;
In the present embodiment, terminal equipment is when first installation browser or data synchronization applications, need to send registration request to this browser or registrar corresponding to data synchronization applications, so that this registrar is this terminal equipment distributing terminals sign and domain name, for each terminal equipment all distributes and its unique corresponding terminal iidentification, and all distribute and its unique corresponding domain name for each terminal equipment, terminal equipment receives and preserves terminal iidentification and the domain name that described registrar distributes.
Simultaneously, the domain name that registrar is distributed to terminal equipment according to this creates webpage corresponding to this domain name on web page server, in data synchronization process, terminal equipment is using this terminal iidentification as carrying out the synchronous index of data, or, terminal equipment is by this domain name of access, so that web page server can be determined the webpage that this terminal equipment should be accessed according to this domain name.
(2) described terminal equipment sends domain name bind request to registrar, domain name bind request is carried designated domain name and described terminal iidentification, make described registrar when receiving domain name bind request, bind described designated domain name and described terminal iidentification, and on described web page server, create webpage corresponding to described designated domain name.
In order to strengthen user's experience, make the distribution of domain name more personalized, long or the irregular input inconvenience causing of the domain name of simultaneously also distributing for fear of registrar, the embodiment of the present invention provides the mode of the self-defined domain name of terminal equipment, the register flow path of personalized domain name is initiated in permission by terminal equipment, the designated domain name of submitting a self-defining designated domain name to or once registering is to registrar, registrar is received after designated domain name, binding designated domain name and terminal iidentification, and send binding acknowledgement to terminal, same binding designated domain name and terminal iidentification after terminal equipment is confirmed, while making to access at every turn, all can access this designated domain name.
Preferably, the designated domain name of carrying when domain name bind request is during for the self-defining designated domain name of this terminal equipment, registrar is bound the self-defining designated domain name of this terminal equipment and terminal iidentification, and on described web page server, creates webpage corresponding to described designated domain name;
The designated domain name of carrying when domain name bind request for once registered designated domain name time, registrar is bound this designated domain name of once registering and terminal iidentification.
It should be noted that, designated domain name for designated domain name for once registering, can guarantee that same domain name can repeatedly be used, once there is browser refitting or change synchronous terminal, can by bind this designated domain name of once registering and change after terminal iidentification carry out data recovery or data synchronous.
In above-mentioned steps () and (two), provide different field name methods, in step (), be to carry out domain name distribution binding by registrar, and the passive reception of terminal equipment, and in step (two), be to have the self-defined domain name of terminal equipment, and notice registrar is bound, for the present embodiment, the process of this domain name binding can comprise this step () and (two), can also comprise step () or (two), the present embodiment is not specifically limited this.
Further, after binding, the terminal iidentification of binding and domain name are sent to web page server, when this web page server receives the access request to this domain name, can to initiating the terminal of access, verify according to terminal iidentification, can also to initiating the terminal of access, verify by the method for password authentification, making can be diversified to the access of web page server, and do not accessed the restriction of initiating terminal, user initiates access from terminal corresponding to terminal iidentification, can directly to this webpage, conduct interviews, and user initiates access from other-end equipment, the mode of verifying that can access to your password conducts interviews to webpage.
The method of data synchronization that the embodiment of the present invention provides, receives the first information by terminal equipment; Described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.Adopt technical scheme of the present invention, terminal equipment is in carrying out the synchronous process of data, use terminal iidentification as the synchronous index of its data, synchronous in the enterprising row data of web page server, can make the data synchronization process of terminal equipment not be subject to the restriction of data synchronization applications, avoided log-on webpage server or data synchronization applications server and and server between frequent mutual, simplified the synchronous flow process of data.Further, registrar according to the domain name of distributing on web page server for terminal equipment creates corresponding webpage, so that this terminal equipment and other-end equipment can be according to domain name access webpages, or data are synchronized to this corresponding webpage, the use procedure such as make the synchronous of data or check, is not subject to the restriction of terminal equipment type, without authentication, directly by domain name, carry out the Web page system of Information Sharing, the data that can realize cross-terminal or multiple terminals are synchronous and shared.
Alternatively, the technical scheme based on embodiment illustrated in fig. 1, described method also comprises step (three) and/or step (four):
(3) described terminal equipment receives the specific data that described web page server sends; Described specific data is sent while changing by data corresponding to the above terminal iidentification of described web page server;
In the present embodiment, synchronously can have two kinds of forms, in step (three), be to terminal equipment by web page server active push.
Web page server to data variation to be judged as prior art disclosed, at this, do not repeat.
(4) when described terminal equipment is opened synchronizing function, to described web page server, send the second synchronization request, described the second synchronization request is carried described terminal iidentification, make described web page server according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment; When described terminal equipment obtains unsuccessfully, obtain the data of described terminal equipment buffer memory.
And in this step (four), initiatively to web page server request synchrodata by terminal equipment, now, need terminal equipment to send the second synchronization request to web page server, and carried terminal sign is as the index in data synchronization process, make web page server according to terminal iidentification, obtain on this web page server, preserve with the corresponding data of terminal iidentification.
In the present embodiment, terminal iidentification with and corresponding data are all corresponding preservations, web page server can inquire its corresponding data by terminal iidentification.
It should be noted that, on this terminal equipment, be also cached with the data that pull from web page server or this terminal equipment in certain hour section to the synchronous data of web page server, when unavailable or web page server is unreachable at network service, for terminal equipment, in this locality, carry out data synchronous.Preferably, the buffer memory of this terminal equipment is realized by browser or data synchronization applications.
The method of data synchronization that the embodiment of the present invention provides, receives the first information by terminal equipment; Described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.Adopt technical scheme of the present invention, terminal equipment is in carrying out the synchronous process of data, use terminal iidentification as the synchronous index of its data, synchronous in the enterprising row data of web page server, can make the data synchronization process of terminal equipment not be subject to the restriction of data synchronization applications, avoided log-on webpage server or data synchronization applications server and and server between frequent mutual, simplified the synchronous flow process of data.Further, two kinds of specific implementations that data are synchronous are also provided, realized at terminal equipment and having synchronizeed with the data between web page server, also further guaranteed that the data on web page server can not be tampered, its be only synchronously with particular terminal device between synchronize.
Fig. 2 is the flow chart of a kind of method of data synchronization of providing of the embodiment of the present invention.Referring to Fig. 2, the executive agent of this embodiment is registrar.Referring to Fig. 2, this embodiment comprises:
201, the registration request that receiving terminal apparatus sends;
202,, according to the registration request of described terminal equipment, be described terminal equipment distributing terminals sign;
203, described terminal iidentification is sent to described terminal equipment.
In the present embodiment, terminal equipment is when first installation browser or data synchronization applications, need to send registration request to this browser or registrar corresponding to data synchronization applications, this registrar is this terminal equipment distributing terminals sign, for each terminal equipment all distributes and its unique corresponding terminal iidentification, terminal equipment is using this terminal iidentification as carrying out the index of data when synchronous, web page server when sending synchronization request, carries this terminal iidentification, so that can be determined the webpage that this terminal equipment should be accessed according to this terminal iidentification.
Alternatively, the technical scheme based on embodiment illustrated in fig. 2, step 202 " according to the registration request of described terminal equipment, being described terminal equipment distributing terminals sign ", comprises afterwards:
For described terminal equipment distributes domain name; To described terminal equipment, send domain name; By domain name and the binding of described terminal iidentification.
Further alternatively, described method also comprises:
When being described terminal equipment distribution domain name, on web page server, create the webpage that domain name is corresponding.
In the present embodiment, terminal equipment is when first installation browser or data synchronization applications, need to send registration request to this browser or registrar corresponding to data synchronization applications, so that this registrar is this terminal equipment distributing terminals sign and domain name, for each terminal equipment all distributes and its unique corresponding terminal iidentification, and all distribute and its unique corresponding domain name for each terminal equipment, terminal equipment receives and preserves terminal iidentification and the domain name that described registrar distributes.
Simultaneously, the domain name that registrar is distributed to terminal equipment according to this creates webpage corresponding to this domain name on web page server, in data synchronization process, terminal equipment is using this terminal iidentification as carrying out the synchronous index of data, or, terminal equipment is by this domain name of access, so that web page server can be determined the webpage that this terminal equipment should be accessed according to this domain name.
Alternatively, the technical scheme based on embodiment illustrated in fig. 2, step 203 " sends to described terminal equipment by described terminal iidentification ", also comprises afterwards:
Receive the domain name bind request that described terminal equipment sends, domain name bind request is carried designated domain name and described terminal iidentification;
Bind described designated domain name and described terminal iidentification, and on web page server, create webpage corresponding to described designated domain name.
Preferably, the designated domain name of carrying when domain name bind request is during for the self-defining designated domain name of this terminal equipment, registrar is bound the self-defining designated domain name of this terminal equipment and terminal iidentification, and on described web page server, creates webpage corresponding to described designated domain name;
The designated domain name of carrying when domain name bind request for once registered designated domain name time, registrar is bound this designated domain name of once registering and terminal iidentification.
In order to strengthen user's experience, make the distribution of domain name more personalized, long or the irregular input inconvenience causing of the domain name of simultaneously also distributing for fear of registrar, the embodiment of the present invention provides the mode of the self-defined domain name of terminal equipment, the register flow path of personalized domain name is initiated in permission by terminal equipment, the designated domain name of submitting a self-defining designated domain name to or once registering is to registrar, registrar is received after designated domain name, binding designated domain name and terminal iidentification, and send binding acknowledgement to terminal, same binding designated domain name and terminal iidentification after terminal equipment is confirmed, while making to access at every turn, all can access this designated domain name.
It should be noted that, designated domain name for designated domain name for once registering, can guarantee that same domain name can repeatedly be used, once there is browser refitting or change synchronous terminal, can by bind this designated domain name of once registering and change after terminal iidentification carry out data recovery or data synchronous.
Adopt technical scheme of the present invention, terminal equipment is in carrying out the synchronous process of data, use terminal iidentification as the synchronous index of its data, synchronous in the enterprising row data of web page server, can make the data synchronization process of terminal equipment not be subject to the restriction of data synchronization applications, avoided log-on webpage server or data synchronization applications server and and server between frequent mutual, simplified the synchronous flow process of data.
Fig. 3 is the flow chart of a kind of method of data synchronization of providing of the embodiment of the present invention, and the executive agent of this embodiment is web page server.Referring to Fig. 3, this enforcement comprises:
301, the first synchronization request that web page server receiving terminal apparatus sends, described the first synchronization request is carried the terminal iidentification of the first information and described terminal equipment;
It should be noted that, on terminal equipment, preserve the terminal iidentification that registrar distributes for this terminal equipment, therefore when sending the first synchronization request, in the first synchronization request, not only carry the first information, also need to carry this terminal iidentification, while receiving this first synchronization request with convenient web page server, according to the described first information and described terminal iidentification, carry out data synchronous.
302, according to the described first information and described terminal iidentification, to carry out data synchronous for described web page server.
This terminal iidentification can be used as on web page server for the synchronous index of data.And the data of the first information are synchronously referred to the first information is added in the synchronous object of data.In the present embodiment, take webpage that the synchronous object of these data is domain name corresponding to terminal iidentification describes as example.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, this step 302 " it is synchronous that described web page server carries out data according to the described first information and described terminal iidentification ", comprising:
Described web page server, according to described terminal iidentification, is synchronized to the described first information webpage of the corresponding domain name of described terminal iidentification.
It should be noted that, after registrar is bound terminal iidentification and domain name, can be by this binding notice to web page server, therefore, when web page server receives the first information and terminal iidentification, according to terminal iidentification, determine the domain name that it is corresponding, and according to corresponding domain name, the first information is synchronized in webpage corresponding to this domain name.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, described method also comprises:
(5) when data corresponding to the above terminal iidentification of described web page server change, to described terminal equipment, send specific data, described specific data is the data after changing;
In the present embodiment, synchronously can have two kinds of forms, in step (five), be to terminal equipment by web page server active push.
Web page server to data variation to be judged as prior art disclosed, at this, do not repeat.
(6) when described web page server receives the second synchronization request that described terminal equipment sends, described the second synchronization request is carried described terminal iidentification, according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment.
And in this step (six), initiatively to web page server request synchrodata by terminal equipment, now, need terminal equipment to send the second synchronization request to web page server, and carried terminal sign is as the index in data synchronization process, web page server is according to terminal iidentification, obtain on this web page server, preserve with the corresponding data of terminal iidentification, and these corresponding data are sent to a terminal equipment.
In the present embodiment, on web page server terminal iidentification with and corresponding data are all corresponding preservations, web page server can inquire its corresponding data by terminal iidentification.
It should be noted that, on this terminal equipment, be also cached with the data that pull from web page server or this terminal equipment in certain hour section to the synchronous data of web page server, when unavailable or web page server is unreachable at network service, for terminal equipment, in this locality, carry out data synchronous.Preferably, the buffer memory of this terminal equipment is realized by browser or data synchronization applications.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, described method also comprises: when receiving the access request of first terminal equipment transmission, described access request is for accessing webpage corresponding to the first domain name; When receiving designated pin, allow webpage corresponding to the first domain name described in described first terminal device access.
It should be noted that, this first terminal equipment refers to any terminal equipment, when web page server receives the access request of this first terminal equipment transmission, when this access request is carried first terminal device identification, can obtain its corresponding domain name according to this first terminal device identification, and access webpage corresponding to this domain name; And work as this access request, do not carry first terminal device identification, but when accessing webpage corresponding to the first domain name, need to carry out password authentification to this access, therefore, only, when receiving designated pin, allow webpage corresponding to this this first domain name of first terminal device access.In the present embodiment, the access of first terminal equipment has been carried out to security control and checking, the fail safe of data access is provided.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, described method also comprises:
When receiving the request of sharing that first terminal equipment sends, described in share the webpage of request for checking that the first domain name is corresponding; When receiving designated pin, the webpage corresponding according to described the first domain name generates a reading web page, and obtains the address of described reading web page; To described first terminal equipment, send the address of a described reading web page.
It should be noted that, when web page server receive that this first terminal equipment sends share request time, when this, share request and carry first terminal device identification, can obtain its corresponding domain name according to this first terminal device identification, and generate a reading web page according to webpage corresponding to this domain name, and obtain the network address of this reading web page, while making the user of first terminal equipment can receive this network address, network address is shared with to other users or other-end equipment; And share request when this, do not carry first terminal device identification, but when checking webpage corresponding to the first domain name, need to carry out password authentification to this access, therefore, only when receiving designated pin, and generate a reading web page according to webpage corresponding to this domain name, and obtain the network address of this reading web page, while making the user of first terminal equipment can receive this network address, network address is shared with to other users or other-end equipment.In the present embodiment, to having carried out security control and checking sharing of first terminal equipment, the fail safe of data access is provided, and provide the not editable read-only page, make user when checking the read-only page, can not impact the fail safe synchronous and data of data on web page server.
It should be noted that, in the above-described embodiments, between web page server and registrar, be communicated with.
Above-mentioned all optional technical schemes can adopt combinable mode arbitrarily in conjunction with the optional embodiment that forms the embodiment of the present invention, at this, illustrate no longer one by one.
Fig. 4 is the particular flow sheet of a kind of method of data synchronization of providing of the embodiment of the present invention.The interaction agent of this embodiment is terminal equipment, web page server and registrar.The present embodiment only be take terminal equipment and the first information is synchronized to web page server is described as example.Referring to Fig. 4, this embodiment specifically comprises:
401, terminal equipment sends registration request to registrar;
402, registrar, according to the registration request of described terminal equipment, is described terminal equipment distributing terminals sign and domain name;
Further, registrar creates the webpage that domain name is corresponding on web page server.
403, registrar is by domain name and the binding of described terminal iidentification;
Further, registrar notifies the binding relationship of domain name and described terminal iidentification to web page server.
404, registrar sends to described terminal equipment by described terminal iidentification and domain name;
405, terminal equipment is preserved described terminal iidentification and domain name;
406, terminal equipment receives the first information;
407, described terminal equipment, according to the described first information, sends the first synchronization request to web page server, and described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment;
408, web page server, according to described terminal iidentification, is synchronized to the described first information webpage of the corresponding domain name of described terminal iidentification.
Fig. 5 is the structural representation of a kind of terminal equipment of providing of the embodiment of the present invention.Referring to Fig. 5, this terminal equipment comprises:
Sending module 52, be used for according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.
Alternatively, described terminal equipment also comprises:
Alternatively, the domain name that described preservation module 53 is also distributed for receiving and preserve described registrar;
And/or,
Described sending module 52 is also for sending domain name bind request to registrar, domain name bind request is carried designated domain name and described terminal iidentification, make described registrar when receiving domain name bind request, bind described designated domain name and described terminal iidentification, and on described web page server, create webpage corresponding to described designated domain name.
Alternatively, the specific data that described receiver module 51 also sends for receiving described web page server; Described specific data is sent while changing by data corresponding to the above terminal iidentification of described web page server;
And/or,
Described sending module 52 is also when opening synchronizing function, to described web page server, send the second synchronization request, described the second synchronization request is carried described terminal iidentification, make described web page server according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment;
Alternatively, described terminal equipment also comprises:
Terminal equipment embodiment illustrated in fig. 5, take and comprise that above-mentioned all optional technical schemes describe technical scheme of the present invention as example, in practical application, above-mentioned all optional technical schemes can adopt any combinative mode to form the optional technical scheme of the embodiment of the present invention, at this, give an example no longer one by one.
The terminal equipment of the present embodiment, synchronous by adopting above-mentioned module to realize data, identical with the realization mechanism of above-mentioned correlation technique embodiment, can, with reference to the record of above-mentioned correlation technique embodiment, not repeat them here in detail.
It should be noted that: the terminal equipment that above-described embodiment provides is when data are synchronous, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure of the equipment of being about to is divided into different functional modules, to complete all or part of function described above.In addition, the terminal equipment that above-described embodiment provides and method of data synchronization embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 6 is the structural representation of a kind of registrar of providing of the embodiment of the present invention.Referring to Fig. 6, this registrar comprises:
Sending module 63, for sending to described terminal equipment by described terminal iidentification.
Alternatively, described distribution module 62 is also used to described terminal equipment to distribute domain name;
Described sending module 63 is also for sending domain name to described terminal equipment;
Described registrar also comprises:
Binding module 64, for binding domain name and described terminal iidentification.
Alternatively, described registrar also comprises:
Alternatively, the domain name bind request that described receiver module 61 also sends for receiving described terminal equipment, domain name bind request is carried designated domain name and described terminal iidentification;
Described binding module 64 is also for binding described designated domain name and described terminal iidentification;
Described creation module 65 also for creating webpage corresponding to described designated domain name on web page server.
Registrar embodiment illustrated in fig. 6, take and comprise that above-mentioned all optional technical schemes describe technical scheme of the present invention as example, in practical application, above-mentioned all optional technical schemes can adopt any combinative mode to form the optional technical scheme of the embodiment of the present invention, at this, give an example no longer one by one.
The registrar of the present embodiment, synchronous by adopting above-mentioned module to realize data, identical with the realization mechanism of above-mentioned correlation technique embodiment, can, with reference to the record of above-mentioned correlation technique embodiment, not repeat them here in detail.
It should be noted that: the registrar that above-described embodiment provides is when data are synchronous, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to registrar is divided into different functional modules, to complete all or part of function described above.In addition, the registrar that above-described embodiment provides and method of data synchronization embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 7 is the structural representation of a kind of web page server of providing of the embodiment of the present invention.Referring to Fig. 7, this web page server comprises:
Data simultaneous module 72, synchronous for carry out data according to the described first information and described terminal iidentification.
Alternatively, data simultaneous module 72, specifically for according to described terminal iidentification, is synchronized to the described first information webpage of the corresponding domain name of described terminal iidentification.
Alternatively, described web page server also comprises:
Sending module 73, for when data corresponding to the above terminal iidentification of web page server change, sends specific data to described terminal equipment, and described specific data is the data after changing;
And/or,
Described sending module 73 is also for receiving the second synchronization request that described terminal equipment sends when described web page server, described the second synchronization request is carried described terminal iidentification, according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment.
Alternatively, the access request that described receiver module 71 also sends for receiving first terminal equipment, described access request is for accessing webpage corresponding to the first domain name; When receiving designated pin, allow webpage corresponding to the first domain name described in described first terminal device access.
Alternatively, described receiver module 71 is also for receiving the request of sharing that first terminal equipment sends, described in share the webpage of request for checking that the first domain name is corresponding;
This web page server also comprises:
Described sending module 73 is also for sending the address of a described reading web page to described first terminal equipment.
Web page server embodiment illustrated in fig. 7, take and comprise that above-mentioned all optional technical schemes describe technical scheme of the present invention as example, in practical application, above-mentioned all optional technical schemes can adopt any combinative mode to form the optional technical scheme of the embodiment of the present invention, at this, give an example no longer one by one.
The web page server of the present embodiment, synchronous by adopting above-mentioned module to realize data, identical with the realization mechanism of above-mentioned correlation technique embodiment, can, with reference to the record of above-mentioned correlation technique embodiment, not repeat them here in detail.
It should be noted that: the web page server that above-described embodiment provides is when data are synchronous, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to web page server is divided into different functional modules, to complete all or part of function described above.In addition, the web page server that above-described embodiment provides and method of data synchronization embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (26)
1. a method of data synchronization, is characterized in that, described method comprises:
Terminal equipment receives the first information;
Described terminal equipment is according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.
2. method according to claim 1, is characterized in that, described terminal equipment, according to the described first information, sends the first synchronization request to web page server, comprises before:
Described terminal equipment receives and preserves the described terminal iidentification that registrar distributes.
3. method according to claim 2, is characterized in that, described terminal equipment, according to the described first information, sends the first synchronization request to web page server, also comprises before:
Described terminal equipment receives and preserves the domain name that described registrar distributes;
And/or,
Described terminal equipment sends domain name bind request to registrar, domain name bind request is carried designated domain name and described terminal iidentification, make described registrar when receiving domain name bind request, bind described designated domain name and described terminal iidentification, and on described web page server, create webpage corresponding to described designated domain name.
4. method according to claim 1, is characterized in that, described method also comprises:
Described terminal equipment receives the specific data that described web page server sends; Described specific data is sent while changing by data corresponding to the above terminal iidentification of described web page server;
And/or,
When described terminal equipment is opened synchronizing function, to described web page server, send the second synchronization request, described the second synchronization request is carried described terminal iidentification, make described web page server according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment; When described terminal equipment obtains unsuccessfully, obtain the data of described terminal equipment buffer memory.
5. a method of data synchronization, is characterized in that, comprising:
The registration request that receiving terminal apparatus sends;
According to the registration request of described terminal equipment, it is described terminal equipment distributing terminals sign;
Described terminal iidentification is sent to described terminal equipment.
6. method according to claim 5, is characterized in that, according to the registration request of described terminal equipment, is described terminal equipment distributing terminals sign, comprises afterwards:
For described terminal equipment distributes domain name;
To described terminal equipment, send domain name;
By domain name and the binding of described terminal iidentification.
7. method according to claim 6, is characterized in that, described method also comprises:
When being described terminal equipment distribution domain name, on web page server, create the webpage that domain name is corresponding.
8. method according to claim 5, is characterized in that, described terminal iidentification is sent to described terminal equipment, also comprises afterwards:
Receive the domain name bind request that described terminal equipment sends, domain name bind request is carried designated domain name and described terminal iidentification;
Bind described designated domain name and described terminal iidentification, and on web page server, create webpage corresponding to described designated domain name.
9. a method of data synchronization, is characterized in that, comprising:
The first synchronization request that web page server receiving terminal apparatus sends, described the first synchronization request is carried the terminal iidentification of the first information and described terminal equipment;
It is synchronous that described web page server carries out data according to the described first information and described terminal iidentification.
10. method according to claim 9, is characterized in that, it is synchronous that described web page server carries out data according to the described first information and described terminal iidentification, comprising:
Described web page server, according to described terminal iidentification, is synchronized to the described first information webpage of the corresponding domain name of described terminal iidentification.
11. methods according to claim 9, is characterized in that, described method also comprises:
When data corresponding to the above terminal iidentification of described web page server change, to described terminal equipment, send specific data, described specific data is the data after changing;
And/or,
When described web page server receives the second synchronization request that described terminal equipment sends, described the second synchronization request is carried described terminal iidentification, according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment.
12. methods according to claim 9, is characterized in that, described method also comprises:
Receive the access request that first terminal equipment sends, described access request is for accessing webpage corresponding to the first domain name;
When receiving designated pin, allow webpage corresponding to the first domain name described in described first terminal device access.
13. methods according to claim 9, is characterized in that, described method also comprises:
Receive the request of sharing that first terminal equipment sends, described in share the webpage of request for checking that the first domain name is corresponding;
When receiving designated pin, the webpage corresponding according to described the first domain name generates a reading web page, and obtains the address of described reading web page;
To described first terminal equipment, send the address of a described reading web page.
14. 1 kinds of terminal equipments, is characterized in that, comprising:
Receiver module, for receiving the first information;
Sending module, be used for according to the described first information, to web page server, send the first synchronization request, described the first synchronization request is carried the terminal iidentification of the described first information and described terminal equipment, make described web page server when receiving described the first synchronization request, according to the described first information and described terminal iidentification, carry out data synchronous.
15. terminal equipments according to claim 14, is characterized in that, described terminal equipment also comprises:
Preserve module, the described terminal iidentification distributing for receiving and preserve registrar.
16. terminal equipments according to claim 15, is characterized in that, the domain name that described preservation module is also distributed for receiving and preserve described registrar;
And/or,
Described sending module is also for sending domain name bind request to registrar, domain name bind request is carried designated domain name and described terminal iidentification, make described registrar when receiving domain name bind request, bind described designated domain name and described terminal iidentification, and on described web page server, create webpage corresponding to described designated domain name.
17. terminal equipments according to claim 14, is characterized in that, the specific data that described receiver module also sends for receiving described web page server; Described specific data is sent while changing by data corresponding to the above terminal iidentification of described web page server;
And/or,
Described sending module is also when opening synchronizing function, to described web page server, send the second synchronization request, described the second synchronization request is carried described terminal iidentification, make described web page server according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment;
Described terminal equipment also comprises:
Acquisition module, for when described terminal equipment obtains unsuccessfully, obtains the data of described terminal equipment buffer memory.
18. 1 kinds of registrar, is characterized in that, comprising:
Receiver module, the registration request sending for receiving terminal apparatus;
Distribution module, for according to the registration request of described terminal equipment, is described terminal equipment distributing terminals sign;
Sending module, for sending to described terminal equipment by described terminal iidentification.
19. registrar according to claim 18, is characterized in that, described distribution module is also used to described terminal equipment to distribute domain name;
Described sending module is also for sending domain name to described terminal equipment;
Described registrar also comprises:
Binding module, for binding domain name and described terminal iidentification.
20. registrar of stating according to claim 19, is characterized in that, described registrar also comprises:
Creation module for when distributing domain name for described terminal equipment, creates the webpage that domain name is corresponding on web page server.
21. registrar according to claim 20, is characterized in that, the domain name bind request that described receiver module also sends for receiving described terminal equipment, and domain name bind request is carried designated domain name and described terminal iidentification;
Described binding module is also for binding described designated domain name and described terminal iidentification;
Described creation module also for creating webpage corresponding to described designated domain name on web page server.
22. 1 kinds of web page servers, is characterized in that, comprising:
Receiver module, the first synchronization request sending for receiving terminal apparatus, described the first synchronization request is carried the terminal iidentification of the first information and described terminal equipment;
Data simultaneous module, synchronous for carry out data according to the described first information and described terminal iidentification.
23. web page servers according to claim 22, is characterized in that, data simultaneous module, specifically for according to described terminal iidentification, is synchronized to the described first information webpage of the corresponding domain name of described terminal iidentification.
24. web page servers according to claim 22, is characterized in that, described web page server also comprises:
Sending module, for when data corresponding to the above terminal iidentification of web page server change, sends specific data to described terminal equipment, and described specific data is the data after changing;
And/or,
Described sending module is also for receiving the second synchronization request that described terminal equipment sends when described web page server, described the second synchronization request is carried described terminal iidentification, according to described terminal iidentification, obtain the corresponding data of described web page server, and described corresponding data is sent to described terminal equipment.
25. web page servers according to claim 22, is characterized in that, the access request that described receiver module also sends for receiving first terminal equipment, and described access request is for accessing webpage corresponding to the first domain name; When receiving designated pin, allow webpage corresponding to the first domain name described in described first terminal device access.
26. web page servers according to claim 22, is characterized in that, described receiver module is also for receiving the request of sharing that first terminal equipment sends, described in share the webpage of request for checking that the first domain name is corresponding;
Acquisition module, for when receiving designated pin, the webpage corresponding according to described the first domain name generates a reading web page, and obtains the address of described reading web page;
Described sending module is also for sending the address of a described reading web page to described first terminal equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210318792.8A CN103685333B (en) | 2012-08-31 | 2012-08-31 | Method of data synchronization, terminal device, registrar and web page server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210318792.8A CN103685333B (en) | 2012-08-31 | 2012-08-31 | Method of data synchronization, terminal device, registrar and web page server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103685333A true CN103685333A (en) | 2014-03-26 |
CN103685333B CN103685333B (en) | 2018-01-19 |
Family
ID=50321645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210318792.8A Active CN103685333B (en) | 2012-08-31 | 2012-08-31 | Method of data synchronization, terminal device, registrar and web page server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103685333B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827683A (en) * | 2015-09-29 | 2016-08-03 | 维沃移动通信有限公司 | Data synchronization method, server and electronic device |
CN104780211B (en) * | 2015-04-13 | 2016-09-07 | 努比亚技术有限公司 | Method of data synchronization and device |
CN106411692A (en) * | 2016-06-29 | 2017-02-15 | 宁波市由乐讯通讯科技有限公司 | Improved method and system enabling information synchronization between mobile end and server end |
CN113918266A (en) * | 2021-11-23 | 2022-01-11 | 成都泰盟软件有限公司 | Multi-terminal data synchronous response method based on local area network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050097610A1 (en) * | 2003-11-03 | 2005-05-05 | Pedlow Leo M.Jr. | Distribution of preferences, provisioning and entitlements in clustered, distributed entertainment networks |
CN101582927A (en) * | 2009-06-10 | 2009-11-18 | 中兴通讯股份有限公司 | Server, movable terminal and method used for information backup and restoration |
CN102611724A (en) * | 2011-01-25 | 2012-07-25 | ***通信集团公司 | Server notice data synchronization and synchronization server migration method, system and device |
-
2012
- 2012-08-31 CN CN201210318792.8A patent/CN103685333B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050097610A1 (en) * | 2003-11-03 | 2005-05-05 | Pedlow Leo M.Jr. | Distribution of preferences, provisioning and entitlements in clustered, distributed entertainment networks |
CN101582927A (en) * | 2009-06-10 | 2009-11-18 | 中兴通讯股份有限公司 | Server, movable terminal and method used for information backup and restoration |
CN102611724A (en) * | 2011-01-25 | 2012-07-25 | ***通信集团公司 | Server notice data synchronization and synchronization server migration method, system and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780211B (en) * | 2015-04-13 | 2016-09-07 | 努比亚技术有限公司 | Method of data synchronization and device |
CN105827683A (en) * | 2015-09-29 | 2016-08-03 | 维沃移动通信有限公司 | Data synchronization method, server and electronic device |
CN105827683B (en) * | 2015-09-29 | 2019-01-11 | 维沃移动通信有限公司 | A kind of method, server and electronic equipment that data are synchronous |
CN106411692A (en) * | 2016-06-29 | 2017-02-15 | 宁波市由乐讯通讯科技有限公司 | Improved method and system enabling information synchronization between mobile end and server end |
CN113918266A (en) * | 2021-11-23 | 2022-01-11 | 成都泰盟软件有限公司 | Multi-terminal data synchronous response method based on local area network |
Also Published As
Publication number | Publication date |
---|---|
CN103685333B (en) | 2018-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102394887B (en) | OAuth protocol-based safety certificate method of open platform and system thereof | |
CN110958218B (en) | Data transmission method based on multi-network communication and related equipment | |
CN100466783C (en) | Method and device for managing multi-users of mobile terminal | |
CN103475726B (en) | A kind of virtual desktop management, server and client side | |
CN102843436B (en) | A kind of device management method, equipment, server and system | |
CN109413096B (en) | A kind of login method and device more applied | |
WO2003036412A3 (en) | Method and system for getting on-line status, authentication, verification, authorization, communication and transaction services for web-enabled hardware and software, based on uniform telephone address related applications | |
CN104378342A (en) | Multi-account verification method, device and system | |
CN103685255B (en) | File encryption method based on two-dimension code scanning | |
CN103581184A (en) | Method and system for mobile terminal to get access to intranet server | |
CN103179099B (en) | A kind ofly access the uniform authentication method of open website platform and a kind of website platform | |
CN104348786B (en) | Password method for retrieving, device and system | |
CN101316167A (en) | Registration and login method of safety authentication, system and mobile terminal | |
CN104158818A (en) | Single sign-on method and system | |
CN104079470A (en) | Electronic business card exchange method, system and server | |
CN102143131B (en) | User logout method and authentication server | |
CN109040024A (en) | A kind of resource access right control method and system | |
CN104348895A (en) | Method and device for sharing data among programs in mobile terminal | |
CN102355509A (en) | Method and device for transmitting and receiving message according to mobile number in contact list | |
CN103095859A (en) | Multi-domain-name dialogue information sharing method and system | |
CN103685333A (en) | Data synchronization method, terminal equipment, register server and web page server | |
CN102523220A (en) | Web authentication method, and client and access layer device used for web authentication | |
CN103957189B (en) | Application program interaction method and device | |
CN102984261A (en) | Network service login method, equipment and system based on mobile telephone terminal | |
CN108880923A (en) | The method and apparatus that policer operation applied to application server is requested |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |