CN106357767A - Information synchronization method and server - Google Patents

Information synchronization method and server Download PDF

Info

Publication number
CN106357767A
CN106357767A CN201610828314.XA CN201610828314A CN106357767A CN 106357767 A CN106357767 A CN 106357767A CN 201610828314 A CN201610828314 A CN 201610828314A CN 106357767 A CN106357767 A CN 106357767A
Authority
CN
China
Prior art keywords
synchronization
data
communication data
historical communication
type
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
CN201610828314.XA
Other languages
Chinese (zh)
Other versions
CN106357767B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610828314.XA priority Critical patent/CN106357767B/en
Publication of CN106357767A publication Critical patent/CN106357767A/en
Application granted granted Critical
Publication of CN106357767B publication Critical patent/CN106357767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an information synchronization method and a server. The method include steps of receiving an information synchronous request sent by a terminal, wherein the information synchronous request includes current running account and time section of the terminal; obtaining history communication data matched with the account in the time section; confirming type of the history communication data; traversing the synchronous mode list so as to obtain the synchronous mode with matched type; synchronizing the history communication data according to the synchronous mode. From this, the synchronous mode matched with the type of current data to be synchronized can be determined through the technical scheme provided by the invention, so as to prevent excessively consuming the movement flow of users, thus the user experience is improved.

Description

A kind of method of synchronizing information and server
Technical field
The present invention relates to field of terminal is and in particular to a kind of method of synchronizing information and server.
Background technology
With the development of communication technology, due to network instant communication instrument (for example: qq, wechat etc.) convenience so that Network instant communication instrument is increasingly favored by people.
It is understood that user may be using the different a certain network instant communications of terminal logs in different regions The same account of instrument, but when being communicated by account, the record of communication can be saved on present terminal.For this Scape, existing network instant communication instrument can realize the function of chat record roaming, and that is, user passes through network instant communication work The information of tool transmitting-receiving can store for a period of time (such as seven days) on the webserver, and during this period of time, user can be Logging in network JICQ on any machine, checks the chat message that server is its storage.
However, when user needs synchronous data very big and if user does not know when being now mobile data network, It is easy for a lot of extra charge of cause the user, thus reducing Consumer's Experience.
Content of the invention
Embodiments provide method and the server of synchronizing information, can determine the class with currently data to be synchronized The method of synchronization that type matches, to prevent from consuming excessively the mobile flow of user, thus pointed out the experience of user.
Embodiment of the present invention first aspect discloses a kind of method of synchronizing information, and methods described includes:
The synchronizing information request that receiving terminal sends, described information synchronization request includes the current account run of described terminal Number and the time period;
Obtain the historical communication data matching in the described time period with described account;
Determine the type of described historical communication data;
Traversal method of synchronization list is to obtain with described type to the method for synchronization mated;
According to the described method of synchronization, described historical communication data is synchronized.
Second aspect present invention discloses a kind of server, and described server includes:
Receiving unit, the synchronizing information request sending for receiving terminal, described information synchronization request includes described end The current account run in end and time period;
Acquiring unit, for obtaining the historical communication data matching in the described time period with described account;
Determining unit, for determining the type of described historical communication data;
Described acquiring unit, is additionally operable to travel through method of synchronization list to obtain with described type to the method for synchronization mated;
Lock unit, for synchronizing to described historical communication data according to the described method of synchronization.
Third aspect present invention discloses a kind of server, and described terminal includes:
Be stored with the memorizer of executable program code;
The processor coupling with described memorizer;
Described processor calls in described memorizer the described executable program code of storage, execution such as first aspect to the The 4th kind of method described in possible implementation of one side.
As can be seen that in the scheme of the embodiment of the present invention, the synchronizing information request that receiving terminal sends, described information is synchronous Request includes the current account run of described terminal and time period;Obtain in the described time period with going through that described account matches History communication data;Determine the type of described historical communication data;Traversal method of synchronization list is to obtain with described type to mating The method of synchronization;According to the described method of synchronization, described historical communication data is synchronized.It is hereby understood that by implementing the present invention The technical scheme providing, can determine the method for synchronization with the currently type matching of data to be synchronized, to prevent from consuming excessively The mobile flow of user, thus pointed out the experience of user.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1-a is a kind of schematic flow sheet of the method for synchronizing information provided in an embodiment of the present invention;
Fig. 1-b is a kind of network architecture schematic diagram of information synchronization system provided in an embodiment of the present invention;
Fig. 1-c is that a kind of mobile flow provided in an embodiment of the present invention sends information mode schematic diagram;
Fig. 2 is the schematic flow sheet of the method for another kind synchronizing information provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of server provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another kind server provided in an embodiment of the present invention;
Fig. 5 is a kind of entity apparatus structural representation of server provided in an embodiment of the present invention;
Fig. 6 is the entity apparatus structural representation of terminal correlation mobile phone provided in an embodiment of the present invention.
Specific embodiment
Embodiments provide a kind of method of synchronizing information and server, can determine and currently data to be synchronized Type matching the method for synchronization, to prevent from consuming excessively the mobile flow of user, thus having pointed out the experience of user.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is explicitly described to the technical scheme in the embodiment of the present invention it is clear that described embodiment is the present invention one The embodiment divided, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing The every other embodiment being obtained under the premise of going out creative work, all should belong to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " occurring in description of the invention, claims and accompanying drawing etc. is to use In the different objects of difference, and it is not intended to describe specific order.Additionally, term " comprising " and " having " and they are any Deformation is it is intended that cover non-exclusive comprising.For example contain the process of series of steps or unit, method, system, product Or equipment is not limited to step or the unit listed, but alternatively also include step or the unit do not listed, or can Selection of land is also included for these processes, method, product or the intrinsic other steps of equipment or unit.
Disclose a kind of method of synchronizing information in one embodiment of the invention, methods described includes: receiving terminal The synchronizing information request sending, described information synchronization request includes the current account run of described terminal and time period;Obtain The historical communication data matching with described account in the described time period;Determine the type of described historical communication data;Traversal is same Step mode list is to obtain with described type to the method for synchronization mated;According to the described method of synchronization to described historical communication data Synchronize.
Refer to Fig. 1-a, Fig. 1-a is a kind of method of synchronizing information that one embodiment of the invention provides.Wherein, as schemed Shown in 1-a, a kind of method of synchronizing information that one embodiment of the present of invention provides includes herein below:
The synchronizing information request that s101, receiving terminal send, described information synchronization request includes described terminal and currently transports The account of row and time period;
Wherein it is desired to it is noted that the main body of the method execution is the electronic equipments such as server.
As shown in Fig. 1-b, server and terminal can carry out information exchange by base station.
Wherein, this account is the account of a certain JICQ, and common immediate communication tool includes qq, wechat etc..
Wherein, this time period can be the time period of the historical communication record needing to obtain.Such as current date is 2016.5.5, then the historical communication record of this time period of 2016.5.1 to 2016.5.5 can be obtained.
S102, the historical communication data matching with described account in the acquisition described time period;
Wherein it is desired to it is noted that the historical communication data of server storage is provided with effect duration, can first judge described Whether the time period was located in effect duration, matched with described account if located in effect duration, then going inquiry in data base Historical communication data.
Specifically, can go to inquire about data base to obtain the data matching with described account according to described account;
The historical communication data in the described time period is being obtained from the data matching with described account.
S103, determine the type of described historical communication data;
Wherein, common type includes the types such as picture, word, audio frequency, video.
S104, traversal method of synchronization list are to obtain with described type to the method for synchronization mated;
Wherein it is desired to it is noted that in the method for synchronization list of described traversal to obtain with described type to the synchronization mated Before mode, methods described also includes: obtains the current network connecting mode of described terminal;Determined according to described current network connecting mode The method of synchronization of each type data;Described method of synchronization list is generated according to the mode of described each type data.
It is understood that common network connecting mode includes, by mobile flow networking, connecting by Wireless Fidelity (wi-fi) Net etc..
For example, if described current network connecting mode is by mobile flow networking it is determined that the data of video type The method of synchronization be: intercept preset duration video transmitted.Thus reducing the consumption of the mobile flow of user.
As shown in fig 1-c, mobile flow is corresponding is: word normally sends, and picture compression sends, audio frequency, video intercepting Preset length is transmitted;Wireless Fidelity is corresponding to be: word, picture, audio frequency and video all normally send.
S105, according to the described method of synchronization, described historical communication data is synchronized.
Wherein it is possible to be understood by, have a lot if necessary to synchronous historical communication data, then can be by historical communication Data carries out segmentation transmission.
For example, historical communication data is divided into three sections by us, first first paragraph is synchronized to terminal, if the user thinks that Synchronous part does not have the data that he wants, then he can continue to click on the button of query history record, then just permissible Synchronous second segment content is to terminal.If after synchronous first paragraph, confiscating and continue synchronous instruction, then just explanation first paragraph Data has comprised the information that user wants, therefore without resynchronisation second segment and the 3rd section.By the method for this segmentation, Meet user demand while, flow consumption can be reduced again.
Segmented mode specifically includes: terminal can determine the size of described historical communication data;If described historical communication number According to size be more than predetermined threshold value, described historical communication data carries out segmentation by the sequencing according to the time, wherein with currently Time closest historical communication data is the first segment data;According to the described method of synchronization, described first segment data is carried out same Step.
If after synchronizing described first segment data according to the described method of synchronization, also receive described terminal and send out again The synchronizing information request sent, then will go out data outside the first segment data according to the described method of synchronization in described historical communication data It is transmitted.
It is pointed out that described predetermined threshold value is the connected mode determination according to terminal.Wherein, mobile flow determines Predetermined threshold value be less than wi-fi determine predetermined threshold value.For example, the predetermined threshold value that mobile flow determines is 1m, then wi-fi is true Fixed threshold value can be 2m, 5m even 10m, and here is not limited.
As can be seen that in the scheme of the embodiment of the present invention, the synchronizing information request that receiving terminal sends, described information is synchronous Request includes the current account run of described terminal and time period;Obtain in the described time period with going through that described account matches History communication data;Determine the type of described historical communication data;Traversal method of synchronization list is to obtain with described type to mating The method of synchronization;According to the described method of synchronization, described historical communication data is synchronized.It is hereby understood that by implementing the present invention The technical scheme providing, can determine the method for synchronization with the currently type matching of data to be synchronized, to prevent from consuming excessively The mobile flow of user, thus pointed out the experience of user.
Refer to Fig. 2, Fig. 2 is a kind of method of synchronizing information that one embodiment of the invention provides.Wherein, as Fig. 2 institute Show, a kind of method of synchronizing information that one embodiment of the present of invention provides includes herein below:
The synchronizing information request that s201, receiving terminal send, described information synchronization request includes described terminal and currently transports The account of row and time period;
Wherein it is desired to it is noted that the main body of the method execution is server.
Wherein, this account is the account of a certain JICQ, and common immediate communication tool includes qq, wechat etc..
Wherein, this time period can be the time period of the historical communication record needing to obtain.Such as current date is 2016.5.5, then the historical communication record of this time period of 2016.5.1 to 2016.5.5 can be obtained.
S202, the historical communication data matching with described account in the acquisition described time period;
Wherein it is desired to it is noted that the historical communication data of server storage is provided with effect duration, can first judge described Whether the time period was located in effect duration, matched with described account if located in effect duration, then going inquiry in data base Historical communication data.
S203, determine the type of described historical communication data;
Wherein, common type includes the types such as picture, word, audio frequency, video.
The current network connecting mode of s204, the described terminal of acquisition, and each type is determined according to described current network connecting mode The method of synchronization of data;
For example, if described current network connecting mode is by mobile flow networking it is determined that the data of video type The method of synchronization be: intercept preset duration video transmitted.
For example, if described current network connecting mode be networked by wi-fi it is determined that word, picture, audio frequency and video by It is transmitted according to normal mode.
S205, described method of synchronization list is generated according to the mode of described each type data;
S206, the described method of synchronization list of traversal are to obtain with described type to the method for synchronization mated;
S207, determine the size of described historical communication data;
If the size of s208 described historical communication data is more than predetermined threshold value, the sequencing according to the time is gone through described History communication data carries out segmentation, and wherein closest with current time historical communication data is the first segment data;
It is pointed out that described predetermined threshold value is the connected mode determination according to terminal.Wherein, mobile flow determines Predetermined threshold value be less than wi-fi determine predetermined threshold value.For example, the predetermined threshold value that mobile flow determines is 1m, then wi-fi is true Fixed threshold value can be 2m, 5m even 10m, and here is not limited.
S209, according to the described method of synchronization, described first segment data is synchronized;
If s210 receives the synchronizing information request that described terminal sends again, will go out in described historical communication data Data outside first segment data is transmitted according to the described method of synchronization.
As can be seen that in the scheme of the embodiment of the present invention, extending the step that segmentation sends, by this step, Neng Gou While meeting user's use, reduce the consumption of flow.
Refer to Fig. 3, Fig. 3 is a kind of structural representation of server that one embodiment of the present of invention provides.Wherein, such as Shown in Fig. 3, a kind of server 300 that one embodiment of the present of invention provides, wherein, this server 300 includes receiving unit 301st, acquiring unit 302, determining unit 303 and lock unit 304.
Receiving unit 301, the synchronizing information request sending for receiving terminal, described information synchronization request includes described The current account run of terminal and time period;
Wherein, this account is the account of a certain JICQ, and common immediate communication tool includes qq, wechat etc..
Wherein, this time period can be the time period of the historical communication record needing to obtain.Such as current date is 2016.5.5, then the historical communication record of this time period of 2016.5.1 to 2016.5.5 can be obtained.
Acquiring unit 302, for obtaining the historical communication data matching in the described time period with described account;
Wherein it is desired to it is noted that the historical communication data of server storage is provided with effect duration, can first judge described Whether the time period was located in effect duration, matched with described account if located in effect duration, then going inquiry in data base Historical communication data.
Specifically, can go to inquire about data base to obtain the data matching with described account according to described account;
The historical communication data in the described time period is being obtained from the data matching with described account.
Determining unit 303, for determining the type of described historical communication data;
Wherein, common type includes the types such as picture, word, audio frequency, video.
Acquiring unit 302, is additionally operable to travel through method of synchronization list to obtain with described type to the method for synchronization mated;
Wherein it is desired to it is noted that in the method for synchronization list of described traversal to obtain with described type to the synchronization mated Before mode, methods described also includes: obtains the current network connecting mode of described terminal;Determined according to described current network connecting mode The method of synchronization of each type data;Described method of synchronization list is generated according to the mode of described each type data.
It is understood that common network connecting mode includes, by mobile flow networking, connecting by Wireless Fidelity (wi-fi) Net etc..
For example, if described current network connecting mode is by mobile flow networking it is determined that the data of video type The method of synchronization be: intercept preset duration video transmitted.Thus reducing the consumption of the mobile flow of user.
For example, mobile flow is corresponding is: word normally sends, and picture compression sends, and audio frequency, video intercepting are preset Length is transmitted;Wireless Fidelity is corresponding to be: word, picture, audio frequency and video all normally send.
Lock unit 304, for synchronizing to described historical communication data according to the described method of synchronization.
Wherein it is possible to be understood by, have a lot if necessary to synchronous historical communication data, then can be by historical communication Data carries out segmentation transmission.
For example, historical communication data is divided into three sections by us, first first paragraph is synchronized to terminal, if the user thinks that Synchronous part does not have the data that he wants, then he can continue to click on the button of query history record, then just permissible Synchronous second segment content is to terminal.If after synchronous first paragraph, confiscating and continue synchronous instruction, then just explanation first paragraph Data has comprised the information that user wants, therefore without resynchronisation second segment and the 3rd section.By the method for this segmentation, Meet user demand while, flow consumption can be reduced again.
Wherein, receiving unit 301, acquiring unit 302, determining unit 303 and lock unit 304 can be used for executing reality Apply the method described in step s101 to s105 in example 1, specifically describe the description to methods described for the detailed in Example 1, here is no longer Repeat.
Refer to Fig. 4, Fig. 4 is a kind of structural representation of server that one embodiment of the present of invention provides.Wherein, such as Shown in Fig. 4, another kind of server 400 that one embodiment of the present of invention provides, wherein, this server 400 includes receiving unit 401st, acquiring unit 402, determining unit 403, lock unit 404, signal generating unit 405.
Receiving unit 401, the synchronizing information request sending for receiving terminal, described information synchronization request includes described The current account run of terminal and time period;
Acquiring unit 402, for obtaining the historical communication data matching in the described time period with described account;
Determining unit 403, for determining the type of described historical communication data;
Acquiring unit 402, is additionally operable to obtain the current network connecting mode of described terminal;
Determining unit 403, is additionally operable to determine the method for synchronization of each type data according to described current network connecting mode;
For example, determining unit 403, if being to be networked by mobile flow for described current network connecting mode, really The method of synchronization determining the data of video type is: the video intercepting preset duration is transmitted.
Signal generating unit 405, for generating described method of synchronization list according to the mode of described each type data.
Acquiring unit 402, is additionally operable to travel through method of synchronization list to obtain with described type to the method for synchronization mated;
Lock unit 404, for synchronizing to described historical communication data according to the described method of synchronization.
Wherein, lock unit 404 includes determination subelement, segmentation subelement and synchronous subelement;
Determination subelement, for determining the size of described historical communication data;
Segmentation subelement, if the size for described historical communication data is more than predetermined threshold value, the priority according to the time is suitable Described historical communication data is carried out segmentation by sequence, and wherein, the historical communication data closest with current time is the first hop count According to;
Described synchronous subelement, for synchronizing described first segment data according to the described method of synchronization.
Optionally, lock unit 404, if being additionally operable to receive the synchronizing information request that described terminal sends again, will Go out the data outside the first segment data in described historical communication data to be transmitted according to the described method of synchronization.
Wherein, receiving unit 401, acquiring unit 402, determining unit 403, lock unit 404, signal generating unit 405 are permissible For executing the method described in step s201 to s210 in embodiment 2, specifically describe detailed in Example 2 and methods described is retouched State, will not be described here.
Refer to Fig. 5, in another embodiment of the present invention, provide a kind of terminal.Described terminal 500 includes Cpu501, memorizer 502, bus 503.Wherein, this terminal 500 can be smart mobile phone, panel computer, Intelligent worn device etc. There is the electronic equipment of call function.
Wherein, cpu501 execution is stored in advance in the program in memorizer 502, and this implementation procedure specifically includes:
The synchronizing information request that receiving terminal sends, described information synchronization request includes the current account run of described terminal Number and the time period;
Obtain the historical communication data matching in the described time period with described account;
Determine the type of described historical communication data;
Traversal method of synchronization list is to obtain with described type to the method for synchronization mated;
According to the described method of synchronization, described historical communication data is synchronized.
Optionally, the method for synchronization list of described traversal is to obtain with described type to before the method for synchronization mated, described Implementation procedure also includes:
Obtain the current network connecting mode of described terminal;
Determine the method for synchronization of each type data according to described current network connecting mode;
Described method of synchronization list is generated according to the mode of described each type data.
Optionally, the described method of synchronization determining each type data according to described current network connecting mode, comprising:
If described current network connecting mode is by mobile flow networking it is determined that the method for synchronization of the data of video type For: the video intercepting preset duration is transmitted.
Optionally, described according to the described method of synchronization, described historical communication data is synchronized, comprising:
Determine the size of described historical communication data;
If the size of described historical communication data is more than predetermined threshold value, according to the time sequencing by described historical communication Data carries out segmentation, and wherein closest with current time historical communication data is the first segment data;
According to the described method of synchronization, described first segment data is synchronized.
Optionally, described according to the described method of synchronization, described first segment data is synchronized after, methods described is also wrapped Include:
If receiving the synchronizing information request that described terminal sends again, first paragraph will be gone out in described historical communication data Data outside data is transmitted according to the described method of synchronization.
As can be seen that in the scheme of the embodiment of the present invention, the synchronizing information request that receiving terminal sends, described information is synchronous Request includes the current account run of described terminal and time period;Obtain in the described time period with going through that described account matches History communication data;Determine the type of described historical communication data;Traversal method of synchronization list is to obtain with described type to mating The method of synchronization;According to the described method of synchronization, described historical communication data is synchronized.It is hereby understood that by implementing the present invention The technical scheme providing, can determine the method for synchronization with the currently type matching of data to be synchronized, to prevent from consuming excessively The mobile flow of user, thus pointed out the experience of user.
Refer to Fig. 6, Fig. 6 is the block diagram of the related part-structure of mobile phone of terminal provided in an embodiment of the present invention.Reference Fig. 6, mobile phone includes: radio frequency (radio frequency, rf) circuit 610, memorizer 620, input block 630, display unit 640th, sensor 650, voicefrequency circuit 660, Wireless Fidelity (wireless fidelity, wifi) module 670, processor 680, And the part such as power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 is not constituted to mobile phone Limit, ratio can be included and illustrate more or less of part, or combine some parts, or different part arrangements.
With reference to Fig. 6, each component parts of mobile phone are specifically introduced:
Rf circuit 610 can be used for reception and the transmission of information.Generally, rf circuit 610 include but is not limited to antenna, at least one Individual amplifier, transceiver, bonder, low-noise amplifier (low noise amplifier, lna), duplexer etc..Additionally, Rf circuit 610 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use arbitrary communication Standard or agreement, including but not limited to global system for mobile communications (global system of mobile Communication, gsm), general packet radio service (general packet radio service, gprs), code division many Location (code division multiple access, cdma), WCDMA (wideband code division Multiple access, wcdma), Long Term Evolution (long term evolution, lte), Email, Short Message Service (short messaging service, sms) etc..
Memorizer 620 can be used for storing software program and module, and processor 680 is stored in memorizer 620 by operation Software program and module, thus executing various function application and the data processing of mobile phone.Memorizer 620 can mainly include Storing program area and storage data field, wherein, storing program area can application journey needed for storage program area, at least one function Sequence (such as synchronizing information function, touch control operation detection function etc.) etc.;Storage data field can store according to mobile phone using being created Data (such as move flow and send information mode data, method of synchronization table data etc.) built etc..Additionally, memorizer 620 can To include high-speed random access memory, nonvolatile memory, for example, at least one disk memory, sudden strain of a muscle can also be included Memory device or other volatile solid-state parts.
Input block 630 can be used for numeral or the character information of receives input, and produce with the user setup of mobile phone with And the key signals input that function control is relevant.Specifically, input block 630 may include fingerprint module 631 and other inputs set Standby 632.Fingerprint module 631, can gather user's finger print data thereon.Optionally, fingerprint module 631 may include optical profile type and refers to Stricture of vagina module, capacitance type fingerprint module and RF-type fingerprint module.It is tool as a example capacitance type fingerprint module by fingerprint module 631 Body includes induction electrode (n1 abnormal induction electrode and n2 normal induction electrode) and the signal being connected with described induction electrode Process circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.).Except fingerprint module 631, input block 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but is not limited to physical keyboard, One or more of function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 640 can be used for display and by the information of user input or is supplied to the information of user and the various of mobile phone Menu.Display unit 640 may include display screen 641, optionally, can adopt liquid crystal display (liquid crystal Display, lcd), the form such as Organic Light Emitting Diode (organic light-emitting diode, oled) aobvious to configure Display screen 641.Although in figure 6, fingerprint module 631 and display screen 641 are to realize the defeated of mobile phone as two independent parts Enter and input function, but in some embodiments it is possible to will be integrated with display screen 641 for fingerprint module 631 and realize mobile phone Input and output function.
Mobile phone may also include at least one sensor 650, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light The brightness to adjust display screen 641 for the light and shade, proximity transducer can when mobile phone moves in one's ear, close display screen 641 and/or Backlight.As one kind of motion sensor, accelerometer sensor can detect the big of (generally three axles) acceleration in all directions Little, can detect that size and the direction of gravity when static, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as mobile phone The other sensors such as gyroscope, barometer, drimeter, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 660, speaker 661, microphone 662 can provide the audio interface between user and mobile phone.Audio-frequency electric The signal of telecommunication after the voice data receiving conversion can be transferred to speaker 661, is converted to sound by speaker 661 by road 660 Signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 662, turns after being received by voicefrequency circuit 660 It is changed to voice data, then after voice data output processor 680 is processed, through rf circuit 610 to be sent to such as another mobile phone, Or voice data is exported to memorizer 620 to process further.
Wifi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by wifi module 670 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows Wifi module 670, but it is understood that, it is simultaneously not belonging to must be configured into of mobile phone, can not change as needed completely Omit in the scope of the essence becoming invention.
Processor 680 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, leads to Cross and run or software program and/or module that execution is stored in memorizer 620, and call and be stored in memorizer 620 Data, the various functions of execution mobile phone and processing data, thus carry out integral monitoring to mobile phone.Optionally, processor 680 can wrap Include one or more processing units;Preferably, processor 680 can integrated application processor and modem processor, wherein, should Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Mobile phone also includes the power supply 690 (such as battery) powered to all parts it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 680, thus realizing management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., will not be described here.
In embodiment shown in aforementioned Fig. 1, Fig. 2, each step method flow process can the structure based on this mobile phone be realized.
In embodiment shown in aforementioned Fig. 3, Fig. 4, each unit function can the structure based on this mobile phone be realized.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
It should be understood that disclosed device in several embodiments provided herein, can be by another way Realize.For example, device embodiment described above is only the schematically division of for example described unit, is only one kind Division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or can To be integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed each other Coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication connection, It can be electrical or other form.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part in other words prior art being contributed or all or part of this technical scheme can be in the form of software products Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server or network equipment etc.) execution each embodiment methods described of the present invention whole or Part steps.And aforesaid storage medium includes: u disk, read only memory (rom, read-only memory), random access memory are deposited Reservoir (ram, random access memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to wherein some technical characteristics;And these Modification or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (11)

1. a kind of method of synchronizing information is it is characterised in that methods described includes:
The synchronizing information request that receiving terminal sends, described information synchronization request include the current account run of described terminal and Time period;
Obtain the historical communication data matching in the described time period with described account;
Determine the type of described historical communication data;
Traversal method of synchronization list is to obtain with described type to the method for synchronization mated;
According to the described method of synchronization, described historical communication data is synchronized.
2. method according to claim 1 is it is characterised in that described traversal method of synchronization list is to obtain and described type To before the method for synchronization of coupling, methods described also includes:
Obtain the current network connecting mode of described terminal;
Determine the method for synchronization of each type data according to described current network connecting mode;
Described method of synchronization list is generated according to the mode of described each type data.
3. method according to claim 2 is it is characterised in that described determine every species according to described current network connecting mode The method of synchronization of type data, comprising:
If described current network connecting mode is by mobile flow networking it is determined that the method for synchronization of the data of video type is: The video intercepting preset duration is transmitted.
4. method according to claim 3 it is characterised in that described according to the described method of synchronization to described historical communication number According to synchronizing, comprising:
Determine the size of described historical communication data;
If the size of described historical communication data is more than predetermined threshold value, according to the time sequencing by described historical communication data Carry out segmentation, wherein closest with current time historical communication data is the first segment data;
According to the described method of synchronization, described first segment data is synchronized.
5. method according to claim 4 it is characterised in that described according to the described method of synchronization by described first segment data After synchronizing, methods described also includes:
If receiving the synchronizing information request that described terminal sends again, the first segment data will be gone out in described historical communication data Outside data be transmitted according to the described method of synchronization.
6. a kind of server is it is characterised in that described server includes:
Receiving unit, the synchronizing information request sending for receiving terminal, described information synchronization request includes described terminal and works as The account of front operation and time period;
Acquiring unit, for obtaining the historical communication data matching in the described time period with described account;
Determining unit, for determining the type of described historical communication data;
Described acquiring unit, is additionally operable to travel through method of synchronization list to obtain with described type to the method for synchronization mated;
Lock unit, for synchronizing to described historical communication data according to the described method of synchronization.
7. server according to claim 6 is it is characterised in that described terminal also includes signal generating unit;
Described acquiring unit, is additionally operable to obtain the current network connecting mode of described terminal;
Described determining unit, is additionally operable to determine the method for synchronization of each type data according to described current network connecting mode;
Described signal generating unit, for generating described method of synchronization list according to the mode of described each type data.
8. server according to claim 7 it is characterised in that
Described determining unit, if be by mobile flow networking specifically for described current network connecting mode it is determined that video class The method of synchronization of the data of type is: the video intercepting preset duration is transmitted.
9. server according to claim 8 is it is characterised in that described lock unit includes determination subelement, segmentation Unit and synchronous subelement;
Determination subelement, for determining the size of described historical communication data;
Segmentation subelement, if the size for described historical communication data is more than predetermined threshold value, the sequencing according to the time will Described historical communication data carries out segmentation, and wherein, the historical communication data closest with current time is the first segment data;
Described synchronous subelement, for synchronizing described first segment data according to the described method of synchronization.
10. server according to claim 9 it is characterised in that
Described lock unit, if being additionally operable to receive the synchronizing information request that described terminal sends again, described history is led to Go out the data outside the first segment data in letter data to be transmitted according to the described method of synchronization.
A kind of 11. servers are it is characterised in that include:
Be stored with the memorizer of executable program code;
The processor coupling with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, and execution such as claim 1 is to right Require the method described in 5 any one.
CN201610828314.XA 2016-09-14 2016-09-14 The method and server of a kind of synchronizing information Active CN106357767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610828314.XA CN106357767B (en) 2016-09-14 2016-09-14 The method and server of a kind of synchronizing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610828314.XA CN106357767B (en) 2016-09-14 2016-09-14 The method and server of a kind of synchronizing information

Publications (2)

Publication Number Publication Date
CN106357767A true CN106357767A (en) 2017-01-25
CN106357767B CN106357767B (en) 2018-01-23

Family

ID=57858637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610828314.XA Active CN106357767B (en) 2016-09-14 2016-09-14 The method and server of a kind of synchronizing information

Country Status (1)

Country Link
CN (1) CN106357767B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915550A (en) * 2022-05-30 2022-08-16 深圳市政元软件有限公司 Mobile internet big data storage configuration method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459503A (en) * 2007-12-12 2009-06-17 华为技术有限公司 Method and device for implementing data synchronization
US20120005161A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Reducing an amount of data transfer in data synchronization
CN103327037A (en) * 2012-03-20 2013-09-25 中兴通讯股份有限公司 Data synchronizing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459503A (en) * 2007-12-12 2009-06-17 华为技术有限公司 Method and device for implementing data synchronization
US20120005161A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Reducing an amount of data transfer in data synchronization
CN103327037A (en) * 2012-03-20 2013-09-25 中兴通讯股份有限公司 Data synchronizing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915550A (en) * 2022-05-30 2022-08-16 深圳市政元软件有限公司 Mobile internet big data storage configuration method and system

Also Published As

Publication number Publication date
CN106357767B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN105005909A (en) Method and device for predicting lost users
CN103596017B (en) Video downloading method and system
CN104735671A (en) Malicious call recognition method and device
CN103414766A (en) Method, device and terminal equipment for installing application
CN105119806A (en) Message updating method and device
CN106412033A (en) Data migration method and terminal
CN104093123A (en) Application program information pushing method, device and system and mobile terminal
CN106200970A (en) A kind of method of split screen display available and terminal
CN106446111A (en) Data migration method and terminal
CN104954159A (en) Network information statistics method and device
CN103684807A (en) Method, device, terminal device and server for identifying group member information
CN106293738A (en) The update method of a kind of facial expression image and device
CN103561155B (en) Send the method for note, device and terminal
CN106453571A (en) Data migration method and terminal
CN104869550A (en) Communication event processing method and device
CN104901992A (en) Resource transfer method and device
CN103677944A (en) Method and device for manufacturing screen locking interface and terminal device
CN106502827A (en) A kind of data back up method and equipment
CN103501373A (en) Method, device and terminal for making call
CN104918130A (en) Methods for transmitting and playing multimedia information, devices and system
CN106487878A (en) A kind of method of Data Migration and terminal
CN106657214A (en) Data migration method and terminal
CN106357767B (en) The method and server of a kind of synchronizing information
CN106330684B (en) A kind of method and terminal of synchronizing information
CN104852944A (en) Display method and device of login interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder