CN101588393A - Method of state management based on real-time session - Google Patents

Method of state management based on real-time session Download PDF

Info

Publication number
CN101588393A
CN101588393A CN 200910157219 CN200910157219A CN101588393A CN 101588393 A CN101588393 A CN 101588393A CN 200910157219 CN200910157219 CN 200910157219 CN 200910157219 A CN200910157219 A CN 200910157219A CN 101588393 A CN101588393 A CN 101588393A
Authority
CN
China
Prior art keywords
session
client
server
controller
status
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
CN 200910157219
Other languages
Chinese (zh)
Other versions
CN101588393B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN 200910157219 priority Critical patent/CN101588393B/en
Publication of CN101588393A publication Critical patent/CN101588393A/en
Application granted granted Critical
Publication of CN101588393B publication Critical patent/CN101588393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method of state management based on real-time session, applied to a system including a client and a server, wherein the client and the server respectively comprise a session controller. The method comprises the following steps: the session controller of the client sets the corresponding relation of operation event and session state updating; the session controller of the client detects the operation event; the session controller of the client updates the session state according to the operation event and the corresponding relation, wherein the updating of session state comprises converting the session state into off-line or remaining at on-line state. The invention provides a mechanism for controlling session state by the client for the user so as to promote the usability of Web application program.

Description

A kind of method, Apparatus and system based on the real-time session condition managing
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, Apparatus and system based on the real-time session condition managing.
Background technology
The current network management software occurs with web application mostly.Web application is called the application program of B/S (Browser/Server, browser/server) framework again, and as shown in Figure 1, client uses browser (as IE, Firefox etc.) and Web server to communicate, and shows business datum to the user; Web server is carried out Business Processing by the server service handling procedure after the request of receiving client, and result is fed back to client browser with the form of HTML (Hypertext Markup Language, Hypertext Markup Language).Web application is implemented on HTTP (Hypertext TransferProtocol, the HTML (Hypertext Markup Language)) basis, and all between client and the server are communicated by letter and HTTP is all used in data interaction.
Though HTTP is based on TCP (Transmission Control Protocol, transmission control protocol) realizes, but HTTP is originally as connectionless protocol, be client browser with server between can not keep network to be connected always, only need obtain data or when server is submitted request to from server, just understand and set up TCP with server and be connected (for example session connection) when client; And after data interaction was finished, the TCP connection can be disconnected, and just rebulids TCP and connect when data interaction next time.
But,, need allow keep a kind of session relationship between client and the server, and safeguard this session status as the web application of the network management software.Like this, server just can be judged the client that sends certain specific HTTP request accurately, whether once sends other requests, and can set up the repeatedly relation between the request, and then can realize operations such as identification, management and state-maintenance according to session information to the user.
Session status between client and the server has two kinds, is respectively off-line and online (being invalid or effective).This two states safeguards that by server transformational relation as shown in Figure 2 mutually: when the user passes through the Web application of client browser access server, generated session automatically and safeguarded that this moment, the user was " online " state by server.It can be " off-line " state with " online " state exchange that dual mode is arranged: a kind of is that server is nullified session, sends de-registration request by user end to server usually, and server passes through to nullify corresponding session after receiving de-registration request, realizes the user log off function; Another kind is in specific overtime idle duration interval, server is not received any request of the corresponding client of this session, server is nullified this session automatically, this situation usually occurs in the user and does not carry out the manual operation (sending de-registration request to server) of nullifying, and directly close browser, the inefficacy of session this moment is can only waiting for server overtime.
By the server session controller session status is carried out maintenance management in the prior art, but there is following shortcoming in this scheme:
Client needs access server to judge whether session status is effective, if client browser rests on specific webpage always, and does not carry out the operation of access server, and can't judge whether session status lost efficacy this moment; Have only after user end to server sends access request, could know from the response of server whether this session status is still effective, so the real-time that session status upgrades is poor.
In addition, when session was lost efficacy, client rested on specific webpage, if the user does not carry out masking operation to client browser, then the explicit content of customer terminal webpage can not hidden, and brought hidden danger for the fail safe of content.
Also have, when the user import data by client on the Web interface, in input process, because server timeout causes session failed, but user and not knowing still continued the interface and imports; After input was finished, when the user carried out the data submit operation, the session of this client correspondence of discovering server was overtime, directly the user was navigate to the page of login again, and the data of user's input will all be lost.
Summary of the invention
The invention provides a kind of method, Apparatus and system, for the user provides the mechanism of a kind of client control session status, to promote the availability of web application based on the real-time session condition managing.
The invention provides a kind of method, be applied to comprise that described client and server comprises conversation controller respectively, said method comprising the steps of in the system of client and server based on the real-time session condition managing:
The corresponding relation that described client session controller setting operation incident and session status upgrade;
Described client session controller detecting operation incident;
Described client session controller upgrades session status according to described Action Events and described corresponding relation, and described renewal session status comprises that be off-line with session status by on-line conversion, or maintains line states.
Wherein,
If session status is an off-line by on-line conversion, described client session controller shielding page displayed content, and the prompting user logins again.
Wherein,
Described client session controller detects the user login success again after, recover described content of pages.
Wherein, described client session controller detecting operation incident specifically comprises:
Described client session controller detects the trigger message that session status changes; Or
Described client session controller receives the synchronizing information that server sends, and carries session status in the described synchronizing information and upgrades indication.
Wherein, described client session controller upgrades session status according to described Action Events and described corresponding relation, also comprises afterwards:
Described client session controller and the synchronous described session status of described server session controller.
Wherein, if session status is for maintaining line states, at client terminal local timer is set, when knowing that session need maintain line states, restart this timer, and with described server session controller simultaneous session state, make the timer of this session correspondence of described server session controller initialization; When this timer expiry, transfer this session to off-line.
The invention provides a kind of system based on the real-time session condition managing, comprise client and server, described client and server comprises conversation controller respectively;
Described client session controller is used for the corresponding relation that setting operation incident and session status upgrade, and the detecting operation incident; Upgrade session status according to described Action Events and described corresponding relation, described renewal session status comprises that be off-line with session status by on-line conversion, or it is online to keep session;
Described server session controller is used for and the synchronous described session status of described client session controller.
The invention provides a kind of client device, be applied to comprise that described client comprises conversation controller in the system of client and server, described client session controller comprises:
Module is set, is used for the corresponding relation that setting operation incident and session status upgrade;
Detection module is used for the detecting operation incident;
The session status maintenance module, be connected with detection module with the described module that is provided with respectively, be used for upgrading session status according to described Action Events and described corresponding relation, described renewal session status comprises that be off-line with session status by on-line conversion, or maintains line states.
Wherein, also comprise:
Security module is connected with described session status maintenance module, and when being used for session status and being off-line by on-line conversion, shielding page displayed content, and the prompting user logins again after detecting the user and logining success again, is recovered described content of pages.
Wherein,
Described detection module specifically is used to detect the trigger message that session status changes; Or
Receive the synchronizing information that server sends, carry session status in the described synchronizing information and upgrade indication.
Wherein, also comprise:
The session status synchronization module is connected with described session status maintenance module, is used for and the synchronous described session status of described server session controller.
Wherein,
Described session status maintenance module, if specifically be used for session status for maintaining line states, at client terminal local timer is set, when knowing that session need maintain line states, restart this timer, and, make the timer of this session correspondence of described server session controller initialization by described session status synchronization module and described server session controller simultaneous session state; When this timer expiry, transfer this session to off-line.
Compared with prior art, the present invention has the following advantages:
Among the present invention, owing to detect the Action Events that influences session status by the client session controller, and, upgrade session status according to the pre-configured Action Events and the corresponding relation of session status; Make client not need access server just can judge whether session status is effective, and session status is carried out maintenance management, strengthened the real-time that session status upgrades.
In addition, when session was lost efficacy, the client session controller can carry out masking operation to client browser, and the content that customer terminal webpage is explicit is hidden, and has guaranteed the fail safe of content of pages.
Description of drawings
Fig. 1 is the basic flow sheet of web application in the prior art;
Fig. 2 is two kinds of session status and a transformational relation schematic diagram thereof in the prior art;
Fig. 3 is a kind of system construction drawing based on the real-time session condition managing among the present invention;
Fig. 4 is a kind of client device structure chart among the present invention;
Fig. 5 is a kind of method flow diagram based on the real-time session condition managing among the present invention;
Fig. 6 be among the present invention the client session controller with session status by the online off-line flow chart that transfers to;
Fig. 7 hides customer terminal webpage content flow figure among the present invention;
Fig. 8 is that the client session controller is kept session presence flow chart by the initialization timing device among the present invention.
Embodiment
Core thinking of the present invention is: improve on the basis of original session control scheme that is realized separately by server, realized the control and the management of session information by the server and client side jointly.Among the present invention, owing to detect the Action Events that influences session status by the client session controller, and, upgrade session status according to the pre-configured Action Events and the corresponding relation of session status; Make client not need access server just can judge whether session status is effective, and session status is carried out maintenance management.
The invention provides a kind of system based on the real-time session condition managing, comprise client and server, described client and server comprises conversation controller respectively; As shown in Figure 3: described client session controller, be used for the corresponding relation that setting operation incident and session status upgrade, and the detecting operation incident; Upgrade session status according to described Action Events and described corresponding relation, described renewal session status comprises that be off-line with session status by on-line conversion, or it is online to keep session; Described server session controller is used for and the synchronous described session status of described client session controller.
Wherein, the client session controling appliance body structure in the said system comprises as shown in Figure 4:
Module 410 is set, is used for the corresponding relation that setting operation incident and session status upgrade.
Detection module 420 is used for the detecting operation incident, specifically is used to detect the trigger message that session status changes; Or receive the synchronizing information that server sends, carry session status in the described synchronizing information and upgrade indication.
Session status maintenance module 430, respectively with module 410 be set be connected with detection module 420, be used for upgrading session status according to described Action Events and described corresponding relation, described renewal session status comprises that be off-line with session status by on-line conversion, or maintains line states.Session status maintenance module 430, if specifically be used for session status for maintaining line states, at client terminal local timer is set, when knowing that session need maintain line states, restart this timer, and, make the timer of this session correspondence of described server session controller initialization by session status synchronization module 450 and described server session controller simultaneous session state; When this timer expiry, transfer this session to off-line.
Security module 440 is connected with session status maintenance module 430, and when being used for session status and being off-line by on-line conversion, shielding page displayed content, and the prompting user logins again after detecting the user and logining success again, is recovered described content of pages.
Session status synchronization module 450 is connected with session status maintenance module 430, is used for and the synchronous described session status of described server session controller.
The invention provides a kind of method based on the real-time session condition managing, be applied to comprise that described client and server comprises conversation controller respectively in the system of client and server, this method may further comprise the steps as shown in Figure 5:
Step 501, the corresponding relation that described client session controller setting operation incident and session status upgrade;
Step 502, described client session controller detecting operation incident; Specifically comprise: described client session controller detects the trigger message that session status changes; Or described client session controller receives the synchronizing information that server sends, and carries session status in the described synchronizing information and upgrades indication.
Step 503, described client session controller upgrades session status according to described Action Events and described corresponding relation, and described renewal session status comprises that be off-line with session status by on-line conversion, or maintains line states.If session status is an off-line by on-line conversion, described client session controller shielding page displayed content, and the prompting user logins again; Described client session controller detects the user login success again after, recover described content of pages.
According to above-mentioned principle, the present invention is described in detail in conjunction with concrete application scenarios.
When the client-access server, generate session automatically and carry out maintenance management by server, the session relationship between server and the client realizes by setting up a session id and it being safeguarded.Client is in first time during access server, and server can generate an ID (character string forms) that the overall situation is unique, when server carries out state-maintenance to it, this ID is returned to client in the mode of implicit parameter; Client is when sending next request, automatically this ID is passed through Cookie (small-sized literal archives) or URL (Uniform Resource Locator, URL(uniform resource locator)) mode of parameter is passed to server, so server can be associated with twice request in the session, realize maintenance to this session status.Server is safeguarded the attribute that an overtime idle duration is arranged to all session informations.In the long at this moment scope of certain session, do not receive the request that any client is sent, then server thinks that this session interrupts, with this session information deletion (no longer safeguarding this session information).If after this use the client of this session to initiate request once more, then server can be set up a new session, and new session ID is handed down to client again.
Among the present invention, generate the back in session and carry out maintenance management jointly by client and server, promptly after session is set up, safeguard in the client session controller that this session status is online, when the client session controller detect make the incident that session status upgrades after, upgrade session status, and the session status after will upgrading is given the server session controller synchronously.Wherein, session status upgrades the two kinds of situations that comprise, a kind of be session by the online off-line that becomes, a kind of is to keep the session presence by the initialization timing device.
Among the present invention, by the online off-line that transfers to, detailed process may further comprise the steps the client session controller as shown in Figure 6 with session status:
Step 601, the corresponding relation that pre-configured Action Events (for example KeyEvent, mouse event etc.) and session status more become in the client session controller, as shown in table 1.Need to prove, only listed some simple examples in the table 1, can have multiple other situations in the practical application, do not repeat them here.
Table 1:
Session identification Action Events The session status change
1 KeyEvent, for example, input of character string " quit " By the online off-line that transfers to
2 KeyEvent, for example, input is continuous two above character strings arbitrarily Maintain line states
3 Mouse event, for example, mouse is clicked certain zone more than twice continuously By the online off-line that transfers to
4 Mouse event, for example, certain zone of click once Maintain line states
5 Timer expiry By the online off-line that transfers to
Step 602, the client session controller detects the generation Action Events, determines session status according to the corresponding relation in Action Events and the table 1.For example, detect the character string quit of user by the keyboard input, by the corresponding relation in the look-up table 1, knowing needs this session by the online off-line that transfers to; Detect the user and click continuously more than twice by mouse certain zone in the page, by the corresponding relation in the look-up table 1, knowing needs this session by the online off-line that transfers to; Certain page surpasses Preset Time and does not receive user's operating command, corresponds to session status by the online off-line that transfers to; By the page operation overtime timer is set, after the user carries out once-through operation to certain page, this timer all can start, if next operation arrives then at this timer, then this timer is retimed, and (client browser rests on specific webpage always if this timer does not still receive user's operating command then, and do not carry out the operation of access server), then this timer expiry according to the corresponding relation of table 1, knows that session status is by the online off-line that transfers to.
Step 603, the client session controller is to sending synchronizing information to the server session controller, and the last state announcement server conversation controller with this session makes the server session controller delete this session information.
The timing heartbeat of maintenance of client session controller and server session controller, promptly regularly (as every one minute) and server communication once carry out timing synchronously to the session state information that the client and server both sides preserve.The timing heartbeat message of client and server can pass through a timer of client terminal start-up (Timer), and uses AJAX (Asynchronous JavaScript and XML, asynchronous JavaScript and XML) technology to realize.
Wherein, AJAX is used to create web application, in traditional JavaScript programming, obtains any information file from server or the database if desired, perhaps send information, must utilize a HTML list to server GET or POST data to server.The user then needs to click " submission " button and sends/obtain information, the response of waiting for server, and a new page can loading result then.Because all can return a new page whenever the user submits input back server to, traditional web application becomes operation slowly, and more and more unfriendly.By utilizing among the AJAX, the XMLHttpRequest object of JavaScript is directly communicated by letter with server, and by using the HTTP request, the Web page or leaf can be asked to server, and obtains the response from server, and load page not.The user can rest on the same page, can not notice that script crosses the page in background request, or send data to server.
Among this embodiment, owing to detect the Action Events that influences session status by the client session controller, and, upgrade session status according to the pre-configured Action Events and the corresponding relation of session status; Make client not need access server just can judge whether session status is effective, and session status is carried out maintenance management, strengthened the real-time that session status upgrades.
Among the present invention, when the client session controller detects the triggering session state by the online Action Events that transfers off-line to, when session status is revised as off-line, in order to guarantee the fail safe of client page displayed content, need shield client browser, to hide the customer terminal webpage content.Detailed process may further comprise the steps as shown in Figure 7:
Step 701, client session controller detect the triggering session state by the online Action Events that transfers off-line to, and client browser is shielded.
Particularly, off-line comprises temporary transient off-line and two kinds of permanent off-lines, and temporary transient off-line is to be caused by some transient factors, for example, because the user leaves, the page of client browser is not operated for a long time, and is not in fact wished to withdraw from this session; User's permanent off-line is that the user initiatively requires to withdraw from this session and directly imports the off-line request, and can not set up this session in the short time.Therefore, in order to reduce the process that the client session server rebulids session, can after being converted to off-line, definite this session shield the interface content of this session correspondence for this temporary transient off-line.Certainly, also can be for this temporary transient off-line directly with the session information deletion.
This shielding can be presented as the input inhibit of client/enable characteristic, for example, can pass through HTML (Hypertext Markup Language, hypertext identifiable language)/CSS (Cascading Style Sheets, CSS) layer (Layer) technology, on original Web interface, increase by one and cover layer, the shield interface content is also given user prompt information.For example, behind session timeout, show " mode " dialog box automatically, allow the user re-enter login password; With opaque illiteracy layer content of pages is covered simultaneously, guarantee the fail safe at interface.
Step 702, the client session controller sends information to client browser, and the prompting user logins again, sets up this session connection.
Step 703 judges whether the user logins success again by information such as input username and passwords, if then change step 704; If unsuccessful, comprise two kinds of situations: a kind of user of being is login again, and another kind is that the user has logined again but user name or password input are incorrect, illustrate that the user may not can use this session or do not have authority to continue to use this session, commentaries on classics step 705.
Step 704, the client session controller transfers this session to online, recovers content of pages by covering layer removal, keeps original page info, allows the user continue to finish interface operation.
Step 705 is with this session information deletion.In order to prevent that user misoperation from causing the situation of user name and/or password bad, can provide information once more, allow the user login again.
In the present embodiment, when session was lost efficacy, the client session controller can carry out masking operation to client browser, and the content that customer terminal webpage is explicit is hidden, and has guaranteed the fail safe of content of pages.
Among the present invention, the client session controller is kept by the initialization timing device in the application scenarios of session presence, and detailed process may further comprise the steps as shown in Figure 8:
Step 801, the client session controller detects the generation Action Events, determines that according to the corresponding relation in Action Events and the table 1 session status is online for keeping.For example, detect the user and on the page, import continuous two above character strings arbitrarily.In fact it is also passable to import a letter or number, but might user misoperation may import certain button on certain letter or number or the keyboard, specific two or more characters of justice input cause that session is online to be kept in order to reduce this misoperation, just can cause the operation of keeping session.Or, detect the user and click on the page certain zone continuously by mouse and by the corresponding relation of look-up table 1, know that session need maintain line states more than twice.
Step 802 is provided with timer at client terminal local, when knowing that session need maintain line states, restarts this timer, has only when this timer expiry, transfers this session to off-line.
Step 803 when knowing that session need maintain line states, sends synchronizing information to server, makes the timer of this session correspondence of server initialization, guarantees that this session is online in this length of timer.
In the present embodiment, the operating time of client can influence session status, when for example importing data on the Web interface, can influence session status.For example, in input process, because server timeout causes session failed, but user and not knowing still continue the interface input, and input information can be kept the session effective status this moment, and give the server session controller synchronously; Assurance data input process is finished up to input, this session all is effective in client session controller and server conversation controller, avoid occurring when the user carries out the data submit operation, the session of this client correspondence of discovering server is overtime, directly the user is navigate to the page of login again, the data of user's input will all be lost.
Among the present invention, owing to can safeguard a plurality of client session informations in the server session controller, server is safeguarded the attribute that an overtime idle duration is arranged to all session informations.In the long at this moment scope of certain session, do not receive any client-requested, then server thinks that this session interrupts, and this session information deletion no longer can be safeguarded this session information.
After the server session controller receives synchronizing information from the client session controller, compare with the local session state, if it is effective that the client session controller writes down this session, and local corresponding session information had lost efficacy, then in the receiveing the response of synchronization message, feed back to client, with notice client process session failed incident, making the client session server is failure state with this session updates.If the client session controller writes down this session failed, and local corresponding session information is effectively, and then the session of update service device conversation controller is inefficacy, and the corresponding session information of deletion.If client session controller and server conversation controller all are effectively to this session information, and be then effective, all is invalid, then invalid.
Certainly,, also can not wait the synchronizing information of client session server, and directly send synchronizing information, lose efficacy to notify its this session to this client session controller if the server session controller detects certain session failed.Wherein, communicating by letter between client and the server can use AJAX (Asynchronous JavaScript and XML, asynchronous JavaScript and XML) to realize, can avoid because page furbishing the problem that causes interface information to be lost.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that 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, 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 present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (11)

