A session creation method and device

A technology of network equipment and quantity, applied in the field of communication, can solve the problem of unbalanced load between primary and backup equipment, and achieve the effect of reducing unbalanced load

Active Publication Date: 2021-07-09
NEW H3C SECURITY TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the above method can be used to complete session creation, and the task of creating a session can be balanced between the primary and backup devices according to the hash processing results, but the above method only considers the relationship between the primary and backup devices from the perspective of creating a new session. From the perspective of the overall business processing of the master and backup devices, the above method will easily lead to load imbalance between the master and backup devices

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 session creation method and device
  • A session creation method and device
  • A session creation method and device

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0113] Assume image 3 The network structure shown is a structure based on the multi-standby mode, which includes: master device 1 and backup device 1, the network has session dual main function, so that the main device 1 and backup device 1 can be used for Make packet forwarding. The number of sessions currently present in the main device 1 and preparation device 1 is: 15. In the present session, the number of sessions created by the master device 1 is: 10, the number of sessions created by the standby device 1 is: 5.

[0114] The following is based on the main device 1 as an example, based on the above network structure, the above session creation method is described.

[0115] If the main device 1 discovers the session information of the message to be processed in the session table, it is determined that the packet to be processed is the first message for the new business.

[0116] The first case, assuming, the preset session number threshold is: 2.

[0117] Since the number of s...

example 2

[0121] Assume Figure 4 The network structure shown is a structure based on the multi-standby network, which includes: master device 2, device 2, preparation device 3, ready device 4, and backup device 5, and other, the network has session double main Function, such a master device 2, an alternate device 2, a device 3, a standby device 4, and a backup device 5 can be used for packet forwarding. The number of sessions in the presence of the session in the preparation device 4, the preparation device 5, the presence or backup device 5, the current presence session, the number of sessions created by the main device 2 is: 5, and the device 2 The number of sessions created is: 4. The number of sessions created by the device 3 is: 8, the number of sessions created by the 备 4 is: 3, the number of sessions created by the standby device 5 is: 5.

[0122] The following is based on the device 2 to receive the message to be processed as an example. Based on the above network structure, the abo...

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

Embodiments of the present application provide a method and device for creating a session. The above method includes: receiving a message to be processed; in the case that it is determined that the message to be processed belongs to the first message of a new service, according to the number of the first sessions and each first message 2. The number of sessions, the device used to create the target session is determined from the network device set, the first number of sessions is: the session created by the first network device in the currently existing session, and the second number of sessions is: the current session is created by the second session A session created by a network device, the second network device is: a device other than the first network device in the network device set, and the target session is: the session corresponding to the to-be-processed packet; if the determined device is the first network device, The target session is created according to the to-be-processed message; if the determined device is not the first network device, the to-be-processed message is sent to the determined device. Using the solution provided by the embodiment of the present application to create a session can reduce the load imbalance among network devices.

Description

Technical field [0001] The present application relates to the field of communication, and in particular, to a session creation method and apparatus. Background technique [0002] In the networking of the active and standby mode, two network devices are usually set forward, of which one device is called primary equipment, and one device is called a device. In practical applications, in the actual application, the networking of the above-mentioned hosting mode has a powerful function when forwarding the message, typically opens the dual main function of the session, that is, let the above-mentioned equipment and the main device participate in the packet forward, so that Under the premise of high reliability, the above network ensures high reliability, and improve the resources of the network equipment to improve the load capacity of the network. [0003] During the specific application, in order to ensure proper packet forwarding, after receiving the message, you need to create a s...

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/08H04L12/803
CPCH04L47/125H04L67/141
Inventor 解永娟
Owner NEW H3C SECURITY TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products