WO2022134840A1 - 报文传输方法、系统、网络设备和存储介质 - Google Patents
报文传输方法、系统、网络设备和存储介质 Download PDFInfo
- Publication number
- WO2022134840A1 WO2022134840A1 PCT/CN2021/126781 CN2021126781W WO2022134840A1 WO 2022134840 A1 WO2022134840 A1 WO 2022134840A1 CN 2021126781 W CN2021126781 W CN 2021126781W WO 2022134840 A1 WO2022134840 A1 WO 2022134840A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- packet
- layer
- message
- forwarding
- header
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000005540 biological transmission Effects 0.000 title claims abstract description 44
- 238000005538 encapsulation Methods 0.000 claims abstract description 41
- 239000000284 extract Substances 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 6
- 230000006854 communication Effects 0.000 abstract description 27
- 238000004891 communication Methods 0.000 abstract description 22
- 230000006870 function Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L12/427—Loop networks with decentralised control
- H04L12/433—Loop networks with decentralised control with asynchronous transmission, e.g. token ring, register insertion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/164—Adaptation or special uses of UDP protocol
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L2012/4629—LAN interconnection over a backbone network, e.g. Internet, Frame Relay using multilayer switching, e.g. layer 3 switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Definitions
- the embodiments of the present application relate to the field of communications technologies, and in particular, to a message transmission method, system, network device, and storage medium.
- the communication process is: send The receiver encapsulates the data and the Medium Access Control (MAC) address in the message to form a Layer 2 message, and then transmits the Layer 2 message to the receiver through the optical fiber for the receiver to use.
- MAC Medium Access Control
- the embodiment of the present application provides a message transmission method, and the method includes the following steps: receiving a Layer 2 message sent by a first user equipment; obtaining a forwarding port number and a newly added message header, and determining a message encapsulation method; Encapsulate the Layer 2 packet according to the packet encapsulation method, the forwarding port number and the newly added packet header to obtain a Layer 3 packet; and send the Layer 3 packet to the second forwarding device .
- An embodiment of the present application also proposes a packet transmission method, including: receiving a packet sent by a first forwarding device; detecting whether the packet is a Layer 3 packet, wherein the Layer 3 packet is a packet carrying a new The message of the message header and the forwarding port number; if so, detect whether the newly added message header and the forwarding port number are the message header and port number pre-agreed with the first forwarding device; if so, The data part in the message is extracted, and the data part is sent to the second user equipment, where the data part is a Layer 2 message sent by the first user equipment.
- An embodiment of the present application further proposes a message transmission system, including: a first user equipment, configured to send a Layer 2 message to a first forwarding device; a first forwarding device, configured to receive a message sent by the first user equipment For the Layer 2 packet, determine the forwarding port number, the packet encapsulation method, and the newly added packet header, and report the Layer 2 packet to the Layer 2 packet according to the packet encapsulation method, the forwarding port number, and the newly added packet header.
- the second forwarding device receives the packet sent by the first forwarding device and detects whether the packet is a layer 3 packet.
- the packet if yes, detect whether the packet meets the correct sending condition, where the correct sending condition is that the packet carries the newly added packet header and the forwarding port number pre-agreed with the first forwarding device , if yes, extract the Layer 2 packet encapsulated in the packet, and send the Layer 2 packet to the second user equipment, where the Layer 2 packet is a packet sent by the first user equipment; the second The user equipment receives the packet sent by the second forwarding device.
- An embodiment of the present application further provides a network device, the device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores data that can be processed by the at least one processor The instructions are executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the message transmission method described above.
- Embodiments of the present application further provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-described message transmission method is implemented.
- FIG. 1 is a flowchart 1 of a message transmission method provided by a first embodiment of the present application
- FIG. 2 is a flowchart of step 102 in the message transmission method provided by the first embodiment of the present application shown in FIG. 1;
- FIG. 3 is a second flowchart of the message transmission method provided by the first embodiment of the present application.
- FIG. 5 is a flowchart of a message transmission method provided by a third embodiment of the present application.
- FIG. 6 is an application scenario involved in the message transmission method provided by the third embodiment of the present application shown in FIG. 5;
- FIG. 7 is a schematic structural diagram of a message transmission system provided by a fourth embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a network device provided by a fifth embodiment of the present application.
- the main purpose of the embodiments of the present application is to propose a message transmission method, system, network device and storage medium, aiming to realize wireless communication between Layer 2 devices without modifying or replacing existing Layer 2 devices .
- the first embodiment of the present application relates to a message transmission method, which is applied to a first forwarding device, as shown in FIG. 1 , and specifically includes:
- Step 101 Receive a Layer 2 packet sent by the first user equipment.
- a Layer 2 packet of the first user equipment on the user side is received, where the first user equipment is a Layer 2 device, and the Layer 2 packet is communicated through a MAC address.
- Step 102 Obtain the forwarding port number and the newly added message header and determine the message encapsulation mode.
- step 102 includes the following steps:
- Step 201 determining a second forwarding device.
- Step 202 Obtain the forwarding port number and the newly added message header pre-agreed with the second forwarding device.
- the newly added message header agreed upon by the first forwarding device and the second forwarding device may be any field.
- Step 203 Obtain the user's transmission requirements for Layer 2 packets.
- the user's transmission requirements for Layer 2 packets may include reliability requirements, real-time requirements, etc.
- the transmission requirements for obtaining Layer 2 packets may be manually set by the user, or may be pre-stored agreed transmission requirements.
- the specific manner of acquisition is not limited, and may be a manner that can accurately acquire the current actual needs of both parties in communication.
- Step 204 Determine the packet encapsulation mode according to the transmission requirement.
- the packet encapsulation methods include Transmission Control Protocol (Transmission Control Protocol, TCP) encapsulation and User Datagram Protocol (User Datagram Protocol, UDP) encapsulation.
- TCP Transmission Control Protocol
- UDP User Datagram Protocol
- the forwarding port number, the newly added packet header, and the IP address of the second forwarding device may be stored in advance, or may be acquired from a peripheral terminal. If the forwarding port number, the newly added packet header and the IP address of the second forwarding device are pre-stored, the forwarding port number, the newly added packet header and the IP address of the second forwarding device can be manually entered by the user. Store; if the forwarding port number, the newly added packet header and the IP address of the second forwarding device are obtained from the peripheral terminal, as shown in Figure 3, before step 101, it also includes:
- Step 301 receiving a user instruction.
- an open page is provided for the user, the user sets the relevant data through the operation, and the page generates the corresponding user instruction and conveys the user instruction.
- Step 302 Pre-agreed forwarding port numbers, add packets, and set the IP address of the second forwarding device according to user instructions.
- the user instruction may only make an agreement with the current communication two parties, or may make an agreement with all the forwarding devices.
- any one, any two or three items of pre-appointing forwarding port numbers, pre-appointing new packets, and setting the IP address of the second forwarding device are executed according to user instructions.
- Step 103 Encapsulate the Layer 2 packet according to the packet encapsulation mode, the forwarding port number and the newly added packet header to obtain the Layer 3 packet.
- the packet encapsulation method it is determined whether to generate a UDP header carrying the forwarding port number or a TCP header as the protocol packet header, and also need to obtain the IP header, and then according to the obtained protocol packet header, IP header and newly added packet
- the packet header encapsulates the Layer 2 packet to obtain a Layer 3 packet for wireless communication.
- the source IP address in the IP header is the IP address allocated after data dialing
- the destination IP address in the IP header is the IP address of the second forwarding device that receives Layer 3 packets; whether it is a UDP header or a TCP
- the headers all carry the forwarding port number determined in step 102 and several fields that are used as depacketization markers.
- Step 104 Send the Layer 3 packet to the second forwarding device.
- the second forwarding device may include one device or multiple devices.
- first and second in the first forwarding device and the second forwarding device involved in this application indicate that the two devices are not the same device.
- the functions of the first forwarding device and the second forwarding device can be configured on the same device, and then play different roles in different communication processes according to the source of the received packets. After receiving the message from the user equipment, it presents the function of the above-mentioned first forwarding device, so it is defined as the first forwarding device in this communication process; in another communication process, the forwarding device receives messages from other forwarding devices, The function of the second forwarding device is presented, and is then defined as the second forwarding device in this communication process.
- the first forwarding device after receiving the Layer 2 packet sent by the first user equipment, the first forwarding device obtains the forwarding port number and the newly added packet header, determines the packet encapsulation method, and then determines the packet encapsulation method according to the Packet encapsulation method, forwarding port number, and new header to encapsulate Layer 2 packets to obtain Layer 3 packets capable of wireless communication, and then use wireless communication to send Layer 3 packets to the second forwarding device , so that when the second forwarding device receives the Layer 3 packet, it can directly extract the Layer 2 packet sent by the first user equipment encapsulated in the Layer 3 packet, and directly send the Layer 2 packet to the second user equipment.
- Wireless communication between the first user equipment and the second user equipment is mapped to the packet sent by the first user equipment.
- the packets can be wirelessly communicated, and the second forwarding device directly extracts the Layer 2 packets sent by the first user equipment encapsulated in the Layer 3 packets. It enables the Layer 3 packets to be restored to the Layer 2 packets that can be received by the second user equipment, so as to enable wireless communication between existing user equipments without the need to modify or replace the user equipment. Purpose.
- the second embodiment of the present application relates to a message transmission method, which is applied to a second forwarding device, as shown in FIG. 4 , and specifically includes:
- Step 401 Receive a packet sent by a first forwarding device.
- the packet sent by the first forwarding device on the network side is received.
- Step 402 check whether the packet is a Layer 3 packet, if yes, go to Step 403 , if not, go to Step 404 .
- the packet carries the newly added packet header and the forwarding port number. If so, it is a Layer 3 packet; if not, it is a Layer 2 packet.
- Step 403 If it is detected that the newly added packet header and the forwarding port number are the packet header and port number pre-agreed with the first forwarding device, extract the Layer 2 packet encapsulated in the packet, and convert the Layer 2 packet into the packet. sent to the second user equipment.
- the Layer 2 device received by the first forwarding device is used as the data part of the Layer 3 packet.
- the second forwarding device receives the Layer 3 packet, it first detects the Check whether the newly added packet header and forwarding port number are the packet header and port number pre-agreed with the first forwarding device to detect whether the Layer 3 packet is correctly received, and only extract the data part if it is sent correctly.
- Step 404 Send the packet to the second user equipment.
- the second user equipment is a Layer 2 device, supports receiving Layer 2 packets, and is located on a virtual local area network (Virtual Local Area Network, VLAN) side.
- VLAN Virtual Local Area Network
- this embodiment can receive both Layer 3 packets and Layer 2 packets. After the Layer 3 packets are correctly received, the encapsulated Layer 2 packets can be extracted, and then all the obtained Layer 2 packets can be extracted. The layer packet is sent to the second user equipment to complete the wireless communication between the first user equipment and the second user equipment. Since both Layer 2 packets and Layer 3 packets can be processed, the diversity of packets that can be processed by the second forwarding device is improved, and the technical solutions provided by the embodiments of the present application are more applicable.
- the forwarding devices in the third embodiment of the present application are all routers (router 1 and router 2). ), the sender of the Layer 2 message is device A, the receiver is device B, and the encapsulation method is UDP encapsulation.
- Long Term Evolution Long Term Evolution (Long Term Evolution, LTE dial-up, router 2 also has 5G/LTE dial-up on the peer end, and router 2 accesses device B as an example.)
- the message transmission method provided by the third embodiment of the present application includes:
- Step 601 Device A sends a Layer 2 packet to Router 1.
- Step 602 Router 1 determines that the packet encapsulation mode is UDP encapsulation, determines the UDP header carrying the forwarding port number 1000, the corresponding IP header and the newly added packet header, and encapsulates the Layer 2 packet to obtain the Layer 3 packet.
- Step 603 Router 1 sends a Layer 3 packet to Router 2.
- Step 604 router 2 detects that the newly added packet header and forwarding port number 1000 carried by the received Layer 3 packet is the forwarding port number and the newly added packet header agreed upon by Router 1 and Router 2, and extracts the Layer 3 packet. Layer 2 packets encapsulated in .
- Step 605 Router 2 sends the Layer 2 packet to Device B.
- the first forwarding device after receiving the Layer 2 packet sent by the first user equipment, the first forwarding device obtains the forwarding port number and the newly added packet header, determines the packet encapsulation method, and then determines the packet encapsulation method according to the Packet encapsulation method, forwarding port number, and new header to encapsulate Layer 2 packets to obtain Layer 3 packets capable of wireless communication, and then use wireless communication to send Layer 3 packets to the second forwarding device , so that when the second forwarding device receives the Layer 3 packet, it can directly extract the Layer 2 packet sent by the first user equipment encapsulated in the Layer 3 packet, and directly send the Layer 2 packet to the second user equipment.
- Wireless communication between the first user equipment and the second user equipment is mapped to the packet sent by the first user equipment.
- the packets can be wirelessly communicated, and the second forwarding device directly extracts the Layer 2 packets sent by the first user equipment encapsulated in the Layer 3 packets. It enables the Layer 3 packets to be restored to the Layer 2 packets that can be received by the second user equipment, so as to enable wireless communication between existing user equipments without the need to modify or replace the user equipment. Purpose.
- the fourth embodiment of the present application relates to a message transmission system, as shown in FIG. 7 , including:
- the first user equipment 701 is configured to send a Layer 2 packet to the first forwarding device.
- the first forwarding device 702 is configured to receive the Layer 2 packet sent by the first user equipment, determine the forwarding port number, the packet encapsulation method, and the newly added packet header, and determine the forwarding port number, the packet encapsulation method, and the newly added packet header according to the packet encapsulation method, the forwarding port number, and the newly added packet.
- the header encapsulates the Layer 2 packet, obtains the Layer 3 packet, and sends the Layer 3 packet to the second forwarding device.
- the second forwarding device 703 receives the packet sent by the first forwarding device, detects whether the packet is a Layer 3 packet, and if so, detects whether the packet meets the correct sending condition, where the correct sending condition is that the packet is carried and the first forwarding The newly added packet header and forwarding port number pre-agreed between the devices. If yes, extract the Layer 2 packet encapsulated in the packet and send the Layer 2 packet to the second user equipment, where the Layer 2 packet is the first user equipment. message sent;
- the second user equipment 704 receives the packet sent by the second forwarding device.
- this embodiment is a system embodiment corresponding to the first to third embodiments, and this embodiment can be implemented in cooperation with the first to third embodiments.
- the related technical details mentioned in the first to third embodiments are still valid in this embodiment, and are not repeated here in order to reduce repetition.
- the related technical details mentioned in this embodiment can also be applied to the first to third embodiments.
- a logical unit may be a physical unit, a part of a physical unit, or multiple physical units.
- a composite implementation of the unit in order to highlight the innovative part of the present application, this embodiment does not introduce units that are not closely related to solving the technical problem raised by the present application, but this does not mean that there are no other units in this embodiment.
- the fifth embodiment of the present application relates to a network device, as shown in FIG. 8 , comprising: at least one processor 801; and a memory 802 communicatively connected to the at least one processor 801; An instruction executed by one processor 801, where the instruction is executed by at least one processor 801, so that at least one processor 801 can execute the packet transmission method described in any of the foregoing method embodiments.
- the memory 802 and the processor 801 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 801 and various circuits of the memory 802 together.
- the bus may also connect together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein.
- the bus interface provides the interface between the bus and the transceiver.
- a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium.
- the data processed by the processor 801 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 801 .
- the processor 801 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions.
- the memory 802 may be used to store data used by the processor 801 when performing operations.
- the sixth embodiment of the present application relates to a computer-readable storage medium storing a computer program.
- the above method embodiments are implemented when the computer program is executed by the processor.
- the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (10)
- 一种报文传输方法,包括:接收第一用户设备发送的二层报文;获取转发端口号和新增报文头部并确定报文封装方式;根据所述报文封装方式、所述转发端口号和所述新增报文头对所述二层报文进行封装,获取三层报文;将所述三层报文发送给第二转发设备。
- 根据权利要求1所述的方法,其中,所述获取转发端口号和新增报文头部并确定报文封装方式,包括:确定所述第二转发设备;获取与所述第二转发设备之间预先约定的所述转发端口号和所述新增报文头;获取用户对所述二层报文的传输需求;根据所述传输需求确定所述报文封装方式。
- 根据权利要求1或2所述的方法,其中,所述根据所述报文封装方式、所述转发端口号和所述新增报文头对所述二层报文进行封装,获取三层报文,包括:进行数据拨号并将拨号后分配的IP地址确定为源IP地址;将所述第二转发设备预设的IP地址确定为目的IP地址;根据所述源IP地址和所述目的IP地址获取IP头;根据所述报文封装方式和所述转发端口号获取协议报文头;对所述IP头、所述协议报文头、所述新增报文头和所述二层报文进行封装,获取所述三层报文。
- 根据权利要求1至3中任一项所述的方法,其中,所述报文封装方式为TCP封装或UDP封装。
- 根据权利要求1至4中任一项所述的方法,其中,还包括:接收用户指令;根据所述用户指令预先约定所述转发端口号、所述新增报文并设置所述第二转发设备的IP地址。
- 一种报文传输方法,包括:接收第一转发设备发送的报文;检测所述报文是否为三层报文,其中,所述三层报文为携带新增报文头和转发端口号的报文;若是,检测所述新增报文头和所述转发端口号是否为与所述第一转发设备之间预先约定的报文头和端口号;若是,提取所述报文中封装的二层报文,将所述二层报文发送给第二用户设备,其中,所述二层报文为第一用户设备发送的报文。
- 根据权利要求6所述的方法,其中,还包括:若所述报文不为三层报文,将所述报文发送给所述第二用户设备。
- 一种报文传输系统,包括:第一用户设备,用于向第一转发设备发送二层报文;第一转发设备,用于接收所述第一用户设备发送的所述二层报文,确定转发端口号、报文封装方式和新增报文头,根据所述报文封装方式、所述转发端口号和所述新增报文头对所述二层报文进行封装,获取三层报文,将所述三层报文发送给第二转发设备;第二转发设备,接收所述第一转发设备发送的报文,检测所述报文是否为三层报文,若是,检测所述报文是否满足正确发送条件,其中,所述正确发送条件为所述报文携带与所述第一转发设备之间预先约定的新增报文头和转发端口号,若是,提取所述报文中封装的二层报文,将所述二层发送给第二用户设备,其中,所述二层报文为所述第一用户设备发送的报文;第二用户设备,接收所述第二转发设备发送的报文。
- 一种网络设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至5中任意一项所述报文传输方法,或者能够执行如权利要求6或7所述报文传输方法。
- 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至5中任一项所述的报文传输方法,或者能够实现如权利要求6或7所述报文传输方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/255,926 US20240048644A1 (en) | 2020-12-23 | 2021-10-27 | Message transmission method and system, and network device and storage medium |
EP21908841.6A EP4243383A4 (en) | 2020-12-23 | 2021-10-27 | MESSAGE TRANSMISSION METHOD AND SYSTEM, AND NETWORK DEVICE AND STORAGE MEDIUM |
JP2023532575A JP2023551687A (ja) | 2020-12-23 | 2021-10-27 | メッセージ伝送方法、システム、ネットワーク装置、及び記憶媒体 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011538853.2 | 2020-12-23 | ||
CN202011538853.2A CN114745351A (zh) | 2020-12-23 | 2020-12-23 | 报文传输方法、系统、网络设备和存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022134840A1 true WO2022134840A1 (zh) | 2022-06-30 |
Family
ID=82157423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/126781 WO2022134840A1 (zh) | 2020-12-23 | 2021-10-27 | 报文传输方法、系统、网络设备和存储介质 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20240048644A1 (zh) |
EP (1) | EP4243383A4 (zh) |
JP (1) | JP2023551687A (zh) |
CN (1) | CN114745351A (zh) |
WO (1) | WO2022134840A1 (zh) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150589A (zh) * | 2006-09-21 | 2008-03-26 | 中兴通讯股份有限公司 | 一种用于链路层的数据转换方法和装置 |
US20100135302A1 (en) * | 2008-12-02 | 2010-06-03 | Electronics And Telecommunications Research Institute | Apparatus and method for processing l2/l3 packet |
CN111917641A (zh) * | 2020-06-29 | 2020-11-10 | 北京瀚诺半导体科技有限公司 | 一种二层网络管理方法及系统 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080279179A1 (en) * | 2003-12-22 | 2008-11-13 | Koninklijke Philips Electronic, N.V. | Ethernet Based Network for Distributing Ip and Non-Ip Signals |
US9154327B1 (en) * | 2011-05-27 | 2015-10-06 | Cisco Technology, Inc. | User-configured on-demand virtual layer-2 network for infrastructure-as-a-service (IaaS) on a hybrid cloud network |
WO2013068790A1 (en) * | 2011-11-11 | 2013-05-16 | Pismo Labs Technology Ltd. | Protocol for layer two multiple network links tunnelling |
US10044841B2 (en) * | 2011-11-11 | 2018-08-07 | Pismo Labs Technology Limited | Methods and systems for creating protocol header for embedded layer two packets |
US9197553B2 (en) * | 2013-03-29 | 2015-11-24 | Cisco Technology, Inc. | Using a virtual internet protocol address to represent dually connected hosts in an internet protocol overlay network |
US10374826B2 (en) * | 2014-06-30 | 2019-08-06 | Pismo Labs Technology Limited | Methods and systems for transmitting broadcast data |
CN104717041A (zh) * | 2015-04-01 | 2015-06-17 | 北京百度网讯科技有限公司 | 数据传输方法和装置 |
US9979557B2 (en) * | 2015-08-10 | 2018-05-22 | Hughes Network Systems, Llc | Carrier grade Ethernet layer 2 over layer 3 satellite backbones (L2oL3SB) |
US10194480B2 (en) * | 2016-03-09 | 2019-01-29 | Cisco Technology, Inc. | Core signalling reduction in dual connectivity |
US9992154B2 (en) * | 2016-06-30 | 2018-06-05 | Juniper Networks, Inc. | Layer 3 convergence for EVPN link failure |
US10212089B1 (en) * | 2017-09-21 | 2019-02-19 | Citrix Systems, Inc. | Encapsulating traffic entropy into virtual WAN overlay for better load balancing |
EP4404532A2 (en) * | 2020-06-24 | 2024-07-24 | Juniper Networks, Inc. | Layer-2 network extension over layer-3 network using encapsulation |
-
2020
- 2020-12-23 CN CN202011538853.2A patent/CN114745351A/zh active Pending
-
2021
- 2021-10-27 WO PCT/CN2021/126781 patent/WO2022134840A1/zh active Application Filing
- 2021-10-27 JP JP2023532575A patent/JP2023551687A/ja active Pending
- 2021-10-27 US US18/255,926 patent/US20240048644A1/en active Pending
- 2021-10-27 EP EP21908841.6A patent/EP4243383A4/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150589A (zh) * | 2006-09-21 | 2008-03-26 | 中兴通讯股份有限公司 | 一种用于链路层的数据转换方法和装置 |
US20100135302A1 (en) * | 2008-12-02 | 2010-06-03 | Electronics And Telecommunications Research Institute | Apparatus and method for processing l2/l3 packet |
CN111917641A (zh) * | 2020-06-29 | 2020-11-10 | 北京瀚诺半导体科技有限公司 | 一种二层网络管理方法及系统 |
Non-Patent Citations (2)
Title |
---|
"3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Radio Link Control (RLC) protocol specification (Release 9)", 3GPP STANDARD; 3GPP TS 25.322, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, no. V9.0.0, 23 December 2009 (2009-12-23), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 88, XP050401538 * |
See also references of EP4243383A4 * |
Also Published As
Publication number | Publication date |
---|---|
JP2023551687A (ja) | 2023-12-12 |
US20240048644A1 (en) | 2024-02-08 |
CN114745351A (zh) | 2022-07-12 |
EP4243383A4 (en) | 2024-04-24 |
EP4243383A1 (en) | 2023-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3585095B1 (en) | Method and device for controlling qos, smf, upf, ue, pcf and an | |
CN110266592B (zh) | Srv6网络与ip mpls网络的通信方法及装置 | |
CN113411313B (zh) | 数据传输方法、装置和系统 | |
US20170244792A1 (en) | Power-Line Carrier Terminal Control Apparatus, System, and Method | |
WO2018059284A1 (zh) | 一种数据传输的方法及网络设备 | |
CN104937896B (zh) | 地址解析协议消息的处理方法和转发器、控制器 | |
EP3611962B1 (en) | Quality of service control method and device | |
US11063810B2 (en) | Information notification method and device | |
CN114073043B (zh) | 以太网网桥端口管理的方法和装置 | |
CN108848025B (zh) | 数据处理方法、智能网关、物联网系统 | |
EP2680507B1 (en) | Packet forwarding method and system, and relay agent device | |
US20180227147A1 (en) | Gateway device and computing device | |
US10250410B2 (en) | Packet processing method and device | |
WO2021238741A1 (zh) | 报文转发方法、系统、设备、节点设备和存储介质 | |
CN110062060B (zh) | 一种ip地址分配的系统和方法 | |
CN202285423U (zh) | 智能机顶盒 | |
CN104995882A (zh) | 报文处理方法及装置 | |
WO2022151420A1 (zh) | 一种数据包传输的方法、装置和系统 | |
WO2022134840A1 (zh) | 报文传输方法、系统、网络设备和存储介质 | |
WO2021031092A1 (zh) | 报文处理方法及网络设备 | |
WO2015096734A1 (zh) | 一种业务数据的下行传输方法及分组数据网关 | |
EP3220584A1 (en) | Wifi sharing method and system, home gateway and wireless local area network gateway | |
WO2018201816A1 (zh) | 消息的传输方法、及设备 | |
US11962673B2 (en) | Packet tunneling and decapsulation with split-horizon attributes | |
WO2023116289A1 (zh) | 用户报文转发的方法、网元、电子设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21908841 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023532575 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18255926 Country of ref document: US |
|
ENP | Entry into the national phase |
Ref document number: 2021908841 Country of ref document: EP Effective date: 20230606 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |