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 broadc

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

Example Embodiment

[0064] Example one

[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 Fig. 1, and includes the following steps:

[0066] Step 101: The link protocol unit corresponding to the interface, when the point-to-point link status corresponding to the current interface is available, establishes the 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 interface link status is available may be: after successfully completing the link protocol negotiation of the point-to-point link corresponding to the current interface, the link protocol unit determines that the current point-to-point link status is available.

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

Example Embodiment

[0071] Example two

[0072] When the link type supported by the interface is point-to-multipoint, such as FR or ATM, the process of sending messages 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 attributes to 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 packaging 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] Among them, the sub-channel referred to is a data link connection identifier (DLCI, Data Link Connection Identifier) ​​for FR, and a permanent virtual connection (PVC, Permanent Virtual Channel) for ATM. The availabilit...

Example Embodiment

[0080] Example three

[0081] When the link type supported by the interface is an Ethernet broadcast link, such as ETH, the process of sending a message on the interface is shown in Figure 3. In this embodiment, firstly, description is made by taking the interface as a virtual Ethernet (VLAN) virtual interface as an example. The method of this embodiment includes the following steps:

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

[0083] When each additional Layer 2 port is added to the VLAN where the VLAN virtual interface is located, and the newly added Layer 2 port status is available, the link protocol unit will create a corresponding to the current VLAN virtual interface based on the newly ...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products