CN102843374A - Method and system for processing repeat login - Google Patents

Method and system for processing repeat login Download PDF

Info

Publication number
CN102843374A
CN102843374A CN2012103193755A CN201210319375A CN102843374A CN 102843374 A CN102843374 A CN 102843374A CN 2012103193755 A CN2012103193755 A CN 2012103193755A CN 201210319375 A CN201210319375 A CN 201210319375A CN 102843374 A CN102843374 A CN 102843374A
Authority
CN
China
Prior art keywords
user
service process
process server
repeat logon
server
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
CN2012103193755A
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 CN2012103193755A priority Critical patent/CN102843374A/en
Publication of CN102843374A publication Critical patent/CN102843374A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and a system for processing repeat login. The method provided by the invention comprises the following steps: a business processing server receives a user login request and inquires whether the user repeatedly logs in a global cache server; if the user repeatedly logs in, the business processing server inquires whether the local cache contains the user login information and judges whether the connection of the logged user and the repeatedly logged user connection are the same; and if the connection of the logged user and the repeatedly logged user connection are not the same, the business processing server respectively sends confirmation commands to the logged user and the repeatedly logged user and performs corresponding processing according to return results of the command.

Description

A kind of processing method of repeat logon and system
Technical field
The invention belongs to the instant messaging field, relate in particular to a kind of processing method and system of repeat logon.
Background technology
Along with the continuous progress of networking society, during increasing immediate communication tool is applied to work and lives, such as Fetion, MSN and some enterprise version application software etc.In present instant messaging was used, the same number of the account of the often frequent login of user had caused no small pressure to server.In most cases,, cause the server end user data inconsistent, so that User Status is chaotic, causes the user to login unsuccessful, user's login and delay or potential safety hazard because server is untimely to user's frequent login process.
Summary of the invention
The present invention provides a kind of processing method and system of repeat logon to address the above problem.
The present invention provides a kind of processing method of repeat logon, may further comprise the steps.Service Process Server receives user's logging request, and whether the said user of inquiry is repeat logon in the global buffer server.If said user be repeat logon, said Service Process Server inquires about in the local cache whether said user login information is arranged, and the connection of judging said logged-in user whether be connected with the user of said repeat logon be same connection.If being connected with the user of said repeat logon, the connection of said logged-in user not same connection; Said Service Process Server sends the affirmation instruction to said logged-in user and said repeat logon user respectively, and carries out handled according to the instruction return results.
The present invention provides a kind of treatment system of repeat logon, comprises client, Service Process Server and global buffer server, and said client connects said Service Process Server, and said Service Process Server connects said global buffer server.Said client is used for sending user's logging request to said Service Process Server.Said Service Process Server; Whether be used for the said user of global buffer server inquiry is repeat logon; And when said user is repeat logon; Whether inquiry has said user login information in the local cache, and the connection of judging said logged-in user whether be connected with the user of said repeat logon be same connection.Also be used for not being same connection, send the affirmation instruction to said logged-in user and said repeat logon user respectively, and carry out handled according to the instruction return results if the connection of said logged-in user is connected with the user of said repeat logon.Said global buffer server is used for providing to said Service Process Server whether said user is the inquiry of repeat logon.
Compared to prior art, according to the processing method and the system of repeat logon provided by the invention, Service Process Server receives user's logging request, and whether inquiring user is repeat logon in the global buffer server.When the user was repeat logon, whether the connection that in the Service Process Server inquiry local cache whether said user login information is arranged and judge said logged-in user is connected with the user of said repeat logon was same connection.Through in the local cache of global buffer server and Service Process Server, confirming user's logging status to have reduced the performance overhead mutual with database.Be not same connection if the connection of logged-in user is connected with the user of repeat logon, Service Process Server sends the affirmation instruction respectively to logged-in user and repeat logon user simultaneously, and carries out handled according to the instruction return results.So, through confirming instruction, ensured that the user logins safety to the two-way transmission of user.
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 flow chart of the processing method of the repeat logon that provides for preferred embodiment according to the present invention shown in Figure 1;
The decomposition process figure of the processing method of the repeat logon that provides for preferred embodiment according to the present invention shown in Figure 2;
The sketch map of the treatment system of the repeat logon that provides for preferred embodiment according to the present invention shown in Figure 3.
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 flow chart of the processing method of the repeat logon that provides for preferred embodiment according to the present invention shown in Figure 1.The decomposition process figure of the processing method of the repeat logon that provides for preferred embodiment according to the present invention shown in Figure 2.
As shown in Figure 1, the processing method of the repeat logon that preferred embodiment of the present invention provides comprises step 101 ~ 103.
Step 101: Service Process Server receives user's logging request, and whether the said user of inquiry is repeat logon in the global buffer server.
Step 102: if said user be repeat logon, said Service Process Server inquires about in the local cache whether said user login information is arranged, and the connection of judging said logged-in user whether be connected with the user of said repeat logon be same connection.
Step 103: be not same connection if the connection of said logged-in user is connected with the user of said repeat logon; Said Service Process Server sends the affirmation instruction to said logged-in user and said repeat logon user respectively, and carries out handled according to the instruction return results.
Specify the processing method of the repeat logon that preferred embodiment of the present invention provides below in conjunction with Fig. 2.
Step 101a: Service Process Server receives user's logging request.
Step 101b: whether said Service Process Server judges repeat logon.
Particularly, after user registration success, said Service Process Server storage user's authentication information, said authentication information is used for Service Process Server and sends identifying user identity when confirming instruction.Said Service Process Server deposits said user's log-on message respectively in global buffer server and the local cache, and the information that will connect deposits in the connection chained list of said local cache.All Service Process Server are given in information sharing in the said global buffer server; Information is not shared with other Service Process Server except that the local service processing server in the said local cache, and the connection in the said connection chained list is not shared with other Service Process Server except that the local service processing server.Wherein, the log-on message in the said global buffer server comprises the Service Process Server IP address and the port numbers at user name, place, and the log-on message of said local cache comprises the user name of login user, connection name.The user name that said Service Process Server carries according to said logging request, whether the said user of inquiry is repeat logon in the global buffer server.If not, execution in step 104 then.If, execution in step 102a then.
Step 102a: in the Service Process Server inquiry local cache whether said user login information is arranged.
Particularly, said Service Process Server is according to the user name of said repeat logon, and whether inquiry has said user login information in the log-on message of local cache.If not, execution in step 105 then.If, execution in step 102b then.
Step 102b: said Service Process Server judges whether the connection of logged-in user is connected with the user of repeat logon is same connection.
Particularly, said Service Process Server is according to the connection name of said repeat logon, and whether inquiry has the connection identical with the connection of said repeat logon in the log-on message of local cache.If, execution in step 106.If not, execution in step 103a then.
Step 103a: Service Process Server sends the affirmation instruction to logged-in user and repeat logon user respectively.
Particularly, after said logged-in user and repeat logon user receive instruction respectively, confirm the result to said Service Process Server return instruction, said Service Process Server carries out handled according to the instruction return results.Said Service Process Server according to the mode that the instruction return results carries out handled is: if the instruction results mistake that said repeat logon user returns; The Service Process Server at said repeat logon user place breaks off said repeat logon user's connection, the connection that the Service Process Server at said logged-in user place keeps said logged-in user.If the instruction results that said repeat logon user returns is correct; The connection that the Service Process Server at said logged-in user place breaks off said logged-in user, the Service Process Server foundation at said repeat logon user place is connected with said repeat logon user's.In this, the Service Process Server notice global buffer server at said repeat logon user place, said global buffer server is revised the said user's who breaks off connection of local storage log-on message according to said notice.
Step 104: if Service Process Server judges that said user is not a repeat logon, then said Service Process Server Update Information in the storehouse User Status and revise user login information after, send the said user notice of reaching the standard grade to other server.
If the Service Process Server judges is not repeat logon, said Service Process Server Update Information User Status described in the storehouse and preserve said user login information after, send the said user notice of reaching the standard grade to other Service Process Server.Detailed process does, said Service Process Server sends to other all Service Process Server with said user's user name, and said other Service Process Server sends the notice of reaching the standard grade to other user with the same group of said user.
Step 105: the Service Process Server of user's repeat logon sends the repeat logon instruction to the listed Service Process Server of user.
Particularly, if said user does not have said user login information for repeat logon and said Service Process Server local cache, promptly said logged-in user and repeat logon user are not in same Service Process Server login.Said Service Process Server sends the repeat logon instruction to the listed Service Process Server of said user.
Step 105a: the Service Process Server at repeat logon user place sends to the repeat logon user confirms instruction.
Step 105b: the Service Process Server of logged-in user sends to logged-in user confirms instruction.
Particularly, said step 105a and step 105b are operation simultaneously.Said Service Process Server send confirm instruction mode can also for; Said user registering service processing server sends the affirmation instruction to said logged-in user and repeat logon user respectively; Or said repeat logon user belongs to Service Process Server and sends to said logged-in user and repeat logon user respectively and confirm instruction; Can select according to actual needs for send mode, this present invention is not limited.
Step 106: Service Process Server abandons the repeat logon login request of users.
Particularly; If said user is repeat logon and said Service Process Server inquiry local cache said user login information is arranged; Be that said logged-in user and repeat logon user login on same Service Process Server; And said connection of having set up is connected to same the connection with the user of said repeat logon, and said Service Process Server abandons said repeat logon login request of users.
For example, if a certain moment user a sends logging request through client to Service Process Server n.After said Service Process Server n receives said logging request; Inquiring user a has logined on Service Process Server m in the global buffer server; And Service Process Server n does not inquire the log-on message of said user a in local cache, and then Service Process Server n sends the repeat logon instruction to Service Process Server m.Next Service Process Server m sends to logged-in user a and confirms instruction, and Service Process Server n sends to the user a of repeat logon and confirms instruction.If the instruction results that the user a of logged-in user a and repeat logon returns is all correct, then Service Process Server m breaks off with logged-in user a and belongs to being connected of client, and Service Process Server n sets up with the user a of repeat logon and belongs to being connected of client.In this, the user a place client of said logged-in user a place client and repeat logon can be same client, also can be different clients, and this present invention is not limited.Next said Service Process Server n is the log-on message of said repeat logon user a notice global buffer server, the corresponding informance that said global buffer server is revised as Service Process Server n according to said notice with the IP address and the port number information of the Service Process Server in the log-on message of user a.
In addition, if a certain moment user b sends logging request through client to Service Process Server x.After said Service Process Server x received said logging request, inquiring user b had logined on Service Process Server x in the global buffer server, and Service Process Server x inquires the log-on message of said user b in local cache.Next if Service Process Server x does not inquire the link information of said repeat logon user b place client in the connection chained list of local cache, then Service Process Server x sends the affirmation instruction to logged-in user b and repeat logon user b respectively.If repeat logon user b return instruction erroneous results, then Service Process Server x breaks off with repeat logon user b and belongs to being connected of client, keeps belonging to being connected of client with logged-in user b.In present embodiment; If Service Process Server x inquires the link information of said repeat logon user b place client in the connection chained list of local cache; Then Service Process Server x abandons the connection request of said repeat logon user b; Break off the connection of said repeat logon user b place client, the connection that keeps logged-in user b place client.
The sketch map of the treatment system of the repeat logon that provides for preferred embodiment according to the present invention shown in Figure 3.As shown in Figure 3; The treatment system of the repeat logon that preferred embodiment of the present invention provides comprises client 301, Service Process Server 302 and global buffer server 303; Said client 301 connects said Service Process Server 302, and said Service Process Server 302 connects said global buffer server 303.Said client 301 is used for sending user's logging request to said Service Process Server 302.Said Service Process Server 302; Whether be used for the global buffer server 303 said users of inquiry is repeat logon; And when said user is repeat logon; Whether inquiry has said user login information in the local cache, and the connection of judging said logged-in user whether be connected with the user of said repeat logon be same connection.Also be used for not being same connection, send the affirmation instruction to said logged-in user and said repeat logon user respectively, and carry out handled according to the instruction return results if the connection of said logged-in user is connected with the user of said repeat logon.Said global buffer server 303 is used for providing to said Service Process Server 302 whether said user is the inquiry of repeat logon.
In sum, the processing method of the repeat logon that preferred embodiment provides according to the present invention and system, Service Process Server receives user's logging request, and whether inquiring user is repeat logon in the global buffer server.When the user was repeat logon, whether the connection that in the Service Process Server inquiry local cache whether said user login information is arranged and judge said logged-in user is connected with the user of said repeat logon was same connection.Through in the local cache of global buffer server and Service Process Server, confirming user's logging status to have reduced the performance overhead mutual with database.Be not same connection if the connection of logged-in user is connected with the user of repeat logon, Service Process Server sends the affirmation instruction respectively to logged-in user and repeat logon user simultaneously, and carries out handled according to the instruction return results.So, through confirming instruction, ensured that the user logins safety to the two-way transmission of user.
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 (8)

