WO2021227517A1 - Indoor distributed system, data transmission method, and storage medium - Google Patents

Indoor distributed system, data transmission method, and storage medium Download PDF

Info

Publication number
WO2021227517A1
WO2021227517A1 PCT/CN2020/140294 CN2020140294W WO2021227517A1 WO 2021227517 A1 WO2021227517 A1 WO 2021227517A1 CN 2020140294 W CN2020140294 W CN 2020140294W WO 2021227517 A1 WO2021227517 A1 WO 2021227517A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
data
bbu
downlink
uplink
Prior art date
Application number
PCT/CN2020/140294
Other languages
French (fr)
Chinese (zh)
Inventor
曾宪平
叶祖铨
李玉秀
Original Assignee
京信网络系统股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京信网络系统股份有限公司 filed Critical 京信网络系统股份有限公司
Publication of WO2021227517A1 publication Critical patent/WO2021227517A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • H04W16/20Network planning tools for indoor coverage or short range network deployment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

The present application relates to an indoor distributed system, a data transmission method, and a storage medium. The indoor distributed system comprises: a BBU unit, a protocol conversion (CB) unit, an extension unit, and a remote unit, wherein the CB unit is in communication connection with the BBU unit and the extension unit respectively; the extension unit is in communication connection with the remote unit; the CB unit is used to respectively perform protocol conversion on data received from the extension unit and the BBU unit, and to send timing information to the BBU unit, wherein the timing information is used to instruct the BBU unit to send downlink data or receive uplink data; and the BBU unit is used to perform data communication with the CB unit according to the timing information and the data subjected to protocol conversion. The indoor distributed system can reduce the cost of the BBU unit, and meet different function requirements of users for the BBU unit.

Description

室内分布式系统、数据传输方法和存储介质Indoor distributed system, data transmission method and storage medium 技术领域Technical field
本申请涉及通信技术领域,特别是涉及一种室内分布式系统、数据传输方法和存储介质。This application relates to the field of communication technology, and in particular to an indoor distributed system, a data transmission method, and a storage medium.
背景技术Background technique
随着移动用户的飞速增加以及高层建筑越来越多,话务密度和覆盖要求也不断上升,这些高层建筑物规模大,无线通信的无线电信号在其间受到阻挡而衰减,在这样的高层建筑中很难进行正常的通信。在大型建筑物的低层、地下商场、地下停车场等环境下通常都是盲区。室内分布式系统可以利用室内天线分布系统将移动基站的信号均匀分布在室内每个角落,从而保证室内区域拥有理想的信号覆盖,较好地改善了建筑物内移动通信环境。With the rapid increase of mobile users and more and more high-rise buildings, the traffic density and coverage requirements are also rising. These high-rise buildings are large in scale, and the radio signals of wireless communication are blocked and attenuated in the middle of such high-rise buildings. It is difficult to communicate normally. In the low-rise buildings of large buildings, underground shopping malls, underground parking lots and other environments, there are usually blind areas. The indoor distributed system can use the indoor antenna distribution system to evenly distribute the signal of the mobile base station in every corner of the room, so as to ensure that the indoor area has an ideal signal coverage and better improve the mobile communication environment in the building.
传统技术中,室内分布式系统中的室内基带处理单元(Building Base band Unite,BBU)一般采用专用数字基带芯片,并利用专用的数字基带芯片实现对上行数据和下行数据的协议转换、接收上行数据和发送下行数据等。In traditional technology, the indoor baseband processing unit (Building Baseband Unite, BBU) in the indoor distributed system generally uses a dedicated digital baseband chip, and uses the dedicated digital baseband chip to implement protocol conversion of uplink data and downlink data, and receive uplink data And sending downlink data, etc.
但是,传统技术中利用专用数字基带芯片的BBU单元,通常提供的厂家单一且价格较高,大大增加了BBU单元的成本;且专用数字基带芯片为软硬件耦合在一起的芯片,实现功能较为局限,导致用户选择也较为局限。However, traditional BBU units using dedicated digital baseband chips usually provide a single manufacturer and a higher price, which greatly increases the cost of the BBU unit; and dedicated digital baseband chips are chips coupled with software and hardware, which have limited functions. , Resulting in more limited user choices.
发明内容Summary of the invention
基于此,有必要针对传统技术的利用专用数字基带芯片的BBU单元,通常提供的厂家单一且价格较高,大大增加了BBU单元的成本;且专用数字基带芯 片为软硬件耦合在一起的芯片,实现功能较为局限,导致用户选择也较为局限问题,提供一种室内分布式系统、数据传输方法和存储介质。Based on this, it is necessary to use a dedicated digital baseband chip for the traditional technology of the BBU unit, usually a single manufacturer and higher price, which greatly increases the cost of the BBU unit; and the dedicated digital baseband chip is a chip in which software and hardware are coupled together. The realization function is relatively limited, which leads to the problem of relatively limited user choices. An indoor distributed system, data transmission method and storage medium are provided.
第一方面,本申请实施例提供一种室内分布式系统,该室内分布式系统包括:BBU单元、协议转换CB单元、扩展单元和远端单元,CB单元分别与BBU单元和扩展单元通信连接,扩展单元与远端单元通信连接;In the first aspect, an embodiment of the present application provides an indoor distributed system. The indoor distributed system includes: a BBU unit, a protocol conversion CB unit, an expansion unit, and a remote unit. The CB unit is in communication connection with the BBU unit and the expansion unit, respectively, The expansion unit communicates with the remote unit;
CB单元,用于对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;The CB unit is used to perform protocol conversion on the data received from the extension unit and the BBU unit respectively, and to send timing information to the BBU unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data;
BBU单元,用于根据定时信息以及协议转换后的数据与CB单元进行数据通信。The BBU unit is used for data communication with the CB unit according to the timing information and the data after the protocol conversion.
第二方面,本申请实施例提供一种数据传输方法,该数据传输方法包括:In a second aspect, an embodiment of the present application provides a data transmission method, and the data transmission method includes:
BBU单元接收CB单元发送的定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;CB单元还用于对从扩展单元和BBU单元接收到的数据分别进行协议转换;The BBU unit receives the timing information sent by the CB unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data; the CB unit is also used to perform protocol conversion on the data received from the extension unit and the BBU unit respectively;
BBU单元根据定时信息向CB单元发送下行IQ数据,或者,根据定时信息接收CB单元发送的协议转换之后的上行IQ数据。The BBU unit sends the downlink IQ data to the CB unit according to the timing information, or receives the uplink IQ data after the protocol conversion sent by the CB unit according to the timing information.
第三方面,本申请实施例提供一种数据传输方法,该数据传输方法包括:In a third aspect, an embodiment of the present application provides a data transmission method, and the data transmission method includes:
CB单元对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;The CB unit performs protocol conversion on the data received from the extension unit and the BBU unit respectively, and sends timing information to the BBU unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data;
CB单元基于协议转换后的数据分别与扩展单元和BBU单元进行数据通信。The CB unit performs data communication with the expansion unit and the BBU unit respectively based on the data after the protocol conversion.
第四方面,本申请实施例提供一种可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如下步骤:In a fourth aspect, an embodiment of the present application provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
BBU单元接收CB单元发送的定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;CB单元还用于对从扩展单元和BBU单元接收到的数据分别进行协议转换;The BBU unit receives the timing information sent by the CB unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data; the CB unit is also used to perform protocol conversion on the data received from the extension unit and the BBU unit respectively;
BBU单元根据定时信息向CB单元发送下行IQ数据,或者,根据定时信息接收CB单元发送的协议转换之后的上行IQ数据。The BBU unit sends the downlink IQ data to the CB unit according to the timing information, or receives the uplink IQ data after the protocol conversion sent by the CB unit according to the timing information.
第五方面,本申请实施例提供一种可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如下步骤:In a fifth aspect, an embodiment of the present application provides a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
CB单元对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;The CB unit performs protocol conversion on the data received from the extension unit and the BBU unit respectively, and sends timing information to the BBU unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data;
CB单元基于协议转换后的数据分别与扩展单元和BBU单元进行数据通信。The CB unit performs data communication with the expansion unit and the BBU unit respectively based on the data after the protocol conversion.
本实施例提供的室内分布式系统、数据传输方法和存储介质,该室内分布式系统包括BBU单元、协议转换CB单元、扩展单元和远端单元,其中,CB单元分别与BBU单元和扩展单元通信连接,扩展单元与远端单元通信连接;CB单元可以用于对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;对应的,BBU单元,用于根据定时信息以及协议转换后的数据与CB单元进行数据通信。本实施例中,CB单元可以对从扩展单元和BBU单元接收到的数据分别进行协议转换,BBU单元无需对接收的上行数据或发送的下行数据进行协议转换,只需根据定时信息以及协议转换后的数据向CB单元发送数据或从CB单元接收数据,因此,BBU单元不需要专用的数字基带芯片实现BBU单元的各个功能,大大降低了BBU单元的成本;另外,BBU单元可以接收用户安装的实现不同功能的软件,且各个软件之间可以实现解耦,并且各个软件与BBU单元的处理器也可以实现软硬件解耦,为用户提供更多的选择,满足用户对BBU 单元的不同功能需求。The indoor distributed system, data transmission method, and storage medium provided by this embodiment. The indoor distributed system includes a BBU unit, a protocol conversion CB unit, an expansion unit, and a remote unit, wherein the CB unit communicates with the BBU unit and the expansion unit respectively Connection, the expansion unit communicates with the remote unit; the CB unit can be used to perform protocol conversion on the data received from the expansion unit and the BBU unit, and to send timing information to the BBU unit; correspondingly, the BBU unit is used for timing The information and the data after the protocol conversion are communicated with the CB unit. In this embodiment, the CB unit can perform protocol conversion on the data received from the extension unit and the BBU unit respectively. The BBU unit does not need to perform protocol conversion on the received uplink data or the transmitted downlink data. It only needs to perform protocol conversion on the basis of timing information and protocol conversion. The data sent to the CB unit or received data from the CB unit, therefore, the BBU unit does not need a dedicated digital baseband chip to realize the various functions of the BBU unit, which greatly reduces the cost of the BBU unit; in addition, the BBU unit can receive the implementation of the user installation Software with different functions, and each software can be decoupled, and each software and the processor of the BBU unit can also be decoupled from software and hardware, providing users with more choices and meeting users' different functional requirements for the BBU unit.
附图说明Description of the drawings
图1为一个实施例提供的室内分布式系统结构示意图;FIG. 1 is a schematic diagram of the structure of an indoor distributed system provided by an embodiment;
图2为一个实施例提供的BBU单元的内部结构示意图;2 is a schematic diagram of the internal structure of a BBU unit provided by an embodiment;
图3为一个实施例提供的数据传输方法流程示意图;FIG. 3 is a schematic flowchart of a data transmission method provided by an embodiment;
图4为另一个实施例提供的数据传输方法流程示意图;4 is a schematic flowchart of a data transmission method provided by another embodiment;
图5为另一个实施例提供的数据传输方法流程示意图。Fig. 5 is a schematic flowchart of a data transmission method provided by another embodiment.
具体实施方式Detailed ways
本申请实施例提供的数据传输方法可以应用于如图1所示的室内分布式系统,该室内分布式系统包括BBU单元101、协议转换(Converter Box,CB)单元102、扩展单元103和远端单元104,CB单元102分别与BBU单元101和扩展单元103可以通过光纤或网线通信连接,扩展单元103与远端单元104可以通过光纤或网线通信连接。可选的,CB单元102可以连接多个扩展单元103,比如CB单元102连接四个扩展单元103,每个扩展单元103可以连接多个远端单元104,比如,每个扩展单元103可以连接八个远端单元104。在上行链路中,远端单元104可以接收用户终端发送的上行数据,并将接收的上行数据转换为用户平台信息所用的同相和正交调制下的同相正交(In-phase Quadrature,IQ)数据,然后将得到的上行IQ数据发送至扩展单元103,扩展单元103将从远端单元104接收的上行IQ数据进行合路后发送至CB单元102,从远端单元104传输至CB单元102的数据均为CPRI协议的上行IQ数据,传输至CB单元102后,CB单元102可以将CPRI协议的上行IQ数据转换为eCPRI协议的上行IQ数据并 发送至BBU单元101。在下行链路中,BBU单元101将待发送的为eCPRI协议的下行IQ数据发送至CB单元102,CB单元102将eCPRI协议的下行IQ数据转换为CPRI协议的下行IQ数据并发送至扩展单元103,扩展单元103将从CB单元102接收的下行IQ数据广播至各个远端单元104。The data transmission method provided by the embodiments of the present application can be applied to the indoor distributed system as shown in FIG. 1. The indoor distributed system includes a BBU unit 101, a protocol conversion (Converter Box, CB) unit 102, an expansion unit 103, and a remote The unit 104, the CB unit 102 and the BBU unit 101 and the expansion unit 103 may be communicatively connected by optical fiber or network cable, and the expansion unit 103 and the remote unit 104 may be communicatively connected by optical fiber or network cable. Optionally, the CB unit 102 can be connected to multiple extension units 103. For example, the CB unit 102 can be connected to four extension units 103, and each extension unit 103 can be connected to multiple remote units 104. For example, each extension unit 103 can be connected to eight extension units. A remote unit 104. In the uplink, the remote unit 104 can receive the uplink data sent by the user terminal, and convert the received uplink data into in-phase quadrature (IQ) under in-phase and quadrature modulation used for user platform information. Data, and then send the obtained uplink IQ data to the extension unit 103. The extension unit 103 combines the uplink IQ data received from the remote unit 104 and sends it to the CB unit 102, and then transmits it from the remote unit 104 to the CB unit 102. The data are all uplink IQ data of the CPRI protocol. After being transmitted to the CB unit 102, the CB unit 102 can convert the uplink IQ data of the CPRI protocol into the uplink IQ data of the eCPRI protocol and send it to the BBU unit 101. In the downlink, the BBU unit 101 sends the downlink IQ data of the eCPRI protocol to be sent to the CB unit 102, and the CB unit 102 converts the downlink IQ data of the eCPRI protocol into the downlink IQ data of the CPRI protocol and sends it to the extension unit 103 , The extension unit 103 broadcasts the downlink IQ data received from the CB unit 102 to each remote unit 104.
在一个实施例中,提供了一种室内分布式系统,如图1所示,该系统可以包括BBU单元、协议转换CB单元、扩展单元和远端单元,CB单元分别与BBU单元和扩展单元通信连接,扩展单元与远端单元通信连接;CB单元,用于对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;CB单元还用于根据接收到的BBU单元发送的监控指令与BBU单元进行通信;定时信息用于指示BBU单元发送下行数据或接收上行数据;向BBU单元发送目标数据;目标数据包括定时数据和IQ数据,IQ数据为CB单元转换后得到的eCPRI协议的数据;BBU单元,用于根据定时信息以及协议转换后的数据与CB单元进行数据通信;还用于向CB单元发送监控指令。In one embodiment, an indoor distributed system is provided. As shown in Figure 1, the system may include a BBU unit, a protocol conversion CB unit, an extension unit, and a remote unit. The CB unit communicates with the BBU unit and the extension unit, respectively. Connection, the expansion unit communicates with the remote unit; the CB unit is used to perform protocol conversion on the data received from the expansion unit and the BBU unit, and to send timing information to the BBU unit; the CB unit is also used to The monitoring instruction sent by the unit communicates with the BBU unit; timing information is used to instruct the BBU unit to send downlink data or receive uplink data; send target data to the BBU unit; target data includes timing data and IQ data, and IQ data is obtained after CB unit conversion The BBU unit is used to communicate with the CB unit according to the timing information and the data after the protocol conversion; it is also used to send monitoring instructions to the CB unit.
具体的,CB单元从扩展单元接收到的数据为CPRI协议的上行IQ数据,CB单元从BBU接收的数据为eCPRI协议的下行IQ数据。CB单元可以用于对从扩展单元和BBU单元接收到的数据分别进行协议转换,比如,CB单元可以将从扩展单元接收到的CPRI协议的上行IQ数据,转换为eCPRI协议的上行IQ数据并发送至BBU单元,还可以将从BBU单元接收到的eCPRI协议的下行IQ数据转换为CPRI协议的下行IQ数据,并发送至扩展单元。进一步的,扩展单元可以从远端单元接收上行IQ数据,或向远端单元发送下行IQ数据。Specifically, the data received by the CB unit from the extension unit is the uplink IQ data of the CPRI protocol, and the data received by the CB unit from the BBU is the downlink IQ data of the eCPRI protocol. The CB unit can be used to perform protocol conversion on the data received from the extension unit and the BBU unit. For example, the CB unit can convert the uplink IQ data of the CPRI protocol received from the extension unit into the uplink IQ data of the eCPRI protocol and send it To the BBU unit, the downlink IQ data of the eCPRI protocol received from the BBU unit can also be converted into the downlink IQ data of the CPRI protocol, and sent to the extension unit. Further, the extension unit can receive uplink IQ data from the remote unit or send downlink IQ data to the remote unit.
CB单元还可以向BBU单元发送定时信息,该定时信息可以用于指示BBU单元发送下行数据或接收上行数据。可选的,CB单元可以周期性地向BBU单元发送定时信息。CB单元还可以向BBU单元发送协议转换后的上行数据。The CB unit may also send timing information to the BBU unit, and the timing information may be used to instruct the BBU unit to send downlink data or receive uplink data. Optionally, the CB unit may periodically send timing information to the BBU unit. The CB unit can also send the upstream data after protocol conversion to the BBU unit.
BBU单元可以根据CB单元发送的定时信息,从CB单元接收上行数据,或向CB单元发送下行数据。可选的,BBU单元可以为计算机设备,该计算机设备可以为X86服务器、平板电脑、台式机、个人数字助理等,本实施例对计算机设备的具体形式并不做限定。可选的,BBU单元可以接收用户安装的操作维护功能(Operation Administration and Maintenance,OAM)软件、BBU单元的驱动软件等,以实现BBU单元的各项功能如LTE空口协议栈、操作维护功能和物理层功能等。可选的,BBU单元上安装的各个软件之间可以实现解耦,BBU单元上安装的各个软件也可以与BBU单元上的处理器实现软硬件解耦,以为用户提供更多的选择,满足用户对BBU单元的不同功能需求。The BBU unit can receive uplink data from the CB unit or send downlink data to the CB unit according to the timing information sent by the CB unit. Optionally, the BBU unit may be a computer device, and the computer device may be an X86 server, a tablet computer, a desktop computer, a personal digital assistant, etc. The specific form of the computer device is not limited in this embodiment. Optionally, the BBU unit can receive user-installed operation and maintenance (Operation Administration and Maintenance, OAM) software, BBU unit driver software, etc., to implement various functions of the BBU unit, such as LTE air interface protocol stack, operation and maintenance functions, and physical Layer functions, etc. Optionally, the software installed on the BBU unit can be decoupled, and the software installed on the BBU unit can also be decoupled from the processor on the BBU unit to provide users with more choices and satisfy users. Different functional requirements for BBU units.
本实施例提供的室内分布式系统,包括BBU单元、协议转换CB单元、扩展单元和远端单元,其中,CB单元分别与BBU单元和扩展单元通信连接,扩展单元与远端单元通信连接;CB单元可以用于对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;对应的,BBU单元,用于根据定时信息以及协议转换后的数据与CB单元进行数据通信。本实施例中,CB单元可以对从扩展单元和BBU单元接收到的数据分别进行协议转换,BBU单元无需对接收的上行数据或发送的下行数据进行协议转换,只需根据定时信息以及协议转换后的数据向CB单元发送数据或从CB单元接收数据,因此,BBU单元不需要专用的数字基带芯片实现BBU单元的各个功能,大大降低了BBU单元的成本;另外,BBU单元可以接收用户安装的实现不同功能的软件,且各个软件之间可以实现解耦,并且各个软件与BBU单元的处理器也可以实现软硬件解耦,为用户提供更多的选择,满足用户对BBU单元的不同功能需求。The indoor distributed system provided by this embodiment includes a BBU unit, a protocol conversion CB unit, an expansion unit, and a remote unit. The CB unit is respectively connected to the BBU unit and the expansion unit in communication, and the expansion unit is in communication connection with the remote unit; CB The unit can be used to perform protocol conversion on the data received from the extension unit and the BBU unit respectively, and send timing information to the BBU unit; correspondingly, the BBU unit is used to perform data with the CB unit according to the timing information and the data after the protocol conversion. Communication. In this embodiment, the CB unit can perform protocol conversion on the data received from the extension unit and the BBU unit respectively. The BBU unit does not need to perform protocol conversion on the received uplink data or the transmitted downlink data. It only needs to perform protocol conversion on the basis of timing information and protocol conversion. The data sent to the CB unit or received data from the CB unit, therefore, the BBU unit does not need a dedicated digital baseband chip to realize the various functions of the BBU unit, which greatly reduces the cost of the BBU unit; in addition, the BBU unit can receive the implementation of the user installation Software with different functions, and each software can be decoupled, and each software and the processor of the BBU unit can also achieve software and hardware decoupling, providing users with more choices and meeting users' different functional requirements for the BBU unit.
图2为另一个实施例提供的室内分布式系统结构示意图。在上述图1所示实施例的基础上,上述BBU单元可以包括直接内存存取(Direct Memory Access, DMA)控制单元、数据平面开发套件(Date Plane Development Kit,DPDK)网卡和CPU;DMA控制单元与DPDK网卡连接,CPU分别与DMA控制单元和DPDK网卡连接。Fig. 2 is a schematic structural diagram of an indoor distributed system provided by another embodiment. On the basis of the embodiment shown in FIG. 1, the above-mentioned BBU unit may include a direct memory access (Direct Memory Access, DMA) control unit, a data plane development kit (Date Plane Development Kit, DPDK) network card and a CPU; a DMA control unit It is connected with the DPDK network card, and the CPU is respectively connected with the DMA control unit and the DPDK network card.
本实施例中,DMA控制单元、DPDK网卡和CPU所需的数据均可以存储在BBU的内存中,且CPU可以利用对应的应用程序接口(Application Programming Interface,API)调用DMA控制单元或DPDK网卡执行下述实施例所示的操作。以下根据在上行链路和下行链路中传输IQ数据时,分别描述上述DMA控制单元、DPDK网卡和CPU所需执行的操作。In this embodiment, the data required by the DMA control unit, DPDK network card, and CPU can all be stored in the memory of the BBU, and the CPU can use the corresponding Application Programming Interface (API) to call the DMA control unit or DPDK network card to execute The operation shown in the following examples. The following describes the operations that the DMA control unit, DPDK network card, and CPU need to perform respectively according to the transmission of IQ data in the uplink and the downlink.
(一)在下行链路中传输下行IQ数据时(1) When transmitting downlink IQ data in the downlink
在上述实施例的基础上,上述定时信息为CB单元在第N时刻发送的第一中断消息;第一中断消息携带第一目标子帧标识;上述BBU单元,用于在第一目标子帧标识对应的下行子帧上,向CB单元发送下行IQ数据,并将BBU单元的内存空间中第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间。On the basis of the above embodiment, the above timing information is the first interrupt message sent by the CB unit at the Nth time; the first interrupt message carries the first target subframe identifier; the above BBU unit is used to identify the first target subframe On the corresponding downlink subframe, the downlink IQ data is sent to the CB unit, and the downlink IQ data to be sent at time N+1 in the memory space of the BBU unit is stored in the buffer space of the BBU unit.
本实施例中,上述第一中断消息中携带第一目标子帧标识,该第一目标子帧标识可以包括数值、文字和英文字母中的至少一种,比如第一目标子帧标识可以为SF0或SF1等。进一步的,第一中断消息还用于触发BBU单元发送下行IQ数据。当第一目标子帧标识对应下行子帧或下行特殊子帧时,BBU单元可以向CB单元发送下行IQ数据,同时,BBU单元还可以执行底层软件,以将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,利用底层软件将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,不会影响下行IQ数据的发送,也即,发送下行IQ数据和存储下一时刻待发送的下行IQ数据是利用不同层的软件执行的,二者不会相互影响,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存 空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,可以方便BBU单元在需要发送待下行IQ数据时,可以快速的从BBU单元的缓存空间读取待发送下行IQ数据,提高待发送下行IQ数据的发送效率,以提高通信的实时性要求。需要说明的是,BBU单元在第N时刻发送的下行IQ数据为第N-1时刻时,BBU单元存储至BBU单元的缓存空间的数据。In this embodiment, the foregoing first interrupt message carries a first target subframe identifier, and the first target subframe identifier may include at least one of a numeric value, a text, and an English letter. For example, the first target subframe identifier may be SF. Or SF1 etc. Further, the first interrupt message is also used to trigger the BBU unit to send downlink IQ data. When the first target subframe identifier corresponds to a downlink subframe or a downlink special subframe, the BBU unit can send downlink IQ data to the CB unit. At the same time, the BBU unit can also execute the underlying software to change the Nth in the memory space of the BBU unit. The downlink IQ data to be sent at time +1 is stored in the buffer space of the BBU unit, and the underlying software is used to store the downlink IQ data to be sent in the memory space of the BBU unit at time N+1 to the buffer space of the BBU unit without affecting The sending of downlink IQ data, that is, sending the downlink IQ data and storing the downlink IQ data to be sent at the next moment are executed by different layers of software, and the two will not affect each other, which improves the accuracy of data transmission; in addition, Using the underlying software to store the downstream IQ data to be sent in the memory space of the BBU unit at time N+1 into the buffer space of the BBU unit, it is convenient for the BBU unit to send the downstream IQ data to the BBU unit quickly. The buffer space reads the downlink IQ data to be sent, and improves the sending efficiency of the downlink IQ data to be sent, so as to improve the real-time requirements of communication. It should be noted that when the downlink IQ data sent by the BBU unit at the Nth time is the N-1th time, the BBU unit stores the data in the buffer space of the BBU unit.
可选的,上述第N时刻为第N个1PPS减去预设补偿时长后对应的时刻。进一步的,预设补偿时长为根据时延确定的时长,时延包括以下至少一种:BBU单元和CB单元之间传输IQ数据对应的网络包时产生的时延;IQ数据包括下行IQ数据和上行IQ数据;CB单元、扩展单元和远端单元分别对应的固有时延,CB单元和扩展单元之间的传输时延,扩展单元和远端单元之间的传输时延。可选的,预设补偿时长可以为135us。Optionally, the aforementioned Nth time is the corresponding time after the Nth 1PPS minus the preset compensation duration. Further, the preset compensation time length is a time length determined according to the time delay, and the time delay includes at least one of the following: the time delay generated when the network packet corresponding to the IQ data is transmitted between the BBU unit and the CB unit; the IQ data includes downlink IQ data and Uplink IQ data; the inherent delay corresponding to the CB unit, the extension unit and the remote unit, the transmission delay between the CB unit and the extension unit, and the transmission delay between the extension unit and the remote unit. Optionally, the preset compensation duration can be 135us.
可选的,上述DMA控制单元,用于根据第一目标子帧标识,确定第一目标子帧标识对应的下行IQ数据;并将BBU单元的缓存空间中的下行IQ数据写入DPDK网卡中的网卡队列;DPDK网卡,用于确定下行IQ数据的优先级;CPU,用于按照下行IQ数据的优先级确定下行IQ数据的发送顺序,并在下行IQ数据的发送顺序到达时发送下行IQ数据。Optionally, the above-mentioned DMA control unit is configured to determine the downlink IQ data corresponding to the first target subframe identifier according to the first target subframe identifier; and write the downstream IQ data in the buffer space of the BBU unit into the DPDK network card Network card queue; DPDK network card, used to determine the priority of the downlink IQ data; CPU, used to determine the sending order of the downlink IQ data according to the priority of the downlink IQ data, and send the downlink IQ data when the sending order of the downlink IQ data arrives.
本实施例中,BBU单元启动下行IQ数据的发送时,DMA控制单元可以自动将第一目标子帧标识对应的下行IQ数据,从BBU单元的缓存空间中写入数据平面开发套件(Data Plane Development Kit,DPDK)网卡中的网卡队列,以为BBU单元发送上述下行IQ数据做准备。DPDK网卡确定下行IQ数据的优先级后,可以使得CPU按照下行IQ数据的优先级确定下行IQ数据的发送顺序,并在下行IQ数据的发送顺序到达时发送下行IQ数据。可选的,下行IQ数据的优先级越高,发送顺序越靠前。In this embodiment, when the BBU unit initiates the transmission of downlink IQ data, the DMA control unit can automatically write the downlink IQ data corresponding to the first target subframe identifier from the buffer space of the BBU unit into the Data Plane Development Kit (Data Plane Development Kit). Kit, DPDK) The network card queue in the network card is prepared for the BBU unit to send the above-mentioned downlink IQ data. After the DPDK network card determines the priority of the downlink IQ data, it can make the CPU determine the sending order of the downlink IQ data according to the priority of the downlink IQ data, and send the downlink IQ data when the sending order of the downlink IQ data arrives. Optionally, the higher the priority of the downlink IQ data, the higher the sending order.
可选的,DPDK网卡可以根据下行IQ数据的VLAN标识,将下行IQ数据的VLAN标识对应的优先级确定为下行IQ数据的优先级,例如,下行IQ数据的VLAN标识为2,对应的优先级为中等优先级,则DPDK网卡可以确定下行IQ数据的优先级为中等优先级。可选的,CB单元发送的定时信息也具有优先级,DPDK网卡可以根据定时信息的VLAN标识确定时信息的优先级,例如,定时信息的VLAN标识为1,对应的优先级为最高优先级,则DPDK网卡可以确定定时消息的优先级为最高优先级。不同的数据有不同的优先级,可以方便BBU单元根据不同数据的优先级确定接收数据或发送的顺序,以及时接收或发送优先级较高的数据,提高通信的实时性要求。Optionally, the DPDK network card can determine the priority corresponding to the VLAN ID of the downlink IQ data as the priority of the downlink IQ data according to the VLAN ID of the downlink IQ data. For example, the VLAN ID of the downlink IQ data is 2, and the corresponding priority is If the priority is medium, the DPDK network card can determine the priority of the downlink IQ data as medium priority. Optionally, the timing information sent by the CB unit also has priority. The DPDK network card can determine the priority of the timing information according to the VLAN identifier of the timing information. For example, the VLAN identifier of the timing information is 1, and the corresponding priority is the highest priority. Then the DPDK network card can determine the priority of the timing message as the highest priority. Different data have different priorities, which can facilitate the BBU unit to determine the order of receiving or sending data according to the priorities of different data, and receive or send data with higher priority in a timely manner, which improves the real-time requirements of communication.
可选的,CB单元可以将接收的BBU单元发送的下行IQ数据发送至扩展单元,再由扩展单元广播至各个远端单元,以使得远端单元将接收的下行IQ数据转换为射频信息,通过天线发射到空中。Optionally, the CB unit can send the downlink IQ data sent by the received BBU unit to the extension unit, and then the extension unit broadcasts to each remote unit, so that the remote unit converts the received downlink IQ data into radio frequency information. The antenna is launched into the air.
(二)在上行链路中传输上行IQ数据时(2) When transmitting uplink IQ data in the uplink
在上述实施例的基础上,上述定时信息为CB单元在第M时刻发送的第二中断消息;第二中断消息携带第二目标子帧标识;CB单元,还用于在第M时刻之后向BBU单元发送第一上行IQ数据;BBU单元,用于接收CB单元发送的第一上行IQ数据,并将DPDK网卡的网卡队列中第二上行IQ数据存储至BBU单元的内存空间;第二上行IQ数据为BBU单元在第M-1时刻接收的CB单元发送的上行IQ数据。On the basis of the foregoing embodiment, the foregoing timing information is the second interrupt message sent by the CB unit at the M-th time; the second interrupt message carries the second target subframe identifier; the CB unit is also used to send the BBU to the BBU after the M-th time. The unit sends the first uplink IQ data; the BBU unit is used to receive the first uplink IQ data sent by the CB unit, and store the second uplink IQ data in the network card queue of the DPDK network card in the memory space of the BBU unit; the second uplink IQ data It is the uplink IQ data sent by the CB unit received by the BBU unit at time M-1.
本实施例中,上述第二中断消息中携带第二目标子帧标识,该第二目标子帧标识可以包括数值、文字和英文字母中的至少一种,比如第二目标子帧标识可以为SF0或SF1等。进一步的,第二中断消息还用于触发BBU单元接收上行IQ数据。当第二目标子帧标识对应上行子帧或上行特殊子帧时,BBU单元可以 从CB单元接收第一上行IQ数据,同时,BBU单元还可以执行底层软件,以将DPDK网卡的网卡队列中第二上行IQ数据存储至BBU单元的内存空间;其中,第二上行IQ数据为BBU单元在第M-1时刻接收的CB单元发送的上行IQ数据。In this embodiment, the foregoing second interrupt message carries a second target subframe identifier, and the second target subframe identifier may include at least one of a numeric value, a text, and an English letter. For example, the second target subframe identifier may be SF. Or SF1 etc. Further, the second interrupt message is also used to trigger the BBU unit to receive uplink IQ data. When the second target subframe identifier corresponds to an uplink subframe or an uplink special subframe, the BBU unit can receive the first uplink IQ data from the CB unit. At the same time, the BBU unit can also execute the underlying software to place the DPDK network card in the queue of the network card. The second uplink IQ data is stored in the memory space of the BBU unit; where the second uplink IQ data is the uplink IQ data sent by the CB unit received by the BBU unit at the M-1th time.
利用底层软件将BBU单元在第M-1时刻接收的CB单元发送的第二上行IQ数据,不会影响第一上行IQ数据的接收,也即,接收第一上行IQ数据和存储上一时刻接收的第二上行IQ数据是利用不同层的软件执行的,二者不会相互影响,避免了BBU单元存储数据与接收数据产生冲突,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存空间中的第M-1时刻的接收的上行IQ数据存储至BBU单元的内存空间,以完成对上行IQ数据的接收,这个同时接收第一上行IQ数据并存储第二上行IQ数据,可以提高上行IQ数据的接收效率,以提高通信的实时性要求。可选的,上述第M时刻为第M个1PPS加上预设补偿时长后对应的时刻。Use the underlying software to use the BBU unit to receive the second uplink IQ data sent by the CB unit at time M-1 without affecting the reception of the first uplink IQ data, that is, to receive the first uplink IQ data and store the last received IQ data The second uplink IQ data is executed by different layers of software, and the two will not affect each other, avoiding the conflict between the data stored in the BBU unit and the received data, and improving the accuracy of data transmission; in addition, the BBU unit is replaced by the underlying software. The received uplink IQ data at time M-1 in the memory space of the BBU is stored in the memory space of the BBU unit to complete the reception of the uplink IQ data. This simultaneously receives the first uplink IQ data and stores the second uplink IQ data. Improve the reception efficiency of uplink IQ data to improve the real-time requirements of communication. Optionally, the above-mentioned Mth time is the corresponding time after the Mth 1PPS plus the preset compensation duration.
BBU单元向CB单元发送下行IQ数据时,是提前预设补偿时长发送的,而在BBU单元接收CB单元发送的上行IQ数据时,是滞后预设补偿时长接收的,这是为了实现空口对齐,保证用户终端接收数据和发送数据的连续性。When the BBU unit sends the downlink IQ data to the CB unit, it is sent in advance with a preset compensation time, and when the BBU unit receives the uplink IQ data sent by the CB unit, it is received after the preset compensation time. This is to achieve air interface alignment. Ensure the continuity of data received and sent by the user terminal.
可选的,上述DPDK网卡,用于确定第一上行IQ数据的优先级,并按照第一上行IQ数据的优先级确定第一上行IQ数据的接收顺序,并在第一上行IQ数据的接收顺序到达时接收第一上行IQ数据;CPU,还用于将第二上行IQ数据写入BBU单元的缓存空间,并将BBU单元的缓存空间中的第二上行IQ数据写入BBU单元的内存空间。Optionally, the above-mentioned DPDK network card is used to determine the priority of the first uplink IQ data, and determine the receiving order of the first uplink IQ data according to the priority of the first uplink IQ data, and in the receiving order of the first uplink IQ data Upon arrival, the first upstream IQ data is received; the CPU is also used to write the second upstream IQ data into the buffer space of the BBU unit, and write the second upstream IQ data in the buffer space of the BBU unit into the memory space of the BBU unit.
本实施例中,BBU单元在接收第一上行IQ数据时,DPDK网卡可以确定第一上行IQ数据的优先级,以使得CPU按照第一上行IQ数据的优先级确定第一上行IQ数据的接收顺序,并在第一上行IQ数据的接收顺序到达时接收第一上行 IQ数据。可选的,第一上行IQ数据的优先级越高,接收顺序越靠前。可选的,所有IQ数据(包括下行IQ数据、待发送下行IQ数据、第一上行IQ数据和第二上行IQ数据等)的优先级可以相同,因此,上述第一上行IQ数据和上述下行IQ数据的优先级可以相同。进一步的,与上述确定下行IQ数据的优先级的方式类似,DPDK网卡可以根据第一上行IQ数据的VLAN标识,将第一上行IQ数据的VLAN标识对应的优先级确定为第一上行IQ数据的优先级,例如,第一上行IQ数据的VLAN标识为2,对应的优先级为中等优先级,则DPDK网卡可以确定第一上行IQ数据的优先级为中等优先级。In this embodiment, when the BBU unit receives the first uplink IQ data, the DPDK network card can determine the priority of the first uplink IQ data, so that the CPU determines the receiving order of the first uplink IQ data according to the priority of the first uplink IQ data , And receive the first uplink IQ data when the receiving sequence of the first uplink IQ data arrives. Optionally, the higher the priority of the first uplink IQ data, the higher the receiving order. Optionally, the priority of all IQ data (including downlink IQ data, downlink IQ data to be sent, first uplink IQ data, and second uplink IQ data, etc.) may be the same. Therefore, the foregoing first uplink IQ data and the foregoing downlink IQ data may have the same priority. The priority of the data can be the same. Further, similar to the above method for determining the priority of the downlink IQ data, the DPDK network card can determine the priority corresponding to the VLAN identification of the first uplink IQ data as the priority of the first uplink IQ data according to the VLAN identification of the first uplink IQ data. Priority, for example, if the VLAN identifier of the first uplink IQ data is 2, and the corresponding priority is medium priority, the DPDK network card can determine that the priority of the first uplink IQ data is medium priority.
可选的,CB单元向BBU单元发送的第一上行IQ数据和第二上行IQ数据为从远端单元发送至扩展单元,经扩展单元合路后发送至CB单元的。进一步的,CB单元需要将从扩展单元接收的CPRI协议的第一上行IQ数据和第二上行IQ数据,转换为eCPRI协议的上行IQ数据。BBU可以将从CB接收的第一上行IQ数据和第二上行IQ数据通过网络发送至核心网。Optionally, the first uplink IQ data and the second uplink IQ data sent by the CB unit to the BBU unit are sent from the remote unit to the extension unit, and sent to the CB unit after being combined by the extension unit. Further, the CB unit needs to convert the first uplink IQ data and the second uplink IQ data of the CPRI protocol received from the extension unit into the uplink IQ data of the eCPRI protocol. The BBU may send the first uplink IQ data and the second uplink IQ data received from the CB to the core network through the network.
可选的,CB单元可以将接收的BBU单元发送的下行IQ数据发送至扩展单元,再由扩展单元广播至各个远端单元,以使得远端单元将接收的下行IQ数据转换为射频信息,通过天线发射到空中。Optionally, the CB unit can send the downlink IQ data sent by the received BBU unit to the extension unit, and then the extension unit broadcasts to each remote unit, so that the remote unit converts the received downlink IQ data into radio frequency information. The antenna is launched into the air.
在上述(一)和(二)两部分描述了在上行链路中和下行链路中传输IQ数据时,DMA控制单元、DPDK网卡和CPU等所需执行的操作。在下行链路中传输IQ数据时,发送下行IQ数据和存储下一时刻待发送的下行IQ数据是利用不同层的软件执行的,二者不会相互影响,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,可以方便BBU单元在需要发送待下行IQ数据时,可以快速的从BBU单元的缓存空间读取待发送下行IQ数据,提高待发送下行IQ数据的发 送效率,以提高通信的实时性要求。在上行链路中传输IQ数据时,接收第一上行IQ数据和存储上一时刻的第二上行IQ数据是利用不同层的软件执行的,二者不会相互影响,避免了BBU单元存储数据与接收数据产生冲突,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存空间中的第M-1时刻接收的上行IQ数据存储至BBU单元的内存空间,以完成对上行IQ数据的接收,这个同时接收第一上行IQ数据并存储第二上行IQ数据,可以提高上行IQ数据的接收效率,以提高通信的实时性要求。The above two parts (1) and (2) describe the operations required by the DMA control unit, DPDK network card and CPU when transmitting IQ data in the uplink and downlink. When transmitting IQ data in the downlink, sending the downlink IQ data and storing the downlink IQ data to be sent at the next moment are executed using different layers of software, and the two will not affect each other, which improves the accuracy of data transmission; , Using the underlying software to store the downstream IQ data to be sent in the memory space of the BBU unit at time N+1 to the buffer space of the BBU unit, which can facilitate the BBU unit to quickly send the IQ data to be sent from the BBU unit when it needs to send the downstream IQ data. The buffer space for reading the downlink IQ data to be sent can improve the sending efficiency of the downlink IQ data to be sent, so as to improve the real-time requirements of communication. When transmitting IQ data in the uplink, receiving the first uplink IQ data and storing the second uplink IQ data at the previous moment are executed by different layers of software, and the two will not affect each other, avoiding the BBU unit storing data and The received data conflicts, which improves the accuracy of data transmission; in addition, the underlying software is used to store the uplink IQ data received at the M-1 time in the memory space of the BBU unit into the memory space of the BBU unit to complete the uplink IQ data The reception of the first uplink IQ data and the storage of the second uplink IQ data at the same time can improve the reception efficiency of the uplink IQ data and improve the real-time requirements of communication.
在另一个实施例提供的室内分布式系统中,上述BBU单元,还用于向CB单元发送监控指令;CB单元还用于根据监控指令向BBU单元发送监控数据。In the indoor distributed system provided by another embodiment, the above-mentioned BBU unit is also used to send monitoring instructions to the CB unit; the CB unit is also used to send monitoring data to the BBU unit according to the monitoring instructions.
本实施例中,监控指令可以为指示CB单元向BBU单元发送监控数据的指令。上述监控数据可以包括对CB单元的各个监控参数的配置数据、对CB单元的各个监控参数的读取数据、对CB单元的升级数据、对CB单元的的重启数据和对CB单元的日志收集数据中的至少一个。In this embodiment, the monitoring instruction may be an instruction instructing the CB unit to send monitoring data to the BBU unit. The above-mentioned monitoring data may include configuration data of various monitoring parameters of the CB unit, read data of various monitoring parameters of the CB unit, upgrade data of the CB unit, restart data of the CB unit, and log collection data of the CB unit At least one of them.
上述BBU单元可以向CB单元发送监控指令,对应的,CB单元可以根据接收的BBU单元发送的监控指令,利用CB单元的监控系统获取CB单元的监控数据,并将获取的CB单元的监控数据发送至BBU单元。The above-mentioned BBU unit can send monitoring instructions to the CB unit. Correspondingly, the CB unit can use the monitoring system of the CB unit to obtain the monitoring data of the CB unit according to the received monitoring instructions sent by the BBU unit, and send the acquired monitoring data of the CB unit To the BBU unit.
可选的,上述CPU,用于将监控指令从BBU单元的内存空间写入BBU单元的缓存空间;DMA控制单元,用于将监控指令从BBU单元的缓存空间写入DPDK网卡中的网卡队列;DPDK网卡,用于确定监控指令的优先级;CPU,还用于按照监控指令的优先级确定监控指令的发送顺序,并在监控指令的发送顺序到达时发送监控指令。Optionally, the above CPU is used to write monitoring instructions from the memory space of the BBU unit to the buffer space of the BBU unit; the DMA control unit is used to write monitoring instructions from the buffer space of the BBU unit to the network card queue in the DPDK network card; The DPDK network card is used to determine the priority of the monitoring command; the CPU is also used to determine the sending order of the monitoring command according to the priority of the monitoring command, and send the monitoring command when the sending order of the monitoring command arrives.
本实施例中,CPU可以将监控指令从BBU单元的内存空间写入BBU单元的缓存空间,并利用DMA控制单元将监控指令从BBU单元的缓存空间写入DPDK网卡 中的网卡队列,以为CPU向CB单元发送监控指令做准备。In this embodiment, the CPU can write the monitoring instructions from the memory space of the BBU unit into the buffer space of the BBU unit, and use the DMA control unit to write the monitoring instructions from the buffer space of the BBU unit into the network card queue in the DPDK network card, so that the CPU sends The CB unit sends a monitoring command to prepare.
BBU单元在发送监控指令时,DPDK网卡可以确定监控指令的优先级,按照监控指令的优先级确定监控指令的发送顺序,并在监控指令的发送顺序到达时发送监控指令。可选的,监控指令的优先级越高,发送顺序越靠前。When the BBU unit sends a monitoring command, the DPDK network card can determine the priority of the monitoring command, determine the sending order of the monitoring command according to the priority of the monitoring command, and send the monitoring command when the sending order of the monitoring command arrives. Optionally, the higher the priority of the monitoring command, the higher the sending order.
可选的,上述DPDK网卡,用于确定监控数据的优先级;并按照监控数据的优先级确定监控数据的接收顺序,并在监控数据的接收顺序到达时接收监控数据,并将监控数据写入DPDK网卡的网卡队列;CPU,还用于将监控数据从DPDK网卡的网卡队列写入BBU单元的缓存空间,并将BBU单元的缓存空间中的监控数据写入BBU单元的内存空间。Optionally, the above-mentioned DPDK network card is used to determine the priority of the monitoring data; and determine the receiving order of the monitoring data according to the priority of the monitoring data, and receive the monitoring data when the receiving order of the monitoring data arrives, and write the monitoring data The network card queue of the DPDK network card; the CPU is also used to write monitoring data from the network card queue of the DPDK network card into the buffer space of the BBU unit, and write the monitoring data in the buffer space of the BBU unit into the memory space of the BBU unit.
本实施例中,DPDK网卡可以根据监控数据的VLAN标识,将监控数据的VLAN标识对应的优先级确定监控数据的优先级,例如,监控数据的VLAN标识为3,对应的优先级中最低优先级,则DPDK网卡可以确定监控数据的优先级中最低优先级。可选的,监控指令和监控数据的优先级相同。In this embodiment, the DPDK network card can determine the priority of the monitoring data according to the VLAN ID of the monitoring data and the priority corresponding to the VLAN ID of the monitoring data. For example, the VLAN ID of the monitoring data is 3, and the corresponding priority is the lowest priority. , The DPDK network card can determine the lowest priority among the priorities of monitoring data. Optionally, the priority of the monitoring instruction and the monitoring data are the same.
BBU单元在接收CB单元发送的监控数据时,DPDK网卡可以利用监控数据的优先级确定监控数据的接收顺序,并在监控数据的接收顺序到达时接收上述监控数据,并将监控数据写入DPDK网卡的网卡队列,以使得CPU将监控数据从DPDK网卡的网卡队列写入BBU单元的缓存空间,并将BBU单元的缓存空间中的监控数据写入BBU单元的内存空间,从而完成监控数据的接收。When the BBU unit receives the monitoring data sent by the CB unit, the DPDK network card can use the priority of the monitoring data to determine the receiving order of the monitoring data, and receive the above monitoring data when the receiving order of the monitoring data arrives, and write the monitoring data to the DPDK network card The network card queue of the DPDK network card allows the CPU to write monitoring data from the network card queue of the DPDK network card into the buffer space of the BBU unit, and write the monitoring data in the buffer space of the BBU unit into the memory space of the BBU unit, thereby completing the receiving of monitoring data.
可选的,BBU单元、CB单元、扩展单元和远端单元等可以有对应的监控系统,在下行链路中,上一级可以向下一级发送监控指令,以获取下一级的监控数据,下一级可以根据接收的上一级的监控指令从对应的监控系统获取监控数据并将获取的监控数据发送至上一级。例如,BBU单元向CB单元发送监控指令,CB单元将接收的扩展单元和远端单元的监控数据和CB单元的监控数据转换为 eCPRI协议的监控数据发送给BBU单元,CB单元向扩展单元发送监控指令,扩展单元从扩展单元将扩展单元的监控数据和从远端单元接收的监控数据发送至CB单元,其中,CB单元与扩展单元之间的数据传输协议为业务管理通信协议(Business Manage Communication Protocol,BMCP),扩展单元可以向远端单元发送监控指令,远端单元根据接收的扩展单元的监控指令,将获取的远端单元的监控数据写入远端单元的寄存器中,供扩展单元读取。Optionally, the BBU unit, CB unit, expansion unit, and remote unit can have corresponding monitoring systems. In the downlink, the upper level can send monitoring commands to the next level to obtain the next level of monitoring data , The next level can obtain monitoring data from the corresponding monitoring system according to the received monitoring instruction of the upper level and send the obtained monitoring data to the upper level. For example, the BBU unit sends a monitoring command to the CB unit. The CB unit converts the received monitoring data of the extension unit and the remote unit and the monitoring data of the CB unit into eCPRI protocol monitoring data and sends it to the BBU unit. The CB unit sends monitoring to the extension unit. Instruction, the extension unit sends the monitoring data of the extension unit and the monitoring data received from the remote unit to the CB unit from the extension unit. The data transmission protocol between the CB unit and the extension unit is the business management communication protocol (Business Management Communication Protocol). , BMCP), the expansion unit can send monitoring instructions to the remote unit, and the remote unit writes the acquired monitoring data of the remote unit into the register of the remote unit according to the received monitoring instruction of the expansion unit for the expansion unit to read .
可选的,CB单元、扩展单元和远端单元的监控数据可以利用BBU单元中的一个操作维护功能软件进行维护,BBU单元的监控数据可以利用一个操作维护功能软件进行维护,以使得BBU单元的监控数据操作维护功能软件与包括CB单元、扩展单元和远端单元的其它单元对应的操作维护功能软件相互不依赖,方便软件解耦。Optionally, the monitoring data of the CB unit, the expansion unit and the remote unit can be maintained by using an operation and maintenance function software in the BBU unit, and the monitoring data of the BBU unit can be maintained by using an operation and maintenance function software to make the BBU unit's The monitoring data operation and maintenance function software and the operation and maintenance function software corresponding to other units including the CB unit, the expansion unit and the remote unit are independent of each other, which is convenient for software decoupling.
本实施例提供的室内分布式系统,BBU单元可以向CB单元发送监控指令,以使得CB单元根据监控指令向BBU单元发送监控数据。并且,DPDK网卡可以确定监控指令的优先级和监控数据的优先级,以使得BBU单元可以按照确定的监控指令的优先级发送监控指令,或按照监控数据的优先级接收监控数据,以实现对优先级不同的数据执行不同的操作,保证高优先级的数据能够及时发送或接收,以提高通信的实时性要求。In the indoor distributed system provided in this embodiment, the BBU unit may send a monitoring instruction to the CB unit, so that the CB unit sends monitoring data to the BBU unit according to the monitoring instruction. In addition, the DPDK network card can determine the priority of the monitoring instruction and the priority of the monitoring data, so that the BBU unit can send the monitoring instruction according to the determined priority of the monitoring instruction, or receive the monitoring data according to the priority of the monitoring data, so as to realize the priority Different levels of data perform different operations to ensure that high-priority data can be sent or received in time to improve the real-time requirements of communication.
图3为一个实施例提供的数据传输方法流程示意图。本实施例涉及的是当BBU单元和CB单元之间传输的数据为IQ数据时,BBU单元与CB单元之间的通信过程。如图3所示,该方法可以包括:Fig. 3 is a schematic flowchart of a data transmission method provided by an embodiment. This embodiment relates to the communication process between the BBU unit and the CB unit when the data transmitted between the BBU unit and the CB unit is IQ data. As shown in Figure 3, the method may include:
S301,BBU单元接收CB单元发送的定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;CB单元还用于对从扩展单元和BBU单元接收到的数据分别进行协议转换。S301: The BBU unit receives timing information sent by the CB unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data; the CB unit is also used to perform protocol conversion on the data received from the extension unit and the BBU unit respectively.
具体的,CB单元从扩展单元接收到的数据为CPRI协议的上行IQ数据,CB单元从BBU单元接收的数据为eCPRI协议的下行IQ数据。CB单元可以用于对从扩展单元和BBU单元接收到的数据分别进行协议转换,比如,CB单元可以将从扩展单元接收到的CPRI协议的上行IQ数据,转换为eCPRI协议的上行IQ数据并发送至BBU单元,还可以将从BBU单元接收到的eCPRI协议的下行IQ数据转换为CPRI协议的下行IQ数据,并发送至扩展单元。进一步的,扩展单元可以从远端单元接收上行IQ数据,或向远端单元发送下行IQ数据。Specifically, the data received by the CB unit from the extension unit is the uplink IQ data of the CPRI protocol, and the data received by the CB unit from the BBU unit is the downlink IQ data of the eCPRI protocol. The CB unit can be used to perform protocol conversion on the data received from the extension unit and the BBU unit. For example, the CB unit can convert the uplink IQ data of the CPRI protocol received from the extension unit into the uplink IQ data of the eCPRI protocol and send it To the BBU unit, the downlink IQ data of the eCPRI protocol received from the BBU unit can also be converted into the downlink IQ data of the CPRI protocol, and sent to the extension unit. Further, the extension unit can receive uplink IQ data from the remote unit or send downlink IQ data to the remote unit.
上述定时信息用于指示BBU单元发送下行数据或接收上行数据,BBU单元可以接收CB单元周期性地向BBU单元发送的定时信息,进一步的,CB单元发送定时信息的周期可以为1ms。The above timing information is used to instruct the BBU unit to send downlink data or receive uplink data. The BBU unit can receive the timing information periodically sent by the CB unit to the BBU unit. Further, the period for the CB unit to send timing information can be 1 ms.
S302,BBU单元根据定时信息向CB单元发送下行IQ数据,或者,根据定时信息接收CB单元发送的协议转换之后的上行IQ数据。S302: The BBU unit sends downlink IQ data to the CB unit according to the timing information, or receives uplink IQ data sent by the CB unit after protocol conversion according to the timing information.
具体的,BBU单元可以根据CB单元发送的定时信息,从CB单元接收上行IQ数据,或向CB单元发送下行IQ数据。可选的,BBU单元可以为计算机设备,该计算机设备可以为X86服务器、平板电脑、台式机、个人数字助理等,本实施例对计算机设备的具体形式并不做限定。可选的,BBU单元可以接收用户安装的操作维护功能(Operation Administration and Maintenance,OAM)软件、BBU单元的驱动软件等,以实现BBU单元的各项功能如LTE空口协议栈、操作维护功能和物理层功能等。可选的,BBU单元上安装的各个软件之间可以实现解耦,BBU单元上安装的各个软件也可以与BBU单元上的处理器实现软硬件解耦,以为用户提供更多的选择,满足用户对BBU单元的不同功能需求。Specifically, the BBU unit may receive uplink IQ data from the CB unit or send downlink IQ data to the CB unit according to the timing information sent by the CB unit. Optionally, the BBU unit may be a computer device, and the computer device may be an X86 server, a tablet computer, a desktop computer, a personal digital assistant, etc. The specific form of the computer device is not limited in this embodiment. Optionally, the BBU unit can receive user-installed operation and maintenance (Operation Administration and Maintenance, OAM) software, BBU unit driver software, etc., to implement various functions of the BBU unit, such as LTE air interface protocol stack, operation and maintenance functions, and physical Layer functions, etc. Optionally, the software installed on the BBU unit can be decoupled, and the software installed on the BBU unit can also be decoupled from the processor on the BBU unit to provide users with more choices and satisfy users. Different functional requirements for BBU units.
本实施例提供的数据传输方法中,BBU单元可以接收CB单元发送的定时信息,CB单元还用于对从扩展单元和BBU单元接收到的数据分别进行协议转换; BBU单元根据定时信息向CB单元发送下行IQ数据,或者,根据定时信息接收CB单元发送的协议转换之后的上行IQ数据。本实施例中,CB单元可以对从扩展单元和BBU单元接收到的数据分别进行协议转换,BBU单元无需对接收的上行数据或发送的下行数据进行协议转换,只需根据定时信息以及协议转换后的数据向CB单元发送数据或从CB单元接收数据,因此,BBU单元需要专用的数字基带芯片实现BBU单元的各个功能,大大降低了BBU单元的成本;另外,BBU单元可以接收用户安装的实现不同功能的软件,且各个软件之间可以实现解耦,并且各个软件与BBU单元的处理器也可以实现软硬件解耦,为用户提供更多的选择,满足用户对BBU单元的不同功能需求。In the data transmission method provided in this embodiment, the BBU unit can receive the timing information sent by the CB unit, and the CB unit is also used to perform protocol conversion on the data received from the extension unit and the BBU unit. The BBU unit sends the data to the CB unit according to the timing information. Send downlink IQ data, or receive uplink IQ data after protocol conversion sent by the CB unit according to timing information. In this embodiment, the CB unit can perform protocol conversion on the data received from the extension unit and the BBU unit respectively. The BBU unit does not need to perform protocol conversion on the received uplink data or the transmitted downlink data. It only needs to perform protocol conversion on the basis of timing information and protocol conversion. The data sent to the CB unit or received data from the CB unit, therefore, the BBU unit needs a dedicated digital baseband chip to realize the various functions of the BBU unit, which greatly reduces the cost of the BBU unit; in addition, the BBU unit can receive different implementations of user installation Functional software, and each software can be decoupled, and each software and the processor of the BBU unit can also achieve software and hardware decoupling, providing users with more choices and meeting users' different functional requirements for the BBU unit.
在另一个实施例提供的数据传输方法中,本实施例涉及的是在下行链路中传输IQ数据时,BBU单元根据定时信息向CB单元发送下行IQ数据的实现过程。在上述实施例的基础上,上述定时信息为所述CB单元在第N时刻发送的第一中断消息;所述第一中断消息携带第一目标子帧标识;上述S302中的“BBU单元根据定时信息向CB单元发送下行IQ数据”可以包括:BBU单元根据第一目标子帧标识,在第一目标子帧标识对应的下行子帧上,向CB单元发送下行IQ数据,并将BBU单元的内存空间中第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间。In the data transmission method provided by another embodiment, this embodiment relates to the implementation process of the BBU unit sending downlink IQ data to the CB unit according to timing information when IQ data is transmitted in the downlink. On the basis of the foregoing embodiment, the foregoing timing information is the first interrupt message sent by the CB unit at the Nth time; the first interrupt message carries the first target subframe identifier; in the foregoing S302, the "BBU unit is based on the timing "Information sending downlink IQ data to the CB unit" may include: the BBU unit sends the downlink IQ data to the CB unit on the downlink subframe corresponding to the first target subframe identifier according to the first target subframe identifier, and changes the memory of the BBU unit The downlink IQ data to be sent at time N+1 in the space is stored in the buffer space of the BBU unit.
本实施例中,上述第一中断消息中携带第一目标子帧标识,该第一目标子帧标识可以包括数值、文字和英文字母中的至少一种,比如第一目标子帧标识可以为SF0或SF1等。进一步的,第一中断消息还用于触发BBU单元发送下行IQ数据。当第一目标子帧标识对应下行子帧或下行特殊子帧时,BBU单元可以向CB单元发送下行IQ数据,同时,BBU单元还可以执行底层软件,以将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间, 利用底层软件将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,不会影响下行IQ数据的发送,也即,发送下行IQ数据和存储下一时刻待发送的下行IQ数据是利用不同层的软件执行的,二者不会相互影响,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,可以方便BBU单元在需要发送待下行IQ数据时,可以快速的从BBU单元的缓存空间读取待发送下行IQ数据,提高待发送下行IQ数据的发送效率,以提高通信的实时性要求。需要说明的是,BBU单元在第N时刻发送的下行IQ数据为第N-1时刻时,BBU单元存储至BBU单元的缓存空间的数据。In this embodiment, the foregoing first interrupt message carries a first target subframe identifier, and the first target subframe identifier may include at least one of a numeric value, a text, and an English letter. For example, the first target subframe identifier may be SF. Or SF1 etc. Further, the first interrupt message is also used to trigger the BBU unit to send downlink IQ data. When the first target subframe identifier corresponds to a downlink subframe or a downlink special subframe, the BBU unit can send downlink IQ data to the CB unit. At the same time, the BBU unit can also execute the underlying software to change the Nth in the memory space of the BBU unit. The downlink IQ data to be sent at time +1 is stored in the buffer space of the BBU unit, and the underlying software is used to store the downlink IQ data to be sent in the memory space of the BBU unit at time N+1 to the buffer space of the BBU unit without affecting The sending of downlink IQ data, that is, sending the downlink IQ data and storing the downlink IQ data to be sent at the next moment are executed by different layers of software, and the two will not affect each other, which improves the accuracy of data transmission; in addition, Using the underlying software to store the downstream IQ data to be sent in the memory space of the BBU unit at time N+1 into the buffer space of the BBU unit, it is convenient for the BBU unit to send the downstream IQ data to the BBU unit quickly. The buffer space reads the downlink IQ data to be sent, and improves the sending efficiency of the downlink IQ data to be sent, so as to improve the real-time requirements of communication. It should be noted that when the downlink IQ data sent by the BBU unit at the Nth time is the N-1th time, the BBU unit stores the data in the buffer space of the BBU unit.
可选的,上述BBU单元根据第一目标子帧标识,在第一目标子帧标识对应的下行子帧上,向CB单元发送下行IQ数据的实现过程可以包括:BBU单元根据第一目标子帧标识,确定第一目标子帧标识对应的下行IQ数据;并将BBU单元的缓存空间中的下行IQ数据写入BBU单元中的网卡队列;BBU单元按照网卡队列中下行IQ数据的优先级确定下行IQ数据的发送顺序,并在下行IQ数据的发送顺序到达时发送下行IQ数据。Optionally, the above-mentioned BBU unit sends the downlink IQ data to the CB unit on the downlink subframe corresponding to the first target subframe identifier according to the first target subframe identifier, and the implementation process may include: ID, determine the downlink IQ data corresponding to the first target subframe ID; write the downlink IQ data in the buffer space of the BBU unit into the network card queue in the BBU unit; the BBU unit determines the downlink according to the priority of the downlink IQ data in the network card queue IQ data transmission sequence, and downlink IQ data is sent when the downlink IQ data transmission sequence arrives.
本实施例中,BBU单元启动下行IQ数据的发送时,BBU单元可以自动将第一目标子帧标识对应的下行IQ数据,从BBU单元的缓存空间中写入BBU单元中的网卡队列,以为BBU单元发送上述下行IQ数据做准备。In this embodiment, when the BBU unit starts the transmission of downlink IQ data, the BBU unit can automatically write the downlink IQ data corresponding to the first target subframe identifier from the buffer space of the BBU unit into the network card queue in the BBU unit, which is regarded as the BBU. The unit prepares for sending the above-mentioned downlink IQ data.
BBU单元可以利确定下行IQ数据的优先级,以使得BBU单元按照确定的下行IQ数据的优先级确定下行IQ数据的发送顺序,并在下行IQ数据的发送顺序到达时发送下行IQ数据。可选的,下行IQ数据的优先级越高,发送顺序越靠前。The BBU unit can determine the priority of the downlink IQ data so that the BBU unit determines the sending order of the downlink IQ data according to the determined priority of the downlink IQ data, and sends the downlink IQ data when the sending order of the downlink IQ data arrives. Optionally, the higher the priority of the downlink IQ data, the higher the sending order.
可选的,上述第N时刻可以为第N个1PPS减去预设补偿时长后对应的时刻。 进一步的,预设补偿时长为根据时延确定的时长,时延包括以下至少一种:BBU单元和CB单元之间传输IQ数据对应的网络包时产生的时延;IQ数据包括下行IQ数据和上行IQ数据;CB单元、扩展单元和远端单元分别对应的固有时延,CB单元和扩展单元之间的传输时延,扩展单元和远端单元之间的传输时延。Optionally, the aforementioned Nth time may be the corresponding time after the Nth 1PPS minus the preset compensation duration. Further, the preset compensation time length is a time length determined according to the time delay, and the time delay includes at least one of the following: the time delay generated when the network packet corresponding to the IQ data is transmitted between the BBU unit and the CB unit; the IQ data includes downlink IQ data and Uplink IQ data; the inherent delay corresponding to the CB unit, the extension unit and the remote unit, the transmission delay between the CB unit and the extension unit, and the transmission delay between the extension unit and the remote unit.
可选的,CB单元可以将接收的BBU单元发送的下行IQ数据发送至扩展单元,再由扩展单元广播至各个远端单元,以使得远端单元将接收的下行IQ数据转换为射频信息,通过天线发射到空中。Optionally, the CB unit can send the downlink IQ data sent by the received BBU unit to the extension unit, and then the extension unit broadcasts to each remote unit, so that the remote unit converts the received downlink IQ data into radio frequency information. The antenna is launched into the air.
本实施例提供的数据传输方法中,在下行链路中传输IQ数据时,BBU单元可以接收CB单元发送的定时信息,并根据定时信息向CB单元发送下行IQ数据,或者,根据定时信息接收CB单元发送的协议转换之后的上行IQ数据。本实施例中,发送下行IQ数据和存储下一时刻待发送的下行IQ数据是利用不同层的软件执行的,二者不会相互影响,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,可以方便BBU单元在需要发送待下行IQ数据时,可以快速的从BBU单元的缓存空间读取待发送下行IQ数据,提高待发送下行IQ数据的发送效率,以提高通信的实时性要求。In the data transmission method provided in this embodiment, when IQ data is transmitted in the downlink, the BBU unit can receive the timing information sent by the CB unit, and send downlink IQ data to the CB unit according to the timing information, or receive the CB according to the timing information. Uplink IQ data sent by the unit after protocol conversion. In this embodiment, sending the downlink IQ data and storing the downlink IQ data to be sent at the next moment are executed by different layers of software, and the two will not affect each other, which improves the accuracy of data transmission; in addition, the underlying software is used to The downstream IQ data to be sent at time N+1 in the memory space of the BBU unit is stored in the buffer space of the BBU unit, which can facilitate the BBU unit to quickly read from the buffer space of the BBU unit when it needs to send the downstream IQ data. The downlink IQ data to be sent improves the transmission efficiency of the downlink IQ data to be sent, so as to improve the real-time requirements of communication.
图4为另一个实施例提供的数据传输方法流程示意图。本实施例涉及的是BBU单元向CB单元发送监控指令并接收CB单元根据监控指令发送的监控数据的实现过程。在上述实施例的基础上,可选的,上述数据传输方法还可以包括:Fig. 4 is a schematic flowchart of a data transmission method provided by another embodiment. This embodiment relates to the implementation process of the BBU unit sending a monitoring instruction to the CB unit and receiving the monitoring data sent by the CB unit according to the monitoring instruction. Based on the foregoing embodiment, optionally, the foregoing data transmission method may further include:
S401,BBU单元向CB单元发送监控指令,监控指令用于获取监控数据。S401: The BBU unit sends a monitoring instruction to the CB unit, and the monitoring instruction is used to obtain monitoring data.
其中,监控指令可以为指示CB单元向BBU单元发送监控数据的指令。上述监控数据可以包括对CB单元的各个监控参数的配置数据、对CB单元的各个监控参数的读取数据、对CB单元的升级数据、对CB单元的的重启数据和对CB单 元的日志收集数据中的至少一个。The monitoring instruction may be an instruction instructing the CB unit to send monitoring data to the BBU unit. The above-mentioned monitoring data may include configuration data of various monitoring parameters of the CB unit, read data of various monitoring parameters of the CB unit, upgrade data of the CB unit, restart data of the CB unit, and log collection data of the CB unit At least one of them.
具体的,上述BBU单元可以定时或按预设的周期向CB单元发送监控指令,以使得CB单元可以根据接收的BBU单元发送的监控指令,利用CB单元的监控系统获取CB单元的监控数据,并将获取的CB单元的监控数据发送至BBU单元。Specifically, the above-mentioned BBU unit can send monitoring instructions to the CB unit regularly or according to a preset cycle, so that the CB unit can use the monitoring system of the CB unit to obtain the monitoring data of the CB unit according to the received monitoring instruction sent by the BBU unit, and Send the acquired monitoring data of the CB unit to the BBU unit.
可选的,上述BBU单元向CB单元发送监控指令的实现步骤可以包括:BBU单元将待发送至CB单元的监控指令从BBU单元的内存空间写入BBU单元的缓存空间,并将监控指令从BBU单元的缓存空间写BBU单元中的网卡队列;BBU单元确定监控指令的优先级,并按照监控指令的优先级确定监控指令的发送顺序,并在监控指令的发送顺序到达时发送监控指令。Optionally, the above-mentioned implementation steps of the BBU unit sending the monitoring instruction to the CB unit may include: the BBU unit writes the monitoring instruction to be sent to the CB unit from the memory space of the BBU unit into the buffer space of the BBU unit, and sends the monitoring instruction from the BBU The buffer space of the unit writes the network card queue in the BBU unit; the BBU unit determines the priority of the monitoring command, and determines the sending order of the monitoring command according to the priority of the monitoring command, and sends the monitoring command when the sending order of the monitoring command arrives.
本实施例中,BBU单元可以将监控指令从BBU单元的内存空间写入BBU单元的缓存空间,并利用将监控指令从BBU单元的缓存空间写入BBU单元中的网卡队列,以为BBU单元向CB单元发送监控指令做准备。BBU单元可以确定监控数据的优先级,按照监控指令的优先级确定监控指令的发送顺序,并在监控指令的发送顺序到达时发送监控指令。可选的,监控指令的优先级越高,发送顺序越靠前。In this embodiment, the BBU unit can write the monitoring instructions from the memory space of the BBU unit into the buffer space of the BBU unit, and use the monitoring instructions from the buffer space of the BBU unit to write the network card queue in the BBU unit, so that the BBU unit sends the CB to the CB. The unit sends monitoring instructions to prepare. The BBU unit can determine the priority of the monitoring data, determine the sending order of the monitoring commands according to the priority of the monitoring commands, and send the monitoring commands when the sending order of the monitoring commands arrives. Optionally, the higher the priority of the monitoring command, the higher the sending order.
S402,BBU单元接收CB单元根据监控指令发送的监控数据。S402: The BBU unit receives the monitoring data sent by the CB unit according to the monitoring instruction.
具体的,BBU单元在接收CB单元发送的监控数据时,可以利用监控数据的优先级确定监控数据的接收顺序,并在监控数据的接收顺序到达时接收上述监控数据,并将监控数据写入BBU单元的网卡队列,以使得BBU单元将监控数据从BBU单元中的网卡队列写入BBU单元的缓存空间,并将BBU单元的缓存空间中的监控数据写入BBU单元的内存空间,从而完成监控数据的接收。Specifically, when the BBU unit receives the monitoring data sent by the CB unit, it can use the priority of the monitoring data to determine the receiving order of the monitoring data, and receive the monitoring data when the receiving order of the monitoring data arrives, and write the monitoring data into the BBU The network card queue of the unit, so that the BBU unit writes the monitoring data from the network card queue in the BBU unit into the buffer space of the BBU unit, and writes the monitoring data in the buffer space of the BBU unit into the memory space of the BBU unit, thereby completing the monitoring data Received.
本实施例提供的数据传输方法中,BBU单元可以向CB单元发送监控指令,并接收CB单元根据监控指令发送的监控数据。BBU单元可以确定监控指令的优 先级和监控数据的优先级,以使得BBU单元可以按照确定的监控指令的优先级发送监控指令,或按照监控数据的优先级接收监控数据,以实现对优先级不同的数据执行不同的操作,保证高优先级的数据能够及时发送或接收,以提高通信的实时性要求。In the data transmission method provided in this embodiment, the BBU unit may send a monitoring instruction to the CB unit, and receive the monitoring data sent by the CB unit according to the monitoring instruction. The BBU unit can determine the priority of the monitoring instruction and the priority of the monitoring data, so that the BBU unit can send the monitoring instruction according to the determined priority of the monitoring instruction, or receive the monitoring data according to the priority of the monitoring data, so as to achieve different priorities Perform different operations on the data to ensure that high-priority data can be sent or received in time to improve the real-time requirements of communication.
图5为一个实施例提供的数据传输方法流程示意图。本实施例涉及的是CB单元对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息时,CB单元与BBU单元之间的数据通信过程。如图5所示,该方法可以包括:Fig. 5 is a schematic flowchart of a data transmission method provided by an embodiment. This embodiment relates to the data communication process between the CB unit and the BBU unit when the CB unit performs protocol conversion on the data received from the extension unit and the BBU unit, and sends timing information to the BBU unit. As shown in Figure 5, the method may include:
S501,CB单元对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据。S501: The CB unit performs protocol conversion on the data received from the extension unit and the BBU unit respectively, and sends timing information to the BBU unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data.
具体的,CB单元从扩展单元接收到的数据为CPRI协议的上行IQ数据,CB单元从BBU接收的数据为eCPRI协议的下行IQ数据。CB单元可以用于对从扩展单元和BBU单元接收到的数据分别进行协议转换,比如,CB单元可以将从扩展单元接收到的CPRI协议的上行IQ数据,转换为eCPRI协议的上行IQ数据并发送至BBU单元,还可以将从BBU单元接收到的eCPRI协议的下行IQ数据转换为CPRI协议的下行IQ数据,并发送至扩展单元。进一步的,扩展单元可以从远端单元接收上行IQ数据,或向远端单元发送下行IQ数据。Specifically, the data received by the CB unit from the extension unit is the uplink IQ data of the CPRI protocol, and the data received by the CB unit from the BBU is the downlink IQ data of the eCPRI protocol. The CB unit can be used to perform protocol conversion on the data received from the extension unit and the BBU unit. For example, the CB unit can convert the uplink IQ data of the CPRI protocol received from the extension unit into the uplink IQ data of the eCPRI protocol and send it To the BBU unit, the downlink IQ data of the eCPRI protocol received from the BBU unit can also be converted into the downlink IQ data of the CPRI protocol, and sent to the extension unit. Further, the extension unit can receive uplink IQ data from the remote unit or send downlink IQ data to the remote unit.
可选的,BBU单元可以接收CB单元可周期性地向BBU单元发送定时信息,进一步的,CB单元发送定时信息的周期可以为1ms。Optionally, the BBU unit may receive the CB unit and may periodically send timing information to the BBU unit. Further, the period for the CB unit to send timing information may be 1 ms.
S502,CB单元基于协议转换后的数据分别与扩展单元和BBU单元进行数据通信。S502: The CB unit performs data communication with the extension unit and the BBU unit respectively based on the data after the protocol conversion.
具体的,CB单元可以将转换得到的CPRI协议的下行IQ数据发送至扩展单 元,或从扩展单元接收CPRI协议的上行IQ数据,以实现与扩展单元之间的数据通信;CB单元还可以将转换得到的eCPRI协议的上行IQ数据发送至BBU单元,或接收BBU单元发送的eCPRI协议的下行IQ数据,以实现与BBU单元之间的数据通信。Specifically, the CB unit can send the converted downlink IQ data of the CPRI protocol to the extension unit, or receive the uplink IQ data of the CPRI protocol from the extension unit, so as to realize data communication with the extension unit; the CB unit can also convert The obtained uplink IQ data of the eCPRI protocol is sent to the BBU unit, or the downlink IQ data of the eCPRI protocol sent by the BBU unit is received, so as to realize data communication with the BBU unit.
本实施例提供的数据传输方法中,CB单元可以对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;并且,CB单元基于协议转换后的数据分别与扩展单元和BBU单元进行数据通信。本实施例中,CB单元可以对从扩展单元和BBU单元接收到的数据分别进行协议转换,BBU单元无需对接收的上行数据或发送的下行数据进行协议转换,只需根据定时信息以及协议转换后的数据向CB单元发送数据或从CB单元接收数据,因此,BBU单元需要专用的数字基带芯片实现BBU单元的各个功能,大大降低了BBU单元的成本;另外,BBU单元可以接收用户安装的实现不同功能的软件,且各个软件之间可以实现解耦,并且各个软件与BBU单元的处理器也可以实现软硬件解耦,为用户提供更多的选择,满足用户对BBU单元的不同功能需求。In the data transmission method provided in this embodiment, the CB unit can perform protocol conversion on the data received from the extension unit and the BBU unit respectively, and send timing information to the BBU unit; and the CB unit is based on the protocol-converted data and the extension unit respectively. The unit and the BBU unit carry out data communication. In this embodiment, the CB unit can perform protocol conversion on the data received from the extension unit and the BBU unit respectively. The BBU unit does not need to perform protocol conversion on the received uplink data or the transmitted downlink data. It only needs to perform protocol conversion on the basis of timing information and protocol conversion. The data sent to the CB unit or received data from the CB unit, therefore, the BBU unit needs a dedicated digital baseband chip to realize the various functions of the BBU unit, which greatly reduces the cost of the BBU unit; in addition, the BBU unit can receive different implementations of user installation Functional software, and each software can be decoupled, and each software and the processor of the BBU unit can also achieve software and hardware decoupling, providing users with more choices and meeting users' different functional requirements for the BBU unit.
在另一个实施例提供的数据传输方法中,上述S501中的“CB单元发送定时信息”可以包括:定时信息为CB单元在第N时刻发送的第一中断消息;第一中断消息携带第一目标子帧标识;第一目标子帧标识用于指示BBU单元在第一目标子帧标识对应的下行子帧上,向CB单元发送下行IQ数据,并将BBU单元的内存空间中第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间。In the data transmission method provided in another embodiment, the "CB unit sending timing information" in S501 may include: the timing information is the first interrupt message sent by the CB unit at the Nth time; the first interrupt message carries the first target Subframe identifier; the first target subframe identifier is used to instruct the BBU unit to send downlink IQ data to the CB unit on the downlink subframe corresponding to the first target subframe identifier, and set the N+1th time in the memory space of the BBU unit The downstream IQ data to be sent is stored in the buffer space of the BBU unit.
本实施例中,上述第一中断消息中携带第一目标子帧标识,该第一目标子帧标识可以包括数值、文字和英文字母中的至少一种,比如第一目标子帧标识可以为SF0或SF1等。进一步的,第一中断消息还用于触发BBU单元发送下行IQ数据。当第一目标子帧标识对应下行子帧或下行特殊子帧时,BBU单元可以 向CB单元发送下行IQ数据,同时,BBU单元还可以执行底层软件,以将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,利用底层软件将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,不会影响下行IQ数据的发送,也即,发送下行IQ数据和存储下一时刻待发送的下行IQ数据是利用不同层的软件执行的,二者不会相互影响,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存空间中的第N+1时刻的待发送下行IQ数据存储至BBU单元的缓存空间,可以方便BBU单元在需要发送待下行IQ数据时,可以快速的从BBU单元的缓存空间读取待发送下行IQ数据,提高待发送下行IQ数据的发送效率,以提高通信的实时性要求。需要说明的是,BBU单元在第N时刻发送的下行IQ数据为第N-1时刻时,BBU单元存储至BBU单元的缓存空间的数据。In this embodiment, the foregoing first interrupt message carries a first target subframe identifier, and the first target subframe identifier may include at least one of a numeric value, a text, and an English letter. For example, the first target subframe identifier may be SF. Or SF1 etc. Further, the first interrupt message is also used to trigger the BBU unit to send downlink IQ data. When the first target subframe identifier corresponds to a downlink subframe or a downlink special subframe, the BBU unit can send downlink IQ data to the CB unit. At the same time, the BBU unit can also execute the underlying software to change the Nth in the memory space of the BBU unit. The downlink IQ data to be sent at time +1 is stored in the buffer space of the BBU unit, and the underlying software is used to store the downlink IQ data to be sent in the memory space of the BBU unit at time N+1 to the buffer space of the BBU unit without affecting The sending of downlink IQ data, that is, sending the downlink IQ data and storing the downlink IQ data to be sent at the next moment are executed by different layers of software, and the two will not affect each other, which improves the accuracy of data transmission; in addition, Use the underlying software to store the downstream IQ data to be sent in the memory space of the BBU unit at time N+1 into the buffer space of the BBU unit. The buffer space reads the downlink IQ data to be sent, improves the sending efficiency of the downlink IQ data to be sent, and improves the real-time requirements of communication. It should be noted that when the downlink IQ data sent by the BBU unit at the Nth time is the N-1th time, the BBU unit stores the data in the buffer space of the BBU unit.
可选的,上述BBU单元根据第一目标子帧标识,在第一目标子帧标识对应的下行子帧上,向CB单元发送下行IQ数据的实现过程可以包括:BBU单元根据第一目标子帧标识,确定第一目标子帧标识对应的下行IQ数据;并将BBU单元的缓存空间中的下行IQ数据写入BBU单元中的网卡队列;BBU单元按照网卡队列中下行IQ数据的优先级确定下行IQ数据的发送顺序,并在下行IQ数据的发送顺序到达时发送下行IQ数据。Optionally, the above-mentioned BBU unit sends the downlink IQ data to the CB unit on the downlink subframe corresponding to the first target subframe identifier according to the first target subframe identifier, and the implementation process may include: ID, determine the downlink IQ data corresponding to the first target subframe ID; write the downlink IQ data in the buffer space of the BBU unit into the network card queue in the BBU unit; the BBU unit determines the downlink according to the priority of the downlink IQ data in the network card queue IQ data transmission sequence, and downlink IQ data is sent when the downlink IQ data transmission sequence arrives.
本实施例中,BBU单元启动下行IQ数据的发送时,BBU单元可以自动将第一目标子帧标识对应的下行IQ数据,从BBU单元的缓存空间中写入BBU单元中的网卡队列,以为BBU单元发送上述下行IQ数据做准备。In this embodiment, when the BBU unit starts the transmission of downlink IQ data, the BBU unit can automatically write the downlink IQ data corresponding to the first target subframe identifier from the buffer space of the BBU unit into the network card queue in the BBU unit, which is regarded as the BBU. The unit prepares for sending the above-mentioned downlink IQ data.
BBU单元可以利确定下行IQ数据的优先级,以使得BBU单元按照确定的下行IQ数据的优先级确定下行IQ数据的发送顺序,并在下行IQ数据的发送顺序到达时发送下行IQ数据。可选的,下行IQ数据的优先级越高,发送顺序越靠 前。The BBU unit can determine the priority of the downlink IQ data so that the BBU unit determines the sending order of the downlink IQ data according to the determined priority of the downlink IQ data, and sends the downlink IQ data when the sending order of the downlink IQ data arrives. Optionally, the higher the priority of the downlink IQ data, the higher the sending order.
可选的,上述第N时刻为第N个1PPS减去预设补偿时长后对应的时刻。进一步的,预设补偿时长为根据时延确定的时长,时延包括以下至少一种:BBU单元和CB单元之间传输IQ数据对应的网络包时产生的时延;IQ数据包括下行IQ数据和上行IQ数据;CB单元、扩展单元和远端单元分别对应的固有时延,CB单元和扩展单元之间的传输时延,扩展单元和远端单元之间的传输时延。Optionally, the aforementioned Nth time is the corresponding time after the Nth 1PPS minus the preset compensation duration. Further, the preset compensation time length is a time length determined according to the time delay, and the time delay includes at least one of the following: the time delay generated when the network packet corresponding to the IQ data is transmitted between the BBU unit and the CB unit; the IQ data includes downlink IQ data and Uplink IQ data; the inherent delay corresponding to the CB unit, the extension unit and the remote unit, the transmission delay between the CB unit and the extension unit, and the transmission delay between the extension unit and the remote unit.
在另一个实施例提供的数据传输方法中,上述S501中的“CB单元发送定时信息”可以包括:CB单元在第M时刻发送的第二中断消息;第二中断消息携带第二目标子帧标识;CB单元在第M时刻之后向BBU单元发送第一上行IQ数据;其中,第二目标子帧标识指示BBU单元在第二目标子帧标识对应的子帧上接收CB单元发送的第一上行IQ数据,并将DPDK网卡的网卡队列中第二上行IQ数据存储至BBU单元的内存空间;第二上行IQ数据为BBU单元在第M-1时刻接收的CB单元发送的上行IQ数据。In the data transmission method provided in another embodiment, the "CB unit sending timing information" in S501 may include: the second interrupt message sent by the CB unit at the Mth time; the second interrupt message carries the second target subframe identifier ; The CB unit sends the first uplink IQ data to the BBU unit after the Mth moment; wherein the second target subframe identifier indicates that the BBU unit receives the first uplink IQ sent by the CB unit on the subframe corresponding to the second target subframe identifier The second uplink IQ data in the network card queue of the DPDK network card is stored in the memory space of the BBU unit; the second uplink IQ data is the uplink IQ data sent by the CB unit received by the BBU unit at the M-1th time.
本实施例中,上述第二中断消息中携带第二目标子帧标识,该第二目标子帧标识可以包括数值、文字和英文字母中的至少一种,比如第二目标子帧标识可以为SF0和SF1等。进一步的,第二中断消息还用于触发BBU单元接收上行IQ数据。当第二目标子帧标识对应上行子帧或上行特殊子帧时,BBU单元可以从CB单元接收第一上行IQ数据,同时,BBU单元还可以执行底层软件,以将DPDK网卡的网卡队列中第二上行IQ数据存储至BBU单元的内存空间;其中,第二上行IQ数据为BBU单元在第M-1时刻接收的CB单元发送的上行IQ数据。In this embodiment, the foregoing second interrupt message carries a second target subframe identifier, and the second target subframe identifier may include at least one of a numeric value, a text, and an English letter. For example, the second target subframe identifier may be SF. And SF1 etc. Further, the second interrupt message is also used to trigger the BBU unit to receive uplink IQ data. When the second target subframe identifier corresponds to an uplink subframe or an uplink special subframe, the BBU unit can receive the first uplink IQ data from the CB unit. At the same time, the BBU unit can also execute the underlying software to place the DPDK network card in the queue of the network card. The second uplink IQ data is stored in the memory space of the BBU unit; where the second uplink IQ data is the uplink IQ data sent by the CB unit received by the BBU unit at the M-1th time.
利用底层软件将BBU单元在第M-1时刻接收的CB单元发送的第二上行IQ数据,不会影响第一上行IQ数据的接收,也即,接收第一上行IQ数据和存储上一时刻接收的第二上行IQ数据是利用不同层的软件执行的,二者不会相互影 响,避免了BBU单元存储数据与接收数据产生冲突,提高了数据发送的准确性;另外,利用底层软件将BBU单元的内存空间中的第M-1时刻的接收的上行IQ数据存储至BBU单元的内存空间,以完成对上行IQ数据的接收,这个同时接收第一上行IQ数据并存储第二上行IQ数据,可以提高上行IQ数据的接收效率,以提高通信的实时性要求。Use the underlying software to use the BBU unit to receive the second uplink IQ data sent by the CB unit at time M-1 without affecting the reception of the first uplink IQ data, that is, to receive the first uplink IQ data and store the last received IQ data The second uplink IQ data is executed by different layers of software, and the two will not affect each other, avoiding the conflict between the data stored in the BBU unit and the received data, and improving the accuracy of data transmission; in addition, the BBU unit is replaced by the underlying software. The received uplink IQ data at time M-1 in the memory space of the BBU is stored in the memory space of the BBU unit to complete the reception of the uplink IQ data. This simultaneously receives the first uplink IQ data and stores the second uplink IQ data. Improve the reception efficiency of uplink IQ data to improve the real-time requirements of communication.
可选的,上述第M时刻为第M个1PPS加上预设补偿时长后对应的时刻。进一步的,预设补偿时长为根据时延确定的时长,时延包括以下至少一种:BBU单元和CB单元之间传输IQ数据对应的网络包时产生的时延;IQ数据包括下行IQ数据和上行IQ数据;CB单元、扩展单元和远端单元分别对应的固有时延,CB单元和扩展单元之间的传输时延,扩展单元和远端单元之间的传输时延。Optionally, the above-mentioned Mth time is the corresponding time after the Mth 1PPS plus the preset compensation duration. Further, the preset compensation time length is a time length determined according to the time delay, and the time delay includes at least one of the following: the time delay generated when the network packet corresponding to the IQ data is transmitted between the BBU unit and the CB unit; the IQ data includes downlink IQ data and Uplink IQ data; the inherent delay corresponding to the CB unit, the extension unit and the remote unit, the transmission delay between the CB unit and the extension unit, and the transmission delay between the extension unit and the remote unit.
在另一个实施例提供的数据传输方法中,上述方法还可以包括:CB单元接收BBU单元发送的监控指令;监控指令用于获取监控数据;CB单元根据监控指令向BBU单元发送协议转换后的监控数据。In the data transmission method provided by another embodiment, the above method may further include: the CB unit receives the monitoring instruction sent by the BBU unit; the monitoring instruction is used to obtain the monitoring data; the CB unit sends the monitoring instruction after protocol conversion to the BBU unit according to the monitoring instruction data.
具体的,本实施例中,监控指令可以为指示CB单元向BBU单元发送监控数据的指令。上述监控数据可以包括对CB单元的各个监控参数的配置数据、对CB单元的各个监控参数的读取数据、对CB单元的升级数据、对CB单元的的重启数据和对CB单元的日志收集数据中的至少一个。Specifically, in this embodiment, the monitoring instruction may be an instruction instructing the CB unit to send monitoring data to the BBU unit. The above-mentioned monitoring data may include configuration data of various monitoring parameters of the CB unit, read data of various monitoring parameters of the CB unit, upgrade data of the CB unit, restart data of the CB unit, and log collection data of the CB unit At least one of them.
可选的,上述BBU单元可以定时或按预设的周期向CB单元发送监控指令,对应的,CB单元可以根据接收的BBU单元发送的监控指令,利用CB单元的监控系统获取CB单元的监控数据,并将获取的CB单元的监控数据发送至BBU单元。Optionally, the above-mentioned BBU unit can send monitoring instructions to the CB unit regularly or according to a preset cycle. Correspondingly, the CB unit can use the monitoring system of the CB unit to obtain the monitoring data of the CB unit according to the received monitoring instruction sent by the BBU unit. , And send the acquired monitoring data of the CB unit to the BBU unit.
可选的,上述监控指令还用于指示CB单元进行升级,数据传输方法,还包括:CB单元根据监控指令,对CB单元进行升级操作。Optionally, the foregoing monitoring instruction is also used to instruct the CB unit to upgrade, and the data transmission method further includes: the CB unit performs an upgrade operation on the CB unit according to the monitoring instruction.
应该理解的是,虽然图2至图5的流程图中的各个步骤按照箭头的指示依 次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2至图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. 2 to 5 are shown in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in FIGS. 2 to 5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. These sub-steps or The execution order of the stages is not necessarily carried out sequentially, but may be executed alternately or alternately with other steps or at least a part of other steps or sub-steps or stages.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
BBU单元接收CB单元发送的定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;CB单元还用于对从扩展单元和BBU单元接收到的数据分别进行协议转换;The BBU unit receives the timing information sent by the CB unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data; the CB unit is also used to perform protocol conversion on the data received from the extension unit and the BBU unit respectively;
BBU单元根据定时信息向CB单元发送下行IQ数据,或者,根据定时信息接收CB单元发送的协议转换之后的上行IQ数据。The BBU unit sends the downlink IQ data to the CB unit according to the timing information, or receives the uplink IQ data after the protocol conversion sent by the CB unit according to the timing information.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
CB单元对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向BBU单元发送定时信息;定时信息用于指示BBU单元发送下行数据或接收上行数据;The CB unit performs protocol conversion on the data received from the extension unit and the BBU unit respectively, and sends timing information to the BBU unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data;
CB单元基于协议转换后的数据分别与扩展单元和BBU单元进行数据通信。The CB unit performs data communication with the expansion unit and the BBU unit respectively based on the data after the protocol conversion.

