CN103237075A - Data synchronizing method, device and system - Google Patents

Data synchronizing method, device and system Download PDF

Info

Publication number
CN103237075A
CN103237075A CN2013101470194A CN201310147019A CN103237075A CN 103237075 A CN103237075 A CN 103237075A CN 2013101470194 A CN2013101470194 A CN 2013101470194A CN 201310147019 A CN201310147019 A CN 201310147019A CN 103237075 A CN103237075 A CN 103237075A
Authority
CN
China
Prior art keywords
data
information
message
server
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101470194A
Other languages
Chinese (zh)
Other versions
CN103237075B (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.)
Alibaba Beijing Software Services Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201310147019.4A priority Critical patent/CN103237075B/en
Publication of CN103237075A publication Critical patent/CN103237075A/en
Priority to PCT/CN2013/087689 priority patent/WO2014173122A1/en
Application granted granted Critical
Publication of CN103237075B publication Critical patent/CN103237075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • H04J3/0605Special codes used as synchronising signal

Landscapes

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

Abstract

The invention provides a data synchronizing method. The method comprises the following steps of acquiring first data to be synchronized; based on data serial number and data feature information, judging whether data information which contains at least one of the data serial number and the data feature information and is different from any data information in the other one of the first data and second data exists in the first data and the second data or not; and when different data information exists in the first data and the second data, sending the judged different data information to a server, so that the corresponding data in the server is synchronously updated to acquire third data after current synchronization. The goal that a synchronizing client can also accurately find the data required to be synchronized under the condition of no data operation log is achieved. The method has the characteristics of high speed, real-time property, high efficiency and applicability. The invention also discloses a data synchronizing device and a data synchronizing system.

Description

