Session creation method and device

A technology of network equipment and quantity, which is applied in the field of communication, can solve the problem of load imbalance between the main and backup equipment, and achieve the effect of reducing load imbalance

Active Publication Date: 2018-11-06
NEW H3C SECURITY TECH CO LTD
View PDF3 Cites 5 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
  • Session creation method and device
  • Session creation method and device
  • Session creation method and device

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0113] suppose, image 3 The network structure shown is based on the network structure of the active-standby mode. The network includes: the main device 1 and the backup device 1. The network has the dual-active function of the session, so that the main device 1 and the backup device 1 can be used for For message forwarding. The number of sessions currently existing in both the master device 1 and the backup device 1 is 15. Among the above-mentioned currently existing sessions, the number of sessions created by the master device 1 is 10, and the number of sessions created by the backup device 1 is 5.

[0114] Taking the message to be processed received by the main device 1 as an example, based on the above network structure, the above session creation method will be introduced below.

[0115] If the master device 1 finds that the session information of the message to be processed does not exist in the session table stored by itself, it determines that the message to be proces...

example 2

[0121] suppose, Figure 4 The network structure shown is a network structure based on the active-standby mode. The network includes: the main device 2, the backup device 2, the backup device 3, the backup device 4, and the backup device 5. In addition, the network has session dual-active function, so that the master device 2, backup device 2, backup device 3, backup device 4, and backup device 5 can all be used for packet forwarding. The number of sessions currently existing in the master device 2, backup device 2, backup device 3, backup device 4, and backup device 5 are all: 25. Among the above-mentioned currently existing sessions, the number of sessions created by the master device 2 is: 5, and the number of sessions created by the backup device 2 The number of created sessions is 4, the number of sessions created by standby device 3 is 8, the number of sessions created by standby device 4 is 3, and the number of sessions created by standby device 5 is 5.

[0122] Taking ...

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 embodiment of the invention provides a session creation method and device. The method comprises the steps of: receiving a message to be processed; if the fact that the message to be processed belongs to the first message of a new service is judged, determining a device used for creating a target session from a network device set according to the number of first sessions and the number of various second sessions, wherein the number of the first sessions is: sessions created by a first network device in current sessions; the number of the second sessions is: sessions created by a second network device in the current sessions; the second network device is a device in the network device set, except the first network device; and the target session is a session corresponding to the message to be processed; if the determined device is the first network device, creating the target session according to the message to be processed; and, if the determined device is not the first network device, sending the message to be processed to the determined device. The session is created through the scheme provided in the embodiment of the invention; and thus, the unbalanced load condition betweenthe network devices can be reduced.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a method and device for establishing a session. Background technique [0002] In the active-standby mode networking, two network devices are usually set up to participate in packet forwarding, one of which is called the master device and the other is called the backup device. In practical applications, in order to make the above-mentioned active-standby mode networking have powerful functions when forwarding messages, the dual-active function of the session is usually enabled, that is, the above-mentioned standby device and the master device are allowed to participate in message forwarding, so that Under the premise of ensuring high reliability in the above-mentioned networking, the resources of the network equipment are fully utilized to improve the load capacity of the networking. [0003] In the specific application process, in order to ensure normal pa...

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): 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