Unlock instant, AI-driven research and patent intelligence for your innovation.

Active defense gateway visitor identifier generation method and system

A technology for active defense and visitor closure, applied in transmission systems, digital transmission systems, security communication devices, etc., to facilitate human eye recognition, avoid cost problems, and display simple and beautiful effects

Active Publication Date: 2022-06-10
南京赛宁信息技术有限公司
View PDF14 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the snowflake algorithm still has some problems in the active defense gateway: 1. The generated ID is too long and too random, which is not easy to read and display
2. It is easily affected by the clock adjustment of the gateway node, and additional means are needed to ensure its stable operation
3. The number of node numbers is fixed and cannot be expanded

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
  • Active defense gateway visitor identifier generation method and system
  • Active defense gateway visitor identifier generation method and system
  • Active defense gateway visitor identifier generation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Since the latest visitor ID in the shared memory is not persistent, if the gateway node is powered off or restarted, this information will be lost. In order to ensure performance, the embodiment of the present invention does not save the latest visitor ID to the disk every time it is modified. Instead, run a scheduled task, every fixed time (for example, 3 seconds), save the latest visitor ID in the shared memory to the disk. Correspondingly, when the gateway working process starts, the latest visitor ID is read from the disk and restored to the shared memory.

[0028] Considering that the action of saving to the disk is performed periodically, if the latest visitor ID in the shared memory is not saved in time after being modified, then the power is turned off or restarted, then the latest visitor ID read by the gateway working process from the disk is an old is smaller than the correct value. At this time, the latest visitor ID needs to be corrected. Since the gatew...

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 an active defense gateway visitor identifier generation method and system. The method comprises the following steps: setting a starting point of a visitor identifier in each gateway node in a cluster as a serial number of the gateway node; the number B of binary bits occupied by the serial numbers of the gateway nodes is equal to ceil (log2 (N + 1)), N is the predicted number of the gateway nodes in the cluster, and the serial numbers of the gateway nodes are different; a shared memory is developed on each gateway node to store the latest visitor identifier on the node, a plurality of working processes generate the visitor identifier by taking 2B as an increasing step length through atomic self-increasing operation, and the visitor identifier in the shared memory is updated. Compared with the prior art, the visitor identification generated by the method is short and is convenient for human eye identification, verbal reading and one-by-one input from a keyboard; and moreover, the method is not influenced by clock adjustment of the gateway node, centralized management is not needed, the length of the node number in the generated visitor identifier is variable, and capacity expansion can be further supported.

Description

technical field [0001] The invention relates to a method and system for generating a visitor ID of an active defense gateway, belonging to the technical field of network security. Background technique [0002] The active defense gateway is a kind of security gateway used to protect Web sites. It is deployed between the user and the Web site, close to the site, and supports HTTP and HTTPS protocols. After receiving the HTTP request from the user side, the active defense gateway accurately locates each visitor by issuing cookies and collecting device information. Inside the gateway, a visitor ID will be generated for the visitor; the visitor ID is the code name of the visitor, which is unique within the entire gateway and is used in occasions such as storing visitor basic information, storing access logs, and access control for visitors. [0003] The generation scheme of the visitor ID is related to the deployment method of the active defense gateway. According to the size ...

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): H04L61/3015H04L67/1036H04L67/60H04L9/40
CPCH04L61/3015H04L63/0218H04L63/0236H04L67/1036
Inventor 谢峥高庆官卢成远高瑞阳李亚鹏汪中杰
Owner 南京赛宁信息技术有限公司