CN104717289A - Data synchronism method and device - Google Patents
Data synchronism method and device Download PDFInfo
- Publication number
- CN104717289A CN104717289A CN201510104585.6A CN201510104585A CN104717289A CN 104717289 A CN104717289 A CN 104717289A CN 201510104585 A CN201510104585 A CN 201510104585A CN 104717289 A CN104717289 A CN 104717289A
- Authority
- CN
- China
- Prior art keywords
- application program
- intended gateway
- gateway
- data
- described intended
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a data synchronism method and device. A running application program is monitored; when the running application program is monitored, user data and application program data corresponding to the application program are stored; a target gateway is determined, and linkage information corresponding to the target gateway is obtained through a cloud server and used for establishing connection with the target gateway; the application program needing data synchronism is determined, the newest stored user data and the newest stored application program data corresponding to the application program are sent to the target gateway through the connection established with the target gateway, the target gateway sends the user data and the application program data to terminal equipment supporting the application program, and the application program is executed according to the user data and the application program data. The problem of information isolated island between all equipment is solved, and therefore the intelligentization of equipment behaviors is achieved.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of method of data synchronization and device.
Background technology
Along with the raising of people's living standard, Smart Home has progressively come into the life of people, and it creates great impact to the life style of the mankind.Smart Home, take house as platform, utilize comprehensive wiring technology, the network communications technology, security precautions technology, automatic control technology, audio frequency and video technology by integrated for facility relevant for life staying idle at home, build the management system of efficient housing facilities and family's schedule affairs, promote house security, convenience, comfortableness, artistry, and realize the living environment of environmental protection and energy saving.
As the large data carrying platform of Smart Home, high in the clouds is the indispensable key player of intelligent industry development.User can utilize high in the clouds, and search finds the smart machine in family, control command is sent to home equipment or gateway, carrys out the behavior pattern of control appliance.
User also can utilize high in the clouds, carrys out the services such as synchronous schedule, document, application, backup, e-book, Email, photo.Be synchronously a two-way process, in the amendment of equipment end, meeting automatic synchronization is in the account of your correspondence.Therefore, even if user lost the full detail on equipment, such as, lose mobile phone, by the account of oneself, automatically can recover the information on user mobile phone.
Existing Smart Home technology, is generally be connected to wireless network by transducer and communication module, is connected to mobile phone by Cloud Server, even directly connects mobile phone by wireless network, realizes the function of smart mobile phone manipulation Smart Home.
Now a lot of remote control intelligent household, cannot control automatically, so need artificial intervention, all needs to export (mobile device output signal), input equipment (receiving port of Smart Home) controls.Modal situation is in smart mobile phone, sends interactive command to home equipment or gateway, thus realize controlling functions by high in the clouds.The role of control centre served as by general intelligence mobile phone, sent the mode of message by App, controls the operation of home equipment.
At present, high in the clouds is usually used in the preservation of equipment of itself information with synchronous, and the content synchronization between equipment is also very deficient.Along with various smart machine gets more and more, the telecoms gap occurred between equipment is also more and more obvious.
Along with the raising of people's living standard, taking smart mobile phone as the portable set of representative, is the most frequently used smart machines of people, and people see video, listen to the music above, browsing page and see e-book, very convenient.But smart machine self screen is narrow, have certain privacy, the limitation shared with other people is very large.And, when people go back home, if when also wanting the content continuing to browse above portable equipment, many times wish, can according to the custom of self and default home equipment environmental parameter, by the current content browsed, automatically switch on miscellaneous equipment and play, such as intelligent television.Like this, people just can in the family, in the domestic environment of oneself the most comfortable, and sharing contents together with household or friend.So, can the content browsed of seamless switching user intelligently, thus reach the technology controlling home equipment behavior, just seem particularly necessary.
Summary of the invention
In view of this, the application provides a kind of method of data synchronization and device, with the problem of detached island of information between solution equipment.
For solving the problems of the technologies described above, the technical scheme of the application is achieved in that
A kind of method of data synchronization, the method comprises:
Mobile device monitors the application program run; When monitoring the application program run, store user data corresponding to this application program and application data;
This mobile device determination intended gateway, described intended gateway is the gateway that this mobile device will carry out data syn-chronization;
This mobile device obtains link information corresponding to described intended gateway by cloud server, and uses described link information and described intended gateway to connect;
This mobile device determines the application program needing to carry out data syn-chronization, by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway by the connection of setting up with described intended gateway, described user data and application data are sent to by described intended gateway and supports that the terminal equipment of this application program performs described application program according to described user data and application data.
A kind of data synchronization unit, this device comprises: monitor bit cell, determining unit, acquisition linkage unit and lock unit;
Described monitor bit cell, for monitoring the application program run; When monitoring the application program run, store user data corresponding to this application program and application data;
Described determining unit, for determining intended gateway, described intended gateway is the gateway that this device will carry out data syn-chronization;
Described acquisition linkage unit, for obtaining link information corresponding to intended gateway that described determining unit determines by cloud server; And use the link information of acquisition and described intended gateway to connect;
Described lock unit, for determining the application program needing to carry out data syn-chronization, by described monitor bit cell for the user data of the up-to-date storage of this application program and application data, the connection of being set up by described acquisition linkage unit sends to described intended gateway, described user data and application data is sent to by described intended gateway and supports that the terminal equipment of this application program performs described application program according to described user data and application data.
From technical scheme above, when in the application, mobile device needs to perform the application program that this mobile device performs on the miscellaneous equipment be connected with intended gateway, the relevant user data and application data that perform this application program are synchronized to intended gateway, and by intended gateway related data is synchronized to and supports that the terminal equipment of this application program performs described application program, solve the problem of detached island of information between each equipment, thus realize the intellectuality of equipment behavior.
Accompanying drawing explanation
Fig. 1 is data syn-chronization schematic flow sheet in the embodiment of the present application;
Fig. 2 is the apparatus structure schematic diagram being applied to above-mentioned technology in the embodiment of the present application.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment below in conjunction with accompanying drawing, technical scheme of the present invention is described in detail.
A kind of method of data synchronization is provided in the embodiment of the present application, when mobile device needs to perform the application program that this mobile device performs on the miscellaneous equipment be connected with intended gateway, the relevant user data and application data that perform this application program are synchronized to intended gateway, and by intended gateway related data is synchronized to and supports that the terminal equipment of this application program performs described application program, solve the problem of detached island of information between each equipment, thus realize the intellectuality of equipment behavior.
Mobile device in the embodiment of the present application can be the portable set in practical application, as mobile phone, IPAD, palmtop PC etc.Gateway can be home gateway, corporate gateway etc.
In order to carry out data syn-chronization in the embodiment of the present application, mobile device should obtain list of gateways, and is generated to the routing information of this mobile device for each gateway in list of gateways; Wherein, gateway is to the routing information of this mobile device, determine according to the positional information of gateway and the positional information of mobile device, determine to there is a few paths between this mobile terminal to gateway as the positional information of two equipment on map (latitude and longitude information) can be utilized, and the routing information of each paths (flag information etc. on the way), the physical record mode of the application to routing information is not restricted.
Mobile device, when obtaining list of gateways, if mobile device existed, directly obtains, and if there is no, the list of gateways instruction receiving input obtains list of gateways.
Mobile device carries out process monitoring, when monitoring the application program run, if for this application program creates the catalogue storing related data, the then direct related data that this application program of storage running is corresponding in this catalogue, when storing, the related data that this application program once stored before can upgrading is corresponding, the related data that this application program that also can monitor with time representation different time is corresponding.If not for this application program creates the catalogue storing related data, then create the catalogue storing related data for this application program, and store the related data monitored.
In realization application, if there is different user when running an application program, in the catalogue created for this application program, also should distinguish different users.
When monitoring the application program run, carry out content analysis, determine the content type of the application program of current operation, and data format, the content type of application program is browser, audio frequency and video, game, document etc., for video format as MPEG, WMV etc., for the webpage format of browser as HTML, JSP etc.
Mobile device determines that the mode of the content type of the application program of current operation is specifically as follows:
Mobile device obtains APP name and the path of the application program run, and determine obtain APP name and path in keyword;
If there is the keyword such as " browser ", " firefox ", " opera ", then judge that the content type of current application program is as browser;
If there is the keyword such as " audio ", " video ", " kmplayer ", then judge that the content type of current application program is as audio frequency and video;
If there is the keyword such as " polaris ", " office ", " reader ", then judge that the content type of current application program is as electronic document;
If there is the keyword such as " game ", " EA ", then judge that the content type of current application program is as game.
Carry out corresponding content for different content type to store, if the application program of current operation is browser, then obtain the webpage quantity and URL browsed;
If the application program of current operation is audio/video player, then by audio/video manager, obtain the current audio/video information play, comprise the association attributeses such as the path of audio-video document, file size, video format, current play time;
If the application program of current operation is game, then third party's gaming operators is needed to provide API, to obtain progress point and the information such as GID, residing subregion of going game preservation.
Below in conjunction with accompanying drawing, describe in the application's specific embodiment how to realize data syn-chronization in detail.Be data syn-chronization schematic flow sheet in the embodiment of the present application see Fig. 1, Fig. 1.Concrete steps are:
Step 101, mobile device determination intended gateway, described intended gateway is the gateway that this mobile device will carry out data syn-chronization.
The specific implementation of mobile device determination intended gateway is as follows:
The positional information of this mobile device of mobile device periodic recording, cycle obtains the motion track of this mobile device, by the gateway corresponding with the routing information that the motion track of this mobile device mates, and be defined as intended gateway apart from the gateway that the distance of this mobile device is less than predeterminable range.
When specific implementation, GPS can be utilized to obtain the positional information (latitude and longitude information) of this mobile device, and determine the motion track of this mobile device according to this mobile device in the positional information in each cycle.In a particular application, in order to prevent frequently mating routing information, pre-configuredly mobile number of times can also be preset, as 10, if mobile number of times reaches default mobile number of times, the motion track of this mobile device just can be determined according to the positional information for this mobile device record.
In order to prevent too early by data syn-chronization to gateway, make gateway trigger miscellaneous equipment and run the relevant data of synchronous application program, can predeterminable range be set, namely this mobile device is less than this predeterminable range to the distance of gateway, as 500m, just determine intended gateway, just can to gateway synchronization data.
Aforesaid way mobile terminal is distant at distance objective gateway, and is being in the mode to determining intended gateway when intended gateway movement; If this mobile terminal itself and intended gateway are closer, or this mobile terminal only one among a small circle in movement, when leveling off to static, and when also needing to carry out data syn-chronization, can manual input commands select target gateway.
When mobile terminal receives the select command of intended gateway, the gateway indicated in this order is defined as intended gateway.
Step 102, this mobile device obtains link information corresponding to described intended gateway by cloud server, and uses described link information and described intended gateway to connect.
This mobile device described in this step obtains link information corresponding to described intended gateway by cloud server, comprising:
Described mobile device obtains the gateway registration list on cloud server, and determines whether there is described intended gateway in this gateway registration list, if so, obtains the link information that described intended gateway is corresponding; Otherwise, described intended gateway is registered on described cloud server, and obtains link information corresponding to described intended gateway.
In the specific embodiment of the application, cloud server comprises keeps, Smart Home server etc.
When needing the link information obtaining intended gateway, mobile device, first according to user account login account server, after the success of login account server, obtains account token (Token).
This mobile terminal uses the account token access Smart Home server obtained, and obtains gateway registration list, record registered to cloud server gateway in gateway registration list from Smart Home server; The information for connecting with gateway such as region, access level etc. that the gateway link information obtained comprises gateway.
When specific implementation, determine whether there is described intended gateway in list of gateways, namely determine whether the SSID of described intended gateway exists in described list of gateways.
Use before described link information and described intended gateway connect described in this step, described method comprises further:
This mobile terminal is while acquisition link information, and obtain the connection weight limit information of described intended gateway, described connection weight limit information maybe can not connect for connecting;
When described connection weight limit information is for connecting, performs the described link information of described use and described intended gateway and to connect step.
When described connection weight limit information is for connecting, process ends, does not namely connect, and does not also just carry out follow-up data syn-chronization.
Step 103, this mobile device determines the application program needing to carry out data syn-chronization, by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway by the connection of setting up with described intended gateway, described user data and application data are sent to by described intended gateway and supports the terminal equipment of this application program and perform described application program according to described user data and application data.
In this step, after this mobile device determines the application program needing to carry out data syn-chronization, by for the user data of the up-to-date storage of this application program and application data, before sending to described intended gateway by the connection of setting up with described intended gateway, described method comprises further:
This mobile device sends synchronization request to described intended gateway;
When receiving the sync response of described intended gateway transmission, and when receiving synchrodata according to described sync response determination gateway, perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway step by the connection of setting up with described intended gateway.
When receiving the sync response of described intended gateway transmission, and when can not receive synchrodata according to described sync response determination gateway, process ends, does not namely carry out follow-up data syn-chronization.
When this mobile device receives the sync response of described intended gateway transmission, and when receiving synchrodata according to described sync response determination gateway, described by for the user data of the up-to-date storage of this application program and application data, before sending to described intended gateway by the connection of setting up with described intended gateway, described method comprises further:
By determining to need the content type of the application program of carrying out data syn-chronization and data format corresponding to this content type to send to described intended gateway, described intended gateway is determined whether there is support the terminal equipment performing described application program;
When the support that this mobile device receives the response of described intended gateway performs the terminal equipment of described application program, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway step by the connection of setting up with described intended gateway, make described intended gateway that the terminal equipment that described user data and application data send to this mobile terminal to specify is performed described application program;
When this mobile device receive described intended gateway response there is not the terminal equipment supporting described application program, and each terminal equipment support the described content type of described application program corresponding data format time, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, described intended gateway step is sent to by the connection of setting up with described intended gateway, after the data format that the content type of the described application program that described user data and application data are converted to by described intended gateway terminal equipment that this mobile device specifies is supported is corresponding, the terminal equipment of specifying is sent to perform described application program again.
In the specific embodiment of the application, support that the terminal equipment of described application program can be computer, also can be TV etc., hereafter can be called secondary device, user wishes the terminal equipment being synchronized to the data of intended gateway for running mobile device.
Therefore, intended gateway need determine whether secondary device supports the execution of corresponding application program, as: whether support audio and video playing, if supported, whether support the broadcast format of playing audio-video on the mobile apparatus.
If determine that secondary device supports the content type of corresponding application program, but do not support the data format that this content type runs on the mobile apparatus, now, intended gateway need be made to carry out Data Format Transform.Modal Data Format Transform comprises video format: MPEG, DivX, WMV, AVI, RM etc.; Audio format CD, WAV, MP3, MIDI etc., webpage format HTML, ASP, JSP, PHP, PERL, CGI etc.; Electronic file form TXT, PDF, DOC, UMD, JAR etc., and the privately owned form of each equipment vendors.Do not support the format conversion of playing.
Gateway device obtains data source format corresponding to the content type of corresponding application program, and secondary device is for the data format of this content type; And call corresponding transducer, after data source format being converted to datum target form, being synchronized to corresponding secondary device and running corresponding program execution related data content.
When mobile device is to gateway synchronization data, if for have many parts in the catalogue of this application assigned and the data of different time time, only synchronously up-to-date, the data that namely time is nearest.
At mobile device at the end of intended gateway synchrodata, can delete for the related data in the catalogue of this application assigned, also can periodic cleaning for the data in the catalogue of each application assigned, to save the memory space of mobile device.
Mobile device, when storing user data corresponding to each application program and application data, by user data and application data packing, as carried out XML coding, can form XML file; After sending to intended gateway, intended gateway carries out XML file parsing, also obtains corresponding user data and application data.
When specific implementation, if determine that the content type of current application program is document or audio frequency and video, then also need when storing related data, store document, or the audio frequency and video play, when to gateway synchronization data, when synchronizing user data and application data, the simultaneously document of stores synchronized or audio, video data.
The related content when technical scheme that the application's specific embodiment provides makes a synchronous user more conveniently use an application program, seamlessly switch between each equipment, greatly improve availability and the Consumer's Experience of Smart Home, promote collaboration capabilities between each equipment, solve the problem of detached island of information between current each equipment, thus achieve the intellectuality of home equipment behavior.
Based on same inventive concept, the application also proposes a kind of data synchronization unit.It is the apparatus structure schematic diagram being applied to above-mentioned technology in the embodiment of the present application see Fig. 2, Fig. 2.This device comprises: monitor bit cell 201, determining unit 202, acquisition linkage unit 203 and lock unit 204;
Monitor bit cell 201, for monitoring the application program run; When monitoring the application program run, store user data corresponding to this application program and application data;
Determining unit 202, for determining intended gateway, described intended gateway is the gateway that this device will carry out data syn-chronization;
Obtain linkage unit 203, the link information that the intended gateway for being determined by cloud server acquisition determining unit 202 is corresponding; And use the link information of acquisition and described intended gateway to connect;
Lock unit 204, for determining the application program needing to carry out data syn-chronization, by monitor bit cell 201 for the user data of the up-to-date storage of this application program and application data, the connection of setting up by obtaining linkage unit 203 sends to described intended gateway, described user data and application data is sent to by described intended gateway and supports that the terminal equipment of this application program performs described application program according to described user data and application data.
Preferably,
Determining unit 202, specifically for obtaining list of gateways, is generated to the routing information of this device for each gateway in list of gateways; The positional information of this device of periodic recording, the cycle obtains the motion track of this device, by the gateway corresponding with the routing information that the motion track of this device mates, and is defined as intended gateway apart from the gateway that the distance of this device is less than predeterminable range.
Preferably,
Obtain linkage unit 203, during specifically for being obtained link information corresponding to described intended gateway by cloud server, obtain the gateway registration list on cloud server, and determine whether there is described intended gateway in this gateway registration list, if so, link information corresponding to described intended gateway is obtained; Otherwise, described intended gateway is registered on described cloud server, and obtains link information corresponding to described intended gateway.
Preferably,
Obtain linkage unit 203, be further used for while acquisition link information, obtain the connection weight limit information of described intended gateway, described connection weight limit information maybe can not connect for connecting; When described connection weight limit information is for connecting, performs the described link information of described use and described intended gateway and connect and operate.
Preferably,
Lock unit 204, after being further used for the application program of determining to need to carry out data syn-chronization, sends synchronization request to described intended gateway; When receiving the sync response of described intended gateway transmission, and when receiving synchrodata according to described sync response determination gateway, perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway to operate by the connection of setting up with described intended gateway.
Preferably,
Lock unit 204, be further used for the sync response when receiving the transmission of described intended gateway, and when receiving synchrodata according to described sync response determination gateway, by determining to need the content type of the application program of carrying out data syn-chronization and data format corresponding to this content type to send to described intended gateway, described intended gateway is determined whether there is support the terminal equipment performing described application program, when the support receiving the response of described intended gateway performs the terminal equipment of described application program, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway to operate by the connection of setting up with described intended gateway, make described intended gateway that the terminal equipment that described user data and application data send to this mobile terminal to specify is performed described application program, when receive described intended gateway response there is not the terminal equipment supporting described application program, and each terminal equipment support the described content type of described application program corresponding data format time, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, described intended gateway is sent to operate by the connection of setting up with described intended gateway, after the data format that the content type of the described application program that described user data and application data are converted to by described intended gateway terminal equipment that this device specifies is supported is corresponding, the terminal equipment of specifying is sent to perform described application program again.
The unit of above-described embodiment can be integrated in one, and also can be separated deployment; A unit can be merged into, also can split into multiple subelement further.
In sum, when the application needs to perform the application program that this mobile device performs on the miscellaneous equipment be connected with intended gateway by mobile device, the relevant user data and application data that perform this application program are synchronized to intended gateway, and by intended gateway related data is synchronized to and supports that the terminal equipment of this application program performs described application program, solve the problem of detached island of information between each equipment, thus realize the intellectuality of equipment behavior.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (12)
1. a method of data synchronization, is characterized in that, the method comprises:
Mobile device monitors the application program run; When monitoring the application program run, store user data corresponding to this application program and application data;
This mobile device determination intended gateway, described intended gateway is the gateway that this mobile device will carry out data syn-chronization;
This mobile device obtains link information corresponding to described intended gateway by cloud server, and uses described link information and described intended gateway to connect;
This mobile device determines the application program needing to carry out data syn-chronization, by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway by the connection of setting up with described intended gateway, described user data and application data are sent to by described intended gateway and supports that the terminal equipment of this application program performs described application program according to described user data and application data.
2. method according to claim 1, is characterized in that, described mobile device determination intended gateway, comprising:
Obtain list of gateways, be generated to the routing information of this mobile device for each gateway in list of gateways;
The positional information of this this mobile device of mobile device periodic recording, cycle obtains the motion track of this mobile device, by the gateway corresponding with the routing information that the motion track of this mobile device mates, and be defined as intended gateway apart from the gateway that the distance of this mobile device is less than predeterminable range.
3. method according to claim 1, is characterized in that, this mobile device described obtains link information corresponding to described intended gateway by cloud server, comprising:
This mobile device obtains the gateway registration list on cloud server, and determines whether there is described intended gateway in this gateway registration list, if so, obtains the link information that described intended gateway is corresponding; Otherwise, described intended gateway is registered on described cloud server, and obtains link information corresponding to described intended gateway.
4. method according to claim 1, is characterized in that, before the described link information of described use and described intended gateway connect, described method comprises further:
This mobile terminal is while acquisition link information, and obtain the connection weight limit information of described intended gateway, described connection weight limit information maybe can not connect for connecting;
When described connection weight limit information is for connecting, perform the described link information of described use and described intended gateway connects and subsequent step.
5. the method according to claim 1-4 any one, it is characterized in that, after this mobile device described determines the application program needing to carry out data syn-chronization, described by for the user data of the up-to-date storage of this application program and application data, before sending to described intended gateway by the connection of setting up with described intended gateway, described method comprises further:
This mobile device sends synchronization request to described intended gateway;
When receiving the sync response of described intended gateway transmission, and when receiving synchrodata according to described sync response determination gateway, perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway and subsequent step by the connection of setting up with described intended gateway.
6. method according to claim 5, it is characterized in that, the described sync response when receiving the transmission of described intended gateway, and when receiving synchrodata according to described sync response determination gateway, described by for the user data of the up-to-date storage of this application program and application data, before sending to described intended gateway by the connection of setting up with described intended gateway, described method comprises further:
By determining to need the content type of the application program of carrying out data syn-chronization and data format corresponding to this content type to send to described intended gateway, described intended gateway is determined whether there is support the terminal equipment performing described application program;
When the support that this mobile device receives the response of described intended gateway performs the terminal equipment of described application program, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway step by the connection of setting up with described intended gateway, make described intended gateway that the terminal equipment that described user data and application data send to this mobile terminal to specify is performed described application program;
When this mobile device receive described intended gateway response there is not the terminal equipment supporting described application program, and each terminal equipment support the described content type of described application program corresponding data format time, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, described intended gateway step is sent to by the connection of setting up with described intended gateway, after the data format that the content type of the described application program that described user data and application data are converted to by described intended gateway terminal equipment that this mobile device specifies is supported is corresponding, the terminal equipment of specifying is sent to perform described application program again.
7. a data synchronization unit, is characterized in that, this device comprises: monitor bit cell, determining unit, acquisition linkage unit and lock unit;
Described monitor bit cell, for monitoring the application program run; When monitoring the application program run, store user data corresponding to this application program and application data;
Described determining unit, for determining intended gateway, described intended gateway is the gateway that this device will carry out data syn-chronization;
Described acquisition linkage unit, for obtaining link information corresponding to intended gateway that described determining unit determines by cloud server; And use the link information of acquisition and described intended gateway to connect;
Described lock unit, for determining the application program needing to carry out data syn-chronization, by described monitor bit cell for the user data of the up-to-date storage of this application program and application data, the connection of being set up by described acquisition linkage unit sends to described intended gateway, described user data and application data is sent to by described intended gateway and supports that the terminal equipment of this application program performs described application program according to described user data and application data.
8. device according to claim 7, is characterized in that,
Described determining unit, specifically for obtaining list of gateways, is generated to the routing information of this device for each gateway in list of gateways; The positional information of this device of periodic recording, the cycle obtains the motion track of this device, by the gateway corresponding with the routing information that the motion track of this device mates, and is defined as intended gateway apart from the gateway that the distance of this device is less than predeterminable range.
9. device according to claim 7, is characterized in that,
Described acquisition linkage unit, during specifically for being obtained link information corresponding to described intended gateway by cloud server, obtain the gateway registration list on cloud server, and determine whether there is described intended gateway in this gateway registration list, if so, link information corresponding to described intended gateway is obtained; Otherwise, described intended gateway is registered on described cloud server, and obtains link information corresponding to described intended gateway.
10. device according to claim 7, is characterized in that,
Described acquisition linkage unit, be further used for while acquisition link information, obtain the connection weight limit information of described intended gateway, described connection weight limit information maybe can not connect for connecting; When described connection weight limit information is for connecting, performs the described link information of described use and described intended gateway and connect and operate.
11. installation methods according to claim 7-10 any one, is characterized in that,
Described lock unit, after being further used for the application program of determining to need to carry out data syn-chronization, sends synchronization request to described intended gateway; When receiving the sync response of described intended gateway transmission, and when receiving synchrodata according to described sync response determination gateway, perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway to operate by the connection of setting up with described intended gateway.
12. devices according to claim 11, is characterized in that,
Described lock unit, be further used for the sync response when receiving the transmission of described intended gateway, and when receiving synchrodata according to described sync response determination gateway, by determining to need the content type of the application program of carrying out data syn-chronization and data format corresponding to this content type to send to described intended gateway, described intended gateway is determined whether there is support the terminal equipment performing described application program, when the support receiving the response of described intended gateway performs the terminal equipment of described application program, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, send to described intended gateway to operate by the connection of setting up with described intended gateway, make described intended gateway that the terminal equipment that described user data and application data send to this mobile terminal to specify is performed described application program, when receive described intended gateway response there is not the terminal equipment supporting described application program, and each terminal equipment support the described content type of described application program corresponding data format time, specify a terminal equipment, and perform described by for the user data of the up-to-date storage of this application program and application data, described intended gateway is sent to operate by the connection of setting up with described intended gateway, after the data format that the content type of the described application program that described user data and application data are converted to by described intended gateway terminal equipment that this device specifies is supported is corresponding, the terminal equipment of specifying is sent to perform described application program again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510104585.6A CN104717289B (en) | 2015-03-10 | 2015-03-10 | A kind of method of data synchronization and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510104585.6A CN104717289B (en) | 2015-03-10 | 2015-03-10 | A kind of method of data synchronization and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104717289A true CN104717289A (en) | 2015-06-17 |
CN104717289B CN104717289B (en) | 2018-07-20 |
Family
ID=53416237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510104585.6A Active CN104717289B (en) | 2015-03-10 | 2015-03-10 | A kind of method of data synchronization and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104717289B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100223A (en) * | 2015-07-01 | 2015-11-25 | 北京奇虎科技有限公司 | File sharing method, device and system based on cloud storage |
CN107547753A (en) * | 2017-10-13 | 2018-01-05 | 三星电子(中国)研发中心 | The method and system that a kind of interface customizations are shown |
CN109120445A (en) * | 2018-08-22 | 2019-01-01 | 公安部第三研究所 | A kind of network log data synchronous system and method |
CN109743609A (en) * | 2018-12-28 | 2019-05-10 | 深圳Tcl新技术有限公司 | Control method, system, terminal and the storage medium that television equipment is shown |
CN110545301A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | monitoring resource synchronization method and device |
CN111617487A (en) * | 2020-05-22 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Account access method and device in game application, storage medium and electronic equipment |
CN112449388A (en) * | 2019-09-04 | 2021-03-05 | 中兴通讯股份有限公司 | Network connection control method, device, mobile terminal and storage medium |
CN114567631A (en) * | 2022-02-10 | 2022-05-31 | 北京乐驾科技有限公司 | Distributed application method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103220182A (en) * | 2013-04-28 | 2013-07-24 | 烽火通信科技股份有限公司 | System and method for managing residential gateway by using smart terminal |
CN103684992A (en) * | 2013-12-16 | 2014-03-26 | 深圳中兴网信科技有限公司 | Home gateway, terminal and data sharing method |
US20140164181A1 (en) * | 2010-05-31 | 2014-06-12 | Nintendo Co., Ltd. | Computer-readable storage medium, information processing apparatus, information processing system, and information processing method |
CN104253846A (en) * | 2013-06-28 | 2014-12-31 | 青岛海尔电子有限公司 | Intelligent terminal, data sharing system and data sharing method |
-
2015
- 2015-03-10 CN CN201510104585.6A patent/CN104717289B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140164181A1 (en) * | 2010-05-31 | 2014-06-12 | Nintendo Co., Ltd. | Computer-readable storage medium, information processing apparatus, information processing system, and information processing method |
CN103220182A (en) * | 2013-04-28 | 2013-07-24 | 烽火通信科技股份有限公司 | System and method for managing residential gateway by using smart terminal |
CN104253846A (en) * | 2013-06-28 | 2014-12-31 | 青岛海尔电子有限公司 | Intelligent terminal, data sharing system and data sharing method |
CN103684992A (en) * | 2013-12-16 | 2014-03-26 | 深圳中兴网信科技有限公司 | Home gateway, terminal and data sharing method |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100223A (en) * | 2015-07-01 | 2015-11-25 | 北京奇虎科技有限公司 | File sharing method, device and system based on cloud storage |
CN105100223B (en) * | 2015-07-01 | 2019-10-15 | 北京奇虎科技有限公司 | Sharing files method, apparatus and system based on cloud storage |
CN107547753A (en) * | 2017-10-13 | 2018-01-05 | 三星电子(中国)研发中心 | The method and system that a kind of interface customizations are shown |
CN110545301A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | monitoring resource synchronization method and device |
CN109120445A (en) * | 2018-08-22 | 2019-01-01 | 公安部第三研究所 | A kind of network log data synchronous system and method |
CN109120445B (en) * | 2018-08-22 | 2021-11-26 | 公安部第三研究所 | Network log data synchronization system and method |
CN109743609A (en) * | 2018-12-28 | 2019-05-10 | 深圳Tcl新技术有限公司 | Control method, system, terminal and the storage medium that television equipment is shown |
CN112449388A (en) * | 2019-09-04 | 2021-03-05 | 中兴通讯股份有限公司 | Network connection control method, device, mobile terminal and storage medium |
CN111617487A (en) * | 2020-05-22 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Account access method and device in game application, storage medium and electronic equipment |
CN111617487B (en) * | 2020-05-22 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Account access method and device in game application, storage medium and electronic equipment |
US12011659B2 (en) | 2020-05-22 | 2024-06-18 | Tencent Technology (Shenzhen) Company Limited | Account connecting method and apparatus, storage medium, and electronic device |
CN114567631A (en) * | 2022-02-10 | 2022-05-31 | 北京乐驾科技有限公司 | Distributed application method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104717289B (en) | 2018-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104717289A (en) | Data synchronism method and device | |
CN103558836B (en) | Equipment state synchronisation control means and home appliance | |
CN110401583A (en) | Method, apparatus, system, mobile terminal and the storage medium of equipment replacement | |
CN103024590B (en) | The method and system of a kind of intelligent terminal and intelligent television video calling | |
CN105634881A (en) | Application scene recommending method and device | |
CN100553209C (en) | For the deployment of multi-medium data on the Control Network is carried out high-speed cache to the LIST SERVER data | |
CN103297459A (en) | Synchronizing system of application configuration information, access server, clients and synchronizing method of application configuration information | |
CN103699635B (en) | Information processing method and device | |
KR20120055166A (en) | Method and apparatus for syncronizing data in connected devices | |
CN101073056A (en) | Program acquisition and execution device, program acquisition and execution method, program acquisition and execution program recording medium and program acquisition and execution program | |
CN102917061A (en) | Resource synchronization method and system | |
CN107666406B (en) | Intelligent card display method and device | |
CN103079020A (en) | Terminal control system and terminal control method | |
CN102412993A (en) | Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface | |
CN104125206A (en) | Client-side hardware environment adaption method, device, server and system | |
CN101917400A (en) | Multimedia television system capable of acquiring network information through smart phone | |
CN104158885A (en) | Method and system of streaming loading of application based on location information | |
CN104424304A (en) | Personalized recommendation and guide system based on context awareness information and control method | |
CN103561106A (en) | System and method for remote teaching and remote meeting | |
CN102298590B (en) | Home interconnected information display system and method, and display terminals and server for the same | |
AU2011358857C1 (en) | Method and apparatus for managing content in a processing device | |
CN113391559A (en) | Smart home equipment control method and terminal equipment | |
CN103491421A (en) | Content display method and device and smart television | |
CN104301400A (en) | Multi-screen cooperation and resource sharing method on basis of Samba protocol | |
KR20120082162A (en) | Terminal perfroming synchronization through direct connection based on ip and synchronizing method using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |