Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for transmitting message

A technology for sending messages and message encapsulation, applied in the field of data communication, can solve problems such as multi-processing time and processing resources, affecting business execution efficiency, reducing the efficiency of multicast or broadcast message transmission, etc., to improve performance and improve execution Efficiency, the effect of improving forwarding efficiency

Active Publication Date: 2008-02-27
NEW H3C TECH CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method of packet-by-packet link layer encapsulation requires network devices to consume more processing time and resources for each multicast or broadcast message, thus greatly reducing the transmission efficiency of multicast or broadcast messages , affecting the execution efficiency of related businesses

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 transmitting message
  • Method and device for transmitting message
  • Method and device for transmitting message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] When the link type supported by the interface is point-to-point, the flow of the message sending method in this embodiment is shown in Figure 1, including the following steps:

[0066] Step 101: The link protocol unit corresponding to the interface, when the state of the point-to-point link corresponding to the current interface is available, establishes layer 2 encapsulation information of the current interface according to the point-to-point link corresponding to the interface.

[0067] Here, the method for determining that the link state of the interface is available may be: the link protocol unit determines that the state of the current point-to-point link is available after successfully completing the link protocol negotiation of the point-to-point link corresponding to the current interface.

[0068] Here, after the link protocol negotiation is successful, the link protocol unit establishes corresponding layer 2 encapsulation information according to the network la...

Embodiment 2

[0072] When the link type supported by the interface is point-to-multipoint, such as FR or ATM, the process of sending packets on the interface is shown in Figure 2, including the following steps:

[0073] Step 201: The link protocol unit needs to add a sub-channel with broadcast attribute on the interface managed by itself, and when the status of the sub-channel is available, the link protocol unit establishes a sub-channel corresponding to the interface for the currently added sub-channel Layer 2 encapsulation information.

[0074] Here, the link protocol unit establishes the Layer 2 encapsulation information of the subchannel according to the network layer protocol information and the link layer protocol information of the subchannel.

[0075] Wherein, the referred sub-channel is a data link connection identifier (DLCI, Data LinkConnection Identifier) ​​for FR, and a permanent virtual connection (PVC, Permanent Virtual Channel) for ATM. The sub-channel state being availabl...

Embodiment 3

[0081] When the link type supported by the interface is an Ethernet broadcast link, such as ETH, the process of sending packets on the interface is shown in Figure 3. In the present embodiment, first, the interface is described as an example of a virtual Ethernet (VLAN) virtual interface, and the method of the present embodiment includes the following steps:

[0082] Step 301: When a layer 2 port is added in the VLAN where the VLAN virtual interface is located, and the state of the layer 2 port is available, the link protocol unit establishes a layer 2 port of the VLAN virtual interface for the newly added layer 2 port Packaging information. Here, the referred layer-2 port is: Ethernet port.

[0083] When a layer 2 port is added to the VLAN where the VLAN virtual interface is located, and the state of the newly added layer 2 port is available, the link protocol unit will establish a link corresponding to the current VLAN virtual interface according to the newly added layer 2 ...

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

This invention discloses a method for sending messages including: when a link corresponding to an interface can be used, a second layer package message of the interface is set up, when sending multicast or broadcast messages, the interface packages and sends the messages according to the second layer package information of the interface, in which, it's only necessary for an interface to package and send said message according to the registered second layer package information so as to speed up the transmission. This invention also provides a device for sending messages.

Description

technical field [0001] The invention relates to data communication technology, in particular to a method and device for sending messages. Background technique [0002] In data communication, since multicast or broadcast messages are sent from one point to multiple points, the efficiency of message transmission directly affects the execution of the corresponding protocol; for example, for routing protocols, multicast or broadcast in routing protocols The packet sending speed directly affects the convergence performance of the routing protocol, and determines the execution efficiency of the routing protocol to a large extent. [0003] In the prior art, a network device sends a multicast or broadcast message to an IP layer for sending and processing. The IP layer delivers the message to the link protocol unit to which the interface belongs according to the interface specified by the application program for sending. [0004] The link types supported by the interface include th...

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
IPC IPC(8): H04L12/56H04L12/46H04L45/16H04L45/74
Inventor 常向青孟丹龚一斌王海东翟红刚赵丽娜苏兴山赵鲲鹏
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products