CN115714991A - Method, apparatus and storage medium for transmitting time-resolved network packets - Google Patents

Method, apparatus and storage medium for transmitting time-resolved network packets Download PDF

Info

Publication number
CN115714991A
CN115714991A CN202110970319.7A CN202110970319A CN115714991A CN 115714991 A CN115714991 A CN 115714991A CN 202110970319 A CN202110970319 A CN 202110970319A CN 115714991 A CN115714991 A CN 115714991A
Authority
CN
China
Prior art keywords
tan
packet
broken
data
sequence
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110970319.7A
Other languages
Chinese (zh)
Inventor
韦安妮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
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 China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110970319.7A priority Critical patent/CN115714991A/en
Publication of CN115714991A publication Critical patent/CN115714991A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a time-transparent network data packet transmission method, equipment and a storage medium. The method comprises the following steps: determining a corresponding broken packet serial number according to the generation sequence of the TAN broken packets of the TAN data packets; sending a TAN broken packet, wherein the head of the TAN broken packet carries a broken packet serial number; the broken packet sequence number occupies at least two bits and is used for uniquely indicating the broken packet sequence of the corresponding TAN broken packet; the TAN packet interruption is a data packet generated after being interrupted based on a preemptive transmission mechanism in the process of sending the TAN data packet. The packet-breaking sequence number of the TAN packet-breaking at least occupies two bits and is used for uniquely indicating the packet-breaking sequence of the corresponding TAN packet-breaking, so that the absolute packet-breaking sequence of the TAN packet-breaking can be determined based on the head of the TAN packet-breaking, the disorder problem of the TAN packet-breaking in the wireless transmission environment can be effectively avoided, and the transmission performance of the TAN data packet in the wireless transmission environment is improved.

Description

时间明晰网络数据包的传输方法、设备及存储介质Time-clear network packet transmission method, device and storage medium

技术领域technical field

本申请涉及通信领域,尤其涉及一种时间明晰网络数据包的传输方法、设备及存储介质。The present application relates to the communication field, and in particular to a transmission method, device and storage medium of time-clear network data packets.

背景技术Background technique

相关技术中,TAN(Time Aware Network,时间明晰网络)断包传输是根据断包序列号0—>1—>0—>1—>0......来判断断包PDU(Protocol Data Unit,协议数据单元)重组时的序列,进而对接收到的断包PDU进行重组。现有TAN大多是有线传输,断包和重组是在相邻的TAN交换机上按顺序发送;然而在无线传输环境下,如果断包PDU在传输时发生乱序或丢包,则断包PDU重组时CRC(Cyclic Redundancy Check,循环冗余校验)不通过,而负责断包PDU重组的设备无法确定不通过的原因(乱序、丢包、误码或者断包未传完),导致数据重组失败或重组出错,影响TAN业务应用。In the related technology, TAN (Time Aware Network, Time Clear Network) broken packet transmission is based on the broken packet serial number 0—>1—>0—>1—>0…to judge the broken packet PDU (Protocol Data Unit, protocol data unit) sequence during reassembly, and then reassemble the received broken packet PDU. Most of the existing TANs are wired transmission, and the broken packets and reassembly are sent sequentially on the adjacent TAN switch; however, in the wireless transmission environment, if the broken packet PDU is out of order or lost during transmission, the broken packet PDU will be reassembled When the CRC (Cyclic Redundancy Check, Cyclic Redundancy Check) fails, and the device responsible for the reassembly of the broken packet PDU cannot determine the reason for the failure (out of order, packet loss, bit error or uncompleted transmission of the broken packet), resulting in data reassembly Failure or reorganization errors affect TAN business applications.

发明内容Contents of the invention

有鉴于此,本申请实施例提供了一种时间明晰网络数据包的传输方法、设备及存储介质,旨在改善TAN数据包在无线传输环境下的传输性能。In view of this, the embodiments of the present application provide a time-aware network data packet transmission method, device, and storage medium, aiming at improving the transmission performance of TAN data packets in a wireless transmission environment.

本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:

第一方面,本申请实施例提供了一种时间明晰网络数据包的传输方法,应用于TAN交换设备,所述方法包括:In the first aspect, the embodiment of the present application provides a time-clear network data packet transmission method, which is applied to a TAN switching device, and the method includes:

将TAN数据包的TAN断包基于生成顺序确定相应的断包序列号;Determining the corresponding broken packet sequence number of the TAN broken packet of the TAN data packet based on the generation order;

发送所述TAN断包,所述TAN断包的头部携带所述断包序列号;Sending the TAN broken packet, the header of the TAN broken packet carries the sequence number of the broken packet;

其中,所述断包序列号至少占用两个比特,用于唯一指示相应的所述TAN断包的断包次序;所述TAN断包为在发送TAN数据包的过程中,基于抢占传输机制被截断后生成的数据包。Wherein, the packet disconnection sequence number occupies at least two bits, and is used to uniquely indicate the packet disconnection sequence of the corresponding TAN packet disconnection; The resulting packet after truncating.

上述方案中,所述断包序列号还具有采用一比特动态指示相应的所述TAN断包的断包次序的动态指示方式;所述TAN断包的头部还携带用于指示所述断包序列号采用动态指示或者唯一指示方式的断包序列位标识。In the above solution, the serial number of the broken packet also has a dynamic indication method that uses one bit to dynamically indicate the broken packet order of the corresponding TAN broken packet; the header of the TAN broken packet also carries a The sequence number is identified by a dynamic indication or a unique indication of the broken packet sequence bit.

上述方案中,所述断包序列位标识和/或至少部分所述断包序列号占用所述TAN断包的头部的预留字段。In the above solution, the fragmented packet sequence bit identifier and/or at least part of the fragmented packet sequence number occupy a reserved field in the header of the TAN fragmented packet.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

接收多个对应同一TAN数据包的TAN断包,各所述TAN断包的头部携带所述断包序列号;Receiving a plurality of TAN broken packets corresponding to the same TAN data packet, the header of each TAN broken packet carries the sequence number of the broken packet;

基于各所述TAN断包的所述断包序列号确定各所述TAN断包的重组顺序;Determining the recombination order of each of the TAN broken packets based on the broken packet sequence number of each of the TAN broken packets;

基于所述重组顺序还原所述TAN数据包。The TAN packets are restored based on the reassembly order.

第二方面,本申请实施例提供了一种时间明晰网络数据包的传输方法,应用于无线网络的网元,所述方法包括:In the second aspect, the embodiment of the present application provides a time-clear network data packet transmission method, which is applied to a network element of a wireless network, and the method includes:

接收TAN交换设备发送的对应同一TAN数据包的多个TAN断包,各所述TAN断包的头部携带断包序列号;Receiving multiple TAN broken packets corresponding to the same TAN data packet sent by the TAN switching device, the header of each TAN broken packet carries a broken packet sequence number;

对接收的所述TAN断包封装至IP(Internet Protocol,互联网协议)报文中并根据所述TAN断包的头部确定所述IP报文的头域字段;Encapsulating the received TAN broken packet into an IP (Internet Protocol, Internet Protocol) message and determining the header field of the IP message according to the header of the TAN broken packet;

发送所述IP报文;Send the IP packet;

其中,所述断包序列号采用一比特动态指示相应的所述TAN断包的断包次序,所述IP报文的头域字段能够指示相应的所述TAN断包的断包次序。Wherein, the packet fragmentation sequence number uses one bit to dynamically indicate the packet fragmentation sequence of the corresponding TAN packet fragmentation, and the header field field of the IP message can indicate the packet fragmentation sequence of the corresponding TAN packet fragmentation.

上述方案中,所述根据所述TAN断包的头部确定所述IP报文的头域字段,包括:In the above scheme, the determination of the header field of the IP message according to the header of the TAN broken packet includes:

根据所述TAN断包的TAN数据帧标识确定所述IP报文的标识;Determine the identifier of the IP message according to the TAN data frame identifier of the TAN broken packet;

根据所述TAN断包的所述断包序列号确定所述IP报文的标志;Determine the sign of the IP message according to the sequence number of the broken packet of the TAN broken packet;

根据所述TAN断包的长度确定所述IP报文的片偏移。Determine the fragment offset of the IP packet according to the length of the TAN fragment.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

接收多个对应同一TAN数据包的IP报文,其中,对应所述TAN数据包的TAN断包的IP报文的头域字段根据所述TAN断包的断包序列号确定;Receive a plurality of IP messages corresponding to the same TAN data packet, wherein, the header field field of the IP message corresponding to the TAN broken packet of the TAN data packet is determined according to the broken packet sequence number of the TAN broken packet;

基于各所述IP报文的头域字段确定各所述TAN断包的重组顺序;Determining the reassembly sequence of each of the TAN packet breaks based on the header fields of each of the IP packets;

基于所述重组顺序还原所述TAN数据包;restoring the TAN packets based on the reassembly sequence;

发送所述TAN数据包至所述TAN交换设备。Send the TAN data packet to the TAN switching device.

第三方面,本申请实施例提供了一种时间明晰网络数据包的传输方法,应用于TAN交换设备,所述方法包括:In a third aspect, the embodiment of the present application provides a time-clear network data packet transmission method, which is applied to a TAN switching device, and the method includes:

在无线传输方式下,终止基于抢占传输机制传输TAN数据包。In the wireless transmission mode, the transmission of TAN data packets based on the preemptive transmission mechanism is terminated.

上述方案中,所述终止基于抢占传输机制传输TAN数据包,包括:In the above solution, the termination is based on the preemptive transmission mechanism to transmit the TAN data packet, including:

若所述TAN交换设备的入口接收到第一TAN数据包且所述TAN交换设备的出口正在传输第二TAN数据包,则中断所述第二TAN数据包的传输,优先发送所述第一TAN数据包并在发送所述第一TAN数据包之后重传完整的所述第二TAN数据包。If the ingress of the TAN switching device receives the first TAN data packet and the outlet of the TAN switching device is transmitting the second TAN data packet, then interrupt the transmission of the second TAN data packet, and send the first TAN first data packet and retransmit the complete second TAN data packet after sending the first TAN data packet.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

基于本地的策略配置或者TAN系统发送的策略配置所述在无线传输方式下,终止基于抢占传输机制传输TAN数据包。Based on the local policy configuration or the policy configuration sent by the TAN system, in the wireless transmission mode, the transmission of the TAN data packet based on the preemptive transmission mechanism is terminated.

第四方面,本申请实施例提供了一种时间明晰网络数据包的传输装置,应用于TAN交换设备,所述传输装置包括:In a fourth aspect, the embodiment of the present application provides a time-clear network data packet transmission device, which is applied to a TAN switching device, and the transmission device includes:

确定模块,用于将TAN数据包的TAN断包基于生成顺序确定相应的断包序列号;A determination module, configured to determine the corresponding sequence number of the TAN break packet of the TAN data packet based on the order of generation;

发送模块,用于发送所述TAN断包,所述TAN断包的头部携带所述断包序列号;A sending module, configured to send the TAN broken packet, the header of the TAN broken packet carries the sequence number of the broken packet;

