Method and device for processing cluster asymmetric traffic, electronic equipment and storage medium

A processing method and asymmetric technology, applied in the field of data processing, which can solve the problems that the message cannot be forwarded correctly, and the message format of asymmetric traffic forwarding is not fully considered.

Pending Publication Date: 2022-04-08
HILLSTONE NETWORKS CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a cluster asymmetric traffic processing method and device, electronic equipment, and a storage medium to at least solve the problem that the message format of the asymmetric traffic forwarding is not fully considered in the related art, resulting in the incorrect forwarding of the message. 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
  • Method and device for processing cluster asymmetric traffic, electronic equipment and storage medium
  • Method and device for processing cluster asymmetric traffic, electronic equipment and storage medium
  • Method and device for processing cluster asymmetric traffic, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] According to an embodiment of the present invention, an embodiment of a cluster asymmetric traffic processing method is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0045] The following steps in the embodiment of the present invention can be applied to the backup device in the cluster traffic group.

[0046] figure 2 is a flow chart of an optional cluster asymmetric traffic processing method according to an embodiment of the present invention, such as figure 2 As shown, the method includes the following steps:

[0047] Step S202, receiving a session message, wherein the session message at least includes: an original message and message IP information. ...

Embodiment 2

[0085] According to an embodiment of the present invention, another embodiment of a method for processing cluster asymmetric traffic is provided, and the following steps in the embodiment of the present invention can be applied to a master device in a cluster traffic group.

[0086] image 3 is a flow chart of another optional cluster asymmetric traffic processing method according to an embodiment of the present invention, such as image 3 As shown, the method includes the following steps:

[0087] Step S302, receiving the target message.

[0088] Step S304, if the traffic of the target packet is asymmetric traffic, analyze the target packet.

[0089] Step S306, read the UDP header of the outer layer of the target message, and restore the original message of the inner layer according to the attachment information header.

[0090] Through the above steps, the target packet can be received, and when the traffic of the target packet is asymmetric traffic, the target packet can...

Embodiment 3

[0096] Figure 4 It is a flow chart of an optional flow group backup device sending an asymmetric flow processing process according to an embodiment of the present invention, such as Figure 4 shown, including the following steps:

[0097] (1) After the backup device receives the message, it searches for the session according to the quintuple of the message. If the found session is a session synchronized from the Traffic-group1 (ie TG1) of the master device, it means that the message is an asymmetric flow. It needs to be sent to the master device for processing.

[0098] (2) If the device where TG1 is located is not a backup device, it will be processed according to the normal process. If the device where TG1 is located is a backup device, because the backup device does not need to group packets for fragmented packets, the master device will perform packet processing, so you can Set the flag that does not require grouping on fragmented packets.

[0099] (3) To encapsulate a...

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 a cluster asymmetric traffic processing method and device, electronic equipment and a storage medium. The processing method comprises the steps of receiving a session message, searching equipment initiating a flow session based on message IP information, determining that flow corresponding to the session message is asymmetric flow under the condition that the equipment initiating the flow session is main equipment in a cluster flow group, packaging an attachment information header, a protocol header, an IP header and a two-layer header outside an original message, and sending the original message to the cluster flow group. And obtaining the target message, and sending the target message to the master device in the cluster traffic group. According to the method and the device, the technical problem that the message cannot be correctly forwarded due to the fact that the message format of asymmetric flow forwarding is not comprehensively considered in the related technology is solved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method and device for processing cluster asymmetric traffic, electronic equipment, and a storage medium. Background technique [0002] In related technologies, when packets are transmitted among devices in a distributed cluster, there will be asymmetric traffic. figure 1 is a schematic diagram of an optional cluster deployment of the prior art, such as figure 1 As shown, the working mechanism of the traffic group is shown, wherein, device 1 and device 2 form a cluster, and the traffic group Traffic-group1 is the Master (ie, the main device) on the device 1, and the Backup (ie, the backup device) on the device 2. The traffic group Traffic-group2 is the Master on Device 2 and the Backup on Device 1. The session (session) information of the traffic group is synchronized between Device 1 and Device 2 in real time, and the traffic group Traffic-group1 synchronizes t...

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): H04L67/14H04L69/08H04L69/22
Inventor 孙庆尧李矩希
Owner HILLSTONE NETWORKS 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