Claims (19)

  1. 一种室内分布式系统,其特征在于,所述室内分布式系统包括:BBU单元、协议转换CB单元、扩展单元和远端单元,所述CB单元分别与所述BBU单元和所述扩展单元通信连接,所述扩展单元与所述远端单元通信连接;An indoor distributed system, characterized in that the indoor distributed system includes: a BBU unit, a protocol conversion CB unit, an extension unit, and a remote unit, and the CB unit communicates with the BBU unit and the extension unit, respectively Connected, the expansion unit is communicatively connected with the remote unit;
    所述CB单元,用于对从所述扩展单元和所述BBU单元接收到的数据分别进行协议转换,以及向所述BBU单元发送定时信息;所述定时信息用于指示所述BBU单元发送下行数据或接收上行数据;The CB unit is used to perform protocol conversion on the data received from the extension unit and the BBU unit respectively, and to send timing information to the BBU unit; the timing information is used to instruct the BBU unit to send downlink Data or receive uplink data;
    所述BBU单元,用于根据所述定时信息以及协议转换后的数据与所述CB单元进行数据通信。The BBU unit is configured to perform data communication with the CB unit according to the timing information and data after protocol conversion.
  2. 根据权利要求1所述的室内分布式系统,其特征在于,所述BBU单元包括DMA控制单元、DPDK网卡和CPU;所述DMA控制单元与所述DPDK网卡连接,所述CPU分别与所述DMA控制单元和所述DPDK网卡连接。The indoor distributed system according to claim 1, wherein the BBU unit includes a DMA control unit, a DPDK network card, and a CPU; the DMA control unit is connected to the DPDK network card, and the CPU is connected to the DMA The control unit is connected with the DPDK network card.
  3. 根据权利要求2所述的室内分布式系统,其特征在于,所述定时信息为所述CB单元在第N时刻发送的第一中断消息;所述第一中断消息携带第一目标子帧标识;The indoor distributed system according to claim 2, wherein the timing information is a first interrupt message sent by the CB unit at the Nth time; the first interrupt message carries a first target subframe identifier;
    所述BBU单元,用于在所述第一目标子帧标识对应的下行子帧上,向所述CB单元发送下行IQ数据,并将所述BBU单元的内存空间中第N+1时刻的待发送下行IQ数据存储至所述BBU单元的缓存空间。The BBU unit is configured to send downlink IQ data to the CB unit on the downlink subframe corresponding to the first target subframe identifier, and to set the waiting time of the N+1 time in the memory space of the BBU unit The sent downlink IQ data is stored in the buffer space of the BBU unit.
  4. 根据权利要求3所述的室内分布式系统,其特征在于,所述DMA控制单元,用于根据所述第一目标子帧标识,确定所述第一目标子帧标识对应的所述下行IQ数据;并将所述BBU单元的缓存空间中的所述下行IQ数据写入所述DPDK网卡中的网卡队列;The indoor distributed system according to claim 3, wherein the DMA control unit is configured to determine the downlink IQ data corresponding to the first target subframe identifier according to the first target subframe identifier ; And write the downlink IQ data in the buffer space of the BBU unit into the network card queue in the DPDK network card;
    所述DPDK网卡,用于确定所述下行IQ数据的优先级;The DPDK network card is used to determine the priority of the downlink IQ data;
    所述CPU,用于按照所述下行IQ数据的优先级确定所述下行IQ数据的发送 顺序,并在所述下行IQ数据的发送顺序到达时发送所述下行IQ数据。The CPU is configured to determine the sending sequence of the downlink IQ data according to the priority of the downlink IQ data, and send the downlink IQ data when the sending sequence of the downlink IQ data arrives.
  5. 根据权利要求3所述的室内分布式系统,其特征在于,所述第N时刻为第N个1PPS减去预设补偿时长后对应的时刻。The indoor distributed system according to claim 3, wherein the Nth time is the corresponding time after the Nth 1PPS minus a preset compensation period.
  6. 根据权利要求2所述的室内分布式系统,其特征在于,所述定时信息为所述CB单元在第M时刻发送的第二中断消息;所述第二中断消息携带第二目标子帧标识;The indoor distributed system according to claim 2, wherein the timing information is a second interrupt message sent by the CB unit at the Mth time; the second interrupt message carries a second target subframe identifier;
    所述CB单元,还用于在第M时刻之后向所述BBU单元发送第一上行IQ数据;The CB unit is further configured to send first uplink IQ data to the BBU unit after the Mth time;
    所述BBU单元,用于接收所述CB单元发送的所述第一上行IQ数据,并将所述DPDK网卡的网卡队列中第二上行IQ数据存储至所述BBU单元的内存空间;所述第二上行IQ数据为所述BBU单元在第M-1时刻接收的所述CB单元发送的上行IQ数据。The BBU unit is configured to receive the first uplink IQ data sent by the CB unit, and store the second uplink IQ data in the network card queue of the DPDK network card in the memory space of the BBU unit; The second uplink IQ data is the uplink IQ data sent by the CB unit received by the BBU unit at time M-1.
  7. 根据权利要求6所述的室内分布式系统,其特征在于,所述DPDK网卡,用于确定所述第一上行IQ数据的优先级,并按照所述第一上行IQ数据的优先级确定所述第一上行IQ数据的接收顺序,并在所述第一上行IQ数据的接收顺序到达时接收所述第一上行IQ数据;The indoor distributed system according to claim 6, wherein the DPDK network card is used to determine the priority of the first uplink IQ data, and determine the priority of the first uplink IQ data according to the priority of the first uplink IQ data. Receiving sequence of the first uplink IQ data, and receiving the first uplink IQ data when the receiving sequence of the first uplink IQ data arrives;
    所述CPU,还用于将所述第二上行IQ数据写入所述BBU单元的缓存空间,并将所述BBU单元的缓存空间中的所述第二上行IQ数据写入所述BBU单元的内存空间。The CPU is further configured to write the second uplink IQ data into the buffer space of the BBU unit, and write the second uplink IQ data in the buffer space of the BBU unit into the buffer space of the BBU unit. Memory space.
  8. 根据权利要求6所述的室内分布式系统,其特征在于,所述第M时刻为第M个1PPS加上预设补偿时长后对应的时刻。The indoor distributed system according to claim 6, wherein the M-th time is the corresponding time after the M-th 1PPS plus a preset compensation period.
  9. 根据权利要求5或8所述的室内分布式系统,其特征在于,所述预设补偿时长为根据时延确定的时长,所述时延包括以下至少一种:The indoor distributed system according to claim 5 or 8, wherein the preset compensation time length is a time length determined according to a time delay, and the time delay includes at least one of the following:
    所述BBU单元和所述CB单元之间传输所述IQ数据对应的网络包时产生的时延;所述IQ数据包括下行IQ数据和所述上行IQ数据;The time delay generated when the network packet corresponding to the IQ data is transmitted between the BBU unit and the CB unit; the IQ data includes downlink IQ data and the uplink IQ data;
    所述CB单元、所述扩展单元和所述远端单元分别对应的固有时延;The respective inherent delays of the CB unit, the extension unit, and the remote unit;
    所述CB单元和所述扩展单元之间的传输时延;The transmission delay between the CB unit and the extension unit;
    所述扩展单元和所述远端单元之间的传输时延。The transmission delay between the extension unit and the remote unit.
  10. 根据权利要求2所述的室内分布式系统,其特征在于,所述BBU单元,还用于向所述CB单元发送监控指令;The indoor distributed system according to claim 2, wherein the BBU unit is further configured to send a monitoring instruction to the CB unit;
    所述CB单元还用于根据所述监控指令向所述BBU单元发送监控数据。The CB unit is further configured to send monitoring data to the BBU unit according to the monitoring instruction.
  11. 根据权利要求10所述的室内分布式系统,其特征在于,所述CPU,用于将所述监控指令从所述BBU单元的内存空间写入所述BBU单元的缓存空间;The indoor distributed system according to claim 10, wherein the CPU is configured to write the monitoring instruction from the memory space of the BBU unit into the buffer space of the BBU unit;
    所述DMA控制单元,用于将所述监控指令从所述BBU单元的缓存空间写入所述DPDK网卡中的网卡队列;The DMA control unit is configured to write the monitoring instruction from the buffer space of the BBU unit into the network card queue in the DPDK network card;
    所述DPDK网卡,用于确定所述监控指令的优先级;The DPDK network card is used to determine the priority of the monitoring instruction;
    所述CPU,还用于按照所述监控指令的优先级确定所述监控指令的发送顺序,并在所述监控指令的发送顺序到达时发送所述监控指令。The CPU is further configured to determine the sending order of the monitoring instructions according to the priority of the monitoring instructions, and send the monitoring instructions when the sending order of the monitoring instructions arrives.
  12. 根据权利要求10所述的室内分布式系统,其特征在于,所述DPDK网卡,用于确定所述监控数据的优先级;并按照所述监控数据的优先级确定所述监控数据的接收顺序,并在所述监控数据的接收顺序到达时接收所述监控数据,并将所述监控数据写入所述DPDK网卡的网卡队列;The indoor distributed system according to claim 10, wherein the DPDK network card is used to determine the priority of the monitoring data; and to determine the receiving order of the monitoring data according to the priority of the monitoring data, And receiving the monitoring data when the receiving order of the monitoring data arrives, and writing the monitoring data into the network card queue of the DPDK network card;
    所述CPU,还用于将所述监控数据从所述DPDK网卡的网卡队列写入所述BBU单元的缓存空间,并将所述BBU单元的缓存空间中的所述监控数据写入所述BBU单元的内存空间。The CPU is further configured to write the monitoring data from the network card queue of the DPDK network card into the buffer space of the BBU unit, and write the monitoring data in the buffer space of the BBU unit into the BBU The memory space of the unit.
  13. 一种数据传输方法,其特征在于,所述数据传输方法包括:A data transmission method, characterized in that the data transmission method includes:
    BBU单元接收CB单元发送的定时信息;所述定时信息用于指示所述BBU单元发送下行数据或接收上行数据;所述CB单元还用于对从扩展单元和所述BBU单元接收到的数据分别进行协议转换;The BBU unit receives the timing information sent by the CB unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data; the CB unit is also used to separate the data received from the extension unit and the BBU unit. Perform protocol conversion;
    所述BBU单元根据所述定时信息向所述CB单元发送下行IQ数据,或者,根据所述定时信息接收所述CB单元发送的协议转换之后的上行IQ数据。The BBU unit sends downlink IQ data to the CB unit according to the timing information, or receives uplink IQ data sent by the CB unit after protocol conversion according to the timing information.
  14. 根据权利要求13所述的数据传输方法,其特征在于,所述定时信息为所述CB单元在第N时刻发送的第一中断消息;所述第一中断消息携带第一目标子帧标识;所述BBU单元根据所述定时信息向所述CB单元发送下行IQ数据,包括:The data transmission method according to claim 13, wherein the timing information is a first interrupt message sent by the CB unit at the Nth time; the first interrupt message carries a first target subframe identifier; The BBU unit sending downlink IQ data to the CB unit according to the timing information includes:
    所述BBU单元根据所述第一目标子帧标识,在所述第一目标子帧标识对应的下行子帧上,向所述CB单元发送下行IQ数据,并将所述BBU单元的内存空间中第N+1时刻的待发送下行IQ数据存储至所述BBU单元的缓存空间。The BBU unit sends the downlink IQ data to the CB unit on the downlink subframe corresponding to the first target subframe identifier according to the first target subframe identifier, and stores it in the memory space of the BBU unit The downlink IQ data to be sent at time N+1 is stored in the buffer space of the BBU unit.
  15. 根据权利要求13所述的数据传输方法,其特征在于,所述数据传输方法还包括:The data transmission method according to claim 13, wherein the data transmission method further comprises:
    所述BBU单元向所述CB单元发送监控指令,所述监控指令用于获取监控数据;The BBU unit sends a monitoring instruction to the CB unit, where the monitoring instruction is used to obtain monitoring data;
    所述BBU单元接收所述CB单元根据所述监控指令发送的监控数据。The BBU unit receives monitoring data sent by the CB unit according to the monitoring instruction.
  16. 一种数据传输方法,其特征在于,所述数据传输方法包括:A data transmission method, characterized in that the data transmission method includes:
    CB单元对从扩展单元和BBU单元接收到的数据分别进行协议转换,以及向所述BBU单元发送定时信息;所述定时信息用于指示所述BBU单元发送下行数据或接收上行数据;The CB unit performs protocol conversion on the data received from the extension unit and the BBU unit respectively, and sends timing information to the BBU unit; the timing information is used to instruct the BBU unit to send downlink data or receive uplink data;
    所述CB单元基于协议转换后的数据分别与所述扩展单元和所述BBU单元进行数据通信。The CB unit performs data communication with the extension unit and the BBU unit respectively based on the data after the protocol conversion.
  17. 根据权利要求16所述的数据传输方法,其特征在于,所述CB单元发送定时信息,包括:The data transmission method according to claim 16, wherein the sending timing information of the CB unit includes:
    所述定时信息为所述CB单元在第N时刻发送的第一中断消息;所述第一中断消息携带第一目标子帧标识;所述第一目标子帧标识用于指示所述BBU单元在所述第一目标子帧标识对应的下行子帧上,向所述CB单元发送下行IQ数据,并将所述BBU单元的内存空间中第N+1时刻的待发送下行IQ数据存储至所述BBU单元的缓存空间。The timing information is the first interrupt message sent by the CB unit at the Nth time; the first interrupt message carries a first target subframe identifier; the first target subframe identifier is used to indicate that the BBU unit is On the downlink subframe corresponding to the first target subframe identifier, the downlink IQ data is sent to the CB unit, and the downlink IQ data to be sent at time N+1 in the memory space of the BBU unit is stored in the The buffer space of the BBU unit.
  18. 根据权利要求16所述的数据传输方法,其特征在于,所述CB单元发送定时信息,包括:The data transmission method according to claim 16, wherein the sending timing information of the CB unit includes:
    所述CB单元在第M时刻发送的第二中断消息;所述第二中断消息携带第二目标子帧标识;A second interrupt message sent by the CB unit at the M-th moment; the second interrupt message carries a second target subframe identifier;
    所述CB单元在第M时刻之后向所述BBU单元发送第一上行IQ数据;Sending, by the CB unit, the first uplink IQ data to the BBU unit after the Mth time;
    其中,所述第二目标子帧标识指示所述BBU单元在所述第二目标子帧标识对应的子帧上接收所述CB单元发送的所述第一上行IQ数据,并将DPDK网卡的网卡队列中第二上行IQ数据存储至所述BBU单元的内存空间;所述第二上行IQ数据为所述BBU单元在第M-1时刻接收的所述CB单元发送的上行IQ数据。Wherein, the second target subframe identifier indicates that the BBU unit receives the first uplink IQ data sent by the CB unit on the subframe corresponding to the second target subframe identifier, and connects the network card of the DPDK network card The second uplink IQ data in the queue is stored in the memory space of the BBU unit; the second uplink IQ data is the uplink IQ data sent by the CB unit received by the BBU unit at the M-1th time.
  19. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求13至18中任一项所述方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any one of claims 13 to 18 when the computer program is executed by a processor.
PCT/CN2020/140294 2020-05-12 2020-12-28 Indoor distributed system, data transmission method, and storage medium WO2021227517A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010398502.X 2020-05-12
CN202010398502.XA CN111615074B (en) 2020-05-12 2020-05-12 Indoor distributed system, data transmission method, and storage medium

Publications (1)

Publication Number Publication Date
WO2021227517A1 true WO2021227517A1 (en) 2021-11-18

Family

ID=72198282

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140294 WO2021227517A1 (en) 2020-05-12 2020-12-28 Indoor distributed system, data transmission method, and storage medium

Country Status (2)

Country Link
CN (1) CN111615074B (en)
WO (1) WO2021227517A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111615074B (en) * 2020-05-12 2021-09-24 京信网络系统股份有限公司 Indoor distributed system, data transmission method, and storage medium
CN115021818A (en) * 2022-04-22 2022-09-06 三维通信股份有限公司 Ethernet networking system and networking method based on distributed base station

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098328A (en) * 2007-06-29 2008-01-02 中兴通讯股份有限公司 Base band and RF system synchronization and time delay compensation process
CN110049512A (en) * 2019-04-22 2019-07-23 武汉虹信通信技术有限责任公司 A kind of forward pass network data processing device and method
CN110072243A (en) * 2019-04-26 2019-07-30 嘉兴思睿通信科技有限公司 A kind of method and system enhancing 5G mobile broadband covering scene
CN110324085A (en) * 2019-07-08 2019-10-11 武汉虹信通信技术有限责任公司 A kind of antenna data processing method and radio frequency stretch system
CN110572847A (en) * 2019-09-29 2019-12-13 京信通信系统(中国)有限公司 Data transmission method, system, computer device and storage medium
US20200113016A1 (en) * 2018-10-05 2020-04-09 Digimetrik Llc CPRI/eCPRI Data Transmission Method in Cloud Radio Access Network
CN111615074A (en) * 2020-05-12 2020-09-01 京信通信系统(中国)有限公司 Indoor distributed system, data transmission method, and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998616B (en) * 2009-08-31 2014-05-14 国际商业机器公司 Wireless communication system base station and data transmission synchronizing method thereof
CN103220193B (en) * 2012-01-18 2016-08-10 京信通信系统(中国)有限公司 Ethernet access transmitting device in a kind of repeater and method
CN103152118B (en) * 2013-02-07 2015-08-12 中兴通讯股份有限公司 A kind of Base Band Unit and radio frequency unit data service synchronization, device and system
CN106211195A (en) * 2016-08-31 2016-12-07 武汉邮电科学研究院 A kind of indoor distributed covering system of LTE and method
CN110290533B (en) * 2019-06-24 2021-09-24 京信网络系统股份有限公司 Data transmission method, system, computer device and storage medium
CN110278572A (en) * 2019-06-24 2019-09-24 京信通信系统(中国)有限公司 Data transmission method, main computer unit, expanding element and base station system
CN110493671B (en) * 2019-08-07 2022-03-25 京信网络系统股份有限公司 Method and device for acquiring time delay adjustment value

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098328A (en) * 2007-06-29 2008-01-02 中兴通讯股份有限公司 Base band and RF system synchronization and time delay compensation process
US20200113016A1 (en) * 2018-10-05 2020-04-09 Digimetrik Llc CPRI/eCPRI Data Transmission Method in Cloud Radio Access Network
CN110049512A (en) * 2019-04-22 2019-07-23 武汉虹信通信技术有限责任公司 A kind of forward pass network data processing device and method
CN110072243A (en) * 2019-04-26 2019-07-30 嘉兴思睿通信科技有限公司 A kind of method and system enhancing 5G mobile broadband covering scene
CN110324085A (en) * 2019-07-08 2019-10-11 武汉虹信通信技术有限责任公司 A kind of antenna data processing method and radio frequency stretch system
CN110572847A (en) * 2019-09-29 2019-12-13 京信通信系统(中国)有限公司 Data transmission method, system, computer device and storage medium
CN111615074A (en) * 2020-05-12 2020-09-01 京信通信系统(中国)有限公司 Indoor distributed system, data transmission method, and storage medium

Also Published As

Publication number Publication date
CN111615074A (en) 2020-09-01
CN111615074B (en) 2021-09-24

Similar Documents

Publication Publication Date Title
WO2021227517A1 (en) Indoor distributed system, data transmission method, and storage medium
WO2018053852A1 (en) Radio bearer configuration method, device and system
US7782886B2 (en) Method for improving quality of service in a wireless network
CN1679369B (en) Apparatus and method for providing QoS service schedule and bandwidth allocation to a wireless station
US20120106418A1 (en) Client' device power reduction in wireless networks having network-computed client' location
US20070002884A1 (en) Usage of multiple SSIDs for doing fast WLAN network discovery
WO2007066914A1 (en) Wlan combo access point device for interface with wimedia uwb based wireless usb and software layer structure of combo access point device
WO2019084714A1 (en) System information sending method, apparatus, computer device, and storage medium
WO2021223683A1 (en) Communication method and apparatus based on non-simultaneous transmit and receive multi-link device
WO2013182128A1 (en) Service processing method and device
US6693891B1 (en) Communication control method and transmission unit
US20150103720A1 (en) Method and device for data transmission in wireless local area network
US20130052955A1 (en) Wireless communication apparatus
US7099961B2 (en) System including real-time data communication features
US9554327B2 (en) System coordinated WLAN scanning
US20090213824A1 (en) Wireless local area network packet transmitting and receiving system
CN115361704A (en) C2D communication system and I/O data communication method based on base station MAC sublayer direct transmission
TW201448630A (en) System architecture and transmission method for service continuity in heterogeneous wireless networks for user device
WO2022165818A1 (en) Wireless communication method, station device, and access point device
WO2021186588A1 (en) Base station, communication method, and communication program
US7924791B2 (en) Method of transmitting data packets between two slave units and a master unit comprising two processors
US20100080162A1 (en) Wireless communication system, wireless communication station, access point and wireless communication method
US20060056377A1 (en) Power-saving method for a wlan station
WO2021142726A1 (en) Method and apparatus for reporting information
CN100559765C (en) The method and bridge terminal and the described communication network that connect the subnet of communication network

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.04.23)

122 Ep: pct application non-entry in european phase

Ref document number: 20935255

Country of ref document: EP

Kind code of ref document: A1