CN106357767B - The method and server of a kind of synchronizing information - Google Patents

The method and server of a kind of synchronizing information Download PDF

Info

Publication number
CN106357767B
CN106357767B CN201610828314.XA CN201610828314A CN106357767B CN 106357767 B CN106357767 B CN 106357767B CN 201610828314 A CN201610828314 A CN 201610828314A CN 106357767 B CN106357767 B CN 106357767B
Authority
CN
China
Prior art keywords
synchronization
data
historical communication
communication data
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.)
Active
Application number
CN201610828314.XA
Other languages
Chinese (zh)
Other versions
CN106357767A (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 a kind of method of synchronizing information and server.Methods described includes:The synchronizing information request that receiving terminal is sent, described information synchronization request include account and the period that the terminal is currently run;Obtain the historical communication data to match in the period with the account;Determine the type of the historical communication data;Method of synchronization list is traveled through to obtain the method for synchronization with the type matching;The historical communication data are synchronized according to the method for synchronization.It is hereby understood that by implementing technical scheme provided by the invention, the method for synchronization with the type matching of current data to be synchronized is can determine, to prevent from consuming excessively the mobile flow of user, so as to improve the experience of user.

Description

The method and server of a kind of synchronizing information
Technical field
The present invention relates to field of terminal, and in particular to the method and server of a kind of synchronizing information.
Background technology
With the development of the communication technology, due to network instant communication instrument (such as:QQ, wechat etc.) convenience so that Network instant communication instrument is increasingly favored by people.
It is understood that user may use different terminals to log in a certain network instant communication in different regions The same account of instrument, but when being communicated by account, the record of communication can be stored on present terminal.For this Scape, existing network instant communication instrument can realize the function of chat record roaming, i.e. 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, check the chat message that server is its storage.
However, when user need synchronous data very big and if user do not know be now mobile data network when, It is easy for causing many extra charges to user, so as to reduce Consumer's Experience.
The content of the invention
The embodiments of the invention provide the method for synchronizing information and server, can determine the class with current data to be synchronized The method of synchronization that type matches, to prevent from consuming excessively the mobile flow of user, so as to improve the experience of user.
First aspect of the embodiment of the present invention discloses a kind of method of synchronizing information, and methods described includes:
The synchronizing information request that receiving terminal is sent, described information synchronization request include the account that the terminal is currently run Number and the period;
Obtain the historical communication data to match in the period with the account;
Determine the type of the historical communication data;
Method of synchronization list is traveled through to obtain the method for synchronization with the type matching;
The historical communication data are synchronized according to the method for synchronization.
Second aspect of the present invention discloses a kind of server, and the server includes:
Receiving unit, the synchronizing information request sent for receiving terminal, described information synchronization request include the end Hold the account currently run and period;
Acquiring unit, for obtaining the historical communication data to match in the period with the account;
Determining unit, for determining the type of the historical communication data;
The acquiring unit, it is additionally operable to travel through method of synchronization list to obtain the method for synchronization with the type matching;
Synchronization unit, for being synchronized according to the method for synchronization to the historical communication data.
Third aspect present invention discloses a kind of server, and the terminal includes:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as first aspect to the Method described in 4th kind of possible implementation of one side.
As can be seen that in the scheme of the embodiment of the present invention, the synchronizing information that receiving terminal is sent is asked, and described information is synchronous Request includes account and the period that the terminal is currently run;Obtain and gone through in the period with what the account matched History communication data;Determine the type of the historical communication data;Method of synchronization list is traveled through to obtain and the type matching The method of synchronization;The historical communication data are synchronized according to the method for synchronization.It is hereby understood that by implementing the present invention The technical scheme of offer, the method for synchronization with the type matching of current data to be synchronized is can determine, to prevent from consuming excessively The mobile flow of user, so as to improve the experience of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is 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 are a kind of schematic flow sheet of the method for synchronizing information provided in an embodiment of the present invention;
Fig. 1-b are a kind of network architecture schematic diagram of information synchronization system provided in an embodiment of the present invention;
Fig. 1-c send information mode schematic diagram for a kind of mobile flow provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another 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 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.
Embodiment
The embodiments of the invention provide a kind of method of synchronizing information and server, can determine and current data to be synchronized Type matching the method for synchronization, to prevent from consuming excessively the mobile flow of user, so as to improve 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, the technical scheme in the embodiment of the present invention is explicitly described, 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 Go out under the premise of creative work the every other embodiment obtained, should all belong to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " occurred in description of the invention, claims and accompanying drawing etc. is to use In the different object of difference, and it is not intended to describe specific order.In addition, term " comprising " and " having " and they are any Deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product Or equipment the step of being not limited to list or unit, but the step of alternatively also include not listing or unit, or can Selection of land is also included for the intrinsic other steps of these processes, method, product or equipment or unit.
A kind of method of synchronizing information is disclosed in one embodiment of the invention, and methods described includes:Receiving terminal The synchronizing information request of transmission, described information synchronization request include account and the period that the terminal is currently run;Obtain The historical communication data to match in the period with the account;Determine the type of the historical communication data;Traversal is same The list of step mode is to obtain the method for synchronization with the type matching;According to the method for synchronization to the historical communication data Synchronize.
Fig. 1-a are referred to, Fig. 1-a are a kind of methods for synchronizing information that one embodiment of the invention provides.Wherein, as schemed Shown in 1-a, a kind of method for synchronizing information that one embodiment of the present of invention provides includes herein below:
The synchronizing information request that S101, receiving terminal are sent, described information synchronization request include the terminal and currently transported Capable account and period;
, wherein it is desired to, it is noted that the main body that this method performs is the electronic equipments such as server.
As shown in Fig. 1-b, server can carry out information exchange with terminal by base station.
Wherein, the account is the account of a certain JICQ, and common immediate communication tool includes QQ, wechat etc..
Wherein, the period can be the period for needing the historical communication obtained to record.For example current date is 2016.5.5, then 2016.5.1 can be obtained to the historical communication record of the 2016.5.5 periods.
S102, obtain the historical communication data to match in the period with the account;
, wherein it is desired to, it is noted that the historical communication data of server storage are provided with the term of validity, can first judge described Whether the period matches in the term of validity, if located in that in the term of validity, then can go inquiry in database with the account Historical communication data.
Specifically, it can be gone to inquire about database according to the account to obtain the data to match with the account;
The historical communication data in the period are being obtained from the data to match with the account.
S103, the type for determining the historical communication data;
Wherein, common type includes the types such as picture, word, audio, video.
S104, method of synchronization list is traveled through to obtain the method for synchronization with the type matching;
It is, wherein it is desired to, it is noted that synchronous with the type matching to obtain in the traversal method of synchronization list Before mode, methods described also includes:Obtain the current network connecting mode of the terminal;Determined according to the current network connecting mode The method of synchronization of each type data;The method of synchronization list is generated according to the mode of each type data.
It is understood that common network connecting mode includes networking by mobile flow, by Wireless Fidelity (Wi-Fi) even Net etc..
For example, if the current network connecting mode is to be networked by mobile flow, it is determined that the data of video type The method of synchronization be:The video of interception preset duration is transmitted.So as to reduce the consumption of the mobile flow of user.
As shown in fig 1-c, it is corresponding to mobile flow:Word is normally sent, and picture compression is sent, audio, video intercepting Preset length is transmitted;It is corresponding to Wireless Fidelity:Word, picture, audio frequency and video are normally sent.
S105, according to the method for synchronization historical communication data are synchronized.
Wherein it is possible to understand, have much if necessary to synchronous historical communication data, then can be by historical communication Data carry out segmentation transmission.
For example, historical communication data are divided into three sections by us, and first paragraph first is synchronized into terminal, if the user thinks that The data that synchronous part is wanted without him, then he can continue to click on the button of query history record, then can Synchronous second segment content is to terminal.If after synchronous first paragraph, confiscate and continue synchronous instruction, then just explanation first paragraph The data information that included user wants, therefore without resynchronisation second segment and the 3rd section.By this segmentation method, While meeting the needs of user, flow consumption can be reduced again.
Segmented mode specifically includes:Terminal can determine the size of the historical communication data;If the historical communication number According to size be more than predetermined threshold value, the historical communication data are segmented according to the sequencing of time, wherein with currently Time closest historical communication data are the first segment data;First segment data is carried out together according to the method for synchronization Step.
After if first segment data is synchronized according to the method for synchronization, also receive the terminal and send out again The synchronizing information request sent, then by the data in the historical communication data in addition to the first segment data according to the method for synchronization It is transmitted.
It is pointed out that the predetermined threshold value is determined according to the connected mode of 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, not be limited herein.
As can be seen that in the scheme of the embodiment of the present invention, the synchronizing information that receiving terminal is sent is asked, and described information is synchronous Request includes account and the period that the terminal is currently run;Obtain and gone through in the period with what the account matched History communication data;Determine the type of the historical communication data;Method of synchronization list is traveled through to obtain and the type matching The method of synchronization;The historical communication data are synchronized according to the method for synchronization.It is hereby understood that by implementing the present invention The technical scheme of offer, the method for synchronization with the type matching of current data to be synchronized is can determine, to prevent from consuming excessively The mobile flow of user, so as to improve the experience of user.
Referring to Fig. 2, Fig. 2 is a kind of method for synchronizing information that one embodiment of the invention provides.Wherein, such as Fig. 2 institutes Show, a kind of method for synchronizing information that one embodiment of the present of invention provides includes herein below:
The synchronizing information request that S201, receiving terminal are sent, described information synchronization request include the terminal and currently transported Capable account and period;
, wherein it is desired to, it is noted that the main body that this method performs is server.
Wherein, the account is the account of a certain JICQ, and common immediate communication tool includes QQ, wechat etc..
Wherein, the period can be the period for needing the historical communication obtained to record.For example current date is 2016.5.5, then 2016.5.1 can be obtained to the historical communication record of the 2016.5.5 periods.
S202, obtain the historical communication data to match in the period with the account;
, wherein it is desired to, it is noted that the historical communication data of server storage are provided with the term of validity, can first judge described Whether the period matches in the term of validity, if located in that in the term of validity, then can go inquiry in database with the account Historical communication data.
S203, the type for determining the historical communication data;
Wherein, common type includes the types such as picture, word, audio, video.
S204, the current network connecting mode of the terminal is obtained, and each type is determined according to the current network connecting mode The method of synchronization of data;
For example, if the current network connecting mode is to be networked by mobile flow, it is determined that the data of video type The method of synchronization be:The video of interception preset duration is transmitted.
For example, if the current network connecting mode is to be networked by Wi-Fi, it is determined that word, picture, audio frequency and video are pressed It is transmitted according to normal mode.
S205, the method for synchronization list generated according to the mode of each type data;
S206, the method for synchronization list is traveled through to obtain the method for synchronization with the type matching;
S207, the size for determining the historical communication data;
If the size of S208, the historical communication data is more than predetermined threshold value, gone through according to the sequencing of time by described History communication data is segmented, wherein the historical communication data closest with current time are the first segment data;
It is pointed out that the predetermined threshold value is determined according to the connected mode of 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, not be limited herein.
S209, according to the method for synchronization first segment data is synchronized;
If S210, receiving the synchronizing information request that the terminal is sent again, will be removed in the historical communication data Data outside first segment data are transmitted according to the method for synchronization.
As can be seen that in the scheme of the embodiment of the present invention, the step of segmentation is sent is extended, passes through the step, Neng Gou While meeting that user uses, the consumption of flow is reduced.
Referring to Fig. 3, Fig. 3 is a kind of structural representation for server that one embodiment of the present of invention provides.Wherein, such as Shown in Fig. 3, a kind of server 300 of one embodiment of the present of invention offer, wherein, the server 300 includes receiving unit 301st, acquiring unit 302, determining unit 303 and synchronization unit 304.
Receiving unit 301, the synchronizing information request sent for receiving terminal, described information synchronization request includes described The account and period that terminal is currently run;
Wherein, the account is the account of a certain JICQ, and common immediate communication tool includes QQ, wechat etc..
Wherein, the period can be the period for needing the historical communication obtained to record.For example current date is 2016.5.5, then 2016.5.1 can be obtained to the historical communication record of the 2016.5.5 periods.
Acquiring unit 302, for obtaining the historical communication data to match in the period with the account;
, wherein it is desired to, it is noted that the historical communication data of server storage are provided with the term of validity, can first judge described Whether the period matches in the term of validity, if located in that in the term of validity, then can go inquiry in database with the account Historical communication data.
Specifically, it can be gone to inquire about database according to the account to obtain the data to match with the account;
The historical communication data in the period are being obtained from the data to match with the account.
Determining unit 303, for determining the type of the historical communication data;
Wherein, common type includes the types such as picture, word, audio, video.
Acquiring unit 302, it is additionally operable to travel through method of synchronization list to obtain the method for synchronization with the type matching;
It is, wherein it is desired to, it is noted that synchronous with the type matching to obtain in the traversal method of synchronization list Before mode, methods described also includes:Obtain the current network connecting mode of the terminal;Determined according to the current network connecting mode The method of synchronization of each type data;The method of synchronization list is generated according to the mode of each type data.
It is understood that common network connecting mode includes networking by mobile flow, by Wireless Fidelity (Wi-Fi) even Net etc..
For example, if the current network connecting mode is to be networked by mobile flow, it is determined that the data of video type The method of synchronization be:The video of interception preset duration is transmitted.So as to reduce the consumption of the mobile flow of user.
For example, it is corresponding to mobile flow:Word is normally sent, and picture compression is sent, and audio, video intercepting are preset Length is transmitted;It is corresponding to Wireless Fidelity:Word, picture, audio frequency and video are normally sent.
Synchronization unit 304, for being synchronized according to the method for synchronization to the historical communication data.
Wherein it is possible to understand, have much if necessary to synchronous historical communication data, then can be by historical communication Data carry out segmentation transmission.
For example, historical communication data are divided into three sections by us, and first paragraph first is synchronized into terminal, if the user thinks that The data that synchronous part is wanted without him, then he can continue to click on the button of query history record, then can Synchronous second segment content is to terminal.If after synchronous first paragraph, confiscate and continue synchronous instruction, then just explanation first paragraph The data information that included user wants, therefore without resynchronisation second segment and the 3rd section.By this segmentation method, While meeting the needs of user, flow consumption can be reduced again.
Wherein, receiving unit 301, acquiring unit 302, determining unit 303 and synchronization unit 304 can be used for performing reality The method described in step S101 to S105 in example 1 is applied, specifically describes description of the detailed in Example 1 to methods described, herein no longer Repeat.
Referring to Fig. 4, Fig. 4 is a kind of structural representation for server that one embodiment of the present of invention provides.Wherein, such as Shown in Fig. 4, another server 400 of one embodiment of the present of invention offer, wherein, the server 400 includes receiving unit 401st, acquiring unit 402, determining unit 403, synchronization unit 404, generation unit 405.
Receiving unit 401, the synchronizing information request sent for receiving terminal, described information synchronization request includes described The account and period that terminal is currently run;
Acquiring unit 402, for obtaining the historical communication data to match in the period with the account;
Determining unit 403, for determining the type of the historical communication data;
Acquiring unit 402, it is additionally operable to obtain the current network connecting mode of the terminal;
Determining unit 403, it is additionally operable to determine the method for synchronization of each type data according to the current network connecting mode;
For example, determining unit 403, if being to be networked by mobile flow for the current network connecting mode, really The method of synchronization for determining the data of video type is:The video of interception preset duration is transmitted.
Generation unit 405, for generating the method for synchronization list according to the mode of each type data.
Acquiring unit 402, it is additionally operable to travel through method of synchronization list to obtain the method for synchronization with the type matching;
Synchronization unit 404, for being synchronized according to the method for synchronization to the historical communication data.
Wherein, synchronization unit 404 includes determination subelement, segmentation subelement and synchronous subelement;
Determination subelement, for determining the size of the historical communication data;
Subelement is segmented, it is suitable according to the priority of time if the size for the historical communication data is more than predetermined threshold value The historical communication data are segmented by sequence, wherein, the historical communication data closest with current time are the first hop count According to;
The synchronous subelement, for synchronizing first segment data according to the method for synchronization.
Optionally, synchronization unit 404, will if being additionally operable to receive the synchronizing information request that the terminal is sent again Data in the historical communication data in addition to the first segment data are transmitted according to the method for synchronization.
Wherein, receiving unit 401, acquiring unit 402, determining unit 403, synchronization unit 404, generation unit 405 can be with For performing the method in embodiment 2 described in step S201 to S210, specifically describe detailed in Example 2 and methods described is retouched State, will not be repeated here.
Referring to Fig. 5, in another embodiment of the present invention, there is provided a kind of terminal.The terminal 500 includes CPU501, memory 502, bus 503.Wherein, the terminal 500 can be smart mobile phone, tablet personal computer, Intelligent worn device etc. Electronic equipment with call function.
Wherein, CPU501 performs the program being stored in advance in memory 502, and the implementation procedure specifically includes:
The synchronizing information request that receiving terminal is sent, described information synchronization request include the account that the terminal is currently run Number and the period;
Obtain the historical communication data to match in the period with the account;
Determine the type of the historical communication data;
Method of synchronization list is traveled through to obtain the method for synchronization with the type matching;
The historical communication data are synchronized according to the method for synchronization.
Optionally, it is described traversal method of synchronization list with obtain with before the method for synchronization of the type matching, it is described Implementation procedure also includes:
Obtain the current network connecting mode of the terminal;
The method of synchronization of each type data is determined according to the current network connecting mode;
The method of synchronization list is generated according to the mode of each type data.
Optionally, the method for synchronization that each type data are determined according to the current network connecting mode, including:
If the current network connecting mode is to be networked by mobile flow, it is determined that the method for synchronization of the data of video type For:The video of interception preset duration is transmitted.
Optionally, it is described that the historical communication data are synchronized according to the method for synchronization, including:
Determine the size of the historical communication data;
If the size of the historical communication data is more than predetermined threshold value, according to the sequencing of time by the historical communication Data are segmented, wherein the historical communication data closest with current time are the first segment data;
First segment data is synchronized according to the method for synchronization.
Optionally, it is described first segment data is synchronized according to the method for synchronization after, methods described is also wrapped Include:
If receiving the synchronizing information request that the terminal is sent again, first paragraph will be removed in the historical communication data Data outside data are transmitted according to the method for synchronization.
As can be seen that in the scheme of the embodiment of the present invention, the synchronizing information that receiving terminal is sent is asked, and described information is synchronous Request includes account and the period that the terminal is currently run;Obtain and gone through in the period with what the account matched History communication data;Determine the type of the historical communication data;Method of synchronization list is traveled through to obtain and the type matching The method of synchronization;The historical communication data are synchronized according to the method for synchronization.It is hereby understood that by implementing the present invention The technical scheme of offer, the method for synchronization with the type matching of current data to be synchronized is can determine, to prevent from consuming excessively The mobile flow of user, so as to improve the experience of user.
Referring to Fig. 6, Fig. 6 is the block diagram of the part-structure of the related mobile phone of terminal provided in an embodiment of the present invention.With reference to Fig. 6, mobile phone include:Radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630, display unit 640th, sensor 650, voicefrequency circuit 660, Wireless Fidelity (Wireless Fidelity, WiFi) module 670, processor 680, And the grade part of power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 is not formed to mobile phone Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 6:
RF circuits 610 can be used for the reception and transmission of information.Generally, RF circuits 610 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 610 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any 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 it is more 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..
Memory 620 can be used for storage software program and module, and processor 680 is stored in memory 620 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 620 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as synchronizing information function, touch control operation detection function etc.) etc.;Storage data field can store to be created according to using for mobile phone Data (for example move flow and send information mode data, method of synchronization table data etc.) built etc..In addition, memory 620 can Including high-speed random access memory, nonvolatile memory can also be included, a for example, at least disk memory, dodged Memory device or other volatile solid-state parts.
Input block 630 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 630 may include that fingerprint module 631 and other inputs are set Standby 632.Fingerprint module 631, user can be gathered in finger print data thereon.Optionally, fingerprint module 631 may include that optical profile type refers to Line module, capacitance type fingerprint module and RF-type fingerprint module.So that fingerprint module 631 is capacitance type fingerprint module as an example, tool Body includes induction electrode (n1 abnormal induction electrodes and n2 normal induction electrode) and the signal being connected with the 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 in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 640 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 640 may include display screen 641, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 641.Although in figure 6, fingerprint module 631 realizes the defeated of mobile phone with display screen 641 is the part independent as two Enter and input function, but it is in some embodiments it is possible to fingerprint module 631 and display screen 641 is integrated 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, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 641, proximity transducer can when mobile phone is moved in one's ear, close display screen 641 and/or Backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions the big of (generally three axles) acceleration It is small, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 661, sound is converted to by loudspeaker 661 by road 660 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, is turned after being received by voicefrequency circuit 660 Voice data is changed to, then after voice data output processor 680 is handled, through RF circuits 610 to be sent to such as another mobile phone, Or voice data is exported to memory 620 further to handle.
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 accessed.Although Fig. 6 is shown WiFi module 670, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 680 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 620, and call and be stored in memory 620 Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 680 can wrap Include one or more processing units;Preferably, processor 680 can integrate application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 680.
Mobile phone also includes the power supply 690 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply pipe Reason system and processor 680 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In embodiment shown in earlier figures 1, Fig. 2, each step method flow can based on the mobile phone structure realize.
In embodiment shown in earlier figures 3, Fig. 4, each unit function can based on the mobile phone structure realize.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (9)

  1. A kind of 1. method of synchronizing information, it is characterised in that methods described includes:
    The synchronizing information request that receiving terminal is sent, described information synchronization request include account that the terminal currently runs with Period;
    Obtain the historical communication data to match in the period with the account;
    Determine the type of the historical communication data;
    Method of synchronization list is traveled through to obtain the method for synchronization with the type matching;
    The historical communication data are synchronized according to the method for synchronization;
    Wherein, the traversal method of synchronization list is to obtain and before the method for synchronization of the type matching, methods described is also Including:
    Obtain the current network connecting mode of the terminal;
    The method of synchronization of each type data is determined according to the current network connecting mode;
    The method of synchronization list is generated according to the mode of each type data.
  2. 2. according to the method for claim 1, it is characterised in that described to be determined according to the current network connecting mode per species The method of synchronization of type data, including:
    If the current network connecting mode networks to pass through mobile flow, it is determined that the method for synchronization of the data of video type is: The video of interception preset duration is transmitted.
  3. 3. according to the method for claim 2, it is characterised in that it is described according to the method for synchronization to the historical communication number According to synchronizing, including:
    Determine the size of the historical communication data;
    If the size of the historical communication data is more than predetermined threshold value, according to the sequencing of time by the historical communication data It is segmented, wherein the historical communication data closest with current time are the first segment data;
    First segment data is synchronized according to the method for synchronization.
  4. 4. according to the method for claim 3, it is characterised in that it is described according to the method for synchronization by first segment data After synchronizing, methods described also includes:
    If receiving the synchronizing information request that the terminal is sent again, the first segment data will be removed in the historical communication data Outside data be transmitted according to the method for synchronization.
  5. 5. a kind of server, it is characterised in that the server includes:
    Receiving unit, the synchronizing information request sent for receiving terminal, described information synchronization request include the terminal and worked as The account of preceding operation and period;
    Acquiring unit, for obtaining the historical communication data to match in the period with the account;
    Determining unit, for determining the type of the historical communication data;
    The acquiring unit, it is additionally operable to travel through method of synchronization list to obtain the method for synchronization with the type matching;
    Synchronization unit, for being synchronized according to the method for synchronization to the historical communication data;
    Wherein, the server also includes generation unit;
    The acquiring unit, it is additionally operable to obtain the current network connecting mode of the terminal;
    The determining unit, it is additionally operable to determine the method for synchronization of each type data according to the current network connecting mode;
    The generation unit, for generating the method for synchronization list according to the mode of each type data.
  6. 6. server according to claim 5, it is characterised in that
    The determining unit, if being to be networked by mobile flow specifically for the current network connecting mode, it is determined that video class The method of synchronization of the data of type is:The video of interception preset duration is transmitted.
  7. 7. server according to claim 6, it is characterised in that the synchronization unit includes determination subelement, segmentation Unit and synchronous subelement;
    Determination subelement, for determining the size of the historical communication data;
    Subelement is segmented, will according to the sequencing of time if the size for the historical communication data is more than predetermined threshold value The historical communication data are segmented, wherein, the historical communication data closest with current time are the first segment data;
    The synchronous subelement, for synchronizing first segment data according to the method for synchronization.
  8. 8. server according to claim 7, it is characterised in that
    The synchronization unit, if being additionally operable to receive the synchronizing information request that the terminal is sent again, the history is led to Data in letter data in addition to the first segment data are transmitted according to the method for synchronization.
  9. A kind of 9. server, it is characterised in that including:
    It is stored with the memory of executable program code;
    The processor coupled with the memory;
    The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the method described in 4 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 CN106357767A (en) 2017-01-25
CN106357767B true 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)

Families Citing this family (1)

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

Citations (2)

* 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
CN103327037A (en) * 2012-03-20 2013-09-25 中兴通讯股份有限公司 Data synchronizing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315930B (en) * 2010-06-30 2014-07-23 国际商业机器公司 Method and system for reducing data transmission quantity in data synchronization

Patent Citations (2)

* 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
CN103327037A (en) * 2012-03-20 2013-09-25 中兴通讯股份有限公司 Data synchronizing method and device

Also Published As

Publication number Publication date
CN106357767A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN105119806A (en) Message updating method and device
CN104820665A (en) Method, terminal and server for exhibiting recommendation information
CN106412033A (en) Data migration method and terminal
CN106200970A (en) A kind of method of split screen display available and terminal
CN106446111A (en) Data migration method and terminal
CN107153576A (en) The distribution method and terminal device of a kind of memory source
CN106569916A (en) Data backup method and mobile terminal
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
CN106487878B (en) A kind of method and terminal of Data Migration
CN107172289A (en) The quick method and Related product for searching application
CN106357767B (en) The method and server of a kind of synchronizing information
CN106657214A (en) Data migration method and terminal
CN107272986A (en) The quick method and Related product for searching application
CN106951223A (en) Method and terminal that a kind of desktop is shown
CN107249168A (en) A kind of data directional transmissions and method of reseptance and device
CN105022621A (en) Method and device for collecting session message and terminal
CN106330684B (en) A kind of method and terminal of synchronizing information
CN106484688A (en) A kind of data processing method and system
CN103034319B (en) A kind of the method for display and control, control device and terminal are carried out to terminal
CN104852944A (en) Display method and device of login interface
CN106527980A (en) Data migration method and terminal
CN106686704A (en) Terminal monitoring method and mobile terminal
CN106254559A (en) The method of a kind of information storage and server

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