CN103051647A - Method, device and system for implementing session - Google Patents

Method, device and system for implementing session Download PDF

Info

Publication number
CN103051647A
CN103051647A CN2011103093112A CN201110309311A CN103051647A CN 103051647 A CN103051647 A CN 103051647A CN 2011103093112 A CN2011103093112 A CN 2011103093112A CN 201110309311 A CN201110309311 A CN 201110309311A CN 103051647 A CN103051647 A CN 103051647A
Authority
CN
China
Prior art keywords
session
accounts information
server
request
web 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.)
Granted
Application number
CN2011103093112A
Other languages
Chinese (zh)
Other versions
CN103051647B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201110309311.2A priority Critical patent/CN103051647B/en
Publication of CN103051647A publication Critical patent/CN103051647A/en
Priority to HK13106361.3A priority patent/HK1179435A1/en
Application granted granted Critical
Publication of CN103051647B publication Critical patent/CN103051647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and a system for implementing a session. The method comprises the steps that a Web server receives a login request carrying account information sent by a use terminal, and sends a Session ID acquiring request carrying account information to a Session server when the account information is verified, receives the Session ID sent by the Session server and sends the Session ID to a browser; the Session server stores a corresponding relation between the account information and the Session ID; when a service request carrying the Session ID is received, the Web server sends an account information confirming request to the Session server, and the Session server searches for corresponding account information according to the Session ID and judges whether the service request is permitted or not according to a research result. The Session state is stored by the Session server, and the work efficiency of the Web server is improved.

Description

Method, equipment and system that a kind of session realizes
Technical field
The application relates to the communications field, relates in particular to method, equipment and system that a kind of session realizes.
Background technology
Conversation procedure (user terminal is undertaken by browser and Web server alternately) between Session (session) expression Web (webpage) server and the user terminal, this process is continuous, also can be off and on.Login mailbox take the user and check mail as example, Session refer to the user by user terminal login mailbox after to the process of leaving before the mailbox.
If the service that Web server provides is towards login user, the user need at first input accounts information by the user terminal logon server time, and the Web server checking is by rear permission user login.When checking was passed through, Web server produced a Session ID, and this Session ID is carried at the browser that writes this user terminal among the cookie as key (key).Web server is stored user's Session state, comprises the corresponding relation of Session ID and this user's accounts information.In Session, Web server receives the service request message that browser sends, if carry cookie in the message, and carry Session ID among the cookie, server is searched corresponding accounts information according to Session ID, if search successfully, judge that then the user is login user, allow user's operation.If do not carry cookie in the message, perhaps do not carry Session ID among the cookie, perhaps do not find corresponding user profile according to Session ID, Web server judges that the user not yet logins, the refusal corresponding operating requires the user to login.
When many Web servers provide a service jointly, for example, many Web servers provide mailbox service jointly, at this moment, the Session state of browser is stored in its Web server of accessing for the first time, do not need to repeat to input accounts information when making other Web servers of browser subsequent access, need mutually to copy the Session state that transmits between many Web servers.When visit capacity is excessive, need a large amount of Web servers that service is provided jointly, mutually copy between a large amount of Web servers and transmit the operating efficiency that the Session state will affect Web server this moment.
Summary of the invention
Method, equipment and system that the application provides a kind of session to realize are to improve the operating efficiency of Web server.
The method that a kind of session realizes comprises:
Described Web server receives the logging request that described browser sends, when the accounts information that carries in the described logging request is correct, described accounts information is sent to described Session server, receive the Session ID of described Session server transmission and described Session ID is sent to described browser, by the corresponding relation of described Session server stores accounts information and Session ID;
Described Web server receives the service request that described browser sends, when carrying Session ID in the described service request, described Web server sends accounts information to described Session server and obtains request, make described Session server obtain the described Session ID that carries in the request according to described accounts information and search corresponding accounts information, if find corresponding accounts information, described Web server allows described service request, otherwise described Web server is refused described service request.
A kind of webpage Web server comprises the first Transmit-Receive Unit, the login process unit, and the second Transmit-Receive Unit, Service Processing Unit, wherein:
Described the first Transmit-Receive Unit is used for receiving the logging request of carrying accounts information and the service request that user terminal sends; And the Session ID that the Session server is returned sends to described user terminal;
Described login process unit, when the accounts information checking that is used for carrying when the logging request that described the first Transmit-Receive Unit receives is passed through, indicate described the second Transmit-Receive Unit to send the Session ID that carries described accounts information to described Session server and obtain request;
Described the second Transmit-Receive Unit is used for obtaining request according to the indication of described login process unit to described Session server transmission Session ID, and receives the Session ID that described Session server returns; And, confirm request according to the indication of described Service Processing Unit to described Session server transmission accounts information, and receive the response of described Session server; Wherein, described Session server confirms that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, if find corresponding accounts information, then sends confirmation to described Web server;
Described Service Processing Unit, when being used in judging the service request that described the first Transmit-Receive Unit receives, carrying Session ID, indicating described the second Transmit-Receive Unit to send the accounts information that carries described Session ID to described Session server and confirm request; And, when the response of judging the described Session server that described the second Transmit-Receive Unit receives is confirmation, carry out described service request.
A kind of Session server comprises Transmit-Receive Unit, the first processing unit, and memory cell, the second processing unit, wherein:
Described Transmit-Receive Unit obtains request for receiving the Session ID that carries accounts information of Web server according to the logging request transmission of user terminal, and returns Session ID to described Web server; And, receive the accounts information affirmation request of carrying Session ID that Web server sends after the service request that receives the transmission of logged-in user terminal, and described accounts information is confirmed that request responds;
Described the first processing unit, the Session ID that is used for receiving according to described Transmit-Receive Unit obtains request, generate the Session ID corresponding with described accounts information, indicate described Transmit-Receive Unit to send described Session ID to described Web server, and store the corresponding relation of Session ID and accounts information into described memory cell;
Described memory cell is for the corresponding relation of storage Session ID and accounts information;
Described the second processing unit, be used for confirming that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, and when finding corresponding accounts information, indicate described Transmit-Receive Unit to send confirmation to described Web server and respond.
The system that a kind of session realizes comprises Web server and Session server;
Described Web server is used for receiving the logging request of carrying accounts information and the service request that described user terminal sends; When the accounts information checking of carrying in the described logging request is passed through, send the Session ID that carries described accounts information to described Session server and obtain request, receive Session ID that described Session server returns and described Session ID is sent to described user terminal, by the corresponding relation of described Session server stores accounts information and Session ID; When carrying Session ID in the described service request, send the accounts information that carries described Session ID to described Session server and confirm request, and after receiving the confirmation information, carry out described service request;
Described Session server is used for receiving the Session ID that carries accounts information that described Web server sends and obtains request, generates and sends Session ID to described Web server, stores the corresponding relation of described Session ID and accounts information; Receive the accounts information affirmation request of carrying SessionID that described Web server sends, confirm that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, and when finding corresponding accounts information, send confirmation to described Web server.
Compared with prior art, the embodiment of the present application has the following advantages at least:
Web server does not need the corresponding relation of storage accounts information and Session ID, but by this corresponding relation of Session server stores and the generation for the treatment of S ession ID and searching of accounts information, do not transmit the Session state so that do not need between the Web server to copy, improved the operating efficiency of Web server.
Description of drawings
Fig. 1 is the schematic flow sheet that method that the session that provides of the embodiment of the present application realizes is applied to the mailbox service scene;
Fig. 2 is the schematic flow sheet that method that the session that provides of the embodiment of the present application realizes is applied to the online shopping scene;
Fig. 3 is the structural representation of the Web server that provides of the embodiment of the present application;
Fig. 4 is the structural representation of the Session server that provides of the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiments of the invention, the technical scheme in the embodiments of the invention is clearly and completely described, obviously, the embodiments described below only are the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all belong to the scope of embodiments of the invention protection.
The method that the embodiment of the present application provides a kind of session to realize, be applied to comprise in the system of user terminal, a plurality of Web server and session server, these a plurality of Web servers are provided services on the Internet jointly, for example, a plurality of Web servers provide mailbox service to the user jointly, this mailbox form is " [email protected] ", and then the user carries out mail transmission/reception by 888 mailboxes to Web server request registration 888 mailboxes.In this example, Web server is no longer born the function that generates Session ID and storage Session state, but generates Session ID and storage Session state by the Session server.
For convenience of description, mutual by browser and Web server with user terminal in the embodiment of the present application, the Session state is that the corresponding relation of Session ID and accounts information is that example describes.
After the accounts information of Web server authentication of users is correct, Web server sends Session ID to the Session server and obtains request, obtain the accounts information that carries in the request by the Session server according to this Session ID and generate with Session ID corresponding to account information and store account information and the corresponding relation of Session ID, Web server is carried at the Session ID of Session server generation and writes browser among the cookie.Follow-up receive the service request of browser after, Web server obtains the cookie in the message that browser sends, therefrom obtain Session ID, then send the accounts information of searching the accounts information corresponding with Session ID to the Session server and confirm request, the Session server receives account validation of information request, obtain the user profile corresponding with Session ID if search, the state of user on Web server of then judging corresponding account is logging status, send confirmation to Web server, make Web server carry out the corresponding service request according to this confirmation, otherwise judge that the user does not login, the request of refusal corresponding service.Wherein, this service request can comprise page furbishing request (namely refreshing the current page of browsing of browser), page close request (namely closing the current page of browsing of browser), or the on-line purchase request etc.
Wherein, when having a plurality of Session server in the system, then need to store the corresponding relation of Session ID and Session server in the Web server.When receive that user terminal sends carry the service request of Session ID the time, Web server sends accounts information to Session server corresponding to this Session ID and confirms request.
Below take 888 mailboxes as example, the method that the session that the present embodiment is provided realizes is introduced.Suppose that the Web server that 888 mailbox service are provided comprises first server and second server, as shown in Figure 1, the method may further comprise the steps:
Step 101, the user inputs accounts information by browser access 888 mailbox login interfaces, and sends the logging request of carrying accounts information to first server;
Step 102, first server receive this logging request, and whether the checking accounts information is correct, if the result is correct, and execution in step 103; Otherwise refusing user's login.
Step 103, first server is obtained request to the Session ID that the Session server sends corresponding account information, generated Session ID according to this request and recorded the corresponding relation of Session ID and accounts information by the Session server, the Session server sends this Session ID to first server.
Step 104, first server are carried at Session ID and write browser among the cookie.
Step 105, browser sends the page furbishing request to second server, and second server receives this request, whether carries cookie in the search request; If lookup result is yes, execution in step 106; Otherwise refusal is carried out page furbishing and is processed.
Step 106, second server are obtained the Session ID that carries among the cookie, send accounts information according to this Session ID to the Session server and confirm request.
Step 107, Session whois lookup storage confirm the accounts information that the Session ID that carries in the request is corresponding with accounts information, if find account information, execution in step 108; If do not find account information, execution in step 109.
Step 108, second server receives accounts information and searches successful notice, judges that the user is logging status, carries out the page furbishing operation.Wherein, accounts information is searched the notice that successful notice can obtain for a default expression Session whois lookup corresponding account information, perhaps carries the notice of searching the accounts information that obtains.
Step 109, second server receives and searches failure notification, judges that the user is non-logging status, and refusal is carried out the page furbishing operation.
The method that this example provides can be applied to several scenes, in order to make the application's scheme clearer, below in conjunction with the online shopping scene method that this example provides is introduced.
The service that the online shopping site for service provides comprises on-line search service and on-line purchase service, jointly provides service by many Web servers.Wherein, the on-line search service does not need the user to login, on-line purchase service request user login.
On-line search commodity when the user is initial are supposed after suitable commodity are arrived in user search to require to use the on-line purchase service, and after then this moment, Web server A received the on-line purchase request of user by the browser transmission, processing procedure comprised as shown in Figure 2:
Step 201, Web server A judges whether carry cookie in the on-line purchase request; If judged result is yes, execution in step 202; Otherwise require the user to login.
Step 202, Web server A obtains the Session ID among the cookie, sends the accounts information query requests to the Session server.
The accounts information that the Session ID that carries in the step 203, Session whois lookup and accounts information query requests is corresponding, if search successfully, execution in step 204; Otherwise Web server A requires user's login.
Step 204, Web server A allows the user to use the on-line purchase service.
In the method that the embodiment of the present application provides, optional, the Session server is stored the Session state in the mode of distributed caching.Concrete, the Session server generates the Session ID corresponding with user's accounts information, and can be with this Session ID as key (key), use the consistency hash algorithm to find the distributed caching corresponding with Session ID, distributed caching corresponding to the Session state store into.Namely use the consistency hash algorithm, determine the distributed caching (value) that Session ID (key) is corresponding.Particularly, when receiving the accounts information query requests of Web server, the Session server obtains the Session ID that carries in the accounts information query requests, use the consistency hash algorithm to find the distributed caching corresponding with Session ID, in this distributed caching, search the accounts information corresponding with the Session ID that carries in the accounts information query requests.When the Session server uses the consistency hash algorithm to determine the distributed caching corresponding with SessionID, can determine the storage of Session ID according to the loading condition of each distributed caching, so that each buffer memory can be realized equally loaded.
Based on the technical conceive identical with said method embodiment, the application also provides following apparatus embodiment.
The embodiment of the present application provides a kind of Web server, is applied to comprise in the system of Session server, and as shown in Figure 3, this Web server comprises the first Transmit-Receive Unit 11, login process unit 12, the second Transmit-Receive Units 13, and Service Processing Unit 14, wherein:
The first Transmit-Receive Unit 11 is used for receiving the logging request of carrying accounts information and the service request that user terminal sends; And the Session ID that the Session server is returned sends to described user terminal;
Login process unit 12 when the accounts information checking that is used for carrying when the logging request that the first Transmit-Receive Unit 11 receives is passed through, is indicated the second Transmit-Receive Unit 13 to send the Session ID that carries described accounts information to described Session server and is obtained request;
The second Transmit-Receive Unit 13 is used for obtaining request according to the indication of login process unit 12 to described Session server transmission Session ID, and receives the Session ID that described Session server returns; And, confirm request according to the indication of Service Processing Unit 14 to described Session server transmission accounts information, and receive the response of described Session server; Wherein, described Session server confirms that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, if find corresponding accounts information, then sends confirmation to described Web server;
Service Processing Unit 14 when being used for carrying Session ID in judging the service request that the first Transmit-Receive Unit 11 receives, being indicated the second Transmit-Receive Unit 13 to send the accounts information that carries described Session ID to described Session server and is confirmed request; And, when the response of judging the described Session server that the second Transmit-Receive Unit 13 receives is confirmation, carry out described service request.
Wherein, Service Processing Unit 14 can also be used for, search the cookie that carries in the described service request, when searching unsuccessfully, refuse described service request, when searching successfully, judge and whether carry Session ID in the described cookie, if do not carry Session ID in the described cookie, refuse described service request.
The embodiment of the present application provides a kind of Session server, is applied to comprise in the system of Web server, and as shown in Figure 4, this server comprises Transmit-Receive Unit 21, the first processing units 22, memory cell 23, the second processing units 24, wherein:
Transmit-Receive Unit 21 obtains request for receiving the Session ID that carries accounts information of Web server according to the logging request transmission of user terminal, and returns Session ID to described Web server; And, receive the accounts information affirmation request of carrying Session ID that Web server sends after the service request that receives the transmission of logged-in user terminal, and described accounts information is confirmed that request responds;
The first processing unit 22, the Session ID that is used for receiving according to Transmit-Receive Unit 21 obtains request, generate the Session ID corresponding with described accounts information, indication Transmit-Receive Unit 21 sends described Session ID to described Web server, and stores the corresponding relation of Session ID and accounts information into memory cell 23;
Memory cell 23 is for the corresponding relation of storage Session ID and accounts information;
The second processing unit 24 be used for confirming that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, and when finding corresponding accounts information, indication Transmit-Receive Unit 21 sends confirmation to described Web server and responds.
Wherein, memory cell 23 can be specially a plurality of distributed cachings unit.Correspondingly, the first processing unit 22 can specifically be used for: determine the distributed caching unit corresponding with Session ID according to the consistency hash algorithm, and the corresponding relation of described accounts information and Session ID is stored in the distributed caching unit of determining;
The second processing unit 24 can specifically be used for: determine the distributed caching unit corresponding with Session ID according to the consistency hash algorithm, search the accounts information corresponding with Session ID in the distributed caching unit of determining.
The system that the embodiment of the present application provides a kind of session to realize comprises Web server and Session server;
Described Web server is used for receiving the logging request of carrying accounts information and the service request that described user terminal sends; When the accounts information checking of carrying in the described logging request is passed through, send the Session ID that carries described accounts information to described Session server and obtain request, receive Session ID that described Session server returns and described Session ID is sent to described user terminal, by the corresponding relation of described Session server stores accounts information and Session ID; When carrying Session ID in the described service request, send the accounts information that carries described Session ID to described Session server and confirm request, and after receiving the confirmation information, carry out described service request;
Described Session server is used for receiving the Session ID that carries accounts information that described Web server sends and obtains request, generates and sends Session ID to described Web server, stores the corresponding relation of described Session ID and accounts information; Receive the accounts information affirmation request of carrying SessionID that described Web server sends, confirm that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, and when finding corresponding accounts information, send confirmation to described Web server.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
Above disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (8)

1. the method that session realizes is characterized in that, comprising:
Web server receives the logging request that carries accounts information that user terminal sends, and after described accounts information checking is passed through, sends the Session ID that carries described accounts information to the Session server and obtain request;
Described Session server obtains request according to described Session ID, generate the Session ID corresponding with described accounts information, store the corresponding relation of described accounts information and the Session ID that generates, and described Session ID is sent to described Web server;
Described Web server is sent to described user terminal with the Session ID that gets access to;
Receive the service request that carries Session ID of described user terminal transmission when described Web server after, send the accounts information that carries described Session ID to described Session server and confirm request, and after receiving the confirmation information, carry out described service request;
Wherein, described Session server confirms that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, if find corresponding accounts information, then sends confirmation to described Web server.
2. the method for claim 1 is characterized in that, described Session server comprises a plurality of distributed cachings;
Described Session server stores accounts information comprises with the corresponding relation of Session ID: described Session server is determined the distributed caching corresponding with Session ID according to the consistency hash algorithm, the corresponding relation of the described accounts information of storage and Session ID in the distributed caching of determining;
Described Session server confirms that according to described accounts information the described Session ID that carries in the request searches corresponding accounts information and comprises: described Session server is determined the distributed caching corresponding with described Session ID according to the consistency hash algorithm, searches corresponding accounts information in the distributed caching of determining.
3. method as claimed in claim 1 or 2 is characterized in that, described Web server receives after the service request of described user terminal transmission, also comprises:
Described Web server is searched the cookie that carries in the described service request, when searching unsuccessfully, refuse described service request, when searching successfully, judge whether carry Session ID in the described cookie, if do not carry Session ID in the described cookie, refuse described service request.
4. a Web server is characterized in that, this Web server comprises the first Transmit-Receive Unit, the login process unit, and the second Transmit-Receive Unit, Service Processing Unit, wherein:
Described the first Transmit-Receive Unit is used for receiving the logging request of carrying accounts information and the service request that user terminal sends; And the Session ID that the Session server is returned sends to described user terminal;
Described login process unit, when the accounts information checking that is used for carrying when the logging request that described the first Transmit-Receive Unit receives is passed through, indicate described the second Transmit-Receive Unit to send the Session ID that carries described accounts information to described Session server and obtain request;
Described the second Transmit-Receive Unit is used for obtaining request according to the indication of described login process unit to described Session server transmission Session ID, and receives the Session ID that described Session server returns; And, confirm request according to the indication of described Service Processing Unit to described Session server transmission accounts information, and receive the response of described Session server; Wherein, described Session server confirms that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, if find corresponding accounts information, then sends confirmation to described Web server;
Described Service Processing Unit, when being used in judging the service request that described the first Transmit-Receive Unit receives, carrying Session ID, indicating described the second Transmit-Receive Unit to send the accounts information that carries described Session ID to described Session server and confirm request; And, when the response of judging the described Session server that described the second Transmit-Receive Unit receives is confirmation, carry out described service request.
5. server as claimed in claim 4 is characterized in that, described Service Processing Unit also is used for:
Search the cookie that carries in the described service request, when searching unsuccessfully, refuse described service request, when searching successfully, judge whether carry Session ID in the described cookie, if do not carry Session ID in the described cookie, refuse described service request.
6. a Session server is characterized in that, comprises Transmit-Receive Unit, the first processing unit, and memory cell, the second processing unit, wherein:
Described Transmit-Receive Unit obtains request for receiving the Session ID that carries accounts information of Web server according to the logging request transmission of user terminal, and returns Session ID to described Web server; And, receive the accounts information affirmation request of carrying Session ID that Web server sends after the service request that receives the transmission of logged-in user terminal, and described accounts information is confirmed that request responds;
Described the first processing unit, the Session ID that is used for receiving according to described Transmit-Receive Unit obtains request, generate the Session ID corresponding with described accounts information, indicate described Transmit-Receive Unit to send described Session ID to described Web server, and store the corresponding relation of Session ID and accounts information into described memory cell;
Described memory cell is for the corresponding relation of storage Session ID and accounts information;
Described the second processing unit, be used for confirming that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, and when finding corresponding accounts information, indicate described Transmit-Receive Unit to send confirmation to described Web server and respond.
7. server as claimed in claim 6 is characterized in that, described memory cell is specially a plurality of distributed cachings unit,
Described the first processing unit specifically is used for: determine the distributed caching unit corresponding with Session ID according to the consistency hash algorithm, and the corresponding relation of described accounts information and Session ID is stored in the distributed caching unit of determining;
Described the second processing unit specifically is used for: determine the distributed caching unit corresponding with Session ID according to the consistency hash algorithm, search the accounts information corresponding with Session ID in the distributed caching unit of determining.
8. the system that session realizes is characterized in that, comprises Web server and Session server;
Described Web server is used for receiving the logging request of carrying accounts information and the service request that described user terminal sends; When the accounts information checking of carrying in the described logging request is passed through, send the Session ID that carries described accounts information to described Session server and obtain request, receive Session ID that described Session server returns and described Session ID is sent to described user terminal, by the corresponding relation of described Session server stores accounts information and Session ID; When carrying Session ID in the described service request, send the accounts information that carries described Session ID to described Session server and confirm request, and after receiving the confirmation information, carry out described service request;
Described Session server is used for receiving the Session ID that carries accounts information that described Web server sends and obtains request, generates and sends Session ID to described Web server, stores the corresponding relation of described Session ID and accounts information; Receive the accounts information affirmation request of carrying SessionID that described Web server sends, confirm that according to described accounts information the Session ID that carries in the request searches corresponding accounts information, and when finding corresponding accounts information, send confirmation to described Web server.
CN201110309311.2A 2011-10-13 2011-10-13 Method, equipment and system that a kind of session realizes Active CN103051647B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110309311.2A CN103051647B (en) 2011-10-13 2011-10-13 Method, equipment and system that a kind of session realizes
HK13106361.3A HK1179435A1 (en) 2011-10-13 2013-05-29 Method, equipment and system for session implmentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110309311.2A CN103051647B (en) 2011-10-13 2011-10-13 Method, equipment and system that a kind of session realizes

Publications (2)

Publication Number Publication Date
CN103051647A true CN103051647A (en) 2013-04-17
CN103051647B CN103051647B (en) 2016-03-30

Family

ID=48064146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110309311.2A Active CN103051647B (en) 2011-10-13 2011-10-13 Method, equipment and system that a kind of session realizes

Country Status (2)

Country Link
CN (1) CN103051647B (en)
HK (1) HK1179435A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253686A (en) * 2013-06-25 2014-12-31 华为技术有限公司 Account number login method, equipment and system
CN104636392A (en) * 2013-11-13 2015-05-20 腾讯科技(北京)有限公司 Method and system for issuing recommending information, server and browser
CN105681258A (en) * 2014-11-19 2016-06-15 腾讯科技(武汉)有限公司 Session method and session device based on third-party server
CN106209727A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 A kind of session access method and apparatus
CN106230601A (en) * 2016-09-09 2016-12-14 武汉斗鱼网络科技有限公司 A kind of exchange of token method and system of the embedded webpage of client
CN106534158A (en) * 2016-11-29 2017-03-22 努比亚技术有限公司 Account login control device and method
CN106961420A (en) * 2013-11-08 2017-07-18 北京奇虎科技有限公司 The processing method and processing device of cookie information
CN107707522A (en) * 2017-08-14 2018-02-16 北京奇安信科技有限公司 A kind of authority control method and device based on cloud agency
CN108881200A (en) * 2018-06-08 2018-11-23 江苏中威科技软件***有限公司 Multiple terminals based on TCP method and system online simultaneously

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549978A (en) * 2001-07-16 2004-11-24 BEAϵͳ��˾ Method and apparatus for session replication and failover
CN101057227A (en) * 2004-10-06 2007-10-17 同步加株式会社 Synchronization system and synchronization program
CN101242375A (en) * 2008-03-12 2008-08-13 程清(上海)信息科技有限公司 An Internet cross-website and cross-domain instant messaging system
CN101252767A (en) * 2007-11-26 2008-08-27 华为技术有限公司 Traffic providing system and authority identifying method in traffic providing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549978A (en) * 2001-07-16 2004-11-24 BEAϵͳ��˾ Method and apparatus for session replication and failover
CN101057227A (en) * 2004-10-06 2007-10-17 同步加株式会社 Synchronization system and synchronization program
CN101252767A (en) * 2007-11-26 2008-08-27 华为技术有限公司 Traffic providing system and authority identifying method in traffic providing
CN101242375A (en) * 2008-03-12 2008-08-13 程清(上海)信息科技有限公司 An Internet cross-website and cross-domain instant messaging system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253686A (en) * 2013-06-25 2014-12-31 华为技术有限公司 Account number login method, equipment and system
EP3001600A1 (en) * 2013-06-25 2016-03-30 Huawei Technologies Co., Ltd. Account login method, equipment and system
EP3001600A4 (en) * 2013-06-25 2016-06-08 Huawei Tech Co Ltd Account login method, equipment and system
US10021098B2 (en) 2013-06-25 2018-07-10 Huawei Technologies Co., Ltd. Account login method, device, and system
CN104253686B (en) * 2013-06-25 2017-12-29 华为技术有限公司 Method, equipment and the system that account logs in
CN106961420A (en) * 2013-11-08 2017-07-18 北京奇虎科技有限公司 The processing method and processing device of cookie information
CN104636392B (en) * 2013-11-13 2018-07-27 腾讯科技(北京)有限公司 Carry out method, system, server and browser that recommendation information issues
CN104636392A (en) * 2013-11-13 2015-05-20 腾讯科技(北京)有限公司 Method and system for issuing recommending information, server and browser
CN105681258A (en) * 2014-11-19 2016-06-15 腾讯科技(武汉)有限公司 Session method and session device based on third-party server
CN105681258B (en) * 2014-11-19 2019-09-17 腾讯科技(武汉)有限公司 Session method and conversational device based on third-party server
CN106209727A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 A kind of session access method and apparatus
CN106230601A (en) * 2016-09-09 2016-12-14 武汉斗鱼网络科技有限公司 A kind of exchange of token method and system of the embedded webpage of client
CN106230601B (en) * 2016-09-09 2019-05-17 武汉斗鱼网络科技有限公司 A kind of client embeds the exchange of token method and system of webpage
CN106534158A (en) * 2016-11-29 2017-03-22 努比亚技术有限公司 Account login control device and method
CN107707522A (en) * 2017-08-14 2018-02-16 北京奇安信科技有限公司 A kind of authority control method and device based on cloud agency
CN108881200A (en) * 2018-06-08 2018-11-23 江苏中威科技软件***有限公司 Multiple terminals based on TCP method and system online simultaneously
CN108881200B (en) * 2018-06-08 2020-08-11 江苏中威科技软件***有限公司 TCP-based method and system for simultaneously online multiple terminals

Also Published As

Publication number Publication date
CN103051647B (en) 2016-03-30
HK1179435A1 (en) 2013-09-27

Similar Documents

Publication Publication Date Title
CN103051647B (en) Method, equipment and system that a kind of session realizes
US11128621B2 (en) Method and apparatus for accessing website
US9602484B2 (en) Online user account login method and a server system implementing the method
US8122251B2 (en) Method and apparatus for preventing phishing attacks
EP3316544B1 (en) Token generation and authentication method, and authentication server
EP3374952A1 (en) A distributed user profile identity verification system for e-commerce transaction security
TW201730806A (en) Login failure sequence for detecting phishing
US8370908B2 (en) Decreasing login latency
CN109257321B (en) Secure login method and device
CN103188270A (en) Method, device and system for accessing recommended server to IP address
CN107016074B (en) Webpage loading method and device
CN103036851A (en) Processing method and system for logging in third website by using sharing account and server
US11611551B2 (en) Authenticate a first device based on a push message to a second device
CN108011888A (en) A kind of method, apparatus and storage medium, program product for realizing certificate reconstruct
CN101179382A (en) Login method and system
CN109218389A (en) The method, apparatus and storage medium and electronic equipment of processing business request
CN104063794A (en) Simple, convenient, anti-counterfeiting and anti-certificate-false-claim method based on two-dimensional code
CN104837134B (en) A kind of web authentication user login method, equipment and system
CN105338016A (en) Data caching method, device, resource request responding method and device
CN108055299B (en) Portal page pushing method, network access server and Portal authentication system
CN116366256A (en) Ethernet intelligent contract vulnerability information security sharing system and method thereof
US10326819B2 (en) Method and apparatus for detecting access path
CN107294920A (en) It is a kind of reversely to trust login method and device
CN111935151A (en) Cross-domain unified login method and device
CN112637316B (en) Communication method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1179435

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1179435

Country of ref document: HK