CN102387194A - Device and method for synchronizing user session - Google Patents

Device and method for synchronizing user session Download PDF

Info

Publication number
CN102387194A
CN102387194A CN2011102891365A CN201110289136A CN102387194A CN 102387194 A CN102387194 A CN 102387194A CN 2011102891365 A CN2011102891365 A CN 2011102891365A CN 201110289136 A CN201110289136 A CN 201110289136A CN 102387194 A CN102387194 A CN 102387194A
Authority
CN
China
Prior art keywords
user
connection
data collector
processor
corresponding lists
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
Application number
CN2011102891365A
Other languages
Chinese (zh)
Inventor
胡加明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2011102891365A priority Critical patent/CN102387194A/en
Publication of CN102387194A publication Critical patent/CN102387194A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a device and method for synchronizing user session. The device comprises a data transceiver and a processor. The data transceiver is connected with the processor. After the synchronization operation of the user session is triggered, the data transceiver acquires the link and corresponding list of the user in different regions according to the priority of the region in turn from the processor; the data transceiver synchronizes and updates the link and corresponding list of the user in each region in the processor in turn via comparing the internally stored newest link list in each region with the link and corresponding list of the user in the corresponding region in turn according to the priority of the region.

Description

The Apparatus and method for that a kind of user conversation is synchronous
Technical field
The invention belongs to network communication field, relate in particular to the synchronous Apparatus and method for of a kind of user conversation.
Background technology
At present, in the instant messaging process,, be easy to generate the connection data and the skimble-scamble situation of user data of operation, thereby cause overstocking a large amount of redundant datas, cause business logic processing to make mistakes because network environment is complicated.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 present invention provides a kind of user conversation synchronous Apparatus and method for, to address the above problem.
The present invention provides a kind of user conversation synchronous equipment, comprises data collector and processor.Data collector connection processing device.After user conversation simultaneous operation is triggered; Data collector obtains connection and user's corresponding lists of zones of different successively from processor according to the priority in zone; Data collector according to the priority in zone through relatively connection and user's corresponding lists of up-to-date connection tabulation in each zone of storage inside and the corresponding region that obtains, interior each regional connection of update processing device synchronously and user's corresponding lists successively successively.
The present invention also provides a kind of user conversation synchronous method.Said method may further comprise the steps: trigger user conversation simultaneous operation; Data collector obtains connection and user's corresponding lists of zones of different successively from processor according to the priority in zone; Data collector according to the priority in zone through relatively connection and user's corresponding lists of up-to-date connection tabulation in each zone of storage inside and the corresponding region that obtains, interior each regional connection of update processing device synchronously and user's corresponding lists successively successively.
Compared to prior art; The Apparatus and method for synchronous according to user conversation provided by the invention; Data collector according to the priority in zone through relatively connection and user's corresponding lists of corresponding region in the up-to-date connection tabulation in each zone and the processor successively, interior connection and the user's corresponding lists of update processing device synchronously successively.So, realized in the data collector connection 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:
The sketch map of the equipment that the user conversation that provides for preferred embodiment according to the present invention shown in Figure 1 is synchronous;
The flow chart of the method that the user conversation that provides for preferred embodiment according to the present invention shown in Figure 2 is synchronous.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
The sketch map of the equipment that the user conversation that provides for preferred embodiment according to the present invention shown in Figure 1 is synchronous.As shown in Figure 1, the synchronous equipment of the user conversation that preferred embodiment of the present invention provides comprises data collector 10, processor 12 and memory 14..Data collector 10 connection processing devices 12, memory 14 connects data collector 10 and processor 12.Wherein, data collector 10 receives the link information of zones of different, connection and user's corresponding lists of processor 12 storage zoness of different.Yet the present invention is not limited thereto.In other embodiment, the number of data collector and processor can be a plurality of, and the number with the zone is corresponding respectively.Particularly, a plurality of data collectors receive the link information of zones of different respectively, and different processors is stored connection and user's corresponding lists of zones of different respectively.In addition, a plurality of data collectors (corresponding to zones of different) and a processor also can be set, a data transceiver and a plurality of processor (corresponding to zones of different) perhaps are set.
In present embodiment; After user conversation simultaneous operation is triggered; Data collector 10 obtains connection and user's corresponding lists of zones of different successively from processor 12 according to the priority in zone; Data collector 10 passes through successively relatively up-to-date connection tabulation and connection and user's corresponding lists in each zone according to the priority in zone, connection and user's corresponding lists in the synchronous successively update processing device 12.In addition, when in the data collector 10 synchronous update processing devices 12 when each regional connection and user's corresponding lists, the user list of data collector 10 synchronous updated stored device 14 stored.
The flow chart of the method that the user conversation that provides for preferred embodiment according to the present invention shown in Figure 2 is synchronous.As shown in Figure 2, the synchronous method of the user conversation that preferred embodiment of the present invention provides 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, the synchronous equipment of the user conversation that present embodiment provides also comprises timer, and timer connects data collector 10, is used for regularly triggering user conversation simultaneous operation.Time point through 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 through operational order.
In present embodiment, the link information that data collector 10 receives can be distinguished according to the zone.For example, the link information of data collector 10 receptions comprises the link information of Beijing area, the link information in area, Shanghai and the link information of Suzhou District.And the zone has priority orders.For example, the priority in zone is followed successively by Beijing area, area, Shanghai, Suzhou District from high to low.In this, the link information of zones of different receives by data collector 10.Yet the present invention is not limited thereto.In other embodiment, when a plurality of data collector was set, the link information of zones of different can be received by different data collectors.
In present embodiment, the priority in zone is dynamic change.Particularly, the priority orders in zone can relatively obtain according to priority parameters, and priority parameters can be confirmed according to the connection type of zones of different again.For example, connect, revise connection when link information comprises inquiry, deletion connects and increase when connecting each regional priority argument F=m * inquiry linking number+n * modification linking number+p * deletion linking number+q * increase linking number.Wherein, m, n, p and q can be provided with for the weight that is provided with of different connections as required.So, according to the number that inquiry connects, modification connects, deletion connects and increases connection in each zone, can calculate different regional priority argument constantly.Simultaneously, confirm the priority (for example, priority argument is big more, and the priority level of corresponding region is high more) in zone according to the big I of priority argument.Because each regional link information is in the state of dynamic change, therefore, when different time trigger user conversation simultaneous operation, the priority orders in zone also can change.
In step 102, data collector 10 obtains connection and user's corresponding lists of corresponding region successively from processor 12 according to the priority in zone.In present embodiment, being followed successively by Beijing area, area, Shanghai, Suzhou District from high to low with the priority in zone is that example describes.After user conversation simultaneous operation was triggered, data collector 10 obtained connection and user's corresponding lists of Beijing area, area, Shanghai and Suzhou District current time successively from processor 12.Wherein, in the user conversation synchronizing process, data collector 10 will be stored in the buffering area from the up-to-date link information that receives.In this, connection is an one-to-one relationship with the user.
Then; In step 103; Data collector 10 according to the priority in zone through relatively connection and user's corresponding lists of up-to-date connection tabulation in each zone of storage inside and the corresponding region that obtains successively, update processing device 12 interior each regional connection and user's corresponding lists synchronously successively.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 12, overstock mass of redundancy data in the processor 12 thereby cause with user's corresponding data because network environment is complicated.In this, data collector 10 can be with up-to-date connection and user data synchronization to processor 12 through connection and user's corresponding lists in more up-to-date connection tabulation and the processor 12.So, realize the synchronous of data collector 10 and processor 12 internal informations.
Particularly, in present embodiment, being followed successively by Beijing area, area, Shanghai, Suzhou District from high to low with the priority in zone is that example describes.Data collector 10 upgrades the information of Beijing area earlier synchronously, upgrades the regional information in Shanghai synchronously again, upgrades the information of Suzhou District at last synchronously.Below synchronous renewal process through Beijing area information be that example describes.Data collector 10 is up-to-date connection tabulation and connection and user's corresponding lists of Beijing area relatively.If the pairing user of connection in the up-to-date connection tabulation of Beijing area is not present in connection and the user's corresponding lists; Then data collector 10 notification processors 12 add said user and corresponding connection; If connect with user's corresponding lists in have not with the up-to-date corresponding user of connection who is connected in the tabulation the then connection of data collector 10 notification processors, 12 said users of deletion and correspondence.
For example, if the up-to-date connection tabulation of Beijing area comprises connect a, connect b, connect c and connect e, data collector 10 is as shown in table 1 below from connection and user's corresponding lists of the Beijing area that processor 12 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, data collector 10 notification processors 12 add connection e and 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 the up-to-date connection tabulation of Beijing area, do not occur, therefore, 12 deletions of data collector 10 notification processors connect d and user D.
In another preferred embodiment; Data collector 10 is through up-to-date connection tabulation of comparing the Beijing area and connection and the user's corresponding lists of obtaining; Obtain connection and user's corresponding lists of up-to-date Beijing area; And up-to-date connection and user's corresponding lists transferred to processor 12, processor 12 upgrades according to the up-to-date connection and the user's corresponding lists that receive synchronously.
For example; If the up-to-date connection tabulation of the Beijing area that data collector 10 obtains comprises connect a, connect b, connect c and connect e; Data collector 10 from processor 12 obtain before connection and the user's corresponding lists of Beijing area of storage as above shown in the table 1, it is as shown in table 2 below that then data collector 10 obtains up-to-date connection and user's corresponding lists of Beijing area.
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 data collector 10 will obtain are transferred to processor 12, and processor 12 upgrades its canned data according to last table 2.In addition, the information synchronization of area, Shanghai and Suzhou District is upgraded has identical processing procedure, so repeat no more in this.
In addition, in present embodiment, when the up-to-date connections in synchronous each zone of data collector 10 and user's corresponding data during to processor 12, the user list of also synchronous updated stored device 14 stored of data collector 10.For example, connection and user's corresponding lists of the Beijing area that data collector 10 renewals obtain are as shown in table 2, and then data collector 10 can will comprise that the user list of user A~C and user E transfers to memory 14, and the user list of updated stored device 14 stored.The information of area, Shanghai and Suzhou District also has same treatment.So, realize the synchronous of processor 12 and memory 14 interior user profile.
In present embodiment, after the user conversation simultaneous operation of data collector 10 controls was accomplished, data collector 10 meetings are with transfer of data to the processor 12 of buffering area stored, and were synchronous with current link information to realize processor 12.Simultaneously, data collector 10 is to memory 14 transmitting control commands, makes memory 14 directly synchronous with processor 12 realization user profile.
In sum; The Apparatus and method for that the user conversation that preferred embodiment provides according to the present invention is synchronous; Data collector according to the priority in zone through relatively connection and user's corresponding lists of corresponding region in the up-to-date connection tabulation in each zone and the processor successively, interior connection and the user's corresponding lists of update processing device synchronously successively.So, realized in the data collector connection 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 data collector, and after user conversation simultaneous operation finishes, carry out transmission process, so; Avoid losing of data in the user conversation synchronizing process, improved data stability.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, 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. the equipment that user conversation is synchronous is characterized in that, comprises data collector and processor, and said data collector connects said processor,
After user conversation simultaneous operation is triggered; Said data collector obtains connection and user's corresponding lists of zones of different successively from said processor according to the priority in zone; Said data collector through relatively connection and user's corresponding lists of up-to-date connection tabulation in each zone of storage inside and the corresponding region that obtains successively, upgrades interior each the regional connection of said processor and user's corresponding lists according to the priority in zone successively synchronously.
2. the synchronous equipment of user conversation according to claim 1; It is characterized in that; Said data collector is up-to-date connection tabulation and said connection and user's corresponding lists in each zone relatively; If the pairing user of connection in the up-to-date connection tabulation is not present in said connection and the user's corresponding lists; Then said data collector notifies said processor to add said user and corresponding connection thereof, if exist not with the up-to-date corresponding user of connection who is connected in the tabulation in said connection and the user's corresponding lists, then said data collector notifies said processor to delete the connection of said user and correspondence thereof.
3. the synchronous equipment of user conversation according to claim 1; It is characterized in that; Said data collector is up-to-date connection tabulation and said connection and user's corresponding lists in each zone relatively; Obtain up-to-date connection and user's corresponding lists, and said up-to-date connection and user's corresponding lists are transferred to said processor, said processor upgrades according to the up-to-date connection and the user's corresponding lists that receive synchronously.
4. the synchronous equipment of user conversation according to claim 1; It is characterized in that; Also comprise memory; Said memory connects said data collector and said processor, and when said data collector upgraded synchronously that each regional connection is with user's corresponding lists in the said processor, said data collector upgraded the user list that said store memory stores up synchronously.
5. the synchronous equipment of user conversation according to claim 1 is characterized in that also comprise timer, said timer connects said data collector, is used for regularly triggering user conversation simultaneous operation.
6. the method that user conversation is synchronous is characterized in that, may further comprise the steps:
Trigger user conversation simultaneous operation;
Data collector obtains connection and user's corresponding lists of zones of different successively from processor according to the priority in zone;
Said data collector through relatively connection and user's corresponding lists of up-to-date connection tabulation in each zone of storage inside and the corresponding region that obtains successively, upgrades interior each the regional connection of said processor and user's corresponding lists according to the priority in zone successively synchronously.
7. the synchronous method of user conversation according to claim 6; It is characterized in that; When said data collector upgrades synchronously in the said processor each regional connection and user's corresponding lists, the user list of the synchronous updated stored device of said data collector stored.
8. the synchronous method of user conversation according to claim 6 is characterized in that, the mode that triggers user conversation simultaneous operation comprises command triggers mode and timing triggering mode.
9. the synchronous method of user conversation according to claim 6; It is characterized in that; Said data collector is up-to-date connection tabulation and said connection and user's corresponding lists in each zone relatively; If the pairing user of connection in the up-to-date connection tabulation is not present in said connection and the user's corresponding lists; Then said data collector notifies said processor to add said user and corresponding connection thereof, if exist not with the up-to-date corresponding user of connection who is connected in the tabulation in said connection and the user's corresponding lists, then said data collector notifies said processor to delete the connection of said user and correspondence thereof.
10. the synchronous method of user conversation according to claim 6; It is characterized in that; Said data collector is up-to-date connection tabulation and said connection and user's corresponding lists in each zone relatively; Obtain up-to-date connection and user's corresponding lists, and said up-to-date connection and user's corresponding lists are transferred to said processor, said processor upgrades according to the up-to-date connection and the user's corresponding lists that receive synchronously.
CN2011102891365A 2011-09-27 2011-09-27 Device and method for synchronizing user session Pending CN102387194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102891365A CN102387194A (en) 2011-09-27 2011-09-27 Device and method for synchronizing user session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102891365A CN102387194A (en) 2011-09-27 2011-09-27 Device and method for synchronizing user session