其中,所述断包序列号至少占用两个比特,用于唯一指示相应的所述TAN断包的断包次序;所述TAN断包为在发送TAN数据包的过程中,基于抢占传输机制被截断后生成的数据包。Wherein, the packet disconnection sequence number occupies at least two bits, and is used to uniquely indicate the packet disconnection sequence of the corresponding TAN packet disconnection; The resulting packet after truncating.

第五方面,本申请实施例提供了一种时间明晰网络数据包的传输装置,应用于无线网络的网元,所述传输装置包括:In the fifth aspect, the embodiment of the present application provides a time-clear network data packet transmission device, which is applied to a network element of a wireless network, and the transmission device includes:

接收模块,用于接收TAN交换设备发送的对应同一TAN数据包的多个TAN断包,各所述TAN断包的头部携带断包序列号;The receiving module is used to receive a plurality of TAN broken packets corresponding to the same TAN data packet sent by the TAN switching device, and the header of each TAN broken packet carries a broken packet sequence number;

确定模块,用于对接收的所述TAN断包封装至IP报文中并根据所述TAN断包的头部确定所述IP报文的头域字段;A determining module, configured to encapsulate the received TAN broken packet into an IP message and determine the header field of the IP message according to the header of the TAN broken packet;

发送模块,用于发送所述IP报文;A sending module, configured to send the IP packet;

其中,所述断包序列号采用一比特动态指示相应的所述TAN断包的断包次序,所述IP报文的头域字段能够指示相应的所述TAN断包的断包次序。Wherein, the packet fragmentation sequence number uses one bit to dynamically indicate the packet fragmentation sequence of the corresponding TAN packet fragmentation, and the header field field of the IP message can indicate the packet fragmentation sequence of the corresponding TAN packet fragmentation.

第六方面,本申请实施例提供了一种时间明晰网络数据包的传输装置,应用于TAN交换设备,所述传输装置包括:In a sixth aspect, the embodiment of the present application provides a time-clear network data packet transmission device, which is applied to a TAN switching device, and the transmission device includes:

控制模块,用于在无线传输方式下,终止基于抢占传输机制传输TAN数据包。The control module is configured to terminate the transmission of the TAN data packet based on the preemptive transmission mechanism in the wireless transmission mode.

第七方面,本申请实施例提供了一种TAN交换设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器,用于运行计算机程序时,执行本申请实施例第一方面或者第三方面所述方法的步骤。In a seventh aspect, the embodiment of the present application provides a TAN switching device, including: a processor and a memory for storing a computer program that can run on the processor, wherein, when the processor is used to run the computer program, Execute the steps of the method described in the first aspect or the third aspect of the embodiments of the present application.

第八方面,本申请实施例提供了一种网络设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器,用于运行计算机程序时,执行本申请实施例第二方面所述方法的步骤。In an eighth aspect, the embodiment of the present application provides a network device, including: a processor and a memory for storing a computer program that can run on the processor, wherein the processor, when running the computer program, executes The steps of the method described in the second aspect of the embodiments of the present application.

第九方面,本申请实施例提供了一种存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现本申请实施例第一至第三方面任一所述方法的步骤。In the ninth aspect, the embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the first to third aspects of the embodiment of the present application can be realized. method steps.

本申请实施例提供的技术方案,TAN断包的断包序列号至少占用两个比特,用于唯一指示相应的TAN断包的断包次序,从而可以基于TAN断包的头部确定TAN断包的绝对断包次序,可以有效避免TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。In the technical solution provided by the embodiment of the present application, the serial number of the TAN broken packet occupies at least two bits, which is used to uniquely indicate the sequence of the corresponding TAN broken packet, so that the TAN broken packet can be determined based on the header of the TAN broken packet The absolute order of packet disconnection can effectively avoid the out-of-order problem of TAN packet disconnection in the wireless transmission environment, thereby improving the transmission performance of TAN data packets in the wireless transmission environment.

本申请实施例提供的技术方案,无线网络的网元对接收的TAN断包封装至IP报文中并根据TAN断包的头部确定IP报文的头域字段,再发送该IP报文,使得接收该IP报文的网元可以基于IP报文的头域字段确定各TAN断包的重组顺序,进而基于该重组顺序还原TAN数据包,并发送还原后的TAN数据包给TAN交换设备,可以有效避免TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。In the technical solution provided by the embodiment of the present application, the network element of the wireless network encapsulates the received TAN broken packet into an IP message and determines the header field of the IP message according to the header of the TAN broken packet, and then sends the IP message, The network element receiving the IP message can determine the reassembly order of each TAN packet based on the header field field of the IP message, and then restore the TAN data packet based on the reassembly order, and send the restored TAN data packet to the TAN switching device, It can effectively avoid the out-of-sequence problem of TAN packet disconnection in the wireless transmission environment, thereby improving the transmission performance of the TAN data packet in the wireless transmission environment.

本申请实施例提供的技术方案,可以对TAN交换设备进行策略配置,在无线传输方式下,终止基于抢占传输机制传输TAN数据包,亦可以有效避免TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。The technical solution provided by the embodiment of this application can configure the strategy of the TAN switching device. In the wireless transmission mode, the transmission of TAN data packets based on the preemptive transmission mechanism can be terminated, and the disorder problem of TAN packet disconnection in the wireless transmission environment can also be effectively avoided. , thereby improving the transmission performance of the TAN data packet in a wireless transmission environment.

附图说明Description of drawings

图1为相关技术中TAN PDU的结构示意图;FIG. 1 is a schematic structural diagram of a TAN PDU in the related art;

图2为本申请一实施例TAN数据包的传输方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for transmitting TAN data packets according to an embodiment of the present application;

图3为本申请一应用示例中TAN PDU的结构示意图;FIG. 3 is a schematic structural diagram of a TAN PDU in an application example of the present application;

图4为本申请另一应用示例中TAN PDU的结构示意图;FIG. 4 is a schematic structural diagram of a TAN PDU in another application example of the present application;

图5为本申请又一应用示例中TAN PDU的结构示意图;FIG. 5 is a schematic structural diagram of a TAN PDU in another application example of the present application;

图6为本申请再一应用示例中TAN PDU的结构示意图;FIG. 6 is a schematic structural diagram of a TAN PDU in another application example of the present application;

图7为本申请另一实施例TAN数据包的传输方法的流程示意图;FIG. 7 is a schematic flow diagram of a method for transmitting TAN data packets according to another embodiment of the present application;

图8为本申请一应用示例中对TAN数据包进行IP报文封装的原理示意图;FIG. 8 is a schematic diagram of the principle of IP packet encapsulation of TAN data packets in an application example of the present application;

图9为本申请一应用示例中TAN断包在5G网络中的传输流程示意图;FIG. 9 is a schematic diagram of the transmission process of a TAN broken packet in a 5G network in an application example of the present application;

图10为本申请又一实施例中TAN数据包的传输方法的流程示意图;FIG. 10 is a schematic flow diagram of a method for transmitting a TAN data packet in another embodiment of the present application;

图11为本申请一应用示例中TAN系统控制单元下发配置的原理示意图;FIG. 11 is a schematic diagram of the principle of the configuration issued by the TAN system control unit in an application example of the present application;

图12为本申请一实施例时间明晰网络数据包的传输装置的结构示意图;12 is a schematic structural diagram of a device for transmitting time-clear network data packets according to an embodiment of the present application;

图13为本申请另一实施例时间明晰网络数据包的传输装置的结构示意图;FIG. 13 is a schematic structural diagram of a device for transmitting time-clear network data packets according to another embodiment of the present application;

图14为本申请又一实施例时间明晰网络数据包的传输装置的结构示意图;FIG. 14 is a schematic structural diagram of a device for transmitting time-clear network data packets according to another embodiment of the present application;

图15为本申请实施例TAN交换设备的结构示意图;FIG. 15 is a schematic structural diagram of a TAN switching device according to an embodiment of the present application;

图16为本申请实施例网络设备的结构示意图。FIG. 16 is a schematic structural diagram of a network device according to an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图及实施例对本申请再作进一步详细的描述。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application.

对本申请实施例进行进一步详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释:Before the embodiment of the present application is described in further detail, the nouns and terms involved in the embodiments of the present application are described, and the nouns and terms involved in the embodiments of the present application are applicable to the following explanations:

相关技术中,TAN数据包是一种全新的基于时间的工业通信技术的数据包,其通过在TAN系统内引入时钟同步技术并在标准以太帧头域之前封装TAN帧头,来实现对目的交换机、源交换机、数据优先级、数据序号、数据的各种时间标识来对数据进行处理。TAN技术因为封装标准以太帧,其对当前工业网络使用的各类工业协议都具有比较好的兼容性。基于TAN数据包的可观察性,即网络对数据来源、数据目的、数据内容、数据时间是可获知的,TAN技术在工业互联网多个领域,如控制指令同步传输、数据冗余备份、数据监测等场景都得到比较好的应用。In related technologies, TAN data packet is a new data packet based on time-based industrial communication technology. It introduces clock synchronization technology into the TAN system and encapsulates the TAN frame header before the standard Ethernet frame header field. , source switch, data priority, data serial number, and various time stamps of the data to process the data. Because TAN technology encapsulates standard Ethernet frames, it has relatively good compatibility with various industrial protocols used in current industrial networks. Based on the observability of TAN data packets, that is, the network can know the data source, data purpose, data content, and data time. TAN technology is used in many fields of the industrial Internet, such as synchronous transmission of control commands, data redundancy backup, and data monitoring. and other scenarios have been better applied.

示例性地,TAN PDU如图1所示,TAN PDU由TAN头部和标准GB/T15629.3PDU组成,TAN头部由源TAN交换设备ID、目的TAN交换设备ID、预留、路径信息、数据帧类型、预留、数据帧ID、TAN PDU长度、断包标识、断包序列号、交换设备跳数、时间信息、静态校验和、动态校验和组成。其中,TAN头部一共有16个字节。Exemplarily, the TAN PDU is shown in Figure 1. The TAN PDU consists of a TAN header and a standard GB/T15629.3 PDU. The TAN header consists of the source TAN switching device ID, the destination TAN switching device ID, reservation, path information, data Frame type, reservation, data frame ID, TAN PDU length, broken packet identification, broken packet sequence number, switching device hop count, time information, static checksum, and dynamic checksum. Among them, the TAN header has a total of 16 bytes.

一个TAN域中,在传统优先级的基础上,可以增加双通道传输机制:快速通道、标准通道,分别对应快速数据帧和标准数据帧。TAN PDU可以通过数据帧类型字段的标识区分,进而混合传输两种不同通道的数据类型,TAN交换设备对不同通道的数据类型,进行差异化传输。例如,数据帧类型为01是标识此数据帧是在TAN的快速通道中传输的快速数据帧,数据帧类型为10是标识此数据帧是在TAN的标准通道中传输的标准数据帧。快速通道中传输的快速数据帧的优先级比标准通道中传输的标准数据帧的优先级高。In a TAN domain, on the basis of traditional priorities, a dual-channel transmission mechanism can be added: fast channel and standard channel, corresponding to fast data frames and standard data frames respectively. The TAN PDU can be distinguished by the identification of the data frame type field, and then the data types of two different channels are mixed and transmitted. The TAN switching device performs differentiated transmission of the data types of different channels. For example, a data frame type of 01 indicates that the data frame is a fast data frame transmitted in the fast channel of TAN, and a data frame type of 10 indicates that the data frame is a standard data frame transmitted in the standard channel of TAN. Fast data frames transmitted in the fast channel have a higher priority than standard data frames transmitted in the standard channel.

