CN103685333B - Method of data synchronization, terminal device, registrar and web page server - Google Patents
Method of data synchronization, terminal device, registrar and web page server Download PDFInfo
- Publication number
- CN103685333B CN103685333B CN201210318792.8A CN201210318792A CN103685333B CN 103685333 B CN103685333 B CN 103685333B CN 201210318792 A CN201210318792 A CN 201210318792A CN 103685333 B CN103685333 B CN 103685333B
- Authority
- CN
- China
- Prior art keywords
- domain name
- terminal
- terminal device
- web page
- page server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of method of data synchronization, terminal device, registrar and web page server, belong to network technique field.The present invention receives the first information by terminal device;The terminal device is according to the first information, the first synchronization request is sent to web page server, first synchronization request carries the terminal iidentification of the first information and the terminal device, so that the web page server carries out data syn-chronization when receiving first synchronization request, according to the first information and the terminal iidentification.Using technical scheme, terminal device is during data syn-chronization is carried out, using terminal identifies the index as its data syn-chronization, data syn-chronization is carried out on web page server, the data synchronization process of terminal device is enabled to not limited by data synchronization applications, avoid log-on webpage server or data synchronization applications server and the frequent flow for interacting, simplifying data syn-chronization between server.
Description
Technical field
The present invention relates to network technique field, more particularly to a kind of method of data synchronization, terminal device, registrar and
Web page server.
Background technology
With the development of network technology, terminal device needs data to be saved more and more, and for the sake of security, terminal
Equipment typically by data syn-chronization or the means of data backup, realizes many places storage of same part data.Specifically, terminal device
The backup of local and synchronous Account Registration that carries out data syn-chronization, can also be provided by the server on network etc. can be provided
Function, using account as according to synchronizing and backing up between server.
During the present invention is realized, inventor has found that prior art at least has problems with:
It is same for non-installation data using the synchronization and backup that account is foundation, it is necessary to be based on account and data synchronization applications
For the terminal device for walking application, synchronization can not be realized, greatly limit use range, and synchronization and backup based on account,
Need between terminal device and server it is frequent interact, process is complicated.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of method of data synchronization, terminal device, note
Volume server and web page server.The technical scheme is as follows:
A kind of method of data synchronization, methods described include:
Terminal device receives the first information;
The terminal device sends the first synchronization request, described first is same according to the first information to web page server
Step request carries the terminal iidentification of the first information and the terminal device so that the web page server receive it is described
During the first synchronization request, data syn-chronization is carried out according to the first information and the terminal iidentification.
A kind of method of data synchronization, including:
The registration request that receiving terminal apparatus is sent;
According to the registration request of the terminal device, identified for the terminal device distribution terminal;
The terminal iidentification is sent to the terminal device.
A kind of method of data synchronization, including:
The first synchronization request that web page server receiving terminal apparatus is sent, first synchronization request carry the first information
With the terminal iidentification of the terminal device;
The web page server carries out data syn-chronization according to the first information and the terminal iidentification.
A kind of terminal device, including:
Receiving module, for receiving the first information;
Sending module, for according to the first information, sending the first synchronization request to web page server, described first is same
Step request carries the terminal iidentification of the first information and the terminal device so that the web page server receive it is described
During the first synchronization request, data syn-chronization is carried out according to the first information and the terminal iidentification.
A kind of registrar, including:
Receiving module, the registration request sent for receiving terminal apparatus;
Distribute module, for the registration request according to the terminal device, identified for the terminal device distribution terminal;
Sending module, for the terminal iidentification to be sent into the terminal device.
A kind of web page server, including:
Receiving module, the first synchronization request sent for receiving terminal apparatus, first synchronization request carry first
The terminal iidentification of information and the terminal device;
Data simultaneous module, for carrying out data syn-chronization according to the first information and the terminal iidentification.
Method of data synchronization, terminal device, registrar and web page server provided in an embodiment of the present invention, pass through end
End equipment receives the first information;The terminal device sends the first synchronization request according to the first information, to web page server,
First synchronization request carries the terminal iidentification of the first information and the terminal device so that the web page server exists
When receiving first synchronization request, data syn-chronization is carried out according to the first information and the terminal iidentification.Using this hair
Bright technical scheme, for terminal device during data syn-chronization is carried out, using terminal identifies the index as its data syn-chronization,
Data syn-chronization is carried out on web page server, enables to the data synchronization process of terminal device not limited by data synchronization applications
System, avoids log-on webpage server or data synchronization applications server and frequent between server interacts, and simplifies
The flow of data syn-chronization.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of flow chart of method of data synchronization provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of method of data synchronization provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of method of data synchronization provided in an embodiment of the present invention;
Fig. 4 is a kind of particular flow sheet of method of data synchronization provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of registrar provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of web page server provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is a kind of flow chart of method of data synchronization provided in an embodiment of the present invention.The executive agent of the embodiment is
Terminal device, specifically, the terminal device can be mobile terminal or fixed terminal, and mobile terminal can be smart mobile phone, put down
Plate computer, MP3(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard
Audio aspect 3)、PDA(Personal Digital Assistant, personal digital assistant)Deng fixed terminal can be PC
(Personal Computer, PC)Deng.Referring to Fig. 1, methods described includes:
101st, terminal device receives the first information;
In the present embodiment, terminal device, which receives the first information, can include following either case:Terminal device starts clear
Look at device, webpage corresponding to domain name is corresponded to by the terminal iidentification of browser access terminal device, user inputs first on webpage
Information, so as to which terminal device receives the first information;Or, terminal device log-on data synchronous applications, user is in data synchronization applications
The middle input first information, so as to which terminal device receives the first information.
102nd, the terminal device is according to the first information, and the first synchronization request is sent to web page server, and described the
One synchronization request carries the terminal iidentification of the first information and the terminal device so that the web page server is receiving
During first synchronization request, data syn-chronization is carried out according to the first information and the terminal iidentification.
Wherein, terminal iidentification can be(Globally Unique Identifier, globally unique identifier), for identifying
Unique identities in a certain system.
It should be noted that the terminal iidentification that registrar is terminal device distribution is preserved on terminal device, because
This not only carries the first information when sending the first synchronization request in the first synchronization request, also needs to carry the terminal iidentification, with
When convenient web page server receives first synchronization request, it is same that data are carried out according to the first information and the terminal iidentification
Step.
Method of data synchronization provided in an embodiment of the present invention, the first information is received by terminal device;The terminal device
According to the first information, the first synchronization request is sent to web page server, first synchronization request carries first letter
Breath and the terminal device terminal iidentification so that the web page server when receiving first synchronization request, according to
The first information and the terminal iidentification carry out data syn-chronization.Using technical scheme, terminal device is entering line number
During synchronization, using terminal identifies the index as its data syn-chronization, and data syn-chronization, energy are carried out on web page server
Enough so that the data synchronization process of terminal device is not limited by data synchronization applications, log-on webpage server or number are avoided
The frequent flow for interacting, simplifying data syn-chronization according to synchronous applications server and between server.
Alternatively, the technical scheme based on embodiment illustrated in fig. 1, " terminal device is according to the described first letter for step 102
Breath, the first synchronization request is sent to web page server ", include before:The terminal device receives and preserves registrar point
The terminal iidentification matched somebody with somebody.
In the present embodiment, terminal device installation browser for the first time or during data synchronization applications, it is necessary to the browser
Or registrar corresponding to data synchronization applications sends registration request, so that the registrar is that terminal device distribution is whole
End mark, for each terminal device distribute with its unique corresponding terminal iidentification, terminal device is using the terminal iidentification as entering
Index during row data syn-chronization, the terminal iidentification is carried when sending synchronization request, to enable web page server according to this
Terminal iidentification determines the webpage that the terminal device should access.
Method of data synchronization provided in an embodiment of the present invention, the first information is received by terminal device;The terminal device
According to the first information, the first synchronization request is sent to web page server, first synchronization request carries first letter
Breath and the terminal device terminal iidentification so that the web page server when receiving first synchronization request, according to
The first information and the terminal iidentification carry out data syn-chronization.Using technical scheme, terminal device is entering line number
During synchronization, using terminal identifies the index as its data syn-chronization, and data syn-chronization, energy are carried out on web page server
Enough so that the data synchronization process of terminal device is not limited by data synchronization applications, log-on webpage server or number are avoided
The frequent flow for interacting, simplifying data syn-chronization according to synchronous applications server and between server.Further, by noting
Volume server is the process that terminal device performs registration and distribution terminal mark so that web page server is only to provide data syn-chronization
Platform, avoid excessive Signalling exchange.
Alternatively, the technical scheme based on embodiment illustrated in fig. 1, " terminal device is according to the described first letter for step 102
Breath, the first synchronization request is sent to web page server ", also include step before(One)And/or step(Two):
(One)The terminal device receives and preserves the domain name of the registrar distribution;
In the present embodiment, terminal device installation browser for the first time or during data synchronization applications, it is necessary to the browser
Or registrar corresponding to data synchronization applications sends registration request, so that the registrar is that terminal device distribution is whole
End mark and domain name, distributed and its uniquely corresponding terminal iidentification, and dividing equally for each terminal device for each terminal device
With uniquely corresponding domain name, terminal device receive and preserve the terminal iidentification and domain name of the registrar distribution with it.
Meanwhile registrar creates the domain name according to the domain name for distributing to terminal device on web page server and corresponded to
Webpage, in data synchronization process, terminal device is using the terminal iidentification as the index for carrying out data syn-chronization, or, terminal sets
It is standby by accessing the domain name, to enable web page server to determine according to the domain name webpage that the terminal device should access.
(Two)The terminal device sends domain name bind request to registrar, and domain name bind request, which carries, specifies
Domain name and the terminal iidentification so that the registrar binds described specify when receiving domain name bind request
Domain name and the terminal iidentification, and webpage corresponding to the designated domain name is created on the web page server.
In order to strengthen Consumer's Experience, make the distribution of domain name more personalized, and also to avoid registrar from distributing
Domain name it is long or irregular caused by input inconvenience, the embodiments of the invention provide the mode of the self-defined domain name of terminal device,
Allow the register flow path that personalized domain name is initiated by terminal device, submit a customized designated domain name or once registered
The designated domain name crossed is to registrar, after registrar receives designated domain name, binds designated domain name and terminal iidentification, and to
Terminal sends binding acknowledgement, and designated domain name and terminal iidentification are equally bound after terminal device is confirmed so that accesses every time
When, it can access the designated domain name.
Preferably, when the designated domain name that domain name bind request carries designated domain name customized for the terminal device, note
Volume server binds the customized designated domain name of the terminal device and terminal iidentification, and on the web page server described in establishment
Webpage corresponding to designated domain name;
When the designated domain name that domain name bind request carries is once registered designated domain name, registrar binding should
Once registered designated domain name and terminal iidentification.
It should be noted that for designated domain name is once registered designated domain name, it is ensured that same domain name
It can be used for multiple times, once browser refitting occurs or changes synchronous terminal, can be by binding the finger once registered
Terminal iidentification after localization name and replacing carries out data recovery or data syn-chronization.
In above-mentioned steps(One)With(Two)In provide different field name methods, step(One)In be to be entered by registrar
Row domain name is distributed and bound, and terminal device passively receives, and step(Two)In be to have the self-defined domain name of terminal device, and notify
Registrar is bound, and for the present embodiment, the process of domain name binding can include the step(One)With(Two),
Step can also be included(One)Or(Two), the present embodiment is not specifically limited to this.
Further, after binding, the terminal iidentification of binding and domain name are sent to web page server, when the web service
When device receives the access request to the domain name, the terminal for initiating to access can be verified according to terminal iidentification, can also led to
The method for crossing password authentification is verified to the terminal for initiating to access so that the access to web page server can be diversified, and
Do not limited by initiating terminal is accessed, terminal corresponding to user from terminal iidentification is initiated to access, and directly the webpage can be carried out
Access, and user initiates to access from other-end equipment, then the mode of password authentification can be used to conduct interviews webpage.
Method of data synchronization provided in an embodiment of the present invention, the first information is received by terminal device;The terminal device
According to the first information, the first synchronization request is sent to web page server, first synchronization request carries first letter
Breath and the terminal device terminal iidentification so that the web page server when receiving first synchronization request, according to
The first information and the terminal iidentification carry out data syn-chronization.Using technical scheme, terminal device is entering line number
During synchronization, using terminal identifies the index as its data syn-chronization, and data syn-chronization, energy are carried out on web page server
Enough so that the data synchronization process of terminal device is not limited by data synchronization applications, log-on webpage server or number are avoided
The frequent flow for interacting, simplifying data syn-chronization according to synchronous applications server and between server.Further, register
Server creates corresponding webpage on web page server according to the domain name of distribution for terminal device, so as to the terminal device and
Other-end equipment can be according to domain name access webpage, or by data syn-chronization to the corresponding webpage so that the synchronization of data
Or check etc. and to use process, do not limited by terminal equipment type, without authentication, row information is directly entered by domain name
The Web page system shared, it is possible to achieve cross-terminal or the data syn-chronization of multiple terminals and shared.
Alternatively, the technical scheme based on embodiment illustrated in fig. 1, methods described also include step(Three)And/or step
(Four):
(Three)The terminal device receives the specified data that the web page server is sent;The specified data are the net
It is transmitted when data corresponding to the terminal iidentification change on page server;
In the present embodiment, can synchronously there are two kinds of forms, in step(Three)In, be by web page server active push to
Terminal device.
Judgement of the web page server to data variation is disclosed in prior art, be will not be described here.
(Four)When the terminal device opens synchronizing function, the second synchronization request is sent to the web page server, it is described
Second synchronization request carries the terminal iidentification so that the web page server obtains the webpage according to the terminal iidentification
The corresponding data of server, and the corresponding data is sent to the terminal device;When the terminal device obtains failure,
Obtain the data of the terminal device caching.
And in the step(Four)In, be from terminal device actively to web server request synchrodata, then at this time, it may be necessary to
Terminal device sends the second synchronization request to web page server, and carried terminal is identified as the index in data synchronization process,
So that web page server obtains the data corresponding with terminal iidentification preserved on the web page server according to terminal iidentification.
In the present embodiment, terminal iidentification and its corresponding data are to correspond to preserve, and web page server passes through terminal
Mark can inquire its corresponding data.
It should be noted that the data pulled from web page server or the terminal device are also cached with the terminal device
To the data that web page server is synchronous in certain period of time, in case unavailable or web page server is unreachable in network service
When, locally carrying out data syn-chronization for terminal device.Preferably, the caching of the terminal device is same by browser or data
Step application is realized.
Method of data synchronization provided in an embodiment of the present invention, the first information is received by terminal device;The terminal device
According to the first information, the first synchronization request is sent to web page server, first synchronization request carries first letter
Breath and the terminal device terminal iidentification so that the web page server when receiving first synchronization request, according to
The first information and the terminal iidentification carry out data syn-chronization.Using technical scheme, terminal device is entering line number
During synchronization, using terminal identifies the index as its data syn-chronization, and data syn-chronization, energy are carried out on web page server
Enough so that the data synchronization process of terminal device is not limited by data synchronization applications, log-on webpage server or number are avoided
The frequent flow for interacting, simplifying data syn-chronization according to synchronous applications server and between server.Further, also carry
The specific implementation of two kinds of data syn-chronizations has been supplied, has realized the data syn-chronization between terminal device and web page server,
Further ensuring the data on web page server will not be tampered, and it is only synchronous between particular terminal device that it is synchronous.
Fig. 2 is a kind of flow chart of method of data synchronization provided in an embodiment of the present invention.Referring to Fig. 2, the embodiment is held
Row main body is registrar.Referring to Fig. 2, the embodiment includes:
201st, the registration request that receiving terminal apparatus is sent;
202nd, according to the registration request of the terminal device, identified for the terminal device distribution terminal;
203rd, the terminal iidentification is sent to the terminal device.
In the present embodiment, terminal device installation browser for the first time or during data synchronization applications, it is necessary to the browser
Or registrar corresponding to data synchronization applications sends registration request, the registrar is the terminal device distribution terminal mark
Know, for each terminal device distribute with its unique corresponding terminal iidentification, terminal device is using the terminal iidentification as entering line number
According to index during synchronization, the terminal iidentification is carried when sending synchronization request, to enable web page server according to the terminal
Mark determines the webpage that the terminal device should access.
Alternatively, the technical scheme based on embodiment illustrated in fig. 2, step 202 " please according to the registration of the terminal device
Ask, identified for the terminal device distribution terminal ", include afterwards:
Domain name is distributed for the terminal device;Domain name is sent to the terminal device;By domain name and the end
End mark binding.
Still optionally further, methods described also includes:
When distributing domain name for the terminal device, webpage corresponding to domain name is created on web page server.
In the present embodiment, terminal device installation browser for the first time or during data synchronization applications, it is necessary to the browser
Or registrar corresponding to data synchronization applications sends registration request, so that the registrar is that terminal device distribution is whole
End mark and domain name, distributed and its uniquely corresponding terminal iidentification, and dividing equally for each terminal device for each terminal device
With uniquely corresponding domain name, terminal device receive and preserve the terminal iidentification and domain name of the registrar distribution with it.
Meanwhile registrar creates the domain name according to the domain name for distributing to terminal device on web page server and corresponded to
Webpage, in data synchronization process, terminal device is using the terminal iidentification as the index for carrying out data syn-chronization, or, terminal sets
It is standby by accessing the domain name, to enable web page server to determine according to the domain name webpage that the terminal device should access.
Alternatively, the terminal iidentification " is sent to the end by the technical scheme based on embodiment illustrated in fig. 2, step 203
End equipment ", also include afterwards:
Receive the domain name bind request that the terminal device is sent, domain name bind request carries designated domain name and described
Terminal iidentification;
The designated domain name and the terminal iidentification are bound, and is created on web page server corresponding to the designated domain name
Webpage.
Preferably, when the designated domain name that domain name bind request carries designated domain name customized for the terminal device, note
Volume server binds the customized designated domain name of the terminal device and terminal iidentification, and on the web page server described in establishment
Webpage corresponding to designated domain name;
When the designated domain name that domain name bind request carries is once registered designated domain name, registrar binding should
Once registered designated domain name and terminal iidentification.
In order to strengthen Consumer's Experience, make the distribution of domain name more personalized, and also to avoid registrar from distributing
Domain name it is long or irregular caused by input inconvenience, the embodiments of the invention provide the mode of the self-defined domain name of terminal device,
Allow the register flow path that personalized domain name is initiated by terminal device, submit a customized designated domain name or once registered
The designated domain name crossed is to registrar, after registrar receives designated domain name, binds designated domain name and terminal iidentification, and to
Terminal sends binding acknowledgement, and designated domain name and terminal iidentification are equally bound after terminal device is confirmed so that accesses every time
When, it can access the designated domain name.
It should be noted that for designated domain name is once registered designated domain name, it is ensured that same domain name
It can be used for multiple times, once browser refitting occurs or changes synchronous terminal, can be by binding the finger once registered
Terminal iidentification after localization name and replacing carries out data recovery or data syn-chronization.
Using technical scheme, terminal device is during data syn-chronization is carried out, using terminal mark conduct
The index of its data syn-chronization, data syn-chronization is carried out on web page server, enable to the data synchronization process of terminal device not
Limited by data synchronization applications, avoid log-on webpage server or data synchronization applications server and with server it
Between frequent interaction, simplify the flow of data syn-chronization.
Fig. 3 is a kind of flow chart of method of data synchronization provided in an embodiment of the present invention, and the executive agent of the embodiment is
Web page server.Referring to Fig. 3, the implementation includes:
301st, the first synchronization request that web page server receiving terminal apparatus is sent, first synchronization request carry first
The terminal iidentification of information and the terminal device;
It should be noted that the terminal iidentification that registrar is terminal device distribution is preserved on terminal device, because
This not only carries the first information when sending the first synchronization request in the first synchronization request, also needs to carry the terminal iidentification, with
When convenient web page server receives first synchronization request, it is same that data are carried out according to the first information and the terminal iidentification
Step.
302nd, the web page server carries out data syn-chronization according to the first information and the terminal iidentification.
The terminal iidentification can be as the index for being used for data syn-chronization on web page server.It is and same to the data of the first information
Step refers to the first information being added in the object of data syn-chronization.In the present embodiment, using the object of the data syn-chronization as terminal
Illustrated exemplified by the webpage of domain name corresponding to mark.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, " web page server is according to described for the step 302
One information and the terminal iidentification carry out data syn-chronization ", including:
The first information is synchronized to the terminal iidentification corresponding domain by the web page server according to the terminal iidentification
The webpage of name.
It should be noted that after registrar is bound to terminal iidentification and domain name, the binding can be notified to
Web page server, therefore, when web page server receives the first information and terminal iidentification, determine that it is corresponding according to terminal iidentification
Domain name, and in webpage corresponding to according to corresponding domain name the first information being synchronized into the domain name.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, methods described also include:
(Five)When data corresponding to the terminal iidentification on the web page server change, to the terminal device
Send and specify data, the specified data are the data after change;
In the present embodiment, can synchronously there are two kinds of forms, in step(Five)In, be by web page server active push to
Terminal device.
Judgement of the web page server to data variation is disclosed in prior art, be will not be described here.
(Six)When the web page server receives the second synchronization request of the terminal device transmission, described second is synchronous
Request carries the terminal iidentification, according to the terminal iidentification, obtains the corresponding data of the web page server, and by the phase
Data are answered to be sent to the terminal device.
And in the step(Six)In, be from terminal device actively to web server request synchrodata, then at this time, it may be necessary to
Terminal device sends the second synchronization request to web page server, and carried terminal is identified as the index in data synchronization process,
Web page server obtains the data corresponding with terminal iidentification preserved on the web page server according to terminal iidentification, and should
Corresponding data send a terminal device.
In the present embodiment, terminal iidentification and its corresponding data are to correspond to preserve on web page server, webpage clothes
Business device can inquire its corresponding data by terminal iidentification.
It should be noted that the data pulled from web page server or the terminal device are also cached with the terminal device
To the data that web page server is synchronous in certain period of time, in case unavailable or web page server is unreachable in network service
When, locally carrying out data syn-chronization for terminal device.Preferably, the caching of the terminal device is same by browser or data
Step application is realized.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, methods described also include:Set when receiving first terminal
The access request that preparation is sent, the access request are used to access webpage corresponding to the first domain name;When receiving designated pin, permit
Perhaps described first terminal equipment accesses webpage corresponding to first domain name.
It should be noted that the first terminal equipment refers to any one terminal device, when web page server receive this
, then can be according to first end when the access request carrying first terminal device identification during access request that one terminal device is sent
End equipment mark obtains its corresponding domain name, and accesses webpage corresponding to the domain name;And when the access request does not carry first eventually
End equipment identifies, but for carrying out password authentification, it is necessary to access this time during webpage corresponding to the first domain name of access, therefore,
Only when receiving designated pin, it is allowed to which the first terminal equipment accesses webpage corresponding to first domain name.In the present embodiment,
Access to first terminal equipment has carried out security control and checking, there is provided the security of data access.
Alternatively, the technical scheme based on embodiment illustrated in fig. 3, methods described also include:
It is described to share request for checking corresponding to the first domain name when the request of sharing for receiving the transmission of first terminal equipment
Webpage;When receiving designated pin, according to auto-building html files reading web page corresponding to first domain name, and obtain described
The address of reading web page;The address of a reading web page is sent to the first terminal equipment.
It should be noted that when web page server receive the first terminal equipment transmission when sharing request, when this point
Enjoy request and carry first terminal device identification, then can obtain its corresponding domain name according to the first terminal device identification, and according to
Auto-building html files reading web page corresponding to the domain name, and obtain the network address of this reading web page so that the user of first terminal equipment can
During receiving the network address, network address is shared with other users or other-end equipment;And do not carry first when this shares request
Terminal Equipment Identifier, but for carrying out password authentification, it is necessary to access this time when checking webpage corresponding to the first domain name, because
This, only when receiving designated pin, and the auto-building html files reading web page according to corresponding to the domain name, and obtain this reading web page
Network address so that when the user of first terminal equipment can receive the network address, network address is shared with other users or other-end
Equipment.In the present embodiment, security control and checking have been carried out to sharing for first terminal equipment, there is provided the peace of data access
Quan Xing, and provide the not editable read-only page so that user, will not be to number on web page server when checking the read-only page
According to synchronization and the securities of data impact.
It should be noted that it is connection in the above-described embodiments, between web page server and registrar.
Above-mentioned all optional technical schemes can use combinable mode any combination to form the embodiment of the present invention
Alternative embodiment, no longer illustrate one by one herein.
Fig. 4 is a kind of particular flow sheet of method of data synchronization provided in an embodiment of the present invention.The interaction master of the embodiment
Body is terminal device, web page server and registrar.The first information is only synchronized to webpage by the present embodiment with terminal device
Illustrated exemplified by server.Referring to Fig. 4, the embodiment specifically includes:
401st, terminal device sends registration request to registrar;
402nd, registrar is according to the registration request of the terminal device, for terminal device distribution terminal mark and
Domain name;
Further, registrar creates webpage corresponding to domain name on web page server.
403rd, registrar binds domain name and the terminal iidentification;
Further, registrar notifies the binding relationship of domain name and the terminal iidentification to web service
Device.
404th, the terminal iidentification and domain name are sent to the terminal device by registrar;
405th, terminal device preserves the terminal iidentification and domain name;
406th, terminal device receives the first information;
407th, the terminal device is according to the first information, and the first synchronization request is sent to web page server, and described the
One synchronization request carries the terminal iidentification of the first information and the terminal device;
408th, the first information is synchronized to the terminal iidentification corresponding domain by web page server according to the terminal iidentification
The webpage of name.
Fig. 5 is a kind of structural representation of terminal device provided in an embodiment of the present invention.Referring to Fig. 5, the terminal device bag
Include:
Receiving module 51, for receiving the first information;
Sending module 52, for according to the first information, the first synchronization request is sent to web page server, described first
Synchronization request carries the terminal iidentification of the first information and the terminal device so that the web page server is receiving
When stating the first synchronization request, data syn-chronization is carried out according to the first information and the terminal iidentification.
Alternatively, the terminal device also includes:
Preserving module 53, for receiving and preserving the terminal iidentification of registrar distribution.
Alternatively, the preserving module 53 is additionally operable to receive and preserves the domain name of the registrar distribution;
And/or
The sending module 52 is additionally operable to send domain name bind request to registrar, and domain name bind request carries
Designated domain name and the terminal iidentification so that the registrar is when receiving domain name bind request, described in binding
Designated domain name and the terminal iidentification, and webpage corresponding to the designated domain name is created on the web page server.
Alternatively, the receiving module 51 is additionally operable to receive the specified data that the web page server is sent;It is described to specify
Data are transmitted when data corresponding to the terminal iidentification change on the web page server;
And/or
When the sending module 52 is additionally operable to open synchronizing function, the second synchronization request is sent to the web page server,
Second synchronization request carries the terminal iidentification so that the web page server is according to the terminal iidentification, described in acquisition
The corresponding data of web page server, and the corresponding data is sent to the terminal device;
Alternatively, the terminal device also includes:
Acquisition module 54, for when the terminal device obtains failure, obtaining the data of the terminal device caching.
The terminal device of embodiment illustrated in fig. 5, the skill of the present invention is described exemplified by including above-mentioned all optional technical schemes
Art scheme, in practical application, above-mentioned all optional technical schemes can form implementation of the present invention using any combinative mode
The optional technical scheme of example, no longer illustrates one by one herein.
The terminal device of the present embodiment, data syn-chronization is realized by using above-mentioned module, with above-mentioned related method embodiment
Realization mechanism it is identical, may be referred to the record of above-mentioned related method embodiment in detail, will not be repeated here.
It should be noted that:The terminal device that above-described embodiment provides is in data syn-chronization, only with above-mentioned each functional module
Division progress for example, in practical application, can be complete by different functional modules by above-mentioned function distribution as needed
Into the internal structure of equipment being divided into different functional modules, to complete all or part of function described above.Separately
Outside, the terminal device that above-described embodiment provides belongs to same design with method of data synchronization embodiment, and it is detailed that it implements process
See embodiment of the method, repeat no more here.
Fig. 6 is a kind of structural representation of registrar provided in an embodiment of the present invention.Referring to Fig. 6, the registration service
Device includes:
Receiving module 61, the registration request sent for receiving terminal apparatus;
Distribute module 62, for the registration request according to the terminal device, identified for the terminal device distribution terminal;
Sending module 63, for the terminal iidentification to be sent into the terminal device.
Alternatively, the distribute module 62 is additionally operable to distribute domain name for the terminal device;
The sending module 63 is additionally operable to send domain name to the terminal device;
The registrar also includes:
Binding module 64, for domain name and the terminal iidentification to be bound.
Alternatively, the registrar also includes:
Creation module 65, for when distributing domain name for the terminal device, domain name to be created on web page server
Corresponding webpage.
Alternatively, the receiving module 61 is additionally operable to receive the domain name bind request that the terminal device is sent, the domain
Name bind request carries designated domain name and the terminal iidentification;
The binding module 64 is additionally operable to bind the designated domain name and the terminal iidentification;
The creation module 65 is additionally operable to create webpage corresponding to the designated domain name on web page server.
The registrar of embodiment illustrated in fig. 6, describe the present invention's exemplified by including above-mentioned all optional technical schemes
Technical scheme, in practical application, above-mentioned all optional technical schemes can be formed of the invention real using any combinative mode
The optional technical scheme of example is applied, is no longer illustrated one by one herein.
The registrar of the present embodiment, data syn-chronization is realized by using above-mentioned module, implemented with above-mentioned correlation technique
The realization mechanism of example is identical, may be referred to the record of above-mentioned related method embodiment in detail, will not be repeated here.
It should be noted that:The registrar that above-described embodiment provides is in data syn-chronization, only with above-mentioned each function mould
The division progress of block, can be as needed and by above-mentioned function distribution by different functional modules for example, in practical application
Complete, i.e., the internal structure of registrar is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, the registrar that above-described embodiment provides belongs to same design with method of data synchronization embodiment, its is specific
Implementation process refers to embodiment of the method, repeats no more here.
Fig. 7 is a kind of structural representation of web page server provided in an embodiment of the present invention.Referring to Fig. 7, the web service
Device includes:
Receiving module 71, the first synchronization request sent for receiving terminal apparatus, first synchronization request carry the
The terminal iidentification of one information and the terminal device;
Data simultaneous module 72, for carrying out data syn-chronization according to the first information and the terminal iidentification.
Alternatively, data simultaneous module 72 is specifically used for according to the terminal iidentification, and the first information is synchronized into institute
State the webpage that terminal iidentification corresponds to domain name.
Alternatively, the web page server also includes:
Sending module 73, for when data corresponding to the terminal iidentification on web page server change, to described
Terminal device, which is sent, specifies data, and the specified data are the data after change;
And/or
The sending module 73 is additionally operable to when the web page server receives the second synchronization of the terminal device transmission
Request, second synchronization request carry the terminal iidentification, according to the terminal iidentification, obtain the phase of the web page server
Data are answered, and the corresponding data is sent to the terminal device.
Alternatively, the receiving module 71 is additionally operable to receive the access request that first terminal equipment is sent, and the access please
Ask for accessing webpage corresponding to the first domain name;When receiving designated pin, it is allowed to described in the first terminal equipment accesses
Webpage corresponding to first domain name.
Alternatively, the receiving module 71 is additionally operable to receive the request of sharing that first terminal equipment sends, it is described share ask
Ask for checking webpage corresponding to the first domain name;
The web page server also includes:
Acquisition module 74, it is read-only according to auto-building html files corresponding to first domain name for when receiving designated pin
Webpage, and obtain the address of described reading web page;
The sending module 73 is additionally operable to send the address of a reading web page to the first terminal equipment.
The web page server of embodiment illustrated in fig. 7, describe the present invention's exemplified by including above-mentioned all optional technical schemes
Technical scheme, in practical application, above-mentioned all optional technical schemes can be formed of the invention real using any combinative mode
The optional technical scheme of example is applied, is no longer illustrated one by one herein.
The web page server of the present embodiment, data syn-chronization is realized by using above-mentioned module, implemented with above-mentioned correlation technique
The realization mechanism of example is identical, may be referred to the record of above-mentioned related method embodiment in detail, will not be repeated here.
It should be noted that:The web page server that above-described embodiment provides is in data syn-chronization, only with above-mentioned each function mould
The division progress of block, can be as needed and by above-mentioned function distribution by different functional modules for example, in practical application
Complete, i.e., the internal structure of web page server is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, the web page server that above-described embodiment provides belongs to same design with method of data synchronization embodiment, its is specific
Implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (20)
1. a kind of method of data synchronization, it is characterised in that methods described includes:
Terminal device receives the first information;
The terminal device receives and preserves the terminal iidentification of registrar distribution;
The terminal device sends domain name bind request to the registrar, and domain name bind request carries designated domain name
With the terminal iidentification so that the registrar binds the designated domain name when receiving domain name bind request
With the terminal iidentification, and webpage corresponding to the designated domain name is created on web page server;
The terminal device sends the first synchronization request, described first is same according to the first information to the web page server
Step request carries the terminal iidentification of the first information and the terminal device so that the web page server receive it is described
During the first synchronization request, according to the terminal iidentification, the first information is synchronized to the net that the terminal iidentification corresponds to domain name
Page.
2. according to the method for claim 1, it is characterised in that the terminal device is according to the first information, to webpage
Server sends the first synchronization request, also includes before:
The terminal device receives and preserves the domain name of the registrar distribution.
3. according to the method for claim 1, it is characterised in that methods described also includes:
The terminal device receives the specified data that the web page server is sent;The specified data are the web page server
Data corresponding to the upper terminal iidentification are transmitted when changing;
And/or
When the terminal device opens synchronizing function, the second synchronization request is sent to the web page server, described second is synchronous
Request carries the terminal iidentification so that the web page server obtains the web page server according to the terminal iidentification
Corresponding data, and the corresponding data is sent to the terminal device;When the terminal device obtains failure, described in acquisition
The data of terminal device caching.
A kind of 4. method of data synchronization, it is characterised in that including:
The registration request that receiving terminal apparatus is sent;
According to the registration request of the terminal device, identified for the terminal device distribution terminal;
The terminal iidentification is sent to the terminal device;
The domain name bind request that the terminal device is sent is received, domain name bind request carries designated domain name and the terminal
Mark;
The designated domain name and the terminal iidentification are bound, and net corresponding to the designated domain name is created on web page server
Page so that the web page server carries the first information and the terminal iidentification receive that the terminal device sends
During the first synchronization request, according to the terminal iidentification, the first information is synchronized to the net that the terminal iidentification corresponds to domain name
Page.
5. according to the method for claim 4, it is characterised in that be the end according to the registration request of the terminal device
End equipment distribution terminal identifies, and includes afterwards:
Domain name is distributed for the terminal device;
Domain name is sent to the terminal device;
Domain name and the terminal iidentification are bound.
6. according to the method for claim 5, it is characterised in that methods described also includes:
When distributing domain name for the terminal device, webpage corresponding to domain name is created on the web page server.
A kind of 7. method of data synchronization, it is characterised in that including:
The first synchronization request that web page server receiving terminal apparatus is sent, first synchronization request carry the first information and institute
State the terminal iidentification of terminal device;
The first information is synchronized to the terminal iidentification and corresponds to domain name by the web page server according to the terminal iidentification
Webpage;
Wherein, the webpage that the terminal iidentification corresponds to domain name is that registrar is receiving the carrying of the terminal device transmission
When having designated domain name and the domain name bind request of the terminal iidentification, the designated domain name and the terminal iidentification are bound, and
Obtained after webpage corresponding to the designated domain name is created on the web page server.
8. according to the method for claim 7, it is characterised in that methods described also includes:
When data corresponding to the terminal iidentification on the web page server change, send and specify to the terminal device
Data, the specified data are the data after change;
And/or
When the web page server receives the second synchronization request of the terminal device transmission, second synchronization request carries
The terminal iidentification, according to the terminal iidentification, the corresponding data of the web page server is obtained, and the corresponding data is sent out
Give the terminal device.
9. according to the method for claim 7, it is characterised in that methods described also includes:
The access request that first terminal equipment is sent is received, the access request is used to access webpage corresponding to the first domain name;
When receiving designated pin, it is allowed to which the first terminal equipment accesses webpage corresponding to first domain name.
10. according to the method for claim 7, it is characterised in that methods described also includes:
The request of sharing of first terminal equipment transmission is received, it is described to share request for checking webpage corresponding to the first domain name;
When receiving designated pin, according to auto-building html files reading web page corresponding to first domain name, and obtain described read-only
The address of webpage;
The address of a reading web page is sent to the first terminal equipment.
A kind of 11. terminal device, it is characterised in that including:
Receiving module, for receiving the first information;
Preserving module, for receiving and preserving the terminal iidentification of registrar distribution;
Sending module, for sending domain name bind request to the registrar, domain name bind request carries specified domain
Name and the terminal iidentification so that the registrar binds the specified domain when receiving domain name bind request
Name and the terminal iidentification, and webpage corresponding to the designated domain name is created on web page server;
The sending module, it is additionally operable to according to the first information, the first synchronization request is sent to the web page server, it is described
First synchronization request carries the terminal iidentification of the first information and the terminal device so that the web page server is receiving
During to first synchronization request, according to the terminal iidentification, the first information is synchronized to the terminal iidentification corresponding domain
The webpage of name.
12. terminal device according to claim 11, it is characterised in that the preserving module is additionally operable to receive and preserves institute
State the domain name of registrar distribution.
13. terminal device according to claim 11, it is characterised in that the receiving module is additionally operable to receive the webpage
The specified data that server is sent;The specified data are that data corresponding to the terminal iidentification occur on the web page server
It is transmitted during change;
And/or
When the sending module is additionally operable to open synchronizing function, the second synchronization request is sent to the web page server, described the
Two synchronization requests carry the terminal iidentification so that the web page server obtains the webpage clothes according to the terminal iidentification
The corresponding data of business device, and the corresponding data is sent to the terminal device;
The terminal device also includes:
Acquisition module, for when the terminal device obtains failure, obtaining the data of the terminal device caching.
A kind of 14. registrar, it is characterised in that including:
Receiving module, the registration request sent for receiving terminal apparatus;
Distribute module, for the registration request according to the terminal device, identified for the terminal device distribution terminal;
Sending module, for the terminal iidentification to be sent into the terminal device;
The receiving module, it is additionally operable to receive the domain name bind request that the terminal device is sent, domain name bind request is taken
Band designated domain name and the terminal iidentification;
Binding module, for binding the designated domain name and the terminal iidentification;
Creation module, for creating webpage corresponding to the designated domain name on web page server so that the web page server
When carrying the first synchronization request of the first information and the terminal iidentification of the terminal device transmission is being received, according to institute
Terminal iidentification is stated, the first information is synchronized to the webpage that the terminal iidentification corresponds to domain name.
15. registrar according to claim 14, it is characterised in that the distribute module is additionally operable to as the terminal
Equipment distributes domain name;
The sending module is additionally operable to send domain name to the terminal device;
The binding module is additionally operable to bind domain name and the terminal iidentification.
16. registrar according to claim 15, it is characterised in that it is the end that the creation module, which is additionally operable to work as,
When end equipment distributes domain name, webpage corresponding to domain name is created on the web page server.
A kind of 17. web page server, it is characterised in that including:
Receiving module, the first synchronization request sent for receiving terminal apparatus, first synchronization request carry the first information
With the terminal iidentification of the terminal device;
Data simultaneous module, for according to the terminal iidentification, the first information to be synchronized into the terminal iidentification corresponding domain
The webpage of name;
Wherein, the webpage that the terminal iidentification corresponds to domain name is that registrar is receiving the carrying of the terminal device transmission
When having designated domain name and the domain name bind request of the terminal iidentification, the designated domain name and the terminal iidentification are bound, and
Obtained after webpage corresponding to the designated domain name is created on the web page server.
18. web page server according to claim 17, it is characterised in that the web page server also includes:
Sending module, for when data corresponding to the terminal iidentification on web page server change, being set to the terminal
Preparation send specified data, and the specified data are the data after change;
And/or
The sending module, for receiving the second synchronization request of the terminal device transmission, institute when the web page server
State the second synchronization request and carry the terminal iidentification, according to the terminal iidentification, obtain the corresponding data of the web page server,
And the corresponding data is sent to the terminal device.
19. web page server according to claim 17, it is characterised in that the receiving module is additionally operable to receive first eventually
The access request that end equipment is sent, the access request are used to access webpage corresponding to the first domain name;When receiving designated pin
When, it is allowed to the first terminal equipment accesses webpage corresponding to first domain name.
20. web page server according to claim 17, it is characterised in that the receiving module is additionally operable to receive first eventually
What end equipment was sent shares request, described to share request for checking webpage corresponding to the first domain name;
The web page server also includes:
Acquisition module, for when receiving designated pin, according to auto-building html files reading web page corresponding to first domain name, and
Obtain the address of a reading web page;
Sending module, for sending the address of a reading web page to the 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 CN103685333A (en) | 2014-03-26 |
CN103685333B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780211B (en) * | 2015-04-13 | 2016-09-07 | 努比亚技术有限公司 | Method of data synchronization and 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 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
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 |
-
2012
- 2012-08-31 CN CN201210318792.8A patent/CN103685333B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103685333A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103051631B (en) | Unified security authentication method for PaaS (Platform as a Service) platform and SaaS (Software as a Service) application system | |
CN103179115B (en) | The cloud service access control method that a kind of facing cloud television terminal is applied across cloud | |
CN104023092B (en) | A kind of method and system for realizing orientation flow bag | |
CN103746812B (en) | A kind of access authentication method and system | |
CN101369893B (en) | Method for local area network access authentication of casual user | |
CN108777699B (en) | Application cross-domain access method based on Internet of things multi-domain collaborative architecture | |
US20140289829A1 (en) | Computer account management system and realizing method thereof | |
CN103685333B (en) | Method of data synchronization, terminal device, registrar and web page server | |
CN102984159B (en) | Based on secure accessing logic control method and the Platform Server of terminal access behavior | |
CN104348786B (en) | Password method for retrieving, device and system | |
WO2008030571A3 (en) | Method and system for establishing real-time authenticated and secured communication channels in a public network | |
CN102823218A (en) | Method and apparatus for identity federation gateway | |
CN101695164A (en) | Verification method, device and system for controlling resource access | |
CN110958111A (en) | Electric power mobile terminal identity authentication mechanism based on block chain | |
CN103023856B (en) | Method, system and the information processing method of single-sign-on, system | |
CN101916459B (en) | Safe electronic ticket method | |
CN109040024A (en) | A kind of resource access right control method and system | |
CN102695167A (en) | Mobile subscriber identity management method and apparatus thereof | |
CN104348791B (en) | A kind of single-point logging method and system | |
CN108011888A (en) | A kind of method, apparatus and storage medium, program product for realizing certificate reconstruct | |
CN101835148A (en) | Method, system and equipment for distributing and acquiring digital content | |
CN103812900A (en) | Data synchronization method, device and system | |
CN105808990A (en) | Method and device for controlling URL access on basis of IOS system | |
CN103957189B (en) | Application program interaction method and device | |
CN102891863A (en) | Data reading and writing method |
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 |