CN106656737A - Information synchronization method and terminal - Google Patents

Information synchronization method and terminal Download PDF

Info

Publication number
CN106656737A
CN106656737A CN201610826685.4A CN201610826685A CN106656737A CN 106656737 A CN106656737 A CN 106656737A CN 201610826685 A CN201610826685 A CN 201610826685A CN 106656737 A CN106656737 A CN 106656737A
Authority
CN
China
Prior art keywords
account
time point
historical communication
communication record
produced
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610826685.4A
Other languages
Chinese (zh)
Inventor
蒋杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201610826685.4A priority Critical patent/CN106656737A/en
Publication of CN106656737A publication Critical patent/CN106656737A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an information synchronization method and a terminal. The information synchronization method comprises the steps of when an instant communication tool is detected to stay at an operating state, acquiring a generation time point of a historical communication record which is stored in the terminal and corresponds to a currently operating account of the instant communication tool; sending a synchronization information query request to a server, wherein the synchronization information query request comprises the currently operating account; receiving a generation time point of a historical communication record which is fed back of the server and matched with the account; judging whether the generation time point of the historical communication record stored in the terminal is matched with the generation time point of the historical communication record fed back by the server or not; and if the generation time point of the historical communication record stored in the terminal is not matched with the generation time point of the historical communication record fed back by the server, performing information synchronization. Therefore, data synchronization can be performed through implementing the technical scheme provided by the invention, so that users are facilitated to use, and thus the user experience is improved.

Description

A kind of method and terminal of synchronizing information
Technical field
The present invention relates to field of terminal, and in particular to a kind of method and terminal of synchronizing information.
Background technology
With the development of the 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 use the different a certain network instant communications of terminal logs in different regions The same account of instrument.When user is communicated by account, the record of communication can be stored on present terminal.
Then, the communications records when user logs on other-end, before checking if desired, it is necessary to look into manually Ask, so as to the use to user brings inconvenience.
The content of the invention
The method and terminal of synchronizing information are embodiments provided, data syn-chronization can be automatically carried out, so as to convenient User uses, and then improves Consumer's Experience.
Embodiment of the present invention first aspect discloses a kind of method of synchronizing information, and methods described includes:
When JICQ is detected in running status, obtain the JICQ stored in terminal and work as The time point that the corresponding historical communication record of account of front operation is produced;
Synchronizing information inquiry request is sent to server, the synchronizing information inquiry request includes the account of current operation Number, so that the time point that the server lookup historical communication record corresponding with the account is produced;
Receive the time point that the historical communication record matched with the account of the server feedback is produced;
Judge the time point and the clothes of the historical communication record generation corresponding with the account of the terminal storage Whether the time point that the historical communication record corresponding with the account of business device feedback is produced matches;
If time point and the service that the historical communication record corresponding with the account of the terminal storage is produced The time point that the historical communication record corresponding with the account of device feedback is produced is mismatched, then carry out the history of the account The synchronization of communications records.
Second aspect present invention discloses a kind of terminal, and the terminal includes:
Acquiring unit, for when JICQ is detected in running status, what is stored in acquisition terminal to be described The time point that the corresponding historical communication record of account of JICQ currently operation is produced;
Transmitting element, for sending synchronizing information inquiry request to server, the synchronizing information inquiry request includes The account of current operation, so that the server lookup historical communication record corresponding with the account of the current operation is produced Raw time point;
Receiving unit, for receiving the historical communication matched with the account of the current operation of the server feedback The time point that record is produced;
Judging unit, for judge that corresponding with the account historical communication record of the terminal storage produces when Between put whether the time point that corresponding with the account historical communication record with the server feedback produces matches;
Lock unit, if the time of the historical communication record generation corresponding with the account for the terminal storage The time point that point is produced with the historical communication record corresponding with the account of the server feedback is mismatched, then carry out institute State the synchronization of the historical communication record of account.
Third aspect present invention discloses another terminal, and the terminal includes:
Be 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 as described in relation to the first aspect Method.
As can be seen that in the scheme of the embodiment of the present invention, when JICQ is detected in running status, obtaining The time point that the corresponding historical communication record of account of the JICQ stored in terminal currently operation is produced;To clothes Business device sends synchronizing information inquiry request, and the synchronizing information inquiry request includes the account of current operation, so that described The time point that the server lookup historical communication record corresponding with the account is produced;Receive the server feedback with institute State the time point of the historical communication record generation that account matches;Judge that the corresponding with the account of the terminal storage is gone through The time point that history communications records are produced is produced with the historical communication record corresponding with the account of the server feedback Whether time point matches;If time point and institute that the historical communication record corresponding with the account of the terminal storage is produced The time point mismatch that the historical communication record corresponding with the account of server feedback is produced is stated, then carries out the account Historical communication record synchronization.From the above it can be seen that by implementing the technical scheme that the present invention is provided, can automatically carry out data same Step, so as to be user-friendly to, and then improves Consumer's Experience.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below by to be used needed for 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, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow sheet of the method for synchronizing information provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another kind of synchronizing information provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another kind of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of entity apparatus structural representation of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of entity apparatus structural representation of mobile phone provided in an embodiment of the present invention.
Specific embodiment
The method and terminal of a kind of synchronizing information are embodiments provided, data syn-chronization can be automatically carried out, so as to It is user-friendly to, and then improves Consumer's Experience.
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 the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, 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 objects of difference, and it is not intended to describe specific order.Additionally, term " comprising " and " having " and they are any Deformation, it is intended that cover non-exclusive including.For example contain process, method, system, the product of series of steps or unit Or equipment is not limited to the step of listing or unit, but alternatively also include the step of not listing or unit, or can Selection of land also includes other steps intrinsic for 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:When detecting When JICQ is in running status, the account correspondence of the JICQ stored in terminal currently operation is obtained Historical communication record produce time point;Synchronizing information inquiry request, the synchronizing information inquiry request are sent to server Include the account of current operation, so that what the server lookup historical communication record corresponding with the account was produced Time point;Receive the time point that the historical communication record matched with the account of the server feedback is produced;Judge institute State time point and the server feedback and institute that the historical communication record corresponding with the account of terminal storage is produced Whether the time point for stating the corresponding historical communication record generation of account matches;If the terminal storage is relative with the account The time point that the historical communication record answered is produced is recorded with the historical communication corresponding with the account of the server feedback The time point of generation is mismatched, then carry out the synchronization of the historical communication record of the account.
Fig. 1 is referred to, Fig. 1 is a kind of method of synchronizing information that one embodiment of the invention is provided.Wherein, such as Fig. 1 institutes Show, a kind of method of synchronizing information that one embodiment of the present of invention is provided includes herein below:
S101, when detect JICQ in running status when, obtain terminal in store the instant messaging The time point that the corresponding historical communication record of account of instrument currently operation is produced;
, wherein it is desired to, it is noted that the main body that the method is performed is terminal, e.g. smart mobile phone, panel computer, intelligence The electronic equipments such as Wearable, computer.
Wherein, communication tool is preset for immediate communication tool, such as QQ, wechat etc..
Wherein, the mark of terminal can be dispatch from the factory sequence number, or NIC address etc..
If it is understood that the account of the JICQ currently operation carries out communication can produce communication note Record, if there is communications records, will be stored on the terminal.
Specifically, each JICQ can corresponding file, this document folder in store the instant messaging work The relative program of tool, and the communications records produced by being communicated by the JICQ.
Therefore, terminal can determine the corresponding file of the JICQ;The text is traveled through according to the account Part presss from both sides to determine the data corresponding with the account;Obtain relative with the account from the data corresponding with the account The time point that the historical communication record answered is produced.
For example, user passes through the account the 20 of 2016.1.1 days:00 is communicated, then 2016.1.1 days 20:00 point is that historical communication records the time point for producing.Wherein, for the form that historical communication records the time point for producing does not do Limit.
If it is understood that account is logged on the JICQ, then the text of the JICQ A file will be set up in part folder for the account to store the information related to the account, such as the communication that the account is produced Record.
S102, synchronizing information inquiry request is sent to server, the synchronizing information inquiry request includes currently running Account so that the server lookup it is corresponding with the account of the current operation historical communication record produce time Point;
It is understood that server typically all can be backed up to communications records, but the information of backup has effectively Phase.Therefore, the historical communication record that server can be inquired about in the account term of validity, and will historical communication corresponding with the account The time point that record is produced is sent to terminal.
S103, the historical communication record generation matched with the account of the current operation for receiving the server feedback Time point;
Wherein it is possible to be understood by, terminal receives the account phase with the current operation of the server feedback After the historical communication record time point matched somebody with somebody, the time point storage that can be produced the historical communication record is to predeterminable area.This is pre- If region can be a sub-folder in the corresponding file of the account.
S104, judge time point and institute that corresponding with the account historical communication record of the terminal storage produces Whether the time point for stating the historical communication record generation corresponding with the account of server feedback matches;
Wherein it is possible to compare the time point and the historical communication of server feedback of the historical communication record generation of terminal storage Whether the time point that record is produced is consistent.
Specifically, if the time point that the historical communication record corresponding with the account of the terminal storage is produced has many The time point that the historical communication record corresponding with the account of the individual and server feedback is produced also has multiple, then by institute State latest time point and the server feedback that the historical communication record corresponding with the account of terminal storage is produced The latest time point that the historical communication record corresponding with the account is produced is compared to judge whether matching, such that it is able to Lift the efficiency of matching.
If the time point that corresponding with the account historical communication record of S105, the terminal storage is produced with it is described The time point that the historical communication record corresponding with the account of server feedback is produced is mismatched, then carry out the account The synchronization of historical communication record.
, wherein it is desired to, it is noted that before the synchronization of the historical communication record for carrying out the account, methods described is also Including:The time point produced according to the historical communication record corresponding with the account of the server feedback and the terminal The time point that the historical communication record corresponding with the account of storage is produced determines historical communication record to be synchronized.
For example, server can be recorded with historical communication corresponding with the account stored in asynchronous terminal.
It is understood that the synchronization of the historical communication record for carrying out the account, including:Obtain described to be synchronized History synchronous recording time point;Described information synchronization request is sent to the server, is wrapped in described information synchronization request The time point of historical communication record to be synchronized is included, so that the server obtains the historical communication corresponding with the time point Record;Receive the historical communication record that the server sends.
As can be seen that in the scheme of the embodiment of the present invention, when JICQ is detected in running status, obtaining The corresponding historical communication record of account of the JICQ stored in terminal currently operation;Send synchronous to server Information inquiring request, the synchronizing information inquiry request includes the account of current operation so that the server lookup with The historical communication that the account of the current operation is corresponding is recorded;Receive the account with the current operation of the server feedback Number historical communication for matching record;Judge corresponding with the account historical communication record of the terminal storage with it is described Whether the historical communication record corresponding with the account of server feedback matches;If the terminal storage with the account Corresponding historical communication records the historical communication record corresponding with the account with the server feedback and mismatches, then Carry out the synchronization of the historical communication record of the account.From the above it can be seen that by implementing the technical scheme that the present invention is provided, can certainly It is dynamic to carry out data syn-chronization, so as to be user-friendly to, and then improve Consumer's Experience.
Fig. 2 is referred to, Fig. 2 is a kind of method of synchronizing information that one embodiment of the invention is provided.Wherein, such as Fig. 2 institutes Show, a kind of method of synchronizing information that one embodiment of the present of invention is provided includes herein below:
S201, when detect JICQ in running status when, determine the corresponding text of the JICQ Part is pressed from both sides, and travels through the file to determine the data corresponding with the account according to the account;
, wherein it is desired to, it is noted that the main body that the method is performed is terminal, e.g. smart mobile phone, panel computer, intelligence The electronic equipments such as Wearable, computer.
Wherein, immediate communication tool is immediate communication tool, for example QQ, wechat etc..
S202, obtain from the data corresponding with the account historical communication record corresponding with the account and produce Time point;
S203, synchronizing information inquiry request is sent to server, the synchronizing information inquiry request includes currently running Account so that the server lookup it is corresponding with the account historical communication record produce time point;
S204, the time point that generation is recorded with the historical communication that the account matches for receiving the server feedback;
S205, judge time point and institute that corresponding with the account historical communication record of the terminal storage produces Whether the time point for stating the historical communication record generation corresponding with the account of server feedback matches;
If, wherein it is desired to, it is noted that the historical communication record corresponding with the account of the terminal storage is produced The time point that produces of time point corresponding with the account historical communication record that has multiple and described server feedback Have multiple, then the latest time point for producing corresponding with the account historical communication record of the terminal storage with it is described The latest time point that the historical communication record corresponding with the account of server feedback is produced compares to judge whether Matching.
If the time point that corresponding with the account historical communication record of S206, the terminal storage is produced with it is described The time point that the historical communication record corresponding with the account of server feedback is produced is mismatched, then according to the server Time point that corresponding with the account historical communication record of feedback is produced and the terminal storage with the account phase The time point that corresponding historical communication record is produced determines historical communication record to be synchronized;
S207, the time point for obtaining the history synchronous recording generation to be synchronized;
S208, described information synchronization request is sent to the server, described information synchronization request includes to be synchronized going through The time point that history communications records are produced, so that the server obtains the historical communication record corresponding with the time point;
S209, the historical communication record for receiving the server transmission.
As can be seen that in the scheme of the embodiment of the present invention, extending and determining the history to be synchronized matched with the account The step of record such that it is able to accurately identify historical communication record to be synchronized to avoid repeating synchronous.
Fig. 3 is referred to, Fig. 3 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 3, a kind of terminal 300 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board electricity The electronic equipments such as brain, intelligent wearable equipment.The terminal 300 include acquiring unit 301, transmitting element 302, receiving unit 303, Judging unit 304 and lock unit 305.
Acquiring unit 301, for when JICQ is detected in running status, obtaining the institute stored in terminal State the time point that the corresponding historical communication record of account of JICQ currently operation is produced;
Transmitting element 302, for sending synchronizing information inquiry request to server, wraps in the synchronizing information inquiry request The account of current operation is included, so that the server lookup historical communication record corresponding with the account of the current operation The time point of generation;
Receiving unit 303, for receiving the history matched with the account of the current operation of the server feedback The time point that communications records are produced;
Judging unit 304, for judging that the historical communication record corresponding with the account of the terminal storage is produced The time point that produces of the historical communication record corresponding with the account of time point and the server feedback whether match;
Lock unit 305, if the historical communication corresponding with the account for the terminal storage records what is produced The time point that time point is produced with the historical communication record corresponding with the account of the server feedback is mismatched, then entered The synchronization of the historical communication record of the row account.
Wherein, acquiring unit 301, transmitting element 302, receiving unit 303, judging unit 304 and lock unit 305 can Method in for performing embodiment 1 described in step S101 to S105, specifically describes detailed in Example 1 and methods described is retouched State, will not be described here.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 4, another kind of terminal 400 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board The electronic equipments such as computer, intelligent wearable equipment.The terminal 400 includes acquiring unit 401, transmitting element 402, receiving unit 403rd, judging unit 404, lock unit 405 and determining unit 406;
Acquiring unit 401, for when JICQ is detected in running status, obtaining the institute stored in terminal State the time point that the corresponding historical communication record of account of JICQ currently operation is produced;
Specifically, acquiring unit 401 includes that determination subelement and first obtains subelement;
The determination subelement, for determining the corresponding file of the JICQ;
The determination subelement, it is corresponding with the account to determine for traveling through the file according to the account Data;
Described first obtains subelement, corresponding with the account for obtaining from the data corresponding with the account Historical communication record produce time point.
Transmitting element 402, for sending synchronizing information inquiry request to server, wraps in the synchronizing information inquiry request The account of current operation is included, so that the server lookup historical communication record corresponding with the account of the current operation The time point of generation;
Receiving unit 403, for receiving the history matched with the account of the current operation of the server feedback The time point that communications records are produced;
Judging unit 404, for judging that the historical communication record corresponding with the account of the terminal storage is produced The time point that produces of the historical communication record corresponding with the account of time point and the server feedback whether match;
Specifically, judging unit 404, if specifically for the historical communication corresponding with the account of the terminal storage What the historical communication record corresponding with the account that the time point that record is produced has multiple and described server feedback was produced Time point also has multiple, then the latest time for producing the historical communication record corresponding with the account of the terminal storage The latest time point that point is produced with corresponding with the account historical communication record of the server feedback compare with Judge whether matching.
Determining unit 406, if the historical communication corresponding with the account for the terminal storage records what is produced The time point that time point is produced with the historical communication record corresponding with the account of the server feedback is mismatched, then root The time point that produces according to corresponding with the account historical communication record of the server feedback and the terminal storage The time point that the historical communication record corresponding with the account is produced determines historical communication record to be synchronized;
Lock unit 405, if the historical communication corresponding with the account for the terminal storage records what is produced The time point that time point is produced with the historical communication record corresponding with the account of the server feedback is mismatched, then entered The synchronization of the historical communication record of the row account.
Specifically, lock unit 405 includes that second obtains subelement, sends subelement and receiving subelement;
Described second obtains subelement, for obtaining the time point that the history synchronous recording to be synchronized is produced;
The transmission subelement, for sending described information synchronization request, described information synchronization request to the server Include the time point that historical communication record to be synchronized is produced, so that the server obtains corresponding with the time point Historical communication is recorded;
The receiving subelement, for receiving the historical communication record that the server sends.
Wherein, acquiring unit 401, transmitting element 402, receiving unit 403, judging unit 404 and lock unit 405 can Method in for performing embodiment 2 described in step S201 to S208, specifically describes detailed in Example 2 and methods described is retouched State, will not be described here.
Fig. 5 is referred to, 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, panel 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 is specifically included:
When JICQ is detected in running status, obtain the JICQ stored in terminal and work as The time point that the corresponding historical communication record of account of front operation is produced;
Synchronizing information inquiry request is sent to server, the synchronizing information inquiry request includes the account of current operation Number, so that the time point that the server lookup historical communication record corresponding with the account is produced;
Receive the time point that the historical communication record matched with the account of the server feedback is produced;
Judge the time point and the clothes of the historical communication record generation corresponding with the account of the terminal storage Whether the time point that the historical communication record corresponding with the account of business device feedback is produced matches;
If time point and the service that the historical communication record corresponding with the account of the terminal storage is produced The time point that the historical communication record corresponding with the account of device feedback is produced is mismatched, then carry out the history of the account The synchronization of communications records.
Optionally, the corresponding history of account for obtaining the JICQ stored in terminal currently operation is led to The time point that letter record is produced, including:
Determine the corresponding file of the JICQ;
Travel through the file to determine the data corresponding with the account according to the account;
Obtain that corresponding with account historical communication record produces from the data corresponding with the account when Between point.
Optionally, the time that the historical communication record corresponding with the account for judging the terminal storage is produced Whether the time point that point is produced with the historical communication record corresponding with the account of the server feedback matches, including:
If the time point that the historical communication record corresponding with the account of the terminal storage is produced has multiple and institute Stating the time point of the historical communication record generation corresponding with the account of server feedback also has multiple, then by the terminal The latest time point that corresponding with the account historical communication record of storage is produced and the server feedback with it is described The latest time point that the corresponding historical communication record of account is produced compares to judge whether matching.
Optionally, before the synchronization of the historical communication record for carrying out the account, methods described also includes:
The time point that produced according to corresponding with the account historical communication record of the server feedback and described The time point that the historical communication record corresponding with the account of terminal storage is produced determines historical communication record to be synchronized.
Optionally, the synchronization of the historical communication record for carrying out the account, including:
Obtain the time point that the history synchronous recording to be synchronized is produced;
Described information synchronization request is sent to the server, described information synchronization request includes historical communication to be synchronized The time point that record is produced, so that the server obtains the historical communication record corresponding with the time point;
Receive the historical communication record that the server sends.
As can be seen that in the scheme of the embodiment of the present invention, when JICQ is detected in running status, obtaining The time point that the corresponding historical communication record of account of the JICQ stored in terminal currently operation is produced;To clothes Business device sends synchronizing information inquiry request, and the synchronizing information inquiry request includes the account of current operation, so that described The time point that the server lookup historical communication record corresponding with the account is produced;Receive the server feedback with institute State the time point of the historical communication record generation that account matches;Judge that the corresponding with the account of the terminal storage is gone through The time point that history communications records are produced is produced with the historical communication record corresponding with the account of the server feedback Whether time point matches;If time point and institute that the historical communication record corresponding with the account of the terminal storage is produced The time point mismatch that the historical communication record corresponding with the account of server feedback is produced is stated, then carries out the account Historical communication record synchronization.From the above it can be seen that by implementing the technical scheme that the present invention is provided, can automatically carry out data same Step, so as to be user-friendly to, and then improves Consumer's Experience.
Fig. 6 is referred to, Fig. 6 is the frame of the part-structure of the mobile phone of the terminal correlation that one embodiment of the present of invention is provided Figure.With reference to Fig. 6, mobile phone includes:It is radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630, aobvious Show unit 640, sensor 650, voicefrequency circuit 660, Wireless Fidelity (Wireless Fidelity, WiFi) module 670, process The part such as device 680 and power supply 690.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 6 do not constitute it is right The restriction of mobile phone, can include part more more or less of than diagram, or combine some parts, or different part cloth Put.
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..Additionally, RF circuits 610 can also be communicated by radio communication with network and other equipment.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 it is 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..
Memory 620 can be used to store software program and module, and processor 680 is stored in memory 620 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 620 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be 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 be stored to be created according to using for mobile phone Data (such as running account information, historical communication record data etc.) built etc..Additionally, memory 620 can include at a high speed with Machine accesses memory, can also include nonvolatile memory, for example, at least one disk memory, flush memory device or its His volatile solid-state part.
Input block 630 can be used for the numeral or character information of receives input, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 630 may include that 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 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 electrode 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 show 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 adopt 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 and display screen 641 are realizing the defeated of mobile phone as two independent parts 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 adjusting 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.Used as one kind of motion sensor, (generally three axles) acceleration is big in the detectable all directions of accelerometer sensor It is little, size and the direction of gravity is can detect that when static, can be used to recognize 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, hygrometer, thermometer, infrared ray sensor, will not be described 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 for receiving conversion can be transferred to loudspeaker 761 by road 660, and by loudspeaker 661 sound is converted to 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 Be changed to voice data, then after voice data output processor 680 is processed, Jing RF circuits 610 to be sent to such as another mobile phone, Or voice data is exported to memory 620 so as to further process.
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 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 that are stored in memory 620, and call and be stored in memory 620 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 680 can be wrapped Include one or more processing units;Preferably, processor 680 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed 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, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In embodiment shown in aforementioned Fig. 1, Fig. 2, each step method flow process can be based on the structure of the mobile phone and realize.
In embodiment shown in aforementioned Fig. 3, Fig. 4, each unit function can be based on the structure of the mobile phone and realize.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment Point, 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 schematic, such as division of described unit, 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 with reference to or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for 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.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can 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 the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words 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 used so that a computer Equipment (can be personal computer, server or network equipment etc.) perform the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access 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 to illustrate technical scheme, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, 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 which part technical characteristic;And these Modification is replaced, and does not make the scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.

Claims (11)

1. a kind of method of synchronizing information, it is characterised in that methods described includes:
When JICQ is detected in running status, obtain the JICQ stored in terminal and currently transport The time point that the corresponding historical communication record of capable account is produced;
Synchronizing information inquiry request is sent to server, the synchronizing information inquiry request includes the account of current operation, with So that the time point that the server lookup historical communication record corresponding with the account is produced;
Receive the time point that the historical communication record matched with the account of the server feedback is produced;
Judge the time point and the server of the historical communication record generation corresponding with the account of the terminal storage Whether the time point that the historical communication record corresponding with the account of feedback is produced matches;
If the time point that the historical communication record corresponding with the account of the terminal storage is produced is anti-with the server The time point that the historical communication record corresponding with the account of feedback is produced is mismatched, then carry out the historical communication of the account The synchronization of record.
2. method according to claim 1, it is characterised in that the JICQ stored in the acquisition terminal The time point that the corresponding historical communication record of account of current operation is produced, including:
Determine the corresponding file of the JICQ;
Travel through the file to determine the data corresponding with the account according to the account;
The time point that the historical communication record corresponding with the account is produced is obtained from the data corresponding with the account.
3. method according to claim 2, it is characterised in that the judgement terminal storage it is relative with the account The time point that the historical communication record answered is produced is recorded with the historical communication corresponding with the account of the server feedback Whether the time point of generation matches, including:
If the time point that the historical communication record corresponding with the account of the terminal storage is produced has multiple and described clothes The time point that the historical communication record corresponding with the account of business device feedback is produced also has multiple, then by the terminal storage The latest time point that produces of corresponding with account historical communication record and the server feedback and the account The latest time point that corresponding historical communication record is produced compares to judge whether matching.
4. method according to claim 3, it is characterised in that the synchronization of the historical communication record for carrying out the account Before, methods described also includes:
The time point produced according to the historical communication record corresponding with the account of the server feedback and the terminal The time point that the historical communication record corresponding with the account of storage is produced determines historical communication record to be synchronized.
5. method according to claim 4, it is characterised in that the historical communication record for carrying out the account it is same Step, including:
Obtain the time point that the history synchronous recording to be synchronized is produced;
Described information synchronization request is sent to the server, described information synchronization request includes historical communication record to be synchronized The time point of generation, so that the server obtains the historical communication record corresponding with the time point;
Receive the historical communication record that the server sends.
6. a kind of terminal, it is characterised in that the terminal includes:
Acquiring unit, it is described instant for what is when JICQ is detected in running status, stored in acquisition terminal The time point that the corresponding historical communication record of account of means of communication currently operation is produced;
Transmitting element, for sending synchronizing information inquiry request to server, the synchronizing information inquiry request includes currently The account of operation, so that what the server lookup historical communication record corresponding with the account of the current operation was produced Time point;
Receiving unit, for receiving the historical communication record matched with the account of the current operation of the server feedback The time point of generation;
Judging unit, for judging the time point that the historical communication record corresponding with the account of the terminal storage is produced Whether the time point produced with the historical communication record corresponding with the account of the server feedback matches;
Lock unit, if for the terminal storage the time point that produces of corresponding with account historical communication record with The time point that the historical communication record corresponding with the account of the server feedback is produced is mismatched, then carry out the account Number historical communication record synchronization.
7. terminal according to claim 6, it is characterised in that the acquiring unit includes that determination subelement and first is obtained Subelement;
The determination subelement, for determining the corresponding file of the JICQ;
The determination subelement, for traveling through the file to determine the number corresponding with the account according to the account According to;
Described first obtains subelement, for obtaining corresponding with the account going through from the data corresponding with the account The time point that history communications records are produced.
8. terminal according to claim 7, it is characterised in that
The judging unit, if produce specifically for the historical communication record corresponding with the account of the terminal storage The time point that the historical communication record corresponding with the account that time point has multiple and described server feedback is produced also has It is multiple, then by the latest time point and the clothes of the historical communication record generation corresponding with the account of the terminal storage The latest time point that corresponding with the account historical communication record of business device feedback is produced compares to judge whether Match somebody with somebody.
9. terminal according to claim 8, it is characterised in that the terminal also includes determining unit;
The determining unit, for what is produced according to the historical communication record corresponding with the account of the server feedback The time point that the historical communication record corresponding with the account of time point and the terminal storage is produced determines to be synchronized Historical communication is recorded.
10. terminal according to claim 9, it is characterised in that the lock unit includes that second obtains subelement, sends Subelement and receiving subelement;
Described second obtains subelement, for obtaining the time point that the history synchronous recording to be synchronized is produced;
The transmission subelement, for sending described information synchronization request to the server, wraps in described information synchronization request The time point that historical communication record to be synchronized is produced is included, so that the server obtains the history corresponding with the time point Communications records;
The receiving subelement, for receiving the historical communication record that the server sends.
11. a kind of terminals, it is characterised in that include:
Be 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 if claim 1 is to right Require the method described in 5 any one.
CN201610826685.4A 2016-09-14 2016-09-14 Information synchronization method and terminal Pending CN106656737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826685.4A CN106656737A (en) 2016-09-14 2016-09-14 Information synchronization method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826685.4A CN106656737A (en) 2016-09-14 2016-09-14 Information synchronization method and terminal

Publications (1)

Publication Number Publication Date
CN106656737A true CN106656737A (en) 2017-05-10

Family

ID=58852941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826685.4A Pending CN106656737A (en) 2016-09-14 2016-09-14 Information synchronization method and terminal

Country Status (1)

Country Link
CN (1) CN106656737A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047520A (en) * 2006-03-28 2007-10-03 腾讯科技(深圳)有限公司 Message recording merging method and user terminal
CN103297803A (en) * 2012-02-28 2013-09-11 深圳市快播科技有限公司 Data updating system and method based on set top box
CN104883292A (en) * 2015-04-16 2015-09-02 江苏中威科技软件系统有限公司 Method and system for realizing message roaming at different terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047520A (en) * 2006-03-28 2007-10-03 腾讯科技(深圳)有限公司 Message recording merging method and user terminal
CN103297803A (en) * 2012-02-28 2013-09-11 深圳市快播科技有限公司 Data updating system and method based on set top box
CN104883292A (en) * 2015-04-16 2015-09-02 江苏中威科技软件系统有限公司 Method and system for realizing message roaming at different terminals

Similar Documents

Publication Publication Date Title
CN105119806A (en) Message updating method and device
CN106155557B (en) A kind of virtual key display methods and mobile terminal
CN106412033A (en) Data migration method and terminal
CN106681860A (en) Data backup method and data backup device
CN106714333A (en) Data migration method and terminal
CN106127001B (en) The method and terminal of a kind of booting
CN106446111A (en) Data migration method and terminal
CN106200970A (en) A kind of method of split screen display available and terminal
CN103312597A (en) Voice message generating method and voice message generating device
CN106569916A (en) Data backup method and mobile terminal
CN104133693B (en) Installment state detection method, device and terminal
CN104063400A (en) Data search method and data search device
CN106453571A (en) Data migration method and terminal
CN108256466B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN106529256A (en) Terminal unlocking method and mobile terminal
CN106657214A (en) Data migration method and terminal
CN107423150A (en) A kind of fingerprint module control method and equipment
CN106330684B (en) A kind of method and terminal of synchronizing information
CN106951223A (en) Method and terminal that a kind of desktop is shown
CN106954211A (en) A kind of key wiring method and mobile terminal
CN106487878A (en) A kind of method of Data Migration and terminal
CN106254630B (en) A kind of method and terminal to receive calls
CN104615451A (en) Application starting method and device
CN104954231A (en) Method and device for transmitting and displaying recommended information
CN106357767B (en) The method and server of a kind of synchronizing information

Legal Events

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

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication