CN201682522U - Conversation information storage system and application server - Google Patents

Conversation information storage system and application server Download PDF

Info

Publication number
CN201682522U
CN201682522U CN2010201163361U CN201020116336U CN201682522U CN 201682522 U CN201682522 U CN 201682522U CN 2010201163361 U CN2010201163361 U CN 2010201163361U CN 201020116336 U CN201020116336 U CN 201020116336U CN 201682522 U CN201682522 U CN 201682522U
Authority
CN
China
Prior art keywords
session
server
client
application
information
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.)
Expired - Lifetime
Application number
CN2010201163361U
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2010201163361U priority Critical patent/CN201682522U/en
Application granted granted Critical
Publication of CN201682522U publication Critical patent/CN201682522U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Abstract

An embodiment of the application discloses a conversation information storage system and an application server, the system comprises a client, the application server and a cache server, and the application server is used to receive an application access request sent by the client after building conversation connection with the client, and transmit conversation information generated by the client according to application access under conversation connection to the cache server; and the cache server is used to store the conversation information after receiving the conversation information transmitted by the application server. In the embodiment of the application, because the conversation information is stored in the cache server independent of the application server, instead of the storage through client COOKIE, the storage space is unrestricted, and the use of COOKIE by a client browser is also not limited, and the embodiment can be applied to large network systems with more conversation information, and can realize mass storage and maintenance of the conversation information by the server side.

Description

Session information storage system and application server
Technical field
The application relates to field of computer technology, relates in particular to a kind of session information storage system and application server.
Background technology
In a large-scale network system, may comprise multiple application, every kind of application is carried by at least one application server, with the Taobao is example, use comprising multiple WEB such as login application, commodity details inquiry application, transaction application, client by with these application servers between the SESSION (session) that sets up be connected, carry out application operating.Above-mentioned client and server set up that SESSION is connected and mutual process in all session informations of producing can be stored in the application server, but because application server occurs in the mode of cluster usually in the large-scale network system, be to comprise many application servers in the application cluster, and all may be at random during the client-access different application with application cluster in a certain application server connect, in order to guarantee to connect with which platform application server, can search the session information that this client is produced in a preceding access application process, these session informations all need to be synchronized to each application server in the cluster, such synchronizing process will expend the plenty of time, and occur timing error easily, and the efficient of retrieval session information is not high yet under the numerous situation of client.
Prior art is in order to overcome the defective of storage SESSION information in application server, the SESSION information of each client can be write client COOKIE, and by client COOKIE is stored in self browser, each application server can read SESSION information this COOKIE from client.Invention utility model people finds in to the research of prior art and practice process, owing to all can comprise COOKIE in the request of application access each time of client, therefore for the catenet system, just need store more information by COOKIE, but because each client browser has certain restriction to the sum of COOKIE and size, therefore work as SESSION information more for a long time, adopt COOKIE will cause storing the failure of SESSION information; For the browser of forbidding COOKIE, can't realize storage especially to SESSION information.
The utility model content
The purpose of the embodiment of the present application provides a kind of session information storage system and application server, adopts COOKIE storage SESSION information in the existing system to solve, and causes storing the problem of failure when amount of information is big.
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of session information storage system, is achieved in that
A kind of session information storage system comprises client, application server and caching server,
Described application server after being used for setting up session connection with described client, receives the application access request that described client sends, and described client is transferred to caching server according to the session information that described application access produces under described session connection;
Described caching server after being used to receive the session information of described application server transmission, is stored described session information.
For solving the problems of the technologies described above, the embodiment of the present application also provides a kind of application server, is achieved in that
A kind of application server comprises:
Receiving element after being used for setting up session connection with client, receives the application access request that described client sends;
Transmission unit is used for that the session information that described client produces according to described application access is transferred to caching server and stores under described session connection.
As seen, after application server and client are set up session connection in the embodiment of the present application, receive the application access request that client sends, application server produces client under this session connection according to application access session information transfers to caching server and stores.Since the embodiment of the present application with the session information stores in being independent of the caching server of application server, rather than store by client COOKIE, therefore the space of storage is unrestricted, and the restriction that not COOKIE is used by client browser, can be applied to the more catenet system of session information, realize mass memory and the maintenance of server side session information.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the first example structure figure of the application's session information storage system;
Fig. 2 is for using the flow chart that the application first embodiment of system carries out the session information storage;
Fig. 3 is the second example structure figure of the application's session information storage system;
Fig. 4 is for using the flow chart that the application second embodiment of system carries out the session information storage;
Fig. 5 is for using another flow chart that the application second embodiment of system carries out the session information storage;
Fig. 6 is the first example structure figure of the application's application server;
Fig. 7 is the second example structure figure of the application's application server;
Fig. 8 is the 3rd example structure figure of the application's application server.
Embodiment
The embodiment of the present application provides a kind of session information storage system and application server.
In order to make those skilled in the art person understand technical scheme in the embodiment of the present application better, and the above-mentioned purpose of the embodiment of the present application, feature and advantage can be become apparent more, below in conjunction with accompanying drawing technical scheme in the embodiment of the present application is described in further detail.
Referring to Fig. 1, be the first example structure figure of the application's session information storage system, this system comprises: client 110, application server 420 and caching server 430.
Wherein, described application server 420, after being used for setting up session connection, receive the application access request that described client 410 sends, and described client 410 is transferred to caching server 430 according to the session information that described application access produces under described session connection with described client 410;
Described caching server 430 after being used to receive the session information of described application server 420 transmission, is stored described session information.
Referring to Fig. 2, for using the flow chart that the application first embodiment of system carries out the session information storage:
Step 201: after application server and client are set up session connection, receive the application access request that client sends.
In network application, the SESSION session connection that application server and client are set up typically refers to the user when browsing certain website by client browser, from enter the website to browser close process during this period of time, the time of also just browsing this website and being spent, the process that browses web sites, the just process that application-specific system in website is conducted interviews.After application server and client have been set up SESSION and have been connected, client need send the application access request to application server when certain application-specific of visit, with the Taobao is example, when browsing commodity, corresponding to sent the application access request of browsing commodity to application server by the client click.
Step 202: application server produces client under session connection according to application access session information transfers to caching server and stores, and finishes current flow process.
In the prior art, to be stored in application server itself according to the session information that application access produces will cause the application server in the cluster to expend the plenty of time synchronously and timing error occurs, and with the session information stores in being independent of the caching server of application server, need not to carry out synchronously, all application servers in the application cluster are all communicated by letter with this caching server and can be obtained the session information that needs; In addition, the capacity of caching server can constantly expand as required, has also overcome in the prior art the defective of session information stores in client COOKIE.
Referring to Fig. 3, the second example structure figure of the application's session information storage system, this system comprises: configuration server 310, application server 320, caching server 330 and client 340.
Wherein, described configuration server 310 is used for after described application server 320 is subscribed to the configuration information of session information in advance, and the configuration information after upgrading described configuration information after the described renewal of propelling movement is to described application server 320;
Described application server 320, be used for replacing original configuration information according to the configuration information after the described renewal, and after being used for setting up session connection with described client 340, receive the application access request that comprises client 340COOKIE that client 340 sends, the configuration information that query configuration server 310 pushes, when the indication of described configuration information is stored in described session information described application server 320, described session information is stored in the described application server 320 according to described session identification, when described configuration information indication is stored in described session information among the described COOKIE, described session information is write described COOKIE, and return described COOKIE to described client 340, when the indication of described configuration information is stored in caching server 330 with described session information, with the session message transmission to caching server 330.
Described caching server 330 after being used to receive the session information of described application server 320 transmission, is stored described session information.
Described client 340 is used to store the described COOKIE that has write session information that described application server 320 returns.
Further, described application server 320, also be used for when receive that described client 330 sends visit the request of described application server 320 first the time, be that described client 330 is created described sessions, and be the unique session identification of described session distribution.
Concrete, described application server 320 is used to receive the application access request that comprises described session identification that described client 340 sends, and described client 340 is transferred to caching server 330 according to the session information of described application access generation and the corresponding relation of described session identification under described session connection.
Further, described application server 320, when also being used to receive read operation request that described client 340 sends or write operation requests, obtain the session information of described client 540 from described caching server 330 according to session identification, according to described configuration information described session information is made amendment, and the corresponding relation of described amended session information and session identification is returned described caching server 530 store.
Further, described caching server 330 can specifically comprise: acquiescence caching server 331 and at least one backup caching server 332 (only illustrating among Fig. 3).Application server 320, the corresponding relation synchronous transmission that specifically is used for session information that described client 340 is produced according to described application access and session identification under described session connection is described acquiescence caching server 331 and described backup caching server 332 extremely.
Further, application server 320, also with when judging that according to the counter that sets in advance the number of times that obtains the session information failure from described acquiescence caching server 331 is during above the threshold value that sets in advance, obtain the session information of described client 340 from described acquiescence caching server 331 according to session identification, when surpassing the described threshold value that sets in advance, obtain the session information of described client 340 from described backup caching server 332 according to session identification.
Referring to Fig. 4, for using the flow chart that the application second embodiment of system carries out the session information storage, this embodiment shows in detail the detailed process that application server is stored session information according to the configuration information selection of configuration server:
Step 401: application server receives that client sends when visiting the request of this application server first, is that this client is created a session.
Client access application server first is often referred to client and logins first and browse certain website, for example, when client is browsed Taobao first, the application server of Taobao is created a SESSION for this client, and subsequent client all belongs to this SESSION in the process of the various application of each webpage of browsing Taobao or visit Taobao.
Step 402: application server distributes unique session identification for this session.
Application server is in order to discern each client, and usually in client access application server first, and to create a SESSION for this client be for this session distributes unique SESSION ID, to be used to discern this SESSION.
Step 403: set up between application server and the client and the maintenance session connection.
Step 404: judge whether to receive the application access request that comprises session identification and client COOKIE that client sends, if then execution in step 405; Otherwise, return step 403.
Step 405: the configuration information of application server query configuration server push.
Pre-configured and preserved the configuration information that various all application servers of network system are shared in the configuration server, when certain application server need receive the configuration information of configuration server propelling movement, send subscribe message to this configuration server, after having upgraded configuration information in the convenient configuration server, can correspondingly be pushed in these application servers, configuration information after the renewal that application server reception configuration server pushes, replace original configuration information according to the configuration information after upgrading, when configuration information is issued with the form of version, can replace original version with the version after upgrading.
Configuration information is so long as some control category informations, for example, the storage mode of the SESSION information that is applied in the embodiment of the present application, in addition, the attribute that also can comprise the SESSION information of needs storage, comprise term of validity, encryption and decryption setting, coded format of SESSION information etc., application server is loaded into configuration information in the internal memory, and according to the indication of configuration information SESSION information is operated.
Step 406: judge the storage means of configuration information indication, when configuration information indication session information is stored in application server, execution in step 408; When configuration information is indicated the session information stores in COOKIE, execution in step 409; When configuration information indication with the session information stores during at caching server, execution in step 407.
Step 407: application server produces client under session connection according to application access the session information and the corresponding relation of session identification transfer to caching server and store, and finish current flow process.
Step 408: application server is stored in session information in the application server according to session identification, finishes current flow process.
Pass through the indication of the configuration information of configuration server in the embodiment of the present application, still SESSION information that can a part of security requirement is higher is kept in the application server according to the mode of prior art, this moment, SESSION information was stored according to the SESSION sign, also realized during these SESSION information of subsequent query getting final product in application server.
Step 409: application server writes COOKIE with session information, and returns COOKIE and store to client, finishes current flow process.
Client is carried out in the mutual process under SESSION is connected with application server, the client-access application server carries out different application operatings, Website login for example, browse merchandise news etc., the interactive information that these application operatings generate all belongs to the SESSION information of this SESSION, each SESSION information is also referred to as SESSION KEY (conversation key), for example, the IP address of visit, the time of visit etc., each SESSION KEY also has its property value separately, comprises whether encrypting, employed storage mode etc.Application server all is written to the SESSION information that the each application access of client is produced among the COOKIE of this client, and this COOKIE is sent it back client, by client this COOKIE is stored in the client browser.When application server need obtain SESSION information, can from the browser of client, obtain this COOKIE, and therefrom read corresponding SESSION information.
Hence one can see that, the embodiment of the present application can also can be stored in the application server with the SESSION information stores in client COOKIE by the controlled function of configuration server, perhaps be stored in the independent caching server, improved the flexibility of SESSION information stores thus.
Referring to Fig. 5, for using another flow chart that the application second embodiment of system carries out the session information storage, this embodiment shows in detail the process by the read-write operation of coordinating between backup caching server and the acquiescence caching server session information is carried out:
Step 501: set in advance acquiescence caching server and at least one backup caching server.
The purpose that sets in advance acquiescence caching server and at least one backup caching server in the embodiment of the present application is to realize the storage of the SESSION information of disaster tolerance function.Owing to may all be stored in all session informations in the caching server in the embodiment of the present application, if and have only a caching server in the system, when this caching server breaks down, to cause whole system to be paralysed because of obtaining SESSION information, therefore an acquiescence caching server can be set, be used for SESSION is provided information under normal conditions, and preserve in the backup caching server with give tacit consent to caching server in consistent information, when the acquiescence caching server breaks down, can back up and obtain SESSION information in the caching server, thus the normal operation of assurance system when the acquiescence caching server breaks down.
Step 502: application server is subscribed to the configuration information of session information in advance to configuration server.
Pre-configured and preserved the configuration information that various all application servers of network system are shared in the configuration server, when certain application server need receive the configuration information of configuration server propelling movement, send subscribe message to this configuration server, after having upgraded configuration information in the convenient configuration server, can correspondingly be pushed in these application servers.In an application cluster that comprises a plurality of application servers, configuration server can be pushed to configuration information in these application servers by the mode of broadcasting.
Step 503: application server receives the configuration information after configuration server upgrades the renewal that pushes behind the configuration information.
Configuration information after the renewal that application server reception configuration server pushes, replace original configuration information according to the configuration information after upgrading, when configuration information is issued with the form of version, can replace original version with the version after upgrading, configuration information is loaded in the internal memory of application server usually, and application server is operated SESSION information according to the indication of configuration information.
Step 504: replace original configuration information according to the configuration information after upgrading.
Step 505: after application server and client are set up session connection, receive the application access request that comprises session identification that client sends.
Step 506: application server produces client under session connection according to application access session information and the corresponding relation synchronous transmission of session identification are to giving tacit consent to caching server and backing up caching server.
In the embodiment of the present application, each SESSION connects and has distributed unique SESSION sign, when therefore in caching server, preserving SESSION information, also store, so that when follow-up searching, get access to corresponding SESSION information according to this SESSION sign according to the index relative of SESSION sign.
In addition, based on the Disaster Tolerant Scheme of the embodiment of the present application, each SESSION information that generates all will be transferred to the acquiescence caching server simultaneously and back up caching server and store.
Step 507: judge whether to receive read operation request or write operation requests, if then execution in step 508; Otherwise, finish current flow process.
Step 508: whether surpass threshold value according to the counter judgement that sets in advance from the number of times that the acquiescence caching server obtains the session information failure, if then execution in step 509; Otherwise, execution in step 511.
In the embodiment of the present application, the client of setting up simultaneously with the application server in the application cluster that SESSION is connected and carrying out application access has a plurality of, for example for large-scale website system as the Taobao, at synchronization, have ten hundreds of clients and need obtain the SESSION information of acquiescence caching server stored by application server, therefore in order to prevent when the acquiescence caching server breaks down, application server also reads SESSION information from this acquiescence caching server continually, can set in advance threshold value, for example, this threshold value is set to 1000 times, when promptly the number of times that obtains SESSION information failure from the acquiescence caching server when the application server in the cluster reaches 1000 times, switch to from the backup caching server and obtain SESSION information.
Step 509: application server obtains client-side session information according to session identification from the backup caching server.
Step 510: according to configuration information session information is made amendment, and the corresponding relation of amended session information and session identification is returned the backup caching server store, finish current flow process.
Step 511: application server obtains client-side session information according to session identification from the acquiescence caching server.
Step 512: according to configuration information session information is made amendment, and the corresponding relation of amended session information and session identification returned the acquiescence caching server and the backup caching server is stored, finish current flow process.
Referring to Fig. 6, be the first embodiment block diagram of the application's application server.
This application server comprises: receiving element 610 and transmission unit 620.
Wherein, receiving element 610 after being used for setting up session connection with client, receives the application access request that described client sends;
Transmission unit 620 is used for that the session information that described client produces according to described application access is transferred to caching server and stores under described session connection.
Referring to Fig. 7, be the second embodiment block diagram of the application's application server.
This application server comprises: creating unit 700, allocation units 710, subscriber units 720, receiving element 730, replacement unit 740, query unit 750, judging unit 760, performance element 770, transmission unit 780.
Wherein, creating unit 700, be used for when receive that described client sends visit the request of described application server first the time, for described client is created described session;
Allocation units 710 are used to described session to distribute unique session identification;
Subscriber units 720 is used in advance subscribing to configuration server the configuration information of session information;
Receiving element 730 is used to receive the configuration information after described configuration server upgrades the renewal that pushes behind the described configuration information;
Replace unit 740, be used for replacing original configuration information according to the configuration information after the described renewal;
Receiving element 730 also is used to receive the application access request of the COOKIE that comprises described session identification and client that described client sends;
Query unit 750, after being used for described receiving element 730 and receiving the application access request that described client sends, the configuration information of query configuration server push;
Judging unit 760 is used for judging the storage mode that configuration information is indicated according to described configuration information;
Performance element 770 is used for when described configuration information indication is stored in described application server with described session information described session information being stored in the described application server according to described session identification; When described configuration information indication is stored in described session information among the described COOKIE, described session information is write described COOKIE, and return described COOKIE to described client; When described configuration information indication is stored in caching server with described session information, triggers described transmission unit 780 and carry out transfer function;
Transmission unit 780, the corresponding relation that is used for session information that described client is produced according to described application access and described session identification under described session connection transfers to caching server and stores.
Referring to Fig. 8, be the 3rd embodiment block diagram of the application's application server.
This application server comprises: default unit 800, creating unit 810, allocation units 820, subscriber units 830, receiving element 840, replacement unit 850, transmission unit 860, threshold decision unit 870 and read-write operation unit 880.
Default unit 800 is used to set in advance described acquiescence caching server and at least one backup caching server;
Creating unit 810, be used for when receive that described client sends visit the request of described application server first the time, for described client is created described session;
Allocation units 820 are used to described session to distribute unique session identification;
Subscriber units 830 is used in advance subscribing to configuration server the configuration information of session information;
Receiving element 840 is used to receive the configuration information after described configuration server upgrades the renewal that pushes behind the described configuration information;
Replace unit 850, be used for replacing original configuration information according to the configuration information after the described renewal.
Receiving element 840 also is used to receive the application access request that comprises described session identification that described client sends;
Transmission unit 860, the corresponding relation synchronous transmission that is used for session information that described client is produced according to described application access and session identification under described session connection is described acquiescence caching server and described backup caching server extremely;
Threshold decision unit 870, when being used for read-write operation unit 880 and receiving read operation request that described client sends or write operation requests, judge according to the counter that sets in advance whether the number of times that obtains the session information failure from described acquiescence caching server surpasses threshold value;
Read-write operation unit 880, be used for when described threshold decision unit 870 is judged not above threshold value, obtain described client-side session information according to session identification from described acquiescence caching server, according to described configuration information described session information is made amendment, and the corresponding relation of described amended session information and session identification returned described acquiescence caching server and the backup caching server is stored; When described threshold decision unit 870 is judged above threshold value, obtain described client-side session information according to session identification from described backup caching server, according to described configuration information described session information is made amendment, and the corresponding relation of described amended session information and session identification is returned described backup caching server store.
As seen through the above description of the embodiments, after application server and client are set up session connection in the embodiment of the present application, receive the application access request that client sends, application server produces client under this session connection according to application access session information transfers to caching server and stores.Since the embodiment of the present application with the session information stores in being independent of the caching server of application server, rather than store by client COOKIE, therefore the space of storage is unrestricted, and the restriction that not COOKIE is used by client browser, can be applied to the more catenet system of session information, realize mass memory and the maintenance of server side session information.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.Especially, for system embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
The application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment or the like.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment (DCE), put into practice the application, in these distributed computing environment (DCE), by by communication network connected teleprocessing equipment execute the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Though described the application by embodiment, those of ordinary skills know, the application has many distortion and variation and the spirit that do not break away from the application, wish that appended claim comprises these distortion and variation and the spirit that do not break away from the application.

Claims (13)

1. a session information storage system is characterized in that, comprises client, application server and caching server,
Described application server after being used for setting up session connection with described client, receives the application access request that described client sends, and described client is transferred to caching server according to the session information that described application access produces under described session connection;
Described caching server after being used to receive the session information of described application server transmission, is stored described session information.
2. system according to claim 1 is characterized in that,
Described application server, also be used for when receive that described client sends visit the request of described application server first the time, for described client is created described session, and be the unique session identification of described session distribution;
Described application server, specifically be used to receive the application access request that comprises described session identification that described client sends, and described client is transferred to caching server according to the session information of described application access generation and the corresponding relation of described session identification under described session connection.
3. system according to claim 2 is characterized in that, described system also comprises: configuration server,
Described configuration server is used for after described application server is subscribed to the configuration information of session information in advance, and the configuration information after upgrading described configuration information after the described renewal of propelling movement is to described application server;
Described application server, also be used for replacing original configuration information according to the configuration information after the described renewal, and after receiving the application access request that comprises client COOKIE, the configuration information of query configuration server push, when described configuration information indication is stored in described application server with described session information, described session information is stored in the described application server according to described session identification, when described configuration information indication is stored in described session information among the described COOKIE, described session information is write described COOKIE, and return described COOKIE to described client, when described configuration information indication is stored in caching server with described session information, carry out described with the function of session message transmission to caching server.
4. system according to claim 3, it is characterized in that, described application server, when also being used to receive read operation request that described client sends or write operation requests, obtain described client-side session information according to session identification from described caching server, according to described configuration information described session information is made amendment, and the corresponding relation of described amended session information and session identification is returned described caching server store.
5. system according to claim 4 is characterized in that, described caching server comprises: acquiescence caching server and at least one backup caching server;
Described application server, the corresponding relation synchronous transmission that specifically is used for session information that described client is produced according to described application access and session identification under described session connection is described acquiescence caching server and described backup caching server extremely.
6. system according to claim 5 is characterized in that,
Described application server, also be used for when judging that according to the counter that sets in advance the number of times that obtains the session information failure from described acquiescence caching server surpasses the threshold value that sets in advance, obtain described client-side session information according to session identification from described acquiescence caching server, when surpassing the described threshold value that sets in advance, obtain described client-side session information from described backup caching server according to session identification.
7. an application server is characterized in that, comprising:
Receiving element after being used for setting up session connection with client, receives the application access request that described client sends;
Transmission unit is used for that the session information that described client produces according to described application access is transferred to caching server and stores under described session connection.
8. server according to claim 7 is characterized in that, also comprises:
Creating unit, be used for when receive that described client sends visit the request of described application server first the time, for described client is created described session;
Allocation units are used to described session to distribute unique session identification;
Described receiving element specifically is used to receive the application access request that comprises described session identification that described client sends;
Described transmission unit, the corresponding relation that specifically is used for session information that described client is produced according to described application access and described session identification under described session connection transfers to caching server and stores.
9. server according to claim 8 is characterized in that, also comprises:
Subscriber units is used in advance subscribing to configuration server the configuration information of session information;
Described receiving element also is used to receive the configuration information after described configuration server upgrades the renewal that pushes behind the described configuration information;
Replace the unit, be used for replacing original configuration information according to the configuration information after the described renewal.
10. server according to claim 9 is characterized in that, also comprises the COOKIE of described client in the application access request that described receiving element receives, and described server also comprises:
Query unit, after being used for described receiving element and receiving the application access request that described client sends, the configuration information of query configuration server push;
Judging unit is used for judging the storage mode that configuration information is indicated according to described configuration information;
Performance element is used for when described configuration information indication is stored in described application server with described session information described session information being stored in the described application server according to described session identification; When described configuration information indication is stored in described session information among the described COOKIE, described session information is write described COOKIE, and return described COOKIE to described client; When described configuration information indication is stored in caching server with described session information, triggers described transmission unit and carry out transfer function.
11. server according to claim 7 is characterized in that, also comprises:
The read-write operation unit, when being used to receive read operation request that described client sends or write operation requests, obtain described client-side session information according to session identification from described caching server, according to described configuration information described session information is made amendment, and the corresponding relation of described amended session information and session identification is returned described caching server store.
12. server according to claim 11 is characterized in that, also comprises:
Default unit is used to set in advance described caching server and is the acquiescence caching server, and backs up caching server for described acquiescence caching server disposes at least one;
Described transmission unit, the corresponding relation synchronous transmission that specifically is used for session information that described client is produced according to described application access and session identification under described session connection is described acquiescence caching server and described backup caching server extremely.
13. server according to claim 12 is characterized in that, also comprises:
The threshold decision unit is used for whether surpassing threshold value according to the counter judgement that sets in advance from the number of times that described acquiescence caching server obtains the session information failure;
Described read-write operation unit, specifically be used for when described threshold decision unit judges does not surpass threshold value, obtain described client-side session information according to session identification from described acquiescence caching server, when described threshold decision unit judges surpasses threshold value, obtain described client-side session information from described backup caching server according to session identification.
CN2010201163361U 2010-02-08 2010-02-08 Conversation information storage system and application server Expired - Lifetime CN201682522U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010201163361U CN201682522U (en) 2010-02-08 2010-02-08 Conversation information storage system and application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010201163361U CN201682522U (en) 2010-02-08 2010-02-08 Conversation information storage system and application server

Publications (1)

Publication Number Publication Date
CN201682522U true CN201682522U (en) 2010-12-22

Family

ID=43347555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010201163361U Expired - Lifetime CN201682522U (en) 2010-02-08 2010-02-08 Conversation information storage system and application server

Country Status (1)

Country Link
CN (1) CN201682522U (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104607A (en) * 2011-03-10 2011-06-22 易程(苏州)软件股份有限公司 Method, device and system for controlling safety of service access
CN102571575A (en) * 2011-12-29 2012-07-11 奇智软件(北京)有限公司 Session information creation method, device and system
CN102752323A (en) * 2011-04-18 2012-10-24 阿里巴巴集团控股有限公司 System and method for distributed session service
CN103095859A (en) * 2011-11-04 2013-05-08 阿里巴巴集团控股有限公司 Multi-domain-name dialogue information sharing method and system
CN103139714A (en) * 2011-11-30 2013-06-05 鼎桥通信技术有限公司 Method, system and switch of dynamic restructuring in cluster system
CN103389986A (en) * 2012-05-09 2013-11-13 阿里巴巴集团控股有限公司 Method, device and system for storing and searching Session information
CN103428171A (en) * 2012-05-17 2013-12-04 阿里巴巴集团控股有限公司 Session processing method, application server and system
CN103491057A (en) * 2012-06-12 2014-01-01 深圳中兴网信科技有限公司 Method, system and device for sharing session data
CN104683361A (en) * 2015-03-30 2015-06-03 郑州悉知信息技术有限公司 Network session storage method, and network access method and device
CN104735098A (en) * 2013-12-18 2015-06-24 青岛海尔空调器有限总公司 Session information control method and system
CN105141676A (en) * 2015-08-11 2015-12-09 北京思特奇信息技术股份有限公司 Session persistence sharing method and session persistence sharing system under multiple servers
CN105338095A (en) * 2015-11-17 2016-02-17 中国建设银行股份有限公司 Conversation data processing method and device
CN105357222A (en) * 2015-11-27 2016-02-24 国网信息通信产业集团有限公司 Distributed Session management middleware
CN105812313A (en) * 2014-12-29 2016-07-27 阿里巴巴集团控股有限公司 Method and server for restoring session, and method and server for generating session credential
CN106209407A (en) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 Conversate the method and apparatus backed up
CN106357778A (en) * 2016-09-27 2017-01-25 山东浪潮商用***有限公司 Session information sharing method, device and system
CN106713391A (en) * 2015-11-13 2017-05-24 北京新媒传信科技有限公司 Session information sharing method and sharing system
CN107317831A (en) * 2016-04-27 2017-11-03 上海炬宏信息技术有限公司 Website access method based on memory database
CN108306928A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 Session management methods, web server and computer readable storage medium
CN108347449A (en) * 2017-01-23 2018-07-31 阿里巴巴集团控股有限公司 A kind of method and apparatus of management Telnet
CN108924266A (en) * 2018-08-24 2018-11-30 郑州云海信息技术有限公司 A kind of client request separation management method and device based on distributed file system
CN109150936A (en) * 2017-06-19 2019-01-04 北京宝兰德软件股份有限公司 The sharing method and device of session object Session in a kind of distributed type assemblies
WO2019019670A1 (en) * 2017-07-24 2019-01-31 深圳壹账通智能科技有限公司 Application accessing method and device, computer apparatus, and storage medium
CN109525620A (en) * 2017-09-20 2019-03-26 中移(杭州)信息技术有限公司 A kind of message push system, method and device
CN111385358A (en) * 2020-03-04 2020-07-07 海南金盘智能科技股份有限公司 Synchronization method and device of session control object and server

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104607A (en) * 2011-03-10 2011-06-22 易程(苏州)软件股份有限公司 Method, device and system for controlling safety of service access
CN102752323B (en) * 2011-04-18 2015-07-01 阿里巴巴集团控股有限公司 System and method for distributed session service
CN102752323A (en) * 2011-04-18 2012-10-24 阿里巴巴集团控股有限公司 System and method for distributed session service
CN103095859A (en) * 2011-11-04 2013-05-08 阿里巴巴集团控股有限公司 Multi-domain-name dialogue information sharing method and system
CN103095859B (en) * 2011-11-04 2016-01-06 阿里巴巴集团控股有限公司 Multiple domain name session information shares method and system
CN103139714A (en) * 2011-11-30 2013-06-05 鼎桥通信技术有限公司 Method, system and switch of dynamic restructuring in cluster system
CN102571575A (en) * 2011-12-29 2012-07-11 奇智软件(北京)有限公司 Session information creation method, device and system
CN103389986A (en) * 2012-05-09 2013-11-13 阿里巴巴集团控股有限公司 Method, device and system for storing and searching Session information
CN103389986B (en) * 2012-05-09 2016-08-24 阿里巴巴集团控股有限公司 Storage, the lookup method of session Session information, Apparatus and system
CN103428171A (en) * 2012-05-17 2013-12-04 阿里巴巴集团控股有限公司 Session processing method, application server and system
CN103491057A (en) * 2012-06-12 2014-01-01 深圳中兴网信科技有限公司 Method, system and device for sharing session data
CN104735098A (en) * 2013-12-18 2015-06-24 青岛海尔空调器有限总公司 Session information control method and system
CN104735098B (en) * 2013-12-18 2018-05-08 青岛海尔空调器有限总公司 The control method and control system of session information
CN105812313B (en) * 2014-12-29 2019-12-27 阿里巴巴集团控股有限公司 Method and server for recovering session and method and device for generating session certificate
CN105812313A (en) * 2014-12-29 2016-07-27 阿里巴巴集团控股有限公司 Method and server for restoring session, and method and server for generating session credential
CN104683361A (en) * 2015-03-30 2015-06-03 郑州悉知信息技术有限公司 Network session storage method, and network access method and device
CN106209407A (en) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 Conversate the method and apparatus backed up
CN106209407B (en) * 2015-05-07 2020-03-10 阿里巴巴集团控股有限公司 Method and equipment for session backup
CN105141676A (en) * 2015-08-11 2015-12-09 北京思特奇信息技术股份有限公司 Session persistence sharing method and session persistence sharing system under multiple servers
CN106713391B (en) * 2015-11-13 2019-12-27 北京新媒传信科技有限公司 Session information sharing method and sharing system
CN106713391A (en) * 2015-11-13 2017-05-24 北京新媒传信科技有限公司 Session information sharing method and sharing system
CN105338095A (en) * 2015-11-17 2016-02-17 中国建设银行股份有限公司 Conversation data processing method and device
CN105357222A (en) * 2015-11-27 2016-02-24 国网信息通信产业集团有限公司 Distributed Session management middleware
CN107317831A (en) * 2016-04-27 2017-11-03 上海炬宏信息技术有限公司 Website access method based on memory database
CN106357778A (en) * 2016-09-27 2017-01-25 山东浪潮商用***有限公司 Session information sharing method, device and system
CN108347449A (en) * 2017-01-23 2018-07-31 阿里巴巴集团控股有限公司 A kind of method and apparatus of management Telnet
CN108347449B (en) * 2017-01-23 2021-05-07 阿里巴巴集团控股有限公司 Method and equipment for managing remote login
CN109150936A (en) * 2017-06-19 2019-01-04 北京宝兰德软件股份有限公司 The sharing method and device of session object Session in a kind of distributed type assemblies
WO2019019670A1 (en) * 2017-07-24 2019-01-31 深圳壹账通智能科技有限公司 Application accessing method and device, computer apparatus, and storage medium
CN109525620A (en) * 2017-09-20 2019-03-26 中移(杭州)信息技术有限公司 A kind of message push system, method and device
CN109525620B (en) * 2017-09-20 2021-11-16 中移(杭州)信息技术有限公司 Message pushing system, method and device
CN108306928A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 Session management methods, web server and computer readable storage medium
CN108924266A (en) * 2018-08-24 2018-11-30 郑州云海信息技术有限公司 A kind of client request separation management method and device based on distributed file system
CN111385358A (en) * 2020-03-04 2020-07-07 海南金盘智能科技股份有限公司 Synchronization method and device of session control object and server

Similar Documents

Publication Publication Date Title
CN201682522U (en) Conversation information storage system and application server
CN102349062B (en) Method and system for synchronizing browser caches across devices and web services
CN101997823B (en) Distributed file system and data access method thereof
CN106649349B (en) Data caching method, device and system for game application
JP6053787B2 (en) Collect transaction data associated with a locally stored data file
CN102882974B (en) Method for saving website access resource by website identification version number
US20090125526A1 (en) System and method for providing automated non-volatile offline access to relational data
CN102843436B (en) A kind of device management method, equipment, server and system
CN103812849A (en) Local cache updating method and system, client and server
CN102722405B (en) Counting method and system in high concurrent and multithreaded application
CN102664909A (en) Re-establishing push notification channels via user identifiers
CN102449628A (en) Architectural pattern for persistent web application design
CN107665303A (en) By sandbox from retrieved web content
CN102449602A (en) System and method for reducing startup cost of a software application
CN101854399A (en) Method and device for aggregating network data
CN107656937B (en) Method and device for realizing consistency of read-write data
CN101488924B (en) Metadata modification method and metadata server
CN104252466A (en) Stream computing processing method, equipment and system
CN102510384A (en) Personal data sharing interactive processing method and server
CN103336815A (en) System and method of pushing network advertising
CN106301865A (en) It is applied to data processing method and the equipment of service providing device
CN110740155B (en) Request processing method and device in distributed system
CN106446075A (en) Page request processing method and apparatus
CN106254417A (en) Data cache method, Apparatus and system
CN112256676A (en) Method, device, equipment and medium for migrating database

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20101222