CN106506685A - A kind of method and device of synchronizing information - Google Patents
A kind of method and device of synchronizing information Download PDFInfo
- Publication number
- CN106506685A CN106506685A CN201611079325.9A CN201611079325A CN106506685A CN 106506685 A CN106506685 A CN 106506685A CN 201611079325 A CN201611079325 A CN 201611079325A CN 106506685 A CN106506685 A CN 106506685A
- Authority
- CN
- China
- Prior art keywords
- app
- terminal
- account information
- information
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- 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]
- H04L51/046—Interoperability with other network applications or services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method and device of synchronizing information, the purpose synchronous in order to realize different APP accounts informations.Methods described is applied to the server of the 2nd APP, including:The logging request that the terminal of the 2nd APP sends is received, the logging request carries second account information of the 2nd APP;Determine whether that the terminal of an APP is connected with local holding, wherein, the terminal of an APP is connected with local holding by first account information of the 2nd APP;When the terminal for having an APP is connected with local holding, the terminal that second account information of the 2nd APP is sent to an APP indicates that the terminal of an APP updates local account information.
Description
Technical field
A kind of the present invention relates to synchronizing information technical field, more particularly to method and device of synchronizing information.
Background technology
In the related, in same terminal, multiple APP need to be authorized to and log in wechat account, and work as wechat clothes
In business device during wechat Account Changes, generally cannot embody in APP, how realize that the wechat accounts information in APP synchronously becomes
The current technical issues that need to address.
Content of the invention
The present invention provides a kind of method and device of synchronizing information, in order to realize the purpose of different APP accounts informations synchronizations.
The embodiment of the present invention provides a kind of method of synchronizing information, and methods described is applied to the server of the 2nd APP, wraps
Include:
The logging request that the terminal of the 2nd APP sends is received, the logging request carries the second account letter of the 2nd APP
Breath;
Determine whether that the terminal of an APP is connected with local holding, wherein, the terminal of an APP is by the 2nd APP's
First account information is connected with local holding;
When the terminal for having an APP is connected with local holding, second account information of the 2nd APP is sent to first
The terminal of APP, indicates that the terminal of an APP updates local account information.
In an embodiment of the present invention, methods described also includes:
First account information of the login of the terminal of the first APP is switched to the second account information.
In an embodiment of the present invention, the first account information of the login of the terminal of an APP is being switched to the second account
Before the information of family, methods described also includes:
Terminal to an APP sends a notification message, and indicates that the terminal of an APP is stepped on again according to the second account information
Record.
In an embodiment of the present invention, the notification message includes checking information, indicates the terminal of an APP according to second
Checking information is carried when account information is logged in again.
The embodiment of the present invention also provides a kind of device of synchronizing information, and described device is applied to the server of the 2nd APP, institute
Stating device includes:
Receiver module, for receiving the logging request that the terminal of the 2nd APP sends, the logging request carries second
Second account information of APP;
Judge module, for determining whether that the terminal of an APP is connected with local holding, wherein, the terminal of an APP
It is connected with local holding by first account information of the 2nd APP;
First sending module, for when the terminal for having an APP is connected with local holding, by second account of the 2nd APP
Family information is sent to the terminal of an APP, indicates that the terminal of an APP updates local account information.
In an embodiment of the present invention, described device also includes:
Handover module, for switching to the second account information by the first account information of the login of the terminal of an APP.
In an embodiment of the present invention, described device also includes:
Second sending module, for switching to the second account by the first account information of the login of the terminal of an APP
Before information, the terminal to an APP sends a notification message, and indicates that the terminal of an APP is stepped on again according to the second account information
Record.
In an embodiment of the present invention, the notification message includes checking information, indicates the terminal of an APP according to second
Checking information is carried when account information is logged in again.
In embodiments of the present invention, the logging request that the terminal of the 2nd APP sends is received, and the logging request carries the
Second account information of two APP;Determine whether that the terminal of an APP is connected with local holding, wherein, the terminal of an APP
It is connected with local holding by first account information of the 2nd APP;When the terminal for having an APP is connected with local holding, will
Second account information of the 2nd APP is sent to the terminal of an APP, indicates that the terminal of an APP updates local account information.
As can be seen here, the embodiment of the present invention can realize the synchronous purpose of different APP accounts informations.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The present invention can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the present invention
Example, and the principle for being used for explaining the present invention together with description.
The flow chart that Fig. 1 show the method for synchronizing information in one embodiment of the invention;
The flow chart that Fig. 2 show the method for synchronizing information in another embodiment of the present invention;
Fig. 3 show the structural representation of the device of synchronizing information in one embodiment of the invention;
Fig. 4 show the structural representation of the device of synchronizing information in another embodiment of the present invention;And
Fig. 5 show the structural representation of the device of synchronizing information in further embodiment of this invention.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with as appended by
The example of consistent apparatus and method in terms of some being described in detail in claims, of the invention.
The flow chart of the method for synchronizing information in one embodiment of the invention is illustrated in figure 1, the method can include following
Step S11-S13.
Step S11, receives the logging request that the terminal of the 2nd APP sends, and the logging request carries the of the 2nd APP
Two account informations;
Step S12, determines whether that the terminal of an APP is connected with local holding, and wherein, the terminal of an APP passes through
First account information of the 2nd APP is connected with local holding;
Step S13, when the terminal for having an APP is connected with local holding, second account information of the 2nd APP is sent
To the terminal of an APP, indicate that the terminal of an APP updates local account information.
Before this step, the terminal to an APP sends a notification message, and indicates the terminal of an APP according to the second account
Family information is logged in again.Here notification message can include checking information, indicate that the terminal of an APP is believed according to the second account
Checking information is carried when breath is logged in again.
In embodiments of the present invention, the logging request that the terminal of the 2nd APP sends is received, and the logging request carries the
Second account information of two APP;Determine whether that the terminal of an APP is connected with local holding, wherein, the terminal of an APP
It is connected with local holding by first account information of the 2nd APP;When the terminal for having an APP is connected with local holding, will
Second account information of the 2nd APP is sent to the terminal of an APP, indicates that the terminal of an APP updates local account information.
As can be seen here, the embodiment of the present invention can realize the synchronous purpose of different APP accounts informations.
In the alternative embodiment of the present invention, the first account information of the login of the terminal of an APP can also be switched
For the second account information.
The method that the synchronizing information of the present invention is discussed in detail below by a specific embodiment realizes process.Such as Fig. 2
The flow chart of the method for synchronizing information in another embodiment of the present invention is shown, the method may comprise steps of S21-S23.
Step S21, receives the logging request that the terminal of the 2nd APP sends, and the logging request carries the of the 2nd APP
Two account informations;
Step S22, determines whether that the terminal of an APP is connected with local holding, and wherein, the terminal of an APP passes through
First account information of the 2nd APP is connected with local holding;
Step S23, when the terminal for having an APP is connected with local holding, sends notice to the terminal of an APP and disappears
Breath, indicates that the terminal of an APP is logged in again according to the second account information.Here notification message includes checking information, indicates
Checking information is carried according to the second account information when the terminal of the first APP is logged in again.If the terminal of an APP not with local
Connection is kept, is then terminated.
In the above-described embodiments, an APP can be live APP, and the 2nd APP can be instant messaging APP, such as wechat.
Live APP is logged in using wechat account 1, wechat is logged in wechat account 2.It is currently wechat account 2 that wechat server is only recorded,
Equivalent to having nullified wechat account 1.But live APP also shows the information such as the head portrait of wechat account 1, the pet name.The present invention is implemented
In example, wechat server receives the logging request of wechat account 2, and wechat account 1 is switched to wechat account 2.Take to live APP
Business device sends the notice for being switched to wechat account 2.The notice carries the information such as the head portrait of wechat account 2, the pet name.Live APP clothes
Business device updates local record, and sends to user and be switched to the notice of wechat account 2, while head portrait for showing of interface switching etc. is believed
Breath.
It should be noted that in actual applications, above-mentioned all optional embodiments can be any in the way of adopting and combine
Combination, forms the alternative embodiment of the present invention, and this is no longer going to repeat them.
Corresponding to the method for the synchronizing information in above-described embodiment, the present invention also provides a kind of device of synchronizing information.Such as
Fig. 3 show the structural representation of the device of synchronizing information in one embodiment of the invention, including:
Receiver module 31, for receiving the logging request that the terminal of the 2nd APP sends, the logging request carries second
Second account information of APP;
Judge module 32, for determining whether that the terminal of an APP is connected with local holding, wherein, the end of an APP
End is connected with local holding by first account information of the 2nd APP;
First sending module 33, for when the terminal for having an APP is connected with local holding, by the second of the 2nd APP
Account information is sent to the terminal of an APP, indicates that the terminal of an APP updates local account information.
In an embodiment of the present invention, as shown in figure 4, the device that figure 3 above shows can also include:
Handover module 41, for switching to the second account information by the first account information of the login of the terminal of an APP.
In an embodiment of the present invention, as shown in figure 5, the device that figure 4 above shows can also include:
Second sending module 51, for switching to the second account by the first account information of the login of the terminal of an APP
Before the information of family, the terminal to an APP sends a notification message, indicate an APP terminal according to the second account information again
Log in.
In an embodiment of the present invention, the notification message includes checking information, indicates the terminal of an APP according to second
Checking information is carried when account information is logged in again.
The said apparatus of the embodiment of the present invention:The logging request that the terminal of the 2nd APP sends is received, the logging request is taken
The second account information with the 2nd APP;Determine whether that the terminal of an APP is connected with local holding, wherein, an APP
Terminal by first account information of the 2nd APP and local keep being connected;It is connected with local holding in the terminal for having an APP
When, the terminal that second account information of the 2nd APP is sent to an APP indicates that the terminal of an APP updates local account
Information.As can be seen here, the embodiment of the present invention can realize the synchronous purpose of different APP accounts informations.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of reality
Apply the form of example.And, the present invention can be adopted in one or more computers for wherein including computer usable program code
The shape of the upper computer program that implements of usable storage medium (including but not limited to disk memory and optical memory etc.)
Formula.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program
Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram
Journey and/or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided
Instruct the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing devices so that in meter
Series of operation steps is executed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction executed on other programmable devices is provided for realization in one flow process of flow chart or multiple flow processs and/or block diagram one
The step of function of specifying in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention
God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (8)
1. a kind of method of synchronizing information, it is characterised in that methods described is applied to the server of the 2nd APP, methods described bag
Include:
The logging request that the terminal of the 2nd APP sends is received, the logging request carries second account information of the 2nd APP;
Determine whether that the terminal of an APP is connected with local holding, wherein, the terminal of an APP passes through the first of the 2nd APP
Account information is connected with local holding;
When the terminal for having an APP is connected with local holding, second account information of the 2nd APP is sent to an APP's
Terminal, indicates that the terminal of an APP updates local account information.
2. method according to claim 1, it is characterised in that methods described also includes:
First account information of the login of the terminal of the first APP is switched to the second account information.
3. method according to claim 2, it is characterised in that believe in the first account by the login of the terminal of an APP
Before breath switches to the second account information, methods described also includes:
Terminal to an APP sends a notification message, and indicates that the terminal of an APP is logged in again according to the second account information.
4. method according to claim 3, it is characterised in that the notification message includes checking information, indicates an APP
Terminal carry checking information according to the second account information when logging in again.
5. a kind of device of synchronizing information, it is characterised in that described device is applied to the server of the 2nd APP, described device bag
Include:
Receiver module, for receiving the logging request that the terminal of the 2nd APP sends, the logging request carries the 2nd APP's
Second account information;
Judge module, for determining whether that the terminal of an APP is connected with local holding, wherein, the terminal of an APP passes through
First account information of the 2nd APP is connected with local holding;
First sending module, for when the terminal for having an APP is connected with local holding, second account of the 2nd AP P being believed
Breath is sent to the terminal of an APP, indicates that the terminal of an APP updates local account information.
6. device according to claim 5, it is characterised in that also include:
Handover module, for switching to the second account information by the first account information of the login of the terminal of an APP.
7. device according to claim 6, it is characterised in that also include:
Second sending module, for switching to the second account information by the first account information of the login of the terminal of an APP
Before, the terminal to an APP sends a notification message, and indicates that the terminal of an APP is logged in again according to the second account information.
8. device according to claim 7, it is characterised in that the notification message includes checking information, indicates an APP
Terminal carry checking information according to the second account information when logging in again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079325.9A CN106506685A (en) | 2016-11-29 | 2016-11-29 | A kind of method and device of synchronizing information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079325.9A CN106506685A (en) | 2016-11-29 | 2016-11-29 | A kind of method and device of synchronizing information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106506685A true CN106506685A (en) | 2017-03-15 |
Family
ID=58329167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611079325.9A Pending CN106506685A (en) | 2016-11-29 | 2016-11-29 | A kind of method and device of synchronizing information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106506685A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145798A (en) * | 2017-05-03 | 2017-09-08 | 广州市千钧网络科技有限公司 | The display methods and system of a kind of login account |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045801A (en) * | 2015-05-20 | 2015-11-11 | 天脉聚源(北京)传媒科技有限公司 | Login avatar displaying method, apparatus and system |
CN105429931A (en) * | 2014-09-09 | 2016-03-23 | 博雅网络游戏开发(深圳)有限公司 | Method and system for account number information interaction between application platform and third-party platform |
CN105871958A (en) * | 2015-01-21 | 2016-08-17 | 中兴通讯股份有限公司 | Method for managing account information in centralized manner and terminal |
CN106156190A (en) * | 2015-04-21 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of data push method and device |
-
2016
- 2016-11-29 CN CN201611079325.9A patent/CN106506685A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105429931A (en) * | 2014-09-09 | 2016-03-23 | 博雅网络游戏开发(深圳)有限公司 | Method and system for account number information interaction between application platform and third-party platform |
CN105871958A (en) * | 2015-01-21 | 2016-08-17 | 中兴通讯股份有限公司 | Method for managing account information in centralized manner and terminal |
CN106156190A (en) * | 2015-04-21 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of data push method and device |
CN105045801A (en) * | 2015-05-20 | 2015-11-11 | 天脉聚源(北京)传媒科技有限公司 | Login avatar displaying method, apparatus and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145798A (en) * | 2017-05-03 | 2017-09-08 | 广州市千钧网络科技有限公司 | The display methods and system of a kind of login account |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7197751B2 (en) | Real-time collaboration client | |
US9690923B2 (en) | Method, apparatus and system for verifying terminal | |
CN109471865B (en) | Offline data management method, system, server and storage medium | |
US7206811B2 (en) | System and method for facilitating real-time collaborating by collapsing a queue for a slow client | |
CN112615753B (en) | Link abnormity tracking method, first node, second node and link | |
US20040179036A1 (en) | Method of sharing a desktop with attendees of a real-time collaboration | |
CN109087116A (en) | Accumulated point exchanging method, integral transaction system and computer readable storage medium | |
CN104602238A (en) | Wireless network connecting method, device and system | |
US9929930B2 (en) | Reducing an amount of captured network traffic data to analyze | |
CN105045801B (en) | The display methods of head portrait, apparatus and system when a kind of login | |
CN103490984B (en) | A kind of method and apparatus obtaining user profile | |
CN106506685A (en) | A kind of method and device of synchronizing information | |
CN110415318B (en) | Image processing method and device | |
CN111181905A (en) | File encryption method and device | |
CN107342981B (en) | Sensor data transmission method and device and virtual reality head-mounted equipment | |
CN107018164B (en) | Service processing method and device | |
CN108696855B (en) | Information management method, session management function and mobility management function | |
CN106209742B (en) | Security verification method and system | |
CN106358008B (en) | Method for avoiding repeated call access and conference television terminal equipment | |
CN108111501B (en) | Control method and device for cheating flow and computer equipment | |
US20180205689A1 (en) | Message capture for messaging system | |
WO2016064346A1 (en) | A collaboration management method | |
CN104811771B (en) | A kind of processing method and processing device of video push failure | |
CN109933960A (en) | Service call control method, service calling method, device and terminal | |
CN104639548B (en) | A kind of method and apparatus logging in application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170315 |
|
RJ01 | Rejection of invention patent application after publication |