CN102291331A - Equipment and method for realizing user session synchronization during instant communication - Google Patents
Equipment and method for realizing user session synchronization during instant communication Download PDFInfo
- Publication number
- CN102291331A CN102291331A CN2011102788203A CN201110278820A CN102291331A CN 102291331 A CN102291331 A CN 102291331A CN 2011102788203 A CN2011102788203 A CN 2011102788203A CN 201110278820 A CN201110278820 A CN 201110278820A CN 102291331 A CN102291331 A CN 102291331A
- Authority
- CN
- China
- Prior art keywords
- user
- connection
- date
- controller
- processor
- 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
Images
Abstract
The invention provides equipment and method for realizing user session synchronization during instant communication. The equipment comprises a data transceiver, a controller and a processor, wherein the controller is connected with the data transceiver; and the processor is connected with the controller. The method comprises the following steps that: after user session synchronization operation is triggered, the controller acquires a latest connection list from the data transceiver and acquires a connection-user corresponding list from the processor; and the controller compares the latest connection list with the acquired connection-user corresponding list to synchronize latest connection and corresponding data of a user to the processor.
Description
Technical field
The invention belongs to network communication field, relate in particular to and realize the synchronous Apparatus and method for of user conversation in a kind of instant messaging.
Background technology
At present, in the instant messaging process,, thereby cause overstocking a large amount of redundant datas, cause business logic processing to make mistakes because the network environment complexity is easy to generate the connection data and the skimble-scamble situation of user data of operation.So, reduce the treatment effeciency of service logic, and influenced user experience, what is more, can cause system crash.
In addition, in traditional distributed user session synchronizing process, do not have to consider the new user data that produces, cause these loss of datas easily, thereby influence user experience.
Summary of the invention
The invention provides and realize the synchronous Apparatus and method for of user conversation in a kind of instant messaging, to address the above problem.
The invention provides and realize the synchronous equipment of user conversation in a kind of instant messaging, comprise data collector, controller and processor.Controller connects data collector, and processor connects controller.After user conversation simultaneous operation is triggered, controller obtains up-to-date connection tabulation from data collector, and obtain connection and user's corresponding lists of storage from processor, controller is by more up-to-date connection tabulation and connection and the user's corresponding lists of obtaining, and synchronously up-to-date connection and user's corresponding data are to processor.
The present invention also provides and realizes the synchronous method of user conversation in a kind of instant messaging.Said method may further comprise the steps: trigger user conversation simultaneous operation; Controller obtains up-to-date connection tabulation from data collector, and obtains connection and user's corresponding lists of storage from processor; Controller is by more up-to-date connection tabulation and connection and the user's corresponding lists of obtaining, and synchronously up-to-date connection and user's corresponding data are to processor.
Compared to prior art, according to realizing the synchronous Apparatus and method for of user conversation in the instant messaging provided by the invention, controller is by connection and user's corresponding lists of more up-to-date connection tabulation and processor storage, and synchronously up-to-date connection and user's corresponding data are to processor.So, realized connection in the data collector and the user data in the processor synchronously, avoided overstocking of redundant data, and improved user's Experience Degree.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Figure 1 shows that the schematic diagram of realizing the equipment that user conversation is synchronous in the instant messaging that preferred embodiment according to the present invention provides;
Figure 2 shows that the flow chart of realizing the method that user conversation is synchronous in the instant messaging that preferred embodiment according to the present invention provides.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Figure 1 shows that the schematic diagram of realizing the equipment that user conversation is synchronous in the instant messaging that preferred embodiment according to the present invention provides.As shown in Figure 1, realize in the instant messaging that preferred embodiment of the present invention provides that the synchronous equipment of user conversation comprises data collector 10, controller 12, processor 14 and memory 16..Yet the present invention is not limited thereto.
In present embodiment, controller 12 connects data collector 10, and processor 14 connects controller 12, and memory 16 connects controller 12, memory 16 connection processing devices 14.After user conversation simultaneous operation is triggered, controller 12 obtains up-to-date connection tabulation from data collector 10, and obtain connection and user's corresponding lists of storage from processor 14, controller 12 is by more up-to-date connection tabulation and connection and the user's corresponding lists of obtaining, and synchronously up-to-date connection and user's corresponding data are to processor 14.In addition, when the synchronously up-to-date connection of controller 12 and user's corresponding data during to processor 14, the user list of controller 12 synchronous updated stored device 16 stored.
Figure 2 shows that the flow chart of realizing the method that user conversation is synchronous in the instant messaging that preferred embodiment according to the present invention provides.As shown in Figure 2, realize in the instant messaging that preferred embodiment of the present invention provides that the synchronous method of user conversation comprises step 101~103.Be elaborated below in conjunction with Fig. 1 and Fig. 2.
In step 101, trigger user conversation simultaneous operation.In this, the mode that triggers user conversation simultaneous operation is an example with the timing triggering mode.Particularly, realize that the synchronous equipment of user conversation also comprises timer, timer connects controller 12, is used for regularly triggering user conversation simultaneous operation.Time point by the timer setting regularly starts user conversation simultaneous operation.Yet the present invention is not limited thereto.In other embodiment, the mode that triggers user conversation simultaneous operation also can be the command triggers mode, promptly controls the execution of user conversation simultaneous operation by operational order.
In step 102, controller 12 obtains up-to-date connection tabulation from data collector 10, and obtains connection and user's corresponding lists of storage from processor 14.Particularly, after user conversation simultaneous operation was triggered, controller 12 obtained the up-to-date connection tabulation of current time from data collector 10.Wherein, in the user conversation synchronizing process, controller 12 will be stored in the buffering area from the link information that data collector 10 receives.Simultaneously, controller 12 obtains connection and user's corresponding lists of storage the processor 14 from processor 14.In this, connection is an one-to-one relationship with the user.
In step 103, controller 12 is by more up-to-date connection tabulation and connection and the user's corresponding lists of obtaining, and synchronously up-to-date connection and user's corresponding data are to processor 14.Particularly,, after the data processing of a period of time, there are differences being connected of storage in the connection meeting that data collector 10 receives and the processor 14, overstock mass of redundancy data in the processor 14 thereby cause with user's corresponding data because network environment is complicated.In this, connection and the user corresponding lists of controller 12 by relatively obtaining up-to-date connection tabulation and obtain from processor 14 from data collector 10 can be with up-to-date connection and user data synchronization to processor 14.So, realize the synchronous of data collector 10 and processor 14 internal informations.
Particularly, in present embodiment, when the more up-to-date connections tabulation of controller 12 and the connection of obtaining and user's corresponding lists, if the pairing user of connection in the up-to-date connection tabulation is not present in connection and the user's corresponding lists, then controller 12 notification processors 14 add described user and corresponding connection, if connect with user's corresponding lists in have not the corresponding user of connection who is connected in the tabulation with up-to-date, the then connection of controller 12 notification processors, 14 described users of deletion and correspondence.
For example, connect a, connect b, connect c and connect e if up-to-date connection tabulation comprises, controller 12 is as shown in table 1 below from connection and user's corresponding lists that processor 14 obtains.
Connect | The user |
Connect a | User A |
Connect b | User B |
Connect c | User C |
Connect d | User D |
Hence one can see that, has the user corresponding with being connected e in above-mentioned connection and the user's corresponding lists, and therefore, controller 12 notification processors 14 add and connect that e reach and the corresponding user (for example, user E) of connection e.In addition, the user D in above-mentioned connection and the user's corresponding lists and be connected d and in up-to-date connection tabulation, do not occur, therefore, 14 deletions of controller 12 notification processors connect d and user D.
In another preferred embodiment, controller 12 is by more up-to-date connection tabulation and connection and the user's corresponding lists of obtaining, obtain up-to-date connection and user's corresponding lists, and up-to-date connection and user's corresponding lists transferred to processor 14, processor 14 upgrades synchronously according to the up-to-date connection and the user's corresponding lists that receive.
For example, if the up-to-date connection tabulation that controller 12 obtains comprises connect a, connect b, connect c and connect e, controller 12 from processor 14 obtain before the connection of storage and user's corresponding lists as above shown in the table 1, then controller 12 obtains up-to-date connection and user's corresponding lists is as shown in table 2 below.
Connect | The user |
Connect a | User A |
Connect b | User B |
Connect c | User C |
Connect e | User E |
In this, up-to-date connection and user's corresponding lists that controller 12 will obtain are transferred to processor 14, and processor 14 upgrades its canned data according to last table 2.
In addition, in present embodiment, when the synchronously up-to-date connection of controller 12 and user's corresponding data during to processor 14, the user list of also synchronous updated stored device 16 stored of controller 12.For example, it is as shown in table 2 that controller 12 upgrades the connection and the user's corresponding lists that obtain, and then controller 12 can will comprise that the user list of user A~C and user E transfers to memory 16, and the user list of updated stored device 16 stored.So, realize the synchronous of processor 14 and memory 16 interior user profile.
In present embodiment, after the user conversation simultaneous operation of controller 12 control was finished, controller 12 can be with the transfer of data of buffering area stored to processor 14, and was synchronous with current link information to realize in the processor 14.Simultaneously, controller 12 is to data collector 10 and memory 16 transmitting control commands, makes data collector 10 directly to processor 14 transmission link informations, and memory 16 is directly synchronous with processor 14 realization user profile.In other words, controller 12 power cut-off behind user's simultaneous session EO is started working when the operation of simultaneous session next time triggers again.Yet the present invention is not limited thereto.
In sum, realize the synchronous Apparatus and method for of user conversation in the instant messaging that preferred embodiment provides according to the present invention, controller is by connection and user's corresponding lists of more up-to-date connection tabulation and processor storage, and synchronously up-to-date connection and user's corresponding data are to processor.So, realized connection in the data collector and the user data in the processor synchronously, avoided overstocking of redundant data, and improved user's Experience Degree.In addition, be stored in the link information of upgrading in the user conversation synchronizing process in the buffering area of controller, and after user conversation simultaneous operation finishes, carry out transmission process, so, avoided losing of data in the user conversation synchronizing process, improved data stability.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. realize the synchronous equipment of user conversation in an instant messaging, it is characterized in that comprise data collector, controller and processor, described controller connects described data collector, described processor connects described controller,
After user conversation simultaneous operation is triggered, described controller obtains up-to-date connection tabulation from described data collector, and obtain connection and user's corresponding lists of storage from described processor, described controller is by more up-to-date connection tabulation and described connection and the user's corresponding lists of obtaining, and synchronously up-to-date connection and user's corresponding data are to described processor.
2. realize the synchronous equipment of user conversation in the instant messaging according to claim 1, it is characterized in that, connection tabulation that described controller is more up-to-date and described connection and the user's corresponding lists of obtaining, if the pairing user of connection in the up-to-date connection tabulation is not present in described connection and the user's corresponding lists, then described controller notifies described processor to add described user and corresponding connection thereof, if there is not the corresponding user of connection who is connected in the tabulation with up-to-date in described connection and the user's corresponding lists, then described controller notifies described processor to delete the connection of described user and correspondence thereof.
3. realize the synchronous equipment of user conversation in the instant messaging according to claim 1, it is characterized in that, described controller is by more up-to-date connection tabulation and described connection and the user's corresponding lists of obtaining, obtain up-to-date connection and user's corresponding lists, and described up-to-date connection and user's corresponding lists transferred to described processor, described processor upgrades synchronously according to the up-to-date connection and the user's corresponding lists that receive.
4. realize the synchronous equipment of user conversation in the instant messaging according to claim 1, it is characterized in that, also comprise memory, described memory connects described controller, when the synchronously up-to-date connection of described controller with user's corresponding data during to described processor, described controller upgrades the user list that described store memory stores up synchronously.
5. realize the synchronous equipment of user conversation in the instant messaging according to claim 1, it is characterized in that also comprise timer, described timer connects described controller, be used for regularly triggering user conversation simultaneous operation.
6. realize the synchronous method of user conversation in an instant messaging, it is characterized in that, may further comprise the steps:
Trigger user conversation simultaneous operation;
Controller obtains up-to-date connection tabulation from data collector, and obtains connection and user's corresponding lists of storage from processor;
Described controller is by more up-to-date connection tabulation and described connection and the user's corresponding lists of obtaining, and synchronously up-to-date connection and user's corresponding data are to described processor.
7. realize the synchronous method of user conversation in the instant messaging according to claim 6, it is characterized in that, in the synchronously up-to-date connection of described controller and user's corresponding data extremely during described processor, the user list of the synchronous updated stored device of described controller stored.
8. realize the synchronous method of user conversation in the instant messaging according to claim 6, it is characterized in that the mode that triggers user conversation simultaneous operation comprises command triggers mode and timing triggering mode.
9. realize the synchronous method of user conversation in the instant messaging according to claim 6, it is characterized in that, connection tabulation that described controller is more up-to-date and described connection and the user's corresponding lists of obtaining, if the pairing user of connection in the up-to-date connection tabulation is not present in described connection and the user's corresponding lists, then described controller notifies described processor to add described user and corresponding connection thereof, if there is not the corresponding user of connection who is connected in the tabulation with up-to-date in described connection and the user's corresponding lists, then described controller notifies described processor to delete the connection of described user and correspondence thereof.
10. realize the synchronous method of user conversation in the instant messaging according to claim 6, it is characterized in that, described controller is by more up-to-date connection tabulation and described connection and the user's corresponding lists of obtaining, obtain up-to-date connection and user's corresponding lists, and described up-to-date connection and user's corresponding lists transferred to described processor, described processor upgrades synchronously according to the up-to-date connection and the user's corresponding lists that receive.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102788203A CN102291331A (en) | 2011-09-20 | 2011-09-20 | Equipment and method for realizing user session synchronization during instant communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102788203A CN102291331A (en) | 2011-09-20 | 2011-09-20 | Equipment and method for realizing user session synchronization during instant communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102291331A true CN102291331A (en) | 2011-12-21 |
Family
ID=45337449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102788203A Pending CN102291331A (en) | 2011-09-20 | 2011-09-20 | Equipment and method for realizing user session synchronization during instant communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102291331A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013040934A1 (en) * | 2011-09-20 | 2013-03-28 | 苏州阔地网络科技有限公司 | User session synchronization device and method in instant communication |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6870830B1 (en) * | 2000-11-30 | 2005-03-22 | 3Com Corporation | System and method for performing messaging services using a data communications channel in a data network telephone system |
CN101091362A (en) * | 2004-12-28 | 2007-12-19 | 皇家飞利浦电子股份有限公司 | Method and apparatus for peer-to-peer instant messaging |
CN101123656A (en) * | 2006-08-11 | 2008-02-13 | 艾威梯软件技术(北京)有限公司 | A short distance wireless communication system and method for connecting multiple sub-communication systems |
-
2011
- 2011-09-20 CN CN2011102788203A patent/CN102291331A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6870830B1 (en) * | 2000-11-30 | 2005-03-22 | 3Com Corporation | System and method for performing messaging services using a data communications channel in a data network telephone system |
CN101091362A (en) * | 2004-12-28 | 2007-12-19 | 皇家飞利浦电子股份有限公司 | Method and apparatus for peer-to-peer instant messaging |
CN101123656A (en) * | 2006-08-11 | 2008-02-13 | 艾威梯软件技术(北京)有限公司 | A short distance wireless communication system and method for connecting multiple sub-communication systems |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013040934A1 (en) * | 2011-09-20 | 2013-03-28 | 苏州阔地网络科技有限公司 | User session synchronization device and method in instant communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102323803B (en) | Intelligent home control method and system | |
US20050083862A1 (en) | Data migration method, system and node | |
CN103051764B (en) | Method for sharing information of contact persons in mobile phone | |
CN102202271A (en) | Method, system and device for sharing schedule information of multiple mobile terminals | |
WO2017162079A1 (en) | Data synchronization method and apparatus | |
CN104902444A (en) | Dynamic restructuring method and system for cluster system | |
CN104253872A (en) | Synchronous information updating method, system and terminal | |
CN102186163B (en) | Data synchronizing method of multi-account address book of smart phone | |
CN105246129B (en) | The network-building method and device of a kind of intelligent terminal | |
CN101222679B (en) | EV-DO system for updating terminal parameter through midair port and implementing method thereof | |
CN104202431A (en) | Personalized unit address book synchronization method and device as well as intelligent communication system | |
CN102291331A (en) | Equipment and method for realizing user session synchronization during instant communication | |
CN102291332A (en) | Synchronization equipment and method for realizing user session in instant communication | |
CN102291330A (en) | Equipment and method for realizing user session synchronization during instant communication | |
CN102325020A (en) | User session synchronization equipment and method in instant communication | |
CN100525208C (en) | Data synchronization method | |
CN106658440B (en) | Message sending method, related device and system | |
CN103327480A (en) | Intelligent mobile phone multiple-account contact information synchronizing method | |
CN102347915A (en) | User session synchronization equipment and method | |
US10277674B2 (en) | Apparatus for relaying data transmission in SCADA system | |
CN103139714A (en) | Method, system and switch of dynamic restructuring in cluster system | |
CN102368751A (en) | User session synchronization device and method thereof | |
CN102387194A (en) | Device and method for synchronizing user session | |
CN103118072B (en) | A kind of method and system of database update | |
CN102377820A (en) | User session synchronization device and user session synchronization method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111221 |