在标准通道传输的TAN PDU有两种格式,一种是未被截断过的数据帧(对应标准PDU,数据帧类型为10,断包标识字段为0),一种是被截断过的数据帧(对应断包PDU,数据帧类型为10,断包标识字段为1,断包序列号为0或1)。The TAN PDU transmitted on the standard channel has two formats, one is the untruncated data frame (corresponding to the standard PDU, the data frame type is 10, and the broken packet identification field is 0), and the other is the truncated data frame (corresponding to the broken packet PDU, the data frame type is 10, the broken packet identification field is 1, and the broken packet sequence number is 0 or 1).

快速PDU(即快速数据帧)进入到一个TAN交换设备时,如果出口无标准数据传输,则快速PDU正常传输。若出口正在传输标准PDU(即标准数据帧),TAN交换设备则执行抢占动作,截断标准PDU,然后传输快速PDU。When the fast PDU (that is, the fast data frame) enters a TAN switching device, if there is no standard data transmission at the exit, the fast PDU is normally transmitted. If the egress is transmitting a standard PDU (that is, a standard data frame), the TAN switching device performs a preemptive action, truncates the standard PDU, and then transmits the fast PDU.

当一个TAN交换设备发送快速PDU时,出口正在传输标准PDU且此标准PDU已发送数据长度(字节数)大于或等于GB/T 15629.3所规定的设定数据长度(字节数),则执行抢占动作。被抢占的标准PDU将被截断,被截留下来的剩余数据,按断包PDU重新封装。断包PDU传输时,仍能被快速PDU截断,剩余数据仍按照断包PDU封装,直至此标准PDU全部传输完成,被抢占次数无限制。在接收端TAN交换设备中,根据断包PDU的标识进行数据重组,还原成标准PDU。When a TAN switching device sends a fast PDU, the outlet is transmitting a standard PDU and the sent data length (number of bytes) of this standard PDU is greater than or equal to the set data length (number of bytes) specified in GB/T 15629.3, then execute preemptive action. The preempted standard PDU will be truncated, and the remaining data will be repackaged according to the broken packet PDU. When the packet-breaking PDU is transmitted, it can still be truncated by the fast PDU, and the remaining data is still encapsulated according to the packet-breaking PDU, until all transmissions of this standard PDU are completed, and the number of preemption is unlimited. In the TAN switching device at the receiving end, the data is reassembled according to the identifier of the broken packet PDU, and restored to a standard PDU.

由于标准PDU在传输过程中,可能被截断多次,形成多个断包PDU。接收端的TAN交换设备根据标准PDU的TAN头部以及断包PDU的标识,进行标准PDU数据的重组还原:Since the standard PDU may be truncated multiple times during transmission, multiple broken PDUs are formed. The TAN switching device at the receiving end reassembles and restores the standard PDU data according to the TAN header of the standard PDU and the identifier of the broken PDU:

标准PDU第一次被截断时,标准数据PDU帧被分为两部分,一部分是已经传输完成的部分,另一部分是重新封装的断包PDU,断包PDU中的断包标识置1,断包序列号置1(源TAN头部此位置数值取反);When the standard PDU is truncated for the first time, the standard data PDU frame is divided into two parts, one part is the part that has been transmitted, and the other part is the repackaged broken packet PDU, the broken packet flag in the broken packet PDU is set to 1, and the broken packet The serial number is set to 1 (the value of this position in the source TAN header is reversed);

快速PDU完成传输后,断包PDU恢复传输,若此时有新的快速PDU进入TAN交换设备或模块,按抢占流程继续进行抢占动作。断包PDU被截断成新的断包PDU。断包PDU帧被分为两部分,一部分是已经传输完成的部分,另一部分是重新封装的断包PDU,断包PDU中的断包标识置1,断包序列号置0(源TAN头部此位置数值取反);After the transmission of the fast PDU is completed, the packet-broken PDU resumes transmission. If a new fast PDU enters the TAN switching device or module at this time, continue the preemption action according to the preemption process. The broken packet PDU is truncated into a new broken packet PDU. The broken packet PDU frame is divided into two parts, one part is the part that has been transmitted, and the other part is the repackaged broken packet PDU. The value of this position is negated);

接收端TAN交换设备可以根据TAN头部判断哪些断包PDU属于同一个标准PDU,例如,根据数据帧ID可以确定属于同一标准PDU的各PDU。根据断包序列号0—>1—>0—>1—>0......判断断包PDU重组时的序列,接收到断包PDU进行重组,计算重组后PDU的CRC数值(假定使用CRC(计算)代表CRC计算后的数值)。通过CRC(计算)的数值判断重组是否完成。实际数据的CRC(计算),与断包PDU中的CRC对比,若不相同,继续等待下个断包PDU,并将本次计算的CRC(计算)作为下次CRC(计算)的起始数值,直至重组完的数据CRC(计算)等于断包PDU携带的CRC时,标准PDU重组完成)。示例性地,CRC对比流程,如表1所示。The TAN switching device at the receiving end can determine which broken packet PDUs belong to the same standard PDU according to the TAN header, for example, can determine the PDUs belonging to the same standard PDU according to the data frame ID. According to the broken packet sequence number 0—>1—>0—>1—>0…… judge the sequence of the broken packet PDU recombination, receive the broken packet PDU for reassembly, and calculate the CRC value of the reassembled PDU (assumed Use CRC(calculation) to represent the value after CRC calculation). Whether the recombination is completed is judged by the numerical value of CRC (calculation). The CRC (calculation) of the actual data is compared with the CRC in the broken packet PDU. If it is not the same, continue to wait for the next broken packet PDU, and use the calculated CRC (calculation) as the starting value of the next CRC (calculation) , until the reassembled data CRC (calculation) is equal to the CRC carried by the broken packet PDU, the standard PDU reassembly is completed). Exemplarily, the CRC comparison process is shown in Table 1.

表1Table 1

Figure BDA0003225699660000081
Figure BDA0003225699660000081

然而在无线传输环境下,如果断包PDU在传输时发生乱序或丢包,则断包PDU重组时CRC不通过,而负责断包PDU重组的设备无法确定不通过的原因(乱序、丢包、误码或者断包未传完),导致数据重组失败或重组出错,影响TAN业务应用。However, in a wireless transmission environment, if out-of-sequence or packet loss occurs during transmission of a broken packet PDU, the CRC will not pass when the broken packet, bit error, or broken packet), resulting in data reassembly failure or reassembly error, affecting TAN business applications.

基于此,在本申请的各种实施例中,提供一种TAN数据包的传输方法,可以有效避免TAN数据包的TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。Based on this, in various embodiments of the present application, a transmission method of a TAN data packet is provided, which can effectively avoid the out-of-order problem of the TAN break packet of the TAN data packet in a wireless transmission environment, and then improve the transmission of the TAN data packet in the wireless transmission environment. Transmission performance in a transmission environment.

如图2所示,本申请实施例提供了一种时间明晰网络数据包的传输方法,应用于TAN交换设备,该方法包括:As shown in Figure 2, the embodiment of the present application provides a transmission method of a time-clear network data packet, which is applied to a TAN switching device, and the method includes:

步骤201,将TAN数据包的TAN断包基于生成顺序确定相应的断包序列号;Step 201, determine the corresponding sequence number of the TAN break packet of the TAN data packet based on the generation order;

步骤202,发送所述TAN断包,所述TAN断包的头部携带所述断包序列号;其中,所述断包序列号至少占用两个比特,用于唯一指示相应的所述TAN断包的断包次序;所述TAN断包为在发送TAN数据包的过程中,基于抢占传输机制被截断后生成的数据包。Step 202, sending the TAN broken packet, the header of the TAN broken packet carries the broken packet sequence number; wherein, the broken packet sequence number occupies at least two bits, and is used to uniquely indicate the corresponding TAN broken packet Packet breaking sequence; the TAN breaking packet is a data packet generated after being truncated based on a preemptive transmission mechanism during the process of sending a TAN data packet.

这里,抢占传输机制可以理解为前述的基于TAN数据包的数据帧类型进行差异化传输,例如,将数据帧类型为01的TAN数据包作为快速数据帧,将数据帧类型为10的TAN数据包作为标准数据帧,其中,快速数据帧的优先级高于标准数据帧的优先级,当传输快速数据帧时,若TAN交换设备正在标准数据帧,则可以将标准数据帧进行截断,将被截留下来的剩余数据,按断包PDU重新封装,生成TAN断包。可以理解的是,该TAN断包在传输过程中,还可以被需要传输的快速数据帧再次截断,被截留下来的剩余数据可以再次生成新的TAN断包,如此,一个标准数据帧存在两个或者多于两个TAN断包的情形。若TAN断包在无线传输环境中出现乱序问题,则可能导致数据重组失败或重组出错,影响TAN业务应用。Here, the preemptive transmission mechanism can be understood as the aforementioned differentiated transmission based on the data frame type of the TAN data packet, for example, the TAN data packet with the data frame type 01 as the fast data frame, and the TAN data packet with the As a standard data frame, the priority of the fast data frame is higher than that of the standard data frame. When transmitting the fast data frame, if the TAN switching device is using the standard data frame, the standard data frame can be truncated and will be intercepted. The remaining data is re-encapsulated according to the broken packet PDU to generate a TAN broken packet. It can be understood that the TAN break packet can be truncated again by the fast data frame that needs to be transmitted during the transmission process, and the remaining data that is intercepted can generate a new TAN break packet again. In this way, a standard data frame has two Or the situation where more than two TAN packets are broken. If TAN packets are out of sequence in the wireless transmission environment, it may lead to data reassembly failure or reassembly errors, affecting TAN business applications.

本申请实施例中,由于TAN断包的断包序列号至少占用两个比特,用于唯一指示相应的TAN断包的断包次序,从而可以基于TAN断包的头部确定TAN断包的绝对断包次序,可以有效避免TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。In the embodiment of the present application, since the broken packet sequence number of the TAN broken packet occupies at least two bits, it is used to uniquely indicate the broken packet sequence of the corresponding TAN broken packet, so that the absolute number of the TAN broken packet can be determined based on the header of the TAN broken packet. The sequence of packet breaks can effectively avoid the out-of-order problem of TAN packet breaks in the wireless transmission environment, thereby improving the transmission performance of TAN data packets in the wireless transmission environment.

需要说明的是,断包序列号的位数可以根据应用场景进行设定,例如,在实际使用过程中,如果实际场景中最多的断包数量为4个,则可以使用2个bit(比特)来标识TAN头部的断包序列号字段,如采用00、01、10、11来分别表示依次生成的TAN断包。It should be noted that the number of bits of the broken packet sequence number can be set according to the application scenario. For example, in actual use, if the maximum number of broken packets in the actual scenario is 4, you can use 2 bits (bits) To identify the broken packet sequence number field of the TAN header, for example, 00, 01, 10, and 11 are used to respectively represent the sequentially generated TAN broken packets.

在一应用示例中,TAN头部的断包序列号的位数扩展如图3所示。示例性地,TAN头部中断包序列号的位数n为6个bit,TAN断包根据断包序列号000000—>000001—>000010—>000011......判断断包PDU重组时的序列,对接收到断包PDU进行重组。需要说明的是,由于以太帧数据域部分最小为46字节,最大为1500字节,所以6bit的断包序列号已经能完全满足最大以太帧数据包的最多次断包生成的序列需求。In an application example, the bit extension of the serial number of the broken packet in the TAN header is shown in FIG. 3 . Exemplarily, the number n of the serial number of the interrupted packet in the TAN header is 6 bits, and the TAN interrupted packet is judged according to the serial number of the interrupted packet 000000—>000001—>000010—>000011. The sequence of the received broken packet PDU is reassembled. It should be noted that since the Ethernet frame data field has a minimum of 46 bytes and a maximum of 1500 bytes, the 6-bit disconnected packet sequence number can fully meet the sequence requirements for generating the largest number of disconnected packets of the largest Ethernet frame data packet.

示例性地,所述断包序列号还具有采用一比特动态指示相应的所述TAN断包的断包次序的动态指示方式;所述TAN断包的头部还携带用于指示所述断包序列号采用动态指示或者唯一指示方式的断包序列位标识。Exemplarily, the serial number of the broken packet also has a dynamic indication method using one bit to dynamically indicate the broken packet order of the corresponding TAN broken packet; the header of the TAN broken packet also carries a The sequence number is identified by a dynamic indication or a unique indication of the broken packet sequence bit.

可以理解的是,TAN数据包的TAN头部可以保留基于一比特动态指示断包次序的动态指示方式,如此,可以兼容基于一位的断包序列号对断包PDU进行重组的方式。It can be understood that the TAN header of the TAN data packet can retain the dynamic indication method based on one bit to dynamically indicate the order of packet fragmentation, so that it can be compatible with the method of reassembling fragmented packet PDUs based on the sequence number of fragmented packets of one bit.

示例性地,所述断包序列位标识和/或至少部分所述断包序列号占用所述TAN断包的头部的预留字段。如此,可以充分利用TAN头部的预留字段,减少额外的TAN头部的开销。Exemplarily, the fragmented packet sequence bit identifier and/or at least part of the fragmented packet sequence number occupy a reserved field of the header of the TAN fragmented packet. In this way, the reserved fields of the TAN header can be fully utilized to reduce the overhead of additional TAN headers.

在一应用示例中,TAN PDU的格式如图4所示。通过在TAN头部增加断包序列位标识字段,表明断包序列位标识字段后续的字段是1个bit的断包序列号还是多于1bit的断包序列号。如断包序列位标识字段为0时,标识断包序列号是1个bit,TAN断包是根据断包序列号0—>1—>0—>1—>0......判断断包PDU重组时的序列,接收到断包PDU进行重组。如断包序列位标识字段为1时,例如6bit来标识断包序列,标识断包序列号是6个bit,TAN断包是根据断包序列号000000—>000001—>000010—>000011......判断断包PDU重组时的序列,接收到断包PDU进行重组。In an application example, the format of the TAN PDU is shown in FIG. 4 . By adding the packet disconnection sequence bit identification field in the TAN header, it is indicated whether the subsequent field of the packet disconnection sequence bit identification field is a packet disconnection sequence number of 1 bit or a packet disconnection sequence number of more than 1 bit. For example, when the broken packet sequence bit identification field is 0, it indicates that the broken packet sequence number is 1 bit, and the TAN packet broken is judged according to the broken packet sequence number 0—>1—>0—>1—>0... The sequence when the broken packet PDU is reassembled, and the broken packet PDU is received and reassembled. For example, when the packet disconnection sequence bit identification field is 1, for example, 6 bits are used to identify the packet disconnection sequence, and the packet disconnection sequence number is 6 bits, and the TAN packet disconnection is based on the packet disconnection sequence number 000000—>000001—>000010—>000011.. ....Judging the sequence when the broken packet PDU is reassembled, and recombining after receiving the broken packet PDU.

可以理解的是,图4所示的方式相较于图3所示的方式,可以兼容1bit的断包序列号字段标识和多个bit的断包序列号字段标识。It can be understood that, compared with the manner shown in FIG. 3 , the method shown in FIG. 4 is compatible with the 1-bit broken packet sequence number field identifier and the multi-bit broken packet sequence number field identifier.

在一应用示例中,TAN PDU的格式如图5所示。可以理解的是,在图4的基础上,断包序列位标识字段可以使用预留字段来代替,表明断包序列号字段是1个bit的断包序列号还是多于1bit的断包序列号。如预留字段为0时,标识断包序列号是1个bit,TAN断包是根据断包序列号0—>1—>0—>1—>0......判断断包PDU重组时的序列,接收到断包PDU进行重组。如预留字段为1时,例如6bit来标识断包序列,标识断包序列号是6个bit,TAN断包是根据断包序列号000000—>000001—>000010—>000011......判断断包PDU重组时的序列,接收到断包PDU进行重组。相较于图4所示的方式,可以利用现有预留字段,不需要额外增加断包序列位标识字段,进而节省TAN头部的开销。In an application example, the format of the TAN PDU is shown in FIG. 5 . It can be understood that, on the basis of Figure 4, the broken packet sequence bit identification field can be replaced by a reserved field, indicating whether the broken packet sequence number field is a broken packet sequence number of 1 bit or a broken packet sequence number of more than 1 bit . For example, when the reserved field is 0, the serial number of the identified broken packet is 1 bit, and the TAN broken packet is judged according to the broken packet serial number 0—>1—>0—>1—>0…… Sequence during reassembly, receive broken packet PDU for reassembly. If the reserved field is 1, for example, 6 bits are used to identify the disconnection sequence, and the identification sequence number of the disconnection is 6 bits, and the TAN packet disconnection is based on the disconnection sequence number 000000—>000001—>000010—>000011..... .Judging the sequence when the broken packet PDU is reassembled, and recombining after receiving the broken packet PDU. Compared with the method shown in FIG. 4 , the existing reserved field can be used, and there is no need to add an additional packet break sequence bit identification field, thereby saving the overhead of the TAN header.

在一应用示例中,TAN PDU的格式如图6所示。使用第一个预留字段作为断包序列位标识字段,来表明断包序列号字段是1个bit的断包序列号还是多于1bit的断包序列号。如第一个预留字段为0时,标识断包序列号是1个bit,TAN断包是根据断包序列号0—>1—>0—>1—>0......判断断包PDU重组时的序列,接收到断包PDU进行重组。如第一个预留字段为1时,表明断包序列号字段是多于1bit的断包序列号,并使用第二个预留字段来标识断包序列号,例如6bit来标识断包序列,标识断包序列号是6个bit,TAN断包是根据断包序列号000000—>000001—>000010—>000011......判断断包PDU重组时的序列,接收到断包PDU进行重组。相较于图5所示的方式,可以进一步充分利用现有预留字段,不需要改变TAN头部的字段大小,即不需要在TAN头部增加额外字段。In an application example, the format of the TAN PDU is shown in FIG. 6 . Use the first reserved field as the broken packet sequence bit identification field to indicate whether the broken packet sequence number field is a broken packet sequence number of 1 bit or a broken packet sequence number of more than 1 bit. For example, when the first reserved field is 0, it indicates that the sequence number of the broken packet is 1 bit, and the TAN packet is broken according to the sequence number of the broken packet 0—>1—>0—>1—>0…… The sequence when the broken packet PDU is reassembled, and the broken packet PDU is received and reassembled. If the first reserved field is 1, it indicates that the broken packet sequence number field is a broken packet sequence number with more than 1 bit, and use the second reserved field to identify the broken packet sequence number, for example, 6 bits to identify the broken packet sequence, The serial number of the broken packet is 6 bits. The TAN broken packet is based on the broken packet serial number 000000—>000001—>000010—>000011... to determine the sequence when the broken packet PDU is reassembled, and the broken packet PDU is received. reorganize. Compared with the method shown in FIG. 5 , the existing reserved fields can be further fully utilized without changing the field size of the TAN header, that is, without adding additional fields in the TAN header.

示例性地,TAN交换设备在接收TAN数据包时,该方法还包括:Exemplarily, when the TAN switching device receives the TAN data packet, the method further includes:

接收多个对应同一TAN数据包的TAN断包,各所述TAN断包的头部携带所述断包序列号;Receiving a plurality of TAN broken packets corresponding to the same TAN data packet, the header of each TAN broken packet carries the sequence number of the broken packet;

基于各所述TAN断包的所述断包序列号确定各所述TAN断包的重组顺序;Determining the recombination order of each of the TAN broken packets based on the broken packet sequence number of each of the TAN broken packets;

基于所述重组顺序还原所述TAN数据包。The TAN packets are restored based on the reassembly order.

可以理解的是,由于本申请实施例的断包序列号至少占用两个比特,能够唯一指示相应的TAN断包的断包次序,从而可以基于TAN断包的头部确定TAN断包的绝对断包次序,以6位的断包序列号为例,可以根据断包序列号000000—>000001—>000010—>000011......判断断包PDU重组时的序列,对接收到断包PDU进行重组。从而可以有效避免TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。It can be understood that, since the broken packet sequence number in the embodiment of the present application occupies at least two bits, it can uniquely indicate the broken packet sequence of the corresponding TAN broken packet, so that the absolute broken packet of the TAN broken packet can be determined based on the header of the TAN broken packet. Packet sequence, taking the 6-digit broken packet sequence number as an example, you can judge the sequence when the broken packet PDU is reassembled according to the broken packet sequence number 000000—>000001—>000010—>000011, and the received broken packet PDUs are reassembled. Therefore, the out-of-sequence problem of the TAN packet disconnection in the wireless transmission environment can be effectively avoided, thereby improving the transmission performance of the TAN data packet in the wireless transmission environment.

在一些实施例中,发送端TAN交换设备与接收端TAN交换设备之间经无线网络传输TAN数据包,例如,发送端TAN交换设备发送的TAN数据包由无线网络的入口网元接收并由无线网络的出口网元发送给接收端TAN交换设备。In some embodiments, the TAN data packet is transmitted between the TAN switching device at the sending end and the TAN switching device at the receiving end via a wireless network. The egress network element of the network sends it to the TAN switching device at the receiving end.

基于此,本申请实施例提供了一种时间明晰网络数据包的传输方法,应用于无线网络的网元,如图7所示,该方法包括:Based on this, an embodiment of the present application provides a time-clear network data packet transmission method, which is applied to a network element of a wireless network. As shown in FIG. 7, the method includes:

步骤701,接收TAN交换设备发送的对应同一TAN数据包的多个TAN断包,各所述TAN断包的头部携带断包序列号。Step 701: Receive multiple TAN broken packets corresponding to the same TAN data packet sent by the TAN switching device, and the header of each TAN broken packet carries a broken packet sequence number.

步骤702,对接收的所述TAN断包封装至IP报文中并根据所述TAN断包的头部确定所述IP报文的头域字段。Step 702: Encapsulate the received TAN broken packet into an IP message and determine the header field of the IP message according to the header of the TAN broken packet.

步骤703,发送所述IP报文;其中,所述断包序列号采用一比特动态指示相应的所述TAN断包的断包次序,所述IP报文的头域字段能够指示相应的所述TAN断包的断包次序。Step 703, sending the IP message; wherein, the packet breaking sequence number uses one bit to dynamically indicate the packet breaking order of the corresponding TAN packet breaking, and the header field field of the IP message can indicate the corresponding Packet disconnection sequence of TAN packet disconnection.

示例性地,入口网元接收发送端TAN交换设备发送的TAN数据包,该发送端TAN交换设备可以基于前述的抢占传输机制传输断包PDU,且断包PDU可以采用动态指示方式,即采用一比特动态指示相应的所述TAN断包的断包次序,如此,可以省去对TAN数据包的头部编码方式进行的改进。Exemplarily, the ingress network element receives the TAN data packet sent by the TAN switching device at the sending end, and the TAN switching device at the sending end can transmit the broken packet PDU based on the aforementioned preemptive transmission mechanism, and the broken packet PDU can use a dynamic indication method, that is, a The bits dynamically indicate the packet breaking order of the corresponding TAN packet breaking. In this way, the improvement of the encoding method of the header of the TAN data packet can be omitted.

可以理解的是,入口网元对接收的所述TAN断包封装至IP报文中并根据所述TAN断包的头部确定所述IP报文的头域字段,具体地,根据断包序列号确定的TAN断包的断包次序确定封装的IP报文的IP头域字段,使得该IP头域字段能够指示相应的所述TAN断包的断包次序。然后,入口网元将IP报文发送给出口网元,出口网元可以基于接收的IP报文的IP头域字段确定的各所述TAN断包的重组顺序,基于所述重组顺序还原所述TAN数据包,并将还原后的TAN数据包发送给接收端TAN交换设备。可以有效避免TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。It can be understood that the ingress network element encapsulates the received TAN broken packet into an IP message and determines the header field field of the IP message according to the header of the TAN broken packet, specifically, according to the broken packet sequence The packet fragmentation sequence of the determined TAN packet fragmentation determines the IP header field field of the encapsulated IP message, so that the IP header field field can indicate the packet fragmentation sequence of the corresponding TAN packet fragmentation. Then, the ingress network element sends the IP message to the egress network element, and the egress network element can restore the recombination sequence of each TAN broken packet based on the reorganization sequence determined based on the IP header field field of the received IP message. TAN data packet, and send the restored TAN data packet to the TAN switching device at the receiving end. It can effectively avoid the out-of-sequence problem of TAN packet disconnection in the wireless transmission environment, thereby improving the transmission performance of the TAN data packet in the wireless transmission environment.

示例性地,所述根据所述TAN断包的头部确定所述IP报文的头域字段,包括:Exemplarily, the determining the header field field of the IP message according to the header of the TAN broken packet includes:

根据所述TAN断包的TAN数据帧标识确定所述IP报文的标识;Determine the identifier of the IP message according to the TAN data frame identifier of the TAN broken packet;

根据所述TAN断包的所述断包序列号确定所述IP报文的标志;Determine the sign of the IP message according to the sequence number of the broken packet of the TAN broken packet;

根据所述TAN断包的长度确定所述IP报文的片偏移。Determine the fragment offset of the IP packet according to the length of the TAN fragment.

在一应用示例中,对TAN数据包进行IP报文封装的原理示意如图8所示。In an application example, the schematic diagram of the principle of performing IP packet encapsulation on the TAN data packet is shown in FIG. 8 .

下面对IP头部的字段进行说明:The following describes the fields of the IP header:

版本:IP协议的版本,例如,IP协议版本号可以为4,下一代IP协议版本号为6。Version: the version of the IP protocol. For example, the version number of the IP protocol can be 4, and the version number of the next-generation IP protocol is 6.

首部长度:IP报头的长度。固定部分的长度(20字节)和可变部分的长度之和。共占4位。最大为1111,即10进制的15,代表IP报头的最大长度可以为15个32bits(4字节),也就是最长可为15*4=60字节,除去固定部分的长度20字节,可变部分的长度最大为40字节。Header Length: The length of the IP header. The sum of the length of the fixed part (20 bytes) and the length of the variable part. A total of 4 places. The maximum is 1111, that is, 15 in decimal, which means that the maximum length of the IP header can be 15 32bits (4 bytes), that is, the longest can be 15*4=60 bytes, except for the fixed part length of 20 bytes , the length of the variable part is at most 40 bytes.

服务类型:Type Of Service。Service Type: Type Of Service.

位总长度:IP报文的总长度。报头的长度和数据部分的长度之和。Total Length in Bits: The total length of the IP packet. The sum of the length of the header and the length of the data part.

标识:唯一的标识发送的每一分数据报。通常每发送一个报文,它的值加一。当IP报文长度超过传输网络的MTU(最大传输单元)时必须分片,这个标识字段的值被复制到所有数据分片的标识字段中,使得这些分片在达到最终目的地时可以依照标识字段的内容重新组成原先的数据。Identification: uniquely identifies each datagram sent. Usually every time a message is sent, its value is incremented by one. When the IP packet length exceeds the MTU (Maximum Transmission Unit) of the transmission network, it must be fragmented. The value of this identification field is copied to the identification field of all data fragments, so that these fragments can be identified according to the final destination. The content of the field reconstitutes the original data.

标志:共3位,可以包括:R、DF、MF三位。目前只有后两位有效,其中,DF位:为1表示不分片,为0表示分片;MF位:为1表示“更多的片”,为0表示这是最后一片。Flag: 3 digits in total, including: R, DF, and MF. Currently only the last two bits are valid, among them, DF bit: 1 means no fragmentation, 0 means fragmentation; MF bit: 1 means "more slices", 0 means this is the last slice.

片偏移:IP报文的片偏移(OFFSET)是指本分片在原先数据报文中相对首位的偏移位。Fragment Offset: The fragment offset (OFFSET) of an IP packet refers to the offset of this fragment relative to the first bit in the original data packet.

生存时间:IP报文所允许通过的路由器的最大数量。每经过一个路由器,TTL减1,当为0时,路由器将该数据报丢弃。TTL字段是由发送端初始设置一个8bit字段。推荐的初始值由分配数字RFC指定,当前值为64。发送ICMP回显应答时经常把TTL设为最大值255。Time to live: the maximum number of routers that IP packets are allowed to pass through. Every time a router passes through, the TTL is decremented by 1. When it is 0, the router discards the datagram. The TTL field is an 8-bit field initially set by the sender. The recommended initial value is specified by the Assignment Number RFC, currently 64. Sending ICMP echo replies often sets the TTL to a maximum of 255.

协议:指出IP报文携带的数据使用的是那种协议,以便目的主机的IP层能知道要将数据报上交到哪个进程(不同的协议有专门不同的进程处理)。和端口号类似,示例性地,TCP的协议号为6,UDP的协议号为17,ICMP的协议号为1,IGMP的协议号为2。Protocol: Point out which protocol is used for the data carried by the IP message, so that the IP layer of the destination host can know which process to submit the datagram to (different protocols have different processes). Similar to the port number, for example, the protocol number of TCP is 6, the protocol number of UDP is 17, the protocol number of ICMP is 1, and the protocol number of IGMP is 2.

首部校验和:计算IP头部的校验和,检查IP报头的完整性。Header checksum: Calculate the checksum of the IP header and check the integrity of the IP header.

源IP地址:标识IP数据报的源端设备。Source IP address: identifies the source device of the IP datagram.

目的IP地址:标识IP数据报的目的地址。Destination IP address: identifies the destination address of the IP datagram.

这里,可以对相同TAN数据帧标识的数据包设置相同的IP报文的标识。示例性地,当TAN数据包的断包标识字段是0时,IP报文标志字段的DF位为1。断包标识字段是1,断包序列号字段是1或者0,IP报文标志位DF位为0,当设备通过TAN断包CRC校验确定当前数据包不是同一TAN数据的最后一个断包,IP报文标志位MF位为1,当设备通过TAN断包CRC校验确定当前数据包是一TAN数据的最后一个断包,IP报文标志位MF位为0;同时,可以根据TAN PDU长度确定IP报文片偏移(OFFSET)字段。Here, the same IP packet identifier can be set for data packets with the same TAN data frame identifier. Exemplarily, when the packet break flag field of the TAN data packet is 0, the DF bit of the flag field of the IP packet is 1. The broken packet identification field is 1, the broken packet serial number field is 1 or 0, and the IP packet flag bit DF is 0. When the device determines that the current data packet is not the last broken packet of the same TAN data through the TAN packet broken CRC check, The MF bit of the IP packet is 1. When the device confirms that the current data packet is the last packet of TAN data through the CRC check of the TAN packet, the MF bit of the IP packet is 0; at the same time, the TAN PDU length can be Determine the offset (OFFSET) field of the IP packet.

示例性地,该方法还包括:Exemplarily, the method further includes:

接收多个对应同一TAN数据包的IP报文,其中,对应所述TAN数据包的TAN断包的IP报文的头域字段根据所述TAN断包的断包序列号确定;Receive a plurality of IP messages corresponding to the same TAN data packet, wherein, the header field field of the IP message corresponding to the TAN broken packet of the TAN data packet is determined according to the broken packet sequence number of the TAN broken packet;

基于各所述IP报文的头域字段确定各所述TAN断包的重组顺序;Determining the reassembly sequence of each of the TAN packet breaks based on the header fields of each of the IP packets;

基于所述重组顺序还原所述TAN数据包;restoring the TAN packets based on the reassembly sequence;

发送所述TAN数据包至所述TAN交换设备。Send the TAN data packet to the TAN switching device.

可以理解的是,无线网络的网元可以接收其他网元发送的IP报文,可以基于各IP报文的头域字段根据所述TAN断包的断包序列号确定,并基于各所述IP报文的头域字段确定各所述TAN断包的重组顺序,然后可以对属于同一TAN数据包的TAN断包进行重组,还原该TAN数据包,发送还原后的TAN数据包至TAN交换设备,从而有效避免了无线传输环境中TAN断包的乱序问题。It can be understood that the network elements of the wireless network can receive IP packets sent by other network elements, which can be determined based on the header fields of each IP packet according to the packet sequence number of the TAN packet, and based on the IP The header field field of the message determines the reassembly sequence of each TAN broken packet, and then the TAN broken packets belonging to the same TAN data packet can be reorganized, the TAN data packet is restored, and the restored TAN data packet is sent to the TAN switching device, Thus, the out-of-sequence problem of TAN packet disconnection in the wireless transmission environment is effectively avoided.

在一应用示例中,如图9所示,以上行数据传输为例,TAN断包在5G网络中的传输流程可以包括:In an application example, as shown in Figure 9, taking uplink data transmission as an example, the transmission process of the TAN disconnection packet in the 5G network may include:

步骤901、TAN交换设备抢占场景下封装TAN断包数据。Step 901, encapsulating the TAN broken packet data in a scenario where the TAN switching device preempts.

TAN交换设备可以基于前述的抢占传输机制封装TAN断包数据,在此不再赘述。The TAN switching device can encapsulate the TAN broken packet data based on the aforementioned preemptive transmission mechanism, which will not be repeated here.

步骤902、发送TAN断包数据。Step 902, sending TAN packet break data.

