CN106302642A - A kind of method and apparatus of synchrodata - Google Patents

A kind of method and apparatus of synchrodata Download PDF

Info

Publication number
CN106302642A
CN106302642A CN201610605829.3A CN201610605829A CN106302642A CN 106302642 A CN106302642 A CN 106302642A CN 201610605829 A CN201610605829 A CN 201610605829A CN 106302642 A CN106302642 A CN 106302642A
Authority
CN
China
Prior art keywords
data
receiving terminal
synchronized
sequence number
fresh information
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
Application number
CN201610605829.3A
Other languages
Chinese (zh)
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610605829.3A priority Critical patent/CN106302642A/en
Publication of CN106302642A publication Critical patent/CN106302642A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present invention proposes the method and apparatus of a kind of synchrodata, and the method includes: in response to the instruction of synchrodata, send the request obtaining receiving terminal data more fresh information to receiving terminal;Receiving receiving terminal data more fresh information, relatively described receiving terminal data more fresh information and local data more fresh information, obtain data to be synchronized;Described data to be synchronized are sent to described receiving terminal.When the embodiment of the present invention makes synchrodata between mobile phone and server, it is only necessary to synchronize the data changed on mobile phone or server, save the flow required for time of synchrodata and synchrodata for user.

Description

A kind of method and apparatus of synchrodata
Technical field
The present embodiments relate to areas of information technology, the method and apparatus particularly relating to a kind of synchrodata.
Background technology
In prior art, user often uses data backup function that Cloud Server provides by the data syn-chronization in mobile phone On Cloud Server, by the data of Cloud Server keeping mobile phone EMS memory storage, address list during to avoid mobile phone to lose, in mobile phone Cannot give for change with the data such as photo, or when changing mobile phone, in that context it may be convenient on from Cloud Server download data to new cell-phone, Eliminate the trouble that the data of old mobile phone are imported new cell-phone.Inventor finds during realizing invention, is using at present During Cloud Server, when user by data syn-chronization newly-increased in the address list of mobile phone to Cloud Server time, can be by address list in mobile phone In all of data all re-synchronizations once, cause synchrodata to occupy plenty of time and flow.
Therefore, it is necessary to improvement drawbacks mentioned above.
Summary of the invention
Based on problem above, the embodiment of the present invention proposes the method and apparatus of a kind of synchrodata, makes in mobile phone and service Between device during synchrodata, it is only necessary to synchronize the data changed on mobile phone or server, save same step number for user According to time and synchrodata required for flow.
On the one hand, the embodiment of the present invention proposes a kind of method of synchrodata, including:
In response to the instruction of synchrodata, send the request obtaining receiving terminal data more fresh information to receiving terminal;
Receiving receiving terminal data more fresh information, relatively described receiving terminal data more fresh information and local data updates letter Breath, obtains data to be synchronized;
Described data to be synchronized are sent to described receiving terminal.
Additionally, described receiving terminal data more fresh information includes renewal time and the sequence of receiving terminal data of receiving terminal data Number, described local data more fresh information includes renewal time and the sequence number of local data of local data;
Accordingly, described comparison described receiving terminal data more fresh information and local data more fresh information, obtain number to be synchronized According to, including: if the renewal time of described receiving terminal data is different from the renewal time of the described local data with same sequence number, Then described local data is labeled as described data to be synchronized;
If can not find the sequence number of described local data in the sequence number of described receiving terminal data, then by described local data mark It is designated as described data to be synchronized.
On the other hand, the embodiment of the present invention proposes a kind of method of synchrodata, including:
In response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal data more fresh information;
Receive data to be synchronized, according to the sequence number of described data to be synchronized by described data syn-chronization to be synchronized to receiving terminal number According to.
If additionally, the sequence number of described data to be synchronized is identical with the sequence number of described receiving terminal data, then by described receiving terminal Data replace with described data to be synchronized;
If can not find the sequence number of described data to be synchronized in the sequence number of described receiving terminal data, then by described number to be synchronized According to copying in described receiving terminal data.
On the other hand, the embodiment of the present invention proposes the device of a kind of synchrodata, including:
Send request module, be used for: in response to the instruction of synchrodata, send to receiving terminal and obtain the renewal of receiving terminal data The request of information;
Obtaining data module to be synchronized, be used for: receive receiving terminal data more fresh information, relatively described receiving terminal data are more Fresh information and local data more fresh information, obtains data to be synchronized;
Send data module to be synchronized, be used for: send described data to be synchronized to described receiving terminal.
Additionally, described receiving terminal data more fresh information includes renewal time and the sequence of receiving terminal data of receiving terminal data Number, described local data more fresh information includes renewal time and the sequence number of local data of local data;
Accordingly, described comparison described receiving terminal data more fresh information and local data more fresh information, obtain number to be synchronized According to, including: if the renewal time of described receiving terminal data is different from the renewal time of the described local data with same sequence number, Then described local data is labeled as described data to be synchronized;
If can not find the sequence number of described local data in the sequence number of described receiving terminal data, then by described local data mark It is designated as described data to be synchronized.
On the other hand, the embodiment of the present invention proposes the device of a kind of synchrodata, including:
Response request module, is used for: in response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal data are more Fresh information;
Receive data module to be synchronized, be used for: receive data to be synchronized, according to the sequence number of described data to be synchronized by described Data syn-chronization to be synchronized is in receiving terminal data.
If additionally, the sequence number of described data to be synchronized is identical with the sequence number of described receiving terminal data, then by described receiving terminal Data replace with described data to be synchronized;
If can not find the sequence number of described data to be synchronized in the sequence number of described receiving terminal data, then by described number to be synchronized According to copying in described receiving terminal data.
On the other hand, the embodiment of the present invention proposes the system of a kind of synchrodata, including:
Transmitting terminal and receiving terminal;
Described transmitting terminal includes:
Send request module, be used for: in response to the instruction of synchrodata, send to transmitting terminal and obtain the renewal of receiving terminal data The request of information;
Obtaining data module to be synchronized, be used for: receive receiving terminal data more fresh information, relatively described receiving terminal data are more Fresh information and local data more fresh information, obtains described data to be synchronized;
Send data module to be synchronized, be used for: send described data to be synchronized to transmitting terminal;
Described receiving terminal includes:
Response request module, is used for: in response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal data are more Fresh information;
Receive data module to be synchronized, be used for: receive data to be synchronized, according to the sequence number of described data to be synchronized by described Data syn-chronization to be synchronized is in receiving terminal data.
Use technique scheme, have the advantages that
By comparing receiving terminal data more fresh information and local data more fresh information, the mode obtaining data to be synchronized makes Between mobile phone and server during synchrodata, it is only necessary to synchronize the data changed on mobile phone or server, save for user Save the flow required for time of synchrodata and synchrodata.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for synchrodata according to an embodiment of the invention;
Fig. 2 is the flow chart of the method for synchrodata in accordance with another embodiment of the present invention;
Fig. 3 is the flow chart of the method for synchrodata in accordance with another embodiment of the present invention;
Fig. 4 is the module map of the device of synchrodata in accordance with another embodiment of the present invention;
Fig. 5 is the module map of the device of synchrodata in accordance with another embodiment of the present invention;
Fig. 6 is the block diagram of the system of synchrodata in accordance with another embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
With reference to Fig. 1, the embodiment of the present invention proposes a kind of method of synchrodata, including:
Step S001, in response to the instruction of synchrodata, sends to receiving terminal and obtains asking of receiving terminal data more fresh information Ask;
Step S002, receives receiving terminal data more fresh information, compares receiving terminal data more fresh information and local data more Fresh information, obtains data to be synchronized;
Step S003, sends data to be synchronized to receiving terminal.
User after one account of server application, can log in afterwards the account make the local data of terminal be synchronized to service Device, it is also possible to by the server data on server from server sync to terminal.
Such as: after user has applied for a Cloud Server account, the address book data in mobile phone, image data are synchronized To Cloud Server, on Cloud Server, carry out according to the data that different users is synchronized by the Cloud Server account of user's application Management, when after cloud server to the address book data synchronized from mobile phone, image data, according to the Cloud Server of user's application Address book data, image data correspondence are stored in the Cloud Server account of user's application by account, do not log in this Cloud Server Other users of account cannot see the data in this Cloud Server account, ensures what user stored on Cloud Server with this The safety of data and privacy.
Illustrate as a example by synchronizing the address book data in mobile phone, when user performs synchronization for the address book data of mobile phone After the operation of data, mobile phone obtains the receiving terminal data of the address book data in the account of user from Cloud Server and updates letter Breath, mobile phone obtains the local data more fresh information of local address book data from this locality, compare receiving terminal data more fresh information and Local data more fresh information obtains transmitting terminal needs to be synchronized to the data to be synchronized of receiving terminal.
The update date of address book data of receiving terminal can be selected as receiving terminal data more fresh information, and same selection is sent out The update date of the address book data of sending end is as local data more fresh information.The local address book data of such as mobile phone includes Article 500, contact person, each address book data has a sequence number, and sequence number is used for indicating that this address book data is at whole address list Position in data, the address book data in the account of the user of Cloud Server includes 400 contact persons, then according to address list The sequence number of data, compares the local address book data with same sequence number with the address book data of Cloud Server, if The update date of the two is different, then local address book data is labeled as data to be synchronized, if the address book data of this locality Sequence number can not find in the sequence number of the address book data of Cloud Server, then local address book data is labeled as number to be synchronized According to.After the sequence number of address book data is compared, the local data to be synchronized of mobile phone are obtained.
Mobile phone is by data syn-chronization to be synchronized to Cloud Server afterwards, after cloud server to data to be synchronized, according to treating The sequence number of synchrodata, uses data to be synchronized to update the address book data on Cloud Server.
The instruction of synchrodata is sent by user, and receiving terminal data more fresh information is the more fresh information of the data of receiving terminal, Local data more fresh information is the more fresh information of the data of transmitting terminal.
By comparing receiving terminal data more fresh information and local data more fresh information, the mode obtaining data to be synchronized makes Between mobile phone and server during synchrodata, it is only necessary to synchronize the data changed on mobile phone or server, save for user Save the flow required for time of synchrodata and synchrodata.
Alternatively, receiving terminal data more fresh information includes renewal time and the sequence number of receiving terminal data of receiving terminal data, Local data more fresh information includes renewal time and the sequence number of local data of local data;Accordingly, receiving terminal data are compared More fresh information and local data more fresh information, obtains data to be synchronized, including:
If the renewal time of receiving terminal data is different, then by this locality from the renewal time of the local data with same sequence number Data markers is data to be synchronized;
If can not find the sequence number of local data in the sequence number of receiving terminal data, then local data is labeled as number to be synchronized According to.
By obtaining renewal time and the sequence number of receiving terminal data of receiving terminal data, and the renewal time of local data With the sequence number of local data, receiving terminal data and local data are compared, obtain data to be synchronized, make get to treat together Step data is more accurate.
Transmitting terminal both can be terminal, it is also possible to for server, when user is by the data syn-chronization of mobile phone to server, this Time transmitting terminal be mobile phone;When user is by the data syn-chronization of server to mobile phone, now transmitting terminal is server.
Such as address book data, if an address book data is modified, the renewal time meeting that this address book data is corresponding Follow and be modified, the time of amendment address book data is saved as the renewal time of this address book data.By to data more The new time keeps a record, and makes the temporal information of data by known to system, it is possible to compare the data in mobile phone according to the renewal time With the data in server, thus obtain the data to be synchronized in mobile phone.
By the renewal time of the data of the renewal time and transmitting terminal of comparing the data of the receiving terminal with same sequence number, Thus obtain transmitting terminal needing be synchronized to the data of receiving terminal, these data are made marks, obtains data to be synchronized, work as transmission End is when receiving terminal synchrodata, it is only necessary to by the data syn-chronization that is marked to receiving terminal, by treating synchrodata Make marks, save the space of extra storage data to be synchronized.
With reference to Fig. 2, the present embodiment proposes a kind of method of synchrodata, including:
Step S201, in response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal data more fresh information;
Step S202, receives data to be synchronized, according to the sequence number of data to be synchronized by data syn-chronization to be synchronized to receiving terminal In data.
After receiving terminal receives the request obtaining receiving terminal data more fresh information that transmitting terminal sends, get from this locality and connect Receiving end data more fresh information, is then sent to transmitting terminal by receiving terminal data more fresh information, when receiving treating of transmitting terminal transmission After synchrodata, according to the sequence number of data to be synchronized, data correspondence to be synchronized is saved in receiving terminal data.
By comparing receiving terminal data more fresh information and local data more fresh information, the mode obtaining data to be synchronized makes Between mobile phone and server during synchrodata, it is only necessary to synchronize the data changed on mobile phone or server, save for user Save the flow required for time of synchrodata and synchrodata.
Alternatively, if the sequence number of data to be synchronized is identical with the sequence number of receiving terminal data, then receiving terminal data are replaced with Data to be synchronized;
If can not find the sequence number of data to be synchronized in the sequence number of receiving terminal data, then copy to data to be synchronized receive In end data.
Go the data judging to need the receiving terminal of renewal according to the sequence number of data at receiving terminal, if the sequence number of data to be synchronized Identical with the sequence number of receiving terminal data, then receiving terminal data are replaced with data to be synchronized, this kind of data to be synchronized are to send out The data that sending end was revised;If can not find the sequence number of data to be synchronized in the sequence number of receiving terminal data, then by data to be synchronized Copying to receiving terminal, this kind of data to be synchronized are the data newly increased at transmitting terminal.
By to the sequence number of data relatively complete synchrodata by the way of, make the time that the process of synchrodata needs Shorter, and the most accurate.
With reference to Fig. 3, below with one of the record data instance explanation present invention of synchronous communication between mobile phone and Cloud Server The flow process of embodiment.
Step S301, user has logged in the account of user on Cloud Server, have selected in the address list of mobile phone is applied The operation of " synchronous communication record ";
Step S302, mobile phone obtains the service that the server address book data in the account of the user on Cloud Server is corresponding Device address list updates the time, and mobile phone obtains local address book corresponding to local local address book data and updates the time from this locality, The sequence number of the sequence number of local address book data with server address book data being compared, if the two is identical, then this be incited somebody to action by mobile phone The ground address list renewal time compared with the server address list renewal time, if identical, by local address book data markers was then Data to be synchronized;
Step S303, if the sequence number of local address book data is all looked for not in the sequence number of all of server address book data Arrive, be then data to be synchronized by local address book data markers;
Step S304, data to be synchronized are sent to Cloud Server by mobile phone;
Step S305, after cloud server to data to be synchronized, compares sequence number and the server communication of data to be synchronized The sequence number of record data, for the server address book data that sequence number is identical with the sequence number of data to be synchronized, uses data to be synchronized It is updated, identical with the sequence number of data to be synchronized for all can not find in the sequence number of all of server address book data These data to be synchronized are directly copied to Cloud Server by data to be synchronized.
The technical scheme of the present embodiment updates time, server address list renewal time by comparing local address book and leads to The sequence number of news record data judges data to be synchronized, and according to the sequence number synchrodata of data to be synchronized, makes this locality changed Address book data is synchronized to Cloud Server, decreases flow and the time uploading data costs.
With reference to Fig. 4, the embodiment of the present invention proposes the device of a kind of synchrodata, including:
Send request module 401, be used for: in response to the instruction of synchrodata, send to receiving terminal and obtain receiving terminal data The request of more fresh information;
Obtain data module 402 to be synchronized, be used for: receive receiving terminal data more fresh information, compare receiving terminal data more Fresh information and local data more fresh information, obtains data to be synchronized;
Send data module 403 to be synchronized, be used for: send data to be synchronized to receiving terminal.
By comparing receiving terminal data more fresh information and local data more fresh information, the mode obtaining data to be synchronized makes Between mobile phone and server during synchrodata, it is only necessary to synchronize the data changed on mobile phone or server, save for user Save the flow required for time of synchrodata and synchrodata.
Alternatively, receiving terminal data more fresh information includes renewal time and the sequence number of receiving terminal data of receiving terminal data, Local data more fresh information includes renewal time and the sequence number of local data of local data;Accordingly, receiving terminal data are compared More fresh information and local data more fresh information, obtains data to be synchronized, including:
If the renewal time of receiving terminal data is different, then by this locality from the renewal time of the local data with same sequence number Data markers is data to be synchronized;
If can not find the sequence number of local data in the sequence number of receiving terminal data, then local data is labeled as number to be synchronized According to.
With reference to Fig. 5, the embodiment of the present invention proposes the device of a kind of synchrodata, including:
Response request module 501, is used for: in response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal number According to more fresh information;
Receive data module 502 to be synchronized, be used for: receive data to be synchronized, will treat according to the sequence number of data to be synchronized same Step data is synchronized in receiving terminal data.
By comparing receiving terminal data more fresh information and local data more fresh information, the mode obtaining data to be synchronized makes Between mobile phone and server during synchrodata, it is only necessary to synchronize the data changed on mobile phone or server, save for user Save the flow required for time of synchrodata and synchrodata.
Alternatively, if the sequence number of data to be synchronized is identical with the sequence number of receiving terminal data, then receiving terminal data are replaced with Data to be synchronized;
If can not find the sequence number of data to be synchronized in the sequence number of receiving terminal data, then copy to data to be synchronized receive In end data.
With reference to Fig. 6, the embodiment of the present invention proposes the system of a kind of synchrodata, including:
Transmitting terminal 10 and receiving terminal 20;
Transmitting terminal 10 includes:
Send request module 601, be used for: in response to the instruction of synchrodata, send to transmitting terminal and obtain receiving terminal data The request of more fresh information;
Obtain data module 602 to be synchronized, be used for: receive receiving terminal data more fresh information, compare receiving terminal data more Fresh information and local data more fresh information, obtains data to be synchronized;
Send data module 603 to be synchronized, be used for: send data to be synchronized to transmitting terminal;
Receiving terminal 20 includes:
Response request module 701, is used for: in response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal number According to more fresh information;
Receive data module 702 to be synchronized, be used for: receive data to be synchronized, will treat according to the sequence number of data to be synchronized same Step data is synchronized in receiving terminal data.
Transmitting terminal can be terminal or server, terminal such as mobile phone, flat board, PC or other intelligent terminal.Receive End can be server or terminal, server such as Cloud Server or system server.By comparing receiving terminal data more fresh information With local data more fresh information, obtain the mode of data to be synchronized when making synchrodata between mobile phone and server, it is only necessary to The data changed on step mobile phone or server, save for user required for time and the synchrodata of synchrodata Flow.
The embodiment of the present invention further relates to a kind of computer program, and it includes computer-readable medium, described computer Computer-readable recording medium includes: first group of code, for the instruction in response to synchrodata, sends and obtains receiving terminal data more fresh information Request;Second group of code, is used for receiving receiving terminal data more fresh information, compares receiving terminal data more fresh information and local data More fresh information, obtains the data to be synchronized needing to synchronize, obtains data to be synchronized from local data;3rd group of code, is used for Send data to be synchronized.
The embodiment of the present invention further relates to a kind of computer program, and it includes computer-readable medium, described computer Computer-readable recording medium includes: first group of code, for the request in response to acquisition receiving terminal data more fresh information, transmitting and receiving terminal data More fresh information;Second group of code, is used for receiving data to be synchronized, is arrived by data syn-chronization to be synchronized according to the sequence number of data to be synchronized In receiving terminal data.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible Instructing relevant hardware by computer program to complete, described program can be stored in computer read/write memory medium. Program during execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, light Dish, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc..
Based on such understanding, prior art is contributed by the technical scheme of the embodiment of the present invention the most in other words The part of part or this technical scheme can embody with the form of software product, and this computer software product is stored in one In individual storage medium, including some instructions with so that a mobile terminal (can be personal computer, server, or net Network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: U Dish, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various medium that can store program code such as magnetic disc or CD.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can To be or to may not be physically separate, the parts shown as unit can be or may not be physics list Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs In some or all of module realize the purpose of embodiment of the present invention scheme.Those of ordinary skill in the art are not paying wound In the case of the work of the property made, i.e. it is appreciated that and implements.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can The mode adding required general hardware platform by software realizes, naturally it is also possible to realized by hardware.Based on such reason Solving, the part that prior art is contributed by technique scheme the most in other words can embody with the form of software product Coming, this computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including Some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each The method described in some part of individual embodiment or embodiment.
Last it is noted that above example is only in order to illustrate the technical scheme of the embodiment of the present invention, rather than it is limited System;Although being described in detail the embodiment of the present invention with reference to previous embodiment, those of ordinary skill in the art should Understand: the technical scheme described in foregoing embodiments still can be modified by it, or to wherein portion of techniques feature Carry out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention skill The spirit and scope of art scheme.

Claims (8)

1. the method for a synchrodata, it is characterised in that including:
In response to the instruction of synchrodata, send the request obtaining receiving terminal data more fresh information to receiving terminal;
Receiving receiving terminal data more fresh information, relatively described receiving terminal data more fresh information and local data more fresh information, obtain Take data to be synchronized;
Described data to be synchronized are sent to described receiving terminal.
The method of synchrodata the most according to claim 1, it is characterised in that:
Described receiving terminal data more fresh information includes renewal time and the sequence number of receiving terminal data of receiving terminal data, described this locality Data more fresh information includes renewal time and the sequence number of local data of local data;
Accordingly, described comparison described receiving terminal data more fresh information and local data more fresh information, obtain data to be synchronized, bag Include:
If the renewal time of described receiving terminal data is different from the renewal time of the described local data with same sequence number, then will Described local data is labeled as described data to be synchronized;
If can not find the sequence number of described local data in the sequence number of described receiving terminal data, then described local data is labeled as Described data to be synchronized.
3. the method for a synchrodata, it is characterised in that including:
In response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal data more fresh information;
Receive data to be synchronized, according to the sequence number of described data to be synchronized by described data syn-chronization to be synchronized to receiving terminal data In.
The method of synchrodata the most according to claim 3, it is characterised in that:
If the sequence number of described data to be synchronized is identical with the sequence number of described receiving terminal data, then described receiving terminal data are replaced with Described data to be synchronized;
If can not find the sequence number of described data to be synchronized in the sequence number of described receiving terminal data, then described data to be synchronized are multiple Make in described receiving terminal data.
5. the device of a synchrodata, it is characterised in that including:
Send request module, be used for: in response to the instruction of synchrodata, send to receiving terminal and obtain receiving terminal data more fresh information Request;
Obtaining data module to be synchronized, be used for: receive receiving terminal data more fresh information, relatively described receiving terminal data update letter Breath and local data more fresh information, obtain data to be synchronized;
Send data module to be synchronized, be used for: send described data to be synchronized to described receiving terminal.
The device of synchrodata the most according to claim 5, it is characterised in that:
Described receiving terminal data more fresh information includes renewal time and the sequence number of receiving terminal data of receiving terminal data, described this locality Data more fresh information includes renewal time and the sequence number of local data of local data;
Accordingly, described comparison described receiving terminal data more fresh information and local data more fresh information, obtain data to be synchronized, bag Include:
If the renewal time of described receiving terminal data is different from the renewal time of the described local data with same sequence number, then will Described local data is labeled as described data to be synchronized;
If can not find the sequence number of described local data in the sequence number of described receiving terminal data, then described local data is labeled as Described data to be synchronized.
7. the device of a synchrodata, it is characterised in that including:
Response request module, is used for: in response to the request of acquisition receiving terminal data more fresh information, transmitting and receiving terminal data update letter Breath;
Receive data module to be synchronized, be used for: receive data to be synchronized, treat described together according to the sequence number of described data to be synchronized Step data is synchronized in receiving terminal data.
The device of synchrodata the most according to claim 7, it is characterised in that:
If the sequence number of described data to be synchronized is identical with the sequence number of described receiving terminal data, then described receiving terminal data are replaced with Described data to be synchronized;
If can not find the sequence number of described data to be synchronized in the sequence number of described receiving terminal data, then described data to be synchronized are multiple Make in described receiving terminal data.
CN201610605829.3A 2016-07-27 2016-07-27 A kind of method and apparatus of synchrodata Pending CN106302642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610605829.3A CN106302642A (en) 2016-07-27 2016-07-27 A kind of method and apparatus of synchrodata

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610605829.3A CN106302642A (en) 2016-07-27 2016-07-27 A kind of method and apparatus of synchrodata

Publications (1)

Publication Number Publication Date
CN106302642A true CN106302642A (en) 2017-01-04

Family

ID=57662714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610605829.3A Pending CN106302642A (en) 2016-07-27 2016-07-27 A kind of method and apparatus of synchrodata

Country Status (1)

Country Link
CN (1) CN106302642A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790129A (en) * 2016-12-27 2017-05-31 中国银联股份有限公司 A kind of identity authentication method and device
CN108650281A (en) * 2018-02-28 2018-10-12 努比亚技术有限公司 A kind of data managing method, device and computer readable storage medium
CN109165229A (en) * 2018-08-23 2019-01-08 北京京东金融科技控股有限公司 Local the block synchronous method of inspection, device, equipment and storage medium
US11327845B2 (en) 2017-05-27 2022-05-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image synchronization method and device, and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472911A (en) * 2002-07-31 2004-02-04 鸿富锦精密工业(深圳)有限公司 Wireless facility synchronizing system and method
CN101150534A (en) * 2006-09-20 2008-03-26 腾讯科技(深圳)有限公司 Method and system for obtaining updated image resources of contacts
CN101232467A (en) * 2008-02-22 2008-07-30 中兴通讯股份有限公司 Method for obtaining information using time jab in real time communicating business
CN102238017A (en) * 2010-05-07 2011-11-09 腾讯科技(深圳)有限公司 Local software update prompting method and system
CN103312743A (en) * 2012-03-09 2013-09-18 盛乐信息技术(上海)有限公司 Data synchronization device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472911A (en) * 2002-07-31 2004-02-04 鸿富锦精密工业(深圳)有限公司 Wireless facility synchronizing system and method
CN101150534A (en) * 2006-09-20 2008-03-26 腾讯科技(深圳)有限公司 Method and system for obtaining updated image resources of contacts
CN101232467A (en) * 2008-02-22 2008-07-30 中兴通讯股份有限公司 Method for obtaining information using time jab in real time communicating business
CN102238017A (en) * 2010-05-07 2011-11-09 腾讯科技(深圳)有限公司 Local software update prompting method and system
CN103312743A (en) * 2012-03-09 2013-09-18 盛乐信息技术(上海)有限公司 Data synchronization device and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790129A (en) * 2016-12-27 2017-05-31 中国银联股份有限公司 A kind of identity authentication method and device
US11327845B2 (en) 2017-05-27 2022-05-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image synchronization method and device, and server
CN108650281A (en) * 2018-02-28 2018-10-12 努比亚技术有限公司 A kind of data managing method, device and computer readable storage medium
CN109165229A (en) * 2018-08-23 2019-01-08 北京京东金融科技控股有限公司 Local the block synchronous method of inspection, device, equipment and storage medium
CN109165229B (en) * 2018-08-23 2020-06-05 京东数字科技控股有限公司 Method, device, equipment and storage medium for checking local block synchronization

Similar Documents

Publication Publication Date Title
CN102439560B (en) Data in data copy system are distributed again
CN106302642A (en) A kind of method and apparatus of synchrodata
CN102904878B (en) For the method and system of the efficient download of packet
CN103475682B (en) File transfer method and file transfer equipment
CN105338078A (en) Data storage method and device used for storing system
CN104796445A (en) Resource synchronization method and device by server nodes
CN108934033B (en) Base station upgrading and returning method and device
CN101207580A (en) System and method for adding and deleting linkman synchronously by instant communication platform and business platform
CN104104582B (en) A kind of data storage path management method, client and server
CN106302559A (en) A kind of data copy method and equipment
CN103166911A (en) Version management server authority management method and version management server authority management equipment
CN107231400A (en) The synchronous method and device of a kind of data
CN109036212A (en) A kind of tourist explaining apparatus data-updating method and cabinet
CN105357357A (en) Telephone number management method and cloud server
CN102411511B (en) Data migration for service upgrades
CN103701653A (en) Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN108781189B (en) Load balancing method and related equipment
CN111683114A (en) Method and device for upgrading equipment program, terminal equipment and storage medium
CN105205100A (en) Data synchronization method based on MTP between terminals and terminals
CN111176706A (en) Terminal upgrading method and device, electronic equipment and storage medium
CN102325367A (en) Data packet synchronizing device and method for client application
CN105577734A (en) Information backup method, device, server and terminal
EP2372552B1 (en) Automated relocation of in-use multi-site protected data storage
CN106227541A (en) A kind of program updates download process method and mobile terminal
CN107819729B (en) Data request method and system, access device, storage device 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170104

WD01 Invention patent application deemed withdrawn after publication