1, a kind of method based on the real-time session condition managing is applied to comprise that described client and server comprises conversation controller respectively, it is characterized in that, said method comprising the steps of in the system of client and server:
The corresponding relation that described client session controller setting operation incident and session status upgrade;
Described client session controller detecting operation incident;
Described client session controller upgrades session status according to described Action Events and described corresponding relation, and described renewal session status comprises that be off-line with session status by on-line conversion, or maintains line states.
2, the method for claim 1 is characterized in that,
If session status is an off-line by on-line conversion, described client session controller shielding page displayed content, and the prompting user logins again, and after described client session controller detects the user and logins success again, recover described content of pages.
3, the method for claim 1 is characterized in that, described client session controller detecting operation incident specifically comprises:
Described client session controller detects the trigger message that session status changes; Or
Described client session controller receives the synchronizing information that server sends, and carries session status in the described synchronizing information and upgrades indication.
4, the method for claim 1 is characterized in that, described client session controller upgrades session status according to described Action Events and described corresponding relation, also comprises afterwards:
Described client session controller and the synchronous described session status of described server session controller.
5, the method for claim 1, it is characterized in that, if session status is for maintaining line states, at client terminal local timer is set, when knowing that session need maintain line states, restart this timer, and with described server session controller simultaneous session state, make the timer of this session correspondence of described server session controller initialization; When this timer expiry, transfer this session to off-line.
6, a kind of system based on the real-time session condition managing comprises client and server, it is characterized in that, described client and server comprises conversation controller respectively;
Described client session controller is used for the corresponding relation that setting operation incident and session status upgrade, and the detecting operation incident; Upgrade session status according to described Action Events and described corresponding relation, described renewal session status comprises that be off-line with session status by on-line conversion, or it is online to keep session;
Described server session controller is used for and the synchronous described session status of described client session controller.
7, a kind of client device is applied to comprise that described client comprises conversation controller, it is characterized in that in the system of client and server, and described client session controller comprises:
Module is set, is used for the corresponding relation that setting operation incident and session status upgrade;
Detection module is used for the detecting operation incident;
The session status maintenance module, be connected with detection module with the described module that is provided with respectively, be used for upgrading session status according to described Action Events and described corresponding relation, described renewal session status comprises that be off-line with session status by on-line conversion, or maintains line states.
8, client device as claimed in claim 7 is characterized in that, also comprises:
Security module is connected with described session status maintenance module, and when being used for session status and being off-line by on-line conversion, shielding page displayed content, and the prompting user logins again after detecting the user and logining success again, is recovered described content of pages.
9, client device as claimed in claim 7 is characterized in that,
Described detection module specifically is used to detect the trigger message that session status changes; Or
Receive the synchronizing information that server sends, carry session status in the described synchronizing information and upgrade indication.
10, client device as claimed in claim 7 is characterized in that, also comprises:
The session status synchronization module is connected with described session status maintenance module, is used for and the synchronous described session status of described server session controller.
11, client device as claimed in claim 7 is characterized in that,
Described session status maintenance module, if specifically be used for session status for maintaining line states, at client terminal local timer is set, when knowing that session need maintain line states, restart this timer, and, make the timer of this session correspondence of described server session controller initialization by described session status synchronization module and described server session controller simultaneous session state; When this timer expiry, transfer this session to off-line.
CN 200910157219 2009-07-02 2009-07-02 Method, device and system for state management based on real-time session Active CN101588393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910157219 CN101588393B (en) 2009-07-02 2009-07-02 Method, device and system for state management based on real-time session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910157219 CN101588393B (en) 2009-07-02 2009-07-02 Method, device and system for state management based on real-time session

Publications (2)

Publication Number Publication Date
CN101588393A true CN101588393A (en) 2009-11-25
CN101588393B CN101588393B (en) 2013-06-05

Family

ID=41372455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910157219 Active CN101588393B (en) 2009-07-02 2009-07-02 Method, device and system for state management based on real-time session

Country Status (1)

Country Link
CN (1) CN101588393B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739680A (en) * 2012-06-28 2012-10-17 用友软件股份有限公司 Session life prolonging device and method
CN103973641A (en) * 2013-01-29 2014-08-06 国际商业机器公司 Method and device for managing conversations of different web sites
CN104901974A (en) * 2015-06-26 2015-09-09 中国科学院大学 Safety hypertext transport method
CN105100113A (en) * 2015-08-26 2015-11-25 浪潮集团有限公司 Session timeout control method based on in-cloud OS
CN105306348A (en) * 2015-11-10 2016-02-03 上海斐讯数据通信技术有限公司 Solving method for delayed and leaked messages in group chat and instant messaging tool
CN105657183A (en) * 2016-02-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 User terminal prompting method, user terminal and system
WO2016177184A1 (en) * 2015-07-20 2016-11-10 中兴通讯股份有限公司 Method and device for processing connection establishment
CN106528074A (en) * 2015-09-15 2017-03-22 松下知识产权经营株式会社 Method for controlling information terminal, and application system
CN107547484A (en) * 2016-06-29 2018-01-05 上海连尚网络科技有限公司 Message obtains, method, equipment and the system of push
CN109274662A (en) * 2018-09-06 2019-01-25 北京天元创新科技有限公司 Prevent CAS Server from passively destroying method, apparatus, server and the terminal of session
CN109299182A (en) * 2018-11-13 2019-02-01 郑州云海信息技术有限公司 The management method and device of the session connection of database
CN109769006A (en) * 2017-11-09 2019-05-17 百度在线网络技术(北京)有限公司 Trusteeship service method, platform, equipment and the readable medium of online customer service
CN110505357A (en) * 2019-09-06 2019-11-26 上海航天测控通信研究所 A kind of management method of aerospace VOIP voice terminal
CN110704582A (en) * 2019-09-20 2020-01-17 联想(北京)有限公司 Information processing method, device and equipment
CN111654407A (en) * 2020-04-14 2020-09-11 新华三信息安全技术有限公司 Stacking system and bidirectional forwarding detection method thereof
CN112104746A (en) * 2020-09-28 2020-12-18 睿视(苏州)视频科技有限公司 Session management method, device and storage medium
CN112968972A (en) * 2015-10-30 2021-06-15 思杰系统有限公司 System and method for maintaining sessions via an intermediary device
CN115118762A (en) * 2022-05-19 2022-09-27 北京京东乾石科技有限公司 Session processing method, client and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949774B (en) * 2006-11-02 2010-04-07 华为技术有限公司 Method and apparatus for managing web application program conversation
CN101094232A (en) * 2007-07-18 2007-12-26 北京亿企通信息技术有限公司 Method and system for displaying conversation state of the other party in instant communication tool

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739680A (en) * 2012-06-28 2012-10-17 用友软件股份有限公司 Session life prolonging device and method
CN103973641B (en) * 2013-01-29 2017-08-25 国际商业机器公司 Manage the method and device of the session of different web sites
CN103973641A (en) * 2013-01-29 2014-08-06 国际商业机器公司 Method and device for managing conversations of different web sites
US9591079B2 (en) 2013-01-29 2017-03-07 International Business Machines Corporation Method and apparatus for managing sessions of different websites
CN104901974A (en) * 2015-06-26 2015-09-09 中国科学院大学 Safety hypertext transport method
CN104901974B (en) * 2015-06-26 2018-01-02 中国科学院大学 Secure hyper text transport method
CN106375353B (en) * 2015-07-20 2020-05-19 中兴通讯股份有限公司 Link establishment processing method and device
WO2016177184A1 (en) * 2015-07-20 2016-11-10 中兴通讯股份有限公司 Method and device for processing connection establishment
CN106375353A (en) * 2015-07-20 2017-02-01 中兴通讯股份有限公司 Link establishment processing method and apparatus
CN105100113A (en) * 2015-08-26 2015-11-25 浪潮集团有限公司 Session timeout control method based on in-cloud OS
CN106528074A (en) * 2015-09-15 2017-03-22 松下知识产权经营株式会社 Method for controlling information terminal, and application system
CN112968972A (en) * 2015-10-30 2021-06-15 思杰系统有限公司 System and method for maintaining sessions via an intermediary device
CN105306348A (en) * 2015-11-10 2016-02-03 上海斐讯数据通信技术有限公司 Solving method for delayed and leaked messages in group chat and instant messaging tool
CN105657183A (en) * 2016-02-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 User terminal prompting method, user terminal and system
CN107547484A (en) * 2016-06-29 2018-01-05 上海连尚网络科技有限公司 Message obtains, method, equipment and the system of push
CN109769006A (en) * 2017-11-09 2019-05-17 百度在线网络技术(北京)有限公司 Trusteeship service method, platform, equipment and the readable medium of online customer service
CN109274662A (en) * 2018-09-06 2019-01-25 北京天元创新科技有限公司 Prevent CAS Server from passively destroying method, apparatus, server and the terminal of session
CN109299182A (en) * 2018-11-13 2019-02-01 郑州云海信息技术有限公司 The management method and device of the session connection of database
CN110505357A (en) * 2019-09-06 2019-11-26 上海航天测控通信研究所 A kind of management method of aerospace VOIP voice terminal
CN110704582A (en) * 2019-09-20 2020-01-17 联想(北京)有限公司 Information processing method, device and equipment
CN111654407A (en) * 2020-04-14 2020-09-11 新华三信息安全技术有限公司 Stacking system and bidirectional forwarding detection method thereof
CN112104746A (en) * 2020-09-28 2020-12-18 睿视(苏州)视频科技有限公司 Session management method, device and storage medium
CN115118762A (en) * 2022-05-19 2022-09-27 北京京东乾石科技有限公司 Session processing method, client and system

Also Published As

Publication number Publication date
CN101588393B (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN101588393B (en) Method, device and system for state management based on real-time session
US9374490B2 (en) Information processing system, equipment unit, and information processing method
US20130019300A1 (en) System, control method therefor, service providing apparatus, relay apparatus and computer-readable medium
CN104412272B (en) User is set to sign in the method, system and equipment of browser
CN102939583A (en) Creating task sessions
CN101135989A (en) Automatization test method and device for Web applied system
CN109922132A (en) Method, apparatus, electronic equipment and the storage medium of form request processing
WO2015196979A1 (en) Web page information presentation method and system
CN111885080B (en) Login service architecture, server and client
EP4169227A1 (en) Distributed endpoint security architecture automated by artificial intelligence
WO2023116425A1 (en) Wireless mesh network upgrade method and apparatus, and main node and storage medium
US11930003B2 (en) Workflow service back end integration
CN108521342B (en) Cluster management method and device
US20090300505A1 (en) Information processing apparatus, recovering method of entry information thereto, and recording medium
CN111245917B (en) Katalon-based work order entry device and implementation method thereof
US9917963B2 (en) Information processing device and information processing method
CN101841567A (en) Domain user login-based realization method of application system integration platform
CN104156394A (en) Mobile page creating system and mobile page creating method
CN112580002A (en) Login method and related equipment
KR101402286B1 (en) Method, System and Apparatus for Synchronizing Information
JP2020149552A (en) Information processing device, proxy log-in system, proxy log-in method, and proxy log-in program
JP6353759B2 (en) Test execution device, test execution method, and computer program
CN111801652B (en) Recording and recreating interface navigation procedures
US11763231B2 (en) Workflow service application stating
CN113612756B (en) Shared login method and device, computer readable storage medium and electronic 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
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address