WEB cross-domain cookie management system based on key-value type memory database

A technology for managing systems and databases, applied in the field of WEB cross-domain cookie management systems, can solve problems such as increasing session storage and access burdens, unfavorable session sharing, etc., and achieve the effects of reducing CPU overhead and memory footprint.

Active Publication Date: 2020-06-30
南京联创数字科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above-mentioned method of managing cookies through a proxy server is usually to store the cookie information of the target domain in the session of the proxy server. This management method can be used effectively in small and medium-sized business systems, and it will be more serious to use this solution in larger-scale systems. Session storage and access burden, and not conducive to the implementation of session sharing in server cluster mode

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
  • WEB cross-domain cookie management system based on key-value type memory database
  • WEB cross-domain cookie management system based on key-value type memory database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] Embodiment: the embodiment of the present invention establishes as attached figure 1 As shown in the system structure, the local proxy server is developed and realized by NodeJS. It is assumed that the domain name of the proxy server is proxy.com; there are 2 target servers, one is a jboss server, and the domain name is assumed to be a.com, and the other is a tomcat server, and the domain name is assumed for b.com. URL http: / / a.com The address mapping on the local proxy server is http: / / proxy.com / abiz , URL http: / / b.com The address mapping on the local proxy server is http: / / proxy.com / bbiz . target address http: / / a.com / hello visits translate to http: / / proxy.com / abiz / hello Access.

[0032]The WEB access interaction process of this embodiment is as attached figure 2 shown.

[0033] 1. Assume that the client browser executes a WEB request for the first time, and the request address is http: / / proxy.com / abiz / hello , the processing steps are as follows: ...

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 provides a WEB cross-domain cookie management system based on a key-value type memory database. According to the system, a key-value memory database is created through a session key andan access domain name to store a key value key; the cookie information returned by the target domain is directly used as value information to be stored in a memory database; and when the same target domain server is accessed next time, the cookie information returned by the target domain can be loaded according to the key and added to the target domain request calling parameter, and the calling request for the target domain address is executed. When a plurality of cross-domain accesses occur in one product, cookie loading can only aim at the current target domain, and the cookie information ofother target domains is ignored, so the memory occupation space of the session is greatly reduced, the session information deserialization speed is increased, and the cookie information serialization, deserialization performance and memory overhead are further reduced.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a WEB cross-domain cookie management system based on a key-value memory database. Background technique [0002] The essence of a cookie is a data block, which is created by the WEB server when the user logs in to the WEB, and the data block is passed to the client through the http / https header information, and is kept in a local file by the client browser. Cookie information is associated with the user's access domain and has timeliness, and it will automatically expire after the timeliness expires. When the client accesses the target domain, it needs to fill in the corresponding cookie information in the http / https request header. [0003] With the continuous development of "Internet +" business, there are more and more situations where a WEB client needs to access WEB information in multiple domains at the same time, and the problem of cross-domain WEB access occurs. Base...

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 & AuthorityApplications(China)
IPC IPC(8): G06F16/958G06F16/2455G06F16/28
CPCG06F16/24552G06F16/284G06F16/958
Inventor杨冰王东勋黄嘉诚朱学坤张琦玉徐晓瑀孙力斌罗义斌
Owner南京联创数字科技有限公司