CN105357205B - A kind of login method, access server and gatekeeper's server - Google Patents

A kind of login method, access server and gatekeeper's server Download PDF

Info

Publication number
CN105357205B
CN105357205B CN201510788702.5A CN201510788702A CN105357205B CN 105357205 B CN105357205 B CN 105357205B CN 201510788702 A CN201510788702 A CN 201510788702A CN 105357205 B CN105357205 B CN 105357205B
Authority
CN
China
Prior art keywords
client
port
log
access server
events
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.)
Active
Application number
CN201510788702.5A
Other languages
Chinese (zh)
Other versions
CN105357205A (en
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.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and 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 Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201510788702.5A priority Critical patent/CN105357205B/en
Publication of CN105357205A publication Critical patent/CN105357205A/en
Application granted granted Critical
Publication of CN105357205B publication Critical patent/CN105357205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of login method, access server and gatekeeper's server, the login method includes that access server receives logging request, handles logging request, completes user's access;Access server is in the case where needing to restart, after restarting, the login again of client is handled by way of open port one by one, behind the first port of opening, handle the login again of the corresponding client in first port, and monitoring of the starting to own load situation, when the load value of itself is reduced to load threshold, continue open next port, the login again of the corresponding client of next port is handled simultaneously, and so on, until the login again of whole clients is completed in open whole ports.The login that the present invention can allow user orderly will not generate any influence to server even if attempting connection for the port client do not monitored, avoid storm problem caused by client concentration after server restarting is logged in.

Description

A kind of login method, access server and gatekeeper's server
Technical field
The present invention relates to development of Mobile Internet technology, espespecially a kind of login method, access server and gatekeeper's server.
Background technique
APP majority based on mobile terminal has online concept, and the user after logging in programming is as online User.Client is actively and server establishes a connection, and sends logging request, after server authentication passes through, just Client is calculated to login successfully.
If networking again after client suspension or program being killed after restarting, client can actively take in connection Business device.If Server Restart, client also in first time connection server and can initiate logging request.
After Server Restart, will listening port, all users can all connect server within 1s, and even It is connected into function and if so just will form storm in the moment of Server Restart to server transmission logging request with rear, take Business device cannot respond to.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of login method, access server and gatekeeper's server, It can avoid client that login is concentrated to result in storm after Server Restart.
In order to reach the object of the invention, the present invention provides a kind of login methods, comprising:
Access server receives logging request, handles the logging request, completes user's access;
The access server after restarting, passes through open port one by one in the case where needing to restart Mode handles the login again of client, behind the first port of opening, handles the login again of the corresponding client in first port, And the monitoring started to own load situation continues open next port when the load value of itself is reduced to load threshold, The login again of the corresponding client of next port is handled simultaneously, and so on, until open whole ports are completed all The login again of client.
Further, monitoring of the starting to own load situation, comprising:
It is recorded in the execution time of each event executed in scheduled time threshold value, will be held in the scheduled time threshold value of record The execution time of capable each event, which is added up, is always executed the time, calculates total execution time and the predetermined time The ratio of threshold value, the load value as access server.
Further, the method also includes:
The access server pre-establishes log-in events set, after receiving logging request, judges to send to log in and ask The client asked whether there is corresponding log-in events in the log-in events set, if it is present received by abandoning Logging request;If it does not exist, then corresponding log-in events are generated to send the client of logging request, by the login of generation Event is added in log-in events set, and executes the processing logging request.
Further, the method also includes:
The access server is every in log-in events set described in circular test after establishing the log-in events set Whether the execution time of a log-in events is more than execution time threshold, is more than to execute stepping on for time threshold if there is the time is executed Copyist's part then assert corresponding client login-timeout, and the corresponding log-in events of the client are moved from log-in events set It removes, terminates the processing of the logging request of the client.
Further, a kind of login method, comprising:
Gatekeeper's server receives the entry address acquisition request that client is sent, and carries in the entry address acquisition request There is user identifier;
Gatekeeper's server is client according to the user identifier after receiving the entry address acquisition request Specified access server, and port is distributed on specified access server for client, gatekeeper's server is by such as Under type calculating port numbers, the value that port numbers=assignable minimum port numbers+port offset amount takes the remainder port number, In, the port offset amount is the increasing variable certainly that initial value takes zero, is used on the port number access server The quantity of port;
Gatekeeper's server is by the address for the access server specified for client and is that client connects in specified The port numbers for entering the port distributed on server return to client, so that client is according to specified by gatekeeper's server The port numbers of the address of access server and the port distributed send logging request to the access server.
Further, a kind of access server, comprising: receiving unit, login process unit and control unit is logged in again, In:
The receiving unit, for receiving logging request;
The login process unit, the logging request received for handling the receiving unit complete user's access;
The heavy login control unit is used in the case where access server needs to restart, after restarting, The login again that client is handled by way of open port one by one indicates the login process behind the first port of opening The login again of the corresponding client in the first port of cell processing, and start the monitoring to access server load condition, it is connecing When entering the load value of server and being reduced to load threshold, continues open next port, indicate the login process unit simultaneously The login again of the corresponding client of next port is handled, and so on, until whole clients are completed in open whole ports Again the login at end.
Further, the heavy monitoring for logging in control unit starting to access server load condition, comprising:
It is recorded in the execution time of each event executed in scheduled time threshold value, will be held in the scheduled time threshold value of record The execution time of capable each event, which is added up, is always executed the time, calculates total execution time and the predetermined time The ratio of threshold value, the load value as access server.
It further, further include log-in events unit, in which:
The log-in events unit receives login in the receiving unit and asks for pre-establishing log-in events set After asking, judge that the client for sending logging request whether there is corresponding log-in events in the log-in events set, if In the presence of then indicating that the receiving unit abandons received logging request;If it does not exist, then to send the visitor of logging request Family end generates corresponding log-in events, and the log-in events of generation are added in log-in events set, and indicates at the login It manages unit and executes the processing logging request.
Further, the log-in events unit is also used to after establishing the log-in events set, described in circular test Whether the execution time of each log-in events in log-in events set is more than execution time threshold, super if there is the time is executed The log-in events for executing time threshold are crossed, then corresponding client login-timeout are assert, by the corresponding log-in events of the client It is removed from log-in events set, and indicates that the login process unit terminates the processing of the logging request of the client.
Further, a kind of gatekeeper's server, comprising: receiving unit, allocation unit and return unit, in which:
The receiving unit, for receiving the entry address acquisition request of client transmission, the entry address acquisition is asked User identifier is carried in asking;
The allocation unit, for after the receiving unit receives the entry address acquisition request, according to described User identifier is that client specifies access server, and port is distributed on specified access server for client, described Allocation unit calculates port numbers in the following way, and port numbers=assignable minimum port numbers+port offset amount is to port number Measure the value of remainder, wherein the port offset amount is the increasing variable certainly that initial value takes zero, and the port number is the access The quantity of the port used on server;
The return unit, for by address that the allocation unit is the specified access server of client and be client The port numbers for the port distributed on specified access server are held to return to client, so that client is according to the gatekeeper The port numbers of the address of access server specified by server and the port distributed send to the access server and log in Request.
Compared with prior art, the present invention includes that access server receives logging request, handles logging request, completes user Access;Access server after restarting, is handled in the case where needing to restart by way of open port one by one The login again of client handles the login again of the corresponding client in first port, and starting pair behind the first port of opening The monitoring of own load situation continues open next port, handles simultaneously when the load value of itself is reduced to load threshold The login again of the corresponding client of next port, and so on, until whole clients are completed in open whole ports Again it logs in.The present invention decontrols port (listening port) one by one, the login that user can be allowed orderly, for the port that do not monitor Even if client attempts connection, any influence will not be generated to server, avoid client collection after server restarting In logged in caused by storm problem.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the architecture diagram of login system of the invention;
Fig. 2 is the flow chart of login method of the invention;
Fig. 3 is the architecture diagram of access server of the invention;
Fig. 4 is the architecture diagram of gatekeeper's server of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
As shown in Figure 1, login system of the invention, comprising: client, gatekeeper's server and access server, in which:
Gatekeeper's server (Gate Keeper Server, GKS) is globally unique server, and client (client) is every All the IP and port of an access server can be obtained by server to the gatekeeper before secondary login.Gatekeeper's server is specified for client Access server, and port is distributed on specified access server for client.
Access server (Entry Server, ES) is distributed more (one is only shown in figure), for receiving and locating Logging request is managed, the access of user is completed.
Client obtains address and the port numbers of access server from gatekeeper's server, according to the address of access server and Port numbers send logging request, are logged in.
Client will do it and log in again in network switching.Client can also be attempted to log in again after restarting.Such as Fruit client is in connected state, but can not establish with the connection of access server, then client can all attempt weight each second New connection access server, until successful connection (such situation is generally present in access server restart when).One Logging request is then initiated in denier successful connection at once, after access server receives logging request, can will handle logging request, and After the essential information for loading user, logined successfully to client reply.Client is after initiating logging request, if waiting one to refer to (such as 60s) does not still receive the response of access server after fixing time, then it is assumed that login-timeout re-initiates logging request.
As shown in Fig. 2, login method of the invention, comprising:
Step 201: access server receives logging request, handles the logging request received, completes user's access;
After access server receives the logging request of client transmission, need to handle logging request.Login is asked It include User ID and user password in asking.The User ID and user that access server brings client by logging request up Password brings database into, is verified by database store process, and verification terminates to return, if User ID and user password are just Really, user's access is completed.
The main purpose verified to User ID and user password is to carry out legitimate verification to user, if verifying is used Family is legal, then will continue to the essential information of load user, such as basic business card, friend information and wealth information, these information are all After loading successfully, then logined successfully to client return.
It is just to be logined successfully to client return after the essential information success of load user in the present invention, because of client It just will do it various operations after logining successfully.The mode of this preloading requests to carry out after subsequent client logins successfully It, being capable of simpler, efficiently completion operation when other operations.
Step 202: access server after restarting, passes through open end one by one in the case where needing to restart The login again that the mode of mouth handles client handles the corresponding client's degree in first port again behind the first port of opening It logs in, and the monitoring started to own load situation continues to open next when the load value of itself is reduced to load threshold Port, the login again of the corresponding client of processing next port, and so on, until open whole ports are completed all The login again of client's degree.
Access server is specified for client by gatekeeper's server in the present invention, and is on specified access server Client distributes port, and the port that client is distributed on specified access server sends logging request.Therefore, it is taken in access When business device restarting, access server can avoid in open port, the login again of realization client in batches one by one Access server restarts the storm problem of moment.
For example, user is evenly distributed on 5 ports of specified access server by gatekeeper's server, when access takes After business is thought highly of and opened, access server first opens a port, and the user for belonging to this port at this time will be attached, and Logging request is initiated after successful connection, access server can be monitored the performance of oneself, if it find that load value reaches To load threshold (such as 50%), then next port can be opened, then and so on.
Further, access server starts the monitoring to own load situation in the present invention, comprising:
Access server is recorded in the execution time of each event executed in scheduled time threshold value, by the pre- timing of record Between execution time of each event for executing in threshold value add up and always executed the time, calculate it is total execute the time and it is pre- periodically Between threshold value ratio, the load value as access server.
There are a main work line journeys for access server in the present invention, by calculating within scheduled time threshold value (such as 60s) The working time of main work line journey calculates the load value of access server.
Since access server belongs to event driven, the event of execution in need is carried out, remaining time is at Wait state.Therefore, a timestamp (startWorkDT) is recorded when each event in 60s starts to execute, complete At when re-record a timestamp (endWorkDT), total execution time of access server in 60s (TotalWorkTime)=(endWorkDT-startWorkDT)+(endWorkDT-startWorkDT)+... ..;
Load value (ThreadLoad)=TotalWorkTime/60s;
TheadLoad is exactly the current load value of access server.
Further, access server of the invention can also pre-establish a log-in events set, receive visitor After the logging request that family end is sent, judge that the client for sending logging request is stepped in log-in events set with the presence or absence of corresponding Copyist's part, if it is present abandoning received logging request;If it does not exist, then to send the client of logging request Corresponding log-in events are generated, the log-in events of generation are added in log-in events set, and handle logging request.
It is first determined whether after receiving the logging request of client's degree in the present invention by creating a log-in events set Whether the client for sending logging request has corresponding log-in events in log-in events set, if so, illustrating the client Logging request has been continuously transmitted, then has directly ignored and (abandon) subsequent logging request.
Access server is after verification User ID and user password are correct in the present invention, also by the corresponding log-in events of user It is removed from log-in events marriage, and user is added in online user's queue.
Further, the access server in the present invention, can also circular test login thing after establishing log-in events set Whether the execution time of each log-in events in part set is more than execution time threshold, is more than to execute if there is the time is executed The log-in events of time threshold then assert corresponding client login-timeout, by the corresponding log-in events of the client from login It is removed in event sets, terminates the processing of the logging request of the client.
For example, can be more than to execute if there is client logs in by timer check log-in events set always Time threshold (1 minute) is all not logged on success, then it is assumed that login-timeout, it will be by the corresponding log-in events of the client from stepping on It is removed in record time set, and terminates the processing of the logging request of the client.
The present invention also provides login method gatekeeper's server side process flow, comprising:
Step a: gatekeeper's server receives the entry address acquisition request that client is sent, in entry address acquisition request Carry user identifier;
Step b: after receiving entry address acquisition request, be that client is specified according to user identifier connects gatekeeper's server Enter server, and distribute port on specified access server for client, gatekeeper's server calculates in the following way Port numbers, the value that port numbers=assignable minimum port numbers+port offset amount takes the remainder port number, wherein port is inclined Shifting amount is the increasing variable certainly that initial value takes zero, and port number is the quantity of the port used on access server;
Port offset amount can indicate that assignable minimum port numbers can be indicated using basePort using index, connect The quantity for entering the port used on server can indicate that Port=basePort+index%n passes through above formula using n It obtains current port numbers to be allocated, and returns to client, index++ after returning every time.
Such as: basePort=36002, index=4, n=5, then the port=36006 calculated, for another example: BasePort=36002, index=7, n=5, then the port=36002+2=36004 calculated, for another example: basePort =36002, index=5, n=5, then the port=36002+0=36002 calculated.
The client logged in by each port mean allocation that above scheme is just access server is subsequent It realizes that client orderly logs in after access server restarting to lay a good foundation.
In addition, gatekeeper's server, which is the specified access server of client, to be realized by customer segment, for example, one Access server services 500w user, and User ID is that 1~500w is just assigned to PES1, User ID be 500w~1000w just It is assigned to PES2.
Step c: gatekeeper's server is by the address for the access server specified for client and is client specified The port numbers for the port distributed on access server return to client, so that client connects according to specified by gatekeeper's server The port numbers of the address and the port distributed that enter server send logging request to access server.
In gatekeeper's server by the IP address for the access server specified for client and on specified access server For client distribution port port numbers return to client after, client can be according to the IP of corresponding access server Address and corresponding port numbers send the login that logging request carries out user to access server.
As shown in figure 3, the present invention also provides a kind of access servers, comprising: receiving unit, login process unit and again Log in control unit, in which:
Receiving unit, for receiving logging request;
Login process unit, the logging request received for handling receiving unit complete user's access;
Control unit is logged in again, for after restarting, passing through in the case where access server needs to restart The mode of open port handles the login again of client one by one, behind the first port of opening, indicates login process cell processing The login again of the corresponding client in first port, and start the monitoring to access server load condition, in access server Load value when being reduced to load threshold, continue open next port, instruction login process unit handles next end simultaneously The login again of the corresponding client of mouth, and so on, until the login again of whole clients is completed in open whole ports.
Further, monitoring of the control unit starting to access server load condition is logged in again, comprising:
It is recorded in the execution time of each event executed in scheduled time threshold value, will be held in the scheduled time threshold value of record The execution time of capable each event, which is added up, is always executed the time, calculates total ratio for executing time and scheduled time threshold value Value, the load value as access server.
It further, further include log-in events unit, in which:
Log-in events unit, for pre-establishing log-in events set, after receiving unit receives logging request, judgement The client for sending logging request whether there is corresponding log-in events in log-in events set, if it is present instruction connects It receives unit and abandons received logging request;If it does not exist, then generating corresponding step on to send the client of logging request The log-in events of generation are added in log-in events set by copyist's part, and indicate that login process unit executes processing login and asks It asks.
Further, log-in events unit is also used to after establishing log-in events set, circular test log-in events set In execution time of each log-in events whether be more than execution time threshold, be more than to execute time threshold if there is the time is executed The log-in events of value then assert corresponding client login-timeout, by the corresponding log-in events of the client from log-in events collection It is removed in conjunction, and indicates that login process unit terminates the processing of the logging request of the client.
As shown in figure 4, the present invention also provides a kind of gatekeeper's servers, comprising: receiving unit, allocation unit and return are single Member, in which:
Receiving unit carries in entry address acquisition request for receiving the entry address acquisition request of client transmission There is user identifier;
Allocation unit, for being client according to user identifier after receiving unit receives entry address acquisition request Specified access server, and port is distributed on specified access server for client, allocation unit is in the following way Calculate port numbers, the value that port numbers=assignable minimum port numbers+port offset amount takes the remainder port number, wherein end Mouth offset is the increasing variable certainly that initial value takes zero, and port number is the quantity of the port used on access server;
Return unit, for by address that allocation unit is the specified access server of client and be client in meaning The port numbers for the port distributed on fixed access server return to client, so that client is according to specified by gatekeeper's server Access server address and the port numbers of port distributed send logging request to access server.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (8)

1. a kind of login method characterized by comprising
Access server receives logging request, handles the logging request, completes user's access;
The access server is in the case where needing to restart, after restarting, by way of open port one by one The login again of processing client handles the login again of the corresponding client in first port behind the first port of opening, and opens The dynamic monitoring to own load situation continues open next port, simultaneously when the load value of itself is reduced to load threshold The login again of the corresponding client of next port is handled, and so on, until whole clients are completed in open whole ports Again the login at end;
Monitoring of the starting to own load situation, comprising:
It is recorded in the execution time of each event executed in scheduled time threshold value, by what is executed in the scheduled time threshold value of record The execution time of each event, which is added up, is always executed the time, calculates total execution time and the scheduled time threshold value Ratio, the load value as access server.
2. the method according to claim 1, wherein the method also includes:
The access server pre-establishes log-in events set, after receiving logging request, judges to send logging request Client whether there is corresponding log-in events in the log-in events set, if it is present abandoning received step on Record request;If it does not exist, then corresponding log-in events are generated to send the client of logging request, by the log-in events of generation It is added in log-in events set, and executes the processing logging request.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The access server after establishing the log-in events set, step on by each of log-in events set described in circular test Whether the execution time of copyist's part is more than execution time threshold, is more than the login thing for executing time threshold if there is the time is executed Part then assert corresponding client login-timeout, and the corresponding log-in events of the client are removed from log-in events set, eventually The only processing of the logging request of the client.
4. a kind of login method characterized by comprising
Gatekeeper's server receives the entry address acquisition request that client is sent, and carries in the entry address acquisition request useful Family mark;
Gatekeeper's server is specified for client according to the user identifier after receiving the entry address acquisition request Access server, and port is distributed on specified access server for client, gatekeeper's server passes through such as lower section Formula calculates port numbers, the value that port numbers=assignable minimum port numbers+port offset amount takes the remainder port number, wherein The port offset amount is the increasing variable certainly that initial value takes zero, and the port number is the port used on the access server Quantity;
Gatekeeper's server is by the address for the access server specified for client and is client in specified access clothes The port numbers for the port distributed on business device return to client, so that client access according to specified by gatekeeper's server The port numbers of the address of server and the port distributed send logging request to the access server.
5. a kind of access server characterized by comprising receiving unit, login process unit and control unit is logged in again, In:
The receiving unit, for receiving logging request;
The login process unit, the logging request received for handling the receiving unit complete user's access;
The heavy login control unit, for after restarting, passing through in the case where access server needs to restart The mode of open port handles the login again of client one by one, behind the first port of opening, indicates the login process unit The login again of the corresponding client in first port is handled, and starts the monitoring to access server load condition, is taken in access When the load value of business device is reduced to load threshold, continues open next port, indicate the login process unit while handling The login again of the corresponding client of next port, and so on, until whole clients are completed in open whole ports Again it logs in;
The heavy monitoring for logging in control unit starting to access server load condition, comprising:
It is recorded in the execution time of each event executed in scheduled time threshold value, by what is executed in the scheduled time threshold value of record The execution time of each event, which is added up, is always executed the time, calculates total execution time and the scheduled time threshold value Ratio, the load value as access server.
6. access server according to claim 5, which is characterized in that further include log-in events unit, in which:
The log-in events unit, for pre-establishing log-in events set, after the receiving unit receives logging request, The client that judgement sends logging request whether there is corresponding log-in events in the log-in events set, if it does, Then indicate that the receiving unit abandons received logging request;If it does not exist, then to send the client of logging request Corresponding log-in events are generated, the log-in events of generation are added in log-in events set, and indicate the login process list Member executes the processing logging request.
7. access server according to claim 6, it is characterised in that:
The log-in events unit is also used to after establishing the log-in events set, log-in events set described in circular test In execution time of each log-in events whether be more than execution time threshold, be more than to execute time threshold if there is the time is executed The log-in events of value then assert corresponding client login-timeout, by the corresponding log-in events of the client from log-in events collection It is removed in conjunction, and indicates that the login process unit terminates the processing of the logging request of the client.
8. a kind of gatekeeper's server characterized by comprising receiving unit, allocation unit and return unit, in which:
The receiving unit, for receiving the entry address acquisition request of client transmission, in the entry address acquisition request Carry user identifier;
The allocation unit, for after the receiving unit receives the entry address acquisition request, according to the user It is identified as client and specifies access server, and distribute port, the distribution on specified access server for client Unit calculates port numbers in the following way, and port numbers=assignable minimum port numbers+port offset amount takes port number The value of remainder, wherein the port offset amount is the increasing variable certainly that initial value takes zero, and the port number is the access service The quantity of the port used on device;
The return unit, for by address that the allocation unit is the specified access server of client and be that client exists The port numbers for the port distributed on specified access server return to client, so that client is serviced according to the gatekeeper The port numbers of the address of access server specified by device and the port distributed send logging request to the access server.
CN201510788702.5A 2015-11-17 2015-11-17 A kind of login method, access server and gatekeeper's server Active CN105357205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510788702.5A CN105357205B (en) 2015-11-17 2015-11-17 A kind of login method, access server and gatekeeper's server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510788702.5A CN105357205B (en) 2015-11-17 2015-11-17 A kind of login method, access server and gatekeeper's server

Publications (2)

Publication Number Publication Date
CN105357205A CN105357205A (en) 2016-02-24
CN105357205B true CN105357205B (en) 2019-01-04

Family

ID=55333069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510788702.5A Active CN105357205B (en) 2015-11-17 2015-11-17 A kind of login method, access server and gatekeeper's server

Country Status (1)

Country Link
CN (1) CN105357205B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095688A (en) * 2012-12-21 2013-05-08 大唐移动通信设备有限公司 Control method of client terminal and server
CN103841091A (en) * 2012-11-26 2014-06-04 中国移动通信集团公司 safety login method, device and system
CN104717187A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Login method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4603256B2 (en) * 2003-12-01 2010-12-22 日本電気株式会社 User authentication system
US7962635B2 (en) * 2009-02-24 2011-06-14 Telcordia Technologies, Inc. Systems and methods for single session management in load balanced application server clusters

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841091A (en) * 2012-11-26 2014-06-04 中国移动通信集团公司 safety login method, device and system
CN103095688A (en) * 2012-12-21 2013-05-08 大唐移动通信设备有限公司 Control method of client terminal and server
CN104717187A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Login method and device

Also Published As

Publication number Publication date
CN105357205A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN108881232B (en) Sign-on access method, apparatus, storage medium and the processor of operation system
CN110381031B (en) Single sign-on method, device, equipment and computer readable storage medium
CN102571932B (en) For application on site, user provides status service
US8793759B2 (en) Authentication collaboration system and ID provider device
CN108494703A (en) A kind of access frequency control method, device and storage medium
CN108989359A (en) Method for verifying login and system, the readable storage medium storing program for executing and terminal of server cluster
CN105847277A (en) Service account share management method and system used for third party application
TW201419809A (en) Remote management system with adaptive session management mechanism
JP2018517982A (en) Automatic recharge system, method and server
CN109510878A (en) A kind of long connection session keeping method and device
CN104967603B (en) Using account number safety verification method and device
CN110430062B (en) Login request processing method, device, equipment and medium
CN107547537A (en) Request message processing method, device, equipment and storage medium
CN106874371A (en) A kind of data processing method and device
CN105357205B (en) A kind of login method, access server and gatekeeper's server
CN113067802A (en) User identification method, device, equipment and computer readable storage medium
CN1649299B (en) Comlex management system and complex conversation management server for applicating programme
CN111046314A (en) Report form viewing method and device, electronic equipment and storage medium
CN107741885B (en) Transaction and service association method and system based on CS framework
CN104702409B (en) Biological recognition system and its method based on cloud platform
CN104754029A (en) Method, device and system for determining primary management server
CN108377217A (en) A kind of real-time communication method and device
CN111478901B (en) Account weak password detection method and device, server and storage medium
US9183595B1 (en) Using link strength in knowledge-based authentication
CN109978609A (en) A kind of method and device for screening cheating 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
GR01 Patent grant
GR01 Patent grant