Method and device for transmitting message
A technology for sending messages and messages, 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 , Improve the effect of forwarding efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] When the link type supported by the interface is point-to-point, the flow of the method for sending a message in this embodiment is as follows figure 1 shown, including the following steps:
[0057] 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.
[0058] 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.
[0059] Here, after the link protocol negotiation is successful, the link protocol unit establishes corresponding layer 2 encapsulation information according to...
Embodiment 2
[0063] 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 as follows: figure 2 shown, including the following steps:
[0064] 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.
[0065] 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.
[0066] Wherein, the referred sub-channel is a Data Link Connection Identifier (DLCI, Data Link Connection Identifier) for FR, and a Permanent Virtual Channel (PVC, Permanent Virtual Channel) for ATM. The sub-channel state being...
Embodiment 3
[0072] 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 as follows: image 3 shown. 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:
[0073] 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.
[0074] 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 adde...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 