1. the processing method of a repeat logon is characterized in that, may further comprise the steps:
Service Process Server receives user's logging request, and whether the said user of inquiry is repeat logon in the global buffer server;
If said user be repeat logon, said Service Process Server inquires about in the local cache whether said user login information is arranged, and the connection of judging said logged-in user whether be connected with the user of said repeat logon be same connection;
If being connected with the user of said repeat logon, the connection of said logged-in user not same connection; Said Service Process Server sends the affirmation instruction to said logged-in user and said repeat logon user respectively, and carries out handled according to the instruction return results.
2. method according to claim 1; It is characterized in that; If Service Process Server judges that said user is not a repeat logon; Then said Service Process Server Update Information User Status described in the storehouse and revise said user login information after, send the said user notice of reaching the standard grade to other Service Process Server.
3. method according to claim 1; It is characterized in that; If said user does not have said user login information for repeat logon and said Service Process Server local cache; Said Service Process Server sends the repeat logon instruction to the listed Service Process Server of said user; And the listed Service Process Server of said user sends to said logged-in user confirms instruction; Said repeat logon user belongs to Service Process Server and sends to said repeat logon user and confirm instruction, or said user the registering service processing server send to said logged-in user and repeat logon user respectively and confirm instruction, or said repeat logon user belongs to Service Process Server and sends to said logged-in user and repeat logon user respectively and confirm instruction.
4. method according to claim 1; It is characterized in that; If said Service Process Server inquiry local cache has said user login information; And said connection of having set up is connected to same the connection with the user of said repeat logon, and said Service Process Server abandons said repeat logon user's instruction.
5. method according to claim 1; It is characterized in that; If Service Process Server judges that said user is not a repeat logon; Then said Service Process Server deposits said user's log-on message respectively in global buffer server and the local cache, and the information that will connect deposits in the connection chained list of said local cache.
6. method according to claim 5; It is characterized in that; All Service Process Server are given in information sharing in the said global buffer server; Information is not shared with other Service Process Server except that the local service processing server in the said local cache, and the connection in the said connection chained list is not shared with other Service Process Server except that the local service processing server.
7. method according to claim 1; It is characterized in that; Log-on message in the said global buffer server comprises the Service Process Server IP address and the port numbers at user name, place, and the log-on message of said local cache comprises the user name and the connection name of login user.
8. the treatment system of a repeat logon is characterized in that, comprises client, Service Process Server and global buffer server, and said client connects said Service Process Server, and said Service Process Server connects said global buffer server,
Said client is used for sending user's logging request to said Service Process Server;
Said Service Process Server; Whether be used for the said user of global buffer server inquiry is repeat logon; And when said user is repeat logon; Whether inquiry has said user login information in the local cache, and the connection of judging said logged-in user whether be connected with the user of said repeat logon be same connection
Also be used for not being same connection, send the affirmation instruction to said logged-in user and said repeat logon user respectively, and carry out handled according to the instruction return results if the connection of said logged-in user is connected with the user of said repeat logon;
Said global buffer server is used for providing to said Service Process Server whether said user is the inquiry of repeat logon.
CN2012103193755A 2012-08-31 2012-08-31 Method and system for processing repeat login Pending CN102843374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103193755A CN102843374A (en) 2012-08-31 2012-08-31 Method and system for processing repeat login

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103193755A CN102843374A (en) 2012-08-31 2012-08-31 Method and system for processing repeat login