Publications (1)

Publication Number Publication Date
CN102387194A true CN102387194A (en) 2012-03-21

Family

ID=45826154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102891365A Pending CN102387194A (en) 2011-09-27 2011-09-27 Device and method for synchronizing user session

Country Status (1)

Country Link
CN (1) CN102387194A (en)

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
CN102088489B (en) Distributed data synchronizing system and method
CN102368737A (en) Cloud storage system and data access method thereof
RU2010101323A (en) METHODS AND DEVICE FOR SYNCHRONIZING A DATA SET IN A WIRELESS COMMUNICATION MEDIA
CN102202271A (en) Method, system and device for sharing schedule information of multiple mobile terminals
CN107231400B (en) Data synchronization method and device
CN110516005A (en) A kind of distributed data base Fast synchronization system and method
CN101673205B (en) Interface board upgrading method and system
CN104468163A (en) Method and device for disaster tolerant network construction, and disaster tolerant network
CN104902444A (en) Dynamic restructuring method and system for cluster system
CN102186163B (en) Data synchronizing method of multi-account address book of smart phone
CN102149185B (en) Method and device for maintaining synchronous set
CN108605300A (en) A kind of method and apparatus that NAN equipment sends sync beacon message
CN103348712A (en) Communication system
CN112867134B (en) Time delay configuration management system, method and base station
US9767023B2 (en) Method of controlling data writing to persistent storage device
CN102347915A (en) User session synchronization equipment and method
CN102387194A (en) Device and method for synchronizing user session
CN102368751A (en) User session synchronization device and method thereof
CN102325020A (en) User session synchronization equipment and method in instant communication
CN101631282B (en) Method for realizing dynamic advertisement
CN102377820A (en) User session synchronization device and user session synchronization method
CN101552773B (en) Method, equipment and system for processing data item identifier mapping in data synchronization
CN102291330A (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
CN102291331A (en) Equipment and method for realizing user session synchronization during instant communication

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: 20120321