CN106330684A - Information synchronization method and terminal - Google Patents

Information synchronization method and terminal Download PDF

Info

Publication number
CN106330684A
CN106330684A CN201610827074.1A CN201610827074A CN106330684A CN 106330684 A CN106330684 A CN 106330684A CN 201610827074 A CN201610827074 A CN 201610827074A CN 106330684 A CN106330684 A CN 106330684A
Authority
CN
China
Prior art keywords
terminal
last login
mark
time point
account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610827074.1A
Other languages
Chinese (zh)
Other versions
CN106330684B (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 CN201610827074.1A priority Critical patent/CN106330684B/en
Publication of CN106330684A publication Critical patent/CN106330684A/en
Application granted granted Critical
Publication of CN106330684B publication Critical patent/CN106330684B/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
    • 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
    • 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)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an information synchronization method and a terminal. The method comprises the following steps: when detecting that an instant messaging tool is running, getting an account running on the instant messaging tool currently; acquiring the identifier of the current terminal; querying the identifier of the last login terminal according to the account; if the identifier of the current terminal is inconsistent with the identifier of the last login terminal, acquiring the time point of the last login terminal; judging whether the time point of the last login terminal is within a period of validity; and if the time point of the last login terminal is within the period of validity, acquiring historical communication records stored in the last login terminal to complete information synchronization. Thus, by implementing the technical scheme provided by the invention, when that the current login terminal and the last login terminal of the account running on the instant messaging tool are different is determined, if the time of last login is within the period of validity, historical communication records are synchronized automatically, which brings convenience to users.

Description

