CN103607458B - A kind of method of hand-held terminal basic data synchronization - Google Patents

A kind of method of hand-held terminal basic data synchronization Download PDF

Info

Publication number
CN103607458B
CN103607458B CN201310591835.4A CN201310591835A CN103607458B CN 103607458 B CN103607458 B CN 103607458B CN 201310591835 A CN201310591835 A CN 201310591835A CN 103607458 B CN103607458 B CN 103607458B
Authority
CN
China
Prior art keywords
data
handheld terminal
operation system
new timestamp
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310591835.4A
Other languages
Chinese (zh)
Other versions
CN103607458A (en
Inventor
洪志新
余建成
吴晓前
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaxon Networks Co Ltd
Original Assignee
Xiamen Yaxon Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CN201310591835.4A priority Critical patent/CN103607458B/en
Publication of CN103607458A publication Critical patent/CN103607458A/en
Application granted granted Critical
Publication of CN103607458B publication Critical patent/CN103607458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of method of terminal means synchronous foundation data of the present invention, it is to login successfully the information of response and " new timestamp+User ID " to handheld terminal with operation system return that wherein background thread, which performs and inquires the step of handheld terminal needs synchrodata, then handheld terminal use " new timestamp+User ID " to operation system ask synchronous foundation data the step of be parallel work-flow, operation system is in the request for receiving hand-held terminal basic data synchronization in this way, if handheld terminal needs the file of synchrodata to generate, it then can directly issue synchrodata, without waiting for data base querying again, reduce handheld terminal and synchronize the stand-by period, improve user experience, when particularly mobile network's delay is larger, effect becomes apparent from.

Description

A kind of method of hand-held terminal basic data synchronization
Technical field
The present invention relates to a kind of methods of hand-held terminal basic data synchronization.
Background technology
Currently, handheld terminal is because of business needs, it is often necessary to use some basic datas of operation system, be handed over to reduce It mutually takes, usually way is after the success of handheld terminal registering service system at present, and it is same that increment is carried out by the way of timestamp Step:
The request for carrying user name, password login is sent to operation system by handheld terminal, after operation system is verified Response User ID asks synchronous foundation number to handheld terminal, handheld terminal report of user ID and local time stamp to operation system The data that need to be synchronized according to User ID and timestamp to data base querying according to, operation system simultaneously obtain new timestamp(Usually Directly use current time), the operation system data that need to synchronize of transmission and new timestamp to handheld terminal, handheld terminal update Ground foundation data and timestamp.When the base data type that handheld terminal need to synchronize is more, operation system needs the table inquired Increase, more query time can be consumed in the stage of data base querying, also need that longer time is spent to wait for base after logining successfully Plinth data, which synchronize to finish, could use business function, influence user experience.
Invention content
The purpose of the present invention is to provide a kind of stand-by period is short, the handheld terminal synchronous foundation number of business function is not influenced According to method.
A kind of method of hand-held terminal basic data synchronization, specifically comprises the following steps:
Step 1, handheld terminal send carry user name, password, local time stamp logging request to operation system;
After step 2, operation system verify the user name, password, new timestamp, operation system are generated according to current time Return logins successfully the information of response and " new timestamp+User ID " to handheld terminal;Thread is opened on backstage simultaneously to perform Query task, timestamp of the background thread in logging request to data base querying need synchronous data, poll-final Synchronous data will be needed to be stored in the file named with " new timestamp+User ID ";
Step 3, handheld terminal receive operation system return login successfully response after, use carry " new timestamp+use The synchronous foundation request of data of family ID " information asks synchronous foundation data to operation system;
After step 4, operation system receive the request of the synchronous foundation data of handheld terminal transmission, with " new timestamp+use Family ID " looks for file for filename, such as finds, then it represents that data query has finished, and directly issues this document content to hand-held Terminal does not such as find file, then it represents that data query does not complete, and response handheld terminal data query does not complete, and needs re-request Synchronous foundation data;
Step 5, handheld terminal receive the file that operation system issues, and update local basis data, and local time stamp New timestamp is set to, is synchronously completed, what is such as received is the response that data query does not complete, then continues step 3.
The step of background thread execution inquiry handheld terminal needs synchrodata in the present invention is and operation system is returned and logged in The information of successful respond and " new timestamp+User ID " uses " new timestamp+use to handheld terminal, then handheld terminal Family ID " to operation system ask synchronous foundation data the step of be parallel work-flow, such operation system is receiving handheld terminal During the request of synchronous foundation data, if the file for the basic data that handheld terminal need to synchronize has generated, can directly it issue same Step data without waiting for data base querying again, reduces handheld terminal and synchronizes the stand-by period, improve user experience, particularly move When dynamic network delay is larger, effect becomes apparent from.
Description of the drawings
Fig. 1 is the workflow block diagram of the present invention.
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Specific embodiment
As shown in Figure 1, a kind of method of hand-held terminal basic data synchronization of the present invention, specifically comprises the following steps:
Step 1, handheld terminal send carry user name, password, local time stamp logging request to operation system;
After step 2, operation system verify the user name, password, new timestamp, operation system are generated according to current time Return logins successfully the information of response and " new timestamp+User ID " to handheld terminal;Thread is opened on backstage simultaneously to perform Query task, timestamp of the background thread in logging request to data base querying need synchronous data, poll-final Synchronous data will be needed to be stored in the file named with " new timestamp+User ID ";
Step 3, handheld terminal receive operation system return login successfully response after, use carry " new timestamp+use The synchronous foundation request of data of family ID " information asks synchronous foundation data to operation system;
After step 4, operation system receive the request of the synchronous foundation data of handheld terminal transmission, with " new timestamp+use Family ID " looks for file for filename, such as finds, then it represents that data query has finished, and directly issues this document content to hand-held Terminal does not such as find file, then it represents that data query does not complete, and response handheld terminal data query does not complete, and needs re-request Synchronous foundation data;
Step 5, handheld terminal receive the file that operation system issues, and update local basis data, and local time stamp New timestamp is set to, is synchronously completed, what is such as received is the response that data query does not complete, then continues step 3.
The step of background thread execution inquiry handheld terminal needs synchrodata in the present invention is and operation system is returned and logged in The information of successful respond and " new timestamp+User ID " uses " new timestamp+use to handheld terminal, then handheld terminal Family ID " to operation system ask synchronous foundation data the step of be parallel work-flow, such operation system is receiving handheld terminal During the request of synchronous foundation data, if handheld terminal needs the file of synchrodata to generate, synchrodata can be directly issued, Without waiting for data base querying again, reduce handheld terminal and synchronize the stand-by period, improve user experience, particularly mobile network and prolong When it is larger when, effect becomes apparent from.
The above is only present pre-ferred embodiments, is not intended to limit the scope of the present invention, therefore Any subtle modifications, equivalent variations and modifications that every technical spirit according to the present invention makees above example, still belong to In the range of technical solution of the present invention.

Claims (1)

  1. A kind of 1. method of hand-held terminal basic data synchronization, it is characterised in that include the following steps:
    Step 1, handheld terminal send carry user name, password, local time stamp logging request to operation system;
    After step 2, operation system verify the user name, password, new timestamp is generated according to current time, operation system returns The information of response and " new timestamp+User ID " is logined successfully to handheld terminal;Thread is opened on backstage perform inquiry simultaneously Task, local time stamp of the background thread in logging request to data base querying need synchronous data, poll-final Synchronous data will be needed to be stored in the file named with " new timestamp+User ID ";
    Step 3, handheld terminal receive operation system return login successfully response after, use carry " new timestamp+user The synchronous foundation request of data of ID " information asks synchronous foundation data to operation system;
    After step 4, operation system receive the request of the synchronous foundation data of handheld terminal transmission, with " new timestamp+user ID " looks for file for filename, such as finds, then it represents that data query has finished, and directly issues this document to handheld terminal, such as File is not found, then it represents that data query does not complete, and response handheld terminal data query does not complete, and needs re-request synchronous foundation Data;
    Step 5, handheld terminal receive the file that operation system issues, and update local basis data, and local time stamp is set to New timestamp, synchronously completes, and what is such as received is the response that data query does not complete, then continues step 3.
CN201310591835.4A 2013-11-22 2013-11-22 A kind of method of hand-held terminal basic data synchronization Active CN103607458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310591835.4A CN103607458B (en) 2013-11-22 2013-11-22 A kind of method of hand-held terminal basic data synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310591835.4A CN103607458B (en) 2013-11-22 2013-11-22 A kind of method of hand-held terminal basic data synchronization

Publications (2)

Publication Number Publication Date
CN103607458A CN103607458A (en) 2014-02-26
CN103607458B true CN103607458B (en) 2018-07-10

Family

ID=50125658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310591835.4A Active CN103607458B (en) 2013-11-22 2013-11-22 A kind of method of hand-held terminal basic data synchronization

Country Status (1)

Country Link
CN (1) CN103607458B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493330A (en) * 2019-08-13 2019-11-22 浙江省方大标准信息有限公司 A kind of data exchange system and its method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127041A (en) * 2007-08-28 2008-02-20 激动集团股份有限公司 Business rule basic data buffer method
CN102841823A (en) * 2011-06-23 2012-12-26 鸿富锦精密工业(深圳)有限公司 Data backup system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6965945B2 (en) * 2001-03-07 2005-11-15 Broadcom Corporation System and method for slot based ARL table learning and concurrent table search using range address insertion blocking
US20040133629A1 (en) * 2002-02-01 2004-07-08 Brian Reynolds Methods, systems and devices for automated web publishing and distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127041A (en) * 2007-08-28 2008-02-20 激动集团股份有限公司 Business rule basic data buffer method
CN102841823A (en) * 2011-06-23 2012-12-26 鸿富锦精密工业(深圳)有限公司 Data backup system and method

Also Published As

Publication number Publication date
CN103607458A (en) 2014-02-26

Similar Documents

Publication Publication Date Title
CN102970362B (en) The method of a kind of high in the clouds data sharing and device
CN102917061B (en) Resource synchronization method and system
CN101815087A (en) Method for caching information of mobile communication terminal
CN103605798A (en) Method for directly operating file stored at cloud end
CN102769709B (en) A kind of for providing the method and apparatus of service contact information to user
CN105791401B (en) Client and server-side data interactive method, system under net and off-network state
CN103812900A (en) Data synchronization method, device and system
CN102904960A (en) Information synchronizing system and method based on really simple syndication (RSS)
CN102026228B (en) Statistical method and equipment for communication network performance data
CN104052565A (en) Time synchronization method and communication terminal
CN103701817A (en) Method and device for generating configuration file
CN107301084B (en) Virtual machine migration method and device of cluster server, server and storage medium
CN104298757A (en) Method and system allowing compatibility with mobile clients and databases different in version
CN103581273A (en) Service executing method, device and system for distributed system
CN108833167B (en) Communication optimization system and method based on edge calculation
CN103607458B (en) A kind of method of hand-held terminal basic data synchronization
CN104320447A (en) Medium and small-sized cloud stored data synchronization method, compute readable medium and system
CN106454880B (en) The processing method and processing device of signaling tracing task
CN107786661B (en) Information synchronization method
CN104463619A (en) LDAP-based internet product catalogue selling system and control method
CN204204033U (en) Based on the e-commerce system of wireless network
CN109525469B (en) Networking method of intelligent household equipment and intelligent household equipment
EP3787345A1 (en) Method, device, and system for updating path
CN102385514B (en) Method, equipment and system for conducting management operation on software in centralized way
CN104378747A (en) Method and device for calling opposite-terminal device with short number

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