WO2023024494A1 - 前传报文处理方法及装置、前传接口、通信设备、计算机可读存储介质 - Google Patents

前传报文处理方法及装置、前传接口、通信设备、计算机可读存储介质 Download PDF

Info

Publication number
WO2023024494A1
WO2023024494A1 PCT/CN2022/081385 CN2022081385W WO2023024494A1 WO 2023024494 A1 WO2023024494 A1 WO 2023024494A1 CN 2022081385 W CN2022081385 W CN 2022081385W WO 2023024494 A1 WO2023024494 A1 WO 2023024494A1
Authority
WO
WIPO (PCT)
Prior art keywords
forward message
message
type
field
classification
Prior art date
Application number
PCT/CN2022/081385
Other languages
English (en)
French (fr)
Inventor
肖露
高靖欣
Original Assignee
深圳市中兴微电子技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Priority to KR1020247003900A priority Critical patent/KR20240027822A/ko
Priority to EP22859849.6A priority patent/EP4395402A1/en
Priority to JP2024507032A priority patent/JP2024530485A/ja
Publication of WO2023024494A1 publication Critical patent/WO2023024494A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/085Access point devices with remote components

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a fronthaul packet processing method, a fronthaul packet processing device for executing the fronthaul packet processing method, a fronthaul interface, a communication device, and a computer-readable storage medium.
  • the fronthaul interface protocol of related technologies namely the Common Public Radio Interface (CPRI, Common Public Radio Interface) protocol
  • CPRI Common Public Radio Interface
  • 5G fronthaul interface protocols include Radio over Ethernet (RoE, Radio over Ethernet) protocol, enhanced Common Public Radio Interface (eCPRI, enhanced Common Public Radio Interface) protocol, open radio access network (oRAN, open Radio Access Network) Protocol, x Radio Access Network (xRAN, x Radio Access Network) protocol, etc.
  • RoE Radio over Ethernet
  • eCPRI enhanced Common Public Radio Interface
  • oRAN open Radio Access Network
  • xRAN x Radio Access Network
  • Radio Access Network x Radio Access Network
  • Ethernet fronthaul interface protocol is based on the encapsulation of Ethernet packets (such as MAC, IP, UDP, and other types of packets), which can more flexibly support the requirements of 5G networking scenarios.
  • Ethernet packets such as MAC, IP, UDP, and other types of packets
  • 5G fronthaul interface protocols there are many 5G fronthaul interface protocols, and each protocol requires a part of logic to support it, which complicates the design and increases resource power consumption.
  • a method for processing a fronthaul packet including:
  • the service data is extracted and processed according to the location of the service data.
  • a fronthaul packet processing device including:
  • a type keyword determination module configured to determine the type keyword of the forward message according to the type of the transport layer transmitting the forward message
  • a packet type determination module configured to determine the type of the forwarded packet according to the type keyword
  • a location determining module configured to determine the location of the service data carried in the forward message in the forward message according to the type of the forward message
  • a business data processing module configured to extract and process the business data according to the location of the business data.
  • a fronthaul interface including:
  • processors one or more processors
  • a memory on which one or more computer programs are stored, and when the one or more computer programs are executed by the one or more processors, the one or more processors are implemented according to the first aspect of the present disclosure.
  • One or more input/output (I/O) interfaces connected between the processor and the memory, configured to realize information exchange between the processor and the memory.
  • a communication device is provided, and the communication device includes the fronthaul interface provided in the third aspect of the present disclosure.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method for processing forwarded packets according to the first aspect of the present disclosure is implemented. .
  • FIG. 1 is a flow chart of an implementation manner of a forwarding packet processing method provided by the present disclosure
  • Fig. 2 is a flow chart of an implementation manner of step S130;
  • FIG. 3 is a schematic diagram of a data structure of a forward message based on the eCPRI protocol
  • FIG. 4 is a schematic diagram of a data structure of a forward message based on the RoE protocol
  • FIG. 5 is a flowchart of an implementation manner of step S131;
  • Fig. 6 is a flow chart of another embodiment of the forwarding packet processing method provided by the present disclosure.
  • FIG. 7 is a flowchart of an implementation manner of step S150;
  • Fig. 8 is a flow chart of another embodiment of the forwarding packet processing method provided by the present disclosure.
  • FIG. 9 is a schematic module diagram of an implementation manner of a fronthaul packet processing device provided by the present disclosure.
  • FIG. 10 is a schematic structural diagram of an implementation manner of a fronthaul interface provided by the present disclosure.
  • FIG. 11 is a schematic diagram of a computer-readable storage medium provided by the present disclosure.
  • the method for processing forwarded packets includes:
  • Step S110 determining the type keyword of the forwarded message according to the type of the transport layer transmitting the forwarded message
  • Step S120 determining the type of the forward message according to the type keyword
  • Step S130 determining the position of the service data carried in the forward message in the forward message according to the type of the forward message.
  • Step S140 extracting and processing the business data according to the location of the business data.
  • the fronthaul message is a message based on the Ethernet fronthaul protocol, and the Ethernet fronthaul protocols are all based on the Ethernet protocol.
  • the type of the forwarding message is the type of the Ethernet forwarding protocol that encapsulates the forwarding message.
  • the type of the forwarding message can be a MAC message, an IPV4 message, an IPV6 message, and other types. kind of.
  • the field associated with the packet type and the transport layer in the forwarding packet may be determined as the type key. When transmitted in the same transport layer, the type keywords carried in different types of forwarding packets are different.
  • an Ether type (ETHtype) field in the forward packet may be determined as the type key.
  • the ETHtype field is 0x0800; for the IPV6 type forwarding message, the ETHtype field is 0x86DD; for the eCPRI type forwarding message, the ETHtype field is 0xAEFF.
  • the protocol (Protocol) field in the forward message may be determined as the type key of the forward message. By identifying the Protocol field in the forward message, the type of the forward message can be determined.
  • the specific structure of the forwarded message can be specified, and the position of the service data in the forwarded message can be determined according to the specific structure of the forwarded message, and the The data is extracted.
  • the forwarding message processing method is used for the forwarding interface of the receiving end of the forwarding message, and the specific type of the forwarding message can be determined by transmitting the type of the transport layer of the forwarding message, that is to say, for the received
  • the front-haul interface of the receiving end can extract service data from the received forwarding messages, realizing compatibility with different types of Ethernet front-haul protocols, and There is no need to configure corresponding logic for each protocol on the fronthaul interface of the receiving end, which simplifies the structure of the fronthaul interface capable of receiving and processing different types of fronthaul packets, and reduces implementation costs.
  • service data refers to the data in the information field (payload) of the forwarding message.
  • step S130 there is no special limitation on the specific implementation manner of the step of determining the location of the service data carried in the forwarding message according to the type of the forwarding message (that is, step S130 ).
  • the location of service data can be directly calculated according to the type of the forwarded packet.
  • step S130 may include:
  • Step S131 determine the position of the classification field of each level in the preceding message and the position of the length field of the preceding message in the preceding message ;
  • Step S132 extracting and determining the forwarding message according to the position of the classification field of each level of the preceding message in the preceding message and the position of the length field of the preceding message in the preceding message.
  • Step S133 Determine the location of the service data according to the information carried in the classification fields of each level of the forward message and the information carried in the length field of the forward message.
  • the forwarding packet may include a classification field of at least one level of classification.
  • the data carried in the forward message includes two levels of classification.
  • the data of the eCPRI-based forwarding message includes the data flow represented by the first-level classification field Message Type and the data flow represented by the second-level classification field PC_ID.
  • the data carried in the RoE-based prehaul packet also includes two levels of classification. As shown in FIG.
  • the data of the RoE protocol-based prehaul message includes the data flow represented by the first-level classification field subType and the data flow represented by the second-level classification field FlowID.
  • the data flow represented by the first-level classification field Message Type and the data flow represented by the first-level classification field subType are the same type of data
  • the second-level classification field PC_ID represents The data flow and the data flow represented by the secondary classification field FlowID are the same type of data.
  • the positions of classification fields at all levels can be determined according to the type of the forwarded message.
  • the position of the length field is determined in each type of forwarding packet.
  • the position of the length field in the forward message is only related to the message type, as long as the message type of the forward message is determined, the position of the length field of the forward message can be determined.
  • the length field can directly or indirectly reflect the length of the service data.
  • the information field size (Payload size) field (that is, the length field) includes the PC_ID field, the SEQ_ID field (that is, the sequence field), and the total length of the service data.
  • the length field Length includes the length of the service data after the orderinginfo field.
  • the forwarding message based on the eCPRI protocol includes two parts: the eCPRI common header (eCPRI Common header) and the eCPRI information domain (eCPRI Payload).
  • the eCPRI Common header carries the version field (Version), RSV field, C field, Message Type field, information field size (Payload size) field, eCPRI Payload carries PC_ID field, SEQ_ID field, and information field (Payload).
  • the pre-transmission message based on the RoE protocol includes two parts: the RoE header (RoE header) and the RoE information domain (RoE Payload).
  • the RoE header carries the subType field, FlowID field, Length field, and orderinginfo field.
  • the RoE Payload carries an information field (Payload).
  • Table 1 shows the comparative relationship between the protocol field of the eCPRI protocol-based prehaul message and the RoE protocol-based prehaul message field.
  • the present disclosure has described the eCPRI-based prehaul message and the RoE protocol-based pre-transfer message as examples, the present disclosure is not limited thereto, and the method provided in the present disclosure can also be applied to Forward packets of other protocols (for example, oRAN protocol).
  • the service data After determining the positions of the classification fields at all levels of the forwarding message and the length field of the forwarding message, and then according to the information carried in the classification fields at all levels of the forwarding message and the information carried in the length field, the service data can be determined location, and can process business data accordingly.
  • step S131 may include:
  • Step S131a determine the position of the classification field of the preceding message according to the first mapping relationship, the first mapping relationship represents the relationship between the type of the preceding message and the positions of the classification fields of each level of the preceding message mapping relationship;
  • Step S131b Determine the position of the length field of the forwarded message according to the second mapping relationship, the second mapping relationship represents the mapping relationship between the type of the forwarded message and the position of the length field of the forwarded message .
  • the classification field is also used to classify the service of the forwarding message including the classification field.
  • the method for processing the forwarding message may further include:
  • Step S150 performing service classification on the forwarded message according to the classification field.
  • step S150 may include:
  • Step S151 determining a classification label corresponding to the classification field according to a preset mapping relationship, the preset mapping relationship representing the mapping relationship between the classification field and the classification label;
  • Step S152 mark the forwarded message with the classification mark.
  • the Redefine ID can be used to mark the forwarding message, and the values of the Redefine ID of different service types are different.
  • the method for processing the pre-transmission message may also include:
  • step S160 determine the position of the sequence field in the forward message according to the type of the forward message.
  • Step S170 extracting and determining the information carried in the sequence field according to the position of the sequence field in the pre-transmission message, and determining the order of sending the pre-transmission message according to the information carried in the sequence field.
  • the sequence field is SEQ_ID; for a forward message based on the RoE protocol, the sequence field is orderinginfo.
  • the sequence field has two forms of expression: the first one, a timing identifier related to the time scale for a certain timing period (for example, 10ms); the second one, the incremental numbering of packets within a certain timing period (for example, 10ms). Packets on the fronthaul interface are sent at a certain period, so the above two expressions can be converted to each other.
  • the specific conversion formula is as follows:
  • the serial number of each packet * the sending period of the packet the timing scale of each packet.
  • the sequence of the currently received forward packets can be calculated according to the specific information of the sequence field.
  • a fronthaul packet processing device As a second aspect of the present disclosure, a fronthaul packet processing device is provided. As shown in FIG. 9, the fronthaul packet processing device includes:
  • a type keyword determination module 910 the type keyword determination module 910 is configured to determine the type keyword of the forward message according to the type of the transport layer that transmits the forward message;
  • a message type determining module 920 the message type determining module 920 is configured to determine the type of the preceding message according to the type keyword;
  • a location determining module 930 the location determining module 930 is configured to determine the location of the service data carried in the forward message in the forward message according to the type of the forward message;
  • a business data processing module 940 the business data processing module 940 is configured to extract and process the business data according to the location of the business data.
  • the fronthaul packet processing device is used to execute the fronthaul packet processing method provided in the first aspect of the present disclosure.
  • the specific working principle and beneficial effects of the fronthaul packet processing method have been described in detail above, and will not be discussed here. Let me repeat.
  • a fronthaul interface As a third aspect of the present disclosure, a fronthaul interface is provided. As shown in FIG. 10 , the fronthaul interface includes:
  • processors 101 one or more processors 101;
  • Memory 102 on which one or more computer programs are stored, and when the one or more computer programs are executed by the one or more processors 101, the one or more processors 101 realize the A forwarding packet processing method provided by one aspect;
  • One or more input/output (I/O) interfaces 103 are connected between the processor 101 and the memory 102 and are configured to realize information exchange between the processor 101 and the memory 102 .
  • Processor 101 is a device with data processing capability, which includes but not limited to central processing unit (CPU) etc.
  • memory 102 is a device with data storage capability, which includes but not limited to Random Access Memory (RAM, more specifically SDRAM , DDR, etc.), read-only memory (ROM), charged erasable programmable read-only memory (EEPROM), flash memory (FLASH);
  • I/O interface (ie read-write interface) 103 is connected between processor 101 and memory 102 , can realize information interaction between the processor 101 and the memory 102, which includes but not limited to a data bus (Bus) and the like.
  • Buss data bus
  • the processor 101 , the memory 102 and the I/O interface 103 are connected to each other through the bus 104 , and are further connected to other components of the computing device.
  • a communication device is provided, and the communication device includes the fronthaul interface provided in the third aspect of the present disclosure.
  • the communication device is one of a baseband processing unit BBU, an active antenna processing unit AAU, and a radio frequency extension unit RRU.
  • the BBU, the AAU, and the RRU are all provided with the foregoing fronthaul interface.
  • the forwarding message can be processed according to the forwarding message processing method provided in the first aspect of the present disclosure.
  • a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, it realizes the functions provided by the first aspect of the present disclosure.
  • the forwarding packet processing method As shown in FIG. 11 , as shown in FIG. 11 , a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, it realizes the functions provided by the first aspect of the present disclosure.
  • the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute.
  • Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit circuit.
  • Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory, CD-ROM, digital versatile disk (DVD), magnetic cartridges, magnetic tape, magnetic disks, or any other medium that can be used to store desired information and that can be accessed by a computer. medium.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提供一种前传报文处理方法,包括:根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字(S110);根据所述类型关键字确定所述前传报文的类型(S120);根据所述前传报文的类型确定所述前传报文携带的业务数据在所述前传报文中的位置(S130);以及根据所述业务数据的位置提取并处理所述业务数据(S140)。本公开还提供一种前传报文处理装置、一种前传接口、一种通信设备、及一种计算机可读存储介质。