A kind of method of synchronizing information and terminal
Technical field
The present invention relates to field of terminal, relate to method and the terminal of a kind of synchronizing information.
Background technology
Along with the development of communication technology, due to the convenience of network instant communication instrument (such as: QQ, wechat etc.) 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.When user is communicated by account, the record of communication can be saved on present terminal.
Then, when user logs on other-end, if needing the communications records before checking, it is necessary to manually look into Ask, thus bring inconvenience to the use of user.
Summary of the invention
Embodiments provide method and the terminal of synchronizing information, it is possible in the account determining that immediate communication tool runs When number terminal this time logged in is different from the terminal of last login, if the time of last login is before the deadline, the most automatically enter The synchronization of row historical communication record, thus provide conveniently to the use of user.
Embodiment of the present invention first aspect discloses a kind of method of synchronizing information, and described method includes:
When detecting that JICQ is in running status, obtain the account that described JICQ currently runs Number;
Obtain the mark of present terminal;
The mark of the terminal according to described account inquiry last login;
If the mark of described present terminal is inconsistent with the mark of the terminal of described last login, obtain described last login The time point of terminal;
Judge whether the time point of the terminal of described last login is positioned at effect duration;
If the time point of the terminal of described last login is positioned at effect duration, then obtain institute in the terminal of described last login The historical communication record of storage is to complete synchronizing information.
Second aspect present invention discloses a kind of terminal, and described terminal includes:
Acquiring unit, for when detecting that JICQ is in running status, obtains described JICQ The current account run;It is additionally operable to obtain the mark of present terminal;
Query unit, for the mark of the terminal according to described account inquiry last login;
Described acquiring unit, if the mark of the mark and the terminal of described last login that are additionally operable to described present terminal differs Cause, obtain the time point of the terminal of described last login;
Judging unit, for judging whether the time point of the terminal of described last login is positioned at effect duration;
Described acquiring unit, if the time point for the terminal of described last login is positioned at effect duration, then obtains described The historical communication record stored in the terminal of last login is to complete synchronizing information.
Third aspect present invention discloses another kind of terminal, and described terminal includes:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs as described in relation to the first aspect Method.
It can be seen that in the scheme of the embodiment of the present invention, when detecting that JICQ is in running status, obtain The account that described JICQ currently runs;Obtain the mark of present terminal;According to described account inquiry last login The mark of terminal;If the mark of described present terminal is inconsistent with the mark of the terminal of described last login, obtain described last time The time point of the terminal logged in;Judge whether the time point of the terminal of described last login is positioned at effect duration;If described last time The time point of the terminal logged in is positioned at effect duration, then obtain the historical communication record stored in the terminal of described last login To complete synchronizing information.It is hereby understood that by implementing the technical scheme that the present invention provides, it is possible to determining that immediate communication tool is transported When the terminal of the account of row this time login is different from the terminal of last login, if the time of last login is before the deadline, then Automatically carry out the synchronization of historical communication record, thus provide conveniently to the use of user.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, general for this area From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the method for a kind of synchronizing information that Fig. 1-a provides for the embodiment of the present invention;
The network architecture schematic diagram of a kind of information synchronization system that Fig. 1-b provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of synchronizing information that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of terminal that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the another kind of terminal that Fig. 4 provides for the embodiment of the present invention;
The entity apparatus structural representation of a kind of terminal that Fig. 5 provides for the embodiment of the present invention;
The entity apparatus structural representation of a kind of mobile phone that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Embodiments provide method and the terminal of a kind of synchronizing information, it is possible to determining that immediate communication tool runs Terminal of this time logging in of account different from the terminal of last login time, if the time point of last login is before the deadline, then Automatically carry out the synchronization of historical communication record, thus provide conveniently to the use of user.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is explicitly described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention one The embodiment divided rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, all should belong to the scope of protection of the invention.
In description of the invention, claims and accompanying drawing, the term " first " of appearance, " second " and " the 3rd " etc. are to use In the object that difference is different, and it is not intended to describe specific order.Additionally, term " includes " and " having " and they are any Deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product Or equipment is not limited to step or the unit listed, but the most also include step or the unit do not listed, or can Selection of land also includes other step intrinsic for these processes, method, product or equipment or unit.
A kind of method disclosing synchronizing information in one embodiment of the invention, described method includes: when detecting When JICQ is in running status, obtain the account that described JICQ currently runs;Obtain present terminal Mark;The mark of the terminal according to described account inquiry last login;If the mark of described present terminal and described last login The mark of terminal inconsistent, obtain the time point of the terminal of described last login;Judge described last login terminal time Between put whether be positioned at effect duration;If the time point of the terminal of described last login is positioned at effect duration, then obtain described last time The historical communication record stored in the terminal logged in is to complete synchronizing information.
Refer to the method that Fig. 1-a, Fig. 1-a is a kind of synchronizing information that one embodiment of the invention provides.Wherein, such as figure Shown in 1-a, a kind of method of synchronizing information that one embodiment of the present of invention provides includes herein below:
S101, when detecting that JICQ is in running status, obtain described JICQ and currently run Account;
Wherein it is desired to it is noted that the main body that the method performs is terminal, e.g. smart mobile phone, panel computer, intelligence The electronic equipment such as Wearable, computer.
Wherein, immediate communication tool is immediate communication tool, such as QQ, wechat etc..
S102, the mark of acquisition present terminal;
Wherein, the mark of terminal can be the serial number that dispatches from the factory, it is also possible to be NIC address etc..
S103, the mark of terminal according to described account inquiry last login;
Concrete, terminal can send information inquiring request to server, and described information inquiring request includes described account Number, so that the mark of the terminal of account last login described in described server lookup;Server lookup was to described account last time After the mark of the terminal logged in, can feed back to terminal;Terminal receives the described account last login of described server feedback The mark of terminal.
If the mark of the described present terminal of S104 is inconsistent with the mark of the terminal of described last login, obtain on described The time point of the terminal of secondary login;
Wherein it is possible to be understood by, can be by the mark of the terminal of this account last login and this terminal logged in Mark is compared, if the mark of the terminal of this account last login is consistent with the mark of the terminal that this logs in, this is described The historical communication record of account last time has storage in this terminal logged in, and therefore need not carry out synchronizing information.
It is pointed out that if the mark with this terminal logged in that identifies of the terminal of this account last login differs Cause, illustrate to need to carry out synchronizing information.If it is understood that synchronizing information to be carried out, it is necessary to obtain last login Time point, to judge whether the time point of last login is positioned at effect duration.Because it is to have that server preserves historical communication record (such as seven days) of effect duration.
S105, judge whether the time point of the terminal of described last login is positioned at effect duration;
Wherein it is desired to it is noted that time point and current point in time according to the terminal of described last login calculate and are separated by Time period;Judge that whether described interval time section is less than preset time period;If described interval time section is less than preset time period, Then determine that the time point of the terminal of described last login is positioned at effect duration.
If it is understood that described interval time section is greater than or equal to preset time period, it is determined that described last time steps on The time point of the terminal of record is beyond effect duration.
If the time point of the terminal of the described last login of S106 is positioned at effect duration, then obtain the end of described last login The historical communication record stored in end is to complete synchronizing information.
Wherein, as shown in Fig. 1-b, if the time point of the terminal of described last login is positioned at effect duration, terminal can be to Server sends synchronizing information request, and the request of described synchronizing information includes the time point of the terminal of described last login, so that Obtain the history log that the time point of the terminal that described server obtains described last login is later;Terminal receives described service The historical communication record of device feedback is to complete synchronizing information.
Optionally, if the mark of described present terminal is consistent with the mark of the terminal of described last login, it is determined that described The file that JICQ is corresponding;Described file is searched for obtain historical communication record according to described account.
It can be seen that in the scheme of the embodiment of the present invention, when detecting that JICQ is in running status, obtain The account that described JICQ currently runs;Obtain the mark of present terminal;According to described account inquiry last login The mark of terminal;If the mark of described present terminal is inconsistent with the mark of the terminal of described last login, obtain described last time The time point of the terminal logged in;Judge whether the time point of the terminal of described last login is positioned at effect duration;If described last time The time point of the terminal logged in is positioned at effect duration, then obtain the historical communication record stored in the terminal of described last login To complete synchronizing information.It is hereby understood that by implementing the technical scheme that the present invention provides, it is possible to determining that immediate communication tool is transported When the terminal of the account of row this time login is different from the terminal of last login, if the time of last login is before the deadline, then Automatically carry out the synchronization of historical communication record, thus provide conveniently to the use of user.
Refer to the method that Fig. 2, Fig. 2 are a kind of synchronizing information that one embodiment of the invention provides.Wherein, such as Fig. 2 institute Showing, a kind of method of synchronizing information that one embodiment of the present of invention provides includes herein below:
S201, when detecting that JICQ is in running status, obtain described JICQ and currently run Account;
Wherein it is desired to it is noted that the main body that the method performs is terminal, e.g. smart mobile phone, panel computer, intelligence The electronic equipment such as Wearable, computer.
Wherein, immediate communication tool is immediate communication tool, such as QQ, wechat etc..
S202, the mark of acquisition present terminal.
Wherein, the mark of terminal can be the serial number that dispatches from the factory, it is also possible to be NIC address etc..
S203, sending information inquiring request to server, described information inquiring request includes described account, so that institute State the mark of the terminal of account last login described in server lookup.
S204, receive the mark of the terminal of the described account last login of described server feedback.
If the mark of the described present terminal of S205 is inconsistent with the mark of the terminal of described last login, obtain on described The time point of the terminal of secondary login.
S206, time point and current point in time according to the terminal of described last login calculate interval time section, and judge Whether described interval time section is less than preset time period.
If S207 described interval time section is less than preset time period, it is determined that the time of the terminal of described last login Point is positioned at effect duration.
If the time point of the terminal of the described last login of S208 is positioned at effect duration, then obtain the end of described last login The historical communication record stored in end is to complete synchronizing information.
Concrete, terminal can send synchronizing information request to server, and the request of described synchronizing information includes on described The time point of the terminal of secondary login, so that the history that the time point of the terminal of the described server described last login of acquisition is later Log;Terminal receives the historical communication record of described server feedback.
If the described present terminal of S209 mark consistent with the mark of the terminal of described last login, it is determined that described be Time file corresponding to means of communication, and search for described file to obtain historical communication record according to described account.
It can be seen that in the scheme of the embodiment of the present invention, extend and judge that the time point of this account last login terminal is The no step being positioned at effect duration such that it is able to determine whether to carry out historical communication recording synchronism.
Refer to the structural representation that Fig. 3, Fig. 3 are a kind of terminals that one embodiment of the present of invention provides.Wherein, such as figure Shown in 3, a kind of terminal 300 that one embodiment of the present of invention provides, wherein, this terminal can be for smart mobile phone, flat board electricity The electronic equipments such as brain, Intelligent wearable equipment.This terminal 300 includes acquiring unit 301, query unit 302 and judging unit 303。
Acquiring unit 301, for when detecting that JICQ is in running status, obtains described instant messaging work The current account run of tool;It is additionally operable to obtain the mark of present terminal.
Query unit 302, for the mark of the terminal according to described account inquiry last login.
Acquiring unit 301, if the mark of the mark and the terminal of described last login that are additionally operable to described present terminal differs Cause, obtain the time point of the terminal of described last login.
Judging unit 303, for judging whether the time point of the terminal of described last login is positioned at effect duration.
Acquiring unit 301, if the time point for the terminal of described last login is positioned at effect duration, then obtains on described The historical communication record stored in the terminal of secondary login is to complete synchronizing information.
Wherein, acquiring unit 301, query unit 302 and judging unit 303 may be used for performing step in embodiment 1 Method described in S101 to S106, specifically describes the detailed in Example 1 description to described method, does not repeats them here.
Refer to the structural representation that Fig. 4, Fig. 4 are a kind of terminals that one embodiment of the present of invention provides.Wherein, such as figure Shown in 4, the another kind of terminal 400 that one embodiment of the present of invention provides, wherein, this terminal can be for smart mobile phone, flat board The electronic equipments such as computer, Intelligent wearable equipment.This terminal 400 includes acquiring unit 401, query unit 402, judging unit 403, unit 404 and search unit 405 are determined.
Acquiring unit 401, for when detecting that JICQ is in running status, obtains described instant messaging work The current account run of tool;It is additionally operable to obtain the mark of present terminal.
Query unit 402, for the mark of the terminal according to described account inquiry last login.
Concrete, query unit 402 includes that the first transmission subelement and first receives subelement.
Described transmission subelement, for sending information inquiring request to server, described information inquiring request includes institute State account, so that the mark of the terminal of account last login described in described server lookup.
Described reception subelement, for receiving the mark of the terminal of the described account last login of described server feedback.
Acquiring unit 401, if the mark of the mark and the terminal of described last login that are additionally operable to described present terminal differs Cause, obtain the time point of the terminal of described last login.
Judging unit 402, for judging whether the time point of the terminal of described last login is positioned at effect duration.
Concrete, it is judged that unit 402 includes computation subunit, judgment sub-unit and determines subelement;
Described computation subunit, time point and current point in time for the terminal according to described last login calculate and are separated by Time period.
Described judgment sub-unit, is used for judging that whether described interval time section is less than preset time period.
Described determine subelement, if being less than preset time period for described interval time section, it is determined that described last time steps on The time point of the terminal of record is positioned at effect duration.
Acquiring unit 401, if the time point for the terminal of described last login is positioned at effect duration, then obtains on described The historical communication record stored in the terminal of secondary login is to complete synchronizing information.
Concrete, acquiring unit 401 includes that the second transmission subelement and second receives subelement.
Described second sends subelement, for sending synchronizing information request to server, wraps in the request of described synchronizing information Include the time point of the terminal of described last login so that described server obtain described last login terminal time point with After history log;
Described second receives subelement, for receiving the historical communication record of described server feedback.
Determine unit 404, if the mark for described present terminal is consistent with the mark of the terminal of described last login, then Determine the file that described JICQ is corresponding.
Search unit 405, for searching for described file to obtain historical communication record according to described account.
Wherein, acquiring unit 401, determine that unit 402 and map unit 403 may be used for performing step in embodiment 2 Method described in S201 to S210, specifically describes the detailed in Example 2 description to described method, does not repeats them here.
Refer to Fig. 5, in another embodiment of the present invention, it is provided that a kind of terminal.Described terminal 500 includes CPU501, memorizer 502, bus 503.Wherein, this terminal 500 can be smart mobile phone, panel computer, Intelligent worn device etc. There is the electronic equipment of call function.
Wherein, CPU501 performs to be stored in advance in the program in memorizer 502, and this execution process specifically includes:
When detecting that JICQ is in running status, obtain the account that described JICQ currently runs Number;
Obtain the mark of present terminal;
The mark of the terminal according to described account inquiry last login;
If the mark of described present terminal is inconsistent with the mark of the terminal of described last login, obtain described last login The time point of terminal;
Judge whether the time point of the terminal of described last login is positioned at effect duration;
If the time point of the terminal of described last login is positioned at effect duration, then obtain institute in the terminal of described last login The historical communication record of storage is to complete synchronizing information.
Optionally, the mark of the described terminal according to described account inquiry last login, including:
Sending information inquiring request to server, described information inquiring request includes described account, so that described clothes The mark of the terminal of described account last login inquired about by business device;
Receive the mark of the terminal of the described account last login of described server feedback.
Optionally, whether the time point of the described terminal judging described last login is positioned at effect duration and includes:
The time point of the terminal according to described last login and current point in time calculate interval time section;
Judge that whether described interval time section is less than preset time period;
If described interval time section is less than preset time period, it is determined that the time point of the terminal of described last login is positioned at In effect duration.
Optionally, the historical communication record stored in the terminal of the described last login of described acquisition is same to complete information Step, including:
To server send synchronizing information request, described synchronizing information request include described last login terminal time Between point so that described server obtains the history log that the time point of terminal of described last login is later;
Receive the historical communication record of described server feedback.
Optionally, described execution process also includes:
If the mark of described present terminal is consistent with the mark of the terminal of described last login, it is determined that described instant messaging The file that instrument is corresponding;
Described file is searched for obtain historical communication record according to described account.
It can be seen that in the scheme of the embodiment of the present invention, when detecting that JICQ is in running status, obtain The account that described JICQ currently runs;Obtain the mark of present terminal;According to described account inquiry last login The mark of terminal;If the mark of described present terminal is inconsistent with the mark of the terminal of described last login, obtain described last time The time point of the terminal logged in;Judge whether the time point of the terminal of described last login is positioned at effect duration;If described last time The time point of the terminal logged in is positioned at effect duration, then obtain the historical communication record stored in the terminal of described last login To complete synchronizing information.It is hereby understood that by implementing the technical scheme that the present invention provides, it is possible to determining that immediate communication tool is transported When the terminal of the account of row this time login is different from the terminal of last login, if the time of last login is before the deadline, then Automatically carry out the synchronization of historical communication record, thus provide conveniently to the use of user.
Refer to the frame that Fig. 6, Fig. 6 are the part-structures of the mobile phone that the terminal that one embodiment of the present of invention provides is correlated with Figure.With reference to Fig. 6, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 610, memorizer 620, input block 630, aobvious Show unit 640, sensor 650, voicefrequency circuit 660, Wireless Fidelity (Wireless Fidelity, WiFi) module 670, process The parts such as device 680 and power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 is not intended that right The restriction of mobile phone, can include that ratio illustrates more or less of parts, or combine some parts, or different parts cloth Put.
Below in conjunction with Fig. 6 each component parts of mobile phone carried out concrete introduction:
RF circuit 610 can be used for reception and the transmission of information.Generally, RF circuit 610 include but not limited to antenna, at least one Individual amplifier, transceiver, bonder, low-noise amplifier (LowNoiseAmplifier, LNA), duplexer etc..Additionally, RF Circuit 610 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use arbitrary communication mark Accurate or agreement, include but not limited to global system for mobile communications (Global System ofMobile communication, GSM), general packet radio service (General PacketRadio Service, GPRS), CDMA (Code DivisionMultiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (LongTermEvolution, LTE), Email, Short Message Service (ShortMessaging Service, SMS) etc..
Memorizer 620 can be used for storing software program and module, and processor 680 is stored in memorizer 620 by operation Software program and module, thus perform mobile phone various functions application and data process.Memorizer 620 can mainly include Storage program area and storage data field, wherein, storage program area can store the application journey needed for operating system, at least one function Sequence (such as synchronizing information function, touch control operation detection function etc.) etc.;The use that storage data field can store according to mobile phone is created The data (such as user totem information, historical log time record data etc.) etc. built.Additionally, memorizer 620 can include height Speed random access memory, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device, Or other volatile solid-state parts.
Input block 630 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input block 630 can 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 can include that optical profile type refers to Stricture of vagina module, capacitance type fingerprint module and RF-type fingerprint module.As a example by fingerprint module 631 is capacitance type fingerprint module, tool Body includes induction electrode (n1 abnormal induction electrode and n2 normal induction electrode) and the signal being connected with described induction electrode Process circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.).Except fingerprint module 631, input block 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but 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 the various of the information that inputted by user of display or the information being supplied to user and mobile phone Menu.Display unit 640 can 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) configure aobvious Display screen 641.Although in figure 6, fingerprint module 631 and display screen 641 are to realize the defeated of mobile phone as two independent parts Enter and input function, but in some embodiments it is possible to by integrated to fingerprint module 631 and display screen 641 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 can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display screen 641, proximity transducer can when mobile phone moves in one's ear, close display screen 641 and/or Backlight.As the one of motion sensor, accelerometer sensor can detect the big of (generally three axles) acceleration in all directions Little, can detect that size and the direction of gravity time static, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Can also configure as mobile phone Other sensors such as gyroscope, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 660, speaker 661, microphone 662 can provide the audio interface between user and mobile phone.Audio-frequency electric The signal of telecommunication after the voice data conversion that road 660 can will receive, is transferred to speaker 661, speaker 661 is converted to sound Signal exports;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 662, voicefrequency circuit 660 turn after receiving It is changed to voice data, then after voice data output processor 680 is processed, through RF circuit 610 to be sent to such as another mobile phone, Or voice data is exported to memorizer 620 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 670 Part, browsing 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 also not belonging to must be configured into of mobile phone, can not change as required completely Omit in the scope of the essence becoming invention.
Processor 680 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, logical Cross operation or perform to be stored in the software program in memorizer 620 and/or module, and calling and be stored in memorizer 620 Data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 680 can wrap Include one or more processing unit;Preferably, processor 680 can integrated application processor and modem processor, wherein, should Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Mobile phone also includes the power supply 690 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 680, thus realizes management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
In embodiment shown in earlier figures 1, Fig. 2, each step method flow process can structure based on this mobile phone realize.
In embodiment shown in earlier figures 3, Fig. 4, each unit function can structure based on this mobile phone realize.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.Such as, device embodiment described above is only schematically, and the division of the most described unit is only one Logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or can To be integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, Can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present 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 two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be for personal computer, server or the network equipment etc.) perform the whole of method described in each embodiment of the present invention or Part steps.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited Various Jie that can store program code such as reservoir (RAM, RandomAccess Memory), portable hard drive, magnetic disc or CD Matter.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (11)