TAN交换设备可以向5G用户面功能实体如UE(User Equipment,用户设备)发送TAN断包数据。The TAN switching device may send TAN packet disconnection data to a 5G user plane functional entity such as UE (User Equipment, user equipment).

步骤903、接收并识别TAN断包数据,并根据TAN头域信息等确定封装的IP包头的头域字段,把TAN断包的顺序映射到IP报文中。Step 903: Receive and identify the TAN packet fragmentation data, determine the header field of the encapsulated IP header according to the TAN header field information, etc., and map the sequence of TAN packet fragmentation into the IP packet.

UE接收并识别TAN断包数据,并根据TAN头域信息等确定封装的IP包头的头域字段,把TAN断包的顺序映射到IP报文中。The UE receives and recognizes the TAN packet disconnection data, and determines the header field of the encapsulated IP packet header according to the TAN header field information, etc., and maps the sequence of the TAN packet disconnection to the IP packet.

步骤904、发送TAN断包数据。Step 904, sending the TAN packet break data.

UE通过5G网络发送封装IP报文中的TAN断包数据给UPF(User plane Function,用户面功能设备)。The UE sends the TAN packet break data encapsulated in the IP message to the UPF (User plane Function, user plane function device) through the 5G network.

步骤905、识别断包数据,存储接收同一个TAN数据的所有断包后,进行TAN断包重组。Step 905: Identify the broken packet data, store all broken packets received with the same TAN data, and reassemble the TAN broken packets.

UPF通过IP报文识别断包数据,存储接收同一个TAN数据的所有断包后,进行TAN断包重组。UPF identifies broken packet data through IP packets, stores all broken packets that receive the same TAN data, and reassembles TAN broken packets.

步骤906、发送TAN数据。Step 906, send TAN data.

UPF将重组后的TAN数据包发送给TAN交换设备。The UPF sends the reassembled TAN data packet to the TAN switching device.

可以理解的是,对于下行数据,可以由UPF接收并识别TAN断包数据,并根据TAN头域信息等确定封装的IP包头的头域字段,把TAN断包的顺序映射到IP报文中,并发送封装至IP报文中的TAN断包数据给UE,由UE基于IP报文识别断包数据,并进行TAN断包重组,并发送重组后的TAN数据包给TAN交换设备。It can be understood that, for downlink data, the UPF can receive and identify the TAN broken packet data, and determine the header field of the encapsulated IP header according to the TAN header field information, etc., and map the order of the TAN broken packets to the IP message, And send the TAN broken packet data encapsulated in the IP message to the UE, and the UE identifies the broken packet data based on the IP message, reassembles the TAN broken packet, and sends the reassembled TAN data packet to the TAN switching device.

本申请实施例还提供了一种时间明晰网络数据包的传输方法,应用于TAN交换设备,如图10所示,该方法包括:The embodiment of the present application also provides a method for transmitting time-clear network data packets, which is applied to a TAN switching device, as shown in FIG. 10 , the method includes:

步骤1001,在无线传输方式下,终止基于抢占传输机制传输TAN数据包。Step 1001, in the wireless transmission mode, terminate the transmission of the TAN data packet based on the preemptive transmission mechanism.

可以理解的是,TAN交换设备可以在确定采用无线传输方式传输TAN数据包时,终止前述的基于抢占传输机制传输数据的行为,即快速PDU进入到一个TAN交换设备时,若出口正在传输标准PDU,TAN交换设备则不再执行抢占动作,即不会产生TAN断包,如此,可以有效避免TAN数据包的TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。It can be understood that the TAN switching device can terminate the aforementioned behavior of transmitting data based on the preemptive transmission mechanism when it is determined to use the wireless transmission method to transmit the TAN data packet, that is, when the fast PDU enters a TAN switching device, if the exit is transmitting the standard PDU , the TAN switching device will no longer perform the preemption action, that is, it will not generate TAN packet breaks. In this way, it can effectively avoid the out-of-order problem of the TAN packet breakage of the TAN data packet in the wireless transmission environment, thereby improving the TAN data packet in the wireless transmission environment. Under the transmission performance.

示例性地,所述终止基于抢占传输机制传输TAN数据包,包括:Exemplarily, the termination transmits the TAN data packet based on a preemptive transmission mechanism, including:

若所述TAN交换设备的入口接收到第一TAN数据包且所述TAN交换设备的出口正在传输第二TAN数据包,则中断所述第二TAN数据包的传输,优先发送所述第一TAN数据包并在发送所述第一TAN数据包之后重传完整的所述第二TAN数据包。If the ingress of the TAN switching device receives the first TAN data packet and the outlet of the TAN switching device is transmitting the second TAN data packet, then interrupt the transmission of the second TAN data packet, and send the first TAN first data packet and retransmit the complete second TAN data packet after sending the first TAN data packet.

可以理解的是,前述的第一TAN数据包的优先级高于第二TAN数据包的优先级,例如,第一TAN数据包对应快速数据帧,第二TAN数据包对应标准数据帧,TAN交换设备在无线传输方式下,不再将标准数据帧进行截断生成TAN断包,而是中断标准数据帧的传输,并在发送完快速数据帧之后,重传标准数据帧,如此,亦可以有效避免TAN数据包的TAN断包在无线传输环境下的乱序问题,进而改善TAN数据包在无线传输环境下的传输性能。It can be understood that the priority of the aforementioned first TAN data packet is higher than that of the second TAN data packet. For example, the first TAN data packet corresponds to a fast data frame, and the second TAN data packet corresponds to a standard data frame. TAN exchange In the wireless transmission mode, the device no longer truncates the standard data frame to generate a TAN packet, but interrupts the transmission of the standard data frame, and retransmits the standard data frame after sending the fast data frame. This can also effectively avoid The out-of-sequence problem of the TAN break packet of the TAN data packet in the wireless transmission environment, thereby improving the transmission performance of the TAN data packet in the wireless transmission environment.

示例性地,可以基于本地的策略配置或者TAN系统发送的策略配置所述在无线传输方式下,终止基于抢占传输机制传输TAN数据包。可以理解的是,需要预先对TAN交换设备进行本地或者远程下发配置,从而使得TAN交换设备可以在无线传输方式下,终止前述的基于抢占传输机制传输数据的行为。Exemplarily, the transmission of the TAN data packet based on the preemptive transmission mechanism may be terminated in the wireless transmission mode based on the local policy configuration or the policy configuration sent by the TAN system. It can be understood that it is necessary to perform local or remote configuration on the TAN switching device in advance, so that the TAN switching device can terminate the aforementioned behavior of transmitting data based on the preemptive transmission mechanism in the wireless transmission mode.

在一应用示例中,如图11所示,TAN系统控制单元分别向接收端TAN交换设备和发送端TAN交换设备下发策略,使得相应的TAN交换设备配置为:下一跳为无线传输的TAN数据不断包,在抢占场景下,中断标准PDU传输,等快速PDU传完后再进行完整标准PDU重传。In an application example, as shown in Figure 11, the TAN system control unit issues policies to the TAN switching device at the receiving end and the TAN switching device at the sending end, so that the corresponding TAN switching devices are configured as: the next hop is the TAN for wireless transmission. The data packets are not interrupted. In the preemption scenario, the standard PDU transmission is interrupted, and the complete standard PDU is retransmitted after the fast PDU is transmitted.

需要说明的是,接收端TAN交换设备和发送端TAN交换设备是相对而言的,当一个TAN交换设备发送TAN数据包给对端的TAN交换设备,则发出TAN数据包的TAN交换设备为发送端TAN交换设备,相应地,对端的TAN交换设备为接收端TAN交换设备。It should be noted that the TAN switching device at the receiving end and the TAN switching device at the sending end are relative terms. When a TAN switching device sends a TAN data packet to the opposite TAN switching device, the TAN switching device that sends the TAN data packet is the sending end. The TAN switching device, correspondingly, the TAN switching device at the opposite end is the TAN switching device at the receiving end.

可以理解的是,对于发送端TAN交换设备,当快速PDU进入时,若出口正在转发标准PDU,则发送端TAN交换设备不执行前述的抢占传输机制的断包操作,直接停止标准TAN PDU的发送,等快速PDU发送完成之后,再重新发送完整的标准TAN PDU。接收端TAN交换设备则可以基于接收的完整的TAN PDU,对已经收到的部分标准PDU数据进行查重后丢包处理。It can be understood that, for the TAN switching device at the sending end, when the fast PDU enters, if the egress is forwarding the standard PDU, the TAN switching device at the sending end does not perform the packet breaking operation of the aforementioned preemptive transmission mechanism, and directly stops the sending of the standard TAN PDU , after the fast PDU is sent, resend the complete standard TAN PDU. The TAN switching device at the receiving end can check the received part of the standard PDU data based on the received complete TAN PDU and then discard the packet.

为了实现本申请实施例的方法,本申请实施例还提供一种时间明晰网络数据包的传输装置,该时间明晰网络数据包的传输装置与上述时间明晰网络数据包的传输方法对应,上述时间明晰网络数据包的传输方法实施例中的各步骤也完全适用于本时间明晰网络数据包的传输装置实施例。In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a transmission device for time-aware network data packets, the transmission device for time-aware network data packets corresponds to the above-mentioned transmission method for time-aware network data packets, the above-mentioned time-aware network data packet transmission method The steps in the embodiment of the network data packet transmission method are also fully applicable to the present time-clear network data packet transmission device embodiment.

在一实施例中,如图12所示,时间明晰网络数据包的传输装置应用于TAN交换设备,包括:确定模块1201及发送模块1202。In one embodiment, as shown in FIG. 12 , the device for transmitting time-clear network data packets is applied to a TAN switching device, and includes: a determining module 1201 and a sending module 1202 .

确定模块1201用于将TAN数据包的TAN断包基于生成顺序确定相应的断包序列号;发送模块1202用于发送所述TAN断包,所述TAN断包的头部携带所述断包序列号;其中,所述断包序列号至少占用两个比特,用于唯一指示相应的所述TAN断包的断包次序;所述TAN断包为在发送TAN数据包的过程中,基于抢占传输机制被截断后生成的数据包。The determining module 1201 is used to determine the corresponding broken packet sequence number based on the generation sequence of the TAN broken packet of the TAN data packet; the sending module 1202 is used to send the TAN broken packet, and the header of the TAN broken packet carries the broken packet sequence number; wherein, the broken packet sequence number occupies at least two bits, and is used to uniquely indicate the broken packet sequence of the corresponding TAN broken packet; the TAN broken packet is based on preemptive transmission during the process of sending the TAN data packet The packet generated after the mechanism was truncated.

示例性地,所述断包序列号还具有采用一比特动态指示相应的所述TAN断包的断包次序的动态指示方式;所述TAN断包的头部还携带用于指示所述断包序列号采用动态指示或者唯一指示方式的断包序列位标识。Exemplarily, the serial number of the broken packet also has a dynamic indication method using one bit to dynamically indicate the broken packet order of the corresponding TAN broken packet; the header of the TAN broken packet also carries a The sequence number is identified by a dynamic indication or a unique indication of the broken packet sequence bit.

示例性地,所述断包序列位标识和/或至少部分所述断包序列号占用所述TAN断包的头部的预留字段。Exemplarily, the fragmented packet sequence bit identifier and/or at least part of the fragmented packet sequence number occupy a reserved field of the header of the TAN fragmented packet.

