CN102710665A - Mobile terminal, and data synchronization method of server and mobile terminal - Google Patents
Mobile terminal, and data synchronization method of server and mobile terminal Download PDFInfo
- Publication number
- CN102710665A CN102710665A CN2012102154753A CN201210215475A CN102710665A CN 102710665 A CN102710665 A CN 102710665A CN 2012102154753 A CN2012102154753 A CN 2012102154753A CN 201210215475 A CN201210215475 A CN 201210215475A CN 102710665 A CN102710665 A CN 102710665A
- Authority
- CN
- China
- Prior art keywords
- portable terminal
- data
- server
- unit
- synchrodata
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention provides a mobile terminal, which comprises an application program status monitoring unit, a thread managing unit, a data acquiring unit and a data storing unit; the application program status monitoring unit is used for monitoring the status of an application program in the mobile terminal; the thread managing unit starts a data asynchronous and synchronous thread when monitoring the start of the application program; the data acquiring unit acquires synchronous data from a corresponding server through the data asynchronous and synchronous thread; and the data storing unit caches the synchronous data acquired by the data acquiring unit to a computer. Accordingly, the invention also provides a data synchronization method of a server and the mobile terminal. According to the technical scheme provided by the invention, automatic synchronization of mobile terminaldata can be realized to be used for off-line function of the mobile terminal.
Description
Technical field
The present invention relates to the data synchronization technology field, in particular to the method for data synchronization of a kind of portable terminal, a kind of server and a kind of portable terminal.
Background technology
In the correlation technique, in use, still there are some problems to portable terminal, such as:
A. mobile Internet develops rapidly, and the service needed of plurality of applications system is moved to portable terminal, and mobile network's transmission speed has influenced user experience;
B. the online condition of mobile device is restricted through regular meeting, influences use professional on the portable terminal.
In order to solve the problems of the technologies described above, need a cover development technique to realize the offline functionality of portable terminal.Data sync is the most important technology of offline functionality, and the data sync mode of using in the correlation technique generally needs manual triggers data sync function, receives factor affecting such as network environment synchronously, and synchronizing process needs to wait for poor user experience.
Therefore, need a kind of data synchronization technology of new portable terminal, can realize mobile terminal data automatically synchronously, to be used for the offline functionality of portable terminal.
Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of data synchronization technology of new portable terminal, can realize mobile terminal data automatically synchronously, to be used for the offline functionality of portable terminal.
In view of this, the present invention proposes a kind of portable terminal, comprising: the Application Status monitoring means, monitor the state of the application program in the said portable terminal; Thread-management unit, when said Application Status monitoring means monitors said application program launching, turn-on data asynchronous and synchronous thread; Data capture unit obtains synchrodata through said data asynchronous and synchronous thread from corresponding server; Data storage cell, the said synchrodata buffer memory that said data capture unit obtains is extremely local.
In this technical scheme, because portable terminal can't be accomplished real-time online, through launching the asynchronous and synchronous thread; Can be when portable terminal be online; Synchrodata is downloaded and buffer memory, so that when the portable terminal off-line, the user still can read data cached.
In technique scheme, preferably, also comprise: the network condition monitoring means is used to monitor the network condition between said portable terminal and the said server; Data-reading unit is at said portable terminal under the situation of off-line state, reads the local cache of said portable terminal, is at said portable terminal under the situation of line states, visits the data on the said server and/or reads said local cache.
In this technical scheme, whether online according to portable terminal, can adopt different strategies, when portable terminal is online, owing to server possibly Update Information at any time, thereby carry out the online data of obtaining, so that obtain up-to-date data message; When the portable terminal off-line, can the data of local cache be read, so that bring good experience to the user.Certainly, for some data that necessarily need can obtain through online access,, then can provide friendly interactive interface, to promote user experience if portable terminal is in off-line state.
In technique scheme, preferably, also comprise: inlet is provided with the unit, is used on said portable terminal, being provided with the unified inlet that carries out data interaction with said server; And said network condition monitoring means also is used for: monitor said portable terminal in said unified porch and can said server carry out data interaction, to judge said network condition.
In this technical scheme, because portable terminal carries out the transmission and the reception of data through unified inlet with server, thereby can whether can carry out data interaction, thereby judge that portable terminal is in online or off-line state through this unification inlet.
In technique scheme, preferably, also comprise: timestamp record unit is used for after said portable terminal obtains said synchrodata from said server, writing down the timestamp of this synchronizing process; The timestamp acquiring unit is used to obtain the timestamp that said portable terminal the last time carries out said synchronizing process; The request generation unit is used to generate the synchronization request that comprises said timestamp; Request transmitting unit is used for said synchronization request is sent to said server; Said data capture unit also is used for: obtain the up-to-date synchrodata corresponding to said synchronization request from said server.
In this technical scheme, through record and comparison, be convenient to server and judge whether the data in this portable terminal are latest edition timestamp, if the data that then need not repetition are downloaded, thereby save user's time and data traffic.
In technique scheme, preferably, also comprise: the management of process unit, open finger daemon, set up long the connection with said server; Said data capture unit also is used for: the new data that obtains said server push; And said data storage cell also is used for: said new data buffer memory is extremely local.
In this technical scheme, through opening finger daemon, be convenient to the propelling movement that server carries out data at any time, make portable terminal obtain latest data as much as possible, promote user experience.
According to another aspect of the invention, also proposed a kind of server, having comprised: the request receiving element is used to receive the synchronization request from portable terminal; The request analysis unit is used for said synchronization request is resolved, and obtains the timestamp and the request condition that wherein comprise; Judging unit is used for judging according to said timestamp and request condition whether needs upgrade for the data of said portable terminal; The synchrodata transmitting element, the judged result that is used at said judging unit is under the situation that is, up-to-date synchrodata is sent to said portable terminal.
In this technical scheme, request condition comprises data such as the model, system version of data type, portable terminal, is convenient to the data that server selects to be applicable to this portable terminal; And record and comparison through timestamp then are convenient to server and are judged whether the existing data in the portable terminal are latest data, prevent that repeated downloads from wasting user's time and data traffic.
In technique scheme, preferably, also comprise: the connection management unit, be used for being under the situation of line states at said portable terminal, set up long connection corresponding to the finger daemon in the said portable terminal; Upgrade monitoring means, be used for monitoring and whether have new data; And the data push unit, monitor under the situation of said new data at said renewal monitoring means, said new data is pushed to said portable terminal.
In this technical scheme, set up the long of finger daemon that cooperates in the portable terminal and connect, be convenient to the propelling movement that server carries out data at any time, make portable terminal obtain latest data as much as possible, promote user experience.
According to another aspect of the invention, also proposed a kind of method of data synchronization of portable terminal, having comprised: step 202, said portable terminal when monitoring application program launching, turn-on data asynchronous and synchronous thread; Step 204, said portable terminal obtains synchrodata through said data asynchronous and synchronous thread from corresponding server, and said synchrodata buffer memory is extremely local.
In this technical scheme, because portable terminal can't be accomplished real-time online, through launching the asynchronous and synchronous thread; Can be when portable terminal be online; Synchrodata is downloaded and buffer memory, so that when the portable terminal off-line, the user still can read data cached.
In technique scheme, preferably, also comprise: step 302, monitor the network condition between said portable terminal and the said server; Step 304 if said portable terminal is in off-line state, then reads the local cache of said portable terminal, if said portable terminal is in line states, then visits the data on the said server and/or reads said local cache.
In this technical scheme, whether online according to portable terminal, can adopt different strategies, when portable terminal is online, owing to server possibly Update Information at any time, thereby carry out the online data of obtaining, so that obtain up-to-date data message; When the portable terminal off-line, can the data of local cache be read, so that bring good experience to the user.Certainly, for some data that necessarily need can obtain through online access,, then can provide friendly interactive interface, to promote user experience if portable terminal is in off-line state.
In technique scheme; Preferably; Said step 302 comprises: be provided with the unified inlet that is used for carrying out with said server data interaction in the said portable terminal; Monitor said portable terminal in said unified porch and can said server carry out data interaction, to judge said network condition.
In this technical scheme, because portable terminal carries out the transmission and the reception of data through unified inlet with server, thereby can whether can carry out data interaction, thereby judge that portable terminal is in online or off-line state through this unification inlet.
In technique scheme; Preferably, after said portable terminal obtains said synchrodata from said server, write down the timestamp of this synchronizing process; In the then said step 204; Said portable terminal specifically comprises from the process that said server obtains said synchrodata: said portable terminal obtains the timestamp that the last time carries out said synchronizing process, and generates the synchronization request that comprises said timestamp, and said synchronization request is sent to said server; Whether the said synchronization request of said server parses is obtained said timestamp and request condition, need to upgrade to judge the data in the said portable terminal, if then up-to-date synchrodata is sent to said portable terminal, otherwise does not send.
In this technical scheme, through record and comparison, be convenient to server and judge whether the data in this portable terminal are latest edition timestamp, if the data that then need not repetition are downloaded, thereby save user's time and data traffic.
In technique scheme, preferably, also comprise: step 402, said portable terminal is opened finger daemon, sets up long the connection with said server; Step 404, said server push to said portable terminal with said new data when monitoring new data, by said portable terminal that said new data buffer memory is extremely local.
In this technical scheme, through opening finger daemon and setting up long the connection, be convenient to the propelling movement that server carries out data at any time, make portable terminal obtain latest data as much as possible, promote user experience.
Through above technical scheme, can realize the synchronous automatically of mobile terminal data, to be used for the offline functionality of portable terminal.
Description of drawings
Fig. 1 shows the block diagram of portable terminal according to an embodiment of the invention and server;
Fig. 2 shows the flow chart of the method for data synchronization of portable terminal according to an embodiment of the invention;
Fig. 3 is the flow chart of the portable terminal reading of data of the embodiment shown in Fig. 2;
Fig. 4 pushes the flow chart of synchrodata to portable terminal for the server of the embodiment shown in Fig. 2;
Fig. 5 shows the flow chart of portable terminal reading of data according to still another embodiment of the invention;
Fig. 6 is the flow chart of the method for data synchronization of the portable terminal of the embodiment shown in Fig. 5;
Fig. 7 pushes the flow chart of synchrodata to portable terminal for the server of the embodiment shown in Fig. 5.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.Need to prove that under the situation of not conflicting, the application's embodiment and the characteristic among the embodiment can make up each other.
A lot of details have been set forth in the following description so that make much of the present invention; But; The present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention does not receive the restriction of following disclosed specific embodiment.
Fig. 1 shows the block diagram of portable terminal according to an embodiment of the invention and server.
As shown in Figure 1, portable terminal 100 according to an embodiment of the invention comprises: Application Status monitoring means 102, the state of the application program in the monitoring portable terminal 100; Thread-management unit 104, when Application Status monitoring means 102 monitors application program launching, turn-on data asynchronous and synchronous thread; Data capture unit 106 obtains synchrodata through data asynchronous and synchronous thread from corresponding server 200; Data storage cell 108, the synchrodata buffer memory that data capture unit 106 obtains is extremely local.
In this technical scheme, because portable terminal 100 can't be accomplished real-time online, through launching the asynchronous and synchronous thread; Can be when portable terminal 100 be online; The user synchrodata downloaded and buffer memory, so that when portable terminal 100 off-lines, still can read to data cached.
In technique scheme, also comprise: network condition monitoring means 110 is used to monitor the network condition between portable terminal 100 and the server 200; Data-reading unit 112 is at portable terminal 100 under the situation of off-line state, reads the local cache of portable terminal 100, is under the situation of line states data on the access server 200 and/or read local cache at portable terminal 100.
In this technical scheme, whether online according to portable terminal 100, can adopt different strategies, when portable terminal 100 is online, because server 200 possibly Update Information at any time, thereby carries out the online data of obtaining, so that obtain up-to-date data message; When portable terminal 100 off-lines, can the data of local cache be read, so that bring good experience to the user.Certainly, for some data that necessarily need can obtain through online access,, then can provide friendly interactive interface, to promote user experience if portable terminal 100 is in off-line state.
In technique scheme, also comprise: inlet is provided with unit 114, is used on portable terminal 100, being provided with the unified inlet that carries out data interaction with server 200; Can and network condition monitoring means 110 also be used for: carry out data interaction at unified porch monitoring portable terminal 100 with server 200, to judge network condition.
In this technical scheme, because portable terminal 100 carries out the transmission and the reception of data through unified inlet with server 200, thereby can whether can carry out data interaction, thereby judge that portable terminal 100 is in online or off-line state through this unification inlet.
In technique scheme, also comprise: timestamp record unit 116 is used for after portable terminal 100 obtains synchrodata from server 200, writing down the timestamp of this synchronizing process; Timestamp acquiring unit 118 is used to obtain the timestamp that 100 the last times of portable terminal carry out synchronizing process; Request generation unit 120 is used to generate the synchronization request that comprises timestamp; Request transmitting unit 122 is used for synchronization request is sent to server 200; Data capture unit 106 also is used for: obtain the up-to-date synchrodata corresponding to synchronization request from server 200.
In this technical scheme, through record and comparison, be convenient to server 200 and judge whether the data in this portable terminal 100 are latest edition timestamp, if the data that then need not repetition are downloaded, thereby save user's time and data traffic.
In technique scheme, also comprise: management of process unit 124, open finger daemon, set up long the connection with server 200; Data capture unit 106 also is used for: obtain the new data that server 200 pushes; And data storage cell 108 also is used for: the new data buffer memory is extremely local.
In this technical scheme, through opening finger daemon, be convenient to the propelling movement that server 200 carries out data at any time, make portable terminal 100 obtain latest data as much as possible, promote user experience.
Server 200 in above-mentioned arbitrary technical scheme comprises: request receiving element 202 is used to receive the synchronization request from portable terminal 100; Request analysis unit 204 is used for synchronization request is resolved, and obtains the timestamp and the request condition that wherein comprise; Judging unit 206 is used for judging according to timestamp and request condition whether needs upgrade for the data of portable terminal 100; Synchrodata transmitting element 208, the judged result that is used at judging unit 206 is under the situation that is, up-to-date synchrodata is sent to portable terminal 100.
In this technical scheme, request condition comprises data such as the model, system version of data type, portable terminal 100, is convenient to the data that server 200 selects to be applicable to this portable terminal 100; And record and comparison through timestamp then are convenient to server 200 and are judged whether the existing data in the portable terminal 100 are latest data, prevent that repeated downloads from wasting user's time and data traffic.
In technique scheme, also comprise: connection management unit 210, be used for being under the situation of line states at portable terminal 100, set up long connection corresponding to the finger daemon in the portable terminal 100; Upgrade monitoring means 212, be used for monitoring and whether have new data; And data push unit 214, monitor under the situation of new data at renewal monitoring means 212, new data is pushed to portable terminal 100.
In this technical scheme, set up the long of finger daemon that cooperates in the portable terminal 100 and connect, be convenient to the propelling movement that server 200 carries out data at any time, make portable terminal 100 obtain latest data as much as possible, promote user experience.
Fig. 2 shows the flow chart of the method for data synchronization of portable terminal according to an embodiment of the invention.
As shown in Figure 2, the method for data synchronization of portable terminal according to an embodiment of the invention comprises: step 202, portable terminal when monitoring application program launching, turn-on data asynchronous and synchronous thread; Step 204, portable terminal obtains synchrodata through data asynchronous and synchronous thread from corresponding server, and the synchrodata buffer memory is extremely local.
In this technical scheme, because portable terminal can't be accomplished real-time online, through launching the asynchronous and synchronous thread; Can be when portable terminal be online; Synchrodata is downloaded and buffer memory, so that when the portable terminal off-line, the user still can read data cached.
In technique scheme; After portable terminal obtains said synchrodata from server; Write down the timestamp of this synchronizing process, then in the step 204, portable terminal specifically comprises from the process that server obtains synchrodata: portable terminal obtains the timestamp that the last time carries out synchronizing process; And generate the synchronization request that comprises timestamp, and synchronization request is sent to server; The server parses synchronization request, whether acquisition time stabs and request condition, need to upgrade to judge the data in the portable terminal, if then up-to-date synchrodata is sent to portable terminal, otherwise does not send.
In this technical scheme, through record and comparison, be convenient to server and judge whether the data in this portable terminal are latest edition timestamp, if the data that then need not repetition are downloaded, thereby save user's time and data traffic.
Fig. 3 is the flow chart of the portable terminal reading of data of the embodiment shown in Fig. 2.
As shown in Figure 3, the flow process of portable terminal reading of data according to an embodiment of the invention comprises: step 302, the network condition between monitoring portable terminal and the server; Step 304 if portable terminal is in off-line state, then reads the local cache of portable terminal, if portable terminal is in line states, and data on the access server and/or read local cache then.
In this technical scheme, whether online according to portable terminal, can adopt different strategies, when portable terminal is online, owing to server possibly Update Information at any time, thereby carry out the online data of obtaining, so that obtain up-to-date data message; When the portable terminal off-line, can the data of local cache be read, so that bring good experience to the user.Certainly, for some data that necessarily need can obtain through online access,, then can provide friendly interactive interface, to promote user experience if portable terminal is in off-line state.
Can in technique scheme, step 302 comprises: be provided with the unified inlet that is used for carrying out with server data interaction in the portable terminal, carry out data interaction at unified porch monitoring portable terminal and server, to judge network condition.
In this technical scheme, because portable terminal carries out the transmission and the reception of data through unified inlet with server, thereby can whether can carry out data interaction, thereby judge that portable terminal is in online or off-line state through this unification inlet.
Fig. 4 pushes the flow chart of synchrodata to portable terminal for the server of the embodiment shown in Fig. 2.
As shown in Figure 4, server according to an embodiment of the invention comprises to the flow process that portable terminal pushes synchrodata: step 402, and portable terminal is opened finger daemon, sets up long the connection with server; Step 404, server push to portable terminal with new data when monitoring new data, by portable terminal that the new data buffer memory is extremely local.
In this technical scheme, through opening finger daemon and setting up long the connection, be convenient to the propelling movement that server carries out data at any time, make portable terminal obtain latest data as much as possible, promote user experience.
Fig. 5 shows the flow chart of portable terminal reading of data according to still another embodiment of the invention.
As shown in Figure 5, the flow process of portable terminal reading of data comprises according to an embodiment of the invention:
Step 502 is provided with a unified inlet in portable terminal, all can enter the mouth through this unification alternately between all data and the server;
Step 504 is judged current network conditions in unified porch, if there is data interaction, explains that then portable terminal is in line states, otherwise the explanation portable terminal is in off-line state;
Step 506 confirms that portable terminal is from the server reading of data or from the local cache reading of data through network.
Fig. 6 is the flow chart of the method for data synchronization of the portable terminal of the embodiment shown in Fig. 5.
As shown in Figure 6, the flow process of the method for data synchronization of portable terminal comprises according to an embodiment of the invention:
Fig. 7 pushes the flow chart of synchrodata to portable terminal for the server of the embodiment shown in Fig. 5.
As shown in Figure 7, server comprises to the flow process that portable terminal pushes synchrodata according to an embodiment of the invention:
In sum, the present invention has used following technical scheme:
A:, arrive metadata cache local through the mode of asynchronous and synchronous.
B:, confirm that from the local cache reading of data still be from the server reading of data through judging network state.
C: server confirms to return to the data of portable terminal through timestamp and request condition.
D: server pushes to portable terminal and realizes data sync.
Wherein, the implementation procedure of steps A comprises following several links:
A1) the portable terminal application start time, turn-on data asynchronous and synchronous thread.
A2) through network service, obtain data from remote server, give the user data display then.
A3) through the database of operating mobile terminal, arrive the metadata cache of service end local.
The implementation procedure of step B comprises following several links:
B1) portable terminal is judged the network state of current device.
B2), confirm the strategy of reading of data according to network state.
B3) through client technology, data are handled.
The implementation procedure of step C comprises following several links:
C1) server obtains data from portable terminal, and data are resolved.
C2) service end judges through timestamp whether mobile terminal data is consistent with the latest data of service end.
C3) service end confirms to return to the data content of portable terminal through judging.
Step D implementation procedure comprises following several links:
D1) portable terminal starts finger daemon, sets up long the connection with server.
D2) when service end detects new data, push to portable terminal, portable terminal is data cached.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considered in the correlation technique, can't realize data sync initiatively; When portable terminal is online, can't in time carry out data sync; When the portable terminal off-line, owing to do not carry out data sync, the data exhibiting that can't be well on; Therefore; The invention provides the method for data synchronization of a kind of portable terminal, a kind of server and a kind of portable terminal, can realize the synchronous automatically of mobile terminal data, to be used for the offline functionality of portable terminal.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. a portable terminal is characterized in that, comprising:
The Application Status monitoring means is monitored the state of the application program in the said portable terminal;
Thread-management unit, when said Application Status monitoring means monitors said application program launching, turn-on data asynchronous and synchronous thread;
Data capture unit obtains synchrodata through said data asynchronous and synchronous thread from corresponding server;
Data storage cell, the said synchrodata buffer memory that said data capture unit obtains is extremely local.
2. portable terminal according to claim 1 is characterized in that, also comprises:
The network condition monitoring means is used to monitor the network condition between said portable terminal and the said server;
Data-reading unit is at said portable terminal under the situation of off-line state, reads the local cache of said portable terminal, is at said portable terminal under the situation of line states, visits the data on the said server and/or reads said local cache.
3. portable terminal according to claim 2 is characterized in that, also comprises:
Inlet is provided with the unit, is used on said portable terminal, being provided with the unified inlet that carries out data interaction with said server; And
Said network condition monitoring means also is used for: monitor said portable terminal in said unified porch and can said server carry out data interaction, to judge said network condition.
4. according to each described portable terminal in the claim 1 to 3, it is characterized in that, also comprise:
Timestamp record unit is used for after said portable terminal obtains said synchrodata from said server, writing down the timestamp of this synchronizing process;
The timestamp acquiring unit is used to obtain the timestamp that said portable terminal the last time carries out said synchronizing process;
The request generation unit is used to generate the synchronization request that comprises said timestamp;
Request transmitting unit is used for said synchronization request is sent to said server;
Said data capture unit also is used for: obtain the up-to-date synchrodata corresponding to said synchronization request from said server.
5. according to each described portable terminal in the claim 1 to 3, it is characterized in that, also comprise:
Finger daemon is opened in the management of process unit, sets up long the connection with said server;
Said data capture unit also is used for: the new data that obtains said server push; And
Said data storage cell also is used for: said new data buffer memory is extremely local.
6. a server is characterized in that, comprising:
The request receiving element is used to receive the synchronization request from portable terminal;
The request analysis unit is used for said synchronization request is resolved, and obtains the timestamp and the request condition that wherein comprise;
Judging unit is used for judging according to said timestamp and request condition whether needs upgrade for the data of said portable terminal;
The synchrodata transmitting element, the judged result that is used at said judging unit is under the situation that is, up-to-date synchrodata is sent to said portable terminal.
7. server according to claim 6 is characterized in that, also comprises:
The connection management unit is used for being under the situation of line states at said portable terminal, sets up corresponding to the long of the finger daemon in the said portable terminal to connect;
Upgrade monitoring means, be used for monitoring and whether have new data; And
The data push unit monitors under the situation of said new data at said renewal monitoring means, and said new data is pushed to said portable terminal.
8. the method for data synchronization of a portable terminal is characterized in that, comprising:
Step 202, said portable terminal when monitoring application program launching, turn-on data asynchronous and synchronous thread;
Step 204, said portable terminal obtains synchrodata through said data asynchronous and synchronous thread from corresponding server, and said synchrodata buffer memory is extremely local.
9. the method for data synchronization of portable terminal according to claim 8 is characterized in that, also comprises:
Step 302 is monitored the network condition between said portable terminal and the said server;
Step 304 if said portable terminal is in off-line state, then reads the local cache of said portable terminal, if said portable terminal is in line states, then visits the data on the said server and/or reads said local cache.
10. the method for data synchronization of portable terminal according to claim 9 is characterized in that, said step 302 comprises:
Be provided with the unified inlet that is used for carrying out data interaction in the said portable terminal, monitor said portable terminal in said unified porch and can said server carry out data interaction, to judge said network condition with said server.
11. the method for data synchronization of each described portable terminal in 10 according to Claim 8; It is characterized in that; After said portable terminal obtains said synchrodata from said server; Write down the timestamp of this synchronizing process, in the then said step 204, said portable terminal specifically comprises from the process that said server obtains said synchrodata:
Said portable terminal obtains the timestamp that the last time carries out said synchronizing process, and generates the synchronization request that comprises said timestamp, and said synchronization request is sent to said server;
Whether the said synchronization request of said server parses is obtained said timestamp and request condition, need to upgrade to judge the data in the said portable terminal, if then up-to-date synchrodata is sent to said portable terminal, otherwise does not send.
12. the method for data synchronization of each described portable terminal in 10 is characterized in that according to Claim 8, also comprises:
Step 402, said portable terminal is opened finger daemon, sets up long the connection with said server;
Step 404, said server push to said portable terminal with said new data when monitoring new data, by said portable terminal that said new data buffer memory is extremely local.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102154753A CN102710665A (en) | 2012-06-27 | 2012-06-27 | Mobile terminal, and data synchronization method of server and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102154753A CN102710665A (en) | 2012-06-27 | 2012-06-27 | Mobile terminal, and data synchronization method of server and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102710665A true CN102710665A (en) | 2012-10-03 |
Family
ID=46903218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102154753A Pending CN102710665A (en) | 2012-06-27 | 2012-06-27 | Mobile terminal, and data synchronization method of server and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102710665A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103326929A (en) * | 2013-06-24 | 2013-09-25 | 北京小米科技有限责任公司 | Method and device for transmitting messages |
CN103561102A (en) * | 2013-11-08 | 2014-02-05 | 北京奇虎科技有限公司 | Data real-time synchronization method and system |
CN104519149A (en) * | 2014-12-24 | 2015-04-15 | 国家电网公司 | Method for protecting important communication equipment by caching DHCPv6 rq options |
CN104753990A (en) * | 2013-12-27 | 2015-07-01 | 中国移动通信集团公司 | Data synchronization method, device and system |
CN105227671A (en) * | 2015-10-16 | 2016-01-06 | 北京恒华伟业科技股份有限公司 | Off-line data caching method and system |
CN105631995A (en) * | 2015-12-23 | 2016-06-01 | 成都家易通信息技术有限公司 | Video monitoring and Bluetooth door lock application system and method based on intelligent terminal |
CN106101275A (en) * | 2016-08-10 | 2016-11-09 | 东方网力科技股份有限公司 | A kind of method of data synchronization and masters |
CN106254448A (en) * | 2016-07-29 | 2016-12-21 | 北京小度信息科技有限公司 | A kind of information getting method and device |
CN106656904A (en) * | 2015-10-28 | 2017-05-10 | 北京京东尚科信息技术有限公司 | Method and apparatus for realizing permission data caching synchronization on the basis of Quorum mechanism |
WO2017133531A1 (en) * | 2016-02-04 | 2017-08-10 | 阿里巴巴集团控股有限公司 | Asynchronous service processing method, and server |
CN107071059A (en) * | 2017-05-25 | 2017-08-18 | 腾讯科技(深圳)有限公司 | Distributed caching service implementing method, device, terminal, server and system |
CN108259566A (en) * | 2017-12-22 | 2018-07-06 | 浪潮通用软件有限公司 | The method of data synchronization and device of a kind of application |
CN108965440A (en) * | 2018-07-23 | 2018-12-07 | 珠海格力电器股份有限公司 | Collection method, device, intelligent terminal and the cloud server of engineering information |
CN111209502A (en) * | 2020-01-03 | 2020-05-29 | 山东浪潮通软信息科技有限公司 | Method for processing large-data-volume network report |
CN111225010A (en) * | 2018-11-27 | 2020-06-02 | 北京京东尚科信息技术有限公司 | Data processing method, data processing system and device |
CN113472469A (en) * | 2021-07-27 | 2021-10-01 | 厦门亿联网络技术股份有限公司 | Data synchronization method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050198084A1 (en) * | 2004-03-05 | 2005-09-08 | Samsung Electronics Co., Ltd. | System and method of synchronizing data between a server and a client |
CN101242356A (en) * | 2007-12-06 | 2008-08-13 | 中兴通讯股份有限公司 | Realization method and IPTV system for memory database in IPTV system |
CN101252623A (en) * | 2008-03-28 | 2008-08-27 | 胡祥银 | Embedded platform network application browsing system and method |
CN101400052A (en) * | 2007-09-27 | 2009-04-01 | 博思天地(北京)科技有限公司 | Mobile communication method, system based on WEB2.0 and mobile communication terminal |
CN101426181A (en) * | 2008-11-12 | 2009-05-06 | 中国移动通信集团广东有限公司 | Intelligent multimedia information mobile phone viewing system having instant interaction and implementation method |
CN101453705A (en) * | 2007-12-05 | 2009-06-10 | 北京邮电大学 | Off-line browsing system for news |
CN101513008A (en) * | 2006-07-31 | 2009-08-19 | 意大利电信股份公司 | System for implementing safety of telecommunication terminal |
-
2012
- 2012-06-27 CN CN2012102154753A patent/CN102710665A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050198084A1 (en) * | 2004-03-05 | 2005-09-08 | Samsung Electronics Co., Ltd. | System and method of synchronizing data between a server and a client |
CN101513008A (en) * | 2006-07-31 | 2009-08-19 | 意大利电信股份公司 | System for implementing safety of telecommunication terminal |
CN101400052A (en) * | 2007-09-27 | 2009-04-01 | 博思天地(北京)科技有限公司 | Mobile communication method, system based on WEB2.0 and mobile communication terminal |
CN101453705A (en) * | 2007-12-05 | 2009-06-10 | 北京邮电大学 | Off-line browsing system for news |
CN101242356A (en) * | 2007-12-06 | 2008-08-13 | 中兴通讯股份有限公司 | Realization method and IPTV system for memory database in IPTV system |
CN101252623A (en) * | 2008-03-28 | 2008-08-27 | 胡祥银 | Embedded platform network application browsing system and method |
CN101426181A (en) * | 2008-11-12 | 2009-05-06 | 中国移动通信集团广东有限公司 | Intelligent multimedia information mobile phone viewing system having instant interaction and implementation method |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103326929B (en) * | 2013-06-24 | 2017-02-08 | 小米科技有限责任公司 | Method and device for transmitting messages |
CN103326929A (en) * | 2013-06-24 | 2013-09-25 | 北京小米科技有限责任公司 | Method and device for transmitting messages |
CN103561102A (en) * | 2013-11-08 | 2014-02-05 | 北京奇虎科技有限公司 | Data real-time synchronization method and system |
CN103561102B (en) * | 2013-11-08 | 2017-03-22 | 北京奇虎科技有限公司 | Data real-time synchronization method and system |
CN104753990A (en) * | 2013-12-27 | 2015-07-01 | 中国移动通信集团公司 | Data synchronization method, device and system |
CN104753990B (en) * | 2013-12-27 | 2018-11-16 | 中国移动通信集团公司 | A kind of method of data synchronization, device and system |
CN104519149A (en) * | 2014-12-24 | 2015-04-15 | 国家电网公司 | Method for protecting important communication equipment by caching DHCPv6 rq options |
CN105227671A (en) * | 2015-10-16 | 2016-01-06 | 北京恒华伟业科技股份有限公司 | Off-line data caching method and system |
CN106656904A (en) * | 2015-10-28 | 2017-05-10 | 北京京东尚科信息技术有限公司 | Method and apparatus for realizing permission data caching synchronization on the basis of Quorum mechanism |
CN106656904B (en) * | 2015-10-28 | 2020-03-03 | 北京京东振世信息技术有限公司 | Method and device for realizing permission data cache synchronization based on Quorum mechanism |
CN105631995A (en) * | 2015-12-23 | 2016-06-01 | 成都家易通信息技术有限公司 | Video monitoring and Bluetooth door lock application system and method based on intelligent terminal |
CN107040563A (en) * | 2016-02-04 | 2017-08-11 | 阿里巴巴集团控股有限公司 | Asynchronous service processing method and server |
WO2017133531A1 (en) * | 2016-02-04 | 2017-08-10 | 阿里巴巴集团控股有限公司 | Asynchronous service processing method, and server |
TWI753876B (en) * | 2016-02-04 | 2022-02-01 | 香港商阿里巴巴集團服務有限公司 | Asynchronous service processing method and its server |
CN106254448A (en) * | 2016-07-29 | 2016-12-21 | 北京小度信息科技有限公司 | A kind of information getting method and device |
CN106101275A (en) * | 2016-08-10 | 2016-11-09 | 东方网力科技股份有限公司 | A kind of method of data synchronization and masters |
CN107071059A (en) * | 2017-05-25 | 2017-08-18 | 腾讯科技(深圳)有限公司 | Distributed caching service implementing method, device, terminal, server and system |
CN108259566A (en) * | 2017-12-22 | 2018-07-06 | 浪潮通用软件有限公司 | The method of data synchronization and device of a kind of application |
CN108965440A (en) * | 2018-07-23 | 2018-12-07 | 珠海格力电器股份有限公司 | Collection method, device, intelligent terminal and the cloud server of engineering information |
CN111225010A (en) * | 2018-11-27 | 2020-06-02 | 北京京东尚科信息技术有限公司 | Data processing method, data processing system and device |
CN111209502A (en) * | 2020-01-03 | 2020-05-29 | 山东浪潮通软信息科技有限公司 | Method for processing large-data-volume network report |
CN113472469A (en) * | 2021-07-27 | 2021-10-01 | 厦门亿联网络技术股份有限公司 | Data synchronization method, device, equipment and storage medium |
CN113472469B (en) * | 2021-07-27 | 2023-12-05 | 厦门亿联网络技术股份有限公司 | Data synchronization method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102710665A (en) | Mobile terminal, and data synchronization method of server and mobile terminal | |
JP2012234570A (en) | Content use information collection method and system and recording medium for content use information collection | |
CN104333501B (en) | Contact list display method and device | |
CN109951538A (en) | Data processing method, device, system, electronic equipment and storage medium | |
CN103200247B (en) | A kind of data download method and PC download client | |
CN104348859B (en) | File synchronisation method, device, server, terminal and system | |
CN103634406A (en) | File synchronization method and terminal thereof | |
CN101426181A (en) | Intelligent multimedia information mobile phone viewing system having instant interaction and implementation method | |
CN103024077A (en) | Schedule correlation information push method, schedule correlation information push system and server | |
CN110493028A (en) | A kind of clustered deploy(ment) method, system, device and computer readable storage medium | |
CN103378978A (en) | Message push method and server | |
CN102497427A (en) | Method and device for realizing data acquisition services of renewable energy source monitoring system | |
CN108469959B (en) | Firmware upgrading method and device of monitoring equipment | |
CN110071855A (en) | Equipment linkage control method, device, system, gateway and storage medium | |
CN102916987A (en) | Data acquisition and management system based on cloud computing framework | |
CN110113495A (en) | Long-range control method, device, electronic equipment and the system of APP | |
CN109462522A (en) | A kind of state monitoring method of external terminal device, terminal and its system | |
CN113452732B (en) | Electric power internet of things network management system and method | |
CN108076385A (en) | A kind of report method and device of promotion message monitoring data | |
CN112333758A (en) | Stability monitoring management method, system and application of television gateway system | |
CN103034632A (en) | Information transmitting method and a system | |
CN102821302B (en) | Method for downloading video, gateway device and network video monitor and control system | |
CN104301491B (en) | A kind of data processing method and device of smart phone | |
JP5778621B2 (en) | Data distribution management system | |
CN109413180A (en) | A kind of collecting method, system and equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121003 |