1. the method for a synchronizing information, it is characterised in that described method includes:
When detecting that JICQ is in running status, obtain the account that described JICQ currently runs;
Obtain the mark of present terminal;
The mark of the terminal according to described account inquiry last login;
If the mark of described present terminal is inconsistent with the mark of the terminal of described last login, obtain the end of described last login The time point of end;
Judge whether the time point of the terminal of described last login is positioned at effect duration;
If the time point of the terminal of described last login is positioned at effect duration, then obtains in the terminal of described last login and stored Historical communication record to complete synchronizing information.
Method the most according to claim 1, it is characterised in that the described terminal according to described account inquiry last login Mark, including:
Sending information inquiring request to server, described information inquiring request includes described account, so that described server Inquire about the mark of the terminal of described account last login;
Receive the mark of the terminal of the described account last login of described server feedback.
Method the most according to claim 2, it is characterised in that the time point of the terminal of the described last login of described judgement is No it be positioned at effect duration and include:
The time point of the terminal according to described last login and current point in time calculate interval time section;
Judge that whether described interval time section is less than preset time period;
If described interval time section is less than preset time period, it is determined that the time point of the terminal of described last login is positioned at effectively In phase.
Method the most according to claim 3, it is characterised in that stored in the terminal of the described last login of described acquisition Historical communication record to complete synchronizing information, including:
Sending synchronizing information request to server, the request of described synchronizing information includes the time of the terminal of described last login Point, so that the history log that the time point of the terminal of the described server described last login of acquisition is later;
Receive the historical communication record of described server feedback.
5. to go 1 to 4 arbitrary described method according to right, it is characterised in that described method also includes:
If the mark of described present terminal is consistent with the mark of the terminal of described last login, it is determined that described JICQ Corresponding file;
Described file is searched for obtain historical communication record according to described account.
6. a terminal, it is characterised in that described terminal includes:
Acquiring unit, for when detecting that JICQ is in running status, obtains described JICQ current The account run;It is additionally operable to obtain the mark of present terminal;
Query unit, for the mark of the terminal according to described account inquiry last login;
Described acquiring unit, if the mark being additionally operable to described present terminal is inconsistent with the mark of the terminal of described last login, Obtain the time point of the terminal of described last login;
Judging unit, for judging whether the time point of the terminal of described last login is positioned at effect duration;
Described acquiring unit, if the time point for the terminal of described last login is positioned at effect duration, then obtains described last time The historical communication record stored in the terminal logged in is to complete synchronizing information.
Terminal the most according to claim 6, it is characterised in that described query unit includes the first transmission subelement and first Receive subelement;
Described transmission subelement, for sending information inquiring request to server, described information inquiring request includes described account Number, so that the mark of the terminal of account last login described in described server lookup;
Described reception subelement, for receiving the mark of the terminal of the described account last login of described server feedback.
Terminal the most according to claim 7, it is characterised in that described judging unit includes computation subunit, judges that son is single Unit and determine subelement;
Described computation subunit, time point and current point in time for the terminal according to described last login calculate interval time Section;
Described judgment sub-unit, is used for judging that whether described interval time section is less than preset time period;
Described determine subelement, if being less than preset time period for described interval time section, it is determined that described last login The time point of terminal is positioned at effect duration.
Terminal the most according to claim 8, it is characterised in that described acquiring unit includes the second transmission subelement and second Receive subelement;
Described second sends subelement, and for sending synchronizing information request to server, the request of described synchronizing information includes institute State the time point of the terminal of last login, so that the time point of the terminal of the described server described last login of acquisition is later History log;
Described second receives subelement, for receiving the historical communication record of described server feedback.
10. to go 6 to 9 arbitrary described terminals according to right, it is characterised in that described terminal also includes determining unit and search Unit;
Described determine unit, if the mark for described present terminal is consistent with the mark of the terminal of described last login, the most really The file that fixed described JICQ is corresponding;
Described search unit, for searching for described file to obtain historical communication record according to described account.
11. 1 kinds of terminals, it is characterised in that including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs if claim 1 is to right Require the method described in 5 any one.
CN201610827074.1A 2016-09-14 2016-09-14 A kind of method and terminal of synchronizing information Active CN106330684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610827074.1A CN106330684B (en) 2016-09-14 2016-09-14 A kind of method and terminal of synchronizing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610827074.1A CN106330684B (en) 2016-09-14 2016-09-14 A kind of method and terminal of synchronizing information

Publications (2)

Publication Number Publication Date
CN106330684A true CN106330684A (en) 2017-01-11
CN106330684B CN106330684B (en) 2019-10-01

Family

ID=57788036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610827074.1A Active CN106330684B (en) 2016-09-14 2016-09-14 A kind of method and terminal of synchronizing information

Country Status (1)

Country Link
CN (1) CN106330684B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337151A (en) * 2018-01-16 2018-07-27 吉浦斯信息咨询(深圳)有限公司 Realize that the more equipment of user message synchronize the method and system roamed in instant messaging
CN108804434A (en) * 2017-04-26 2018-11-13 腾讯科技(深圳)有限公司 A kind of message query method, server and terminal device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546779A (en) * 2011-12-27 2012-07-04 Tcl集团股份有限公司 Synchronized method and device of application data across devices
CN103118032A (en) * 2013-03-01 2013-05-22 北京奇艺世纪科技有限公司 Method, terminals and server for synchronization of terminal login accounts
CN103139259A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and server of achieving low-flux synchronous message logging
CN103179016A (en) * 2011-12-21 2013-06-26 腾讯科技(深圳)有限公司 Method and system for updating multi-case terminal roaming configuration data and server
CN103684980A (en) * 2012-09-17 2014-03-26 阿里巴巴集团控股有限公司 Method and system for synchronizing chatting records in instant chat tool
CN104092646A (en) * 2013-10-28 2014-10-08 腾讯科技(深圳)有限公司 Operation synchronization method and device
CN104765753A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Webpage browsing method and device
CN104883292A (en) * 2015-04-16 2015-09-02 江苏中威科技软件系统有限公司 Method and system for realizing message roaming at different terminals
CN108337151A (en) * 2018-01-16 2018-07-27 吉浦斯信息咨询(深圳)有限公司 Realize that the more equipment of user message synchronize the method and system roamed in instant messaging

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139259A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and server of achieving low-flux synchronous message logging
CN103179016A (en) * 2011-12-21 2013-06-26 腾讯科技(深圳)有限公司 Method and system for updating multi-case terminal roaming configuration data and server
CN102546779A (en) * 2011-12-27 2012-07-04 Tcl集团股份有限公司 Synchronized method and device of application data across devices
CN103684980A (en) * 2012-09-17 2014-03-26 阿里巴巴集团控股有限公司 Method and system for synchronizing chatting records in instant chat tool
CN103118032A (en) * 2013-03-01 2013-05-22 北京奇艺世纪科技有限公司 Method, terminals and server for synchronization of terminal login accounts
CN104092646A (en) * 2013-10-28 2014-10-08 腾讯科技(深圳)有限公司 Operation synchronization method and device
CN104765753A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Webpage browsing method and device
CN104883292A (en) * 2015-04-16 2015-09-02 江苏中威科技软件系统有限公司 Method and system for realizing message roaming at different terminals
CN108337151A (en) * 2018-01-16 2018-07-27 吉浦斯信息咨询(深圳)有限公司 Realize that the more equipment of user message synchronize the method and system roamed in instant messaging

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804434A (en) * 2017-04-26 2018-11-13 腾讯科技(深圳)有限公司 A kind of message query method, server and terminal device
CN108804434B (en) * 2017-04-26 2022-12-27 腾讯科技(深圳)有限公司 Message query method, server and terminal equipment
CN108337151A (en) * 2018-01-16 2018-07-27 吉浦斯信息咨询(深圳)有限公司 Realize that the more equipment of user message synchronize the method and system roamed in instant messaging

