CN106230709A - The method and device that the difference of a kind of chat message synchronizes - Google Patents
The method and device that the difference of a kind of chat message synchronizes Download PDFInfo
- Publication number
- CN106230709A CN106230709A CN201610825449.0A CN201610825449A CN106230709A CN 106230709 A CN106230709 A CN 106230709A CN 201610825449 A CN201610825449 A CN 201610825449A CN 106230709 A CN106230709 A CN 106230709A
- Authority
- CN
- China
- Prior art keywords
- chat message
- synchronized
- state
- terminal unit
- terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses the method and device that the difference of a kind of chat message synchronizes, method therein comprises the steps that in the case of target social activity account logs on multiple terminal units, monitors whether described target social activity account has chat message to be synchronized;When monitoring described target social activity account and having chat message to be synchronized, obtaining the screen state needing to carry out the terminal unit of chat message synchronization in the plurality of terminal unit, described screen state includes black state;Control not to be synchronized to described chat message to be synchronized to need to carry out on chat message synchronization and first terminal equipment that screen state is black state.Use the present invention can solve chat message indistinction simultaneous display on different terminal equipment of same social account, the problem causing the inconvenience brought under some application scenarios in prior art, promote Consumer's Experience.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to the method and device that the difference of a kind of chat message synchronizes.
Background technology
Along with the development of internet technique and improving constantly of people's living standard, the use of various network applications more comes
The most universal, Internet chat has become as indispensable communication converter tools in people's life.In social networking application, particularly move
In dynamic social networks application, most social tool, such as QQ, wechat, footpath between fields, footpath between fields etc. are all that an account number correspondence one is virtual
Role, user uses an account to log in, and the relevant information that this account is corresponding, no matter log in this account, all in which terminal
Relevant information corresponding under this account can be obtained.
Such as, along with constantly improving and progressive of QQ application, QQ is newly-increased message synchronization function, and this function refers to that user can
With the same account by logging in oneself on various smart machines (mobile phone, computer, pad etc.), chatting of oneself can be seen
It record, such as multiple chat records such as online chatting, transmitting video files, voice documents.The most all produced by this account
Chat message can log at each and synchronize in terminal of this account.Such as, computer is being used, at computer when us
In lighting, and do not use mobile phone, when mobile phone is in blank screen, if message all shows on computer and mobile phone, then may user's root
Originally will not be checked by not currently used mobile phone, then may waste the electricity of the mobile phone that currently need not use.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that the method for a kind of chat message difference synchronization and dress
Put, chat message indistinction simultaneous display on different terminal equipment of same social account in prior art can be solved, lead
The problem causing the inconvenience brought under some application scenarios.
First aspect, embodiments provides the method that the difference of a kind of chat message synchronizes, it may include:
In the case of target social activity account logs on multiple terminal units, monitor whether described target social activity account has
Chat message to be synchronized;
When monitoring described target social activity account and having chat message to be synchronized, obtain in the plurality of terminal unit and need
The screen state of the terminal unit of chat message synchronization to be carried out, described screen state includes black state;
Control that described chat message to be synchronized not being synchronized to needs to carry out chat message synchronization and screen state is black
On the first terminal equipment of screen state.
Second aspect, embodiments provides the device that the difference of a kind of chat message synchronizes, it may include:
Monitoring modular, in the case of target social activity account logs on multiple terminal units, monitors described target
Whether social account has chat message to be synchronized;
Acquisition module, for when monitoring described target social activity account and having chat message to be synchronized, obtains described many
Needing to carry out the screen state of the terminal unit of chat message synchronization in individual terminal unit, described screen state includes blank screen shape
State;
First control module, is not synchronized to need to carry out chat message for control same by described chat message to be synchronized
In step and first terminal equipment that screen state is black state.
The third aspect, embodiments provides a kind of terminal unit, it may include:
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 such as the embodiment of the present invention
Part or all of step described in any one method of first aspect.
Fourth aspect, the present invention provides a kind of computer-readable storage medium, is used for saving as embodiment of the present invention second aspect
The computer software instructions used by device that the chat message difference provided synchronizes, it comprises for performing designed by above-mentioned aspect
Program.
Implement the embodiment of the present invention, have the advantages that
The embodiment of the present invention, in the case of logging on multiple terminal units in target social activity account, monitoring is described
Whether target social activity account has chat message to be synchronized;Chat message to be synchronized is had when monitoring described target social activity account
Time, obtain the screen state needing to carry out the terminal unit of chat message synchronization in the plurality of terminal unit, described screen shape
State includes black state;Control not to be synchronized to described chat message to be synchronized need to carry out chat message synchronization and screen shape
State is on the first terminal equipment of black state.I.e. when the situation that the same account of user logs on multiple terminal units
Under, it is currently to light or black state decides whether chat message to be synchronized is synchronized to this end according to terminal unit
On end equipment, the network caused due to unnecessary synchronizing information to facilitate user to save while checking chat message in time
The waste of resource.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the system tray framework map that the chat messages that the embodiment of the present invention provides synchronizes;
Fig. 2 is the schematic flow sheet of the method that a kind of chat message difference that the embodiment of the present invention provides synchronizes;
Fig. 3 is the schematic flow sheet of the method that the another kind of chat message difference that the embodiment of the present invention provides synchronizes;
Fig. 4 a is a concrete application scenarios signal of the method that the chat message difference that the embodiment of the present invention provides synchronizes
Figure;
Fig. 4 b is that another the concrete application scenarios of the method that the chat message difference that the embodiment of the present invention provides synchronizes shows
It is intended to;
Fig. 5 is the structural representation of the device that a kind of chat message difference that the embodiment of the present invention provides synchronizes;
Fig. 6 is the structural representation of another embodiment of the device that the chat message difference that the embodiment of the present invention provides synchronizes
Figure;
Fig. 7 is the structural representation of the terminal unit that the embodiment of the present invention provides;
Fig. 8 is the structural representation of another embodiment of the terminal unit that the present invention provides.
Detailed description of the invention
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 clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under not making creative work premise, all should belong to the model of present invention protection
Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " and " in description and claims of this specification and described accompanying drawing
Four " it is etc. for distinguishing different object rather than for describing particular order.Additionally, term " includes " and " having " and it
Any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, be
System, product or equipment are not limited to step or the unit listed, but the most also include step or the list do not listed
Unit, or the most also include other step intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
It is contained at least one embodiment of the present invention.It is identical that each position in the description occurs that this phrase might not each mean
Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and
Implicitly being understood by, embodiment described herein can combine with other embodiments.
Hereinafter, the part term in the application is explained, in order to skilled artisan understands that.
1), terminal unit, also referred to as subscriber equipment (User Equipment, UE), is that one provides a user with voice
And/or the equipment of data connectivity, as having the portable equipment of wireless connecting function, mobile unit etc..Common terminal sets
For such as including: mobile phone, panel computer, notebook computer, palm PC, mobile internet device (Mobile Internet
Device, MID), wearable device, Intelligent bracelet, pedometer, MP3 player (Moving Picture Experts Group
Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3), MP4 (Moving Picture Experts
Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 3) player, personal digital assistant
(Personal Digital Assistant, PDA) and pocket computer on knee etc..
2), application program, can be application software (Application, APP), refer to as completing a certain or multinomial specific work
Make computer program, the various programming languages that i.e. user can use, and with various programming languages work out
The set of application program, is divided into the application under each type operating system on application software package and user program, such as mobile phone or computer
Software;May also mean that the operating system executable application programs per se with some function of terminal unit.
3), " multiple " refer to two or more."and/or", describes the incidence relation of affiliated partner, and expression can be deposited
In three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B, individualism B these three situation simultaneously.
Character "/" typicallys represent the forward-backward correlation relation to liking a kind of "or".
For the ease of understanding the embodiment of the present invention, the system architecture the most first provided the embodiment of the present invention is described.
Referring to Fig. 1, Fig. 1 is the system tray framework schematic diagram that a kind of chat messages that the embodiment of the present invention provides synchronizes.Such as Fig. 1 institute
Showing, the system architecture that the embodiment of the present invention provides is a framework providing communication service based on client-server architecture, should
System architecture can include, social networking application server and multiple terminal unit, wherein, sending side terminal equipment and recipient
Terminal unit all logs in relevant social account by Internet network and is linked in social networking application server, and i.e. sender is eventually
End equipment will need the chat message sent to pass through first to be sent to social networking application server, then is sent to by social networking application server
Receiving side terminal equipment (vice versa), thus complete from sending side terminal equipment to the chat message of receiving side terminal equipment
(such as word message, speech message, animated message, video messaging, transmission file etc.) mutual.Specifically, use same as user
One social account (the such as all kinds of social networking application such as QQ, wechat, footpath between fields, footpath between fields) is at different terminal equipment (such as mobile phone, computer, pad etc.)
Upper when logging in (can be it is also possible to be have after first having different time), final social networking application server all can be by this social activity
Chat messages (being probably certain period of time can also be all time periods) corresponding to account is synchronized to all log in this social activity
On the terminal unit of account, the most all chat messages produced by this account can log in the terminal of this account at each
On synchronize.Each embodiment in the present invention is then based on system above framework and technical background, in the feelings that some are special
Under condition, user may not want that all of message synchronizes in all of terminal, and the improvement carried out, in order to promote Consumer's Experience.
Will also be appreciated that the system architecture in figure 1 above is preferably a kind of embodiment party in the embodiment of the present invention
Formula, the system architecture in the embodiment of the present invention includes but are not limited to system above framework, as long as being capable of in the present invention
The system architecture that chat message difference synchronizes belongs to the scope that the present invention protects and contains.
Fig. 2 is the schematic flow sheet of the method that a kind of chat message difference that the embodiment of the present invention provides synchronizes, and below will
In conjunction with accompanying drawing 2 from social networking application server or the controller of terminal unit or processor side to the embodiment of the present invention
The method planting chat message difference synchronization describes in detail, and the method comprises the following steps S201-step S203.
Step S201: in the case of target social activity account logs on multiple terminal units, monitors described target social
Whether account has chat message to be synchronized.
Specifically, in various embodiments of the present invention, in the case of target social activity account logs on multiple terminal units, can
To be divided into two kinds of situations, Yi Zhongshi: user logs in the social account of oneself on multiple terminal units simultaneously, if user is at mobile phone
With logged in oneself No. QQ on panel computer respectively;Another kind is to use different terminal units to log in the different time periods
Same account, such as 9 logged in oneself on mobile phone No. QQ in user's morning, after at 10 in the morning exits, 11 again at flat board
Oneself No. QQ is logged on computer.Be required under both of these case synchronize chat message, former can be understood as mobile phone with
Being mutually in step between panel computer, i.e. mobile phone are at the chat message synchronized on panel computer, and panel computer is also synchronizing mobile phone
On chat message, now, synchronize be mutual for mobile phone and panel computer;Latter it is to be understood that user early
The upper mobile phone that first employs have received chat message, and user re-used panel computer when logging in later, can synchronize again on mobile phone in morning
The chat message received, now panel computer is equivalent at the chat message synchronized on mobile phone.
I.e. can simply be interpreted as, for same chat message (send or receive), after log in and get this chat
The terminal unit of information always synchronize first to send or first receive chat message on the terminal unit of this chat message (or
In certain time or all of), specifically to see authority (regular identity or member's body in this way of this target social activity account
Part etc.);If for same chat messages (send or receive), there is two and the above end simultaneously getting this chat message
End equipment, then it is believed that this plural terminal unit is the chat letter being mutually in step on wherein any one terminal unit
Breath.For example, multiple terminal units might not be required for carrying out the synchronization of chat message, example by all of terminal unit
If, terminal unit 1 is at 9 chat messages having shown that 9:00 to 9:30, if now terminal unit 9:30 just logs in
Words, although the most now terminal unit 1 and terminal unit 2 have all logged in this target social activity account, but only terminal unit 2 needs
Synchronize the chat message (chat message to be synchronized) of 9:00 to 9:30.Visible, the not all target social activity account of having logged in
Terminal unit is required for synchronization and treats chat message.In summary, in the embodiment of the present invention, for same chat messages (if
It is current time), when multiple terminal units have currently logged in target social activity account, multiple terminal units are required for the most same
Step;For same chat messages (if it is current time), multiple terminal units have and logged in before current time, also have
When logging in after current time, log in the most afterwards needs synchronization, and first log in need not synchronization.
Based on above-mentioned, in the case of target social activity account logs on multiple terminal units, monitor this target social activity account
Number whether have chat message to be synchronized, including monitor multiple terminal successively log in target social activity account time, after the terminal that logs in
Equipment is currently the need of the chat message (chat record) receiving or sending on the terminal unit logged in before synchronizing;Also wrap
Include multiple terminal unit when logging in target social activity account simultaneously, all log in that terminal unit is currently needed for synchronizing simultaneously all i.e.
Time chat message.
If it should be noted that each embodiment is carried out from controller or the processor side of terminal unit in the present invention
The execution of action, then it is believed that the control that is actively engaged in by controller or processor of each terminal unit, as controlling to remove
Action beyond self is it can be understood as be uploaded to control instruction or signal at social networking application server, then by social networking application
Server is pass on to other terminal unit corresponding;And if be understood to be performed by social networking application server side, then can be by
What social networking application server was interpreted as in the system that chat messages synchronizes controls leading action executing main body.The present invention is to this not
Make concrete restriction.
Step S202: when monitoring described target social activity account and having chat message to be synchronized, obtain the plurality of end
Needing to carry out the screen state of the terminal unit of chat message synchronization in end equipment, described screen state includes black state.
Specifically, if judging that step S201 has chat message to be synchronized, then obtain and multiple logged in this target society
The screen state that the terminal unit that needs in the terminal unit of the number of handing over the accounts to carry out chat message synchronization is current, in order to follow-up judgement
Whether chat message to be synchronized is sent on this terminal unit, in order to avoid when some terminal unit is at blank screen owing to wanting
Synchronize chat message to be synchronized, and be lit frequently, the power consumption of waste terminal unit.
Step S203: control not to be synchronized to need to carry out chat message synchronization and screen by described chat message to be synchronized
State is on the first terminal equipment of black state.
Specifically, by the terminal unit that screen state is black state, the embodiment of the present invention is by being judged to that target terminal sets
Standby (i.e. user currently may be at the terminal unit used), thus control described chat message to be synchronized not to be synchronized to this
First terminal equipment, thus alleviate the EMS memory occupation burden on the burden of network and related terminal device.
The embodiment of the present invention, in the case of logging on multiple terminal units in target social activity account, monitoring is described
Whether target social activity account has chat message to be synchronized;Chat message to be synchronized is had when monitoring described target social activity account
Time, obtain the screen state needing to carry out the terminal unit of chat message synchronization in the plurality of terminal unit, described screen shape
State includes black state;Control not to be synchronized to described chat message to be synchronized need to carry out chat message synchronization and screen shape
State is on the first terminal equipment of black state.I.e. when the situation that the same account of user logs on multiple terminal units
Under, it is currently to light or black state decides whether chat message to be synchronized is synchronized to this end according to terminal unit
On end equipment, the network caused due to unnecessary synchronizing information to facilitate user to save while checking chat message in time
The waste of resource.
Fig. 3 is the schematic flow sheet of the method that the another kind of chat message difference that the embodiment of the present invention provides synchronizes, below
Accompanying drawing 3 will be combined from social networking application server or the controller of terminal unit or processor side to the embodiment of the present invention
The method that another kind of chat message difference synchronizes describes in detail, as it is shown on figure 3, the method may comprise steps of
S301-step S307.
Step S301: in the case of target social activity account logs on multiple terminal units, monitors described target social
Whether account has chat message to be synchronized.
Step S302: when monitoring described target social activity account and having chat message to be synchronized, to the plurality of terminal
Equipment needs the terminal unit carrying out chat message synchronization send screen state and obtain instruction.
Step S303: receive the plurality of terminal unit needs carry out chat message synchronization terminal unit feedback black
Screen state or illuminating state.
Step S304: control not to be synchronized to need to carry out chat message synchronization and screen by described chat message to be synchronized
State is on the first terminal equipment of black state.
Specifically, if terminal unit is black state, then it represents that this terminal unit possible is not using, therefore the most not
Give synchronization.
Step S305: control to be synchronized to need to carry out chat message synchronization and screen shape by described chat message to be synchronized
State is on the second terminal unit of illuminating state.
Specifically, if terminal unit is illuminating state, then it represents that this terminal unit possible may be currently in use, the most permissible
Synchronize.
Step S306: send information to described first terminal equipment, described information is for pointing out by institute
State chat message to be synchronized to be synchronized on described second terminal unit.
Specifically, as the setting of hommization, can not synchronize to first terminal equipment and same to the second terminal unit
In the case of having walked chat message to be synchronized, this information is sent to first terminal equipment, in order to notify user
Go to and check on the second terminal unit, in the case of ensure that chat message reasonable synchronization, can ensure that again chat message
Do not omit.
Step S307: described first terminal equipment is switched to illuminating state by black state if detecting, then treat described
The chat message synchronized is synchronized on described first terminal equipment.
Specifically, if first terminal equipment is switched for illuminating state by black state, then it is believed that this terminal unit
May start to be used by a user, i.e. described chat message to be synchronized can be synchronized on described first terminal equipment.
As shown in fig. 4 a, the concrete applied field of the method that Fig. 4 a synchronizes for the chat message difference that the embodiment of the present invention provides
Scape schematic diagram, in Fig. 4 a, such as user is the most chatted by A model device, through judging the screen that A model device is current
State is blank screen;And as shown in Figure 4 b, Fig. 4 b distinguishes the another of the method for synchronization by the chat message that the embodiment of the present invention is provided
A kind of concrete application scenarios schematic diagram, in Fig. 4 b, user has logged in target social activity account equally by Type B equipment, also enters
The same chat content of row, but it is illuminating state, therefore, illuminating state through judging the current screen state of Type B equipment
Type B equipment on can with normal synchronized, but the temporarily not display of the A model device of black state, it is possible to further aobvious
Show the terminal unit model of particular number and simultaneous display, and provide user can the most completely check this chat message
Option facilitate user to check on target terminal equipment, promote Consumer's Experience.
The embodiment of the present invention, in the case of logging on multiple terminal units in target social activity account, monitoring is described
Whether target social activity account has chat message to be synchronized;Chat message to be synchronized is had when monitoring described target social activity account
Time, obtain the screen state needing to carry out the terminal unit of chat message synchronization in the plurality of terminal unit, described screen shape
State includes black state;Control not to be synchronized to described chat message to be synchronized need to carry out chat message synchronization and screen shape
State is on the first terminal equipment of black state.I.e. when the situation that the same account of user logs on multiple terminal units
Under, it is currently to light or black state decides whether chat message to be synchronized is synchronized to this end according to terminal unit
On end equipment, the network caused due to unnecessary synchronizing information to facilitate user to save while checking chat message in time
The waste of resource.
The embodiment of the present invention additionally provides the device 10 that the difference of a kind of chat message synchronizes, as it is shown in figure 5, Fig. 5 is this
The structural representation of the device that the chat message difference in bright embodiment synchronizes, below in conjunction with accompanying drawing 5, distinguishes chat message
The structure of the device 10 synchronized describes in detail.This device 10 comprises the steps that monitoring modular 101, acquisition module 102 and the first control
Molding block 103, wherein
Monitoring modular 101, in the case of target social activity account logs on multiple terminal units, monitors described mesh
Whether the social account of mark has chat message to be synchronized;
Acquisition module 102, for when monitoring described target social activity account and having chat message to be synchronized, obtains described
Needing to carry out the screen state of the terminal unit of chat message synchronization in multiple terminal units, described screen state includes blank screen shape
State;
First control module 103, is not synchronized to described chat message to be synchronized needs for control and carries out chat letter
On the first terminal equipment that breath synchronizes and screen state is black state.
Specifically, the knot of another embodiment of the device that the chat message difference that the present invention as shown in Figure 6 provides synchronizes
Structure schematic diagram, this device 10 may also include that
Synchronization module 104, if for detecting that described first terminal equipment is switched to illuminating state by black state, then will
Described chat message to be synchronized is synchronized on described first terminal equipment.
Further, described screen state includes illuminating state, and as shown in Figure 6, described acquisition module 102 comprises the steps that
Transmitting element 1021, for needing the terminal unit carrying out chat message synchronization to send out in the plurality of terminal unit
Screen state is sent to obtain instruction;
Receive unit 1022, for receiving the terminal unit needing to carry out chat message synchronization in the plurality of terminal unit
The black state of feedback or illuminating state.
Yet further, described screen state includes illuminating state, and as shown in Figure 6, described device may also include that
Second control module 105, is synchronized to need to carry out chat message by described chat message to be synchronized for control
Synchronize and on the second terminal unit that screen state is illuminating state.
Yet further, as shown in Figure 6, described device may also include that
Reminding module 106, for sending information to described first terminal equipment, described information is for prompting
Through described chat message to be synchronized is synchronized on described second terminal unit.
It will be appreciated that in the device 10 that synchronizes of chat message difference the function of each module can corresponding with reference to above-mentioned Fig. 1 extremely
The specific implementation in each method embodiment in Fig. 4, repeats no more here.
In the present embodiment, the device 10 that chat message difference synchronizes is to present in modular form.Here " mould
Block " ASIC (application-specific integrated circuit, ASIC) can be referred to, perform
One or more softwares or the processor of firmware program and memorizer, integrated logic circuit, and/or other can provide above-mentioned merit
The device of energy.Additionally, monitoring modular 101 and the first control module 103 can be by the processors 201 of the terminal unit shown in Fig. 7
Realizing, acquisition module 102 can be realized by the communication interface 203 of the terminal unit shown in Fig. 7.
The embodiment of the present invention additionally provides a kind of terminal unit 20, as it is shown in fig. 7, Fig. 7 is the end in the embodiment of the present invention
The structural representation of end equipment, describes in detail to the structure of terminal unit 20 below in conjunction with accompanying drawing 7.This terminal unit 20
Including at least one processor 201, at least one memorizer 202, at least one communication interface 203.Described processor 201, institute
State memorizer 202 and described communication interface 203 connected by described communication bus and complete mutual communicating.
Processor 201 can be general central processor (CPU), microprocessor, ASIC
(application-specific integrated circuit, ASIC), or one or more for controlling above scheme journey
The integrated circuit that sequence performs.
Communication interface 203, is used for and other equipment or communication, such as Ethernet, wireless access network (RAN), nothing
Line LAN (Wireless Local Area Networks, WLAN) etc..
Memorizer 202 can be that read only memory (read-only memory, ROM) maybe can store static information and instruction
Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored
Breath and the other kinds of dynamic memory of instruction, it is also possible to be EEPROM (Electrically
Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storage, laser disc storage (include compress laser disc, laser dish, laser disc, digital universal
Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or storing that there is finger
Order or the desired program code of data structure form by any other medium of computer access, but can be not limited to this.
Memorizer can be to be individually present, and is connected with processor by bus.Memorizer can also integrate with processor.
Wherein, described memorizer 202 is used for storing the application code performing above scheme, and by processor 201
Control to perform.Described processor 201 is for performing the application code of storage in described memorizer 202.
The code of memorizer 202 storage can perform Fig. 1-Fig. 4 of terminal unit execution provided above and (include Fig. 4 a and figure
The method that chat message difference 4b) synchronizes, such as in the case of target social activity account logs on multiple terminal units, prison
Survey whether described target social activity account has chat message to be synchronized;To be synchronized chatting is had when monitoring described target social activity account
During it information, obtain the screen state needing to carry out the terminal unit of chat message synchronization in the plurality of terminal unit, described
Screen state includes black state;Control not to be synchronized to described chat message to be synchronized to need to carry out chat message synchronization and
Screen state is on the first terminal equipment of black state.
It is understood that when the executive agent in each embodiment of the method for the present invention is social networking application server, should
The structure chart of server, with the structural representation of above-mentioned terminal unit, does not repeats them here.
Refer to the structural representation that Fig. 8, Fig. 8 are another embodiments of the terminal unit that the embodiment of the present invention provides.Should
Terminal unit 30 can be intelligent mobile terminal (such as mobile phone), and terminal unit 30 includes: radio frequency is (English: radio
Frequency, RF) circuit 301, storage have the memorizer 302 of one or more computer program, input equipment 303, output dress
Put 304, sensor 305, voicefrequency circuit 306, Wireless Fidelity (English: wireless fidelity, WiFi) module 307, include
The parts such as the processor 308 and the power supply 303 that have one or more process core.It will be understood by those skilled in the art that Fig. 8
Shown in terminal unit structure be not intended that the restriction to terminal unit, can include ratio illustrate more or less of parts,
Or combine some parts, or different parts are arranged.Wherein:
RF circuit 301 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station
After downlink information receives, one or more processor 308 is transferred to process;It addition, be sent to base station by relating to up data.Logical
Often, RF circuit 301 includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, user identity
Module (English: subscriber identity module, SIM) card, transceiver, bonder, low-noise amplifier (English
Literary composition: low noise amplifier, LNA), duplexer etc..Additionally, RF circuit 301 can also by radio communication and network or
Other-end equipment communicates.Described radio communication can use arbitrary communication standard or agreement, includes but not limited to the whole world
Mobile communcations system (English: global system of mobile communication, GSM), general packet radio service
(English: general packet radio service, GPRS), CDMA are (English: code division multiple
Access, CDMA), WCDMA (English: wideband code division multiple access, WCDMA),
Long Term Evolution (English: long term evolution, LTE), Email, Short Message Service are (English: short
Messaging service, SMS) etc..
Memorizer 302 can be used for storing computer program and module, and processor 308 is stored in memorizer by operation
The computer program of 302 and module, thus perform the application of various function and data process.Memorizer 302 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 sound-playing function, image player function etc.) etc.;Storage data field can store the use institute according to terminal unit 30
The data (photo that such as shoots, voice data, video data etc.) etc. created.Additionally, memorizer 302 can include at a high speed with
Machine access memorizer, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device or its
His volatile solid-state part.Correspondingly, memorizer 302 can also include Memory Controller, to provide processor 308 He
The input equipment 303 access to memorizer 302.
Input equipment 303 can be used for receiving numeral or the character information of input, and produces and user setup and function
Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input equipment 303 can include touching
Sensitive surfaces 3031 and other input equipments 3032.Touch sensitive surface 3031, also referred to as touch display panel or Trackpad, can receive
Collection user thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa touching
Operation on sensitive surfaces 3031 or near Touch sensitive surface 3031), and connect dress accordingly according to formula set in advance driving
Put.Optionally, Touch sensitive surface 3031 can include touch detecting apparatus and two parts of touch controller.Wherein, detection dress is touched
Put the touch orientation of detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch control
Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 308, and can receive
Order that processor 308 is sent also is performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Polytype realizes Touch sensitive surface 3031.Except Touch sensitive surface 3031, input equipment 303 can also include other input equipments
3032.Specifically, other input equipments 3032 can include but not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, one or more in action bars etc..
Output device 304 can be used for showing the information inputted by user or the information being supplied to user and terminal unit 30
Various graphic user interfaces, these graphic user interfaces can be carried out structure by figure, text, icon, video and its combination in any
Become.Output device 304 can include display floater 3041, optionally, display floater 3041 can use liquid crystal display (English:
Liquid crystal display, LCD), Organic Light Emitting Diode (English: organic light-emitting diode,
Etc. OLED) form configures.Further, Touch sensitive surface 3031 can cover display floater 3041, when Touch sensitive surface 3031 detects
Arrive thereon or after neighbouring touch operation, send processor 308 to determine the type of touch event, with preprocessor 308
Type according to touch event provides corresponding visual output on display floater 3041.Although in fig. 8, Touch sensitive surface 3031
It is to realize inputting and input function as two independent parts with display floater 3041, but in certain embodiments, can
With by integrated to Touch sensitive surface 3031 and display floater 3041 and realize input and output function.
Terminal unit 30 may also include at least one sensor 305, such as range sensor, optical sensor, motion-sensing
Device and other sensors.Specifically, range sensor is used for detecting described terminal unit screen and covering described terminal unit
Object between distance, optical sensor is for detecting the optical signal of described terminal unit external environment condition.As motion sensor
One, Gravity accelerometer can detect the size of (generally three axles) acceleration in all directions, can detect time static
Go out size and the direction of gravity, can be used for application (such as horizontal/vertical screen switching, dependent game, the magnetic of identification terminal equipment 30 attitude
Power meter pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;The top that can also configure as terminal unit 30
Other sensors such as spiral shell instrument, barometer, drimeter, thermometer, infrared ray sensor, here is omitted.
Voicefrequency circuit 306, speaker 3061, microphone 3062 can provide the audio frequency between user and terminal unit 30 to connect
Mouthful.The signal of telecommunication after the voice data conversion that voicefrequency circuit 306 can will receive, is transferred to speaker 3061, by speaker
3061 are converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 3062, by audio frequency
Circuit 306 is converted to voice data after receiving, then after voice data output processor 308 is processed, through RF circuit 301 to send
Such as another equipment of giving, or voice data is exported to memorizer 302 to process further.Voicefrequency circuit 306 is also possible to
Including earphone jack, to provide the communication of peripheral hardware earphone and terminal unit 30.
WiFi belongs to short range wireless transmission technology, and terminal unit 30 can help user to receive and dispatch by WiFi module 307
Email, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 8
Show WiFi module 307, but it is understood that, it is also not belonging to must be configured into of terminal unit 30, completely can root
Omit in not changing the scope of essence of invention according to needs.
Processor 308 is the control centre of terminal unit 30, utilizes various interface and the whole terminal unit of connection 30
Various piece, be stored in the computer program in memorizer 302 and/or module by running or performing, and call storage
Data in memorizer 302, perform the various functions of terminal unit 30 and process data, thus carrying out whole to terminal unit 30
Body monitors.Optionally, processor 308 can include one or more process core;Preferably, processor 308 integrated can answer use
Reason device and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., adjusts
Demodulation processor processed mainly processes radio communication.It is understood that above-mentioned modem processor can not also integrated everywhere
In reason device 308.
Terminal unit 30 also includes the power supply 303 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system is logically contiguous with processor 308, thus realizes management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.Power supply 303 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection
Slowdown monitoring circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal unit 30 can also include photographic head, bluetooth module etc., and here is omitted.Specifically exist
In the embodiment of the present invention, the output device 304 (or input equipment 303) of terminal unit is touch-screen display, terminal unit 30
Also include memorizer 302, processor 308 and one or more computer programs, wherein one or more computer journeys
Sequence is stored in memorizer 302, and processor 308 is used for calling the chat message that memorizer 302 (nonvolatile memory) stores
The program that difference synchronizes performs the various method steps flow process in preceding method embodiment, does not repeats them here.
The embodiment of the present invention also provides for a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can store journey
Sequence, this program includes the part of the method for any chat message difference synchronization described in said method embodiment when performing
Or Overall Steps.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not subject to
The restriction of described sequence of movement because according to the present invention, some step can use other orders or with
Shi Jinhang.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment,
Necessary to involved action and the module not necessarily present invention.
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-readable access to memory.Based on such understanding, technical scheme substantially or
What person said the part contributing prior art or this technical scheme completely or partially can be with the form body of software product
Revealing to come, this computer software product is stored in a memorizer, including some instructions with so that a computer equipment
(can be for personal computer, server or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention
Step.And aforesaid memorizer includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), portable hard drive, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completing instructing relevant hardware by program, this program can be stored in a computer-readable memory, memorizer
May include that flash disk, read only memory (English: Read-Only Memory, be called for short: ROM), random access device (English:
RAM), disk or CD etc. Random Access Memory, is called for short:.
Above the embodiment of the present invention is described in detail, specific case used herein to the principle of the present invention and
Embodiment is set forth, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;
Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, the most all can
Change part, and in sum, this specification content should not be construed as limitation of the present invention.
Claims (10)
1. the method that a chat message difference synchronizes, it is characterised in that including:
In the case of target social activity account logs on multiple terminal units, monitor whether described target social activity account needs same
The chat message of step;
When monitoring described target social activity account and having chat message to be synchronized, obtain the plurality of terminal unit needs into
The screen state of the terminal unit that row chat message synchronizes, described screen state includes black state;
Control that described chat message to be synchronized not being synchronized to needs to carry out chat message synchronization and screen state is blank screen shape
On the first terminal equipment of state.
2. the method for claim 1, it is characterised in that described method also includes:
If detecting, described first terminal equipment is switched to illuminating state by black state, then by described chat message to be synchronized
It is synchronized on described first terminal equipment.
3. method as claimed in claim 1 or 2, it is characterised in that described screen state includes illuminating state;Described acquisition institute
State the screen state needing to carry out the terminal unit of chat message synchronization in multiple terminal unit, including:
Need the terminal unit carrying out chat message synchronization to send screen state in the plurality of terminal unit and obtain instruction;
Receive black state or the point of the terminal unit feedback needing to carry out chat message synchronization in the plurality of terminal unit
Bright state.
4. the method for claim 1, it is characterised in that described screen state includes illuminating state;Described method is also wrapped
Include:
Control that described chat message to be synchronized is synchronized to need to carry out chat message synchronization and screen state is illuminating state
The second terminal unit on.
5. method as claimed in claim 4, it is characterised in that described method also includes:
Sending information to described first terminal equipment, described information is for pointing out by described chat to be synchronized
On synchronizing information extremely described second terminal unit.
6. the device that a chat message difference synchronizes, it is characterised in that including:
Monitoring modular, in the case of target social activity account logs on multiple terminal units, monitors described target social
Whether account has chat message to be synchronized;
Acquisition module, for when monitoring described target social activity account and having chat message to be synchronized, obtains the plurality of end
Needing to carry out the screen state of the terminal unit of chat message synchronization in end equipment, described screen state includes black state;
First control module, for control not to be synchronized to described chat message to be synchronized to need to carry out chat message synchronization and
Screen state is on the first terminal equipment of black state.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Synchronization module, if for detecting that described first terminal equipment is switched to illuminating state by black state, then treating described
The chat message synchronized is synchronized on described first terminal equipment.
Device the most as claimed in claims 6 or 7, it is characterised in that described screen state includes illuminating state;Described acquisition mould
Block, including:
Transmitting element, for needing the terminal unit carrying out chat message synchronization to send screen shape in the plurality of terminal unit
State obtains instruction;
Receive unit, for receive the plurality of terminal unit needs carry out chat message synchronization terminal unit feedback black
Screen state or illuminating state.
9. device as claimed in claim 6, it is characterised in that described screen state includes illuminating state;Described device also wraps
Include:
Second control module, is synchronized to need to carry out chat message synchronization and screen by described chat message to be synchronized for control
Tentiform state is on the second terminal unit of illuminating state.
10. device as claimed in claim 9, it is characterised in that described device also includes:
Reminding module, for sending information to described first terminal equipment, described information is for pointing out by institute
State chat message to be synchronized to be synchronized on described second terminal unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610825449.0A CN106230709B (en) | 2016-09-14 | 2016-09-14 | Method and device for distinguishing and synchronizing chat information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610825449.0A CN106230709B (en) | 2016-09-14 | 2016-09-14 | Method and device for distinguishing and synchronizing chat information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106230709A true CN106230709A (en) | 2016-12-14 |
CN106230709B CN106230709B (en) | 2020-02-14 |
Family
ID=58076249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610825449.0A Expired - Fee Related CN106230709B (en) | 2016-09-14 | 2016-09-14 | Method and device for distinguishing and synchronizing chat information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230709B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106685807A (en) * | 2017-01-09 | 2017-05-17 | 广东小天才科技有限公司 | method and server for displaying information |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102595228A (en) * | 2011-01-07 | 2012-07-18 | 三星电子株式会社 | Content synchronization apparatus and method |
CN102630312A (en) * | 2009-11-30 | 2012-08-08 | 摩托罗拉*** | A Mobile computing device and method with intelligent pushing management |
CN102726104A (en) * | 2010-01-26 | 2012-10-10 | 摩托罗拉*** | A mobile computing device and method for maintaining application continuity |
CN103684980A (en) * | 2012-09-17 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Method and system for synchronizing chatting records in instant chat tool |
CN104914976A (en) * | 2014-03-12 | 2015-09-16 | 中兴通讯股份有限公司 | Data processing method, data processing device and terminal |
CN105471716A (en) * | 2015-12-17 | 2016-04-06 | 网易(杭州)网络有限公司 | Method for achieving message synchronization across clients, user equipment and server |
CN105528366A (en) * | 2014-09-30 | 2016-04-27 | 阿里巴巴集团控股有限公司 | A data synchronization control method and device |
-
2016
- 2016-09-14 CN CN201610825449.0A patent/CN106230709B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102630312A (en) * | 2009-11-30 | 2012-08-08 | 摩托罗拉*** | A Mobile computing device and method with intelligent pushing management |
CN102726104A (en) * | 2010-01-26 | 2012-10-10 | 摩托罗拉*** | A mobile computing device and method for maintaining application continuity |
CN102595228A (en) * | 2011-01-07 | 2012-07-18 | 三星电子株式会社 | Content synchronization apparatus and method |
CN103684980A (en) * | 2012-09-17 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Method and system for synchronizing chatting records in instant chat tool |
CN104914976A (en) * | 2014-03-12 | 2015-09-16 | 中兴通讯股份有限公司 | Data processing method, data processing device and terminal |
CN105528366A (en) * | 2014-09-30 | 2016-04-27 | 阿里巴巴集团控股有限公司 | A data synchronization control method and device |
CN105471716A (en) * | 2015-12-17 | 2016-04-06 | 网易(杭州)网络有限公司 | Method for achieving message synchronization across clients, user equipment and server |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106685807A (en) * | 2017-01-09 | 2017-05-17 | 广东小天才科技有限公司 | method and server for displaying information |
Also Published As
Publication number | Publication date |
---|---|
CN106230709B (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106250163A (en) | A kind of application control method and device | |
CN104965641B (en) | information display method and device | |
CN106327166A (en) | Information processing method and mobile terminal | |
US20170109756A1 (en) | User Unsubscription Prediction Method and Apparatus | |
CN106209608A (en) | The method and device that the difference of a kind of chat message synchronizes | |
CN106331213A (en) | Domain name system DNS processing method and apparatus | |
CN106020962B (en) | A kind of course control method and terminal device | |
CN106055455B (en) | The anti-interference method and device of a kind of button | |
CN106507269B (en) | Data migration method and terminal equipment | |
CN104090879A (en) | Picture sharing method, device and system | |
CN106096393A (en) | A kind of application control method and device | |
CN109067981A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN105630846A (en) | Head portrait updating method and apparatus | |
CN106200970A (en) | A kind of method of split screen display available and terminal | |
CN106302130B (en) | A kind of method and device that chat message difference is synchronous | |
CN108932094A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN106658753A (en) | Data migration method and terminal equipment | |
CN106055960A (en) | Unlocking control method and terminal equipment | |
CN106488391A (en) | A kind of data migration method and terminal device | |
CN106201682A (en) | A kind of application controls method and device | |
CN106484563B (en) | Data migration method and terminal equipment | |
CN106453514A (en) | Chat information distinguishing synchronization method and device | |
CN103200077B (en) | The method of data interaction during a kind of voice call, Apparatus and system | |
CN106211102A (en) | The method and device that the difference of a kind of chat message synchronizes | |
CN104901992A (en) | Resource transfer method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200214 |
|
CF01 | Termination of patent right due to non-payment of annual fee |