Description

前传报文处理方法及装置、前传接口、通信设备、计算机可读存储介质
相关申请的交叉引用
本申请要求于2021年8月26日提交的中国专利申请NO.202110987481.X的优先权,该中国专利申请的内容通过引用的方式整体合并于此。
技术领域
本公开涉及通信技术领域,具体地,涉及前传报文处理方法、执行前传报文处理方法的前传报文处理装置、前传接口、通信设备和计算机可读存储介质。
背景技术
为了应对5G组网场景所需要的低时延、高带宽及大数据量等需求,相关技术的前传接口协议,即通用公用射频接口(CPRI,Common Public Radio Interface)协议,演变为以太网前传协议,即,5G前传接口协议。相关的5G前传接口协议包括以太网传输射频信号(RoE,Radio over Ethernet)协议、增强通用公用射频接口(eCPRI,enhanced Common Public Radio Interface)协议、开放无线接入网络(oRAN,open Radio Access Network)协议、x无线接入网络(xRAN,x Radio Access Network)协议等。与CPRI协议相比,以太网前传接口协议基于以太网报文(如,MAC、IP、UDP等类型的报文)封装,可以更加灵活地支持5G组网场景的要求。但是,5G前传接口协议有多种,每一种协议都做一部分逻辑来支持,设计复杂,提高了资源功耗。
公开内容
作为本公开的第一个方面,提供一种前传报文处理方法,包括:
根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字;
根据所述类型关键字确定所述前传报文的类型;
根据所述前传报文的类型确定所述前传报文携带的业务数据在所述前传报文中的位置;以及
根据所述业务数据的位置提取并处理所述业务数据。
作为本公开的第二个方面,提供一种前传报文处理装置,包括:
类型关键字确定模块,配置为根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字;
报文类型确定模块,配置为根据所述类型关键字确定所述前传报文的类型;
位置确定模块,配置为根据所述前传报文的类型确定所述前传报文携带的业务数据在所述前传报文中的位置;以及
业务数据处理模块,配置为根据所述业务数据的位置提取并处理所述业务数据。
作为本公开的第三个方面,提供一种前传接口,包括:
一个或多个处理器;
存储器,其上存储有一个或多个计算机程序,所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现根据本公开第一方面所述的前传报文处理方法;以及
一个或多个输入/输出(I/O)接口,连接在所述处理器与所述存储器之间,配置为实现所述处理器与所述存储器之间的信息交互。
作为本公开的第四个方面,提供一种通信设备,该通信设备包括本公开第三个方面所提供的前传接口。
作为本公开的第五个方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据本公开第一个方面所述的前传报文处理方法。
附图说明
图1是本公开所提供的前传报文处理方法的一种实施方式的流程图;
图2是步骤S130的一种实施方式的流程图;
图3是基于eCPRI协议的前传报文的数据结构示意图;
图4是基于RoE协议的前传报文的数据结构示意图;
图5是步骤S131的一种实施方式的流程图;
图6是本公开所提供的前传报文处理方法的另一种实施方式的流程图;
图7是步骤S150的一种实施方式的流程图;
图8是本公开所提供的前传报文处理方法的再一种实施方式的流程图;
图9是本公开所提供的前传报文处理装置的一种实施方式的模块示意图;
图10是本公开所提供的前传接口的一种实施方式的结构示意图;以及
图11是本公开所提供的计算机可读存储介质的示意图。
具体实施方式
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的前传报文处理方法、前传报文处理装置、前传接口、通信设备和计算机可读存储介质进行详细描述。
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现,且本公开不应当被解释为限于本文阐述的实施例。提供这些实施例的目的在于使本公开更加透彻和完整,并使本领域技术人员充分理解本公开的范围。
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。
如本文所使用的,术语“和/或”包括一个或多个相关列举条目的任何和所有组合。
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公 开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在特定特征、整体、步骤、操作、元件和/或组件,但不排除存在或可添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如在那些常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。
作为本公开的第一个方面,提供一种前传报文处理方法,如图1所示,所述前传报文处理方法包括:
步骤S110,根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字;
步骤S120,根据所述类型关键字确定所述前传报文的类型;
步骤S130,根据所述前传报文的类型确定所述前传报文携带的业务数据在所述前传报文中的位置;以及
步骤S140,根据所述业务数据的位置提取并处理所述业务数据。
所述前传报文为基于以太网前传协议的报文,而以太网前传协议均基于以太网协议。所述前传报文的类型即为封装所述前传报文的以太网前传协议的类型,例如,所述前传报文的类型可以为MAC报文、IPV4报文、IPV6报文等多种类型中的一种。在本公开中,可以将前传报文中与报文类型、以及传输层相关联的字段确定为所述类型关键字。在同一种传输层中传输时,不同类型的前传报文中携带的类型关键字是不同的。
例如,当所述传输层为MAC层时,可以将所述前传报文中的以太类型(ETHtype)字段确定为所述类型关键字。对于IPV4类型的前传报文而言,ETHtype字段为0x0800;对于IPV6类型的前传报文而言,ETHtype字段为0x86DD;对于eCPRI类型的前传报文而言,ETHtype字段为0xAEFF。
再例如,当所述传输层为IPV4层时,可以将所述前传报文中的协议(Protocol)字段确定为所述前传报文的类型关键字。通过识别所述前传报文中Protocol字段,可以确定所述前传报文的类型。
确定了所述前传报文的类型后,即可明确所述前传报文的具体结构,并且可以根据所前传报文的具体结构确定业务数据在所述前传报文中的位置,并对该业务数据进行提取。
所述前传报文处理方法用于前传报文的接收端的前传接口,通过传输所述前传报文的传输层的类型即可对前传报文的具体类型进行确定,也就是说,对于接收到的不同的前传报文的发送端发出的不同类型的前传报文,所述接收端的前传接口均能够对接收到的前传报文进行业务数据提取,实现了对不同类型的以太前传协议的兼容,且无需在接收端的前传接口为每种协议都配置相应的逻辑,简化了能够接收并处理不同类型的前传报文的前传接口的结构,并降低了实现成本。
需要指出的是,此处所述的“业务数据”是指前传报文的信息域(payload)中的数据。
在本公开中,对根据所述前传报文的类型确定所述前传报文携带的业务数据的位置的步骤(即,步骤S130)的具体实施方式不做特殊的限定。例如,可以根据前传报文的类型,直接计算业务数据的位置。
为了便于实现,在一些实施方式中,如图2中所示,步骤S130可以包括:
步骤S131,根据所述前传报文的类型确定所述前传报文的各级分类字段在所述前传报文中的位置、以及所述前传报文的长度字段在所述前传报文中的位置;
步骤S132,根据所述前传报文的各级分类字段在所述前传报文中的位置、以及所述前传报文的长度字段在所述前传报文中的位置,提取并确定所述前传报文的各级分类字段携带的信息、以及所述前传报文的长度字段携带的信息;以及
步骤S133,根据所述前传报文的各级分类字段携带的信息、以 及所述前传报文的长度字段携带的信息确定所述业务数据的位置。
对于不同类型的前传报文而言,虽然分类字段的位置不同,但是同一级别的分类字段所描述的数据是同一类数据流。通过确定分类字段对应的数据可以确定对业务数据的处理方式。所述前传报文可以包括至少一级分类的分类字段。例如,对于基于eCPRI协议的前传报文来说,该前传报文所携带的数据包括两级分类。如图3所示,基于eCPRI协议的前传报文的数据包括由一级分类字段Message Type表示的数据流和由二级分类字段PC_ID表示的数据流。再例如,基于RoE协议的前传报文所携带的数据也包括两级分类。如图4所示,基于RoE协议的前传报文的数据包括由一级分类字段subType表示的数据流和由二级分类字段FlowID所表示的数据流。对于基于eCPRI协议的前传报文和基于RoE协议的前传报文而言,一级分类字段Message Type表示的数据流和一级分类字段subType表示的数据流是同一类数据,二级分类字段PC_ID表示的数据流和二级分类字段FlowID所表示的数据流时同一类数据。在本公开中,根据前传报文的类型可以确定各级分类字段的位置。
如上文中所述,每种类型的前传报文中,长度字段的位置是确定的。换言之,前传报文中长度字段的位置仅与报文类型相关,只要确定了前传报文的报文类型,即可确定该前传报文的长度字段的位置。在前传报文中,长度字段可以直接或间接反应业务数据的长度。
例如,对于基于eCPRI协议的前传报文而言,信息域大小(Payload size)字段(即长度字段)包含PC_ID字段、SEQ_ID字段(即,序列字段)、以及业务数据的总长度。可以根据Message Type的取值来确定业务数据的长度。具体地,当Message Type=0、1、2中的任意一者时,业务数据的长度为Payload size字段的取值减去4。当Message Type=3时,业务数据的长度为Payload size字段的取值减去8。Payload size字段的取值与业务数据的长度之间的关系在eCPRI协议已经有了详细的规定,这里不再赘述。
再例如,对基于RoE协议的前传报文而言,长度字段Length包含位于orderinginfo字段之后的业务数据的长度。
如图3所示,基于eCPRI协议的前传报文包括eCPRI通用报文头(eCPRI Common header)和eCPRI信息域(eCPRI Payload)两部分,eCPRI Common header中携带有版本字段(Version)、RSV字段、C字段、Message Type字段、信息域大小(Payload size)字段,eCPRI Payload中携带有PC_ID字段、SEQ_ID字段、信息域(Payload)。
如图4所示,基于RoE协议的前传报文包括RoE报文头(RoE header)和RoE信息域(RoE Payload)两部分,RoE header中携带有subType字段、FlowID字段、Length字段、orderinginfo字段,RoE Payload中携带有信息域(Payload)。
表1中所示的是基于eCPRI协议的前传报文的协议字段与基于RoE协议的前传报文字段之间的对比关系。
表1
Figure PCTCN2022081385-appb-000001
需要指出的是,虽然本公开以基于eCPRI协议的前传报文与基于RoE协议的前传报文为例进行了描述,但是,本公开并不限于此,本公开所提供的方法还可以适用于基于其他协议(例如,oRAN协议)的前传报文。
确定了前传报文的各级分类字段的位置、以及前传报文的长度字段的位置,再根据前传报文的各级分类字段携带的信息、以及长度 字段携带的信息,即可确定业务数据的位置,并且能够据此对业务数据进行处理。
在本公开中,对如何确定前传报文的各级分类字段的位置并不做特殊的限定。为了快速确定前传报文的各级分类字段的位置、以及前传报文的长度字段的位置,可以在前传报文的接收端预先存储前传报文的报文类型与各级分类字段的位置之间的第一映射关系、以及报文类型与长度字段的位置之间的第二映射关系,相应地,如图5中所示,步骤S131可以包括:
步骤S131a,根据第一映射关系确定所述前传报文的分类字段的位置,所述第一映射关系表征所述前传报文的类型与所述前传报文的各级分类字段的位置之间的映射关系;以及
步骤S131b,根据第二映射关系确定所述前传报文的长度字段的位置,所述第二映射关系表征所述前传报文的类型与所述前传报文的长度字段的位置之间的映射关系。
所述分类字段除了用于确定前传报文的业务数据的位置之外,还用于对包括该分类字段的前传报文进行业务分类。相应地,如图6所示,所述前传报文处理方法还可以包括:
步骤S150,根据所述分类字段对所述前传报文进行业务分类。
业务分类不同的前传报文用于实现不同的业务。
为了便于后续在前传报文的处理过程中能够很好地识别前传报文的业务类型,在一些实施方式中,如图7所示,步骤S150可以包括:
步骤S151,根据预设的映射关系确定与所述分类字段对应的分类标记,所述预设的映射关系表征所述分类字段与分类标记之间的映射关系;以及
步骤S152,利用所述分类标记对所述前传报文进行标记。
在本公开中,可以利用Redefine ID来对前传报文进行标记,不同业务类型的Redefine ID的取值不同。
为了能够恢复多个前传报文的业务数据所携带的业务信息,除了处理当前接收到的前传报文中的业务之外,还需要确定接收到的前 传报文在周期性发送的多个前传报文中的顺序,相应地,如图8中所示,所述前传报文处理方法还可以包括:
步骤S160中,根据所述前传报文的类型确定序列字段在所述前传报文中的位置;以及
步骤S170,根据所述序列字段在所述前传报文中的位置,提取并确定所述序列字段携带的信息,以及根据所述序列字段携带的信息确定发送所述前传报文的顺序。
对于接收端的前传接口对应的通信设备而言,在接收到多个完成封装的前传报文后,需要提取各个前传报文中的业务数据,然后按照顺序对业务数据进行恢复,得到相应的业务信息。
对于基于eCPRI协议的前传报文而言,序列字段为SEQ_ID;对于基于RoE协议的前传报文而言,序列字段为orderinginfo。
序列字段有两种表述形式:第一种,一定定时周期(例如,10ms)与时间刻度相关的定时标识;第二种,一定定时周期(例如,10ms)内的包递增编号。前传接口中的报文按照一定的周期发送,因此,上述两种表述形式是可以互相转换的。具体转换公式如下:
每包序号*发包周期=每包定时刻度。
在本公开中,可以根据序列字段的具体信息计算当前接收到的前传报文的顺序。
作为本公开的第二个方面,提供一种前传报文处理装置,如图9所示,所述前传报文处理装置包括:
类型关键字确定模块910,该类型关键字确定模块910配置为根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字;
报文类型确定模块920,该报文类型确定模块920配置为根据所述类型关键字确定所述前传报文的类型;
位置确定模块930,该位置确定模块930配置为根据所述前传报文的类型确定所述前传报文携带的业务数据在所述前传报文中的位置;以及
业务数据处理模块940,该业务数据处理模块940配置为根据所 述业务数据的位置提取并处理所述业务数据。
所述前传报文处理装置用于执行本公开第一个方面所提供的前传报文处理方法,上文中已经对所述前传报文处理方法的具体工作原理和有益效果进行了详细说明,这里不再赘述。
作为本公开的第三个方面,提供一种前传接口,如图10所示,所述前传接口包括:
一个或多个处理器101;
存储器102,其上存储有一个或多个计算机程序,所述一个或多个计算机程序被所述一个或多个处理器101执行时,使得所述一个或多个处理器101实现根据本公开第一个方面所提供的前传报文处理方法;以及
一个或多个输入/输出(I/O)接口103,连接在所述处理器101与所述存储器102之间,配置为实现所述处理器101与所述存储器102之间的信息交互。
处理器101为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器102为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(即读写接口)103连接在处理器101与存储器102之间,能实现处理器101与存储器102之间的信息交互,其包括但不限于数据总线(Bus)等。
在一些实施方式中,处理器101、存储器102和I/O接口103通过总线104相互连接,进而与计算设备的其它组件连接。
作为本公开的第四个方面,提供一种通信设备,该通信设备包括本公开第三个方面所提供的前传接口。
在一些实施方式中,所述通信设备为基带处理单元BBU、有源天线处理单元AAU、射频拉延单元RRU中的一者。
在一些实施方式中,BBU、AAU、RRU上均设置有上述前传接口。这样,在BBU、AAU、RRU中的任意一者用作接收方时,均可以按照本公开第一个方面所提供的前传报文处理方法来处理前传报文。
作为本公开的第五个方面,如图11所示,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开第一个方面所提供的前传报文处理方法。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器(如中央处理器、数字信号处理器或微处理器)执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存、CD-ROM、数字多功能盘(DVD)、磁盒、磁带、磁盘、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则与特定实施例相结合描述的特征、特性和/或元素可单独使用,或可与结合其它实施例描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。

Claims (10)

  1. 一种前传报文处理方法,包括:
    根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字;
    根据所述类型关键字确定所述前传报文的类型;
    根据所述前传报文的类型确定所述前传报文携带的业务数据在所述前传报文中的位置;以及
    根据所述业务数据的位置提取并处理所述业务数据。
  2. 根据权利要求1所述前传报文处理方法,其中,所述根据所述前传报文的类型确定所述前传报文携带的业务数据的位置,包括:
    根据所述前传报文的类型确定所述前传报文的各级分类字段在所述前传报文中的位置、以及所述前传报文的长度字段在所述前传报文中的位置;
    根据所述前传报文的各级分类字段在所述前传报文中的位置、以及所述前传报文的长度字段在所述前传报文中的位置,提取并确定所述前传报文的各级分类字段携带的信息、以及所述前传报文的长度字段携带的信息;以及
    根据所述前传报文的各级分类字段携带的信息、以及所述前传报文的长度字段携带的信息确定所述业务数据的位置。
  3. 根据权利要求2所述的前传报文处理方法,还包括:
    根据所述分类字段对所述前传报文进行业务分类。
  4. 根据权利要求3所述的前传报文处理方法,其中,所述根据所述分类字段对所述前传报文进行分类,包括:
    根据预设的映射关系确定与所述分类字段对应的分类标记,其中,所述预设的映射关系表征所述分类字段与分类标记之间的映射关系;以及
    利用所述分类标记对所述前传报文进行标记。
  5. 根据权利要求1至4中任意一项所述的前传报文处理方法,其中,当传输所述前传报文的传输层的类型为MAC层时,在所述根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字的步骤中,将所述前传报文的以太类型ETHtype字段确定为所述前传报文的类型关键字;
    当传输所述前传报文的传输层的类型为IPV4层时,在所述根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字的步骤中,将所述前传报文的协议Protocol字段确定为所述前传报文的类型关键字。
  6. 根据权利要求1至4中任意一项所述的前传报文处理方法,还包括:
    根据所述前传报文的类型确定序列字段在所述前传报文中的位置;以及
    根据所述序列字段在所述前传报文中的位置,提取并确定所述序列字段携带的信息,以及根据所述序列字段携带的信息确定发送所述前传报文的顺序。
  7. 一种前传报文处理装置,包括:
    类型关键字确定模块,配置为根据传输所述前传报文的传输层的类型确定所述前传报文的类型关键字;
    报文类型确定模块,配置为根据所述类型关键字确定所述前传报文的类型;
    位置确定模块,配置为根据所述前传报文的类型确定所述前传报文携带的业务数据在所述前传报文中的位置;以及
    业务数据处理模块,配置为根据所述业务数据的位置提取并处理所述业务数据。
  8. 一种前传接口,包括:
    一个或多个处理器;
    存储器,其上存储有一个或多个计算机程序,所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现根据权利要求1至6中任意一项所述的前传报文处理方法;以及
    一个或多个输入/输出(I/O)接口,连接在所述处理器与所述存储器之间,配置为实现所述处理器与所述存储器之间的信息交互。
  9. 一种通信设备,该通信设备包括权利要求8所述的前传接口。
  10. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至6中任意一项所述的前传报文处理方法。
PCT/CN2022/081385 2021-08-26 2022-03-17 前传报文处理方法及装置、前传接口、通信设备、计算机可读存储介质 WO2023024494A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020247003900A KR20240027822A (ko) 2021-08-26 2022-03-17 포워드 메시지 처리 방법 및 장치, 포워드 인터페이스, 통신 장치, 컴퓨터 판독 가능한 저장 매체
EP22859849.6A EP4395402A1 (en) 2021-08-26 2022-03-17 Forward message processing method and apparatus, forward interface, communication device, and computer-readable storage medium
JP2024507032A JP2024530485A (ja) 2021-08-26 2022-03-17 フォワードメッセージ処理方法及び装置、フォワードインターフェース、通信デバイス、及びコンピュータ可読記憶媒体

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110987481.X 2021-08-26
CN202110987481.XA CN115733891A (zh) 2021-08-26 2021-08-26 前传报文处理方法及装置、前传接口、通信设备、介质

Publications (1)

Publication Number Publication Date
WO2023024494A1 true WO2023024494A1 (zh) 2023-03-02

Family

ID=85289953

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081385 WO2023024494A1 (zh) 2021-08-26 2022-03-17 前传报文处理方法及装置、前传接口、通信设备、计算机可读存储介质

Country Status (5)

Country Link
EP (1) EP4395402A1 (zh)
JP (1) JP2024530485A (zh)
KR (1) KR20240027822A (zh)
CN (1) CN115733891A (zh)
WO (1) WO2023024494A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016165421A1 (zh) * 2015-09-21 2016-10-20 中兴通讯股份有限公司 不同接口协议报文转化处理的方法和装置
CN106487670A (zh) * 2016-10-14 2017-03-08 深圳三星通信技术研究有限公司 一种cpri网关设备及基站前传网络系统
CN110381054A (zh) * 2019-07-16 2019-10-25 广东省新一代通信与网络创新研究院 报文解析方法、装置、设备及计算机可读存储介质
CN111212446A (zh) * 2019-12-31 2020-05-29 京信通信系统(中国)有限公司 数据处理方法、装置、计算机设备和存储介质
CN111740939A (zh) * 2019-08-07 2020-10-02 北京京东尚科信息技术有限公司 报文传输装置、设备、方法及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016165421A1 (zh) * 2015-09-21 2016-10-20 中兴通讯股份有限公司 不同接口协议报文转化处理的方法和装置
CN106487670A (zh) * 2016-10-14 2017-03-08 深圳三星通信技术研究有限公司 一种cpri网关设备及基站前传网络系统
CN110381054A (zh) * 2019-07-16 2019-10-25 广东省新一代通信与网络创新研究院 报文解析方法、装置、设备及计算机可读存储介质
CN111740939A (zh) * 2019-08-07 2020-10-02 北京京东尚科信息技术有限公司 报文传输装置、设备、方法及存储介质
CN111212446A (zh) * 2019-12-31 2020-05-29 京信通信系统(中国)有限公司 数据处理方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
KR20240027822A (ko) 2024-03-04
JP2024530485A (ja) 2024-08-21
CN115733891A (zh) 2023-03-03
EP4395402A1 (en) 2024-07-03

Similar Documents

Publication Publication Date Title
US20200358886A1 (en) Data Transmission Method, Apparatus, And System
WO2021244219A1 (zh) 报文转发方法、装置、设备及存储介质
JP2021500802A (ja) 第1のパケットアプリケーション分類のためのシステムおよび方法
WO2016191990A1 (zh) 一种报文转换方法及装置
WO2022022229A1 (zh) 一种处理报文的方法及装置
WO2021233327A1 (zh) 报文处理方法及装置、通告方法及装置、网桥节点、源设备、存储介质及报文处理系统
CN108605291A (zh) 一种发送和接收wur帧的方法及设备
WO2021017930A1 (zh) 报文转发
WO2014180297A1 (zh) 报文处理方法和装置
WO2019223795A1 (zh) 报文传输方法、通信装置和系统
WO2023124407A1 (zh) 一种数据传输方法、通信装置及通信系统
CN112866206A (zh) 一种单向数据传输方法及装置
WO2022042351A1 (zh) 接口数据的处理方法、发送端设备和接收端设备
WO2021087912A1 (zh) 激活或去激活探测信号资源的方法和装置
WO2023024494A1 (zh) 前传报文处理方法及装置、前传接口、通信设备、计算机可读存储介质
US20150334015A1 (en) Method and apparatus for handling messages
WO2023124411A1 (zh) 数据传输方法以及通信装置
CN114556894A (zh) 用于分组转发控制协议消息捆绑的方法、装置和计算机程序产品
CN110545556B (zh) 一种mac ce、信息发送方法、接收方法及通信设备
CN109661854A (zh) 无线网络中传输信令的方法和装置
CN113162911B (zh) 基于sdn网络控制器的多协议兼容的数据交互方法及装置
WO2022087913A1 (zh) 通信方法和通信设备
CN109379342B (zh) 基于udp网络协议的上位机与dsp数据传输方法
JP2019114947A (ja) 通信装置、通信装置の制御方法およびプログラム
EP3913865A1 (en) Message decapsulation method and device, message encapsulation method and device, electronic device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22859849

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20247003900

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020247003900

Country of ref document: KR

ENP Entry into the national phase

Ref document number: 2024507032

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2022859849

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022859849

Country of ref document: EP

Effective date: 20240326