示例性地,时间明晰网络数据包的传输装置还包括:重组模块1203,用于接收多个对应同一TAN数据包的TAN断包,各所述TAN断包的头部携带所述断包序列号;基于各所述TAN断包的所述断包序列号确定各所述TAN断包的重组顺序;基于所述重组顺序还原所述TAN数据包。Exemplarily, the device for transmitting time-clear network data packets further includes: a reassembly module 1203, configured to receive multiple TAN broken packets corresponding to the same TAN data packet, and the header of each TAN broken packet carries the sequence number of the broken packet ; Determine the reassembly sequence of each of the TAN fragmented packets based on the fragmented packet sequence number of each of the TAN fragmented packets; restore the TAN data packets based on the reorganized sequence.

实际应用时,确定模块1201、发送模块1202及重组模块1203,可以由时间明晰网络数据包的传输装置中的处理器来实现。当然,处理器需要运行存储器中的计算机程序来实现它的功能。In practical application, the determining module 1201, the sending module 1202 and the recombining module 1203 may be implemented by a processor in the device for transmitting time-clear network data packets. Of course, a processor needs to run a computer program in memory to carry out its functions.

在一实施例中,如图13所示,时间明晰网络数据包的传输装置应用于无线网络的网元,包括:接收模块1301、确定模块1302及发送模块1303。In one embodiment, as shown in FIG. 13 , the device for transmitting time-aware network data packets is applied to a network element of a wireless network, and includes: a receiving module 1301 , a determining module 1302 and a sending module 1303 .

接收模块1301用于接收TAN交换设备发送的对应同一TAN数据包的多个TAN断包,各所述TAN断包的头部携带断包序列号;确定模块1302用于对接收的所述TAN断包封装至IP报文中并根据所述TAN断包的头部确定所述IP报文的头域字段;发送模块1303用于发送所述IP报文;其中,所述断包序列号采用一比特动态指示相应的所述TAN断包的断包次序,所述IP报文的头域字段能够指示相应的所述TAN断包的断包次序。The receiving module 1301 is used to receive a plurality of TAN broken packets corresponding to the same TAN data packet sent by the TAN switching device, and the header of each TAN broken packet carries a broken packet sequence number; the determining module 1302 is used to determine the received TAN broken packets Encapsulate the packet into an IP message and determine the header field of the IP message according to the header of the TAN broken package; the sending module 1303 is used to send the IP message; wherein, the broken package sequence number adopts a The bits dynamically indicate the packet disconnection sequence of the corresponding TAN packet disconnection, and the header field of the IP message can indicate the corresponding packet disconnection sequence of the TAN packet disconnection.

示例性地,确定模块1302具体用于:Exemplarily, the determining module 1302 is specifically used to:

根据所述TAN断包的TAN数据帧标识确定所述IP报文的标识;Determine the identifier of the IP message according to the TAN data frame identifier of the TAN broken packet;

根据所述TAN断包的所述断包序列号确定所述IP报文的标志;Determine the sign of the IP message according to the sequence number of the broken packet of the TAN broken packet;

根据所述TAN断包的长度确定所述IP报文的片偏移。Determine the fragment offset of the IP packet according to the length of the TAN fragment.

示例性地,接收模块1301还用于接收多个对应同一TAN数据包的IP报文,其中,对应所述TAN数据包的TAN断包的IP报文的头域字段根据所述TAN断包的断包序列号确定;该时间明晰网络数据包的传输装置还包括:重组模块1304,用于基于各所述IP报文的头域字段确定各所述TAN断包的重组顺序,并基于所述重组顺序还原所述TAN数据包;该发送模块1303还用于发送所述TAN数据包至所述TAN交换设备Exemplarily, the receiving module 1301 is further configured to receive a plurality of IP packets corresponding to the same TAN data packet, wherein, the header field field of the IP packet of the TAN broken packet corresponding to the TAN data packet is based on the TAN broken packet The serial number of broken packets is determined; the transmission device of the time-clear network data packets also includes: a reassembly module 1304, which is used to determine the reorganization sequence of each of the TAN broken packets based on the header fields of each of the IP messages, and based on the Recombining and restoring the TAN data packet; the sending module 1303 is also used to send the TAN data packet to the TAN switching device

实际应用时,接收模块1301、确定模块1302、发送模块1303及重组模块1304,可以由时间明晰网络数据包的传输装置中的处理器来实现。当然,处理器需要运行存储器中的计算机程序来实现它的功能。In practical applications, the receiving module 1301 , the determining module 1302 , the sending module 1303 and the recombining module 1304 may be implemented by a processor in the device for transmitting time-clear network data packets. Of course, a processor needs to run a computer program in memory to carry out its functions.

在一实施例中,如图14所示,时间明晰网络数据包的传输装置应用于TAN交换设备,包括:控制模块1401。控制模块1401用于在无线传输方式下,终止基于抢占传输机制传输TAN数据包。In one embodiment, as shown in FIG. 14 , the device for transmitting time-aware network data packets is applied to a TAN switching device, and includes: a control module 1401 . The control module 1401 is configured to terminate the transmission of the TAN data packet based on the preemptive transmission mechanism in the wireless transmission mode.

示例性地,控制模块1401具体用于:若所述TAN交换设备的入口接收到第一TAN数据包且所述TAN交换设备的出口正在传输第二TAN数据包,则中断所述第二TAN数据包的传输,优先发送所述第一TAN数据包并在发送所述第一TAN数据包之后重传完整的所述第二TAN数据包。Exemplarily, the control module 1401 is specifically configured to: if the ingress of the TAN switching device receives the first TAN data packet and the egress of the TAN switching device is transmitting the second TAN data packet, interrupt the second TAN data packet For packet transmission, the first TAN data packet is sent preferentially and the complete second TAN data packet is retransmitted after sending the first TAN data packet.

示例性地,该时间明晰网络数据包的传输装置还包括:配置模块1402,用于基于本地的策略配置或者TAN系统发送的策略配置所述在无线传输方式下,终止基于抢占传输机制传输TAN数据包。Exemplarily, the device for transmitting time-clear network data packets further includes: a configuration module 1402, configured to terminate the transmission of TAN data based on the preemptive transmission mechanism in the wireless transmission mode based on the local policy configuration or the policy configuration sent by the TAN system Bag.

实际应用时,控制模块1401及配置模块1402,可以由时间明晰网络数据包的传输装置中的处理器来实现。当然,处理器需要运行存储器中的计算机程序来实现它的功能。In practical applications, the control module 1401 and the configuration module 1402 may be implemented by a processor in a device for transmitting time-clear network data packets. Of course, a processor needs to run a computer program in memory to carry out its functions.

需要说明的是:上述实施例提供的时间明晰网络数据包的传输装置在进行时间明晰网络数据包的传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的时间明晰网络数据包的传输装置与时间明晰网络数据包的传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the device for transmitting time-clear network data packets provided by the above-mentioned embodiments transmits time-clear network data packets, only the division of the above-mentioned program modules is used for illustration. The above distribution of processing is accomplished by different program modules, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the time-aware network data packet transmission device and the time-aware network data packet transmission method embodiment provided by the above embodiment belong to the same concept, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.

基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供一种TAN交换设备。图15仅仅示出了该TAN交换设备的示例性结构而非全部结构,根据需要可以实施图15示出的部分结构或全部结构。Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a TAN switching device. FIG. 15 only shows an exemplary structure of the TAN switching device but not the entire structure, and part or all of the structure shown in FIG. 15 can be implemented as required.

如图15所示,本申请实施例提供的TAN交换设备1500包括:至少一个处理器1501、存储器1502、用户接口1503和至少一个网络接口1504。TAN交换设备1500中的各个组件通过总线系统1505耦合在一起。可以理解,总线系统1505用于实现这些组件之间的连接通信。总线系统1505除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图15中将各种总线都标为总线系统1505。As shown in FIG. 15 , a TAN switching device 1500 provided in this embodiment of the present application includes: at least one processor 1501 , a memory 1502 , a user interface 1503 and at least one network interface 1504 . Various components in the TAN switching device 1500 are coupled together through the bus system 1505 . It can be understood that the bus system 1505 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1505 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1505 in FIG. 15 for clarity of illustration.

其中,用户接口1503可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。Wherein, the user interface 1503 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel or a touch screen, and the like.

本申请实施例中的存储器1502用于存储各种类型的数据以支持TAN交换设备的操作。这些数据的示例包括:用于在TAN交换设备上操作的任何计算机程序。The memory 1502 in the embodiment of the present application is used to store various types of data to support the operation of the TAN switching device. Examples of such data include: any computer program for operating on TAN switching equipment.

本申请实施例揭示的时间明晰网络数据包的传输方法可以应用于处理器1501中,或者由处理器1501实现。处理器1501可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,时间明晰网络数据包的传输方法的各步骤可以通过处理器1501中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1501可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器1501可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器1502,处理器1501读取存储器1502中的信息,结合其硬件完成本申请实施例提供的时间明晰网络数据包的传输方法的步骤。The time-aware network data packet transmission method disclosed in the embodiment of the present application may be applied to the processor 1501 or implemented by the processor 1501 . The processor 1501 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the time-clear network data packet transmission method may be completed by an integrated logic circuit of hardware in the processor 1501 or instructions in the form of software. The aforementioned processor 1501 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 1501 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in the storage medium, the storage medium is located in the memory 1502, the processor 1501 reads the information in the memory 1502, and combines with its hardware to complete the steps of the time-clear network data packet transmission method provided by the embodiment of the present application.

在示例性实施例中,TAN交换设备可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,ProgrammableLogic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程逻辑门阵列(FPGA,Field Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the TAN switching device may be implemented by one or more Application Specific Integrated Circuits (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, ProgrammableLogic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), Field Programmable Logic Gate Array (FPGA, Field Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic components Implementation for executing the aforementioned method.

基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供一种网络设备。图16仅仅示出了该网络设备的示例性结构而非全部结构,根据需要可以实施图16示出的部分结构或全部结构。Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a network device. FIG. 16 only shows an exemplary structure of the network device but not the entire structure, and some or all of the structures shown in FIG. 16 can be implemented as required.

如图16所示,本申请实施例提供的网络设备1600包括:至少一个处理器1601、存储器1602、用户接口1603和至少一个网络接口1604。网络设备1600中的各个组件通过总线系统1605耦合在一起。可以理解,总线系统1605用于实现这些组件之间的连接通信。总线系统1605除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图16中将各种总线都标为总线系统1605。As shown in FIG. 16 , a network device 1600 provided in this embodiment of the present application includes: at least one processor 1601 , a memory 1602 , a user interface 1603 and at least one network interface 1604 . Various components in the network device 1600 are coupled together through a bus system 1605 . It can be understood that the bus system 1605 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1605 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1605 in FIG. 16 for clarity of illustration.

其中,用户接口1603可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。Wherein, the user interface 1603 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel or a touch screen, and the like.

本申请实施例中的存储器1602用于存储各种类型的数据以支持网络设备的操作。这些数据的示例包括:用于在网络设备上操作的任何计算机程序。The memory 1602 in the embodiment of the present application is used to store various types of data to support the operation of the network device. Examples of such data include: any computer programs used to operate on network equipment.

本申请实施例揭示的时间明晰网络数据包的传输方法可以应用于处理器1601中,或者由处理器1601实现。处理器1601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,时间明晰网络数据包的传输方法的各步骤可以通过处理器1601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1601可以是通用处理器、DSP或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器1601可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器1602,处理器1601读取存储器1602中的信息,结合其硬件完成本申请实施例提供的时间明晰网络数据包的传输方法的步骤。The time-aware network data packet transmission method disclosed in the embodiment of the present application may be applied to the processor 1601 or implemented by the processor 1601 . The processor 1601 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the time-clear network data packet transmission method may be completed by an integrated logic circuit of hardware in the processor 1601 or instructions in the form of software. The aforementioned processor 1601 may be a general-purpose processor, DSP or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 1601 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in the storage medium, the storage medium is located in the memory 1602, the processor 1601 reads the information in the memory 1602, and combines with its hardware to complete the steps of the time-clear network data packet transmission method provided by the embodiment of the present application.

在示例性实施例中,网络设备1600可以被一个或多个ASIC、DSP、PLD、CPLD、FPGA、通用处理器、控制器、MCU、Microprocessor、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the network device 1600 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general processors, controllers, MCUs, Microprocessors, or other electronic components for performing the aforementioned methods.

示例性地,网络设备1600可以为无线网络的网元,以5G网络为例,网络设备1600可以为UE或者UPF。Exemplarily, the network device 1600 may be a network element of a wireless network. Taking a 5G network as an example, the network device 1600 may be a UE or a UPF.

可以理解,存储器1502、1602可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read OnlyMemory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1502, 1602 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Wherein, non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory, Optical disc, or compact disc read-only memory (CD-ROM, Compact Disc Read-Only Memory); magnetic surface storage can be magnetic disk storage or magnetic tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) . The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体可以是计算机可读存储介质,例如包括存储计算机程序的存储器1502,上述计算机程序可由TAN交换设备的处理器1501执行,以完成本申请实施例方法所述的步骤;又如,包括存储计算机程序的存储器1602,上述计算机程序可由网络设备的处理器1601执行,以完成本申请实施例方法所述的步骤。计算机可读存储介质可以是ROM、PROM、EPROM、EEPROM、FlashMemory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically, a computer-readable storage medium, for example, including a memory 1502 storing a computer program, and the above-mentioned computer program can be used by the TAN switching device The processor 1501 executes to complete the steps described in the method of the embodiment of this application; as another example, it includes a memory 1602 that stores computer programs, and the above computer program can be executed by the processor 1601 of the network device to complete the steps described in the method of the embodiment of this application step. The computer-readable storage medium may be memory such as ROM, PROM, EPROM, EEPROM, FlashMemory, magnetic surface memory, optical disk, or CD-ROM.

需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that: "first", "second", etc. are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.

另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present application may be combined arbitrarily if there is no conflict.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请披露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (16)

1. A transmission method of time-aware network data packets is applied to a time-aware network TAN switching device, and the method comprises:
determining a corresponding broken packet serial number according to the generation sequence of the TAN broken packets of the TAN data packets;
sending the TAN broken packet, wherein the head of the TAN broken packet carries the broken packet serial number;
wherein, the broken packet sequence number occupies at least two bits and is used for uniquely indicating the broken packet sequence of the corresponding TAN broken packet; and the TAN packet interruption is a data packet generated after being interrupted based on a preemptive transmission mechanism in the process of sending the TAN data packet.
2. The method of claim 1, wherein the broken packet sequence number further has a dynamic indication manner of one bit to dynamically indicate the broken packet order of the corresponding TAN broken packet; and the head of the TAN broken packet also carries a broken packet sequence bit identifier used for indicating the broken packet sequence number to adopt a dynamic indication or unique indication mode.
3. The method of claim 2,
and the broken packet sequence bit identification and/or at least part of the broken packet sequence number occupy a reserved field of the head of the TAN broken packet.
4. The method of claim 1, further comprising:
receiving a plurality of TAN broken packets corresponding to the same TAN data packet, wherein the head of each TAN broken packet carries the broken packet serial number;
determining the reassembly sequence of each TAN packet break based on the packet break sequence number of each TAN packet break;
and restoring the TAN data packet based on the reorganization sequence.
5. A method for transmitting time-resolved network packets, the method being applied to a network element of a wireless network, the method comprising:
receiving a plurality of TAN broken packets which are sent by TAN switching equipment and correspond to the same TAN data packet, wherein the head of each TAN broken packet carries a broken packet serial number;
packaging the received TAN broken packet into an IP message and determining a header field of the IP message according to the header of the TAN broken packet;
sending the IP message;
the packet-break sequence number dynamically indicates the packet-break sequence of the corresponding TAN packet-break by using one bit, and the header field of the IP message can indicate the packet-break sequence of the corresponding TAN packet-break.
6. The method according to claim 5, wherein the determining a header field of the IP packet according to the header of the TAN packet break comprises:
determining the identification of the IP message according to the TAN data frame identification of the TAN packet interruption;
determining the mark of the IP message according to the packet breaking serial number of the TAN packet breaking;
and determining the slice offset of the IP message according to the length of the TAN broken packet.
7. The method of claim 5, further comprising:
receiving a plurality of IP messages corresponding to the same TAN data packet, wherein a header field of the IP message corresponding to the TAN broken packet of the TAN data packet is determined according to a broken packet serial number of the TAN broken packet;
determining the recombination sequence of each TAN broken packet based on the header field of each IP message;
restoring the TAN data packet based on the reassembly sequence;
and sending the TAN data packet to the TAN switching equipment.
8. A transmission method of time-resolved network data packets is applied to a TAN switching device, and the method comprises the following steps:
and in the wireless transmission mode, the transmission of the TAN data packet based on the preemptive transmission mechanism is stopped.
9. The method of claim 8, wherein terminating transmission of the TAN packet based on the preemptive transport mechanism comprises:
if the inlet of the TAN switching device receives a first TAN data packet and the outlet of the TAN switching device is transmitting a second TAN data packet, interrupting the transmission of the second TAN data packet, preferentially sending the first TAN data packet and retransmitting the complete second TAN data packet after sending the first TAN data packet.
10. The method of claim 8, further comprising:
and terminating the transmission of the TAN data packet based on the preemptive transmission mechanism under the wireless transmission mode based on the local policy configuration or the policy configuration sent by the TAN system.
11. A transmission apparatus for time-resolved network packets, the transmission apparatus being applied to a TAN switching device, the transmission apparatus comprising:
the determining module is used for determining a corresponding packet break serial number of the TAN broken packet of the TAN data packet based on the generation sequence;
a sending module, configured to send the TAN packet break, where a header of the TAN packet break carries the packet break sequence number;
the broken packet sequence number occupies at least two bits and is used for uniquely indicating the broken packet sequence of the corresponding TAN broken packet; and the TAN packet interruption is a data packet generated after being interrupted based on a preemptive transmission mechanism in the process of sending the TAN data packet.
12. A device for transmitting a time-resolved network packet, the device being applied to a network element of a wireless network, the device comprising:
a receiving module, configured to receive multiple TAN broken packets corresponding to the same TAN data packet sent by a TAN switching device, where a head of each TAN broken packet carries a broken packet sequence number;
a determining module, configured to encapsulate the received TAN packet break into an IP packet and determine a header field of the IP packet according to a header of the TAN packet break;
the sending module is used for sending the IP message;
the packet-break sequence number dynamically indicates the packet-break sequence of the corresponding TAN packet-break by using one bit, and the header field of the IP message can indicate the packet-break sequence of the corresponding TAN packet-break.
13. A transmission apparatus for time-resolved network packets, which is applied to a TAN switching device, the transmission apparatus comprising:
and the control module is used for stopping transmitting the TAN data packet based on the preemptive transmission mechanism in the wireless transmission mode.
14. A TAN switching device, comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor, when executing the computer program, performs the steps of the method of any of claims 1 to 4 or 8 to 10.
15. A network device, comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor, when executing the computer program, is adapted to perform the steps of the method of any of claims 5 to 7.
16. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of any one of claims 1 to 10.
CN202110970319.7A 2021-08-23 2021-08-23 Method, apparatus and storage medium for transmitting time-resolved network packets Pending CN115714991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110970319.7A CN115714991A (en) 2021-08-23 2021-08-23 Method, apparatus and storage medium for transmitting time-resolved network packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110970319.7A CN115714991A (en) 2021-08-23 2021-08-23 Method, apparatus and storage medium for transmitting time-resolved network packets

Publications (1)

Publication Number Publication Date
CN115714991A true CN115714991A (en) 2023-02-24

Family

ID=85230334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110970319.7A Pending CN115714991A (en) 2021-08-23 2021-08-23 Method, apparatus and storage medium for transmitting time-resolved network packets

Country Status (1)

Country Link
CN (1) CN115714991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116506335A (en) * 2023-06-27 2023-07-28 广东省科学院佛山产业技术研究院有限公司 Data encapsulation method, probe, acquisition method and system based on Ethernet transmission

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116506335A (en) * 2023-06-27 2023-07-28 广东省科学院佛山产业技术研究院有限公司 Data encapsulation method, probe, acquisition method and system based on Ethernet transmission
CN116506335B (en) * 2023-06-27 2023-10-13 广东省科学院佛山产业技术研究院有限公司 Data encapsulation method, probe, acquisition method and system based on Ethernet transmission

Similar Documents

Publication Publication Date Title
US11063884B2 (en) Ethernet enhancements
US11412078B2 (en) Data transmission method and first device
US9166917B2 (en) Link layer preemption
CN108881008B (en) Data transmission method, device and system
RU2540815C2 (en) Interruption, at least in part, of frame transmission
US20060265517A1 (en) Tcp/ip reception process circuit and semiconductor integrated cirtuit having the same
US20080002578A1 (en) Network with a constrained usage model supporting remote direct memory access
WO2018187135A1 (en) A proxy for serving internet-of-things (iot) devices
US7953093B2 (en) TCP/IP reordering
JP2003333076A (en) Offloading method of network stack
JP2008524891A (en) Method, system and article for improved network performance by avoiding data corruption
EP2696621A1 (en) Message processing method, device and system
CN111740939B (en) Message transmission device, message transmission equipment, message transmission method and storage medium
US6996105B1 (en) Method for processing data packet headers
CN103414692A (en) High real-time spacecraft data transmission method based on priorities
US9819602B2 (en) Efficient datagram segmentation and reassembly for packet-switched networks
CN115714991A (en) Method, apparatus and storage medium for transmitting time-resolved network packets
WO2021208694A1 (en) Data transmission method and network device
US20090210770A1 (en) Method, system and computer program product for end to end error checking in ethernet
US20150304224A1 (en) Method and Universal Interface Chip for Achieving High-Speed Data Transmission
CN113965518A (en) Message processing method and device
CN104426866B (en) A kind of data transmission method and device
WO2019015487A1 (en) Data retransmission method, rlc entity and mac entity
WO2023109891A1 (en) Multicast transmission method, apparatus and system
CN115665267A (en) A method and device for implementing a lightweight network protocol stack

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination