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

Cross-domain and cross-language-based session sharing method and system based on Redis

A session sharing and cross-language technology, applied in the field of big data, to achieve the effect of enhancing experience and switching flexibly

Pending Publication Date: 2019-07-12
INSPUR QILU SOFTWARE IND
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical task of the present invention is to provide a Redis-based cross-domain and cross-language session sharing method and system to solve the problem of single-point and session sharing among various business systems in the government industry, and is suitable for cross-domain and unlimited development languages various business systems

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be further described below in conjunction with specific examples.

[0037] A Redis-based cross-domain and cross-language session sharing method, which uniformly stores user login session information in the Redis database, and uses the session internal code as the unique identifier for reading session information. It can change the phenomenon that the traditional business systems in the government industry store their own sessions, cannot realize session sharing and adopt multi-instance deployment, and cannot use polling strategy to achieve load balancing, so as to solve the sudden downtime of individual instances and satisfy users based on security. Under the premise of the policy, it is more friendly and normal to switch and access between multiple business systems.

[0038] This method provides different solutions for JAVA development language and non-JAVA development language. The implementation of this method can be reflected by the imple...

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 cross-domain and cross-language session sharing method and system based on Redis, and belongs to the technical field of data processing. The cross-domain and cross-language session sharing method based on Redis comprises the following steps of: uniformly storing user login session information in a Redis database, and taking a session internal code as a unique identifier for reading the session information; The cross-domain and cross-language-based session sharing method and system based on Redis stores user login session information in a Redis database in a unified manner, takes a session inner code as a unique identifier for reading the session information, and comprises an authentication server, a service client and a load balancing module. The method and systemcan solve the problem of single-point and session sharing among various service systems in the government industry, avoid sudden downtime of a single instance, meet flexible switching among multiplesystems, and are suitable for various cross-domain service systems without limitation on development languages.

Description

technical field [0001] The present invention relates to the technical field of big data, in particular to a Redis-based cross-domain and cross-language session sharing method and system. Background technique [0002] Spring-Session provides transparent integration with HttpSession, allowing the application container (ie tomcat) to replace HttpSession in a neutral way. It realizes cluster sessions, multiple browser sessions, Restful api and perfect integration with Websocket. [0003] Redis is an open-source, log-type, Key-Value database written in ANSI C language, supports network, can be memory-based or persistent, and provides APIs in multiple languages. [0004] Nginx (engine x) is a high-performance and lightweight HTTP and reverse proxy service, as well as an IMAP / POP3 / SMTP service. [0005] SAML is an XML-based open-source standard data format for exchanging authentication and authorization data between parties, especially between identity providers and service provid...

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
IPC IPC(8): G06F9/50
CPCG06F9/5083
Inventor 王洪超张华于春蕾王旭龙王磊
Owner INSPUR QILU SOFTWARE IND
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