Message transmission method and system, and network device and storage medium
AssigneeZte Corporation
InventorsFei GAO, Zhonghui CHE, Xiaoliang MA
Life of this patent
Estimating the term…
Abstract
A message transmission method and system, and a network device and an electronic medium are disclosed. The message transmission method may include: receiving a Layer 2 message sent by a first user equipment; acquiring a forwarding port number and a newly added message header, and determining a message encapsulation mode; encapsulating the Layer 2 message based on the message encapsulation mode, the forwarding port number, and the newly added message header to obtain a Layer 3 message; and sending the Layer 3 message to a second forwarding device.
Claims20
A message transmission method, comprising:
- receiving a Layer 2 message sent by a first user equipment;
- acquiring a forwarding port number and a newly added message header, and determining a message encapsulation mode;
- encapsulating the Layer 2 message based on the message encapsulation mode, the forwarding port number, and the newly added message header to obtain a Layer 3 message;
- and
- sending the Layer 3 message to a second forwarding device.
A message transmission method, comprising:
- receiving a message sent by a first forwarding device;
- detecting whether the message is a Layer 3 message, which is a message carrying a newly added message header and a forwarding port number;
- in response to the message being a Layer 3 message, detecting whether the newly added message header and the forwarding port number are a message header and a port number pre-agreed with the first forwarding device;
- and
- in response to the newly added message header and the forwarding port number being the message header and the port number pre-agreed with the first forwarding device, extracting a Layer 2 message encapsulated in the message, and sending the Layer 2 message to a second user equipment, wherein the Layer 2 message is a message sent by a first user equipment.
A message transmission system, comprising:
- a first user equipment, configured to send a Layer 2 message to a first forwarding device;
- the first forwarding device, configured to receive the Layer 2 message sent by the first user equipment, determine a forwarding port number, a message encapsulation mode, and a newly added message header, encapsulate the Layer 2 message based on the message encapsulation mode, the forwarding port number, and the newly added message header to obtain a Layer 3 message, and send the Layer 3 message to a second forwarding device;
- the second forwarding device, configured to receive a message sent by the first forwarding device, detect whether the message is a Layer 3 message, in response to the message being a Layer 3 message, detect whether the message satisfies a correct sending condition that the message carries a newly added message header and a forwarding port number which are pre-agreed with the first forwarding device, and in response to the message satisfying the correct sending condition, extract a Layer 2 message encapsulated in the message and send the Layer 2 message to a second user equipment, wherein the Layer 2 message is a message sent by the first user equipment;
- and
- the second user equipment, configured to receive a message sent by the second forwarding device.
Dependencies are inferred from the claim text.