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

A method and device for limiting the number of sessions

A consistent and targeted technology, applied in the field of session number limiting methods and devices, can solve problems such as session count errors

Active Publication Date: 2019-05-07
HANGZHOU DPTECH TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for limiting the number of sessions to solve the problem that the session count corresponding to the hit policy may occur if the policy set is updated after the session matches the policy set successfully and before the session aging in the existing session number limit solution. wrong question

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
  • A method and device for limiting the number of sessions
  • A method and device for limiting the number of sessions
  • A method and device for limiting the number of sessions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings For further detailed explanation.

[0023] See figure 1 , is a schematic flowchart of a method for limiting the number of sessions provided by an embodiment of the present invention, as shown in figure 1 As shown, the method for limiting the number of sessions may include the following steps:

[0024] Step 101. When an update of the policy set occurs, update the updated policy set into the standby table.

[0025] In the embodiment of the present invention, the execution subject of the above method may be a firewall or a processor in the firewall, such as a CPU ...

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 session number limiting method and device. The method comprises the following steps of: when a strategy set is updated, updating the updated strategy set in a spare table; when updating of the strategy set is completed, updating global magic words, updating the updated global magic words in the spare table, and performing switching between main and spare tables; while receiving an access request of a target session and determining that the target session includes magic word information, judging whether the magic word information included in the target session is the same as the current global magic words; if so, performing session number limiting treatment of the target session; and otherwise, not performing session number limitation of the target session. Due to application of the embodiment of the invention, the problem that session count is wrong due to the fact that the strategy set is updated after the strategy set is successfully matched from the session and before the session is aged can be avoided.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and device for limiting the number of sessions. Background technique [0002] The number of sessions is limited by counting the number of connections on the network device and restricting the sessions according to the pre-configured policy set, so that the device system resources are protected and the system resource allocation is more reasonable. [0003] In the existing session limit scheme, dual tables are used when the policy set is updated, that is, when there is a policy update, the new policy set is updated to the standby table, and then the active and standby tables are switched. After that, the session matches the new active table. This scheme allows access to the standby table when the policy is updated, which effectively improves the efficiency of session matching during the update of the policy set. [0004] However, it has been found in practi...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/14
Inventor 汤小梁
Owner HANGZHOU DPTECH TECH