CN105187472A - Data synchronization method and data synchronization device - Google Patents

Data synchronization method and data synchronization device Download PDF

Info

Publication number
CN105187472A
CN105187472A CN201510296741.3A CN201510296741A CN105187472A CN 105187472 A CN105187472 A CN 105187472A CN 201510296741 A CN201510296741 A CN 201510296741A CN 105187472 A CN105187472 A CN 105187472A
Authority
CN
China
Prior art keywords
data
clouds
terminal user
user identification
valid data
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
CN201510296741.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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510296741.3A priority Critical patent/CN105187472A/en
Publication of CN105187472A publication Critical patent/CN105187472A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data synchronization method and a data synchronization device, and belongs to the field of network technologies. The data synchronization method comprises the steps of receiving a data synchronization request, wherein the data synchronization request carries a terminal user identifier; acquiring valid data from cloud data corresponding to the terminal user identifier, wherein the valid data is cloud data conforming to valid data conditions; and sending the valid data to a terminal, and enabling the terminal to carry out synchronization based on the valid data. According to the invention, only the valid data, which has actual use significance for users, is synchronized in the process of carrying out data synchronization, and unnecessary data is not synchronized, thereby being capable of improving the synchronization efficiency while enabling the data volume to be large, and avoiding waste for the storage space and the user flow.

Description

Method of data synchronization and device
Technical field
The disclosure relates to networking technology area, particularly relates to a kind of method of data synchronization and device.
Background technology
Along with the development of network technology, the demand of user to data syn-chronization is more and more higher, and e.g., a user often wants some data to be synchronized to another mobile device from a mobile device, or when changing mobile device, by the data syn-chronization of oneself on new mobile device.
In order to meet these data syn-chronization demands, a lot of service provider starts to provide cloud service.User can locate register account number service provider, thus based on the account of this registration, local data in oneself current mobile device is synchronized to high in the clouds, also can when needing based on local data on the Data Update mobile device of high in the clouds, log in the account of this registration, can by high in the clouds data syn-chronization to mobile device, under this cloud service, in any case carry out the transfer of mobile device, with obtaining oneself complete data per family.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method of data synchronization and device.
According to the first aspect of disclosure embodiment, a kind of method of data synchronization is provided, comprises:
Receive data synchronization request, described data synchronization request carried terminal user ID;
From the high in the clouds data that described terminal user identification is corresponding, obtain valid data, described valid data are the high in the clouds data meeting valid data condition;
Described valid data are sent to terminal, described terminal is carried out synchronously based on described valid data.
In an embodiment of the present disclosure, from the high in the clouds data that described terminal user identification is corresponding, obtain valid data and comprise:
Store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data storing duration and meet the first valid data condition; Or,
According to the contact person of high in the clouds data corresponding to described terminal user identification, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data meeting the contact person of the second valid data condition; Or,
According to data evaluation parameter, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data that data evaluating meets the 3rd valid data condition.
In an embodiment of the present disclosure, store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, the valid data that acquisition storage duration meets the first valid data condition comprise:
Store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data storing duration and do not exceed preset duration; Or,
Storing duration from being short to long order according to data, from the high in the clouds data that described terminal user identification is corresponding, obtaining and storing the data that duration sequence is positioned at front first preset number.
In an embodiment of the present disclosure, according to the contact person of high in the clouds data corresponding to described terminal user identification, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data meeting the contact person of the second valid data condition and comprise:
According to the cohesion between contact person and terminal use, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the first contact person, between described first contact person and described terminal use, cohesion is greater than predetermined threshold value; Or,
According to the contact person of default harassing call database and described high in the clouds data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the second contact person, described second contact person is not any one in described default harassing call database.
In an embodiment of the present disclosure, described high in the clouds data comprise short message record or message registration.
In an embodiment of the present disclosure, according to data evaluation parameter, from the high in the clouds data that described terminal user identification is corresponding, the valid data that acquisition data evaluating meets the 3rd valid data condition comprise:
When the high in the clouds data that described terminal user identification is corresponding comprise multiple similar pictures, the definition of multiple similar pictures relatively more described;
The maximum picture of definition is obtained from multiple similar pictures described.
According to the second aspect of disclosure embodiment, provide a kind of data synchronization unit, described device comprises:
Receiver module, for receiving data synchronization request, described data synchronization request carried terminal user ID;
Acquisition module, for from high in the clouds data corresponding to described terminal user identification, obtain valid data, described valid data are the high in the clouds data meeting valid data condition;
Sending module, for described valid data are sent to terminal, makes described terminal carry out synchronously based on described valid data.
In an embodiment of the present disclosure, described acquisition module comprises:
First acquiring unit, for storing duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data storing duration and meet the first valid data condition; Or,
Second acquisition unit, for the contact person according to high in the clouds data corresponding to described terminal user identification, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data meeting the contact person of the second valid data condition; Or,
3rd acquiring unit, for according to data evaluation parameter, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data that data evaluating meets the 3rd valid data condition.
In an embodiment of the present disclosure, described first acquiring unit is used for:
Store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data storing duration and do not exceed preset duration; Or,
Storing duration from being short to long order according to data, from the high in the clouds data that described terminal user identification is corresponding, obtaining and storing the data that duration sequence is positioned at front first preset number.
In an embodiment of the present disclosure, described second acquisition unit is used for:
According to the cohesion between contact person and terminal use, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the first contact person, between described first contact person and described terminal use, cohesion is greater than predetermined threshold value; Or,
According to the contact person of default harassing call database and described high in the clouds data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the second contact person, described second contact person is not any one in described default harassing call database.
In an embodiment of the present disclosure, described high in the clouds data comprise short message record or message registration.
In an embodiment of the present disclosure, described 3rd acquiring unit is used for when the high in the clouds data that described terminal user identification is corresponding comprise multiple similar pictures, the definition of multiple similar pictures relatively more described, obtains the maximum picture of definition from multiple similar pictures described.
According to the third aspect of disclosure embodiment, provide a kind of data synchronization unit, described device comprises:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, described processor is configured to:
Receive data synchronization request, described data synchronization request carried terminal user ID;
From the high in the clouds data that described terminal user identification is corresponding, obtain valid data, described valid data are the high in the clouds data meeting valid data condition;
Described valid data are sent to terminal, described terminal is carried out synchronously based on described valid data.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the process of carrying out data syn-chronization, only more synchronous for the valid data having actual use meaning user, and unnecessary data are not carried out synchronously, make when data volume is larger, can synchronous efficiency be improved, avoid the waste to memory space and customer flow.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of method of data synchronization according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of method of data synchronization according to an exemplary embodiment.
Fig. 3 is a kind of data synchronization unit block diagram according to an exemplary embodiment.
Fig. 4 is the block diagram of a kind of device 400 for data syn-chronization according to an exemplary embodiment.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly, below in conjunction with accompanying drawing, disclosure execution mode is described in further detail.
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of a kind of method of data synchronization according to an exemplary embodiment, and as shown in Figure 1, the method is used for, in server, comprising the following steps.
In step S101, receive data synchronization request, this data synchronization request carried terminal user ID.
In step s 102, from the high in the clouds data that this terminal user identification is corresponding, obtain valid data, these valid data are the high in the clouds data meeting valid data condition.
In step s 103, these valid data are sent to terminal, this terminal is carried out synchronously based on these valid data.
In the process of carrying out data syn-chronization, only more synchronous for the valid data having actual use meaning user, and unnecessary data are not carried out synchronously, make when data volume is larger, can synchronous efficiency be improved, avoid the waste to memory space and customer flow.
In an embodiment of the present disclosure, from the high in the clouds data that this terminal user identification is corresponding, obtain valid data and comprise:
Store duration according to data, from the high in the clouds data that this terminal user identification is corresponding, obtain the valid data storing duration and meet the first valid data condition; Or,
According to the contact person of high in the clouds data corresponding to this terminal user identification, from the high in the clouds data that this terminal user identification is corresponding, obtain the valid data meeting the contact person of the second valid data condition; Or,
According to data evaluation parameter, from the high in the clouds data that this terminal user identification is corresponding, obtain the valid data that data evaluating meets the 3rd valid data condition.
In an embodiment of the present disclosure, store duration according to data, from the high in the clouds data that this terminal user identification is corresponding, the valid data that acquisition storage duration meets the first valid data condition comprise:
Store duration according to data, from the high in the clouds data that this terminal user identification is corresponding, obtain the data storing duration and do not exceed preset duration; Or,
Storing duration from being short to long order according to data, from the high in the clouds data that this terminal user identification is corresponding, obtaining and storing the data that duration sequence is positioned at front first preset number.
In an embodiment of the present disclosure, according to the contact person of high in the clouds data corresponding to this terminal user identification, from the high in the clouds data that this terminal user identification is corresponding, obtain the valid data meeting the contact person of the second valid data condition and comprise:
According to the cohesion between contact person and terminal use, from the high in the clouds data that this terminal user identification is corresponding, obtain the data of the first contact person, between this first contact person and this terminal use, cohesion is greater than predetermined threshold value; Or,
According to the contact person of default harassing call database with these high in the clouds data, from the high in the clouds data that this terminal user identification is corresponding, obtain the data of the second contact person, this second contact person is not any one in this default harassing call database.
In an embodiment of the present disclosure, these high in the clouds data comprise short message record or message registration.
In an embodiment of the present disclosure, according to data evaluation parameter, from the high in the clouds data that this terminal user identification is corresponding, the valid data that acquisition data evaluating meets the 3rd valid data condition comprise:
When the high in the clouds data that this terminal user identification is corresponding comprise multiple similar pictures, compare the definition of these multiple similar pictures;
The maximum picture of definition is obtained from these multiple similar pictures.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation embodiment of the present disclosure, this is no longer going to repeat them.
Fig. 2 is the flow chart of a kind of method of data synchronization according to an exemplary embodiment, and as shown in Figure 2, the method is used for, in server, comprising the following steps.
In step s 201, terminal to server sends data synchronization request, this data synchronization request carried terminal user ID.
When terminal triggering synchronous process, terminal can send data synchronization request to the server of correspondence.
In step S202, server receives data synchronization request.
Server is after receiving data synchronization request, can according to the concrete condition of data synchronization request, determine the method for synchronization, as carried the mark for marking terminal current data water level in this data synchronization request, when data water level be countless according to time, can think that this terminal does not now preserve any data, need to carry out the synchronous of valid data, and when data water level is greater than certain threshold value, can think that current need carry out common data syn-chronization, then based on data water level, data to be synchronized can be determined.
In step S203, server obtains valid data condition corresponding to this data synchronization request.
For different data types, server can safeguard different valid data conditions.As, for communication event, its valid data condition can be store at least one item in duration, contact person based on it.And synchronous for picture, file etc., its valid data condition can be store at least one item in the evaluating of duration, data based on it, and this concrete valid data condition describes in detail by subsequent embodiment.
In step S204, server is from high in the clouds data corresponding to this terminal user identification, and obtain valid data, these valid data are the high in the clouds data meeting valid data condition.
In the embodiment that the disclosure provides, from the high in the clouds data that this terminal user identification is corresponding, acquisition valid data can comprise at least one in following several mode:
First kind of way, store duration according to data, from the high in the clouds data that this terminal user identification is corresponding, obtain and store duration and meet the valid data of the first valid data condition.
For high in the clouds data, the storage duration of each data of server meeting respective record, with determine these data be when stored in, and store the long data of duration, likely user's unwanted data, therefore, in the process obtaining valid data, duration can be stored based on data and obtain.
Such as, in the embodiment that disclosure embodiment provides, store duration according to data, from the high in the clouds data that this terminal user identification is corresponding, obtain the data storing duration and do not exceed preset duration.That is to say, some times data too remote can be got rid of, this preset duration can be arranged in advance by user and be synchronized to server, also can be arranged by the historical operation of server according to user, as, the data before this user never accessed 1 year within a nearly time period, then can be set to preset duration by 1 year, certainly, the restriction of method that all do not provide by the present embodiment of the preset duration of this concrete set-up mode and setting.
And for example, in another embodiment that disclosure embodiment provides, storing duration from being short to long order according to data, from the high in the clouds data that this terminal user identification is corresponding, obtaining and storing the data that duration sequence is positioned at front first preset number.For some users, memory space is of great value, both the actual use of user can have been had influence on, also can have influence on the speed of service of terminal, therefore, can synchronous data volume be limited, in order to also the ageing of synchrodata can be ensured when ensureing saving memory space, can store duration according to data to sort, be valid data by the data acquisition of the first shorter for storage duration preset number.As, this first preset number can be hundreds of even several thousand, and preferably, this first preset number can be 1000.
Certainly, when storing duration based on data and obtaining valid data, can obtain in conjunction with the length and synchrodata amount storing duration, as, duration can be stored according to data, from the high in the clouds data that this terminal user identification is corresponding, obtain storage duration and do not exceed preset duration and be positioned at the data of front first preset number according to from sorting when being short to long sequence.Combinations thereof mode can have other modes of texturing, and disclosure embodiment does not repeat this.
Above-mentioned obtain manner for the such as communication event such as message registration or short message, picture, file synchronous all applicable, therefore not to repeat here.
The second way, contact person according to high in the clouds data corresponding to this terminal user identification, from the high in the clouds data that this terminal user identification is corresponding, obtain the valid data meeting the contact person of the second valid data condition.
For communication event, due to the difference of its contact person, this communication event may be different to the meaning of user, as, for the contact person that some often contact, user more may wish his data synchronous, that is to say, for user, the data of the contact person of often contact are valid data, and for data corresponding to some refuse messages, harassing calls etc., for user, do not belong to valid data, if carry out synchronously to this kind of data, not only occupied terminal memory space, but also the synchronous efficiency of valid data can be reduced.Therefore, in an embodiment of the present disclosure, this second way specifically can comprise: according to the cohesion between contact person and terminal use, from the high in the clouds data that this terminal user identification is corresponding, obtain the data of the first contact person, between this first contact person and this terminal use, cohesion is greater than predetermined threshold value.
In this embodiment, server can by the communication frequency between the contact person in the data of high in the clouds and terminal use, as the frequency of sending short messages or the frequency etc. of making a phone call, determine the cohesion between contact person and terminal use, when cohesion is greater than predetermined threshold value, can think that the data of this contact person are valid data for terminal use, therefore, carry out synchronously based on cohesion, can greatly reduce to need synchronous data volume.
In another embodiment of the present disclosure, this second way specifically can comprise: according to the contact person of default harassing call database with these high in the clouds data, from the high in the clouds data that this terminal user identification is corresponding, obtain the data of the second contact person, the artificial contact person not included in this default harassing call database of this second contact.
In this embodiment, server can safeguard a default harassing call database, for storing harassing call number, as promoted class, commercial paper, swindle class etc., the data of this kind of contact person do not belong to valid data for terminal use, therefore, can according to the contact person of high in the clouds data, harassing call database is preset in inquiry, by being included in the contact data filtering in default harassing call database, obtains the data of the second contact person.In addition, for the communication event of some business, as the short message etc. of the merchant service propelling movement that some users register, for terminal use, also lack validity, therefore, server can also safeguard Yellow Page call database, by the business communication event filtering of some businessmans etc., thus to obtain the data of the 3rd contact person, the artificial contact person not included in this Yellow Page call database of the 3rd contact.
In actual scene, the above-mentioned acquisition based on cohesion, default harassing call database and Yellow Page call database also can in conjunction with carrying out, as, adopt cohesion, preset at least one item in harassing call database and Yellow Page call database, some unnecessary high in the clouds data of filtering, thus get valid data.
In this scenario, these high in the clouds data comprise short message record or message registration.When obtaining valid data, for each contact person determined, also can limit the downloading data of each contact person, as, for each first contact person, be only valid data by the high in the clouds data acquisition of the some of each first contact person, as, for the first contact person, only its nearest 10 message registrations are retrieved as valid data, to carry out data syn-chronization.This restriction can be applied to the valid data acquisition process for first, second and the 3rd contact person, and disclosure embodiment is not construed as limiting this.
Certainly, if terminal use also thinks other synchronous relevant to some contact persons high in the clouds data, can also be obtained from server by data synchronization request.
The third mode, according to data evaluation parameter, from the high in the clouds data that this terminal user identification is corresponding, obtain the valid data that data evaluatings meets the 3rd valid data condition.
For the data such as picture, file, because its data type is different, can have different data evaluation parameters, e.g., for picture, its data evaluation parameter can be the definition of picture, and for file, can be the size etc. of this article part.User is when pictures taken; in order to ensure to photograph best picture, usually multiple similar pictures can be retained, therefore; these multiple similar diagram sector-meetings are uploaded to server; and when subsequent synchronisation, first server can scan high in the clouds data, multiple similar pictures are divided into one group; thus in this similar pictures group; obtain a top-quality picture, this top-quality picture is carried out data syn-chronization as valid data, to reduce taking of memory space.Correspondingly, for data evaluation parameter for definition is described, this process can comprise: when the high in the clouds data that this terminal user identification is corresponding comprise multiple similar pictures, compare the definition of these multiple similar pictures; The maximum picture of definition is obtained from these multiple similar pictures.
In step S205, these valid data are sent to terminal by server, and this terminal is carried out synchronously based on these valid data.
In step S206, terminal receives valid data, and carries out synchronously based on these valid data.
Above-mentioned steps S205-S206 is data transmission procedure and data storage procedure, and disclosure embodiment does not repeat this.
In the process of carrying out data syn-chronization, only more synchronous for the valid data having actual use meaning user, and unnecessary data are not carried out synchronously, make when data volume is larger, can synchronous efficiency be improved, avoid the waste to memory space and customer flow.Further, from the data of high in the clouds, valid data are obtained by adopting different valid data conditions, synchronously, can not can also avoid the interference of some hashes, improve data synchronization efficiency greatly some times too remote carrying out when can make synchronous.
Fig. 3 is a kind of data synchronization unit block diagram according to an exemplary embodiment.With reference to Fig. 3, this device comprises receiver module 301, acquisition module 302 and sending module 303.
Receiver module 301, for receiving data synchronization request, described data synchronization request carried terminal user ID;
Acquisition module 302, for from high in the clouds data corresponding to described terminal user identification, obtain valid data, described valid data are the high in the clouds data meeting valid data condition;
Sending module 303, for described valid data are sent to terminal, makes described terminal carry out synchronously based on described valid data.
In an embodiment of the present disclosure, described acquisition module comprises:
First acquiring unit, for storing duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data storing duration and meet the first valid data condition; Or,
Second acquisition unit, for the contact person according to high in the clouds data corresponding to described terminal user identification, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data meeting the contact person of the second valid data condition; Or,
3rd acquiring unit, for according to data evaluation parameter, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data that data evaluating meets the 3rd valid data condition.
In an embodiment of the present disclosure, described first acquiring unit is used for:
Store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data storing duration and do not exceed preset duration; Or,
Storing duration from being short to long order according to data, from the high in the clouds data that described terminal user identification is corresponding, obtaining and storing the data that duration sequence is positioned at front first preset number.
In an embodiment of the present disclosure, described second acquisition unit is used for:
According to the cohesion between contact person and terminal use, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the first contact person, between described first contact person and described terminal use, cohesion is greater than predetermined threshold value; Or,
According to the contact person of default harassing call database and described high in the clouds data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the second contact person, described second contact person is not any one in described default harassing call database.
In an embodiment of the present disclosure, described high in the clouds data comprise short message record or message registration.
In an embodiment of the present disclosure, described 3rd acquiring unit is used for when the high in the clouds data that described terminal user identification is corresponding comprise multiple similar pictures, the definition of multiple similar pictures relatively more described, obtains the maximum picture of definition from multiple similar pictures described.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 4 is the block diagram of a kind of device 400 for data syn-chronization according to an exemplary embodiment.Such as, device 400 may be provided in a server.With reference to Fig. 4, device 400 comprises processing components 422, and it comprises one or more processor further, and the memory resource representated by memory 432, can such as, by the instruction of the execution of processing unit 422, application program for storing.The application program stored in memory 432 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 422 is configured to perform instruction, to perform above-mentioned method of data synchronization.
Device 400 can also comprise the power management that a power supply module 426 is configured to final controlling element 400, and a wired or wireless network interface 450 is configured to device 400 to be connected to network, and input and output (I/O) interface 458.Device 400 can operate the operating system based on being stored in memory 432, such as WindowsServer tM, MacOSX tM, Unix tM, Linux tM, FreeBSD tMor it is similar.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a method of data synchronization, is characterized in that, described method comprises:
Receive data synchronization request, described data synchronization request carried terminal user ID;
From the high in the clouds data that described terminal user identification is corresponding, obtain valid data, described valid data are the high in the clouds data meeting valid data condition;
Described valid data are sent to terminal, described terminal is carried out synchronously based on described valid data.
2. method according to claim 1, is characterized in that, from the high in the clouds data that described terminal user identification is corresponding, obtains valid data and comprises:
Store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data storing duration and meet the first valid data condition; Or,
According to the contact person of high in the clouds data corresponding to described terminal user identification, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data meeting the contact person of the second valid data condition; Or,
According to data evaluation parameter, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data that data evaluating meets the 3rd valid data condition.
3. method according to claim 2, is characterized in that, stores duration according to data, and from the high in the clouds data that described terminal user identification is corresponding, the valid data that acquisition storage duration meets the first valid data condition comprise:
Store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data storing duration and do not exceed preset duration; Or,
Storing duration from being short to long order according to data, from the high in the clouds data that described terminal user identification is corresponding, obtaining and storing the data that duration sequence is positioned at front first preset number.
4. method according to claim 2, it is characterized in that, according to the contact person of high in the clouds data corresponding to described terminal user identification, from the high in the clouds data that described terminal user identification is corresponding, obtain the valid data meeting the contact person of the second valid data condition and comprise:
According to the cohesion between contact person and terminal use, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the first contact person, between described first contact person and described terminal use, cohesion is greater than predetermined threshold value; Or,
According to the contact person of default harassing call database and described high in the clouds data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the second contact person, described second contact person is not any one in described default harassing call database.
5. the method according to any one of claim 2-4, is characterized in that, described high in the clouds data comprise short message record or message registration.
6. method according to claim 2, is characterized in that, according to data evaluation parameter, from the high in the clouds data that described terminal user identification is corresponding, the valid data that acquisition data evaluating meets the 3rd valid data condition comprise:
When the high in the clouds data that described terminal user identification is corresponding comprise multiple similar pictures, the definition of multiple similar pictures relatively more described;
The maximum picture of definition is obtained from multiple similar pictures described.
7. a data synchronization unit, is characterized in that, described device comprises:
Receiver module, for receiving data synchronization request, described data synchronization request carried terminal user ID;
Acquisition module, for from high in the clouds data corresponding to described terminal user identification, obtain valid data, described valid data are the high in the clouds data meeting valid data condition;
Sending module, for described valid data are sent to terminal, makes described terminal carry out synchronously based on described valid data.
8. device according to claim 7, is characterized in that, described acquisition module comprises:
First acquiring unit, for storing duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data storing duration and meet the first valid data condition; Or,
Second acquisition unit, for the contact person according to high in the clouds data corresponding to described terminal user identification, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data meeting the contact person of the second valid data condition; Or,
3rd acquiring unit, for according to data evaluation parameter, from the high in the clouds data that described terminal user identification is corresponding, obtains the valid data that data evaluating meets the 3rd valid data condition.
9. device according to claim 8, is characterized in that, described first acquiring unit is used for:
Store duration according to data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data storing duration and do not exceed preset duration; Or,
Storing duration from being short to long order according to data, from the high in the clouds data that described terminal user identification is corresponding, obtaining and storing the data that duration sequence is positioned at front first preset number.
10. device according to claim 8, is characterized in that, described second acquisition unit is used for:
According to the cohesion between contact person and terminal use, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the first contact person, between described first contact person and described terminal use, cohesion is greater than predetermined threshold value; Or,
According to the contact person of default harassing call database and described high in the clouds data, from the high in the clouds data that described terminal user identification is corresponding, obtain the data of the second contact person, described second contact person is not any one in described default harassing call database.
11. devices according to Claim 8 described in-10 any one, it is characterized in that, described high in the clouds data comprise short message record or message registration.
12. devices according to claim 8, it is characterized in that, described 3rd acquiring unit is used for when the high in the clouds data that described terminal user identification is corresponding comprise multiple similar pictures, the definition of multiple similar pictures relatively more described, obtains the maximum picture of definition from multiple similar pictures described.
13. 1 kinds of data synchronization units, is characterized in that, described device comprises:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, described processor is configured to:
Receive data synchronization request, described data synchronization request carried terminal user ID;
From the high in the clouds data that described terminal user identification is corresponding, obtain valid data, described valid data are the high in the clouds data meeting valid data condition;
Described valid data are sent to terminal, described terminal is carried out synchronously based on described valid data.
CN201510296741.3A 2015-06-02 2015-06-02 Data synchronization method and data synchronization device Pending CN105187472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510296741.3A CN105187472A (en) 2015-06-02 2015-06-02 Data synchronization method and data synchronization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510296741.3A CN105187472A (en) 2015-06-02 2015-06-02 Data synchronization method and data synchronization device

Publications (1)

Publication Number Publication Date
CN105187472A true CN105187472A (en) 2015-12-23

Family

ID=54909314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510296741.3A Pending CN105187472A (en) 2015-06-02 2015-06-02 Data synchronization method and data synchronization device

Country Status (1)

Country Link
CN (1) CN105187472A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847361A (en) * 2016-03-25 2016-08-10 努比亚技术有限公司 Contact person information management method, server and terminal
WO2024051718A1 (en) * 2022-09-09 2024-03-14 华为技术有限公司 Data synchronization method, and related apparatus and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557380A (en) * 2008-04-10 2009-10-14 华为技术有限公司 Data synchronization method, client terminal and server
CN101610225A (en) * 2008-06-20 2009-12-23 华为技术有限公司 A kind of synchronization processing method, system and device
CN101931707A (en) * 2010-09-27 2010-12-29 北京开心人信息技术有限公司 Method and device for searching for contact persons in real-time interaction of mobile communication equipment
CN102970362A (en) * 2012-11-15 2013-03-13 北京小米科技有限责任公司 Method and device for sharing cloud data
CN103024039A (en) * 2012-12-13 2013-04-03 东莞宇龙通信科技有限公司 Data synchronization method and system
CN103647697A (en) * 2013-11-28 2014-03-19 宇龙计算机通信科技(深圳)有限公司 A mail receiving method of a mobile terminal and a cloud-end server
CN104540004A (en) * 2015-01-27 2015-04-22 深圳市中兴移动通信有限公司 Video screenshot method and video screenshot device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557380A (en) * 2008-04-10 2009-10-14 华为技术有限公司 Data synchronization method, client terminal and server
CN101610225A (en) * 2008-06-20 2009-12-23 华为技术有限公司 A kind of synchronization processing method, system and device
CN101931707A (en) * 2010-09-27 2010-12-29 北京开心人信息技术有限公司 Method and device for searching for contact persons in real-time interaction of mobile communication equipment
CN102970362A (en) * 2012-11-15 2013-03-13 北京小米科技有限责任公司 Method and device for sharing cloud data
CN103024039A (en) * 2012-12-13 2013-04-03 东莞宇龙通信科技有限公司 Data synchronization method and system
CN103647697A (en) * 2013-11-28 2014-03-19 宇龙计算机通信科技(深圳)有限公司 A mail receiving method of a mobile terminal and a cloud-end server
CN104540004A (en) * 2015-01-27 2015-04-22 深圳市中兴移动通信有限公司 Video screenshot method and video screenshot device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847361A (en) * 2016-03-25 2016-08-10 努比亚技术有限公司 Contact person information management method, server and terminal
WO2024051718A1 (en) * 2022-09-09 2024-03-14 华为技术有限公司 Data synchronization method, and related apparatus and system

Similar Documents

Publication Publication Date Title
CN106790676B (en) Method and device for realizing subscription notification
CN108881354B (en) Push information storage method and device, server and computer storage medium
CN108287751B (en) Task execution method and device and distributed system
CN106453657A (en) Status information update method and device of smart home equipment
CN109361525B (en) Method, device, control terminal and medium for restarting distributed deployment of multiple services
CN102708192B (en) A kind of method and system of document sharing, equipment
CN103812900A (en) Data synchronization method, device and system
CN105282682B (en) Method for realizing resource attribute notification and public service entity
CN103763181A (en) Automatic attribute setting device and method
CN105187472A (en) Data synchronization method and data synchronization device
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN105335313A (en) Basic data transmission method and apparatus
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN113966603B (en) Method for sharing server, client and cloud platform
CN111008209B (en) Data reconciliation method, device and system, storage medium and electronic device
CN108134811A (en) The methods, devices and systems that file destination is distributed or downloaded
US11700189B2 (en) Method for performing task processing on common service entity, common service entity, apparatus and medium for task processing
CN108811085A (en) A kind of paging method and device
EP3174322A1 (en) Method for deleting notification resource, and common service entity
CN113966602A (en) Distributed storage of blocks in a blockchain
CN107563942B (en) Logistics data batch processing method, logistics processing system and processing device
CN110134547B (en) Middleware-based repeated data deleting method and related device
CN104869532B (en) Group member management method and device
CN110661697B (en) Message synchronization method, device, readable storage medium, electronic device and system
CN114007276A (en) Network access processing method, device, equipment and system of ZigBee network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151223