Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Session information sharing method and sharing system

A signal and cache server technology, applied in the field of Internet communication, can solve the problems of increased workload, inability to write multicast messages, low efficiency, etc., to ensure consistency and achieve the effect of efficient synchronization and sharing

Active Publication Date: 2017-05-24
BEIJING FEINNO COMM TECH
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The disadvantage is: the stored data cannot be too much, and the safety factor is low
[0011] The disadvantages are: the performance drops sharply with the increase of servers, it is easy to cause broadcast storms, and the session data needs to be serialized, which will affect the performance; in addition, when the local multicast cache of an application is full, it is impossible to write new ones. Multicast messages, so that session synchronization cannot be completed
[0014] The disadvantage is that the program needs to be customized to complete the development of the operation of the business layer and the persistence layer. Since each request needs to read and write the database, the system overhead is relatively large
[0017] The disadvantages are: the program needs to be customized, which increases the workload, and the object data stored in the cache needs to be serialized, which is inefficient; and when the cache server is down, all sessions will be lost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Session information sharing method and sharing system
  • Session information sharing method and sharing system
  • Session information sharing method and sharing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] figure 1 The flow chart of the session information sharing method provided by this embodiment, such as figure 1 as shown, figure 1 The methods in include:

[0074] S110. Set up a session center controller between the cluster application server and the cache server group, where session information is stored in the cache server group.

[0075] S120. Configure each cluster application server, so that when the cluster application server receives the http request sent by the client, it forwards the http request to the session central controller. For example, configure the session information storage address of each cluster application server so that the session information storage address points to the session central controller. When the cluster application server receives the http request sent by the client, it can transfer the http request according to the session information storage address. Give the session central controller.

[0076] In this step, the cluster appl...

Embodiment 2

[0103] Based on the same technical solution as the first embodiment, this embodiment provides a session information sharing system.

[0104] figure 2 A schematic diagram of the composition and structure of the session information sharing system provided by this embodiment, such as figure 2 as shown, figure 2 The system in includes cluster application server, session center controller and cache server group.

[0105] The cluster application server is used to transfer the http request to the session central controller when receiving the http request sent by the client;

[0106] Cache server group for storing session information;

[0107] The session center controller is used to receive the http request transferred by any cluster application server, manage the session information stored in the cache server group according to the http request, and manage the transfer of session information, so as to realize the cluster application server and the cache server group Sharing o...

Embodiment 3

[0124] This implementation is used to specifically illustrate the specific work flow of the session information sharing system in the second embodiment.

[0125] image 3 It is the workflow diagram of the server in the session information sharing system, such as image 3 As shown, the shared system includes a cluster application server, a session center controller, a cache server group, and a database, wherein the functions of the cluster application server, the session center controller, the cache server group, and the database are referred to in Embodiment 2, and the present invention is no longer repeat.

[0126] This embodiment passes image 3 Explain how the session center controller manages session information when the client establishes an http connection with a cluster application server in the cluster environment for the first time:

[0127] Step 1, the cluster application server sends a session creation request to the session center controller according to the htt...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a session information sharing method and sharing system. The method comprises the steps that a session central controller is erected between cluster application servers and a cache server group, and session information is stored in the cache server group; each cluster application server is configured so that the cluster application server is enabled to transfer an http request to the session central controller when the cluster application server receives the http request transmitted by a client side; the session central controller is configured so that the session central controller is enabled to manage the session information stored in the cache server group according to the http request transferred by the cluster application servers and manage transmission of the session information so as to realize sharing of the session information between the cluster application servers and the cache server group. According to the technical scheme, the session central controller is erected for unified management of the session information stored in the cache server group so as to ensure the consistency and the security of the session information in the session information sharing process.

Description

technical field [0001] The invention relates to the technical field of Internet communication, in particular to a session information sharing method and a sharing system. Background technique [0002] With the popularity of the Internet, the prevalence of B / S (Browser / Server, browser / server) systems and the large number of users brought by the B2C (Buisness to Custmoer, business-to-consumer) model, the design of a single server and a single application is impossible. To meet the required performance and function requirements, in order to meet the above requirements, the application server cluster mode has become an effective solution. [0003] Since the communication protocol between the browser and the server used by users is generally the HTTP protocol, the HTTP protocol is a stateless protocol, and stateless means that the protocol has no memory capability for transaction processing. The lack of state means that if subsequent processing needs to use previous information,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095H04L67/56
Inventor 祁建泉
Owner BEIJING FEINNO COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products