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

Message sending method, device and network equipment

A technology for message sending and network equipment, applied in network interconnection, data exchange network, data exchange through path configuration, etc., can solve problems such as high CPU usage, hang, system instability, etc., to reduce the usage rate , increase the number, the effect of low occupancy

Active Publication Date: 2021-08-17
MAIPU COMM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

An obvious defect of the CPU sending messages is that the efficiency of the CPU soft-copying messages is very low. If there are many outbound interfaces, a large amount of CPU resources need to be used to copy the messages.
This will cause the CPU usage to be too high, causing the upper layer business to be suspended, causing system instability
Therefore, in order to reduce the problem of high CPU usage, the number of outbound interfaces is usually limited.

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
  • Message sending method, device and network equipment
  • Message sending method, device and network equipment
  • Message sending method, device and network equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0030] Please refer to figure 2 , figure 2 It is a flowchart of a message sending method provided by an embodiment of the present invention, the method is applied to a network device, and the method includes the following steps:

[0031] Step S110: The processor determines whether the message to be sent needs to be sent to multiple outgoing interfaces according to the type of the target outgoing interface.

[0032] When the target outgoing interface is a service provider VLAN (that is, Service provider VLAN, SVLAN for short) or aggregated VLAN (that is, Super VLAN), the processor determines that the message to be sent needs to be sent to the multiple outgoing interfaces .

[0033] Generally speaking, the outgoing interface is not limited to a common physical interface, and may be a VLAN (Virtual Local Area Network, virtual local area network) interface, or a combination of a VLAN and a physical interface. If the target outgoing interface is a SuperVLAN, since members of t...

no. 2 example

[0049] Please refer to Figure 4 , Figure 4 It is a flowchart of a message sending method provided by an embodiment of the present invention, and the method includes the following steps:

[0050] Step S210: Configure a target outbound interface including multiple member interfaces, and apply for a multicast group corresponding to the target outbound interface from the switch chip.

[0051] Wherein, the multicast group is a three-layer multicast group chip resource provided by the switch chip.

[0052] In actual use, apply for a multicast group resource from the switch chip. The multicast group resource is the Layer 3 multicast group chip resource provided by the switch chip. The multicast group resource was mainly used to send IP multicast packets before.

[0053] Step S220: Add multiple member interfaces of the target outbound interface to the multicast group.

[0054] Wherein, each multicast group member is an outbound interface that needs to send packets. Add the outgo...

no. 3 example

[0060] Corresponding to the message sending method in the second embodiment, Figure 5 A one-to-one correspondence message sending device using the message sending method shown in the second embodiment is shown. Such as Figure 5 As shown, the packet sending device 500 includes a configuration management module 510 , a multicast group management module 520 and a packet sending module 530 . Wherein, the implementation functions of the configuration management module 510, the multicast group management module 520, and the message sending module 530 correspond to the corresponding steps in the second embodiment one by one. To avoid redundant description, this embodiment does not describe them in detail.

[0061] The configuration management module 510 is configured to apply for a multicast group corresponding to the target outbound interface from the switch chip through the multicast group management module after configuring the target outbound interface including a plurality of...

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 message sending method, device and network equipment provided by the embodiments of the present invention belong to the field of computer network communication. The method is applied to a network device, and the method includes: the processor judges whether the message to be sent needs to be sent to multiple out interfaces according to the type of the target out interface; if so, the processor sends the message to be sent to the corresponding outbound interface of the target The multicast group of the switching chip; the switching chip sends the message to be sent in the multicast group and the processor judges whether the message to be sent needs to be sent to multiple outgoing interfaces according to the type of the target outgoing interface. In this solution, the processor sends the message to be sent to the multicast group to realize multicast through the multicast group, so that the multicast group in the switching chip replaces the CPU sending the message to the batch output interface in the prior art Sometimes it is necessary to carry out the forwarding logic of software copy packets, so as to free the CPU, thereby effectively reducing the CPU usage, and further increasing the number of outbound interfaces.

Description

technical field [0001] The present invention relates to the field of computer network communication, in particular to a message sending method, device and network equipment. Background technique [0002] With the continuous development of computer network technology, the application scenarios of sending packets in the network are becoming more and more abundant. And a considerable part of the business needs to send packets to batch specific outbound interfaces through the CPU. However, when the packets need to be sent by the CPU to a specific outbound interface in batches, such as figure 1 , the CPU 101 needs to copy a packet to each outgoing interface 102 , 103 , 104 , 105 . An obvious defect of sending packets by the CPU is that the efficiency of soft-copying packets by the CPU is very low. If there are many outbound interfaces, a large amount of CPU resources are required to copy packets. This will lead to high CPU usage, suspend upper-layer services, and cause system...

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): H04L12/761H04L12/46H04L45/16
CPCH04L12/4641H04L45/16
Inventor 朱烈伟
Owner MAIPU COMM TECH CO LTD