Publications (1)

Publication Number Publication Date
CN102843374A true CN102843374A (en) 2012-12-26

Family

ID=47370434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103193755A Pending CN102843374A (en) 2012-08-31 2012-08-31 Method and system for processing repeat login

Country Status (1)

Country Link
CN (1) CN102843374A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036909A (en) * 2012-12-29 2013-04-10 华为技术有限公司 Method for identifying repeated online, server and client side
CN105933302A (en) * 2016-04-14 2016-09-07 北京思特奇信息技术股份有限公司 Repeated job number login method and system
CN106878664A (en) * 2015-12-10 2017-06-20 北京航天长峰科技工业集团有限公司 The concurrently access of the network video device being limited for number of users and management method
CN111095244A (en) * 2017-07-31 2020-05-01 菱沼昇 Service providing system and service providing method
CN111355730A (en) * 2020-02-28 2020-06-30 政采云有限公司 Platform login method, device, equipment and computer readable storage medium
CN112672338A (en) * 2020-12-28 2021-04-16 超讯通信股份有限公司 Method and device for preventing terminal from being detached from small base station for adsorption

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159624A (en) * 2007-10-31 2008-04-09 中兴通讯股份有限公司 Account use monitoring method
CN101442658A (en) * 2008-12-25 2009-05-27 中兴通讯股份有限公司 Method and system for user accessing and maintaining set-top box of network television value added business
CN101557387A (en) * 2008-04-11 2009-10-14 北京亿企通信息技术有限公司 Method for dealing with repeat login

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159624A (en) * 2007-10-31 2008-04-09 中兴通讯股份有限公司 Account use monitoring method
CN101557387A (en) * 2008-04-11 2009-10-14 北京亿企通信息技术有限公司 Method for dealing with repeat login
CN101442658A (en) * 2008-12-25 2009-05-27 中兴通讯股份有限公司 Method and system for user accessing and maintaining set-top box of network television value added business

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036909A (en) * 2012-12-29 2013-04-10 华为技术有限公司 Method for identifying repeated online, server and client side
CN103036909B (en) * 2012-12-29 2016-03-30 华为技术有限公司 A kind of method that identification repeats to reach the standard grade, server and client side
CN106878664A (en) * 2015-12-10 2017-06-20 北京航天长峰科技工业集团有限公司 The concurrently access of the network video device being limited for number of users and management method
CN105933302A (en) * 2016-04-14 2016-09-07 北京思特奇信息技术股份有限公司 Repeated job number login method and system
CN111095244A (en) * 2017-07-31 2020-05-01 菱沼昇 Service providing system and service providing method
CN111095244B (en) * 2017-07-31 2021-08-10 菱沼昇 Service providing system and service providing method
CN111355730A (en) * 2020-02-28 2020-06-30 政采云有限公司 Platform login method, device, equipment and computer readable storage medium
CN112672338A (en) * 2020-12-28 2021-04-16 超讯通信股份有限公司 Method and device for preventing terminal from being detached from small base station for adsorption
CN112672338B (en) * 2020-12-28 2023-09-19 超讯通信股份有限公司 Method and device for preventing terminal from being separated from small base station for adsorption

Similar Documents

Publication Publication Date Title
CN102843374A (en) Method and system for processing repeat login
EP3402136B1 (en) Information interaction method, client and device
CN1315292C (en) Method for implementing network communication by identifying one user group with one number
CN102368764B (en) A kind of method, system and client communicated by multi-point login
CN102821056B (en) A kind of transmission method of instant communication message and equipment
CN104246802A (en) Cross platform messaging
US20090044252A1 (en) System, method, and program for instant messagings
CN112788074A (en) Data transmitting method, processing method, receiving method and equipment and storage medium
CN102970308B (en) A kind of user authen method and server
KR101416280B1 (en) Event handling system and method
CN103647701A (en) Method and device for controlling message forwarding of instant messaging system
EP2747382B1 (en) Services and management layer for diverse data connections
CN105357329A (en) Business data transmission method, device and system for use in cross-Internet data center (IDC) network environment
CN105991592A (en) Same-natural-person identity maintenance method and apparatus, and server
CN108011870B (en) A kind of remote software online upgrading information automatic identification management method
US10911569B1 (en) System and method for asset management and integration
CN101001213B (en) Short message transmission system and method
CN102368766A (en) Instant messaging tool login method and system thereof
CN1642079A (en) Method for obtaining user identification information for network application entity
CN105740656A (en) Data authority management method and device
CN103731342A (en) Instant message based workflow management system and management method
US8060568B2 (en) Real time messaging framework hub to intercept and retransmit messages for a messaging facility
CN108270876A (en) The implementation method of proxy server in a kind of signal system
CN101155025A (en) Intimacy protection system and method and global permission management server and client terminal
CN108735278B (en) Instruction transmission method and application suitable for rehabilitation equipment

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