A kind of method of data synchronization, Apparatus and system
Technical field
The present invention relates to the communication information technical field, particularly a kind of method of data synchronization, Apparatus and system.
Background technology
At present, identify which data and need participate in synchronously, employing all be log management, and the operation of identical data is not had the function of merging, can cause a lot of meaningless operations, cause the poor efficiency of system data.
Particularly, for the synchronous client of needs, great majority are mobile phone, and the disposal ability of mobile phone, no matter be mobile phone EMS memory, mobile phone IO etc. compares generally, if according to this kind log management pattern of the function that operation of identical data is not merged, every corresponding log management is all recorded in operation, to cause bigger burden to the system of client thus, the user mobile phone operation is slow, and electric quantity consumption is big, sluggish, make the user beyond affordability, simultaneously, because every operation of client records finally all will be synchronized to server (server is in like manner), increase the load of server operation and processing so undoubtedly, therefore also can spin out whole synchronous process.This can cause the risk of synchronization failure to uprise for the changeable network of mobile Internet.
Further, mobile Internet network is complicated and changeable, also is subjected to the restriction of flow.And if increasing of meaningless operation also certainly exists the data of many redundancies so inside the final data bag, this will certainly cause packet bigger, consumes the mobile phone flow of user's preciousness.From another angle, if even if merge the scheme of daily record good optimization has been arranged, but can not avoid a problem, all require client can catch the operation of data in essence, and finish the record of daily record.Such as, the user has revised an address list at mobile phone, so at this time just requires to produce a daily record that meets synchronous requirement at mobile phone.And address list belongs to cell phone system obviously, and does not belong to the client of synchro system.Therefore the user is when mobile phone is revised an address list, and mobile phone can't produce a daily record that meets synchronous requirement.Do not have daily record, log management and daily record merge does not just know where to begin.Because if sync client wants not belong to synchronously the data of sync client itself, sync client can't carry out log management and daily record merges, and lacks flexibility and operability.
Summary of the invention
Purpose of the present invention is intended to solve at least one of described technological deficiency.
For this reason, one object of the present invention is to propose a kind of method of data synchronization, this method has solved sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that needs to participate in data in synchronization, and have agility, real-time, high efficiency and applicability.Second purpose of the present invention is to propose a kind of data synchronization unit.The 3rd purpose of the present invention is to propose a kind of data synchronous system.
To achieve these goals, the embodiment of first aspect present invention provides a kind of method of data synchronization, may further comprise the steps: obtaining will be by the first synchronous data; Based on data number and data characteristics information, judge one of in described first data and second data, whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in another of described first data and second data; And when in judging described first data and second data, having described different data message, the different pieces of information information of judging is sent to server, the corresponding data of storing in the described server is carried out three data of acquisition after preamble is handled of more newly arriving synchronously, wherein, the data structure of the data message in described first data and the 3rd data comprises data number at least, data content and data characteristics information, and described second data are based on that the 3rd data that obtain after data synchronization processing last time generate, and the data structure of the data message in described second data comprises data number and data characteristics information at least.
In one embodiment of the invention, described data characteristics information one of is based in data content, timestamp information and the data length information of this data-message at least the unique identification information of determining.
In one embodiment of the invention, the corresponding data of storing in the described server the 3rd data that obtain when after the preamble processing of carrying out more newly arriving are synchronously comprised: when the different pieces of information information of judging does not exist in second data from first data and the data number that has, this data message is increased in the corresponding data of storing in the described server.
In one embodiment of the invention, the corresponding data of storing in the described server the 3rd data that obtain after the preamble processing of carrying out more newly arriving are synchronously comprised: in the different pieces of information information of judging from first data, and when in second data, having identical but the data message that data characteristics information is different of the data number that has, the data message that utilizes this different data message to replace to have the identical data numbering in the corresponding data of storing in the described server.
In one embodiment of the invention, the corresponding data of storing in the described server the 3rd data that obtain after preamble is handled of carrying out more newly arriving are synchronously comprised: when the different pieces of information information of judging did not exist in first data from second data and the data number that has, deletion had the data message that identical data is numbered in the corresponding data of storing from described server.
In one embodiment of the invention, described method of data synchronization also comprises three data sync first data of process after preamble is handled that utilization is returned from server; And generate described second data based on the 3rd data of returning.
According to the method for data synchronization of the embodiment of the invention, based on data number and data characteristics information, drawing this needs data in synchronization, finishes the synchronization of local and server data.This method has solved sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that needs to participate in data in synchronization, has agility, real-time, high efficiency and applicability.
The embodiment of second aspect present invention proposes a kind of data synchronization unit, comprising: acquiring unit, and being used for obtaining will be by the first synchronous data; Judging unit, be used for based on data number and data characteristics information, judge one of in described first data and second data, whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in another of described first data and second data; Transmitting element, be used for when judging described first data and second data and have described different data message, the different pieces of information information of judging is sent to server, obtain the 3rd data after preamble is handled the corresponding data of storing in the described server is carried out more newly arrive synchronously; And generation unit, be used for generating second data based on the 3rd data that obtained after the data synchronization processing last time, wherein, the data structure of the data message in described first data and the 3rd data comprises data number, data content and data characteristics information at least, and described second data are based on that the 3rd data that obtain after data synchronization processing last time generate, and the data structure of the data message in described second data comprises data number and data characteristics information at least.
In one embodiment of the invention, described data synchronous system also comprises: the data characteristics information generating unit is used for generating one of at least described data characteristics information based on data content, timestamp information and the data length information of this data-message.
In one embodiment of the invention, described data synchronous system also comprises: lock unit is used for utilizing three data sync first data of process after preamble is handled of returning from server.
According to the data synchronization unit of the embodiment of the invention, based on data number and data characteristics information, drawing this needs data in synchronization, finishes the synchronization of local and server data.This device solves sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that need to participate in data in synchronization, have agility, real-time, high efficiency and applicability.
The embodiment of third aspect present invention proposes a kind of data synchronous system, comprising: comprise the portable terminal of described data synchronization unit; And be used for utilizing the different pieces of information information that receives, the corresponding data of storing in the described server is carried out synchronous more newly arriving obtain the server of the 3rd data after preamble is handled.
According to the data synchronous system of the embodiment of the invention, based on data number and data characteristics information, drawing this needs data in synchronization, finishes the synchronization of local and server data.This system has solved sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that needs to participate in data in synchronization, has agility, real-time, high efficiency and applicability.
The aspect that the present invention adds and advantage part in the following description provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment in conjunction with following accompanying drawing, wherein:
Fig. 1 is the flow chart according to the method for data synchronization of the embodiment of the invention;
Fig. 2 is the structural representation of the data synchronization unit of inventive embodiments;
Fig. 3 is the structural representation according to the data synchronous system of the embodiment of the invention;
Fig. 4 is the particular flow sheet according to the method for data synchronization of the embodiment of the invention
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein identical or similar label is represented identical or similar elements or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, be intended to for explaining the present invention, and can not be interpreted as limitation of the present invention.
In the present invention, unless clear and definite regulation and restriction are arranged in addition, broad understanding should be done in terms such as term " installation ", " linking to each other ", " connection ", " fixing ", for example, can be fixedly connected, also can be to removably connect, or connect integratedly; Can be mechanical connection, also can be to be electrically connected; Can be directly to link to each other, also can link to each other indirectly by intermediary, can be the connection of two element internals.For the ordinary skill in the art, can understand above-mentioned term concrete implication in the present invention as the case may be.
In addition, term " first ", " second " only are used for describing purpose, and can not be interpreted as indication or hint relative importance or the implicit quantity that indicates indicated technical characterictic.Thus, one or more these features can be expressed or impliedly be comprised to the feature that is limited with " first ", " second ".In description of the invention, the implication of " a plurality of " is two or more, unless clear and definite concrete restriction is arranged in addition.
As shown in Figure 1, the flow chart of the method for data synchronization of the embodiment of the invention comprises the steps:
Step S101 is that obtain will be by the first synchronous data;
Step S102 is based on data number and data characteristics information, judges one of whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in another of first data and second data in first data and second data.
Step S103 sends to server with the different pieces of information information of judging when having different data messages in judging first data and second data.
Step S104 obtains the 3rd data after preamble is handled for the corresponding data of storing in the server being carried out more newly arrive synchronously.
In one embodiment of the invention, the data structure of the data message in first data and the 3rd data comprises data number, data content and data characteristics information at least, and second data be based on that the 3rd data that obtain after data synchronization processing last time generate, the data structure of the data message in second data comprises data number and data characteristics information at least.
In one embodiment of the invention, data characteristics information one of is based in data content, timestamp information and the data length information of this data-message at least the unique identification information of determining.Thus, uniqueness and the accuracy of data characteristics information have been improved.
In one embodiment of the invention, the corresponding data of storing in the server being carried out synchronous the 3rd data that obtain after preamble is handled of more newly arriving comprises:
When the different pieces of information information of judging does not exist in second data from first data and the data number that has, this data message is increased in the corresponding data of storing in the server.
In one embodiment of the invention, the corresponding data of storing in the server being carried out synchronous the 3rd data that obtain after preamble is handled of more newly arriving comprises:
In the different pieces of information information of judging from first data, and when in second data, having identical but the data message that data characteristics information is different of the data number that has, utilize this different data message to replace the data message that has the identical data numbering in the corresponding data of storing in server.
In one embodiment of the invention, the corresponding data of storing in the server being carried out synchronous the 3rd data that obtain after preamble is handled of more newly arriving comprises:
When the different pieces of information information of judging did not exist in first data from second data and the data number that has, deletion had the data message of identical data numbering in the corresponding data of storing from server.
In one embodiment of the invention, utilize three data sync first data of process after preamble is handled of returning from server; And generate second data based on the 3rd data of returning.
In one embodiment of the invention, the data message in first data, second data and the 3rd data may be many and also may be 0.
According to the method for data synchronization of the embodiment of the invention, based on data number and data characteristics information, drawing this needs data in synchronization, finishes the synchronization of local and server data.This method has solved sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that needs to participate in data in synchronization, has agility, real-time, high efficiency and applicability.
Fig. 2 is the structural representation according to the data synchronization unit 20 of the embodiment of the invention.
The data synchronization unit 20 of the embodiment of the invention comprises: acquiring unit 201, and being used for obtaining will be by the first synchronous data; Judging unit 202, be used for based on data number and data characteristics information, judge one of in first data and second data, whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in another of first data and second data; Transmitting element 203, be used for when judging first data and have different data messages with second data, the different pieces of information information of judging is sent to server, obtain the 3rd data after preamble is handled the corresponding data of storing in the server is carried out more newly arrive synchronously; And generation unit 204, be used for generating second data based on the 3rd data that obtained after the data synchronization processing last time.
In one embodiment of the invention, data synchronization unit 20 also comprises data characteristics information generating unit 205, is used for generating one of at least data characteristics information based on data content, timestamp information and the data length information of this data-message.
In one embodiment of the invention, data synchronization unit 20 also comprises lock unit 206, is used for utilizing three data sync first data of process after preamble is handled of returning from server.
According to the data synchronization unit of the embodiment of the invention, based on data number and data characteristics information, drawing this needs data in synchronization, finishes the synchronization of local and server data.This device solves sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that need to participate in data in synchronization, have agility, real-time, high efficiency and applicability.
Fig. 3 is the data synchronous system 30 according to the embodiment of the invention.
The data synchronous system 30 of the embodiment of the invention comprises: portable terminal 301 comprises data synchronization unit 20; And server 302, be used for utilizing the different pieces of information information that receives, the corresponding data of storing in the server is carried out synchronous three data of acquisition after preamble is handled of more newly arriving.
In one embodiment of the invention, after the different pieces of information information that the transmitting element 203 of server 302 reception data synchronization units 20 sends, corresponding data to storage in the server 302 carries out synchronous three data of acquisition after preamble is handled of more newly arriving, and will return to data synchronization unit 20 through the 3rd data after handling when preamble, so that 206 pairs of first data of the lock unit of data synchronization unit 20 carry out reaching the purpose of first data and the 3rd data consistent synchronously.
According to the data synchronous system of the embodiment of the invention, based on data number and data characteristics information, drawing this needs data in synchronization, finishes the synchronization of local and server data.This system has solved sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that needs to participate in data in synchronization, has agility, real-time, high efficiency and applicability.
As shown in Figure 4, for realizing the particular flow sheet of method of data synchronization.
Step S401 is for initiating data synchronization request.
Initiate data synchronization request and can be to be triggered by user's operation, also can regularly be initiated automatically according to cycle predetermined time by portable terminal 301 or server 302.
Step S402 is that acquiring unit 201 obtains will be by the first synchronous data.
First data are to obtain from portable terminal 301 this locality.
Step S403 is based on data number and data characteristics information, judges one of whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in another of first data and second data in first data and second data.
In one embodiment of the invention, the data structure of the data message in first data and the 3rd data comprises data number, data content and data characteristics information at least, and second data be based on that the 3rd data that obtain after data synchronization processing last time generate, the data structure of the data message in second data comprises data number and data characteristics information at least.
In one embodiment of the invention, data characteristics information one of is based in data content, timestamp information and the data length information of this data-message at least the unique identification information of determining.Data characteristics information will calculate according to specific formulation one of at least in data content, timestamp information and the data length information of this data-message.
In one embodiment of the invention, the data message in first data, second data and the 3rd data may be many and also may be 0.
Particularly, be to judge one of in first data, whether to have in the data number that comprises and the data characteristics information at least the data message different with any data message in second data and to judge one of in second data, whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in first data.
Step S404 is not when to be the different pieces of information information judged from first data and the data number that has exist in second data, and server is increased to this data message in the corresponding data of storing in the server.
Step S405 is that the different pieces of information information judged is from first data, and when in second data, having identical but the data message that data characteristics information is different of the data number that has, utilize this different data message to replace the data message that has the identical data numbering in the corresponding data of storing in server.
Step S406 is not when to be the different pieces of information information judged from second data and the data number that has exist in first data, this different pieces of information information of deletion in the corresponding data of storing from server.
Step S407 is that the 3rd data after server 302 will be handled synchronously return to portable terminal 301.
Step S408 is that portable terminal 301 is according to the 3rd data sync first data of returning.
Step S409 generates second data for data number and the data characteristics information according to first data after synchronous.
Particularly, data number and the data characteristics information of first data of portable terminal after will this subsynchronous finishing store as second data, so that first data carry out identifying the data message that needs carry out data sync according to second data when synchronous next time.
Further, be that example describes the process that identification needs data in synchronization with synchronous android system mobile phone address list.
Data in the cell phone address book are first data, and every address book data has unique data number DATAID in android system mobile phone address list, and data content DATE and data characteristics information FP.
Example one:
Never carried out data sync before supposing, this moment, second data were empty.At this moment,
The data structure of first data:
DATAID DATA FP
1 139139 2zvgSn1k6PBY37zTH94yy0EX
2 139138 1cAYTS3rtsPy3AnXGlA26Z1
3 139130 2rxjvV4rsAIlBvKuW1GjbIc
The data structure of second data:
DATAID FP
? ?
The synchrodata identifying is as follows:
At this time data numbering DATAID and data characteristics information FP are searched one by one and check in first data and second data, discovery all can not find the data of dataid=1 or dataid=2 or dataid=3 in second data, can reach a conclusion: 3 of dataid=1, dataid=2 and dataid=3 data all will participate in synchronously in the cell phone address book, the data synchronization unit of mobile phone is issued server with these 3 data messages, increase these 3 data messages in the corresponding data that server is stored in server, obtain the 3rd data.
Server returns to portable terminal with the 3rd data, portable terminal according to the 3rd Data Update first data to realize data sync.After first data sync with the 3rd data consistent.Data number and data characteristics information that portable terminal is incited somebody to action first data after this subsynchronous finishing store as second data.
Example two:
Suppose that portable terminal carried out data sync in the past, at this moment,
The data structure of first data:
DATAID DATA FP
1 139139 2zvgSn1k6PBY37zTH94yy0EX
2 138139 3Bd5ii3ALxzOsPHQw3De58I
4 133131 3r2OwR4sxrpg1iXk4Q2z5eEI
5 0201234567 v9kB64oO4GmhuFWv14JqCL
The data structure of second data:
DATAID FP
1 2zvgSn1k6PBY37zTH94yy0EX
2 1cAYTS3rtsPy3AnXGlA26Z1
3 2rxjvV4rsAIlBvKuW1GjbIc
The synchrodata identifying is as follows:
Data number in first data is that the data message of dataid=1 can find in second data, and in first data in the data of dataid=1 and second data data characteristics information of the data of dataid=1 the same, all be FP=2zvgSn1k6PBY37zTH94yy0EX, so this data message need not participate in data sync.
In first data and second data, can both find the data message of data number dataid=2, but the data characteristics information inconsistency of the two, the fp=1cAYTS3rtsPy3AnXGlA26Z1 of the data message correspondence of dataid=2 in fp=3Bd5ii3ALxzOsPHQw3De58I second data of the data message correspondence of dataid=2 in first data, so these data will participate in synchronously, the data message of dataid=2 is replaced the data message that has the identical data numbering in the corresponding data of storing in the described server in server by utilizing first data.
Data number in second data is the data message of dataid=3 owing to can not find the data message of the dataid=3 consistent with its data number in first data, so these data will participate in synchronously, this data message of deletion in the corresponding data that server is stored in server.
Data number is that the data message of dataid=4 can not find in second data in first data, so this data message will participate in synchronously, increases this data message in the corresponding data that server is stored in server.
Same, data number is that the data message of dataid=5 can not find in second data in first data, so this data message will participate in synchronously this data message of increase in the corresponding data that server is stored in server.
At this moment, server obtains the 3rd data, and server returns to portable terminal with the 3rd data, portable terminal according to the 3rd Data Update first data to realize data sync.After first data sync with the 3rd data consistent.Data number and data characteristics information that portable terminal is incited somebody to action first data after this subsynchronous finishing store as second data.
The method of data synchronization of the embodiment of the invention, based on data number and data characteristics information, drawing this needs data in synchronization, finishes the synchronization of local and server data.This method has solved sync client under the situation that does not have the data manipulation daily record, also can accurately find out the problem that needs to participate in data in synchronization, has agility, real-time, high efficiency and applicability.
Describe and to be understood that in the flow chart or in this any process of otherwise describing or method, expression comprises module, fragment or the part of code of the executable instruction of the step that one or more is used to realize specific logical function or process, and the scope of preferred implementation of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by opposite order, carry out function, this should be understood by the embodiments of the invention person of ordinary skill in the field.
In flow chart the expression or in this logic of otherwise describing and/or step, for example, can be considered to the sequencing tabulation for the executable instruction that realizes logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (as the computer based system, comprise that the system of processor or other can be from the systems of instruction execution system, device or equipment instruction fetch and execution command), or use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), read-only memory (ROM), can wipe and to edit read-only memory (EPROM or flash memory), fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium even can be paper or other the suitable media that to print described program thereon, because can be for example by paper or other media be carried out optical scanner, then edit, decipher or handle to obtain described program in the electronics mode with other suitable methods in case of necessity, then it is stored in the computer storage.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in the memory and by software or firmware that suitable instruction execution system is carried out.For example, if realize with hardware, the same in another embodiment, in the available following technology well known in the art each or their combination realize: have for the discrete logic of data-signal being realized the logic gates of logic function, application-specific integrated circuit (ASIC) with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that and realize that all or part of step that above-described embodiment method is carried is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises one of step or its combination of method embodiment when carrying out.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, concrete feature, structure, material or characteristics that the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means in conjunction with this embodiment or example description are contained at least one embodiment of the present invention or the example.In this manual, the schematic statement to above-mentioned term not necessarily refers to identical embodiment or example.And concrete feature, structure, material or the characteristics of description can be with the suitable manner combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, those of ordinary skill in the art can change above-described embodiment under the situation that does not break away from principle of the present invention and aim within the scope of the invention, modification, replacement and modification.Scope of the present invention extremely is equal to by claims and limits.

