CN106302138B - A kind of method of data synchronization based on more instant communication clients, apparatus and system - Google Patents
A kind of method of data synchronization based on more instant communication clients, apparatus and system Download PDFInfo
- Publication number
- CN106302138B CN106302138B CN201610940773.7A CN201610940773A CN106302138B CN 106302138 B CN106302138 B CN 106302138B CN 201610940773 A CN201610940773 A CN 201610940773A CN 106302138 B CN106302138 B CN 106302138B
- Authority
- CN
- China
- Prior art keywords
- information
- instant communication
- mode
- communication client
- target
- 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.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 title claims abstract description 156
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000001360 synchronised effect Effects 0.000 claims abstract description 50
- 238000001514 detection method Methods 0.000 claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims description 12
- 108010001267 Protein Subunits Proteins 0.000 claims description 6
- 230000000694 effects Effects 0.000 abstract description 2
- 238000012544 monitoring process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- 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/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- 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/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of method of data synchronization based on more instant communication clients, comprising: detection target account is in Entered state with the presence or absence of N number of instant communication client;If so, return information corresponding with information is only sent to target instant communication client when receiving the information that one of target instant communication client is sent;It can be seen that, in the present solution, return information to be only sent to the target instant communication client for sending information, without being synchronized to other instant communication clients, to make user focus on active client, saves other client synchronization information and record spent flow;The invention also discloses a kind of data synchronization unit and system based on more instant communication clients, is equally able to achieve above-mentioned technical effect.
Description
Technical field
The present invention relates to data synchronization technology fields, synchronous more specifically to a kind of data based on multi-client
Method, apparatus and system.
Background technique
Currently, for convenience user use, immediate communication tool generally all exploitation have mobile phone terminal and the end PC, such as wechat with
And wechat pc client.Whether in order to enable users to see information in each client at any time, being generally provided with allows hand mechanical, electrical
Brain online option simultaneously, however, in the prior art, if being not turned on the option for allowing mobile phone, computer online simultaneously, then hand
Machine or computer either end on an opposite end line when will be squeezed and go offline, and if open the option for allowing mobile phone, computer online simultaneously,
When online at one end, the historical communication record of a large amount of other end can be received, such as when the end wechat PC is chatted, in wechat hand
Generator terminal can receive a large amount of information alert and information simultaneously, not only the attention of dispersion user, but also it is a large amount of to waste user
Flow.
Therefore, user how is facilitated to save flow in multi-platform while using immediate communication tool when, so that multi-platform
The actual demand that synchronizing information more suits user is those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the present invention is to provide a kind of method of data synchronization based on multi-client, apparatus and system, with convenient
User saves flow in multi-platform while using immediate communication tool when, so that multi-platform synchronizing information more suits the reality of user
Border demand.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of method of data synchronization based on more instant communication clients, comprising:
S1, detection target account are in Entered state with the presence or absence of N number of instant communication client;If so, executing S2;
Wherein, N is the positive integer greater than 1;
S2, when receiving the information that one of target instant communication client is sent, only will be corresponding with the information
Return information is sent to the target instant communication client.
Wherein, in S1, if detect the target account there are N number of instant communication client be in Entered state it
Afterwards, further includes:
Detect the final synchronizing information mode of the target account;
If the final synchronizing information mode is single platform information synchronous mode, S2 is executed;
If the final synchronizing information mode is full platform information synchronous mode, executes S3: receiving one of mesh
When marking the information that instant communication client is sent, return information corresponding with the information is sent to the target instant messaging
Client, and by the current information recording synchronism of the target account to other instant communication clients.
Wherein, the S2 includes:
Detect the final synchronizing information mode of the target account;
If the final synchronizing information mode is single platform information synchronous mode, one of target Instant Messenger is received
When interrogating the information that client is sent, return information corresponding with the information is only sent to the target instant messaging client
End;
If the final synchronizing information mode is full platform information synchronous mode, one of target Instant Messenger is received
When interrogating the information that client is sent, return information corresponding with the information is sent to the target instant communication client,
And by the current information recording synchronism of the target account to other instant communication clients.
Wherein, the final synchronizing information mode of the target account is detected, comprising:
Whether the synchronizing information mode for detecting each instant communication client is consistent;
If consistent, using consistent synchronizing information mode as the final synchronizing information mode;If inconsistent, will work as
The synchronizing information mode of the preceding target instant communication client for sending information is as final synchronizing information mode.
Wherein, this programme further include:
The historical information acquisition instruction that instant communication client is sent is received, and will be with the historical information acquisition instruction pair
The historical information answered returns back to corresponding instant communication client.
A kind of data synchronization unit based on more instant communication clients, comprising:
First detection module is in Entered state with the presence or absence of N number of instant communication client for detecting target account;
Wherein, N is the positive integer greater than 1;
Sending module, for the target account, there are N number of instant communication clients to log in simultaneously, and receives wherein one
When the information that a target instant communication client is sent, return information corresponding with the information is only sent to the target i.e.
When telecommunication customer end.
Wherein, the sending module includes:
Detection unit, for the target account there are N number of instant communication client simultaneously log in after, described in detection
The final synchronizing information mode of target account;
Transmission unit for being single platform information synchronous mode in the final synchronizing information mode, and receives wherein
When the information that one target instant communication client is sent, return information corresponding with the information is only sent to the target
Instant communication client;
Synchronization unit for being full platform information synchronous mode in the final synchronizing information mode, and receives wherein
When the information that one target instant communication client is sent, return information corresponding with the information is sent to the target i.e.
When telecommunication customer end, and by the current information recording synchronism of the target account to other instant communication clients.
Wherein, the detection unit includes:
Whether the first detection sub-unit, the synchronizing information mode for detecting each instant communication client are consistent;
First chooses subelement, will be consistent for when the synchronizing information mode of each instant communication client is consistent
Synchronizing information mode is as the final synchronizing information mode;
Second chooses subelement, for when the synchronizing information mode of each instant communication client is inconsistent, by information
The synchronizing information mode of the setting time nearest instant communication client of synchronous mode, as final synchronizing information mode.
Wherein, the detection unit includes:
Whether the second detection sub-unit, the synchronizing information mode for detecting each instant communication client are consistent;
Third chooses subelement, will be consistent for when the synchronizing information mode of each instant communication client is consistent
Synchronizing information mode is as the final synchronizing information mode;
4th chooses subelement, will be current for when the synchronizing information mode of each instant communication client is inconsistent
The synchronizing information mode of the target instant communication client of information is sent as final synchronizing information mode.
Wherein, this programme further include:
Receiving module, for receiving the historical information acquisition instruction of instant communication client transmission;
Historical information sending module, for will historical information corresponding with the historical information acquisition instruction return back to it is corresponding
Instant communication client.
A kind of data synchronous system based on more instant communication clients, it is synchronous including data described in above-mentioned any one
Device further includes N number of instant communication client for being in Entered state.
By above scheme it is found that a kind of data based on more instant communication clients provided in an embodiment of the present invention are synchronous
Method, comprising: S1, detection target account are in Entered state with the presence or absence of N number of instant communication client;If so, executing
S2;Wherein, N is the positive integer greater than 1;S2, when receiving the information that one of target instant communication client is sent, only will
Return information corresponding with the information is sent to the target instant communication client;
As it can be seen that in the present solution, return information to be only sent to the target instant communication client for sending information, and it is asynchronous
Other client synchronizations letter is saved to other instant communication clients so that user be made to focus on active client
Breath records spent flow;The invention also discloses a kind of data synchronization unit based on more instant communication clients and it is
System, is equally able to achieve above-mentioned technical effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of method of data synchronization flow diagram based on multi-client disclosed by the embodiments of the present invention;
Fig. 2 is another method of data synchronization flow diagram based on multi-client disclosed by the embodiments of the present invention;
Fig. 3 is a kind of data synchronization unit structural representation based on more instant communication clients disclosed by the embodiments of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of method of data synchronization based on multi-client, apparatus and system, to facilitate use
Flow is saved in multi-platform while using immediate communication tool when in family, so that multi-platform synchronizing information more suits the reality of user
Demand.
Referring to Fig. 1, a kind of method of data synchronization based on more instant communication clients provided in an embodiment of the present invention, packet
It includes:
S1, detection target account are in Entered state with the presence or absence of N number of instant communication client;If so, executing S2;
Wherein, N is the positive integer greater than 1;
Specifically, the instant communication client in the present embodiment is the client for installing immediate communication tool, client is
Mobile phone, plate or computer etc., immediate communication tool can be the chat softwares such as wechat, QQ.If target account is only at one
It is in Entered state on instant communication client, then does not execute this programme, return information still returns back to target communication client
On.
S2, when receiving the information that one of target instant communication client is sent, only will be corresponding with the information
Return information is sent to the target instant communication client.
It is understood that user generally will not carry out chatting operation simultaneously in two equipment respectively, current " allows
Mobile phone, computer are online simultaneously " option again be just for avoiding the end A to log in the case of the end B log in can squeeze out listed A again
End, cause to switch to the end A using when user's trouble for needing to log in again, and the both ends A, B can be carried out simultaneously by being not to say that user
Chatting operation.Therefore, in the present embodiment, in the case where holding " allowing mobile phone, computer online simultaneously ", detection user's hair
Sending is the information sent by which client, and return information is only sent to the client later in this way, without objective to others
Family end sends chat record, that is, does not need for chat record to be synchronized to other clients;In this way, when user switches chatting platform
When, the synchronous platform of server nature handover request had then both looked after the convenience that user uses, and had focused on user
Current chat process, and do not need to synchronize a large amount of history garbage to user in current platform, save significantly on flow.
It should be noted that this programme is this programme to be described with the angle of server, therefore work as server and receive
After the information sent to target instant communication client, then return information is only sent to the destination client;If client obtains
The mode of complex information is fetched not instead of by server active transmission, actively whether there is from monitoring server by client
Return information, then needing actively whether to deposit from monitoring server after at this moment target instant communication client sends information
In return information, return information is then actively obtained if it exists;Correspondingly, other have logged in the instant messaging client of same account
End, due to not sending information to server, even if monitoring that server has the return information of the account, then do not obtain
This return information, even if alternatively, server sends chat record, visitor to other instant communication clients for having logged in same account
Family end does not also receive;Chat record in this programme includes: the information and corresponding reply that target instant communication client is sent
Information.
Referring to fig. 2, the embodiment of the invention discloses a kind of specific method of data synchronization, relative to a upper embodiment, originally
Embodiment has made further instruction and optimization to technical solution, specifically includes:
S1, detection target account are in Entered state with the presence or absence of N number of instant communication client;If so, executing S2-
1;Wherein, N is the positive integer greater than 1;
The final synchronizing information mode of S2-1, the detection target account;
If the final synchronizing information mode is single platform information synchronous mode, S2-2 is executed;
If the final synchronizing information mode is full platform information synchronous mode, S2-3 is executed;
S2-2, when receiving the information that one of target instant communication client is sent, only will be corresponding with the information
Return information be sent to the target instant communication client;
S2-3, when receiving the information that one of target instant communication client is sent, will be corresponding with the information
Return information is sent to the target instant communication client, and by the current information recording synchronism of the target account to other
Instant communication client.
It should be noted that a pattern switching option can be arranged in immediate communication tool, handoff options include: list
Platform information synchronous mode and full platform information synchronous mode;Here single platform information synchronous mode are as follows: only by return information
It is sent to the instant communication client of active transmission information, without chat record is synchronous on other instant communication clients;
Here full platform information synchronous mode are as follows: return information is not only sent to the instant communication client of active transmission information
On, also chat record is synchronized on other instant communication clients.
In order to meet the needs of different user, user can select oneself needs by the way that this pattern switching option is arranged
Synchronizing information mode, server detects that target account when multiple instant communication clients are in Entered state, can be examined
The synchronizing information mode for surveying the account, to decide whether to be synchronized to chat record on other instant communication clients.
Based on the above-mentioned technical proposal, since user may be provided with synchronizing information mould on multiple instant communication clients
Formula, therefore in the present solution, detecting the final synchronizing information mode of the target account, comprising:
Whether the synchronizing information mode for detecting each instant communication client is consistent;
If consistent, using consistent synchronizing information mode as the final synchronizing information mode;It, will letter if inconsistent
The synchronizing information mode for ceasing the setting time nearest instant communication client of synchronous mode, as final synchronizing information mode.
It should be noted that if logging in includes setting information synchronous mode in multiple instant communication clients of same account
Sum be not provided with synchronizing information mode, be at this moment subject to the instant communication client of setting information synchronous mode, such as: it is existing
There are the multiple instant communication clients for logging in same account: customer end A, customer end B, client C, if customer end A is not set
Confidence ceases synchronous mode, and only customer end B and client C is provided with synchronizing information mode, at this moment detects each instant messaging visitor
When whether the synchronizing information mode at family end consistent, only detect customer end B and client C setting synchronizing information mode whether one
It causes.
Specifically, the synchronizing information mode of customer end B and client C are equal if customer end A is not provided with synchronizing information mode
For single platform information synchronous mode, then using single platform information synchronous mode as final synchronizing information mode;If customer end B and visitor
The synchronizing information mode of family end C is inconsistent, then by the letter of the setting time nearest instant communication client of synchronizing information mode
Synchronous mode is ceased, as final synchronizing information mode, such as: customer end B is Dan Pingtai in the synchronizing information mode that September 11 is arranged
Synchronizing information mode, client C are full platform information synchronous mode in the synchronizing information mode that September 15 is arranged, it can be seen that visitor
For family end C compared with customer end B, the setting time of client C is closer, therefore the full platform information synchronous mode of client C is made
For final synchronizing information mode.
It is understood that if the synchronizing information mode of multiple instant communication clients is inconsistent, then final information is same
The selection of step mode, can also be subject to the synchronizing information mode according to the instant client for sending information, described in specific detection
The final synchronizing information mode of target account includes:
Whether the synchronizing information mode for detecting each instant communication client is consistent;
If consistent, using consistent synchronizing information mode as the final synchronizing information mode;If inconsistent, will work as
The synchronizing information mode of the preceding target instant communication client for sending information is as final synchronizing information mode.
Specifically, if the synchronizing information mode of customer end A setting is single platform information synchronous mode, customer end B setting
Synchronizing information mode is single platform information synchronous mode, and the synchronizing information mode of client C setting is the synchronous mould of full platform information
Formula, user sends information by customer end A at this time, then the final synchronizing information mode that server is chosen is that single platform information is synchronous
Mode, user send information by client C, then the final synchronizing information mode that server is chosen is the synchronous mould of full platform information
Formula;It should be noted that if there is no setting information synchronous modes for a certain client, then the synchronizing information mode for choosing default is made
For final synchronizing information mode.
Based on the above-mentioned technical proposal, this programme further include:
The historical information acquisition instruction that instant communication client is sent is received, and will be with the historical information acquisition instruction pair
The historical information answered returns back to corresponding instant communication client.
Specifically, if user switches chat record of the client client chatting, but switch afterwards there is no before,
Therefore, history message the synchronization option can be set in this programme in immediate communication tool, if user wants to check that history is chatted
Its record then sends historical information acquisition instruction, after server receives instruction, meeting to server by instant communication client
The user is sent to corresponding client by the historical information that other clients generate, to facilitate user to check.
Data synchronization unit provided in an embodiment of the present invention is introduced below, data synchronization unit described below with
Above-described data synchronization unit can be cross-referenced.
Referring to Fig. 3, a kind of data synchronization unit based on more instant communication clients provided in an embodiment of the present invention, packet
It includes:
First detection module 100, for detecting target account with the presence or absence of N number of instant communication client while logging in;Its
In, N is the positive integer greater than 1;
Sending module 200, for the target account, there are N number of instant communication clients to log in simultaneously, and receives it
In a target instant communication client send information when, return information corresponding with the information is only sent to the mesh
Mark instant communication client.
Based on the above-mentioned technical proposal, the sending module includes:
Detection unit, for the target account there are N number of instant communication client simultaneously log in after, described in detection
The final synchronizing information mode of target account;
Transmission unit for being single platform information synchronous mode in the final synchronizing information mode, and receives wherein
When the information that one target instant communication client is sent, return information corresponding with the information is only sent to the target
Instant communication client;
Synchronization unit for being full platform information synchronous mode in the final synchronizing information mode, and receives wherein
When the information that one target instant communication client is sent, return information corresponding with the information is sent to the target i.e.
When telecommunication customer end, and by the current information recording synchronism of the target account to other instant communication clients.
Based on the above-mentioned technical proposal, the detection unit includes:
Whether the first detection sub-unit, the synchronizing information mode for detecting each instant communication client are consistent;
First chooses subelement, will be consistent for when the synchronizing information mode of each instant communication client is consistent
Synchronizing information mode is as the final synchronizing information mode;
Second chooses subelement, for when the synchronizing information mode of each instant communication client is inconsistent, by information
The synchronizing information mode of the setting time nearest instant communication client of synchronous mode, as final synchronizing information mode.
Based on the above-mentioned technical proposal, the detection unit includes:
Whether the second detection sub-unit, the synchronizing information mode for detecting each instant communication client are consistent;
Third chooses subelement, will be consistent for when the synchronizing information mode of each instant communication client is consistent
Synchronizing information mode is as the final synchronizing information mode;
4th chooses subelement, will be current for when the synchronizing information mode of each instant communication client is inconsistent
The synchronizing information mode of the target instant communication client of information is sent as final synchronizing information mode.
Based on the above-mentioned technical proposal, this programme further include:
Receiving module, for receiving the historical information acquisition instruction of instant communication client transmission;
Historical information sending module, for will historical information corresponding with the historical information acquisition instruction return back to it is corresponding
Instant communication client.
The embodiment of the present invention provides a kind of data synchronous system based on more instant communication clients, including above-described embodiment
Any one of described in data synchronization unit, further include N number of instant communication client for being in Entered state.
Further, the invention also discloses a kind of servers, including more Instant Messenger are based on disclosed in previous embodiment
The data synchronization unit of client is interrogated, which includes: first detection module and sending module.
Specifically, server provided in an embodiment of the present invention includes processor, stores depositing for above-mentioned data synchronization unit
Reservoir, communication chip and power supply.Wherein, the processor in above-mentioned data synchronization unit is above-mentioned by storing in calling memory
Data synchronization unit come realize reply data transmission and information record synchronization, communication chip for realizing information transmission and
It receives, specific as follows:
If processor detects user on multiple instant communication clients while logging in an account, and passes through communication core
When piece receives user by one of target instant communication client transmission information, return information is only sent to target i.e.
When telecommunication customer end, without by the current information recording synchronism of target account to other instant communication clients, in this way in user
When switching chatting platform, the synchronous platform of server nature handover request has looked after the convenience that user uses, has made user no longer
It is taken sb's mind off sth by a large amount of meaningless chat messages, and is effectively reduced the flow of chat tool consumption, save communication
Expense.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (5)
1. a kind of method of data synchronization based on more instant communication clients characterized by comprising
S1, detection target account are in Entered state with the presence or absence of N number of instant communication client;If so, executing S2;Its
In, N is the positive integer greater than 1;
S2, when receiving the information that one of target instant communication client is sent, only will reply corresponding with the information
Information is sent to the target instant communication client;
Wherein, the S2 includes:
Detect the final synchronizing information mode of the target account;
If the final synchronizing information mode is single platform information synchronous mode, one of target instant messaging visitor is received
When the information that family end is sent, return information corresponding with the information is only sent to the target instant communication client;
If the final synchronizing information mode is full platform information synchronous mode, one of target instant messaging visitor is received
When the information that family end is sent, return information corresponding with the information is sent to the target instant communication client, and will
The current information recording synchronism of the target account is to other instant communication clients;
Wherein, the final synchronizing information mode of the target account is detected, comprising:
Whether the synchronizing information mode for detecting each instant communication client is consistent;
If consistent, using consistent synchronizing information mode as the final synchronizing information mode;
If inconsistent, the synchronizing information mode of the setting time nearest instant communication client of synchronizing information mode is made
For final synchronizing information mode, alternatively, using the synchronizing information mode of the target instant communication client of currently transmitted information as
Final synchronizing information mode.
2. method of data synchronization according to claim 1, which is characterized in that further include:
The historical information acquisition instruction that instant communication client is sent is received, and will be corresponding with the historical information acquisition instruction
Historical information returns back to corresponding instant communication client.
3. a kind of data synchronization unit based on more instant communication clients characterized by comprising
Detection module is in Entered state with the presence or absence of N number of instant communication client for detecting target account;Wherein, N is
Positive integer greater than 1;
Sending module, for the target account, there are N number of instant communication clients to log in simultaneously, and receives one of mesh
When marking the information that instant communication client is sent, return information corresponding with the information is only sent to the target Instant Messenger
Interrogate client;
Wherein, the sending module includes:
Detection unit, for detecting the target after the target account logs in simultaneously there are N number of instant communication client
The final synchronizing information mode of account;
Transmission unit for being single platform information synchronous mode in the final synchronizing information mode, and receives one of them
When the information that target instant communication client is sent, only will return information corresponding with the information to be sent to the target instant
Telecommunication customer end;
Synchronization unit for being full platform information synchronous mode in the final synchronizing information mode, and receives one of them
When the information that target instant communication client is sent, return information corresponding with the information is sent to the target Instant Messenger
Client is interrogated, and by the current information recording synchronism of the target account to other instant communication clients;
Wherein, the detection unit includes:
Whether the first detection sub-unit, the synchronizing information mode for detecting each instant communication client are consistent;
First chooses subelement, for when the synchronizing information mode of each instant communication client is consistent, by consistent information
Synchronous mode is as the final synchronizing information mode;
Second chooses subelement, for when the synchronizing information mode of each instant communication client is inconsistent, by synchronizing information
The synchronizing information mode of the setting time nearest instant communication client of mode, as final synchronizing information mode;
Alternatively, the detection unit includes:
Whether the second detection sub-unit, the synchronizing information mode for detecting each instant communication client are consistent;
Third chooses subelement, for when the synchronizing information mode of each instant communication client is consistent, by consistent information
Synchronous mode is as the final synchronizing information mode;
4th chooses subelement, will be currently transmitted for when the synchronizing information mode of each instant communication client is inconsistent
The synchronizing information mode of the target instant communication client of information is as final synchronizing information mode.
4. data synchronization unit according to claim 3, which is characterized in that further include:
Receiving module, for receiving the historical information acquisition instruction of instant communication client transmission;
Historical information sending module, for will historical information corresponding with the historical information acquisition instruction return back to it is corresponding i.e.
When telecommunication customer end.
5. a kind of data synchronous system based on more instant communication clients, which is characterized in that including such as claim 3 or 4 institutes
The data synchronization unit stated further includes N number of instant communication client for being in Entered state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610940773.7A CN106302138B (en) | 2016-10-31 | 2016-10-31 | A kind of method of data synchronization based on more instant communication clients, apparatus and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610940773.7A CN106302138B (en) | 2016-10-31 | 2016-10-31 | A kind of method of data synchronization based on more instant communication clients, apparatus and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106302138A CN106302138A (en) | 2017-01-04 |
| CN106302138B true CN106302138B (en) | 2019-08-02 |
Family
ID=57719491
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610940773.7A Expired - Fee Related CN106302138B (en) | 2016-10-31 | 2016-10-31 | A kind of method of data synchronization based on more instant communication clients, apparatus and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106302138B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113645129B (en) * | 2021-08-24 | 2023-07-04 | 北京达佳互联信息技术有限公司 | Data processing method and data processing device of instant messaging client |
| CN113961619A (en) * | 2021-10-19 | 2022-01-21 | 网易(杭州)网络有限公司 | A data synchronization method, device, computer equipment and storage medium |
| CN114513481A (en) * | 2022-01-21 | 2022-05-17 | 浪潮软件股份有限公司 | Multi-terminal message synchronization method and system based on instant messaging system |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101257375B (en) * | 2006-12-31 | 2012-08-08 | 华为技术有限公司 | Method and device for realizing multi-terminal message synchronization |
| US9385981B2 (en) * | 2012-07-23 | 2016-07-05 | Google Inc. | System and method for providing multi-modal asynchronous communication |
| CN103812755A (en) * | 2012-11-12 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Message synchronization method and device in instant messaging application |
| CN104022938A (en) * | 2013-02-28 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Message synchronization method, system, server and client end |
| CN110086704B (en) * | 2014-02-11 | 2022-03-22 | 阿里巴巴集团控股有限公司 | Method and system for synchronizing unread messages in instant messaging |
-
2016
- 2016-10-31 CN CN201610940773.7A patent/CN106302138B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN106302138A (en) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101682045B1 (en) | Information display method and user terminal for instant communication tool | |
| CN109587044B (en) | Group creation and message interaction method and device | |
| CN103037319B (en) | Communication transfer method, mobile terminal and server | |
| CN101159714B (en) | Instant communication method and device | |
| CN102958008B (en) | Method, system and mobile terminals for realizing instant messaging | |
| EP2713641A1 (en) | Method for receiving data, method for transmitting data, mobile terminal, and server | |
| US20090254616A1 (en) | Simultaneous Instant Messaging In Single Window | |
| CN102638417A (en) | Information communication method, device and system | |
| CN106302138B (en) | A kind of method of data synchronization based on more instant communication clients, apparatus and system | |
| CN105376136B (en) | Instant communication method, server and system | |
| CN102594724A (en) | Method, client side and system for setting contact person object state in instant messaging | |
| CN104919419A (en) | Terminal and terminal manipulation method | |
| CN104320328A (en) | Message synchronization method, terminal and server | |
| CN110224924A (en) | State updating method and device, storage medium and electronic device | |
| CN103092870A (en) | Method for establishing relational data of contact in network communication system and device for achieving the same | |
| CN111352675A (en) | Application data processing method, system and related equipment | |
| CN102664831B (en) | Method, client and the system of file data are transmitted by instant messaging tools | |
| CN104883290A (en) | Contact person online status notification method and apparatus | |
| CN108234512A (en) | A kind of timing control method and system | |
| CN107508747A (en) | Group communication method, server and computer storage medium for converged communication | |
| CN103209198B (en) | Switching method between a kind of network application and system | |
| CN101277247B (en) | Real-time communication system | |
| CN109274763B (en) | Information synchronization method and dual-computer hot standby equipment | |
| CN105721274B (en) | Method and device for integrating multiple instant messaging | |
| CN108964941A (en) | A kind of method and system for establishing interim conversation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190802 Termination date: 20211031 |