CN102694786A - Session management system - Google Patents

Session management system Download PDF

Info

Publication number
CN102694786A
CN102694786A CN2011100810715A CN201110081071A CN102694786A CN 102694786 A CN102694786 A CN 102694786A CN 2011100810715 A CN2011100810715 A CN 2011100810715A CN 201110081071 A CN201110081071 A CN 201110081071A CN 102694786 A CN102694786 A CN 102694786A
Authority
CN
China
Prior art keywords
session
information
server
web server
client terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011100810715A
Other languages
Chinese (zh)
Inventor
北谷嘉规
佐藤亘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nomura Research Institute Ltd
Original Assignee
Nomura Research Institute 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 Nomura Research Institute Ltd filed Critical Nomura Research Institute Ltd
Priority to CN2011100810715A priority Critical patent/CN102694786A/en
Publication of CN102694786A publication Critical patent/CN102694786A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides a session management system which can improve the convenience for users while continuously providing Web service. In the session management system (100), when a client terminal (118) requests for connection, a Web server (112) generates a session management record containing a session identification code, and transmits the session identification code to the client terminal (118); if communication is not performed within the set time, data for restarting the session is extracted from a memory, transferring destination information is added in the session management record, the record is stored and the transferred session-related data is deleted from the memory; and when the client terminal (118) sends a connection request with the session identification code, the data which is used for restarting the session and related to the session identification code is determined, and the determined session information is recovered at the memory.

Description

Conversation management system
Technical field
This invention relates to conversation management system.
Background technology
In HTTP (Hyper Text Transfer Protocol, HTTP), do not have the framework that is used to keep the session between Web server and the client terminal.Therefore, use when client terminal provides the complex Web service, must be provided for the framework of session management when Web server uses Web.As the session management framework in the common Web server, known have a following processing procedure (referring to non-patent literature 1).That is, when the initial connection of receiving from the Web browser of client terminal, Web server generates unique session id information, and sends to the Web browser of client terminal.Web browser is stored as small-sized literal archives (Cookie) information with the session id information.And, contain this session id information in the IP bag of Web browser when communicating by letter with Web server, can confirm Web browser uniquely in the Web server side thus.According to such processing procedure, can continue to provide Web service.
[prior art document]
[non-patent literature 1] session timeout (session time out) [retrieval on December 9th, 2010] URL: Http:// www.ipa.go.jp/security/awareness/vendor/programmingv1/a0 5_03.html
Summary of the invention
As stated, Web server can uniquely confirm to become the Web browser of communication object through utilizing cookie information.But; After the user who utilizes client terminal logins Web service, do not have to nullify and at the appointed time not with Web browser between under the situation of communicating by letter; Web server can not confirm that the user finishes to utilize this Web service, though or in utilization, temporary transient interrupt operation.Therefore; If Web server is ignored to this state; Then cause the storage resources of waste Web server; So the time point having passed through the stipulated time (for example be 30 minutes etc.) is assert this session timeout automatically, and the data of opening on the memory of Force Deletion Web server relevant with this session.
But, for only temporary transient interrupt operation, hope to continue to utilize the user of Web service, need return the homepage of Web website and repeat logon processing once more.That is to say that the above-mentioned conversation managing method that the existing Web server is carried out has improved the utilance of storage resources in the Web server, but then, have the only problem of the user convenience property of temporary transient interrupt operation of infringement.
In addition, under the situation of having to stop the Web server operation for periodic maintenance Web server or replacing program etc., for shorten out of service during and prepare to have the subsequent use Web server of identical function with the Web server that is stopped.In this case, the above-mentioned conversation managing method that can't utilize the existing Web server to be carried out, Web server that replacement stops under the state of keeping with each client terminal session and subsequent use Web server.Therefore, for the user who before and after this stopping period, hopes to utilize Web service, in case with the conversation end of the Web server that is stopped after, then require after being replaced by subsequent use Web server, to repeat once more login process.That is to say that the above-mentioned conversation managing method that the existing Web server is carried out can shorten the stopping period of Web service, but then, have the problem of the user convenience property of damaging the user who before and after this replacing, is utilizing or hoping to utilize.
The present invention accomplishes in order to solve at least one above-mentioned problem points, and its purpose is, a kind of conversation management system that can when continuing Web service is provided, improve user convenience property is provided.
To achieve these goals; Conversation management system of the present invention is the conversation management system with the server that is connected with a plurality of client terminals through network, and server possesses: session information generation portion, and said session information generation portion is when client terminal is logined; Generation contains the session management record of session identification sign indicating number; And record in the session management table, simultaneously, the session identification code is sent to said client terminal; Session information unloading handling part; After sending the session identification sign indicating number to client terminal; When not communicating by letter with client terminal at the appointed time, this session that said session information unloading handling part will be recorded in memory begins the storage part of required data conversion storage to regulation once more, simultaneously; Make its unloading destination information related, the line item of going forward side by side with the session management accounts; Session information deletion portion, after utilizing session information unloading handling part unloading data, said session information deletion portion is from the memory deletion data relevant with session; Session related information is confirmed portion; Sending from client terminal when having the connection request of session identification sign indicating number; Said session related information is confirmed portion with reference to the session management table, confirms that relevant with this session identification sign indicating number, this session begins the unloading destination information of desired data once more; With session information recovery portion,, restore this session at memory and begin required data once more with reference to confirm the unloading destination information that portion confirms by session related information.
Conversation management system of the present invention is except said structure; Also preferably have load balancer, said load balancer is controlled any that will distribute in a plurality of servers from the connection request of client terminal, the session that session information unloading handling part in first server of the origin of an incident out of service of regulation will be recorded in memory has taken place in a plurality of servers begun the storage part that desired data dumps to regulation once more; Simultaneously; Make this unloading destination information related with the session management accounts, the line item of going forward side by side is used as the second server of the standby server of first server in a plurality of servers; Have: session related information is confirmed portion; Utilize the control of load balancer, the client terminal that communicates from the session identification sign indicating number that has according to first server sends when handling request, and said session related information confirms that portion is with reference to the session management table; Definite relevant with this session identification sign indicating number, this session begins the unloading destination information of desired data once more; Session information recovery portion, this session information recovery portion restores this session and begins required data once more with reference to confirmed the unloading destination information that portion confirms by session related information on memory.
In addition; Conversation management system of the present invention is preferably except said structure; First server according to each on-site division, generates the user's who is respectively allocated to first server and second server session directory information with reference to the user's who stores the service that expression visit first server provided at least on-site information, maybe can infer on-site database of information; Be sent to load balancer; Simultaneously, according to the session directory information that generates, load balancer is carried out the reallocation of current sessions.
According to the present invention, a kind of conversation management system that when continuing Web service is provided, improves user's convenience can be provided.
Description of drawings
Fig. 1 is the overall structure figure of the conversation management system of embodiments of the invention 1.
Fig. 2 is the flow chart of processing procedure in the expression conversation management system shown in Figure 1.
Fig. 3 is the flow chart of processing procedure in the expression conversation management system shown in Figure 1.
Fig. 4 is the figure of one of the session management record of being registered in the session management table of expression DB server shown in Figure 1 example, and the figure of the information example of being registered when (a) being the expression login (b) is the figure of the information example registered when finishing of expression login.
Fig. 5 is the figure of one of the session management record of being registered in the session management table of expression DB server shown in Figure 1 example; (a) being the figure of the information example registered in when login expression, (c) is the figure of the information example representing at the appointed time to be registered when once all not taking place with communicating by letter of client terminal.
Fig. 6 is the key diagram of the registration example of expression session management record.
Fig. 7 is the overall structure figure of the conversation management system of the embodiment of the invention 2.
Fig. 8 is the flow chart of the processing procedure in the expression conversation management system shown in Figure 2.
Fig. 9 is the flow chart of the processing procedure in the expression conversation management system shown in Figure 2.
Figure 10 is the key diagram of the registration example of expression session management record.
Figure 11 is the overall structure figure of the conversation management system of embodiments of the invention 3.
The explanation of symbol
100,200,300 conversation management systems, 112,212,214 Web servers, 114, the 216DB server; 116,220 networks, 118,222 client terminals, 120,224,224A session management program; 122,226 site zone, 124,228 data base administrators, 126,230,230A session management table; 128,232 websites are set table, 130,234 unloading data store, 132,236, the 236A customer data base; 218,218A load balancer, 218B connection management program, 218C connection management table
Embodiment
Below; With reference to accompanying drawing conversation management system 100, the conversation management system 200 of embodiment 2 and the conversation management system 300 of embodiment 3 as the embodiment 1 of a kind of execution mode of conversation management system of the present invention are described respectively, but the present invention is not limited to following embodiment 1, embodiment 2 and embodiment 3.
[embodiment 1]
Fig. 1 is the overall structure figure of the conversation management system 100 of embodiments of the invention 1.This conversation management system 100 has the DB server 114 that Web server 112 and session management are used.Connect through LAN (Local Area Network, local area network (LAN)) between Web server 112 and the DB server 114.In addition, through networks such as Intranet or the Internet 116 a plurality of client terminals 118 are connected with Web server 112.Client terminal 118 is made up of computers such as PC, and OS (Operating System, operating system) and Web browser program have been installed.
In the not shown storage part of Web server 112 (for example hard disk etc.), except OS, Web server with the program, the special-purpose session management program 120 of this conversation management system 100 also has been installed.The CPU of Web server 112 (Central Processing Unit; CPU) through OS and these programs are read RAM (Random Access Memory; Random access memory) etc. carry out calculation process in the memory, realize each function of session information generation portion, session information unloading handling part, session information deletion portion and session information recovery portion that the present invention asks for protection thus.The processing that utilizes these functions to realize will be explained hereinafter.In addition, the storage part at Web server 112 is provided with site zone 122.These site zone 122 storages are used to provide the not shown application program and the database of special services.In addition, the storage part of Web server 112 can be with Web server 112 direct-connected external hard drives or be connected NAS external memories such as (Network Attached Storage, network attached storages) in the same LAN etc.
The DB server 114 that session management is used has data base administrator 124, session management table 126, website setting table 128, unloading data store 130 and customer data base 132.The identifying information etc. of setting time that can connect once more after the definition overtime (time out) in the table 128 and should dumping to the data of unloading data store 130 when overtime at website from memory.Store each user's information such as ID, password, name, owned enterprise's title and the ID of enterprise in the customer data base 132.
Fig. 2 and Fig. 3 are the flow charts of the processing procedure in the expression conversation management system 100 shown in Figure 1.Following one side is with reference to flow chart and Fig. 4, Fig. 5 and the registration example shown in Figure 6 of Fig. 2 and Fig. 3, Yi Bian the processing procedure in this conversation management system 100 is described.
At first, when Web server 112 receives from the logging request of client terminal 118 (S110), based on ID that is sent and password, inspection customer data base 132, and carry out authentication processing (S112).When authentication processing is NG (in S112 for NO) here, sends to client terminal 118 from Web server 112 and not allow to utilize the message of service, and be presented on the picture of client terminal 118 (S114).In contrast, when authentication processing is OK (in S112 for YES), be sent out to client terminal 118 from the authentication id information of the encryption of Web server 112, the Web browser of client terminal 118 saves as cookie information (S124) with the authentication id information that is sent out.Here, so-called " authentication ID " is meant the session identification sign indicating number that is generated by Web server 112.
Next, Web server 112 sends ID the program of admin site zone 122 to, and request generates the session management record simultaneously to the login process (S126) of this website, and is registered in the session management table 126 of DB server 114 (S128).
Fig. 4 is the figure of one of the session management record of being registered in the session management table 126 of expression DB server 114 shown in Figure 1 example, and the figure of the information example of registration when (a) being the expression login (b) is the figure of expression information example of registration when nullifying.As shown in Figure 4, this session management record comprises the data items of log date and time, daily record division, cancelling date and time, authentication ID and unloading storage destination.Shown in Fig. 4 (a), after session just begins, the date and time information of recording start session in the project of log date and time, record " newly-built " in the project that daily record is divided simultaneously.In addition, in the project of authentication ID, be recorded in the authentication ID that provides among the S124.
Then, the Web file that constitutes the Web website of logining is sent to client terminal 118 from Web server 112, the special services of general intrinsic picture offers user (S130) through site zone 122.EO as the user; During from client terminal 118 transmission de-registration request (S132); Shown in Fig. 4 (b); Web server 112 is the current date and time (S134) of record in cancelling date of session management record and time project, simultaneously, deletes all data (S136) relevant with this session from memory.
Relative therewith, when in the providing in the process at the appointed time of Web service (for example 10 minutes etc.), with client terminal 118 any communication being taken place (S138 of Fig. 3), it is overtime that Web server 112 is judged to be, thereby carry out the Interrupt Process of session.
Fig. 5 is the figure of one of the session management record of being registered in the session management table 126 of expression DB server 114 shown in Figure 1 example; The figure of the information example of being registered when (a) being the expression login (c) is the routine figure of information that is registered when representing at the appointed time with any communication of client terminal 118 generations.
Web server 112 is set table 128 with reference to website, obtains the set information (S140) of this login Web website.Particularly, the kind of the definite data that should preserve in advance in order to reproduce user's utilizing picture in this login Web website later on.For example, confirm input field information, search condition input field information, and the ID of options field information etc. all belong to above-mentioned information.
Next; Web server 112 is based on the set information that obtains among the S140; Want unloading data (for example text the input or selection data, ID, picture ID etc.) from the memory extraction; Make the unloading data store 130 of these storage, thereby make its unloading (S142) from the memory at DB server 114.
And shown in Fig. 5 (c), Web server 112 is recorded in the pathname of this unloading destination the unloading storage destination project (S144) of session management record.At this moment, overtime date and time also is recorded in cancelling date and the time project.Next, Web server 112 is from memory deletion all data (S146) relevant with this session.
Then, the user begins operation once more, and sends some requests from client terminal 118, describes in the face of this situation down.Fig. 6 is the figure of one of the session management record of being registered in the session management table 126 of expression DB server 114 shown in Figure 1 example; (c) be the routine figure of information that is registered when representing at the appointed time with any communication of client terminal 118 generations; (d) be that expression is through connect the figure of the information example that increases new management accounts, the figure of the information example of being registered when (e) being expression login end again.
When some requests (S148) that receive from client terminal 118, whether Web server 112 inspections record the session management record (S151) that whether exists in the session management table 126 of authentication id information (S150) and DB server 114 should authentication ID from the IP data that this client terminal 118 sends.Here; When recording the authentication id information the IP data that send over from client terminal 118 and also have corresponding session management record; Web server 112 is set table 128 with reference to website, the time that can connect once more (S152) of obtaining this website, simultaneously with the authentication id information as key (key); With reference to session management table 126, obtain cancelling date and time (overtime date and time) information (S154).
Next; Web server 112 is judged from this overtime date and time information and is begun till current institute's elapsed time whether in the time that can connect once more (S156); If YES then with reference to the session management record, judges that session begins required data once more and whether is registered (S158)., be judged to be under the situation of YES, Web server 112 obtains from unloading data store 130 and reproduces the required data of this session here, simultaneously, obtains from site zone 122 and to be used to generate the master data that service provides picture, and restore session information (S160).
Next, Web server 112 is checked customer data base 132 based on the ID the data that extract from unloading data store 130, and whether this user of authentication has the authority (S162) of the service of site zone utilized 122 once more.Have utilize authority if be judged to be here, then Web server 112 places memory (S164) with the session information that restores.
Shown in Fig. 6 (d), Web server 112 increases new management accounts (S166) in session management table 126.In the authentication ID project of this session management record, directly take over the overtime preceding authentication ID that uses, but record " connects once more " in daily record division project.In addition, record is connected the date and time when beginning once more in log date and time project.
Above result is; Even carry out the conversation processing that causes because of overtime for the time being through Web server 112; Also can on memory, reproduce the session information before overtime, even and to client terminal 118 send in the input processes text or to the selection of options also can reproduction of reality picture.Therefore, the user needn't login once more and just can begin operation (S130 of Fig. 2) once more.Under the situation of after this user is with regard to this end operation, nullifying, shown in Fig. 6 (e), the date and time of nullifying in the item record of cancelling date and time, and from the memory deletion session related data (S134, S136) of Web server 112.Be directed to this, when carrying out the conversation processing, repeat the processing of S138~S166 because of nullifying once more.
In addition, in S150, S151, S156, S158 and S162, be judged to be under the situation of NO, send the message that expression not allowing after overtime connects once more to client terminal 118, and be presented on the picture of this client terminal 118 (S170) from Web server 112.In such cases, the user must return the homepage of Web server 112, restarts login.
In customer data base 132, preestablish attribute of user or the authority recognition sign indicating number corresponding with authority, thus the time that can connect once more after also can be overtime according to the control of this identification code.For example, the time that allows to connect once more for the user of our company is 8 hours, and for the user of other company, the time restriction that can connect once more is 20 minutes.
In order to improve fail safe; Can also use such system, promptly when overtime, in advance the IP address of client terminal 118 is recorded in the session management record, and the IP address when request connected once more and the IP address when overtime compare; Only when both are consistent, just allow to connect once more.
Under the situation of this conversation management system 100; The time of wanting the unloading data or can connecting once more when overtime; Needn't write code to the application program of site zone 122, as long as define in advance at website setting table 128, so; Realize the simplification of encoding operation, had the advantage that easily to carry out change setting simultaneously.In addition; Under the situation of this conversation management system 100, only temporary transient interrupt operation and hoping continue to utilize homepage that the user of Web service needn't return the Web website once more repeat logon handle, so; Compare with the conversation managing method that the existing Web server is carried out; The utilance of storage resources in the Web server is improved, simultaneously, also do not damage the only user convenience property of temporary transient interrupt operation.
[embodiment 2]
Fig. 7 is the overall structure figure of the conversation management system 200 of embodiments of the invention 2.This conversation management system 200 have first Web server 212, second Web server 214, session management with the load dispersal device of the conversion of DB server 216, control first Web server 212 and second Web server 214, be load balancer 218.
In this conversation management system 200, different with the structure shown in the embodiment 1, have a plurality of Web servers 212,214, for the visit of dispense needles, adopt so-called SLB (Server Load Balancing, servo load balance) to each device.Look sideways from client terminal 222, load balancer 218 shown in Figure 7 appears as a Web server, accepts the request from client terminal 222 alone.And load balancer 218 each receptions are selected a server from a plurality of Web servers 212,214 when asking, and request is transferred to selected server unit.Method about the Web server 212,214 of selecting to pass on the destination for example comprises following method: the method for utilizing endless form to select; The method of selecting at random; The method of the device that the number of sessions between selection and the client terminal 222 is minimum; The load state of monitoring Web server 212,214 is selected the method for the less device of load and according to the periodic maintenance of Web server 212,214 or the replacing of program etc., the method for any etc. is selected in pressure.In addition, the SLB of present embodiment is made up of load balancer 218 and a plurality of Web servers 212,214, but also can be made up of load balancer 218 and the server unit more than 3.
Load balancer 218 and Web server 212, connect through LAN between 214 and between Web server 212,214 and the DB server 216.In addition, a plurality of client terminals 222 are connected with Web server 212,214 through network 220 such as Intranet or the Internet and load balancer 218.Client terminal 222 is made up of computers such as PC, and OS and Web browser program have been installed.
In the not shown storage part (for example hard disk) of Web server 212,214, except OS, Web server with the program, the special-purpose session management program 224 of conversation management system 200 also has been installed.The CPU of Web server 212,214 reads OS and these programs and carries out calculation process among the RAM, realizes each function of session information generation portion, session information unloading handling part, session information deletion portion and session information recovery portion that the present invention asks for protection thus.In addition, in the back the processing that utilizes these functions to realize will be described.Storage part at Web server 212,214 is provided with site zone 226 respectively.On these site zone 226, store application program and the database that is used to provide special services.In addition, the storage part of Web server 212,214 can be and Web server 212,214 direct-connected external hard drives, or be connected the interior NAS external memories such as (Network Attached Storage) of same LAN etc.
The DB server 216 that session management is used has data base administrator 228, session management table 230, website setting table 232, unloading data store 234 and customer data base 236.Storing conversion at website setting table 232 should be from the identifying information of the data of the unloading data store 234 of memory unloading to the DB server 216 of first Web server 212 during Web server etc.Store each user's information such as ID, password, name, owned enterprise's name, the ID of enterprise at customer data base 236.
Fig. 8 and Fig. 9 are the flow charts of the processing procedure in the expression conversation management system 200 shown in Figure 2.Below, on one side with reference to the flow chart of Fig. 8 and Fig. 9 and data registration example shown in Figure 10, the processing procedure in this conversation management system 200 is described on one side.In addition, as the prerequisite of following processing, comprise the situation that first Web server 212 should stop because of periodic maintenance or program change etc., and second Web server 214 is set to the standby server of first Web server 212.
At first, when first Web server 212 receives from the logging request (S210) of client terminal 222,, and carry out authentication processing (S212) based on ID that is sent and cryptographic check customer data base 236.Here, when authentication processing is NG (among the S212 for NO), sends to client terminal 222 from first Web server 212 and not allow to utilize the message of service, and be presented at (S214) on the picture.And when authentication was OK, first Web server 212 was sent to client terminal 222 with the authentication ID that encrypts, and made it be saved in Cookie (S222).Here, " authentication ID " is meant the session identification sign indicating number that is generated by first Web server 212.
Next, first Web server 212 is given the program in admin site zone 226 with ID, and request simultaneously, generates the session management record to the login process (S224) of this website, and registers to the session management table 230 (S226) of DB server 216.
Figure 10 is the figure of one of the session management record of being registered in the session management table 230 of expression DB server 216 shown in Figure 7 example; The figure of the information example of being registered when (a) being the expression login; (b) be illustrated in first Web server 212 in the conversation procedure occurred to maintenance constantly, the thing out of service that breaks down and so on by the time information example registered figure; (c) be to be increased newly the routine figure of information in the session admin table 230 by second Web server 214 after expression first Web server 212 stops, (d) be the figure of expression information example.
Shown in figure 10, this session management record has the data items of log date and time, daily record division, cancelling date and time, authentication ID, unloading storage destination.Shown in Figure 10 (a), after session has just begun, the date and time information that recording conversation begins in the project of log date and time, record " newly-built " in daily record division project simultaneously.In addition, the authentication ID that in the project of authentication ID, provides among the record S122.
Then, the Web file of institute's Website login is sent to client terminal 222 from first Web server 212, the site zone 226 through first Web server 212 offers user (S228) with the special services of general intrinsic picture.
In this conversation procedure, when first Web server 212 had occurred to the origin of an incident out of service (S230) keep in repair constantly or break down and so on, at first first Web server 212 was set table 232 with reference to website, obtained the set information (S232) of this website.Particularly, the definite data class that should preserve in advance for the later user who reproduces in this website utilizes picture.For example, ID or ID, picture ID that confirms text entry field or search condition input field, options field etc. belongs to above-mentioned information.
Next; First Web server 212 is based on the set information that obtains among the S232; Want unloading data (text the input or selection data, ID, picture ID etc.) from the memory extraction, and make the unloading data store 234 (S234) of its unloading to DB server 216.Next, shown in Figure 10 (b), first Web server 212 is recorded in the pathname of this unloading destination in the unloading storage destination project of session management record (S236).At this moment, the date and time that also the record server stops in cancelling date and time project.Then, first Web server 212 is from memory deletion all data (S238) relevant with this session.At this moment, utilize load balancer 218 to carry out conversion (S240) by first Web server, 212 to second Web servers 214.After this, transferred to second Web server 214 from the request of client terminal 222, simultaneously, first Web server 212 is stopped.
Here, receive from second Web server 214 (S242) of some requests of client terminal 222 and obtain authentication ID (S244) from the Cookie of client terminal 222.Then, second Web server 214 is the session management record that key is confirmed session management table 230 with authentication ID, and obtains the storage purpose ground (S246) of unloading data.Next, second Web server 214 obtains from unloading data store 234 and reproduces the required data of this session, simultaneously, obtains from site zone 226 and to be used to generate the master data that service provides picture, and restore session information (S248).Then, second Web server 214 session information that will restore places memory (S250).
Simultaneously, shown in Figure 10 (c), second Web server 214 increases new management accounts (S252) in session management table 230.Employed authentication ID before directly the handing-over server is changed in the authentication ID project of this session management record, but in daily record division project, write down " handing-over ".Date and time when in addition, the record handing-over begins in log date and time project.
Above result is; Even under the situation that the generation Web server replaces in conversation procedure; On the memory of second Web server 214 of taking over session, reproduce the session information that first Web server 212 is kept, even and to client terminal 222 send in the input processes text or to the selection of the options also picture of reproduction of reality.Consequently, the user need not to login once more under the situation of the conversion of not recognizing Web server, just can continue operation (S254).In addition; Under the situation of after this user is with regard to this end operation, nullifying (S256); Shown in Figure 10 (d), in cancelling date and time project, write down the date and time of nullifying (S258), and delete session related data (S260) from the memory of second Web server 214.
Under the situation of this conversation management system 200, need not in the application program of site zone 226, to stipulate to want the coding of the kind of unloading data.In addition; Under the situation of this conversation management system 200; As long as the kind of wanting the unloading data when the website setting table 232 of DB server 216 defines server in advance and replaces so realized the simplification of encoding operation, has the advantage of change setting easily simultaneously.In addition; Under the situation of this conversation management system 200; Before and after server alternately, utilize the user of Web service for hope, need not in the session that is through with for the time being with the Web server that stops, and after converting subsequent use Web server to once more repeat logon handle; So; Compare with the above-mentioned conversation managing method that the existing Web server carries out, can shorten the stopping period of Web service, also have simultaneously not damage and before and after this conversion, utilize the user of Web service or the user convenience property that hope utilizes Web service.
[embodiment 3]
Figure 11 is the overall structure figure of the conversation management system 300 of embodiments of the invention 3.In the structure of the conversation management system 300 of embodiment 3, for the device and the identical symbol of functional mark of identical function being arranged, its explanation is suitably simplified or omitted with the conversation management system 200 of embodiment 2.
In this conversation management system 300; To the session that is assigned to Web server 212,214; The session management program 224A of Web server 212, the session management table 230A of DB server 216 and user DB236A and hardware cooperation; The user conversation directory information that generation is divided by the user location of keeping session is sent to load balancer 218 then.And; The connection management program 218A of load balancer 218 is according to the session directory information of above-mentioned generation; To upgrading with the connection management table 218C that is connected (for example IP address, SSL session id, cookie information etc.) between the client terminal, and Web server 212,214 is carried out the reallocation of session by the load balancer self-management.Below specify.
Through session hypervisor 224A being read control part (not shown) that RAM realizes with reference to user DB236A by CPU; Obtain the operable Web service information of the user who keeps current sessions; Simultaneously, in this user's of the session management table 230A of DB server 216 registration location message or the information suitable (for example nationality's information, use ground domain information etc.) with it.And, generate the session directory information that is dispensed to the session directory information of Web server 212 and is dispensed to Web server 214 based on this registered Web service information and location message etc.
For example, Web server 212 provides Chinese Web webpage and Japanese Web webpage, only need stop under the situation of Chinese Web webpage, receives this user who stops to influence and is inferred for utilizing the user of Chinese Web webpage.Therefore; Web server 212 extracts the location user relevant with China from above-mentioned session management table 230A; To being extracted the employed session information of user; It is removed from the session directory information of the predetermined Web server 212 that carries out part change, be increased to simultaneously in the session directory information of Web server 214.Thus,, Web server 212 can be continued to use with remaining unchanged, simultaneously, other Web services that Web server 212 provides needn't be stopped about not using the user conversation of Chinese Web webpage.In addition, in above-mentioned example,, still, can in session management table 230A, not register these information in advance confirm to extract session behind the user that location message is associated with reference to session management table 230A yet, and directly with reference to user DB236A.In addition, be not only the record location message, connect the IP address information (global ip address information or local ip address information) in source when can also recording conversation beginning, carry out the location through the combination of these information and judge.Like this, can hold the place that the user is connected with Web service more reliably.In addition; On-site method when connecting as the judgement user; Can also carry out NIR (the National Internet Registry: the combination of the location message of being registered among disclosed various countries IP address information and the user DB236A of IP address management based on various countries various countries' internet registry management organization); Confirm the location (for example, be under Japanese user's the situation in the registration location, for the global ip address in the connection source of this session whether by JPNIC (Japan Network Information Center; Japan Internet information center) manages in the also disclosed IP address range that in Japan uses, confirm location message etc.).In addition, except the on-site method of above-mentioned judgement, in fact can also only extract the user session information of visit Chinese Web webpage, and infer the location based on this.
Under the situation of this conversation management system 300; Except the effect that conversation management system 200 is played; During the renewal of the part picture that in the Web service that Web server 212 provides, is comprised; During session management when perhaps in the Web service that offers multilingual zone, carrying out the part change, conversation management system 300 is effective especially.
(modified example)
More than embodiment 1, embodiment 2 and embodiment 3 as one of embodiment of the present invention are illustrated, but the present invention is not limited to the foregoing description.For example, in above-mentioned conversation management system 100, form the structure of a Web server 112 and a DB server 114, but also can be to realize the function that these devices are had by a server unit.In addition, in above-mentioned conversation management system 200,300, form the structure of Web server 212,214 and DB server 114, but also can constitute by 2 DB servers 114 of Web server 212,214 and mirror image (mirroring).
In addition; The main purpose of conversation management system 100 is to improve the only user convenience property of temporary transient interrupt operation; And the main purpose of conversation management system 200,300 is to improve the user convenience property of the conversation that causes because of the periodic maintenance of Web server 212,214 or the replacing of program etc., and wherein any one can constitute the conversation management system with multiple function certainly.
In addition; Session management table 126,230 in the conversation management system 100,200,300,230A are when keeping the user log off of session; The deletion session related data; But, also can be with the storage part of these history data store at Web server 112,212,214 or DB server 114,216, and the application of next explaining.For example; Session management table 126,230 in can dialogue-based management system 100,200,300, the session management record that 230A registered are by the session management program 120,224 of Web server 112,212,214,224A adjustment user's overtime stipulated time of conduct.Thus; With reference to historical data; (the session management record that for example connects once more accounts for 10% when above etc. of whole session managements records) through the prolongation time-out time, can reduce from the reading times of DB server 114,216 when the session management record that connects once more was visible everywhere.In addition; As the session management program of utilizing Web server 112,212,214 120,224, the method for 224A adjustment stipulated time; Can design program, make and to change, perhaps dynamically change with predetermined timing (timing) (for example per 1 hour, per 3 hours etc.).
In addition; The project that the information that can discern Web service is registered can be set in session management table 126,230,230A, thereby can utilize 120, the 224 adjustment overtime stipulated times of each Web service of session management program of Web server 112,212,214.Through monitoring these information; When the session management that connects the once more record of relevant particular Web service is visible everywhere (the session management record that for example connects once more accounts for 10% when above etc. of whole session managements records); Can make the overtime stipulated time of this particular Web service set longlyer, thereby can reduce when connecting once more from the reading times of the unloading data store 130,234 of DB server 114,216 than other Web services.On the other hand; Even (for example take place under the overtime situation that does not also connect this situation once more in the service of from historical data, reading to particular Web; Session management program 120,224 by Web server 112,212,214 signs in to this particular Web service back and overtime session; And judge that the session management record that does not have once more linkage record accounts for 80% with first-class situation) time; Can make this particular Web overtime stipulated time of service set shortlyer, thereby can effectively utilize the storage resources of Web server 112,212,214 than other Web services.
In addition; Can from session management table 126,230 historical data, extract the number of sessions (for example pass by 3 months, 6 months number of sessions etc.) of a plurality of specified time limits; And it is compared; Estimate the appropriate property of the performance (for example the disposal ability of memory capacity, CPU etc.) of current Web server 112,212,214 thus, perhaps prediction number of sessions in the future etc. is to set up.The unfavorable conditions such as operating lag that can the increase because of access times be caused thus prevent trouble before it happens.Consequently, when continuing Web service is provided, can under the situation of not damaging user convenience property, use, so, compare with existing conversation managing method, can improve user convenience property.

Claims (3)

1. a conversation management system has through network and the server that a plurality of client terminals are connected, it is characterized in that,
Said server has:
Session information generation portion, when the login of said client terminal, said session information generation portion generates contains the session management record of session identification sign indicating number, and is recorded in the session management table, simultaneously said session identification sign indicating number is sent to said client terminal;
Session information unloading handling part; After said session identification sign indicating number is sent to said client terminal; When not communicating by letter with said client terminal at the appointed time; Said session information unloading handling part makes this session that is recorded in memory begin the storage part of required data conversion storage to regulation once more, simultaneously, makes unloading destination information and the related line item of going forward side by side of said session management record;
Session information deletion portion is utilizing the unloading of said session information unloading handling part after the said data, and said session information deletion portion is from the said memory deletion data relevant with said session;
Session related information is confirmed portion; At connection request with said session identification sign indicating number when said client terminal sends; Said session related information is confirmed portion with reference to said session management table, confirms that related with this session identification sign indicating number foundation, this session begins the unloading destination information of desired data once more; And
Session information recovery portion with reference to confirmed the said unloading destination information that portion confirms by said session related information, restores this session at said memory and begins required data once more.
2. the described conversation management system of claim 1 is characterized in that,
Have load balancer, said load balancer control will be dispensed to any in a plurality of said servers from the connection request of said client terminal,
The said session information unloading handling part of first server of the origin of an incident out of service of generation regulation in a plurality of said servers; The session that is recorded in said memory is begun the storage part of required data conversion storage to regulation once more; Simultaneously; Make its unloading destination information be associated the line item of going forward side by side with said session management record
In a plurality of said servers as the standby server of said first server and the second server that moves have:
Session related information is confirmed portion; When control through said load balancer; When the said client terminal that communicates from the session identification sign indicating number that utilizes said first server to have sends and handles request; Said session related information is confirmed portion with reference to said session management table, confirms that relevant with this session identification sign indicating number, this session begins the unloading destination information of desired data once more; And
Session information recovery portion with reference to confirmed the said unloading destination information that portion confirms by said session related information, restores this session at said memory and begins required data once more.
3. the described conversation management system of claim 2 is characterized in that,
Said first server maybe can be inferred on-site database of information with reference to the user's who stores the service of representing that said first server of visit provides at least on-site information; Divide according to each location; Generate the user's who distributes to said first server and said second server respectively session directory information, be sent to said load balancer, simultaneously; According to the session directory information that generates, said load balancer is carried out the reallocation of current sessions.
CN2011100810715A 2011-03-25 2011-03-25 Session management system Pending CN102694786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100810715A CN102694786A (en) 2011-03-25 2011-03-25 Session management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100810715A CN102694786A (en) 2011-03-25 2011-03-25 Session management system

Publications (1)

Publication Number Publication Date
CN102694786A true CN102694786A (en) 2012-09-26

Family

ID=46860073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100810715A Pending CN102694786A (en) 2011-03-25 2011-03-25 Session management system

Country Status (1)

Country Link
CN (1) CN102694786A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331155A (en) * 2016-09-26 2017-01-11 联动优势电子商务有限公司 Method for preventing repeated login of user and server
CN107682255A (en) * 2017-11-17 2018-02-09 腾讯科技(深圳)有限公司 Method for message transmission, device and storage medium
CN108270753A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The method and device of logging off users account
CN109983494A (en) * 2016-11-07 2019-07-05 株式会社野村综合研究所 Behavioural information collection system
CN110581888A (en) * 2019-09-06 2019-12-17 北京方研矩行科技有限公司 management method, gateway and system for terminal security session of Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030088677A1 (en) * 2001-11-05 2003-05-08 International Business Machines Corporation Network system, server, client terminal, timeout information providing method, timeout information display method, and programs
CN1852502A (en) * 2006-05-29 2006-10-25 杭州华为三康技术有限公司 Method for realizing load uniform in clustering system, system and storage controller
CN1863061A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Method of automatically recovering of mobile terminal on internet game interrupting and system thereof
CN101296238A (en) * 2008-06-17 2008-10-29 杭州华三通信技术有限公司 Method and equipment for remaining persistency of security socket layer conversation
CN101364930A (en) * 2008-09-24 2009-02-11 深圳市金蝶中间件有限公司 Session control method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030088677A1 (en) * 2001-11-05 2003-05-08 International Business Machines Corporation Network system, server, client terminal, timeout information providing method, timeout information display method, and programs
CN1863061A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Method of automatically recovering of mobile terminal on internet game interrupting and system thereof
CN1852502A (en) * 2006-05-29 2006-10-25 杭州华为三康技术有限公司 Method for realizing load uniform in clustering system, system and storage controller
CN101296238A (en) * 2008-06-17 2008-10-29 杭州华三通信技术有限公司 Method and equipment for remaining persistency of security socket layer conversation
CN101364930A (en) * 2008-09-24 2009-02-11 深圳市金蝶中间件有限公司 Session control method, apparatus and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331155A (en) * 2016-09-26 2017-01-11 联动优势电子商务有限公司 Method for preventing repeated login of user and server
CN106331155B (en) * 2016-09-26 2019-05-07 联动优势电子商务有限公司 A kind of method preventing user's repeat logon and server
CN109983494A (en) * 2016-11-07 2019-07-05 株式会社野村综合研究所 Behavioural information collection system
CN108270753A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The method and device of logging off users account
CN107682255A (en) * 2017-11-17 2018-02-09 腾讯科技(深圳)有限公司 Method for message transmission, device and storage medium
CN107682255B (en) * 2017-11-17 2021-04-16 腾讯科技(深圳)有限公司 Message transmission method, device and storage medium
CN110581888A (en) * 2019-09-06 2019-12-17 北京方研矩行科技有限公司 management method, gateway and system for terminal security session of Internet of things

Similar Documents

Publication Publication Date Title
US11115473B2 (en) Redundant storage gateways
US8639989B1 (en) Methods and apparatus for remote gateway monitoring and diagnostics
US9292374B2 (en) System and method for automatically uploading analysis data for customer support
EP2726975B1 (en) Storage gateway activation process
EP2727001B1 (en) Shadowing storage gateway
CN104615666B (en) Contribute to the client and server of reduction network communication
JP5547478B2 (en) System, method and program for remote data storage of client devices
US20100185875A1 (en) Background service process for local collection of data in an electronic discovery system
US7487219B1 (en) Virtual storage device from multiple online accounts
KR20130131362A (en) Providing transparent failover in a file system
US9203801B1 (en) Storage gateway security model
US10936450B2 (en) High availability and disaster recovery system architecture
CN102694786A (en) Session management system
CN112231654A (en) Operation and maintenance data isolation method and device, electronic equipment and storage medium
US10547633B1 (en) Systems and methods for mapping services utilized by network domains
CN114338684A (en) Energy management system and method
CN101505221B (en) Network guide system and unit storage unit access method
WO2013129529A1 (en) Backup system
JP6636605B1 (en) History monitoring method, monitoring processing device, and monitoring processing program
KR20210019771A (en) Apparatus and method for managing data using blockchain
US20160239231A1 (en) Storage system, storage control device, and computer-readable recording medium
CN109257213B (en) Method and device for judging computer terminal access verification failure
JP2012203618A (en) Session management system
CN205430310U (en) Data storage device
KR102230764B1 (en) Method for storing blockchain based file modification evidence and appratus using the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120926