Claims (10)

1. method of data synchronization comprises:
Obtaining will be by the first synchronous data;
Based on data number and data characteristics information, judge one of in described first data and second data, whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in another of described first data and second data; And
When in judging described first data and second data, having described different data message, the different pieces of information information of judging is sent to server, the corresponding data of storing in the described server is carried out three data of acquisition after preamble is handled of more newly arriving synchronously
Wherein, the data structure of the data message in described first data and the 3rd data comprises data number, data content and data characteristics information at least, and
Described second data are based on that the 3rd data that obtain after data synchronization processing last time generate, and the data structure of the data message in described second data comprises data number and data characteristics information at least.
2. method of data synchronization as claimed in claim 1, wherein, described data characteristics information one of is based in data content, timestamp information and the data length information of this data-message at least the unique identification information of determining.
3. method of data synchronization as claimed in claim 1 wherein, comprises the corresponding data of storing in the described server the 3rd data that obtain after the preamble processing of carrying out more newly arriving synchronously:
When the different pieces of information information of judging does not exist in second data from first data and the data number that has, this data message is increased in the corresponding data of storing in the described server.
4. method of data synchronization as claimed in claim 1 wherein, comprises the corresponding data of storing in the described server the 3rd data that obtain after the preamble processing of carrying out more newly arriving synchronously:
In the different pieces of information information of judging from first data, and when in second data, having identical but the data message that data characteristics information is different of the data number that has, the data message that utilizes this different data message to replace to have the identical data numbering in the corresponding data of storing in the described server.
5. method of data synchronization as claimed in claim 1 wherein, comprises the corresponding data of storing in the described server the 3rd data that obtain after the preamble processing of carrying out more newly arriving synchronously:
When the different pieces of information information of judging did not exist in first data from second data and the data number that has, deletion had the data message of identical data numbering in the corresponding data of storing from described server.
6. method of data synchronization as claimed in claim 1 also comprises:
Three data sync first data of process after preamble is handled that utilization is returned from server; And
Generate described second data based on the 3rd data of returning.
7. data synchronization unit comprises:
Acquiring unit, being used for obtaining will be by the first synchronous data;
Judging unit, be used for based on data number and data characteristics information, judge one of in described first data and second data, whether there be in the data number that comprises and the data characteristics information at least the data message different with any data message in another of described first data and second data;
Transmitting element, be used for when judging described first data and second data and have described different data message, the different pieces of information information of judging is sent to server, obtain the 3rd data after preamble is handled the corresponding data of storing in the described server is carried out more newly arrive synchronously; And
Generation unit is used for generating second data based on the 3rd data that obtained after the data synchronization processing last time,
Wherein, the data structure of the data message in described first data and the 3rd data comprises data number, data content and data characteristics information at least, and
Described second data are based on that the 3rd data that obtain after data synchronization processing last time generate, and the data structure of the data message in described second data comprises data number and data characteristics information at least.
8. data synchronization unit as claimed in claim 7 also comprises:
The data characteristics information generating unit is used for generating one of at least described data characteristics information based on data content, timestamp information and the data length information of this data-message.
9. data synchronization unit as claimed in claim 7 also comprises:
Lock unit is used for utilizing three data sync first data of process after preamble is handled of returning from server.
10. data synchronous system comprises:
Portable terminal comprises as any one described data synchronization unit among the claim 7-9; And
Server is used for utilizing the different pieces of information information that receives, and the corresponding data of storing in the described server is carried out synchronous three data of acquisition after preamble is handled of more newly arriving.
CN201310147019.4A 2013-04-24 2013-04-24 A kind of method of data synchronization, Apparatus and system Active CN103237075B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310147019.4A CN103237075B (en) 2013-04-24 2013-04-24 A kind of method of data synchronization, Apparatus and system
PCT/CN2013/087689 WO2014173122A1 (en) 2013-04-24 2013-11-22 Data synchronization method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310147019.4A CN103237075B (en) 2013-04-24 2013-04-24 A kind of method of data synchronization, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103237075A true CN103237075A (en) 2013-08-07
CN103237075B CN103237075B (en) 2016-07-06