Also Published As

Publication number Publication date
CN106330684B (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN106331359B (en) A kind of speech signal collection method, device and terminal
CN106055957A (en) Fingerprint unlocking method and terminal
CN106211059A (en) A kind of method connecting network and terminal
CN106200970A (en) A kind of method of split screen display available and terminal
CN106412033A (en) Data migration method and terminal
CN106383628A (en) Screen-locking picture displaying method and terminal
CN106446111A (en) Data migration method and terminal
CN106155557A (en) A kind of virtual key display packing and mobile terminal
CN106170034A (en) A kind of sound effect treatment method and mobile terminal
CN106714333A (en) Data migration method and terminal
CN106127001A (en) A kind of method of start and terminal
CN106294668A (en) A kind of method that screen locking pictorial information shows and terminal
CN103631592B (en) A kind of configuration, call method, device and equipment that shows resource
CN103561155B (en) Send the method for note, device and terminal
CN106453571A (en) Data migration method and terminal
CN106254488A (en) Method, the method for broadcasting and the relevant apparatus that screen locking picture pushes
CN106330684A (en) Information synchronization method and terminal
CN106487878A (en) A kind of method of Data Migration and terminal
CN106951223A (en) Method and terminal that a kind of desktop is shown
CN106657214A (en) Data migration method and terminal
CN106095558A (en) A kind of method of audio effect processing and terminal
CN106101420A (en) A kind of method adjusting audio and terminal
CN106254630A (en) A kind of method received calls and terminal
CN106331067A (en) Method for pushing screen locking magazine, terminal and server
CN106487649A (en) The prompting control method of group message and terminal unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant