WO2020177642A1 - Ethernet message transmission method, apparatus, and system - Google Patents

Ethernet message transmission method, apparatus, and system Download PDF

Info

Publication number
WO2020177642A1
WO2020177642A1 PCT/CN2020/077299 CN2020077299W WO2020177642A1 WO 2020177642 A1 WO2020177642 A1 WO 2020177642A1 CN 2020077299 W CN2020077299 W CN 2020077299W WO 2020177642 A1 WO2020177642 A1 WO 2020177642A1
Authority
WO
WIPO (PCT)
Prior art keywords
length
ethernet
ethernet packet
mtu
network device
Prior art date
Application number
PCT/CN2020/077299
Other languages
French (fr)
Chinese (zh)
Inventor
黄曲芳
范强
徐小英
娄崇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020177642A1 publication Critical patent/WO2020177642A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • H04L12/413Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection (CSMA-CD)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2805Home Audio Video Interoperability [HAVI] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • H04L47/365Dynamic adaptation of the packet size

Definitions

  • This application relates to the field of wireless communication technology, and in particular to a method, device and system for transmitting Ethernet packets.
  • control device can use the mobile communication system to transmit Ethernet packets, and then realize data transmission.
  • an Ethernet message includes a data field and an Ethernet frame header.
  • the data field includes an IP data packet encapsulated by an internet protocol (IP) header.
  • IP internet protocol
  • the devices in the Ethernet are all configured with a default maximum transmission unit (MTU) length.
  • MTU maximum transmission unit
  • the default MTU length is 1500 bytes (Bytes).
  • an Ethernet device can send the Ethernet packet according to the default MTU length. For example, the length of the data field in the Ethernet packet cannot be greater than 1500 bytes.
  • the longer the data field in the Ethernet message the less the Ethernet message needed to transmit the data to be transmitted, and the less the overhead of the IP header and the Ethernet frame header.
  • the default MTU length limits the length of the data field in the Ethernet packet, so that any device in the Ethernet needs to send multiple Ethernet packets when sending data that exceeds the default MTU length.
  • the text can complete the data transmission, which increases the overhead of the IP packet header and the Ethernet frame header.
  • the present application provides a method, device and system for transmitting Ethernet packets, which are used to reduce the overhead of IP packet headers and Ethernet frame headers.
  • an embodiment of the present application provides an Ethernet packet transmission method, including: a control device generates a first Ethernet packet according to a first maximum transmission unit MTU length, and the length of the data field in the first Ethernet packet It is greater than the default MTU length of the control device and not greater than the first MTU length; further, the control device sends the aforementioned first Ethernet packet to the network device.
  • the length of the data field in the first Ethernet message sent by the control device is no longer limited to the default MTU length, and the first Ethernet message with the data field length greater than the default MTU length can be sent according to the first MTU length, so that as a whole Reduce the number of Ethernet packets, thereby reducing the overhead of IP packet headers and Ethernet frame headers.
  • the control device may also receive the first information sent by the network device, and obtain the first MTU length according to the first information.
  • the network device instructs the first MTU for the control device, so that the method for the control device to obtain the first MTU is more flexible and can be adjusted adaptively according to different terminal devices.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  • the first MTU can be determined by the above method so that the length of the data field in the first Ethernet packet sent by the control device does not exceed the terminal device
  • the maximum data field length supported by the device and the network device helps to improve the success rate of the first Ethernet packet transmission.
  • the method further includes: if the control device determines to support receiving an Ethernet packet with a data field length of the first MTU length, sending to the network device Second information, the second information is used to instruct the terminal device to send a second Ethernet packet according to the first MTU length; the control device receives the second Ethernet packet sent by the network device, and the second Ethernet packet is a network device The Ethernet packet received from the terminal device and sent by the terminal device according to the foregoing second information.
  • control device determines that it can receive an Ethernet packet whose data field size is the first MTU length, it can send second information to the terminal device so that the terminal device can also send a second Ethernet packet with a data field length greater than the default MTU. It is beneficial to reduce the IP header overhead and Ethernet frame header overhead at the terminal equipment.
  • control device before the control device sends the first Ethernet packet to the network device, it may also merge multiple segmented Ethernet packets into the first Ethernet packet.
  • low-priority Ethernet packets may be divided into multiple segmented Ethernet packets to be sent separately, thus reducing wireless resource utilization and possibly increasing the overhead of the Ethernet frame header .
  • the control device combines multiple segmented Ethernet messages into one Ethernet message before sending it, which is beneficial to improve the utilization rate of wireless resources and also helps to reduce the overhead of the Ethernet frame header.
  • an embodiment of the present application provides an Ethernet packet transmission method, including: a terminal device receives a first Ethernet packet sent by a network device, and the first Ethernet packet is sent by a control device to the network device, An Ethernet packet whose data field length is greater than the default MTU length of the control device and not greater than the first MTU length; further, the terminal device processes the first Ethernet packet.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  • the terminal device may also receive the second information sent by the network device; obtain the first MTU length according to the second information; the terminal device may send the second Ethernet packet to the network device according to the first MTU length ,
  • the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first MTU length.
  • the terminal device may also merge multiple segmented Ethernet packets into a second Ethernet packet.
  • an embodiment of the present application provides an Ethernet packet transmission method, including: a network device receives a first Ethernet packet sent by a control device, and the length of the data field in the first Ethernet packet is greater than that of the control device The default maximum transmission unit MTU length is not greater than the first MTU length; the network device then sends the first Ethernet packet to the terminal device.
  • the network device may also obtain the first MTU length, and send first information to the control device, where the first information is used to indicate the first Ethernet packet sent by the control device.
  • One MTU length is used to indicate the first Ethernet packet sent by the control device.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  • the network device may also receive the second information sent by the control device, and forward the second information to the terminal device.
  • the second information is used to instruct the terminal device to send the second Ethernet according to the first MTU length.
  • the network device may also combine multiple segmented Ethernet packets into the foregoing first Ethernet packet.
  • an embodiment of the present application provides an apparatus including: a processing unit and a communication unit; wherein the processing unit is configured to generate a first Ethernet packet according to the first maximum transmission unit MTU length, and the first Ethernet packet The length of the data field in the text is greater than the default MTU length of the device and not greater than the first MTU length; the communication unit is used to send the first Ethernet message to the network device.
  • the communication unit is further configured to: receive the first information sent by the network device; the processing unit is further configured to: obtain the first MTU length according to the first information.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  • the processing unit is further configured to: if it is determined to support receiving an Ethernet packet with a data field length of the first MTU length, control the communication unit to send second information to the network device, and the second information is used for Instruct the terminal device to send a second Ethernet packet according to the first MTU length; the communication unit is further configured to: receive a second Ethernet packet sent by the network device, the second Ethernet packet is received by the network device from the terminal device, The Ethernet packet sent by the terminal device according to the second information.
  • the processing unit is further configured to merge multiple segmented Ethernet packets into the first Ethernet packet.
  • an embodiment of the present application provides an apparatus including: a processing unit and a communication unit; wherein the communication unit is configured to receive a first Ethernet packet sent by a network device, and the first Ethernet packet is a control device An Ethernet packet with a data field length greater than the default MTU length of the control device and not greater than the first MTU length sent to the network device; the processing unit is used to process the first Ethernet packet.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the apparatus and the maximum data field length supported by the network device.
  • the communication unit is further configured to receive second information sent by the network device; the processing unit is further configured to: obtain the first MTU length according to the second information; and control the communication unit to send to the network according to the first MTU length
  • the device sends a second Ethernet packet, and the length of the data field in the second Ethernet packet is greater than the default MTU length of the device and not greater than the first MTU length.
  • the processing unit is further used for: merging multiple segmented Ethernet packets into Ethernet packets.
  • an embodiment of the present application provides an apparatus including: a processing unit and a communication unit; wherein the communication unit is configured to receive a first Ethernet packet sent by a control device, and the data field in the first Ethernet packet The length of is greater than the default maximum transmission unit MTU length of the control device and not greater than the first MTU length; the processing unit is configured to control the communication unit to send the first Ethernet packet to the terminal device.
  • the processing unit is further configured to: obtain the first MTU length, and send first information to the control device, where the first information is used to indicate the first MTU length.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the device.
  • the communication unit is further configured to: receive the second information sent by the control device;
  • the processing unit is further used to: control the communication unit to forward the second information to the terminal device, the second information is used to instruct the terminal device to send a second Ethernet packet according to the first MTU length; the communication unit is also used to: receive the terminal device sent In the second Ethernet packet, the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first MTU length.
  • the processing unit is further configured to merge multiple segmented Ethernet packets into the first Ethernet packet.
  • an embodiment of the present application provides a device, including a processor and a transceiver; wherein the processor is used to run program instructions and cooperate with the transceiver to enable the device to implement the same as provided in any one of the first aspect , Or any of the methods provided in the second aspect, or any of the methods provided in the third aspect.
  • embodiments of the present application also provide a computer-readable storage medium that stores instructions in the computer-readable storage medium, which when run on a computer, causes the computer to execute the methods provided in the foregoing aspects.
  • an embodiment of the present application also provides a communication system, which includes a control device in any design of the first aspect, a terminal device in any design of the second aspect, and the third Any kind of network equipment in the design.
  • the embodiments of the present application also provide a computer program product including instructions, which when run on a computer, cause the computer to execute the methods provided in the foregoing aspects.
  • FIG. 1 is a schematic diagram of the architecture of a possible communication system to which the embodiments of this application are applicable;
  • FIG. 2 is a schematic diagram of a protocol stack structure of a control device provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of an IP header format
  • FIG. 4 is a schematic flowchart of an Ethernet packet transmission method provided by an embodiment of the application.
  • FIG. 5 is a schematic flowchart of a method for indicating a first MTU length for a control device according to an embodiment of this application;
  • FIG. 6 is a schematic diagram of an Ethernet message segmentation
  • FIG. 7 is a schematic diagram of a protocol stack structure of a control device provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of a device provided by an embodiment of this application.
  • FIG. 9 is a schematic diagram of an apparatus provided by an embodiment of the application.
  • FIG. 1 is a schematic diagram of the architecture of a possible communication system to which an embodiment of this application is applicable.
  • the communication system shown in Figure 1 includes control equipment, network equipment and terminal equipment. It should be understood that FIG. 1 is only a schematic diagram of the architecture of the communication system.
  • the number of network devices and the number of terminal devices in the communication system are not limited, and the communication system to which the embodiment of this application applies except includes network devices.
  • other devices may also be included, such as gateway devices, core network devices, wireless relay devices, and wireless backhaul devices, which are not limited in this embodiment of the present application.
  • the network device and the control device in the embodiment of the present application may integrate all the functions in one independent physical device, or may distribute the functions on multiple independent physical devices, which is not limited in the embodiment of the present application.
  • the terminal device in the embodiments of the present application may be connected to the network device in a wireless manner, and the control device may be directly or indirectly connected to the network device in a wired or wireless manner.
  • the control device may directly establish a communication link with the network device, or may establish a communication link with the network device through a gateway device, and so on, which is not limited in the embodiment of the present application.
  • the network device may be a device that can communicate with terminal devices.
  • the network device can be any device with a wireless transceiver function. Including but not limited to: base station (for example, base station NodeB, evolved base station eNodeB, base station gNodeB in 5G communication system, base station or network equipment in future communication system, access node in WiFi system, wireless relay node, wireless back Transmission node) and so on.
  • the network device may also be a wireless controller in a cloud radio access network (cloud radio access network, CRAN) scenario.
  • the network device may also be a small station, a transmission reference point (TRP), etc.
  • the network device may also be NodeX, which is used to forward wireless signals.
  • the wireless signals may carry Ethernet packets.
  • the application is not limited to this.
  • a terminal device is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as airplanes, Balloons and satellites are classy).
  • the terminal device may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (Augmented Reality, AR) terminal device, an industrial control ( Wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grids, and transportation safety Wireless terminal, wireless terminal in smart city, wireless terminal in smart home, etc.
  • Terminal equipment can sometimes be called user equipment (UE), access terminal equipment, UE unit, UE station, mobile station, mobile station, remote station, remote terminal equipment, mobile equipment, UE terminal equipment, terminal equipment, Wireless communication equipment, UE agent or UE device, etc.
  • UE user equipment
  • access terminal equipment UE unit
  • UE station mobile station
  • mobile station mobile station
  • remote station remote terminal equipment
  • mobile equipment UE terminal equipment
  • terminal equipment Wireless communication equipment
  • UE agent or UE device etc.
  • Control equipment is used to control terminal equipment or provide services for terminal equipment.
  • the control device may be a content server, and for another example, the control device may be a control center in an industrial private network.
  • the control device can be integrated with the gateway device in the same physical device, that is, the gateway device executes the Ethernet packet transmission method provided in the embodiments of this application, and the control device executes A step of.
  • the communication systems to which the above system architecture is applicable include but are not limited to: Time Division Duplexing-Long Term Evolution (TDD LTE), Frequency Division Duplexing-Long Term Evolution (Frequency Division Duplexing-Long Term Evolution, FDD LTE) , Long Term Evolution-Advanced (LTE-A), and various wireless communication systems that will evolve in the future, such as 5G NR communication systems.
  • TDD LTE Time Division Duplexing-Long Term Evolution
  • FDD LTE Frequency Division Duplexing-Long Term Evolution
  • LTE-A Long Term Evolution-Advanced
  • the communication system shown in Figure 1 is widely used for data transmission in Ethernet.
  • the control device can transfer Ethernet packets between the mobile communication system and the terminal device to realize data transmission.
  • FIG. 2 is a schematic diagram of the protocol stack structure of a control device provided by an embodiment of this application. Based on the protocol stack shown in FIG. 2, the control device can produce and send Ethernet packets . As shown in Figure 2, the protocol stack of the control device includes at least an application layer, an IP layer, an Ethernet layer, and a 5G network layer (it can also be other wireless network layers such as 4G network layer, 3G network layer, etc., which will not be repeated here).
  • control device can generate and send an Ethernet packet through the following process:
  • Step 1 Generate the data to be transmitted through the application layer.
  • Step 2 The control device can divide the data to be transmitted into multiple data segments through the IP layer, and add an IP header to each data segment to obtain multiple IP data packets.
  • Figure 3 is a schematic diagram of an IP header format. As shown in FIG. 3, the IP header includes multiple indication information such as version, header length, service type, total length, protocol, etc., where the total length is used to indicate the length of the data segment in the IP header. In the IP packet header shown in FIG. 3, the total length can occupy 16 bits. Therefore, theoretically, the length of the data segment in the IP data packet can be up to 65536 (2 16 ) Bytes.
  • Step 3 Encapsulate IP data packets through the Ethernet layer and add an Ethernet frame header to each IP data packet to obtain multiple Ethernet packets.
  • the Ethernet message includes an Ethernet frame header and a data field.
  • the data field includes the above-mentioned IP data packet. In some scenarios, it may also include an indicator bit at the end of the Ethernet message.
  • Step 4 Send the Ethernet message through the 5G network layer so that the Ethernet message can adapt to the 5G communication protocol, and then the Ethernet message can be transmitted through the 5G network.
  • the devices in the Ethernet are configured with a default maximum transmission unit (MTU) length, so that the Ethernet packets will not exceed the maximum packet supported by each device in the Ethernet.
  • Text length Generally, the default MTU length is 1500 Bytes.
  • an Ethernet device can send an Ethernet packet according to the default MTU length, that is, the length of the data field in an Ethernet packet cannot be greater than 1500 Bytes. Based on this, even if the length of the data segment in the IP data packet can reach up to 65536 Bytes, it is still necessary to control the length of the IP data packet to not exceed 1500 Bytes.
  • Ethernet based on mobile communication networks can already support the transmission of larger lengths of Ethernet packets.
  • 5G networks can support the transmission of 9000Bytes Ethernet packets, and this length will still be available in the future. It is possible to improve further.
  • the default MTU length limits the length of the data field in the Ethernet message, so that the Ethernet cannot make full use of the transmission performance of the mobile communication network.
  • the length of the data field in the Ethernet message is relatively short, the number of Ethernet messages required for data transmission is increased, thereby increasing the overhead of the IP packet header and the Ethernet frame header.
  • an embodiment of the present application provides an Ethernet packet transmission method.
  • the following uses Embodiment 1, Embodiment 2 and Embodiment 3 to further illustrate the methods provided in the embodiments of the present application.
  • Fig. 4 exemplarily shows a schematic flow chart of an Ethernet packet transmission method. As shown in Fig. 4, it mainly includes the following steps:
  • the control device generates a first Ethernet packet according to the first MTU length.
  • the value of the first MTU length in the control device is greater than the default MTU length.
  • the first MTU length can be manually configured by the background or can be instructed by the network device as the control device. No restrictions.
  • the length of the data field in the first Ethernet packet generated by the control device according to the first MTU length may be greater than the default MTU length, but may not exceed the first MTU length.
  • the length of the data field in the first Ethernet packet generated by the control device can be 800 Bytes or 2000 Bytes, but cannot exceed 9000 Bytes.
  • the control device sends the first Ethernet packet to the network device.
  • the network device receives the first Ethernet packet sent by the control device, and forwards the received first Ethernet packet to the terminal device.
  • S404 The terminal device receives the first Ethernet packet forwarded by the network device, and processes the received first Ethernet packet.
  • the network device transmits the first Ethernet message to the terminal device. Moreover, since the length of the data field in the first Ethernet packet sent by the control device is no longer limited to the default MTU length, the control device can send the first Ethernet packet whose data field length exceeds the default MTU length according to the first MTU length , Thereby reducing the number of Ethernet packets as a whole, thereby helping to reduce the overhead of IP packet headers and Ethernet frame headers.
  • the first Ethernet packet sent by the control device needs to be transmitted to the terminal device via the network device.
  • the first MTU length is not greater than the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  • the maximum data field length supported by the terminal device can be determined according to the version number of the communication protocol supported by the terminal device (or the maximum frame length of the Ethernet packet supported by the terminal device can be determined first according to the version number of the communication protocol.
  • the maximum data field length supported by the terminal device is then determined, and the same is true in the following, and will not be repeated), that is, under the current communication protocol version, the maximum data field length in the Ethernet packet that the terminal device can transmit.
  • the maximum data field length supported by the network device can be determined according to the version number of the communication protocol supported by the network device, that is, under the current communication protocol version, the maximum data in the Ethernet packet that the network device can transmit The length of the field.
  • the first Ethernet packet generated by the network device according to the first MTU length is generally The maximum frame length of the Ethernet message supported by the network device and the terminal device will not be exceeded, thereby helping to improve the success rate of the first Ethernet message being transmitted between the network device and the terminal device.
  • FIG. 5 exemplarily shows a schematic flowchart of a method for a network device to indicate a first MTU length for a control device, and this process may be performed before the process shown in FIG. 4. As shown in Figure 5, it mainly includes the following steps:
  • the network device obtains the first MTU length.
  • the network device can determine the version number of the communication protocol supported by the terminal device when establishing a connection with the terminal device. Based on this, the network device can determine the first MTU length.
  • the network device can determine the first MTU length. For specific implementation, please refer to the description of the first MTU in Embodiment 1, which will not be repeated.
  • the network device indicates the first MTU length for the control device, which can make the control device obtain the first MTU length more flexible, and can be adjusted adaptively according to different terminal devices. For example, assuming that the maximum data field length supported by the network device is 6000 Bytes, and the maximum data field length supported by the terminal device 1 is 5000 Bytes, the network device obtains the first MTU length of 5000 Bytes, that is, the transmission between the control device and the terminal device 1 The maximum length of the data field in an Ethernet message is 5000 Bytes.
  • the network device acquires the first MTU length of 3000 Bytes, that is, the maximum length of the data field in the Ethernet packet transmitted between the control device and the terminal device 2 is 3000 Bytes.
  • the network device sends first information to the control device, where the first information is used to indicate the first MTU length.
  • the control device receives the first information sent by the network device, and obtains the first MTU length according to the first information.
  • the control device can generate the first Ethernet packet according to the acquired first MTU length, and send the generated first Ethernet packet to the terminal device through the network device.
  • the control device can also indicate the first MTU length for the terminal device, so that the terminal device can also generate a second Ethernet packet according to the first MTU length, thereby reducing the IP header and The overhead of the Ethernet frame header.
  • the control device may also perform S504: the control device determines whether it supports receiving an Ethernet packet with a data field length of the first MTU length. Specifically, the control device can judge according to the transmission condition of the communication link with the network device, or judge according to the size of the data field in the Ethernet packet that has been received from the network device and sent by other terminal devices, for example, If the control device has ever received an Ethernet packet with a data field length not less than the first MTU length from a network device, it can be determined that it can support receiving an Ethernet packet with a data field length of the first MTU length, etc., this application The embodiment does not limit this.
  • control device determines that it supports receiving an Ethernet packet with a data field length of the first MTU length, it can execute S505 to send the second information to the network device, otherwise, it can execute S510 to end the process of indicating the first MTU length for the terminal device .
  • the network device receives the second information sent by the control device, and forwards the second information to the terminal device.
  • the terminal device receives the second information sent by the network device, and obtains the first MTU length according to the second information.
  • the terminal device may generate a second Ethernet packet according to the first MTU length, and send the second Ethernet packet to the network device.
  • the length of the data field may be greater than the default MTU length of the terminal device and not greater than the first MTU length, thereby helping to reduce the overhead of the IP header and the Ethernet frame header at the terminal device.
  • the network device receives the second Ethernet packet sent by the terminal device, and forwards the received second Ethernet packet to the control device. After the control device receives the second Ethernet packet forwarded by the network device, it completes the transmission of the second Ethernet packet from the terminal device to the control device.
  • the control device When the Ethernet is a time-sensitive network (TSN), the control device (same as the terminal device) may segment the low-priority IP data packet when it generates the first Ethernet packet through the Ethernet layer .
  • the Ethernet layer of the control device includes a message generating module and a message sending module, wherein the message generating module is used to generate the first Ethernet message, and the message sending module is used to transfer the first Ethernet message Send to the next layer of the ether layer.
  • Fig. 6 suppose that the message generating module generates an Ethernet message A, and the message sending module sends the Ethernet message A to the 5G network layer, and the 5G network layer sends the Ethernet message A through the wireless air interface.
  • the message sending module sends Ethernet message A to the 5G network layer
  • the message generation module generates an Ethernet message B with a higher priority.
  • the message sending module can Message A is segmented, which can also be understood as that the message sending module stops sending Ethernet message A and instead sends Ethernet message B. Therefore, Ethernet message A is divided into two segmented Ethernet messages—Sent The segmented Ethernet message A1 for the 5G network layer and the unsent segmented Ethernet message A2.
  • the message generation module can add the Ethernet frame header to the segmented Ethernet message A2, and the message sending module will continue to send the segment with the added Ethernet frame header after sending the Ethernet message B.
  • the message generation module may not add an Ethernet frame header to the segmented Ethernet message A2, and the message sending module continues to send the segmented Ethernet message A2 after sending the Ethernet message B.
  • control device will sequentially send segmented Ethernet messages A1, Ethernet messages B, and segmented Ethernet messages A2 to the network devices.
  • segmented Ethernet messages A1 and the segmented Ethernet messages A2 are actually an Ethernet Net message—Ethernet message A.
  • the low-priority Ethernet packet A is divided into two segmented Ethernet packets and sent.
  • the Ethernet packet A is segmented Sending increases the number of packets that need to be transmitted, which is not conducive to improving wireless resource utilization.
  • the Ethernet frame header is also added to the segmented Ethernet message A2, more Ethernet frame headers need to be occupied, which increases the overhead of the Ethernet frame header.
  • the control device may also merge multiple segmented Ethernet packets of the first Ethernet packet into a complete first Ethernet packet. Ethernet packets, thereby reducing the number of packets transmitted on the wireless air interface and improving the utilization of wireless resources.
  • the control device may use the protocol stack shown in FIG. 7, and an adaptation layer is added between the Ethernet layer and the 5G network layer. Based on the protocol stack shown in FIG. 7, the control device can buffer the segmented Ethernet message A1 and the segmented Ethernet message A2 of the Ethernet message A through the adaptation layer. Specifically, the message sending module in the Ethernet layer sends the Ethernet message A to the adaptation layer after the message generation module generates the Ethernet message A. Since in the process of sending the Ethernet message A, the message generating module generates the Ethernet message B, and the message sending module sends the Ethernet message B instead. In this case, the adaptation layer receives and buffers the segmented Ethernet message A1, and then receives the Ethernet message B.
  • the adaptation layer sends the Ethernet packet B to the 5G network layer, and the 5G network layer sends the Ethernet packet B through the wireless air interface.
  • the message generation module continues to send the segmented Ethernet message A2.
  • the adaptation layer receives the segmented Ethernet message A2, it combines the segmented Ethernet message A1 and the segmented Ethernet message A2 into an Ethernet message A, and sends it to the 5G network layer.
  • the adaptation layer can determine whether the first Ethernet packet can be sent through the identification information at the end of the segmented Ethernet packet.
  • the message sending module of the Ethernet layer can add first identification information to the end of the segmented Ethernet message A2 to indicate that the Ethernet message A has been sent.
  • it can also be The second identification information is added to the end flag of the segmented Ethernet message A1, indicating that the Ethernet message has not yet been sent.
  • the first identification information can also be added to the identification bit at the end of the Ethernet message B to indicate that the Ethernet message B has been sent.
  • the adaptation layer can mainly perform the following steps in the process of the control device sending Ethernet packet A and Ethernet packet B:
  • the adaptation layer After receiving the segmented Ethernet message A1, the adaptation layer determines that the Ethernet message A corresponding to the segmented Ethernet message A1 has not been sent yet according to the second identification information at the end of the segmented Ethernet message A1. Cache segmented Ethernet message A1. Or, because the end identification bit of the segmented Ethernet message A1 is not added with the first identification information, it is determined that the Ethernet message A corresponding to the segmented Ethernet message A1 has not been sent yet.
  • the adaptation layer After receiving the Ethernet message B, the adaptation layer determines that the Ethernet message B has been sent according to the first identification information of the identification bit at the end of the Ethernet message B. Moreover, because the segmented Ethernet message A1 is a segmented Ethernet message of the lower priority Ethernet message, it can be determined that the Ethernet message B is a complete Ethernet message with a higher priority, and then It is determined that there is no need to merge the segmented Ethernet message A1 and the Ethernet message B. The adaptation layer sends the Ethernet packet B to the 5G network layer, and the 5G network layer sends the Ethernet packet B through the wireless air interface.
  • the adaptation layer After receiving the segmented Ethernet message A2, the adaptation layer determines that the Ethernet message A corresponding to the segmented Ethernet message A2 has been sent according to the second identification information at the end of the segmented Ethernet message A2. In this case, the adaptation layer combines the segmented Ethernet message A1 and the segmented Ethernet message A2 into the Ethernet message A, and then sends it to the 5G network layer, and the 5G network layer sends the Ethernet message through the wireless air interface A.
  • the terminal device can also merge multiple segmented Ethernet packets of the second Ethernet packet into a complete second Ethernet packet, and then Send the second Ethernet message.
  • the control device can also merge multiple segmented Ethernet packets of the second Ethernet packet into a complete second Ethernet packet, and then Send the second Ethernet message.
  • the network device forwards the first Ethernet packet to the terminal device, it can also merge multiple segmented Ethernet packets of the first Ethernet packet into a complete first Ethernet packet, and then Send the first Ethernet message.
  • the network device forwards the second Ethernet packet to the control device in the same way.
  • the control device can send a segmented Ethernet message A1 and a segmented Ethernet message A2 to the network device.
  • the network device can also use the protocol stack shown in FIG. 7.
  • the network device forwarding the Ethernet packet A and the Ethernet packet B to the terminal device mainly includes the following steps:
  • Step 1 After receiving the segmented Ethernet message A1, according to the first identification information at the end of the segmented Ethernet message A1, it can be determined that the Ethernet message to which the segmented Ethernet message A1 belongs has not yet been sent. In this case, the network device can buffer the segmented Ethernet message A1 in the adaptation layer.
  • Step 2 Ethernet message B is received, because the Ethernet message B includes a complete frame header, the end identifier includes the second identification information, and the message received before the Ethernet message B is a segmented Ethernet message Therefore, the network device can determine that the Ethernet message B is a complete Ethernet message with a higher priority. Then, the network device can forward the Ethernet packet B to the terminal device through the 5G network layer.
  • Step 3 After receiving the segmented Ethernet message A2, according to the second identification information at the end of the segmented Ethernet message A2, the Ethernet message A corresponding to the segmented Ethernet message A1 and the segmented Ethernet message A2 can be determined It has been sent.
  • the network device merges the segmented Ethernet message A1 and the segmented Ethernet message A2 through the adaptation layer to obtain a complete Ethernet message A, and forwards the obtained Ethernet message A to the terminal device.
  • the 5G network layer shown in FIG. 7 may also be a 4G network layer or other network layers, which is not limited in this application.
  • the network device receives the Ethernet message C first, and the message sending module in the Ethernet layer of the network device needs to send the Ethernet message C to the next layer of the Ethernet layer, such as the adaptation layer in Figure 7. If the message sending module sends the Ethernet message C to the next layer of the Ethernet layer, and the network device receives the higher priority Ethernet message D, the message sending module stops sending to the adaptation layer For Ethernet message C, send the Ethernet message D instead, and then continue to send the remaining segmented Ethernet messages of the Ethernet message C after sending the Ethernet message D.
  • the adaptation layer can first buffer the segmented Ethernet message of the received Ethernet message C. After receiving the Ethernet message D and sending the Ethernet message D to the 5G network layer, the remaining Ethernet message C is received And merge the segmented Ethernet message corresponding to Ethernet message C into Ethernet message C. After that, the Ethernet message C is sent to the 5G network layer.
  • the Ethernet message A and Ethernet message B sent by the control device which will not be repeated here.
  • the network equipment can also implement the above functions through the improved Ethernet layer or the improved 5G network layer, which will not be repeated here.
  • control device in order to implement the above-mentioned functions, the control device, network device or terminal device may include hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • FIG. 8 shows a possible exemplary block diagram of a device involved in an embodiment of the present application, and the device 800 may exist in the form of software.
  • the apparatus 800 may include: a processing unit 802 and a communication unit 803.
  • the processing unit 802 is used to control and manage the actions of the device 800.
  • the communication unit 803 is used to support communication between the device 800 and other network entities.
  • the device 800 may further include a storage unit 801 for storing program codes and data of the device 800.
  • the processing unit 802 may be a processor or a controller, for example, a general-purpose central processing unit (central processing unit, CPU), a general-purpose processor, a digital signal processing (digital signal processing, DSP), and an application specific integrated circuit (application specific integrated circuit). circuits, ASIC), field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the communication unit 803 may be a communication interface, a transceiver, or a transceiving circuit, etc., where the communication interface is a general term. In a specific implementation, the communication interface may include multiple interfaces.
  • the storage unit 801 may be a memory.
  • the apparatus 800 may be the control device in any of the above embodiments, or may also be a semiconductor chip provided in the control device.
  • the processing unit 802 may support the apparatus 800 to perform the actions of controlling the device in the foregoing method examples, and the communication unit 803 may support the communication between the apparatus 800 and the network device.
  • the processing unit 802 is configured to generate a first Ethernet packet according to the first maximum transmission unit MTU length, and the length of the data field in the first Ethernet packet is greater than the default MTU length of the device 800 And not greater than the first MTU length;
  • the communication unit 803 is configured to send the first Ethernet packet to the network device.
  • the communication unit 803 is further configured to: receive the first information sent by the network device;
  • the processing unit 802 is further configured to obtain the first MTU length according to the first information.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  • the processing unit 802 is further configured to: if it is determined to support receiving an Ethernet packet with a data field length of the first MTU length, control the communication unit 803 to send the second information to the network device. Used to instruct the terminal device to send the second Ethernet packet according to the first MTU length;
  • the communication unit 803 is further configured to receive a second Ethernet packet sent by the network device, where the second Ethernet packet is a second Ethernet packet received by the network device from the terminal device and sent by the terminal device according to the second information.
  • the processing unit 802 is further configured to merge multiple segmented Ethernet packets into a first Ethernet packet.
  • the apparatus 800 may also be the terminal device in any of the above embodiments, or may also be a semiconductor chip provided in the terminal device.
  • the processing unit 802 may support the apparatus 800 to perform the actions of the terminal device in the foregoing method examples, and the communication unit 803 may support the communication between the apparatus 800 and the network device.
  • the communication unit 803 is configured to receive a first Ethernet packet sent by the network device, where the first Ethernet packet is sent by the control device to the network device and the data field length is greater than that of the control device. Ethernet packets with the default MTU length and not greater than the first MTU length;
  • the processing unit 802 is configured to process the first Ethernet packet.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the apparatus and the maximum data field length supported by the network device.
  • the communication unit 803 is further configured to receive the second information sent by the network device;
  • the processing unit 802 is further configured to obtain the first MTU length according to the second information, and control the communication unit 803 according to the first MTU length to send a second Ethernet packet to the network device, and the length of the data field in the second Ethernet packet is greater than
  • the default MTU length of the device 800 is not greater than the first MTU length.
  • the processing unit 802 is further configured to merge multiple segmented Ethernet packets into a second Ethernet packet.
  • the apparatus 800 may also be the network equipment in any of the above embodiments, or may also be a semiconductor chip provided in the network equipment.
  • the processing unit 802 may support the apparatus 800 to perform the actions of the network equipment in the above method examples, and the communication unit 803 may support the communication between the apparatus 800 and the terminal equipment and the control equipment.
  • the communication unit 803 is configured to receive the first Ethernet packet sent by the control device, and the length of the data field in the first Ethernet packet is greater than the default maximum transmission unit MTU length of the control device and Not greater than the first MTU length;
  • the processing unit 802 is configured to control the communication unit 803 to send the first Ethernet packet to the terminal device.
  • the processing unit 802 is further configured to: obtain the first MTU length, and send first information to the control device, where the first information is used to indicate the first MTU length.
  • the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the device.
  • the communication unit 803 is further configured to: receive the second information sent by the control device;
  • the processing unit 802 is further configured to: control the communication unit 803 to forward second information to the terminal device, and the second information is used to instruct the terminal device to send a second Ethernet packet according to the first MTU length;
  • the communication unit 803 is further configured to receive a second Ethernet packet sent by the terminal device, where the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first MTU length.
  • the processing unit 802 is further configured to merge multiple segmented Ethernet packets into a first Ethernet packet.
  • the apparatus may be a control device, a terminal device, or a network device in the foregoing embodiment.
  • the device 900 includes a processor 902, a communication interface 903, and a memory 901.
  • the apparatus 900 may further include a bus 904.
  • the communication interface 903, the processor 902, and the memory 901 may be connected to each other through a bus 904;
  • the bus 904 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (extended industry standard architecture) EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus 904 can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
  • the processor 902 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits used to control the execution of the program of the present application.
  • the communication interface 903 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), wired access networks, etc.
  • a transceiver to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), wired access networks, etc.
  • the memory 901 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions
  • the dynamic storage device can also be electrically erasable programmable read-only memory (electrically programmable read-only memory, EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, Optical disc storage (including compact disc, laser disc, optical disc, digital universal disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can Any other medium accessed by the computer, but not limited to this.
  • the memory may exist independently and is connected to the processor through the bus 904. The memory can also be integrated with the processor.
  • the memory 901 is used to store computer-executable instructions for executing the solution of the present application, and the processor 902 controls the execution.
  • the processor 902 is configured to execute the computer-executable instructions stored in the memory 901, so as to implement the Ethernet packet transmission method provided in the foregoing embodiment of the present application.
  • the computer-executable instructions in the embodiments of the present application may also be referred to as application program code, which is not specifically limited in the embodiments of the present application.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
  • the various illustrative logic units and circuits described in the embodiments of this application can be implemented by general-purpose processors, digital signal processors, application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, Discrete gates or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions.
  • the general-purpose processor may be a microprocessor, and optionally, the general-purpose processor may also be any traditional processor, controller, microcontroller, or state machine.
  • the processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration achieve.
  • the steps of the method or algorithm described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two.
  • the software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or any other storage medium in the art.
  • the storage medium may be connected to the processor, so that the processor can read information from the storage medium, and can store and write information to the storage medium.
  • the storage medium may also be integrated into the processor.
  • the processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a terminal device.
  • the processor and the storage medium may also be arranged in different components in the terminal device.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Abstract

Embodiments of the present application provide an Ethernet message transmission method, apparatus, and system. The method comprises: a control device generating a first Ethernet message according to a first maximum transmission unit (MTU) length, wherein a length of a data field in the first Ethernet message is greater than a default MTU length of the control device but is not greater than the first MTU length; and the control device transmitting the first Ethernet message to a network device. The method can reduce IP packet header overhead and Ethernet frame header overhead.

Description

一种以太网报文的传输方法、装置及系统Method, device and system for transmitting Ethernet message
相关申请的交叉引用Cross references to related applications
本申请要求在2019年03月01日提交中国专利局、申请号为201910155606.5、申请名称为“一种以太网报文的传输方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910155606.5, and the application name is "A method, device and system for transmitting Ethernet messages" on March 1, 2019. The entire content of the application is approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种以太网报文的传输方法、装置及系统。This application relates to the field of wireless communication technology, and in particular to a method, device and system for transmitting Ethernet packets.
背景技术Background technique
随着移动通信技术的发展,移动通信系统被逐渐应用于以太网的数据传输。例如,在工业私网中,控制设备可以借助于移动通信系统传输以太网报文,进而实现数据传输。With the development of mobile communication technology, mobile communication systems are gradually applied to data transmission on Ethernet. For example, in an industrial private network, the control device can use the mobile communication system to transmit Ethernet packets, and then realize data transmission.
通常,以太网报文包括数据字段和以太网帧头。其中,数据字段包括了由网络协议(internet protocol,IP)包头封装得到的IP数据包。为了保证以太网报文可以在以太网中传输,以太网中的设备皆配置有默认最大传输单元(maximum transmission unit,MTU)长度,一般默认MTU长度为1500字节(Bytes)。以太网中的设备在发送以太网报文时,可以根据默认MTU长度发送以太网报文,如,以太网报文中数据字段的长度不能大于1500字节。Generally, an Ethernet message includes a data field and an Ethernet frame header. Among them, the data field includes an IP data packet encapsulated by an internet protocol (IP) header. In order to ensure that Ethernet packets can be transmitted in the Ethernet, the devices in the Ethernet are all configured with a default maximum transmission unit (MTU) length. Generally, the default MTU length is 1500 bytes (Bytes). When sending an Ethernet packet, an Ethernet device can send the Ethernet packet according to the default MTU length. For example, the length of the data field in the Ethernet packet cannot be greater than 1500 bytes.
可以理解,以太网报文中的数据字段越长,则传输待传输数据所需的以太网报文越少,IP包头和以太网帧头的开销便越少。在现有的以太网中,默认MTU长度限制了以太网报文中数据字段的长度,使得以太网中任一设备在发送超过默认MTU长度所能承载的数据时,需要发送多个以太网报文才可以完成数据传输,增大了IP包头和以太网帧头的开销。It can be understood that the longer the data field in the Ethernet message, the less the Ethernet message needed to transmit the data to be transmitted, and the less the overhead of the IP header and the Ethernet frame header. In the existing Ethernet, the default MTU length limits the length of the data field in the Ethernet packet, so that any device in the Ethernet needs to send multiple Ethernet packets when sending data that exceeds the default MTU length. The text can complete the data transmission, which increases the overhead of the IP packet header and the Ethernet frame header.
发明内容Summary of the invention
本申请提供一种以太网报文的传输方法、装置及系统,用以减少IP包头和以太网帧头的开销。The present application provides a method, device and system for transmitting Ethernet packets, which are used to reduce the overhead of IP packet headers and Ethernet frame headers.
第一方面,本申请实施例提供一种以太网报文传输方法,包括:控制设备根据第一最大传输单元MTU长度生成第一以太网报文,该第一以太网报文中数据字段的长度大于控制设备的默认MTU长度且不大于第一MTU长度;进而,控制设备向网络设备发送上述第一以太网报文。In a first aspect, an embodiment of the present application provides an Ethernet packet transmission method, including: a control device generates a first Ethernet packet according to a first maximum transmission unit MTU length, and the length of the data field in the first Ethernet packet It is greater than the default MTU length of the control device and not greater than the first MTU length; further, the control device sends the aforementioned first Ethernet packet to the network device.
控制设备所发送的第一以太网报文中数据字段的长度不再局限于默认MTU长度,可以根据第一MTU长度发送数据字段长度大于默认MTU长度的第一以太网报文,从而从整体上减少以太网报文的数量,进而减少IP包头和以太网帧头的开销。The length of the data field in the first Ethernet message sent by the control device is no longer limited to the default MTU length, and the first Ethernet message with the data field length greater than the default MTU length can be sent according to the first MTU length, so that as a whole Reduce the number of Ethernet packets, thereby reducing the overhead of IP packet headers and Ethernet frame headers.
在一种可能的实现方式中,控制设备根据第一MTU长度生成第一以太网报文之前,还可以接收网络设备发送的第一信息,并根据第一信息获取第一MTU长度。In a possible implementation manner, before generating the first Ethernet packet according to the first MTU length, the control device may also receive the first information sent by the network device, and obtain the first MTU length according to the first information.
采用上述方法,由网络设备为控制设备指示第一MTU,使得控制设备获取第一MTU的方式更加灵活,可以根据不同的终端设备作适应性调整。With the above method, the network device instructs the first MTU for the control device, so that the method for the control device to obtain the first MTU is more flexible and can be adjusted adaptively according to different terminal devices.
在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
由于控制设备发送的第一以太网报文需要经网络设备传输至终端设备,因此,采用上述方法确定第一MTU,可以使控制设备发送的第一以太网报文中数据字段的长度不超过终端设备和网络设备所支持的最大数据字段长度,有利于提高第一以太网报文传输的成功率。Since the first Ethernet packet sent by the control device needs to be transmitted to the terminal device via the network device, the first MTU can be determined by the above method so that the length of the data field in the first Ethernet packet sent by the control device does not exceed the terminal device The maximum data field length supported by the device and the network device helps to improve the success rate of the first Ethernet packet transmission.
在一种可能的实现方式中,控制设备根据第一信息获取第一MTU长度之后,还包括:控制设备若确定支持接收数据字段长度为第一MTU长度的以太网报文,则向网络设备发送第二信息,该第二信息用于指示终端设备根据第一MTU长度发送第二以太网报文;控制设备接收网络设备发送的第二以太网报文,该第二以太网报文是网络设备从终端设备接收的、终端设备根据上述第二信息发送的以太网报文。In a possible implementation manner, after the control device obtains the first MTU length according to the first information, the method further includes: if the control device determines to support receiving an Ethernet packet with a data field length of the first MTU length, sending to the network device Second information, the second information is used to instruct the terminal device to send a second Ethernet packet according to the first MTU length; the control device receives the second Ethernet packet sent by the network device, and the second Ethernet packet is a network device The Ethernet packet received from the terminal device and sent by the terminal device according to the foregoing second information.
控制设备若确定能够接收数据字段大小为第一MTU长度的以太网报文,则可以向终端设备发送第二信息,使得终端设备也可以发送数据字段长度大于默认MTU的第二以太网报文,有利于减少终端设备处的IP包头开销和以太网帧头开销。If the control device determines that it can receive an Ethernet packet whose data field size is the first MTU length, it can send second information to the terminal device so that the terminal device can also send a second Ethernet packet with a data field length greater than the default MTU. It is beneficial to reduce the IP header overhead and Ethernet frame header overhead at the terminal equipment.
在一种可能的实现方式中,控制设备向网络设备发送第一以太网报文之前,还可以将多个分段以太报文合并为第一以太网报文。In a possible implementation manner, before the control device sends the first Ethernet packet to the network device, it may also merge multiple segmented Ethernet packets into the first Ethernet packet.
在时间敏感型以太网中,低优先级的以太网报文有可能会被分为多个分段以太报文分别发送,因此会降低无线资源利用率,也可能会增加以太网帧头的开销。采用上述方法,控制设备将多个分段以太报文合并为一个以太网报文之后再发送,有利于提高无线资源利用率,也有利于降低以太网帧头的开销。In time-sensitive Ethernet, low-priority Ethernet packets may be divided into multiple segmented Ethernet packets to be sent separately, thus reducing wireless resource utilization and possibly increasing the overhead of the Ethernet frame header . Using the above method, the control device combines multiple segmented Ethernet messages into one Ethernet message before sending it, which is beneficial to improve the utilization rate of wireless resources and also helps to reduce the overhead of the Ethernet frame header.
第二方面,本申请实施例提供一种以太网报文传输方法,包括:终端设备接收网络设备发送的第一以太网报文,该第一以太网报文是控制设备向网络设备发送的、数据字段长度大于控制设备的默认MTU长度且不大于第一MTU长度的以太网报文;进而,终端设备处理该第一以太网报文。In a second aspect, an embodiment of the present application provides an Ethernet packet transmission method, including: a terminal device receives a first Ethernet packet sent by a network device, and the first Ethernet packet is sent by a control device to the network device, An Ethernet packet whose data field length is greater than the default MTU length of the control device and not greater than the first MTU length; further, the terminal device processes the first Ethernet packet.
在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
在一种可能的实现方式中,终端设备还可以接收网络设备发送的第二信息;根据第二信息获取第一MTU长度;终端设备可以根据第一MTU长度向网络设备发送第二以太网报文,该第二以太网报文中数据字段的长度大于终端设备的默认MTU长度且不大于第一MTU长度。In a possible implementation, the terminal device may also receive the second information sent by the network device; obtain the first MTU length according to the second information; the terminal device may send the second Ethernet packet to the network device according to the first MTU length , The length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first MTU length.
在一种可能的实现方式中,终端设备根据第一MTU长度向网络设备发送以太网报文之前,还可以将多个分段以太报文合并为第二以太网报文。In a possible implementation manner, before the terminal device sends the Ethernet packet to the network device according to the first MTU length, it may also merge multiple segmented Ethernet packets into a second Ethernet packet.
第三方面,本申请实施例提供一种以太网报文传输方法,包括:网络设备接收控制设备发送的第一以太网报文,该第一以太网报文中数据字段的长度大于控制设备的默认最大传输单元MTU长度且不大于第一MTU长度;网络设备进而向终端设备发送该第一以太网报文。In a third aspect, an embodiment of the present application provides an Ethernet packet transmission method, including: a network device receives a first Ethernet packet sent by a control device, and the length of the data field in the first Ethernet packet is greater than that of the control device The default maximum transmission unit MTU length is not greater than the first MTU length; the network device then sends the first Ethernet packet to the terminal device.
在一种可能的实现方式中,网络设备接收控制设备发送的第一以太网报文之前,还可以获取第一MTU长度,并向控制设备发送第一信息,该第一信息用于指示上述第一MTU长度。In a possible implementation manner, before receiving the first Ethernet packet sent by the control device, the network device may also obtain the first MTU length, and send first information to the control device, where the first information is used to indicate the first Ethernet packet sent by the control device. One MTU length.
在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
在一种可能的实现方式中,网络设备还可以接收控制设备发送的第二信息,并将第二信息转发给终端设备,该第二信息用于指示终端设备根据第一MTU长度发送第二以太网报文;网络设备接收终端设备发送的第二以太网报文,该第二以太网报文中数据字段的长度大于终端设备的默认MTU长度且不大于第一MTU长度。In a possible implementation manner, the network device may also receive the second information sent by the control device, and forward the second information to the terminal device. The second information is used to instruct the terminal device to send the second Ethernet according to the first MTU length. Network message; the network device receives the second Ethernet message sent by the terminal device, and the length of the data field in the second Ethernet message is greater than the default MTU length of the terminal device and not greater than the first MTU length.
在一种可能的实现方式中,网络设备向终端设备发送第一以太网报文之前,还可以将多个分段以太报文合并为上述第一以太网报文。In a possible implementation manner, before the network device sends the first Ethernet packet to the terminal device, it may also combine multiple segmented Ethernet packets into the foregoing first Ethernet packet.
第四方面,本申请实施例提供一种装置,包括:处理单元和通信单元;其中,处理单元,用于根据第一最大传输单元MTU长度生成第一以太网报文,该第一以太网报文中数据字段的长度大于装置的默认MTU长度且不大于第一MTU长度;通信单元,用于向网络设备发送第一以太网报文。In a fourth aspect, an embodiment of the present application provides an apparatus including: a processing unit and a communication unit; wherein the processing unit is configured to generate a first Ethernet packet according to the first maximum transmission unit MTU length, and the first Ethernet packet The length of the data field in the text is greater than the default MTU length of the device and not greater than the first MTU length; the communication unit is used to send the first Ethernet message to the network device.
在一种可能的实现方式中,通信单元还用于:接收网络设备发送的第一信息;处理单元还用于:根据第一信息获取第一MTU长度。In a possible implementation manner, the communication unit is further configured to: receive the first information sent by the network device; the processing unit is further configured to: obtain the first MTU length according to the first information.
在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
在一种可能的实现方式中,处理单元还用于:若确定支持接收数据字段长度为第一MTU长度的以太网报文,则控制通信单元向网络设备发送第二信息,第二信息用于指示终端设备根据第一MTU长度发送第二以太网报文;通信单元还用于:接收网络设备发送的第二以太网报文,该第二以太网报文是网络设备从终端设备接收的、终端设备根据第二信息发送的以太网报文。In a possible implementation manner, the processing unit is further configured to: if it is determined to support receiving an Ethernet packet with a data field length of the first MTU length, control the communication unit to send second information to the network device, and the second information is used for Instruct the terminal device to send a second Ethernet packet according to the first MTU length; the communication unit is further configured to: receive a second Ethernet packet sent by the network device, the second Ethernet packet is received by the network device from the terminal device, The Ethernet packet sent by the terminal device according to the second information.
在一种可能的实现方式中,处理单元还用于:将多个分段以太报文合并为第一以太网报文。In a possible implementation manner, the processing unit is further configured to merge multiple segmented Ethernet packets into the first Ethernet packet.
第五方面,本申请实施例提供一种装置,包括:处理单元和通信单元;其中,通信单元,用于接收网络设备发送的第一以太网报文,该第一以太网报文是控制设备向网络设备发送的、数据字段长度大于控制设备的默认MTU长度且不大于第一MTU长度的以太网报文;处理单元,用于处理第一以太网报文。In a fifth aspect, an embodiment of the present application provides an apparatus including: a processing unit and a communication unit; wherein the communication unit is configured to receive a first Ethernet packet sent by a network device, and the first Ethernet packet is a control device An Ethernet packet with a data field length greater than the default MTU length of the control device and not greater than the first MTU length sent to the network device; the processing unit is used to process the first Ethernet packet.
在一种可能的实现方式中,第一MTU长度不大于装置支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the apparatus and the maximum data field length supported by the network device.
在一种可能的实现方式中,通信单元,还用于接收网络设备发送的第二信息;处理单元还用于:根据第二信息获取第一MTU长度;根据第一MTU长度控制通信单元向网络设备发送第二以太网报文,该第二以太网报文中数据字段的长度大于装置的默认MTU长度且不大于第一MTU长度。In a possible implementation manner, the communication unit is further configured to receive second information sent by the network device; the processing unit is further configured to: obtain the first MTU length according to the second information; and control the communication unit to send to the network according to the first MTU length The device sends a second Ethernet packet, and the length of the data field in the second Ethernet packet is greater than the default MTU length of the device and not greater than the first MTU length.
在一种可能的实现方式中,处理单元还用于:将多个分段以太报文合并为以太网报文。In a possible implementation manner, the processing unit is further used for: merging multiple segmented Ethernet packets into Ethernet packets.
第六方面,本申请实施例提供一种装置,包括:处理单元和通信单元;其中,通信单元,用于接收控制设备发送的第一以太网报文,该第一以太网报文中数据字段的长度大于控制设备的默认最大传输单元MTU长度且不大于第一MTU长度;处理单元,用于控制通信单元向终端设备发送第一以太网报文。In a sixth aspect, an embodiment of the present application provides an apparatus including: a processing unit and a communication unit; wherein the communication unit is configured to receive a first Ethernet packet sent by a control device, and the data field in the first Ethernet packet The length of is greater than the default maximum transmission unit MTU length of the control device and not greater than the first MTU length; the processing unit is configured to control the communication unit to send the first Ethernet packet to the terminal device.
在一种可能的实现方式中,处理单元还用于:获取第一MTU长度,并向控制设备发送第一信息,第一信息用于指示第一MTU长度。In a possible implementation manner, the processing unit is further configured to: obtain the first MTU length, and send first information to the control device, where the first information is used to indicate the first MTU length.
在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和装置支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the device.
在一种可能的实现方式中,通信单元还用于:接收控制设备发送的第二信息;In a possible implementation manner, the communication unit is further configured to: receive the second information sent by the control device;
处理单元还用于:控制通信单元将第二信息转发给终端设备,第二信息用于指示终端设备根据第一MTU长度发送第二以太网报文;通信单元还用于:接收终端设备发送的第二以太网报文,该第二以太网报文中数据字段的长度大于终端设备的默认MTU长度且不大于第一MTU长度。The processing unit is further used to: control the communication unit to forward the second information to the terminal device, the second information is used to instruct the terminal device to send a second Ethernet packet according to the first MTU length; the communication unit is also used to: receive the terminal device sent In the second Ethernet packet, the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first MTU length.
在一种可能的实现方式中,处理单元还用于:将多个分段以太报文合并为第一以太网报文。In a possible implementation manner, the processing unit is further configured to merge multiple segmented Ethernet packets into the first Ethernet packet.
第七方面,本申请实施例提供一种装置,包括处理器和收发器;其中,处理器,用于运行程序指令,并与收发器配合,使得装置实现如第一方面中任一项所提供的方法,或第二方面中任一项所提供的方法,或第三方面中任一项所提供的方法。In a seventh aspect, an embodiment of the present application provides a device, including a processor and a transceiver; wherein the processor is used to run program instructions and cooperate with the transceiver to enable the device to implement the same as provided in any one of the first aspect , Or any of the methods provided in the second aspect, or any of the methods provided in the third aspect.
第八方面,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所提供的方法。In an eighth aspect, embodiments of the present application also provide a computer-readable storage medium that stores instructions in the computer-readable storage medium, which when run on a computer, causes the computer to execute the methods provided in the foregoing aspects.
第九方面,本申请实施例还提供一种通信系统,该通信系统包括上述第一方面的任一种设计中的控制设备、上述第二方面的任一种设计中的终端设备和上述第三方面的任一种设计中的网络设备。In a ninth aspect, an embodiment of the present application also provides a communication system, which includes a control device in any design of the first aspect, a terminal device in any design of the second aspect, and the third Any kind of network equipment in the design.
第十方面,本申请实施例还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所提供的方法。In a tenth aspect, the embodiments of the present application also provide a computer program product including instructions, which when run on a computer, cause the computer to execute the methods provided in the foregoing aspects.
本申请的这些方面或其它方面在以下实施例的描述中会更加简明易懂。These and other aspects of the application will be more concise and understandable in the description of the following embodiments.
附图说明Description of the drawings
图1为本申请实施例适用的一种可能的通信系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a possible communication system to which the embodiments of this application are applicable;
图2为本申请实施例提供的一种控制设备的协议栈结构示意图;2 is a schematic diagram of a protocol stack structure of a control device provided by an embodiment of the application;
图3为一种IP包头格式示意图;Figure 3 is a schematic diagram of an IP header format;
图4为本申请实施例提供的一种以太网报文传输方法流程示意图;4 is a schematic flowchart of an Ethernet packet transmission method provided by an embodiment of the application;
图5为本申请实施例提供的一种为控制设备指示第一MTU长度的方法流程示意图;FIG. 5 is a schematic flowchart of a method for indicating a first MTU length for a control device according to an embodiment of this application;
图6为一种以太网报文分段示意图;Figure 6 is a schematic diagram of an Ethernet message segmentation;
图7为本申请实施例提供的一种控制设备的协议栈结构示意图;FIG. 7 is a schematic diagram of a protocol stack structure of a control device provided by an embodiment of the application;
图8为本申请实施例提供的一种装置示意图;FIG. 8 is a schematic diagram of a device provided by an embodiment of this application;
图9为本申请实施例提供的一种装置示意图。FIG. 9 is a schematic diagram of an apparatus provided by an embodiment of the application.
具体实施方式detailed description
下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或系统实施例中。需要说明的是,在本申请的描述中“至少一个”是指一个或多个,其中,多个是指两个或两个以上。鉴于此,本申请实施例中也可以将“多个”理解为“至少两个”。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。The application will be further described in detail below in conjunction with the accompanying drawings. The specific operation method in the method embodiment can also be applied to the device embodiment or the system embodiment. It should be noted that in the description of this application, "at least one" refers to one or more, and multiple refers to two or more. In view of this, in the embodiments of the present application, “a plurality of” may also be understood as “at least two”. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. In addition, the character "/", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship. In addition, it should be understood that in the description of this application, words such as “first” and “second” are only used for the purpose of distinguishing description, and cannot be understood as indicating or implying relative importance, nor can it be understood as indicating Or imply the order.
图1为本申请实施例适用的一种可能的通信系统的架构示意图。如图1所示的通信系统包括控制设备、网络设备和终端设备。应理解,图1仅为通信系统的一个架构示意图,本申请实施例中对通信系统中网络设备的数量、终端设备的数量不作限定,而且本申请实施例所适用的通信系统中除了包括网络设备和终端设备以外,还可以包括其它设备,如网关设备、核心网设备、无线中继设备和无线回传设备等,对此本申请实施例也不作限定。以及,本申请实施例中的网络设备和控制设备可以将所有的功能集成在一个独立的物理设备,也可以将功能分布在多个独立的物理设备上,对此本申请实施例也不作限定。FIG. 1 is a schematic diagram of the architecture of a possible communication system to which an embodiment of this application is applicable. The communication system shown in Figure 1 includes control equipment, network equipment and terminal equipment. It should be understood that FIG. 1 is only a schematic diagram of the architecture of the communication system. In the embodiment of this application, the number of network devices and the number of terminal devices in the communication system are not limited, and the communication system to which the embodiment of this application applies except includes network devices. In addition to terminal devices, other devices may also be included, such as gateway devices, core network devices, wireless relay devices, and wireless backhaul devices, which are not limited in this embodiment of the present application. And, the network device and the control device in the embodiment of the present application may integrate all the functions in one independent physical device, or may distribute the functions on multiple independent physical devices, which is not limited in the embodiment of the present application.
此外,本申请实施例中的终端设备可以通过无线方式与网络设备连接,控制设备可以通过有线或无线方式与网络设备直接或间接连接。如图1中,控制设备可以直接与网络设备构建通信链路,也可以通过网关设备与网络设备构建通信链路,等等,本申请实施例对此并不多作限定。In addition, the terminal device in the embodiments of the present application may be connected to the network device in a wireless manner, and the control device may be directly or indirectly connected to the network device in a wired or wireless manner. As shown in Fig. 1, the control device may directly establish a communication link with the network device, or may establish a communication link with the network device through a gateway device, and so on, which is not limited in the embodiment of the present application.
本申请实施例中,网络设备可以是能和终端设备通信的设备。网络设备可以是任意一种具有无线收发功能的设备。包括但不限于:基站(例如,基站NodeB、演进型基站eNodeB、5G通信系统中的基站gNodeB、未来通信系统中的基站或网络设备、WiFi系统中的接入节点、无线中继节点、无线回传节点)等。网络设备还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器。网络设备还可以是小站,传输节点(transmission reference point,TRP)等。网络设备还可以是NodeX,用于对无线信号进行转发,在本申请实施例中该无线信号可以承载以太网报文。当然不申请不限于此。In the embodiments of the present application, the network device may be a device that can communicate with terminal devices. The network device can be any device with a wireless transceiver function. Including but not limited to: base station (for example, base station NodeB, evolved base station eNodeB, base station gNodeB in 5G communication system, base station or network equipment in future communication system, access node in WiFi system, wireless relay node, wireless back Transmission node) and so on. The network device may also be a wireless controller in a cloud radio access network (cloud radio access network, CRAN) scenario. The network device may also be a small station, a transmission reference point (TRP), etc. The network device may also be NodeX, which is used to forward wireless signals. In the embodiment of the present application, the wireless signals may carry Ethernet packets. Of course, the application is not limited to this.
终端设备是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持、穿戴或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端设备、增强现实(Augmented Reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。本申请的实施例对应用场景不做限定。终端设备有时也可以称为用户设备(user equipment,UE)、接入终端设备、UE单元、UE站、移动站、移动台、远方站、远程终端设备、移动设备、UE终端设备、终端设备、无线通信设备、UE代理或UE装置等。A terminal device is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as airplanes, Balloons and satellites are classy). The terminal device may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (Augmented Reality, AR) terminal device, an industrial control ( Wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grids, and transportation safety Wireless terminal, wireless terminal in smart city, wireless terminal in smart home, etc. The embodiment of this application does not limit the application scenario. Terminal equipment can sometimes be called user equipment (UE), access terminal equipment, UE unit, UE station, mobile station, mobile station, remote station, remote terminal equipment, mobile equipment, UE terminal equipment, terminal equipment, Wireless communication equipment, UE agent or UE device, etc.
控制设备是用于控制终端设备或为终端设备提供服务的设备。例如,控制设备可以是内容服务器,又例如,控制设备可以是工业私网中的控制中心。在控制设备作为工业私网的控制中心的情况下,控制设备可以与网关设备集成于同一物理设备,即由网关设备执行本申请实施例所提供的以太网报文传输方法中,由控制设备执行的步骤。Control equipment is used to control terminal equipment or provide services for terminal equipment. For example, the control device may be a content server, and for another example, the control device may be a control center in an industrial private network. In the case that the control device is used as the control center of the industrial private network, the control device can be integrated with the gateway device in the same physical device, that is, the gateway device executes the Ethernet packet transmission method provided in the embodiments of this application, and the control device executes A step of.
上述系统架构适用的通信系统包括但不限于:时分双工-长期演进(Time Division Duplexing-Long Term Evolution,TDD LTE)、频分双工-长期演进(Frequency Division Duplexing-Long Term Evolution,FDD LTE)、长期演进-增强(Long Term Evolution-Advanced,LTE-A),以及未来演进的各种无线通信系统,例如5G NR通信系统。The communication systems to which the above system architecture is applicable include but are not limited to: Time Division Duplexing-Long Term Evolution (TDD LTE), Frequency Division Duplexing-Long Term Evolution (Frequency Division Duplexing-Long Term Evolution, FDD LTE) , Long Term Evolution-Advanced (LTE-A), and various wireless communication systems that will evolve in the future, such as 5G NR communication systems.
随着移动通信技术的发展,图1所示的通信系统被广泛应用于以太网的数据传输。例如,在工业私网中,控制设备可以借助于移动通信系统与终端设备之间传输以太网报文, 进而实现数据传输。With the development of mobile communication technology, the communication system shown in Figure 1 is widely used for data transmission in Ethernet. For example, in an industrial private network, the control device can transfer Ethernet packets between the mobile communication system and the terminal device to realize data transmission.
以5G NR通信系统中的控制设备为例,图2为本申请实施例提供的一种控制设备的协议栈结构示意图,基于图2所示的协议栈,控制设备可以生产并发送以太网报文。如图2所示,控制设备的协议栈至少包括应用层、IP层、以太层和5G网络层(也可以为4G网络层、3G网络层等其它无线网络层,对此不再赘述)。Taking the control device in the 5G NR communication system as an example, FIG. 2 is a schematic diagram of the protocol stack structure of a control device provided by an embodiment of this application. Based on the protocol stack shown in FIG. 2, the control device can produce and send Ethernet packets . As shown in Figure 2, the protocol stack of the control device includes at least an application layer, an IP layer, an Ethernet layer, and a 5G network layer (it can also be other wireless network layers such as 4G network layer, 3G network layer, etc., which will not be repeated here).
具体而言,控制设备可以通过以下过程生成并发送以太网报文:Specifically, the control device can generate and send an Ethernet packet through the following process:
步骤一:通过应用层生成待传输数据。Step 1: Generate the data to be transmitted through the application layer.
步骤二:控制设备可以通过IP层将待传输的数据分为多个数据分段,并为每个数据分段添加IP包头,得到多个IP数据包。图3为一种IP包头格式示意图。如图3所示,IP包头中包括版本、头部长度、服务类型、总长度、协议等多种指示信息,其中,总长度用于指示该IP包头中数据分段的长度。在图3所示的IP包头中,总长度可以占据16个比特位,因此理论上IP数据包中数据分段的长度最大可以达到65536(2 16)Byte。 Step 2: The control device can divide the data to be transmitted into multiple data segments through the IP layer, and add an IP header to each data segment to obtain multiple IP data packets. Figure 3 is a schematic diagram of an IP header format. As shown in FIG. 3, the IP header includes multiple indication information such as version, header length, service type, total length, protocol, etc., where the total length is used to indicate the length of the data segment in the IP header. In the IP packet header shown in FIG. 3, the total length can occupy 16 bits. Therefore, theoretically, the length of the data segment in the IP data packet can be up to 65536 (2 16 ) Bytes.
步骤三:通过以太层封装IP数据包,为每个IP数据包添加以太网帧头,得到多个以太网报文。以太网报文中包括以太网帧头和数据字段,该数据字段包括上述IP数据包,在一些场景下还可以包括以太网报文末尾处的指示位。Step 3: Encapsulate IP data packets through the Ethernet layer and add an Ethernet frame header to each IP data packet to obtain multiple Ethernet packets. The Ethernet message includes an Ethernet frame header and a data field. The data field includes the above-mentioned IP data packet. In some scenarios, it may also include an indicator bit at the end of the Ethernet message.
步骤四:通过5G网络层发送以太网报文,使以太网报文可以适配5G通信协议,进而可以通过5G网络传输以太网报文。Step 4: Send the Ethernet message through the 5G network layer so that the Ethernet message can adapt to the 5G communication protocol, and then the Ethernet message can be transmitted through the 5G network.
通常,为了保证以太网报文可以在以太网中传输,以太网中的设备皆配置有默认最大传输单元(MTU)长度,使以太网报文不会超过以太网中各个设备所支持的最大报文长度。一般默认MTU长度为1500Bytes,以太网中的设备在发送以太网报文时,可以根据默认MTU长度发送以太网报文,即以太网报文中数据字段的长度不能大于1500Bytes。基于此,即使IP数据包中数据分段的长度最大可以达到65536Bytes,但仍需要控制IP数据包的长度不超过1500Bytes。Generally, in order to ensure that Ethernet packets can be transmitted in the Ethernet, the devices in the Ethernet are configured with a default maximum transmission unit (MTU) length, so that the Ethernet packets will not exceed the maximum packet supported by each device in the Ethernet. Text length. Generally, the default MTU length is 1500 Bytes. When sending an Ethernet packet, an Ethernet device can send an Ethernet packet according to the default MTU length, that is, the length of the data field in an Ethernet packet cannot be greater than 1500 Bytes. Based on this, even if the length of the data segment in the IP data packet can reach up to 65536 Bytes, it is still necessary to control the length of the IP data packet to not exceed 1500 Bytes.
可以理解,以太网报文中的数据字段越长,则传输待传输数据所需的以太网报文越少,IP包头和以太网帧头的开销便越少。随着无线通信技术的发展,基于移动通信网络的以太网已可以支持更大长度的以太网报文的传输,如5G网络能够支持9000Bytes的以太网报文的传输,而这一长度在未来还有可能进一步提高。然而,在现有的以太网中,默认MTU长度限制了以太网报文中数据字段的长度,使得以太网无法充分利用移动通信网络的传输性能。而且,由于以太网报文中数据字段的长度较短,增加了传输数据所需的以太网报文的数量,进而增大了IP包头和以太网帧头的开销。It can be understood that the longer the data field in the Ethernet message, the less the Ethernet message needed to transmit the data to be transmitted, and the less the overhead of the IP header and the Ethernet frame header. With the development of wireless communication technology, Ethernet based on mobile communication networks can already support the transmission of larger lengths of Ethernet packets. For example, 5G networks can support the transmission of 9000Bytes Ethernet packets, and this length will still be available in the future. It is possible to improve further. However, in the existing Ethernet, the default MTU length limits the length of the data field in the Ethernet message, so that the Ethernet cannot make full use of the transmission performance of the mobile communication network. Moreover, because the length of the data field in the Ethernet message is relatively short, the number of Ethernet messages required for data transmission is increased, thereby increasing the overhead of the IP packet header and the Ethernet frame header.
为了减少IP包头和以太网帧头的开销,并使以太网可以充分利用移动通信网络的传输性能,本申请实施例提供了一种以太网报文传输方法。以下以实施例一、实施例二和实施例三对本申请实施例所提供的方法作进一步说明。In order to reduce the overhead of the IP header and the Ethernet frame header, and enable the Ethernet to make full use of the transmission performance of the mobile communication network, an embodiment of the present application provides an Ethernet packet transmission method. The following uses Embodiment 1, Embodiment 2 and Embodiment 3 to further illustrate the methods provided in the embodiments of the present application.
实施例一Example one
图4示例性示出了一种以太网报文传输方法流程示意图,如图4所示,主要包括以下步骤:Fig. 4 exemplarily shows a schematic flow chart of an Ethernet packet transmission method. As shown in Fig. 4, it mainly includes the following steps:
S401:控制设备根据第一MTU长度生成第一以太网报文。在本申请实施例中,控制设备内第一MTU长度的取值大于默认MTU长度,该第一MTU长度可以由后台手动配置,也可以由网络设备为控制设备指示,本申请实施例对此并不多作限定。S401: The control device generates a first Ethernet packet according to the first MTU length. In the embodiment of this application, the value of the first MTU length in the control device is greater than the default MTU length. The first MTU length can be manually configured by the background or can be instructed by the network device as the control device. No restrictions.
控制设备根据第一MTU长度生成第一以太网报文的具体过程可以参考上述步骤一至 步骤三所提供的详细过程,对此不再赘述。需要指出的是,在本申请实施例中控制设备根据第一MTU长度生成的第一以太网报文中数据字段的长度可以大于默认MTU长度,但不可以超过第一MTU长度。例如,假设默认MTU长度为1500Bytes,第一MTU长度为9000Bytes,则控制设备所生成的第一以太网报文中数据字段的长度可以为800Bytes,也可以为2000Bytes,但不可以超过9000Bytes。For the specific process of the control device generating the first Ethernet packet according to the first MTU length, reference may be made to the detailed process provided in the above steps 1 to 3, which will not be repeated here. It should be pointed out that, in this embodiment of the application, the length of the data field in the first Ethernet packet generated by the control device according to the first MTU length may be greater than the default MTU length, but may not exceed the first MTU length. For example, assuming that the default MTU length is 1500 Bytes and the first MTU length is 9000 Bytes, the length of the data field in the first Ethernet packet generated by the control device can be 800 Bytes or 2000 Bytes, but cannot exceed 9000 Bytes.
S402:控制设备向网络设备发送第一以太网报文。S402: The control device sends the first Ethernet packet to the network device.
S403:网络设备接收控制设备发送的第一以太网报文,并向终端设备转发所接收的第一以太网报文。S403: The network device receives the first Ethernet packet sent by the control device, and forwards the received first Ethernet packet to the terminal device.
S404:终端设备接收网络设备转发的第一以太网报文,并处理所收到的第一以太网报文。S404: The terminal device receives the first Ethernet packet forwarded by the network device, and processes the received first Ethernet packet.
通过图4所示的过程,实现了网络设备向终端设备传输第一以太网报文。而且,由于控制设备所发送的第一以太网报文中数据字段的长度不再局限于默认MTU长度,控制设备可以根据第一MTU长度发送数据字段长度超过默认MTU长度的第一以太网报文,从而从整体上降低了以太网报文的数量,进而有利于降低IP包头和以太网帧头的开销。Through the process shown in FIG. 4, the network device transmits the first Ethernet message to the terminal device. Moreover, since the length of the data field in the first Ethernet packet sent by the control device is no longer limited to the default MTU length, the control device can send the first Ethernet packet whose data field length exceeds the default MTU length according to the first MTU length , Thereby reducing the number of Ethernet packets as a whole, thereby helping to reduce the overhead of IP packet headers and Ethernet frame headers.
在向终端设备传输第一以太网报文的过程中,控制设备所发送的第一以太网报文需经网络设备传输至终端设备。为了提高第一以太网报文在终端设备和网络设备之间传输的成功率,在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。具体而言,可以根据终端设备所支持的通信协议的版本号确定终端设备支持的最大数据字段长度(也可以是先根据通信协议的版本号确定终端设备支持的以太网报文的最大帧长,进而确定终端设备支持的最大数据字段长度,后续同理,不再赘述),也即在当前通信协议的版本下,终端设备可以传递的以太网报文中最大数据字段的长度。与之类似的,也可以根据网络设备所支持的通信协议的版本号确定网络设备支持的最大数据字段长度,也即在当前通信协议的版本下,网络设备可以传递的以太网报文中最大数据字段的长度。In the process of transmitting the first Ethernet packet to the terminal device, the first Ethernet packet sent by the control device needs to be transmitted to the terminal device via the network device. In order to improve the transmission success rate of the first Ethernet packet between the terminal device and the network device, in a possible implementation manner, the first MTU length is not greater than the maximum data field length supported by the terminal device and the maximum data field length supported by the network device. The minimum value in the length of the data field. Specifically, the maximum data field length supported by the terminal device can be determined according to the version number of the communication protocol supported by the terminal device (or the maximum frame length of the Ethernet packet supported by the terminal device can be determined first according to the version number of the communication protocol. The maximum data field length supported by the terminal device is then determined, and the same is true in the following, and will not be repeated), that is, under the current communication protocol version, the maximum data field length in the Ethernet packet that the terminal device can transmit. Similarly, the maximum data field length supported by the network device can be determined according to the version number of the communication protocol supported by the network device, that is, under the current communication protocol version, the maximum data in the Ethernet packet that the network device can transmit The length of the field.
采用上述方法,由于第一MTU长度不大于终端设备支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值,因此网络设备根据第一MTU长度生成的第一以太网报文一般不会超过网络设备和终端设备所支持的以太网报文的最大帧长,从而有利于提高第一以太网报文在网络设备和终端设备之间传输的成功率。With the above method, since the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device, the first Ethernet packet generated by the network device according to the first MTU length is generally The maximum frame length of the Ethernet message supported by the network device and the terminal device will not be exceeded, thereby helping to improve the success rate of the first Ethernet message being transmitted between the network device and the terminal device.
实施例二Example two
如上所述,本申请实施例中第一MTU长度可以是网络设备为控制设备指示的。图5示例性示出了网络设备为控制设备指示第一MTU长度的方法流程示意图,该过程可以在图4所示过程之前执行。如图5所示,主要包括以下步骤:As described above, the first MTU length in the embodiment of the present application may be indicated by the network device for the control device. FIG. 5 exemplarily shows a schematic flowchart of a method for a network device to indicate a first MTU length for a control device, and this process may be performed before the process shown in FIG. 4. As shown in Figure 5, it mainly includes the following steps:
S501:网络设备获取第一MTU长度。在移动通信系统中,网络设备在与终端设备建立连接时便可以确定终端设备所支持的通信协议的版本号,基于此,网络设备可以确定第一MTU长度。具体实现可参考实施例一中对第一MTU的说明,不再赘述。S501: The network device obtains the first MTU length. In a mobile communication system, the network device can determine the version number of the communication protocol supported by the terminal device when establishing a connection with the terminal device. Based on this, the network device can determine the first MTU length. For specific implementation, please refer to the description of the first MTU in Embodiment 1, which will not be repeated.
基于此,由网络设备为控制设备指示第一MTU长度,可以使控制设备获取第一MTU长度的方式更加灵活,可以根据不同的终端设备作适应性调整。例如,假设网络设备所支持的最大数据字段长度为6000Bytes,终端设备1所支持的最大数据字段长度为5000Bytes,则网络设备获取第一MTU长度为5000Bytes,即,控制设备与终端设备1之间传输以太网 报文中数据字段的最大长度为5000Bytes。而终端设备2所支持的最大数据字段长度为3000Bytes,则网络设备获取第一MTU长度为3000Bytes,即,控制设备与终端设备2之间传输以太网报文中数据字段的最大长度为3000Bytes。Based on this, the network device indicates the first MTU length for the control device, which can make the control device obtain the first MTU length more flexible, and can be adjusted adaptively according to different terminal devices. For example, assuming that the maximum data field length supported by the network device is 6000 Bytes, and the maximum data field length supported by the terminal device 1 is 5000 Bytes, the network device obtains the first MTU length of 5000 Bytes, that is, the transmission between the control device and the terminal device 1 The maximum length of the data field in an Ethernet message is 5000 Bytes. If the maximum data field length supported by the terminal device 2 is 3000 Bytes, the network device acquires the first MTU length of 3000 Bytes, that is, the maximum length of the data field in the Ethernet packet transmitted between the control device and the terminal device 2 is 3000 Bytes.
S502:网络设备向控制设备发送第一信息,其中,第一信息用于指示第一MTU长度。S502: The network device sends first information to the control device, where the first information is used to indicate the first MTU length.
S503:控制设备接收网络设备发送的第一信息,并根据第一信息获取第一MTU长度。S503: The control device receives the first information sent by the network device, and obtains the first MTU length according to the first information.
至此,控制设备便可以根据所获取的第一MTU长度生成第一以太网报文,并通过网络设备向终端设备发送所生成的第一以太网报文。在一种可能的实现方式中,控制设备也可以为终端设备指示该第一MTU长度,使终端设备也可以根据该第一MTU长度生成第二以太网报文,进而减少终端设备处IP包头和以太网帧头的开销。So far, the control device can generate the first Ethernet packet according to the acquired first MTU length, and send the generated first Ethernet packet to the terminal device through the network device. In a possible implementation, the control device can also indicate the first MTU length for the terminal device, so that the terminal device can also generate a second Ethernet packet according to the first MTU length, thereby reducing the IP header and The overhead of the Ethernet frame header.
例如,如图5所示,控制设备在获取第一MTU长度之后,还可以执行S504:控制设备判断是否支持接收数据字段长度为第一MTU长度的以太网报文。具体而言,控制设备可以根据与网络设备之间的通信链路的传输情况判断,也可以根据已从网络设备接收的、其它终端设备发送的以太网报文中数据字段的大小判断,例如,若控制设备曾从网络设备接收过数据字段长度不小于该第一MTU长度的以太网报文,则可以确定能够支持接收数据字段长度为第一MTU长度的以太网报文,等等,本申请实施例对此并不多作限定。For example, as shown in FIG. 5, after acquiring the first MTU length, the control device may also perform S504: the control device determines whether it supports receiving an Ethernet packet with a data field length of the first MTU length. Specifically, the control device can judge according to the transmission condition of the communication link with the network device, or judge according to the size of the data field in the Ethernet packet that has been received from the network device and sent by other terminal devices, for example, If the control device has ever received an Ethernet packet with a data field length not less than the first MTU length from a network device, it can be determined that it can support receiving an Ethernet packet with a data field length of the first MTU length, etc., this application The embodiment does not limit this.
控制设备若确定支持接收数据字段长度为第一MTU长度的以太网报文,则可以执行S505,向网络设备发送第二信息,反之,可以执行S510,结束为终端设备指示第一MTU长度的过程。If the control device determines that it supports receiving an Ethernet packet with a data field length of the first MTU length, it can execute S505 to send the second information to the network device, otherwise, it can execute S510 to end the process of indicating the first MTU length for the terminal device .
S506:网络设备接收所述控制设备发送的第二信息,并将第二信息转发给终端设备。S506: The network device receives the second information sent by the control device, and forwards the second information to the terminal device.
S507:终端设备接收网络设备发送的第二信息,并根据第二信息获取第一MTU长度。S507: The terminal device receives the second information sent by the network device, and obtains the first MTU length according to the second information.
S508:终端设备在后续通信过程中,可以根据第一MTU长度生成第二以太网报文,并向网络设备发送该第二以太网报文。终端设备所生成的第二以太网报文中,数据字段的长度可以大于终端设备的默认MTU长度且不大于第一MTU长度,从而有利于减少终端设备处IP包头和以太网帧头的开销。S508: In the subsequent communication process, the terminal device may generate a second Ethernet packet according to the first MTU length, and send the second Ethernet packet to the network device. In the second Ethernet packet generated by the terminal device, the length of the data field may be greater than the default MTU length of the terminal device and not greater than the first MTU length, thereby helping to reduce the overhead of the IP header and the Ethernet frame header at the terminal device.
S509:网络设备接收终端设备发送的第二以太网报文,并将所接收的第二以太网报文转发给控制设备。控制设备接收到网络设备转发的第二以太网报文后,便完成了终端设备向控制设备的第二以太网报文传输。S509: The network device receives the second Ethernet packet sent by the terminal device, and forwards the received second Ethernet packet to the control device. After the control device receives the second Ethernet packet forwarded by the network device, it completes the transmission of the second Ethernet packet from the terminal device to the control device.
实施例三Example three
在以太网为时间敏感型网络(time sensitive networking,TSN)时,控制设备(终端设备同理)在通过以太层生成第一以太网报文时有可能将低优先级的IP数据包分段传输。以控制设备为例,控制设备的以太层包括报文生成模块和报文发送模块,其中报文生成模块用于生成第一以太网报文,报文发送模块用于将第一以太网报文发送给以太层的下一层。When the Ethernet is a time-sensitive network (TSN), the control device (same as the terminal device) may segment the low-priority IP data packet when it generates the first Ethernet packet through the Ethernet layer . Taking the control device as an example, the Ethernet layer of the control device includes a message generating module and a message sending module, wherein the message generating module is used to generate the first Ethernet message, and the message sending module is used to transfer the first Ethernet message Send to the next layer of the ether layer.
以图6为例,假设报文生成模块生成了以太网报文A,报文发送模块将以太网报文A发送给5G网络层,由5G网络层通过无线空口发送该以太网报文A。然而,报文发送模块在向5G网络层发送以太网报文A的过程中,报文生成模块生成了优先级更高的以太网报文B,此时,报文发送模块可以对以太网报文A分段,也可以理解为,报文发送模块停止发送以太网报文A,转而发送以太网报文B,因此以太网报文A被分为了两个分段以太报文—已发送给5G网络层的分段以太报文A1和尚未发送的分段以太报文A2。针对分段以太报文A2,报文生成模块可以为分段以太报文A2添加以太网帧头,报文发送模块在发送 完以太网报文B后继续发送添加了以太网帧头的分段以太报文A2,报文生成模块也可以不为分段以太报文A2添加以太网帧头,报文发送模块在发送完以太网报文B后继续发送分段以太报文A2。Taking Fig. 6 as an example, suppose that the message generating module generates an Ethernet message A, and the message sending module sends the Ethernet message A to the 5G network layer, and the 5G network layer sends the Ethernet message A through the wireless air interface. However, when the message sending module sends Ethernet message A to the 5G network layer, the message generation module generates an Ethernet message B with a higher priority. At this time, the message sending module can Message A is segmented, which can also be understood as that the message sending module stops sending Ethernet message A and instead sends Ethernet message B. Therefore, Ethernet message A is divided into two segmented Ethernet messages—Sent The segmented Ethernet message A1 for the 5G network layer and the unsent segmented Ethernet message A2. For the segmented Ethernet message A2, the message generation module can add the Ethernet frame header to the segmented Ethernet message A2, and the message sending module will continue to send the segment with the added Ethernet frame header after sending the Ethernet message B. For Ethernet message A2, the message generation module may not add an Ethernet frame header to the segmented Ethernet message A2, and the message sending module continues to send the segmented Ethernet message A2 after sending the Ethernet message B.
基于此,控制设备会依次向网络设备发送分段以太报文A1、以太网报文B和分段以太报文A2,其中,分段以太报文A1和分段以太报文A2实际为一个以太网报文—以太网报文A。Based on this, the control device will sequentially send segmented Ethernet messages A1, Ethernet messages B, and segmented Ethernet messages A2 to the network devices. Among them, the segmented Ethernet messages A1 and the segmented Ethernet messages A2 are actually an Ethernet Net message—Ethernet message A.
由上述过程可见,低优先级的以太网报文A被分为两个分段以太报文发送,在控制设备与网络设备之间基于无线空口传输的情况下,对以太网报文A分段发送增加了所需传输的报文数量,不利于提高无线资源利用率。而且,在为分段以太报文A2也添加以太网帧头的情况下,还需占用更多的以太网帧头,增加了以太网帧头的开销。It can be seen from the above process that the low-priority Ethernet packet A is divided into two segmented Ethernet packets and sent. In the case of transmission between the control device and the network device based on the wireless air interface, the Ethernet packet A is segmented Sending increases the number of packets that need to be transmitted, which is not conducive to improving wireless resource utilization. Moreover, when the Ethernet frame header is also added to the segmented Ethernet message A2, more Ethernet frame headers need to be occupied, which increases the overhead of the Ethernet frame header.
基于此,在一种可能的实现方式中,控制设备向网络设备发送第一以太网报文之前,还可以将第一以太网报文的多个分段以太报文合并为一个完整的第一以太网报文,从而减少无线空口传输的报文数量,提高无线资源利用率。Based on this, in a possible implementation manner, before the control device sends the first Ethernet packet to the network device, it may also merge multiple segmented Ethernet packets of the first Ethernet packet into a complete first Ethernet packet. Ethernet packets, thereby reducing the number of packets transmitted on the wireless air interface and improving the utilization of wireless resources.
例如,控制设备可以采用图7所示的协议栈,以太层与5G网络层之间增加了适配层。基于图7所示的协议栈,控制设备可以通过适配层缓存以太网报文A的分段以太报文A1和分段以太报文A2。具体而言,以太层中的报文发送模块在报文生成模块生成以太网报文A后,向适配层发送以太网报文A。由于在发送以太网报文A的过程中,报文生成模块生成了以太网报文B,报文发送模块转而发送以太网报文B。在此情况下,适配层在接收并缓存了分段以太报文A1之后,又接收到了以太网报文B。进而,适配层将以太网报文B发送给5G网络层,由5G网络层通过无线空口发送以太网报文B。报文生成模块在向适配层发送完以太网报文B后,继续发送分段以太报文A2。适配层在接收到分段以太报文A2后,再将分段以太报文A1和分段以太报文A2合并为以太网报文A,并发送给5G网络层。For example, the control device may use the protocol stack shown in FIG. 7, and an adaptation layer is added between the Ethernet layer and the 5G network layer. Based on the protocol stack shown in FIG. 7, the control device can buffer the segmented Ethernet message A1 and the segmented Ethernet message A2 of the Ethernet message A through the adaptation layer. Specifically, the message sending module in the Ethernet layer sends the Ethernet message A to the adaptation layer after the message generation module generates the Ethernet message A. Since in the process of sending the Ethernet message A, the message generating module generates the Ethernet message B, and the message sending module sends the Ethernet message B instead. In this case, the adaptation layer receives and buffers the segmented Ethernet message A1, and then receives the Ethernet message B. Furthermore, the adaptation layer sends the Ethernet packet B to the 5G network layer, and the 5G network layer sends the Ethernet packet B through the wireless air interface. After sending the Ethernet message B to the adaptation layer, the message generation module continues to send the segmented Ethernet message A2. After the adaptation layer receives the segmented Ethernet message A2, it combines the segmented Ethernet message A1 and the segmented Ethernet message A2 into an Ethernet message A, and sends it to the 5G network layer.
其中,适配层可以通过在分段以太报文的末尾标识位处的标识信息,判断是否可以发送第一以太网报文。例如,以太层的报文发送模块可以在分段以太报文A2的末尾标识位添加第一标识信息,以指示以太网报文A已发送完毕,在一种可能的实现方式中,还可以在分段以太报文A1的末尾标识位添加第二标识信息,指示以太网报文尚未发送完毕。同样的,也可以在以太网报文B的末尾标识位添加第一标识信息,以指示以太网报文B已发送完毕。Among them, the adaptation layer can determine whether the first Ethernet packet can be sent through the identification information at the end of the segmented Ethernet packet. For example, the message sending module of the Ethernet layer can add first identification information to the end of the segmented Ethernet message A2 to indicate that the Ethernet message A has been sent. In a possible implementation, it can also be The second identification information is added to the end flag of the segmented Ethernet message A1, indicating that the Ethernet message has not yet been sent. Similarly, the first identification information can also be added to the identification bit at the end of the Ethernet message B to indicate that the Ethernet message B has been sent.
基于此,适配层在控制设备发送以太网报文A和以太网报文B的过程中可以主要执行以下几个步骤:Based on this, the adaptation layer can mainly perform the following steps in the process of the control device sending Ethernet packet A and Ethernet packet B:
S1:适配层接收到分段以太报文A1后,根据分段以太报文A1的末尾标识位的第二标识信息确定分段以太报文A1对应的以太网报文A尚未发送完毕,因此缓存分段以太报文A1。或者,由于分段以太报文A1的末尾标识位未添加有第一标识信息,确定分段以太报文A1对应的以太网报文A尚未发送完毕。S1: After receiving the segmented Ethernet message A1, the adaptation layer determines that the Ethernet message A corresponding to the segmented Ethernet message A1 has not been sent yet according to the second identification information at the end of the segmented Ethernet message A1. Cache segmented Ethernet message A1. Or, because the end identification bit of the segmented Ethernet message A1 is not added with the first identification information, it is determined that the Ethernet message A corresponding to the segmented Ethernet message A1 has not been sent yet.
S2:适配层在接收到以太网报文B之后,根据以太网报文B末尾标识位的第一标识信息确定以太网报文B已发送完毕。而且,由于分段以太报文A1为优先级较低的以太网报文的分段以太报文,因此可以确定以太网报文B为完整的、优先级较高的以太网报文,进而可以确定不需要将分段以太报文A1和以太网报文B合并。适配层将以太网报文B发送给5G网络层,由5G网络层通过无线空口发送以太网报文B。S2: After receiving the Ethernet message B, the adaptation layer determines that the Ethernet message B has been sent according to the first identification information of the identification bit at the end of the Ethernet message B. Moreover, because the segmented Ethernet message A1 is a segmented Ethernet message of the lower priority Ethernet message, it can be determined that the Ethernet message B is a complete Ethernet message with a higher priority, and then It is determined that there is no need to merge the segmented Ethernet message A1 and the Ethernet message B. The adaptation layer sends the Ethernet packet B to the 5G network layer, and the 5G network layer sends the Ethernet packet B through the wireless air interface.
S3:适配层待收到分段以太报文A2后,根据分段以太报文A2的末尾标识位的第二 标识信息确定分段以太报文A2对应的以太网报文A已发送完毕。在此情况下,适配层将分段以太报文A1和分段以太报文A2合并为以太网报文A之后,再发送给5G网络层,由5G网络层通过无线空口发送以太网报文A。S3: After receiving the segmented Ethernet message A2, the adaptation layer determines that the Ethernet message A corresponding to the segmented Ethernet message A2 has been sent according to the second identification information at the end of the segmented Ethernet message A2. In this case, the adaptation layer combines the segmented Ethernet message A1 and the segmented Ethernet message A2 into the Ethernet message A, and then sends it to the 5G network layer, and the 5G network layer sends the Ethernet message through the wireless air interface A.
可以理解,上述过程也可以由控制设备通过改进后的以太层或者改进后的5G网络层实现,对此不再赘述。It can be understood that the foregoing process can also be implemented by the control device through an improved Ethernet layer or an improved 5G network layer, which will not be repeated here.
与控制设备类似的,终端设备向网络设备发送第二以太网报文之前,也可以将第二以太网报文的多个分段以太报文合并为完整的第二以太网报文之后,再发送第二以太网报文。具体实现可参考上述对控制设备的说明,对此不再赘述。Similar to the control device, before the terminal device sends the second Ethernet packet to the network device, it can also merge multiple segmented Ethernet packets of the second Ethernet packet into a complete second Ethernet packet, and then Send the second Ethernet message. For specific implementation, please refer to the above description of the control device, which will not be repeated here.
与控制设备类似的,网络设备向终端设备转发第一以太网报文之前,也可以将第一以太网报文的多个分段以太报文合并为完整的第一以太网报文之后,再发送第一以太网报文。网络设备向控制设备转发第二以太网报文同理。接下来,以网络设备向终端设备转发第一以太网报文为例进行说明,主要包括以下两种情况:Similar to the control device, before the network device forwards the first Ethernet packet to the terminal device, it can also merge multiple segmented Ethernet packets of the first Ethernet packet into a complete first Ethernet packet, and then Send the first Ethernet message. The network device forwards the second Ethernet packet to the control device in the same way. Next, take the network device forwarding the first Ethernet packet to the terminal device as an example for description, which mainly includes the following two situations:
情况一:Situation 1:
控制设备与网络设备之间基于有线以太网传输,控制设备可以向网络设备发送分段以太报文A1和分段以太报文A2。在此情况下,网络设备也可以适用图7所示协议栈。具体来说,网络设备向终端设备转发以太网报文A和以太网报文B主要包括以下步骤:Based on wired Ethernet transmission between the control device and the network device, the control device can send a segmented Ethernet message A1 and a segmented Ethernet message A2 to the network device. In this case, the network device can also use the protocol stack shown in FIG. 7. Specifically, the network device forwarding the Ethernet packet A and the Ethernet packet B to the terminal device mainly includes the following steps:
步骤一:接收到分段以太报文A1,根据分段以太报文A1末尾标识位的第一标识信息可以确定分段以太报文A1所属的以太网报文尚未发送完毕。在此情况下,网络设备可以在适配层中缓存分段以太报文A1。Step 1: After receiving the segmented Ethernet message A1, according to the first identification information at the end of the segmented Ethernet message A1, it can be determined that the Ethernet message to which the segmented Ethernet message A1 belongs has not yet been sent. In this case, the network device can buffer the segmented Ethernet message A1 in the adaptation layer.
步骤二:接收到以太网报文B,由于以太网报文B包括完整的帧头、末尾标识位包括第二标识信息,且在以太网报文B之前收到的报文为分段以太报文,因此网络设备可以确定以太网报文B为一完整的、优先级较高的以太网报文。继而,网络设备可以通过5G网络层向终端设备转发以太网报文B。Step 2: Ethernet message B is received, because the Ethernet message B includes a complete frame header, the end identifier includes the second identification information, and the message received before the Ethernet message B is a segmented Ethernet message Therefore, the network device can determine that the Ethernet message B is a complete Ethernet message with a higher priority. Then, the network device can forward the Ethernet packet B to the terminal device through the 5G network layer.
步骤三:接收到分段以太报文A2,根据分段以太报文A2末尾标识位的第二标识信息,可以确定分段以太报文A1和分段以太报文A2对应的以太网报文A已发送完毕。在此情况下,网络设备通过适配层合并分段以太报文A1和分段以太报文A2,获得完整的以太网报文A,并将所获得的以太网报文A转发给终端设备。Step 3: After receiving the segmented Ethernet message A2, according to the second identification information at the end of the segmented Ethernet message A2, the Ethernet message A corresponding to the segmented Ethernet message A1 and the segmented Ethernet message A2 can be determined It has been sent. In this case, the network device merges the segmented Ethernet message A1 and the segmented Ethernet message A2 through the adaptation layer to obtain a complete Ethernet message A, and forwards the obtained Ethernet message A to the terminal device.
可选的,图7所示的5G网络层还可以是4G网络层或者其他网络层,本申请对此不作限制。Optionally, the 5G network layer shown in FIG. 7 may also be a 4G network layer or other network layers, which is not limited in this application.
情况二:Situation 2:
网络设备先接收到了以太网报文C,网络设备的以太层中的报文发送模块需要将以太网报文C发送给以太层的下一次层,如图7中的适配层。若报文发送模块将以太网报文C发送给以太层的下一次层的过程中,网络设备又接收到了优先级更高的以太网报文D,则报文发送模块停止向适配层发送以太网报文C,转而发送以太网报文D,再将以太网报文D发送完毕后再继续发送以太网报文C剩下的分段以太报文。适配层可以先缓存已接收的以太网报文C的分段以太报文,在接收完以太网报文D并将以太网报文D发送给5G网络层之后,接收以太网报文C剩下的分段以太报文,并将以太网报文C对应的分段以太报文合并为以太网报文C。之后,将以太网报文C发送给5G网络层。具体实现方式可参考控制设备发送以太网报文A和以太网报文B,对此不再赘述。The network device receives the Ethernet message C first, and the message sending module in the Ethernet layer of the network device needs to send the Ethernet message C to the next layer of the Ethernet layer, such as the adaptation layer in Figure 7. If the message sending module sends the Ethernet message C to the next layer of the Ethernet layer, and the network device receives the higher priority Ethernet message D, the message sending module stops sending to the adaptation layer For Ethernet message C, send the Ethernet message D instead, and then continue to send the remaining segmented Ethernet messages of the Ethernet message C after sending the Ethernet message D. The adaptation layer can first buffer the segmented Ethernet message of the received Ethernet message C. After receiving the Ethernet message D and sending the Ethernet message D to the 5G network layer, the remaining Ethernet message C is received And merge the segmented Ethernet message corresponding to Ethernet message C into Ethernet message C. After that, the Ethernet message C is sent to the 5G network layer. For specific implementation methods, please refer to the Ethernet message A and Ethernet message B sent by the control device, which will not be repeated here.
可以理解,网络设备也可以通过改进后的以太层或者改进后的5G网络层实现上述功 能,对此不再赘述。It is understandable that the network equipment can also implement the above functions through the improved Ethernet layer or the improved 5G network layer, which will not be repeated here.
上述主要从控制设备、网络设备和终端设备之间交互的角度对本申请提供的方案进行了介绍。可以理解的是,为了实现上述功能,控制设备、网络设备或终端设备可以包括执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution provided in this application from the perspective of interaction between control equipment, network equipment, and terminal equipment. It can be understood that, in order to implement the above-mentioned functions, the control device, network device or terminal device may include hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在采用集成的单元的情况下,图8示出了本申请实施例中所涉及的装置的可能的示例性框图,该装置800可以以软件的形式存在。装置800可以包括:处理单元802和通信单元803。处理单元802用于对装置800的动作进行控制管理。通信单元803用于支持装置800与其他网络实体的通信。装置800还可以包括存储单元801,用于存储装置800的程序代码和数据。In the case of using an integrated unit, FIG. 8 shows a possible exemplary block diagram of a device involved in an embodiment of the present application, and the device 800 may exist in the form of software. The apparatus 800 may include: a processing unit 802 and a communication unit 803. The processing unit 802 is used to control and manage the actions of the device 800. The communication unit 803 is used to support communication between the device 800 and other network entities. The device 800 may further include a storage unit 801 for storing program codes and data of the device 800.
其中,处理单元802可以是处理器或控制器,例如可以是通用中央处理器(central processing unit,CPU),通用处理器,数字信号处理(digital signal processing,DSP),专用集成电路(application specific integrated circuits,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包括一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元803可以是通信接口、收发器或收发电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口。存储单元801可以是存储器。The processing unit 802 may be a processor or a controller, for example, a general-purpose central processing unit (central processing unit, CPU), a general-purpose processor, a digital signal processing (digital signal processing, DSP), and an application specific integrated circuit (application specific integrated circuit). circuits, ASIC), field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on. The communication unit 803 may be a communication interface, a transceiver, or a transceiving circuit, etc., where the communication interface is a general term. In a specific implementation, the communication interface may include multiple interfaces. The storage unit 801 may be a memory.
该装置800可以为上述任一实施例中的控制设备、或者还可以为设置在控制设备中的半导体芯片。处理单元802可以支持装置800执行上文中各方法示例中控制设备的动作,通信单元803可以支持装置800与网络设备之间的通信。The apparatus 800 may be the control device in any of the above embodiments, or may also be a semiconductor chip provided in the control device. The processing unit 802 may support the apparatus 800 to perform the actions of controlling the device in the foregoing method examples, and the communication unit 803 may support the communication between the apparatus 800 and the network device.
具体的,在一个实施例中,处理单元802,用于根据第一最大传输单元MTU长度生成第一以太网报文,该第一以太网报文中数据字段的长度大于装置800的默认MTU长度且不大于第一MTU长度;Specifically, in one embodiment, the processing unit 802 is configured to generate a first Ethernet packet according to the first maximum transmission unit MTU length, and the length of the data field in the first Ethernet packet is greater than the default MTU length of the device 800 And not greater than the first MTU length;
通信单元803,用于向网络设备发送第一以太网报文。The communication unit 803 is configured to send the first Ethernet packet to the network device.
在一种可能的实现方式中,通信单元803还用于:接收网络设备发送的第一信息;In a possible implementation manner, the communication unit 803 is further configured to: receive the first information sent by the network device;
处理单元802还用于:根据第一信息获取第一MTU长度。The processing unit 802 is further configured to obtain the first MTU length according to the first information.
在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
在一种可能的实现方式中,处理单元802还用于:若确定支持接收数据字段长度为第一MTU长度的以太网报文,则控制通信单元803向网络设备发送第二信息,第二信息用于指示终端设备根据第一MTU长度发送第二以太网报文;In a possible implementation manner, the processing unit 802 is further configured to: if it is determined to support receiving an Ethernet packet with a data field length of the first MTU length, control the communication unit 803 to send the second information to the network device. Used to instruct the terminal device to send the second Ethernet packet according to the first MTU length;
通信单元803还用于:接收网络设备发送的第二以太网报文,该第二以太网报文是网络设备从终端设备接收的、终端设备根据第二信息发送的第二以太网报文。The communication unit 803 is further configured to receive a second Ethernet packet sent by the network device, where the second Ethernet packet is a second Ethernet packet received by the network device from the terminal device and sent by the terminal device according to the second information.
在一种可能的实现方式中,处理单元802还用于:将多个分段以太报文合并为第一以太网报文。In a possible implementation manner, the processing unit 802 is further configured to merge multiple segmented Ethernet packets into a first Ethernet packet.
该装置800还可以为上述任一实施例中的终端设备、或者还可以为设置在终端设备中的半导体芯片。处理单元802可以支持装置800执行上文中各方法示例中终端设备的动作,通信单元803可以支持装置800与网络设备之间的通信。The apparatus 800 may also be the terminal device in any of the above embodiments, or may also be a semiconductor chip provided in the terminal device. The processing unit 802 may support the apparatus 800 to perform the actions of the terminal device in the foregoing method examples, and the communication unit 803 may support the communication between the apparatus 800 and the network device.
具体地,在一个实施例中,通信单元803,用于接收网络设备发送的第一以太网报文,该第一以太网报文是控制设备向网络设备发送的、数据字段长度大于控制设备的默认MTU长度且不大于第一MTU长度的以太网报文;Specifically, in one embodiment, the communication unit 803 is configured to receive a first Ethernet packet sent by the network device, where the first Ethernet packet is sent by the control device to the network device and the data field length is greater than that of the control device. Ethernet packets with the default MTU length and not greater than the first MTU length;
处理单元802,用于处理第一以太网报文。The processing unit 802 is configured to process the first Ethernet packet.
在一种可能的实现方式中,第一MTU长度不大于装置支持的最大数据字段长度和网络设备支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the apparatus and the maximum data field length supported by the network device.
在一种可能的实现方式中,通信单元803,还用于接收网络设备发送的第二信息;In a possible implementation manner, the communication unit 803 is further configured to receive the second information sent by the network device;
处理单元802还用于:根据第二信息获取第一MTU长度,根据第一MTU长度控制通信单元803向网络设备发送第二以太网报文,该第二以太网报文中数据字段的长度大于装置800的默认MTU长度且不大于第一MTU长度。The processing unit 802 is further configured to obtain the first MTU length according to the second information, and control the communication unit 803 according to the first MTU length to send a second Ethernet packet to the network device, and the length of the data field in the second Ethernet packet is greater than The default MTU length of the device 800 is not greater than the first MTU length.
在一种可能的实现方式中,处理单元802还用于:将多个分段以太报文合并为第二以太网报文。In a possible implementation manner, the processing unit 802 is further configured to merge multiple segmented Ethernet packets into a second Ethernet packet.
该装置800还可以为上述任一实施例中的网络设备、或者还可以为设置在网络设备中的半导体芯片。处理单元802可以支持装置800执行上文中各方法示例中网络设备的动作,通信单元803可以支持装置800与终端设备和控制设备之间的通信。The apparatus 800 may also be the network equipment in any of the above embodiments, or may also be a semiconductor chip provided in the network equipment. The processing unit 802 may support the apparatus 800 to perform the actions of the network equipment in the above method examples, and the communication unit 803 may support the communication between the apparatus 800 and the terminal equipment and the control equipment.
具体地,在一个实施例中,通信单元803,用于接收控制设备发送的第一以太网报文,该第一以太网报文中数据字段的长度大于控制设备的默认最大传输单元MTU长度且不大于第一MTU长度;Specifically, in one embodiment, the communication unit 803 is configured to receive the first Ethernet packet sent by the control device, and the length of the data field in the first Ethernet packet is greater than the default maximum transmission unit MTU length of the control device and Not greater than the first MTU length;
处理单元802,用于控制通信单元803向终端设备发送第一以太网报文。The processing unit 802 is configured to control the communication unit 803 to send the first Ethernet packet to the terminal device.
在一种可能的实现方式中,处理单元802还用于:获取第一MTU长度,并向控制设备发送第一信息,第一信息用于指示第一MTU长度。In a possible implementation manner, the processing unit 802 is further configured to: obtain the first MTU length, and send first information to the control device, where the first information is used to indicate the first MTU length.
在一种可能的实现方式中,第一MTU长度不大于终端设备支持的最大数据字段长度和装置支持的最大数据字段长度中的最小值。In a possible implementation manner, the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the device.
在一种可能的实现方式中,通信单元803还用于:接收控制设备发送的第二信息;In a possible implementation manner, the communication unit 803 is further configured to: receive the second information sent by the control device;
处理单元802还用于:控制通信单元803将第二信息转发给终端设备,第二信息用于指示终端设备根据第一MTU长度发送第二以太网报文;The processing unit 802 is further configured to: control the communication unit 803 to forward second information to the terminal device, and the second information is used to instruct the terminal device to send a second Ethernet packet according to the first MTU length;
通信单元803还用于:接收终端设备发送的第二以太网报文,该第二以太网报文中数据字段的长度大于终端设备的默认MTU长度且不大于第一MTU长度。The communication unit 803 is further configured to receive a second Ethernet packet sent by the terminal device, where the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first MTU length.
在一种可能的实现方式中,处理单元802还用于:将多个分段以太报文合并为第一以太网报文。In a possible implementation manner, the processing unit 802 is further configured to merge multiple segmented Ethernet packets into a first Ethernet packet.
参阅图9所示,为本申请提供的一种装置示意图,该装置可以是上述实施例中的控制设备或终端设备或网络设备。该装置900包括:处理器902、通信接口903、存储器901。可选的,装置900还可以包括总线904。其中,通信接口903、处理器902以及存储器901可以通过总线904相互连接;总线904可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述总线904可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Refer to FIG. 9, which is a schematic diagram of an apparatus provided in this application. The apparatus may be a control device, a terminal device, or a network device in the foregoing embodiment. The device 900 includes a processor 902, a communication interface 903, and a memory 901. Optionally, the apparatus 900 may further include a bus 904. Among them, the communication interface 903, the processor 902, and the memory 901 may be connected to each other through a bus 904; the bus 904 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (extended industry standard architecture) EISA) bus, etc. The bus 904 can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
处理器902可以是一个CPU,微处理器,ASIC,或一个或多个用于控制本申请方案程序执行的集成电路。The processor 902 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits used to control the execution of the program of the present application.
通信接口903,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,RAN,无线局域网(wireless local area networks,WLAN),有线接入网等。The communication interface 903 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), wired access networks, etc.
存储器901可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically er服务器able programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线904与处理器相连接。存储器也可以和处理器集成在一起。The memory 901 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions The dynamic storage device can also be electrically erasable programmable read-only memory (electrically programmable read-only memory, EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, Optical disc storage (including compact disc, laser disc, optical disc, digital universal disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can Any other medium accessed by the computer, but not limited to this. The memory may exist independently and is connected to the processor through the bus 904. The memory can also be integrated with the processor.
其中,存储器901用于存储执行本申请方案的计算机执行指令,并由处理器902来控制执行。处理器902用于执行存储器901中存储的计算机执行指令,从而实现本申请上述实施例提供的以太网报文的传输方法。The memory 901 is used to store computer-executable instructions for executing the solution of the present application, and the processor 902 controls the execution. The processor 902 is configured to execute the computer-executable instructions stored in the memory 901, so as to implement the Ethernet packet transmission method provided in the foregoing embodiment of the present application.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program code, which is not specifically limited in the embodiments of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。The various illustrative logic units and circuits described in the embodiments of this application can be implemented by general-purpose processors, digital signal processors, application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, Discrete gates or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions. The general-purpose processor may be a microprocessor, and optionally, the general-purpose processor may also be any traditional processor, controller, microcontroller, or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration achieve.
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意 形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于终端设备中。可选地,处理器和存储媒介也可以设置于终端设备中的不同的部件中。The steps of the method or algorithm described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. The software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or any other storage medium in the art. Exemplarily, the storage medium may be connected to the processor, so that the processor can read information from the storage medium, and can store and write information to the storage medium. Optionally, the storage medium may also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a terminal device. Optionally, the processor and the storage medium may also be arranged in different components in the terminal device.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in combination with specific features and embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, this specification and drawings are merely exemplary descriptions of the application defined by the appended claims, and are deemed to have covered any and all modifications, changes, combinations or equivalents within the scope of the application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (31)

  1. 一种以太网报文传输方法,其特征在于,包括:An Ethernet packet transmission method is characterized in that it includes:
    所述控制设备根据第一最大传输单元MTU长度生成第一以太网报文,所述第一以太网报文中数据字段的长度大于所述控制设备的默认MTU长度且不大于所述第一MTU长度;The control device generates the first Ethernet packet according to the first maximum transmission unit MTU length, and the length of the data field in the first Ethernet packet is greater than the default MTU length of the control device and not greater than the first MTU length;
    所述控制设备向网络设备发送所述第一以太网报文。The control device sends the first Ethernet packet to the network device.
  2. 如权利要求1所述的方法,其特征在于,所述控制设备根据第一MTU长度生成第一以太网报文之前,还包括:The method according to claim 1, wherein before the control device generates the first Ethernet packet according to the first MTU length, the method further comprises:
    所述控制设备接收所述网络设备发送的第一信息,并根据所述第一信息获取所述第一MTU长度。The control device receives the first information sent by the network device, and obtains the first MTU length according to the first information.
  3. 如权利要求1所述的方法,其特征在于,所述第一MTU长度不大于所述终端设备支持的最大数据字段长度和所述网络设备支持的最大数据字段长度中的最小值。The method according to claim 1, wherein the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  4. 如权利要求2所述的方法,其特征在于,控制设备根据所述第一信息获取第一MTU长度之后,还包括:The method according to claim 2, wherein after the control device obtains the first MTU length according to the first information, the method further comprises:
    所述控制设备若确定支持接收数据字段长度为所述第一MTU长度的以太网报文,则向所述网络设备发送第二信息,所述第二信息用于指示所述终端设备根据所述第一MTU长度发送第二以太网报文;If the control device determines that it supports receiving an Ethernet packet with a data field length of the first MTU length, it sends second information to the network device, where the second information is used to instruct the terminal device according to the Sending a second Ethernet packet with the first MTU length;
    所述控制设备接收所述网络设备发送的第二以太网报文,所述第二以太网报文是所述网络设备从所述终端设备接收的、所述终端设备根据所述第二信息发送的以太网报文。The control device receives a second Ethernet packet sent by the network device, where the second Ethernet packet is received by the network device from the terminal device and sent by the terminal device according to the second information Ethernet message.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述控制设备向网络设备发送所述第一以太网报文之前,还包括:The method according to any one of claims 1 to 4, wherein before the control device sends the first Ethernet packet to the network device, the method further comprises:
    所述控制设备将多个分段以太报文合并为所述第一以太网报文。The control device merges a plurality of segmented Ethernet messages into the first Ethernet message.
  6. 一种以太网报文传输方法,其特征在于,包括:An Ethernet packet transmission method is characterized in that it includes:
    终端设备接收网络设备发送的第一以太网报文,所述第一以太网报文是控制设备向所述网络设备发送的、数据字段长度大于所述控制设备的默认MTU长度且不大于第一MTU长度的以太网报文;The terminal device receives the first Ethernet packet sent by the network device, where the first Ethernet packet is sent by the control device to the network device and the data field length is greater than the default MTU length of the control device and not greater than the first Ethernet packet. Ethernet packets with MTU length;
    所述终端设备处理所述第一以太网报文。The terminal device processes the first Ethernet packet.
  7. 如权利要求6所述的方法,其特征在于,所述第一MTU长度不大于所述终端设备支持的最大数据字段长度和所述网络设备支持的最大数据字段长度中的最小值。8. The method according to claim 6, wherein the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  8. 如权利要求6所述的方法,其特征在于,还包括:The method of claim 6, further comprising:
    所述终端设备接收所述网络设备发送的第二信息,并根据所述第二信息获取第一MTU长度;The terminal device receives the second information sent by the network device, and obtains the first MTU length according to the second information;
    所述终端设备根据所述第一MTU长度向所述网络设备发送第二以太网报文,所述第二以太网报文中数据字段的长度大于所述终端设备的默认MTU长度且不大于所述第一MTU长度。The terminal device sends a second Ethernet packet to the network device according to the first MTU length, and the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than all The first MTU length.
  9. 如权利要求8所述的方法,其特征在于,所述终端设备根据所述第一MTU长度向所述网络设备发送第二以太网报文之前,还包括:The method according to claim 8, wherein before the terminal device sends a second Ethernet packet to the network device according to the first MTU length, the method further comprises:
    所述终端设备将多个分段以太报文合并为所述第二以太网报文。The terminal device merges a plurality of segmented Ethernet packets into the second Ethernet packet.
  10. 一种以太网报文传输方法,其特征在于,包括:An Ethernet packet transmission method is characterized in that it includes:
    所述网络设备接收控制设备发送的第一以太网报文,所述第一以太网报文中数据字段 的长度大于所述控制设备的默认最大传输单元MTU长度且不大于第一MTU长度;Receiving, by the network device, a first Ethernet packet sent by a control device, where the length of the data field in the first Ethernet packet is greater than the default maximum transmission unit MTU length of the control device and not greater than the first MTU length;
    所述网络设备向终端设备发送所述第一以太网报文。The network device sends the first Ethernet packet to a terminal device.
  11. 如权利要求10所述的方法,其特征在于,所述网络设备接收控制设备发送的第一以太网报文之前,还包括:The method according to claim 10, wherein before the network device receives the first Ethernet packet sent by the control device, the method further comprises:
    所述网络设备获取所述第一MTU长度,并向所述控制设备发送第一信息,所述第一信息用于指示第一MTU长度。The network device obtains the first MTU length, and sends first information to the control device, where the first information is used to indicate the first MTU length.
  12. 如权利要求10所述的方法,其特征在于,所述第一MTU长度不大于所述终端设备支持的最大数据字段长度和所述网络设备支持的最大数据字段长度中的最小值。The method according to claim 10, wherein the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  13. 如权利要求10所述的方法,其特征在于,还包括:The method of claim 10, further comprising:
    所述网络设备接收所述控制设备发送的第二信息,并将所述第二信息转发给所述终端设备,所述第二信息用于指示所述终端设备根据所述第一MTU长度发送第二以太网报文;The network device receives the second information sent by the control device, and forwards the second information to the terminal device, where the second information is used to instruct the terminal device to send the second information according to the first MTU length Two Ethernet messages;
    所述网络设备接收所述终端设备发送的第二以太网报文,所述第二以太网报文中数据字段的长度大于所述终端设备的默认MTU长度且不大于所述第一MTU长度。The network device receives a second Ethernet packet sent by the terminal device, and the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first MTU length.
  14. 如权利要求10所述的方法,其特征在于,所述网络设备向终端设备发送所述第一以太网报文之前,还包括:The method according to claim 10, wherein before the network device sends the first Ethernet packet to the terminal device, the method further comprises:
    所述网络设备将多个分段以太报文合并为所述第一以太网报文。The network device merges multiple segmented Ethernet messages into the first Ethernet message.
  15. 一种装置,其特征在于,包括:处理单元和通信单元;A device, characterized by comprising: a processing unit and a communication unit;
    所述处理单元,用于根据第一最大传输单元MTU长度生成第一以太网报文,所述第一以太网报文中数据字段的长度大于所述装置的默认MTU长度且不大于所述第一MTU长度;The processing unit is configured to generate a first Ethernet packet according to the first maximum transmission unit MTU length, and the length of the data field in the first Ethernet packet is greater than the default MTU length of the device and not greater than the first Ethernet packet. One MTU length;
    所述通信单元,用于向网络设备发送所述第一以太网报文。The communication unit is configured to send the first Ethernet packet to a network device.
  16. 如权利要求15所述的装置,其特征在于,所述通信单元还用于:接收所述网络设备发送的第一信息;The apparatus according to claim 15, wherein the communication unit is further configured to: receive the first information sent by the network device;
    所述处理单元还用于:根据所述第一信息获取所述第一MTU长度。The processing unit is further configured to obtain the first MTU length according to the first information.
  17. 如权利要求15所述的装置,其特征在于,所述第一MTU长度不大于所述终端设备支持的最大数据字段长度和所述网络设备支持的最大数据字段长度中的最小值。The apparatus according to claim 15, wherein the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the network device.
  18. 如权利要求16所述的装置,其特征在于,所述处理单元还用于:若确定支持接收数据字段长度为所述第一MTU长度的以太网报文,则控制所述通信单元向所述网络设备发送第二信息,所述第二信息用于指示所述终端设备根据所述第一MTU长度发送第二以太网报文;The apparatus according to claim 16, wherein the processing unit is further configured to: if it is determined to support receiving an Ethernet packet with a data field length of the first MTU length, control the communication unit to send the The network device sends second information, where the second information is used to instruct the terminal device to send a second Ethernet packet according to the first MTU length;
    所述通信单元还用于:接收所述网络设备发送的第二以太网报文,所述第二以太网报文是所述网络设备从所述终端设备接收的、所述终端设备根据所述第二信息发送的以太网报文。The communication unit is further configured to: receive a second Ethernet packet sent by the network device, where the second Ethernet packet is received by the network device from the terminal device, and the terminal device according to the The Ethernet packet sent by the second information.
  19. 如权利要求15至18中任一项所述的装置,其特征在于,所述处理单元还用于:将多个分段以太报文合并为所述第一以太网报文。The apparatus according to any one of claims 15 to 18, wherein the processing unit is further configured to merge multiple segmented Ethernet packets into the first Ethernet packet.
  20. 一种装置,其特征在于,包括:处理单元和通信单元;A device, characterized by comprising: a processing unit and a communication unit;
    所述通信单元,用于接收网络设备发送的第一以太网报文,所述第一以太网报文是控制设备向所述网络设备发送的、数据字段长度大于所述控制设备的默认MTU长度且不大于第一MTU长度的以太网报文;The communication unit is configured to receive a first Ethernet packet sent by a network device, where the first Ethernet packet is sent by the control device to the network device and has a data field length greater than the default MTU length of the control device An Ethernet packet with a length not greater than the first MTU;
    所述处理单元,用于处理所述第一以太网报文。The processing unit is configured to process the first Ethernet packet.
  21. 如权利要求20所述的装置,其特征在于,所述第一MTU长度不大于所述装置支持的最大数据字段长度和所述网络设备支持的最大数据字段长度中的最小值。The apparatus according to claim 20, wherein the first MTU length is not greater than the minimum of the maximum data field length supported by the apparatus and the maximum data field length supported by the network device.
  22. 如权利要求20所述的装置,其特征在于,所述通信单元,还用于接收所述网络设备发送的第二信息;The apparatus according to claim 20, wherein the communication unit is further configured to receive second information sent by the network device;
    所述处理单元还用于:根据所述第二信息获取第一MTU长度,根据所述第一MTU长度控制所述通信单元向所述网络设备发送第二以太网报文,所述第二以太网报文中数据字段的长度大于所述装置的默认MTU长度且不大于所述第一MTU长度。The processing unit is further configured to obtain a first MTU length according to the second information, and control the communication unit to send a second Ethernet packet to the network device according to the first MTU length, and the second Ethernet The length of the data field in the network message is greater than the default MTU length of the device and not greater than the first MTU length.
  23. 如权利要求22所述的装置,其特征在于,所述处理单元还用于:将多个分段以太报文合并为所述第二以太网报文。The device according to claim 22, wherein the processing unit is further configured to merge a plurality of segmented Ethernet packets into the second Ethernet packet.
  24. 一种装置,其特征在于,包括:处理单元和通信单元;A device, characterized by comprising: a processing unit and a communication unit;
    所述通信单元,用于接收控制设备发送的第一以太网报文,所述第一以太网报文中数据字段的长度大于所述控制设备的默认最大传输单元MTU长度且不大于第一MTU长度;The communication unit is configured to receive a first Ethernet packet sent by a control device, where the length of the data field in the first Ethernet packet is greater than the default maximum transmission unit MTU length of the control device and not greater than the first MTU length;
    所述处理单元,用于控制所述通信单元向终端设备发送所述第一以太网报文。The processing unit is configured to control the communication unit to send the first Ethernet packet to a terminal device.
  25. 如权利要求24所述的装置,其特征在于,所述处理单元还用于:获取所述第一MTU长度,并向所述控制设备发送第一信息,所述第一信息用于指示第一MTU长度。The apparatus according to claim 24, wherein the processing unit is further configured to: obtain the first MTU length, and send first information to the control device, the first information being used to indicate the first MTU length MTU length.
  26. 如权利要求24所述的装置,其特征在于,所述第一MTU长度不大于所述终端设备支持的最大数据字段长度和所述装置支持的最大数据字段长度中的最小值。The apparatus according to claim 24, wherein the first MTU length is not greater than the minimum value of the maximum data field length supported by the terminal device and the maximum data field length supported by the apparatus.
  27. 如权利要求24所述的装置,其特征在于,所述通信单元还用于:接收所述控制设备发送的第二信息;The device according to claim 24, wherein the communication unit is further configured to: receive second information sent by the control device;
    所述处理单元还用于:控制所述通信单元将所述第二信息转发给所述终端设备,所述第二信息用于指示所述终端设备根据所述第一MTU长度发送第二以太网报文;The processing unit is further configured to: control the communication unit to forward the second information to the terminal device, where the second information is used to instruct the terminal device to send a second Ethernet according to the first MTU length Message
    所述通信单元还用于:接收所述终端设备发送的第二以太网报文,所述第二以太网报文中数据字段的长度大于所述终端设备的默认MTU长度且不大于所述第一MTU长度。The communication unit is further configured to: receive a second Ethernet packet sent by the terminal device, where the length of the data field in the second Ethernet packet is greater than the default MTU length of the terminal device and not greater than the first One MTU length.
  28. 如权利要求24所述的装置,其特征在于,所述处理单元还用于:将多个分段以太报文合并为所述第一以太网报文。The apparatus according to claim 24, wherein the processing unit is further configured to merge multiple segmented Ethernet packets into the first Ethernet packet.
  29. 一种装置,其特征在于,包括处理器和收发器;A device, characterized in that it comprises a processor and a transceiver;
    所述处理器,用于运行程序指令,并与所述收发器配合,使得所述装置实现如权利要求1至14中任一项所述的方法。The processor is configured to run program instructions and cooperate with the transceiver to enable the device to implement the method according to any one of claims 1 to 14.
  30. 一种计算机可读存储介质,其特征在于,包括程序指令,当所述程序指令在计算机上运行时,使得所述计算机执行如权利要求1至14中任一项所述的方法。A computer-readable storage medium, characterized by comprising program instructions, which when run on a computer, causes the computer to execute the method according to any one of claims 1 to 14.
  31. 一种系统,其特征在于,包括如权利要求29所述的装置。A system, characterized by comprising the device according to claim 29.
PCT/CN2020/077299 2019-03-01 2020-02-28 Ethernet message transmission method, apparatus, and system WO2020177642A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910155606.5A CN111641565B (en) 2019-03-01 2019-03-01 Method, device and system for transmitting Ethernet message
CN201910155606.5 2019-03-01

Publications (1)

Publication Number Publication Date
WO2020177642A1 true WO2020177642A1 (en) 2020-09-10

Family

ID=72330499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/077299 WO2020177642A1 (en) 2019-03-01 2020-02-28 Ethernet message transmission method, apparatus, and system

Country Status (2)

Country Link
CN (1) CN111641565B (en)
WO (1) WO2020177642A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115250257B (en) * 2022-04-16 2024-01-05 深圳星云智联科技有限公司 Ethernet message processing method and device applied to DPU
CN114844842A (en) * 2022-05-07 2022-08-02 湖南戎腾网络科技有限公司 Data transmission method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780633A (en) * 2012-08-08 2012-11-14 北京傲天动联技术有限公司 Device and method for transmitting data based on CAPWAP (control and provisioning of wireless access points) protocol
CN103108407A (en) * 2011-11-09 2013-05-15 中兴通讯股份有限公司 Handling method and device of data segment and recombination among protocol layers based on general packet radio service (GPRS)
WO2015107786A1 (en) * 2014-01-17 2015-07-23 ソニー株式会社 Communication apparatus, communication data generation method, and communication data processing method
CN108282391A (en) * 2018-01-11 2018-07-13 新华三技术有限公司 A kind of VXLAN message fragmenting methods and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9069727B2 (en) * 2011-08-12 2015-06-30 Talari Networks Incorporated Adaptive private network with geographically redundant network control nodes
US10142251B2 (en) * 2015-01-26 2018-11-27 Hfi Innovation Inc. Control of maximum transmission unit size discovery using AT commands
US10212095B2 (en) * 2015-06-30 2019-02-19 Hewlett Packard Enterprise Development Lp Maximum transmission unit installation for switches in a software-defined network
CN108270673B (en) * 2016-12-30 2019-08-13 中兴通讯股份有限公司 File transmitting method, device and system
US10873535B2 (en) * 2017-08-10 2020-12-22 Mediatek Inc. Method and apparatus for avoiding packet fragmentation in mobile communications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108407A (en) * 2011-11-09 2013-05-15 中兴通讯股份有限公司 Handling method and device of data segment and recombination among protocol layers based on general packet radio service (GPRS)
CN102780633A (en) * 2012-08-08 2012-11-14 北京傲天动联技术有限公司 Device and method for transmitting data based on CAPWAP (control and provisioning of wireless access points) protocol
WO2015107786A1 (en) * 2014-01-17 2015-07-23 ソニー株式会社 Communication apparatus, communication data generation method, and communication data processing method
CN108282391A (en) * 2018-01-11 2018-07-13 新华三技术有限公司 A kind of VXLAN message fragmenting methods and device

Also Published As

Publication number Publication date
CN111641565B (en) 2022-05-13
CN111641565A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
US10104578B2 (en) Data transmission method and device
WO2019136728A1 (en) Transmission configuration method and related product
US11968565B2 (en) User plane information reporting method and apparatus
WO2021232568A1 (en) Method, terminal and system for transceiving data over wireless local area network, and network access device
US11509597B2 (en) Data transmission method and device
WO2015165254A1 (en) Collaborative communication method, cloud server and core network server
WO2020259581A1 (en) Communication method and apparatus
WO2020156261A1 (en) Data compression method and base station
TWI791033B (en) Method of wireless communication, terminal equipment, and network equipment
WO2021036925A1 (en) Communication method and apparatus
WO2019028771A1 (en) Data transmission method and terminal device
JP2022501929A (en) Data transmission method and equipment
US11259362B2 (en) Method for repeatedly transmitting data and device
WO2020098747A1 (en) Transmission path configuration method and apparatus
US11653412B2 (en) Data transmission method and communications apparatus for communication of data from different service types or different destination addresses
WO2020177642A1 (en) Ethernet message transmission method, apparatus, and system
WO2021135650A1 (en) Communication method and apparatus
WO2018233510A1 (en) Communication method and apparatus
KR20200116908A (en) Data transmission control method and related products
WO2018227566A1 (en) Information transmission method and device
WO2018058380A1 (en) Data transmission method, network device and terminal device
US20200099487A1 (en) Method for implementing data mapping and transmission and related product
WO2019085920A1 (en) Information transmission method and communication device
WO2021160158A1 (en) Transmission method and network device
WO2021155604A1 (en) Information processing method and device

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: 20766098

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20766098

Country of ref document: EP

Kind code of ref document: A1