Family

ID=48885091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310147019.4A Active CN103237075B (en) 2013-04-24 2013-04-24 A kind of method of data synchronization, Apparatus and system

Country Status (2)

Country Link
CN (1) CN103237075B (en)
WO (1) WO2014173122A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014173122A1 (en) * 2013-04-24 2014-10-30 广州市动景计算机科技有限公司 Data synchronization method, apparatus, and system
CN104794114A (en) * 2014-01-16 2015-07-22 阿里巴巴集团控股有限公司 Data processing method and device
CN103701913B (en) * 2013-12-30 2017-02-22 广州爱九游信息技术有限公司 Data synchronization method and device
CN106610763A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Method and device for synchronization of user operations across screen
CN107016548A (en) * 2016-12-09 2017-08-04 阿里巴巴集团控股有限公司 Client, information processing method and reading/writing method and device
CN109165229A (en) * 2018-08-23 2019-01-08 北京京东金融科技控股有限公司 Local the block synchronous method of inspection, device, equipment and storage medium
CN110990481A (en) * 2019-10-22 2020-04-10 珠海许继芝电网自动化有限公司 Synchronization method and system for historical data of power distribution automation system
WO2020248364A1 (en) * 2019-06-13 2020-12-17 平安科技(深圳)有限公司 Data synchronization method and related device
CN117520460A (en) * 2024-01-05 2024-02-06 成都安世赛斯特软件技术有限公司 Custom number generation management method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852160A (en) * 2005-12-30 2006-10-25 华为技术有限公司 Method for realizing data slow synchronization and system thereof
CN101923571A (en) * 2010-07-29 2010-12-22 中兴通讯股份有限公司 Method and device for managing terminal data logging
CN102291453A (en) * 2011-08-09 2011-12-21 中兴通讯股份有限公司 Data synchronization method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091284A1 (en) * 2003-10-23 2005-04-28 Microsoft Corporation Composite view
CN101409614B (en) * 2007-10-12 2011-04-13 华为技术有限公司 Data synchronization method, system and equipment
CN103237075B (en) * 2013-04-24 2016-07-06 广州市动景计算机科技有限公司 A kind of method of data synchronization, Apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852160A (en) * 2005-12-30 2006-10-25 华为技术有限公司 Method for realizing data slow synchronization and system thereof
CN101923571A (en) * 2010-07-29 2010-12-22 中兴通讯股份有限公司 Method and device for managing terminal data logging
CN102291453A (en) * 2011-08-09 2011-12-21 中兴通讯股份有限公司 Data synchronization method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014173122A1 (en) * 2013-04-24 2014-10-30 广州市动景计算机科技有限公司 Data synchronization method, apparatus, and system
CN103701913B (en) * 2013-12-30 2017-02-22 广州爱九游信息技术有限公司 Data synchronization method and device
CN104794114A (en) * 2014-01-16 2015-07-22 阿里巴巴集团控股有限公司 Data processing method and device
CN104794114B (en) * 2014-01-16 2018-04-03 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN106610763A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Method and device for synchronization of user operations across screen
CN107016548A (en) * 2016-12-09 2017-08-04 阿里巴巴集团控股有限公司 Client, information processing method and reading/writing method and device
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
WO2020248364A1 (en) * 2019-06-13 2020-12-17 平安科技(深圳)有限公司 Data synchronization method and related device
CN110990481A (en) * 2019-10-22 2020-04-10 珠海许继芝电网自动化有限公司 Synchronization method and system for historical data of power distribution automation system
CN117520460A (en) * 2024-01-05 2024-02-06 成都安世赛斯特软件技术有限公司 Custom number generation management method and system
CN117520460B (en) * 2024-01-05 2024-04-02 成都安世赛斯特软件技术有限公司 Custom number generation management method and system

Also Published As

Publication number Publication date
CN103237075B (en) 2016-07-06
WO2014173122A1 (en) 2014-10-30

Similar Documents

Publication Publication Date Title
CN103237075A (en) Data synchronizing method, device and system
CN101849216B (en) Method and apparatus for wireless digital content management
CN102291430B (en) Method for processing allocation information of Internet of things, Internet of things platform and system
CN103369051B (en) A kind of data server cluster system and method for data synchronization
CN102355682A (en) Sensor adapting method, sensor adapting device and IOT (Internet Of Things) system
EP3125501A1 (en) File synchronization method, server, and terminal
CN110795496B (en) Data synchronization method, device and system
CN108965383B (en) File synchronization method and device, computer equipment and storage medium
CN111399764B (en) Data storage method, data reading device, data storage equipment and data storage medium
CN102710436A (en) Network equipment management method, device, relative equipment and system
CN111190551B (en) Redis data migration system, migration method, migration device and terminal
CN103780633A (en) Method and device for mobile terminal to upload file, and method and device for network server to upload file
CN110737719A (en) Data synchronization method, device, equipment and computer readable storage medium
CN103166862A (en) Node information obtaining method and rack type server
CN105045536A (en) Data storage method, apparatus and system
CN113448971A (en) Data updating method based on distributed system, computing node and storage medium
CN110769073A (en) Electric energy meter zone attribution identification method and device, computer equipment and storage medium
CN104517067A (en) Method, device and system for data access
CN107623705B (en) Storage mode upgrading method, device and system based on video cloud storage system
CN110609967A (en) List generation method and device and storage medium
CN112685064B (en) Processing method and device for equipment identification, storage medium and electronic device
CN102447589B (en) Method and device for aggregating records
CN107305581B (en) Table connection method in distributed database system and distributed database system
CN106534049B (en) Data issuing method based on server, client, server and system
CN103914339A (en) Server management system and server management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200417

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 2, 16, 301 rooms, 510665 Yun Yun Road, Tianhe District, Guangdong, Guangzhou

Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210331

Address after: 100102 Room 301, 3 / F, building 9, District 4, Wangjing East Garden, Chaoyang District, Beijing

Patentee after: ALIBABA (BEIJING) SOFTWARE SERVICE Co.,Ltd.

Address before: 310052 room 508, 5th floor, building 4, No. 699 Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Alibaba (China) Co.,Ltd.