[go: up one dir, main page]

CN102118191B - A general public radio interface data transfer method, device and system - Google Patents

A general public radio interface data transfer method, device and system Download PDF

Info

Publication number
CN102118191B
CN102118191B CN201010002214.4A CN201010002214A CN102118191B CN 102118191 B CN102118191 B CN 102118191B CN 201010002214 A CN201010002214 A CN 201010002214A CN 102118191 B CN102118191 B CN 102118191B
Authority
CN
China
Prior art keywords
radio interface
frame
data
microwave
public radio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010002214.4A
Other languages
Chinese (zh)
Other versions
CN102118191A (en
Inventor
蒋红丽
胡幸
李昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010002214.4A priority Critical patent/CN102118191B/en
Publication of CN102118191A publication Critical patent/CN102118191A/en
Application granted granted Critical
Publication of CN102118191B publication Critical patent/CN102118191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method, equipment and a system for transmitting common public radio interface data. The method comprises the following steps of: receiving the common public radio interface data; performing a synchronization processing on the common public radio interface data to generate a hyper-frame frame head index signal of a common public radio interface; generating the frame format information of a basic frame of the common public radio interface according to the hyper-frame frame head index signal of the common public radio interface and a predetermined adaptive modulation parameter; generating a compressed frame of the common public radio interface according to the hyper-frame frame head index signal of the common pubic radio interface, the adaptive modulation parameters and the frame format information of the basic frame of the common pubic radio interface; and generating microwave data according to the compressed frame of the common pubic radio interface and the frame format information of the basic frame and transmitting the microwave data. In the method, the equipment and the system, the common public radio interface data can be transmitted by using microwave equipment, so that a distributed base station system can use the microwave equipment and the flexibility of equipment deployment is improved.

Description

一种通用公共无线接口数据的传递方法、设备及系统A general public radio interface data transfer method, device and system

技术领域 technical field

本发明涉及移动通信领域,尤其涉及一种通用公共无线接口数据的传递方法、设备及系统。The invention relates to the field of mobile communication, in particular to a method, device and system for transferring data of a general public radio interface.

背景技术 Background technique

移动通信系统由核心网(Core Network,CN)、无线接入网(UniversalTerrestrial Radion Access Network,UTRAN)和用户设备(User Equipment,UE)组成。其中无线接入网由无线基站(Base Transceiver Station,BTS)和用于控制多个基站的基站控制器(Base Transceriver Control,BSC)或无线网络控制器(Radio Network Control,RNC)组成,传统无线基站的基带单元和射频单元集成在一起,无法完全分离,增加基带单元的同时也必须增加射频单元,导致射频单元资源浪费,不利于建网。The mobile communication system consists of a core network (Core Network, CN), a radio access network (Universal Terrestrial Radio Access Network, UTRAN) and user equipment (User Equipment, UE). The radio access network consists of a base station (Base Transceiver Station, BTS) and a base station controller (Base Transceriver Control, BSC) or radio network controller (Radio Network Control, RNC) for controlling multiple base stations. Traditional wireless base stations The baseband unit and the radio frequency unit are integrated together and cannot be completely separated. When the baseband unit is added, the radio frequency unit must also be added, which leads to waste of radio frequency unit resources and is not conducive to network construction.

分布式基站技术正是针对该问题提出的一种较有效的解决方案,分布式基站系统将无线基站分为基带处理单元(Base Band Unit,BBU)和射频拉远单元(Remote Radio Unit,RRU)两部分,两者之间通过光纤或电缆连接。在设备部署方面将核心网、无线网络控制器和基带处理单元集中于一个地点,在规划的站点上部署射频拉远设备以实现无线覆盖。因为RRU具有体积小、重量轻、安装简单方便等特点,可以直接安装于靠近天线位置的金属桅杆或墙面上,所以分布式基站系统具有低成本、部署灵活、扩容方便等特点。Distributed base station technology is a more effective solution to this problem. The distributed base station system divides the wireless base station into a base band processing unit (Base Band Unit, BBU) and a remote radio unit (Remote Radio Unit, RRU) Two parts, connected by optical fiber or cable. In terms of equipment deployment, the core network, wireless network controller and baseband processing unit are concentrated in one place, and remote radio equipment is deployed on the planned site to achieve wireless coverage. Because the RRU has the characteristics of small size, light weight, simple and convenient installation, etc., it can be directly installed on the metal mast or wall near the antenna, so the distributed base station system has the characteristics of low cost, flexible deployment, and convenient expansion.

通用公共无线接口(Common Pubilic Radio Interface,CPRI)为BBU和RRU之间的一种标准接口,在CPRI规范中,CPRI协议栈分为三个平面:用户平面(User Plane)、控制管理平面(C&M Plane)和同步平面(SYNC)。其中,用户平面用于传输用户数据,控制管理平面用于传输实时性要求比较高的L1层带内协议、基于高速数据链路控制(HDLC)和基于以太网(Ethernet)的二层协议以及用户自定义字段,同步平面用于同步和定时。这三个平面的数据以时分复用(Time Division Multiple,TDM)的方式在电缆或光纤上传输。Common Public Radio Interface (CPRI) is a standard interface between BBU and RRU. In the CPRI specification, the CPRI protocol stack is divided into three planes: User Plane (User Plane), Control and Management Plane (C&M Plane) and synchronization plane (SYNC). Among them, the user plane is used to transmit user data, and the control and management plane is used to transmit L1-layer in-band protocols with high real-time requirements, high-speed data link control (HDLC)-based and Ethernet-based (Ethernet)-based layer 2 protocols, and user Custom fields, sync planes for synchronization and timing. The data of these three planes is transmitted on cables or optical fibers in the form of Time Division Multiplex (TDM).

微波(Microwave,MW)传送由于不需要铺设光纤或是电缆,直接通过空间传送数据,所以在城市、偏远地区或者特殊地区(例如河流等)具有明显的工程优势,因此被应用于传统移动通信系统中,用于传送BBU和RNC之间的客户信号,例如TDM E1业务数据和以太网(Ethernet,ETH)业务数据。Microwave (MW) transmission has obvious engineering advantages in cities, remote areas or special areas (such as rivers, etc.) because it does not need to lay optical fibers or cables, and directly transmits data through space, so it is applied to traditional mobile communication systems Among them, it is used to transmit client signals between the BBU and the RNC, such as TDM E1 service data and Ethernet (Ethernet, ETH) service data.

在实现本发明过程中,发明人发现现有技术中至少存在如下问题:传统的无线基站将RRU和BBU集成在一个设备上,但分布式基站系统将RRU和BBU分离设置,导致RRU和BBU之间存在光纤不可达的问题,而现有微波设备只支持E1和ETH等客户信号,不支持CPRI这样一种新的客户信号。In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: the traditional wireless base station integrates the RRU and the BBU on one device, but the distributed base station system sets the RRU and the BBU separately, resulting in a gap between the RRU and the BBU. There is a problem of unreachable optical fiber, and existing microwave equipment only supports client signals such as E1 and ETH, and does not support a new client signal such as CPRI.

发明内容 Contents of the invention

为了克服现有技术中的缺陷,本发明实施例提供了一种CPRI数据的传递方法、设备及系统,以支持微波传递CPRI数据。In order to overcome the defects in the prior art, the embodiments of the present invention provide a method, device and system for transmitting CPRI data, so as to support microwave transmission of CPRI data.

本发明实施例一种通用公共无线接口数据发送方法,该方法包括:接收通用公共无线接口数据;对所述通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号;根据所述通用公共无线接口超帧帧头指示信号和预设的自适应调制参数生成通用公共无线接口基本帧帧格式信息;根据所述通用公共无线接口超帧帧头指示信号、自适应调制参数和通用公共无线接口基本帧帧格式信息生成通用公共无线接口压缩帧;根据所述通用公共无线接口压缩帧和通用公共无线接口基本帧帧格式信息生成微波数据并发送。According to an embodiment of the present invention, a method for sending UPRI data, the method includes: receiving UPRI data; synchronizing the UPRI data to generate a UPRI superframe header indication signal; The general public radio interface superframe frame header indication signal and the preset adaptive modulation parameters generate the general public radio interface basic frame frame format information; according to the general public radio interface superframe frame header indication signal, the adaptive modulation parameters and The basic UPI frame format information generates UPI compressed frames; generates and transmits microwave data according to the UPI compressed frames and the UPI basic frame format information.

本发明实施例还一种通用公共无线接口数据接收方法,该方法包括:接收微波数据;对所述微波数据进行同步以提取微波净荷和微波开销;解析所述微波开销以提取通用公共无线接口基本帧帧格式信息;解适配所述微波净荷以提取通用公共无线接口压缩帧;根据所述通用公共无线接口压缩帧生成通用公共无线接口超帧帧头指示信号;根据所述通用公共无线接口超帧帧头指示信号和通用公共无线接口基本帧帧格式信息生成通用公共无线接口数据并发送。An embodiment of the present invention also provides a general public radio interface data receiving method, the method comprising: receiving microwave data; synchronizing the microwave data to extract the microwave payload and microwave overhead; parsing the microwave overhead to extract the general public radio interface Basic frame frame format information; deadapting the microwave payload to extract the general public radio interface compressed frame; generating a general public radio interface superframe header indication signal according to the general public radio interface compressed frame; according to the general public radio interface The interface superframe header indication signal and the general public radio interface basic frame frame format information generate and send the general public radio interface data.

本发明实施例又一种通用公共无线接口数据发送装置,该装置包括:上行接收单元,用于接收通用公共无线接口数据;上行同步单元,用于对所述并行通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号;帧格式信息获取单元,用于根据所述通用公共无线接口超帧帧头指示信号和预设的自适应调制参数生成通用公共无线接口基本帧帧格式信息;压缩单元,用于根据所述通用公共无线接口超帧帧头指示信号、自适应调制参数和通用公共无线接口基本帧帧格式信息生成通用公共无线接口压缩帧;微波数据生成单元,用于根据所述通用公共无线接口压缩帧和通用公共无线接口基本帧帧格式信息生成微波数据;上行发送单元,用于将所述微波数据发送。Another UPRI data transmission device according to an embodiment of the present invention, the device includes: an uplink receiving unit for receiving UPRI data; an uplink synchronization unit for synchronizing the parallel UPRI data To generate the general public radio interface superframe frame header indication signal; the frame format information acquisition unit is used to generate the general public radio interface basic frame frame according to the general public radio interface superframe frame header indication signal and preset adaptive modulation parameters Format information; a compression unit, used to generate a general public radio interface compressed frame according to the general public radio interface superframe header indication signal, adaptive modulation parameters and general public radio interface basic frame frame format information; a microwave data generation unit, using The microwave data is generated according to the UPI compressed frame and the UPI basic frame format information; the uplink sending unit is configured to send the microwave data.

本发明实施例再一种通用公共无线接口数据接收装置,该装置包括:下行接收单元,用于接收微波数据;微波解复接单元,用于对微波数据进行同步以提取微波净荷和微波开销;微波开销解析单元,用于解析所述微波开销以提取通用公共无线接口基本帧帧格式信息;微波净荷解适配单元,用于从所述微波净荷解适配出通用公共无线接口压缩帧;下行同步单元,用于对所述通用公共无线接口压缩帧进行同步以生成通用公共无线接口超帧帧头指示信号;解压缩单元,用于根据所述通用公共无线接口超帧帧头指示信号和通用公共无线接口基本帧帧格式信息解压缩出通用公共无线接口数据;下行发送单元,用于发送所述通用公共无线接口数据。Another general public radio interface data receiving device in the embodiment of the present invention, the device includes: a downlink receiving unit for receiving microwave data; a microwave demultiplexing unit for synchronizing microwave data to extract microwave payload and microwave overhead ; The microwave overhead parsing unit is used to parse the microwave overhead to extract the general public radio interface basic frame frame format information; the microwave payload de-adaptation unit is used to de-adapt the general public radio interface compression from the microwave payload frame; a downlink synchronization unit, configured to synchronize the UPI compressed frame to generate a UPI superframe header indication signal; a decompression unit, configured to indicate according to the UPI superframe header The signal and the basic frame format information of the common public radio interface are decompressed to obtain the common public radio interface data; the downlink sending unit is configured to send the common public radio interface data.

本发明实施例还一种通用公共无线接口数据的转递系统,该系统包括:第一微波设备和第二微波设备;第一微波设备与射频拉远单元连接,用于接收射频拉远单元发送的通用公共无线接口数据,将所述通用公共无线接口数据转换为微波数据并发送至第二微波设备;以及,接收第二微波设备发送的微波数据,将该微波数据转换为通用公共无线接口数据并发送至射频拉远单元;第二微波设备与基带处理单元连接,用于接收所述第一微波设备发送的微波数据,将所述微波数据转换为通用公共无线接口数据并发送至基带处理单元;以及,接收基带处理单元发送的通用公共无线接口数据,将该通用公共无线接口数据转换为微波数据并发送至第一微波设备。An embodiment of the present invention is also a general public wireless interface data transfer system, the system includes: a first microwave device and a second microwave device; the first microwave device is connected to a remote radio unit, and is used to receive the remote radio unit. The UPI data, converting the UPI data into microwave data and sending it to the second microwave device; and receiving the microwave data sent by the second microwave device, converting the microwave data into UPI data and sent to the radio remote unit; the second microwave device is connected to the baseband processing unit for receiving the microwave data sent by the first microwave device, converting the microwave data into general public radio interface data and sending it to the baseband processing unit and, receiving the UPI data sent by the baseband processing unit, converting the UPI data into microwave data and sending it to the first microwave device.

上述技术方案具有如下优点或有益效果:通过提供一种CPRI数据的传递方法、设备及系统,可以使用微波设备传递CPRI数据,从而使分布式基站系统可以应用微波设备,提高了设备部署的灵活性。The above technical solution has the following advantages or beneficial effects: by providing a CPRI data transmission method, equipment and system, microwave equipment can be used to transmit CPRI data, so that microwave equipment can be used in distributed base station systems, and the flexibility of equipment deployment is improved .

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例提供一种CPRI数据发送方法的流程图;Fig. 1 provides the flowchart of a kind of CPRI data sending method for the embodiment of the present invention;

图2为本发明实施例提供一种CPRI数据发送方法的流程图;Fig. 2 provides the flowchart of a kind of CPRI data transmission method for the embodiment of the present invention;

图3为本发明实施例提供一种压缩CPRI基帧的结构示意图;FIG. 3 is a schematic structural diagram of a compressed CPRI base frame provided by an embodiment of the present invention;

图4为本发明实施例提供一种CPRI数据发送方法的流程图;Fig. 4 provides the flowchart of a kind of CPRI data sending method for the embodiment of the present invention;

图5为本发明实施例提供一种CPRI数据接收方法的流程图;FIG. 5 is a flowchart of a method for receiving CPRI data provided by an embodiment of the present invention;

图6为本发明实施例提供一种CPRI数据接收方法的流程图;6 is a flow chart of a method for receiving CPRI data provided by an embodiment of the present invention;

图7为本发明实施例提供一种CPRI数据发送装置的结构图;FIG. 7 is a structural diagram of a CPRI data sending device provided by an embodiment of the present invention;

图8为本发明一优选实施例提供一种CPRI数据发送装置中压缩单元的结构图;Fig. 8 provides a structural diagram of a compression unit in a CPRI data sending device according to a preferred embodiment of the present invention;

图9为本发明一优选实施例提供一种CPRI数据发送装置中微波数据生成单元的结构图;Fig. 9 provides a structural diagram of a microwave data generating unit in a CPRI data sending device according to a preferred embodiment of the present invention;

图10为本发明实施例提供一种CPRI数据发送装置的结构图;FIG. 10 is a structural diagram of a CPRI data sending device provided by an embodiment of the present invention;

图11为本发明实施例提供一种CPRI数据接收装置的结构图;FIG. 11 is a structural diagram of a CPRI data receiving device provided by an embodiment of the present invention;

图12为本发明实施例提供一种CPRI数据接收装置的结构图;FIG. 12 is a structural diagram of a CPRI data receiving device provided by an embodiment of the present invention;

图13为本发明实施例提供一种CPRI数据的转递系统的结构图;FIG. 13 is a structural diagram of a CPRI data transfer system provided by an embodiment of the present invention;

图14为本发明实施例提供一种用于传递CPRI数据的微波设备的结构图;FIG. 14 is a structural diagram of a microwave device for transmitting CPRI data according to an embodiment of the present invention;

图15为本发明一优选实施例提供一种用于传递CPRI数据的微波设备中CPRI帧压缩单元的结构图;FIG. 15 is a structural diagram of a CPRI frame compression unit in a microwave device for transmitting CPRI data according to a preferred embodiment of the present invention;

图16为本发明一优选实施例提供一种用于传递CPRI数据的微波设备中CPRI压缩帧同步单元的结构图;FIG. 16 is a structural diagram of a CPRI compression frame synchronization unit provided in a microwave device for transmitting CPRI data according to a preferred embodiment of the present invention;

图17为本发明一优选实施例提供的与基带处理单元BBU相连的微波设备上行方向的时钟方案的示意图;17 is a schematic diagram of a clock scheme in the uplink direction of microwave equipment connected to the baseband processing unit BBU provided by a preferred embodiment of the present invention;

图18a、图18b为本发明一优选实施例提供的与基带处理单元BBU相连的微波设备下行方向的时钟方案的示意图;Fig. 18a and Fig. 18b are schematic diagrams of the clock scheme in the downlink direction of the microwave equipment connected to the baseband processing unit BBU provided by a preferred embodiment of the present invention;

图19为本发明一优选实施例提供的与射频拉远单元RRU相连的微波设备下行方向的时钟方案的示意图;Fig. 19 is a schematic diagram of a clock scheme in the downlink direction of a microwave device connected to a remote radio unit RRU provided by a preferred embodiment of the present invention;

图20a、图20b为本发明一优选实施例提供的与射频拉远单元RRU相连的微波设备上行方向的时钟方案的示意图。Fig. 20a and Fig. 20b are schematic diagrams of a clock scheme in the uplink direction of a microwave device connected to a remote radio unit RRU provided by a preferred embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

实施例一Embodiment one

本发明实施例提供一种通用公共无线接口数据发送方法,如图1所示,该方法包括:An embodiment of the present invention provides a general public wireless interface data transmission method, as shown in Figure 1, the method includes:

步骤101,接收通用公共无线接口数据;Step 101, receiving GPRI data;

步骤102,对通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号;Step 102, synchronizing the UPRI data to generate a UPRI superframe header indication signal;

在本实施例中,对通用公共无线接口(CPRI)数据进行同步处理具体为:搜索CPRI超帧内的控制字Z.0.0的同步字节K28.5,以及控制字Z.64.0的超帧号HFN,从而获得CPRI超帧同步。然后可以在CPRI超帧同步的基础上进一步实现CPRI帧同步,获取CPRI超帧帧头指示信号;In this embodiment, the synchronous processing of the data of the Common Public Radio Interface (CPRI) is specifically: searching for the synchronization byte K28.5 of the control word Z.0.0 in the CPRI superframe, and the superframe number of the control word Z.64.0 HFN, thereby obtaining CPRI superframe synchronization. Then the CPRI frame synchronization can be further realized on the basis of the CPRI superframe synchronization, and the CPRI superframe header indication signal can be obtained;

步骤103,根据通用公共无线接口超帧帧头指示信号和预设的自适应调制参数生成通用公共无线接口基本帧帧格式信息;Step 103, generating general public radio interface basic frame frame format information according to the general public radio interface superframe header indication signal and preset adaptive modulation parameters;

步骤104,根据通用公共无线接口超帧帧头指示信号、自适应调制参数和通用公共无线接口基本帧帧格式信息生成通用公共无线接口压缩帧;Step 104, generating a general public radio interface compressed frame according to the general public radio interface superframe header indication signal, adaptive modulation parameters and general public radio interface basic frame frame format information;

步骤105,根据所述通用公共无线接口压缩帧和通用公共无线接口基本帧帧格式信息生成微波数据并发送。Step 105: Generate and send microwave data according to the frame format information of the UPRI compressed frame and UPRI basic frame.

本发明实施例提供的一种通用公共无线接口数据的传递方法,可以使用微波设备传递通用公共无线接口数据,从而使分布式基站系统可以应用微波设备,提高了设备部署的灵活性。The method for transmitting GPRI data provided by the embodiment of the present invention can use microwave equipment to transmit GPRI data, so that microwave equipment can be used in a distributed base station system, and the flexibility of equipment deployment is improved.

实施例二Embodiment two

本发明实施例提供一种通用公共无线接口数据发送方法,如图2所示,该方法包括:An embodiment of the present invention provides a general public wireless interface data transmission method, as shown in Figure 2, the method includes:

步骤201,接收通用公共无线接口(CPRI)数据;Step 201, receiving Common Public Radio Interface (CPRI) data;

步骤202,对CPRI数据进行同步处理以生成CPRI超帧帧头指示信号;Step 202, synchronizing the CPRI data to generate a CPRI superframe header indication signal;

在本实施例中,对并行CPRI数据进行同步处理具体为:搜索CPRI超帧内的控制字Z.0.0的同步字节K28.5,以及控制字Z.64.0的超帧号HFN,从而获得CPRI超帧同步。然后可以在CPRI超帧同步的基础上进一步实现CPRI帧同步,获取CPRI超帧帧头指示信号;In this embodiment, the synchronization processing of parallel CPRI data is specifically: searching for the synchronization byte K28.5 of the control word Z.0.0 in the CPRI superframe, and the superframe number HFN of the control word Z.64.0, thereby obtaining the CPRI Superframe synchronization. Then the CPRI frame synchronization can be further realized on the basis of the CPRI superframe synchronization, and the CPRI superframe header indication signal can be obtained;

步骤203,根据CPRI超帧帧头指示信号和预设的自适应调制参数生成CPRI基本帧帧格式信息;Step 203, generating CPRI basic frame frame format information according to the CPRI superframe header indication signal and preset adaptive modulation parameters;

该CPRI基本帧帧格式信息包括:有效AxC在CPRI基本帧中的位置、有效AxC的比特数、CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置;The CPRI basic frame frame format information includes: the position of the effective AxC in the CPRI basic frame, the number of bits of the effective AxC, the number of bytes of the CPRI compressed frame, and the position of the effective AxC in the CPRI compressed frame;

由于微波传送会受天气等外界因素影响,当天气等外界因素发生变化时,微波空口的链路性能也会发生变化,为了保证一定的误码率或者微波系统的可用度,微波系统将自动调整发送端和接收端的调制解调算法,即自适应调制AM(Adaptive Modulate)。自适应调制的主要功能是检测接收端空口的链路性能指标,并根据检测结果,协商并切换发送端和接收端的调制、解调制算法。当微波的调制解调算法发生改变,即微波做自适应调制操作后,微波空口的传送速率将发生改变,微波设备能够传送的业务数据速率也会随之发生改变。当调制解调算法变化后,通常,微波复接/解复接也可能发生改变,以适应变化后的调制解调算法。Because microwave transmission is affected by external factors such as weather, when the weather and other external factors change, the link performance of the microwave air interface will also change. In order to ensure a certain bit error rate or the availability of the microwave system, the microwave system will automatically adjust The modulation and demodulation algorithm of the sending end and the receiving end, that is, adaptive modulation AM (Adaptive Modulate). The main function of adaptive modulation is to detect the link performance indicators of the air interface at the receiving end, and negotiate and switch the modulation and demodulation algorithms at the sending end and receiving end according to the detection results. When the microwave modulation and demodulation algorithm changes, that is, after the microwave performs adaptive modulation operations, the transmission rate of the microwave air interface will change, and the service data rate that the microwave equipment can transmit will also change accordingly. When the modulation and demodulation algorithm is changed, generally, microwave multiplexing/demultiplexing may also be changed to adapt to the changed modulation and demodulation algorithm.

其中,本实施例提供以下两种生成CPRI基本帧帧格式信息的方法:Wherein, the present embodiment provides the following two methods for generating CPRI basic frame frame format information:

1、根据所述CPRI超帧帧头指示信号,提取CPRI基本帧的控制字;解析所述的CPRI基本帧的控制字所支持的高速数据链路控制(HDLC,High DataLink Control)或以太网信道以获得该CPRI基本帧包含的有效AxC在CPRI基本帧中的位置和有效AxC的比特数;1. Extract the control word of the CPRI basic frame according to the CPRI superframe header indication signal; analyze the high-speed data link control (HDLC, High DataLink Control) or Ethernet channel supported by the control word of the CPRI basic frame Obtain the position of the effective AxC included in the CPRI basic frame in the CPRI basic frame and the number of bits of the effective AxC;

根据所述自适应调制参数和有效AxC的比特数计算CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置;Calculate the number of bytes of the CPRI compressed frame and the position of the effective AxC in the CPRI compressed frame according to the adaptive modulation parameter and the number of bits of the effective AxC;

根据CPRI规范,CPRI支持基于HDLC的慢速C&M(控制与管理)信道和基于以太网的快速C&M信道,各AxC容器在CPRI基本帧中的位置等在内的CPRI基本帧帧格式信息是通过承载在这两类C&M信道上的CPRI规范本身未标准化的控制与管理信令在RRU和BBU之间交换的,因此为了提取这一信息以便进行CPRI帧压缩,微波设备需要对CPRI链路进行帧同步,然后监视C&M信道上的控制与管理信令,从而提取CPRI基本帧帧格式信息。According to the CPRI specification, CPRI supports HDLC-based slow C&M (control and management) channel and Ethernet-based fast C&M channel. CPRI basic frame format information including the position of each AxC container in the CPRI basic frame is carried by The CPRI specification itself does not standardize the control and management signaling on these two types of C&M channels. The control and management signaling is exchanged between the RRU and the BBU. Therefore, in order to extract this information for CPRI frame compression, the microwave equipment needs to perform frame synchronization on the CPRI link. , and then monitor the control and management signaling on the C&M channel, thereby extracting the frame format information of the CPRI basic frame.

2、根据所述CPRI超帧帧头指示信号监视CPRI基本帧的数据区以获得有效比特位置信息;2. Monitor the data area of the CPRI basic frame according to the CPRI superframe header indication signal to obtain valid bit position information;

根据所述有效比特位置信息计算该CPRI基本帧包含的有效AxC在CPRI基本帧中的位置和有效AxC的比特数;Calculate the position of the effective AxC contained in the CPRI basic frame and the number of bits of the effective AxC in the CPRI basic frame according to the effective bit position information;

根据所述自适应调制参数和有效AxC的比特数计算CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置。Calculate the number of bytes of the CPRI compressed frame and the position of the effective AxC in the CPRI compressed frame according to the adaptive modulation parameter and the number of bits of the effective AxC.

该方案无需对上述承载在HDLC或以太网上的非标准化的控制与管理信令进行监视,而直接通过对CPRI链路数据流的分析获得CPRI基本帧帧格式信息。因为在CPRI基本帧帧结构中,控制字的位置是固定的,而IQ数据块中若包含保留位,则这些保留位上的填充比特是固定不变的,相反AxC容器所占据的比特位则每帧可变。因此,可以利用这一性质直接通过对CPRI链路数据流的分析获得CPRI基本帧帧格式信息。This solution does not need to monitor the above-mentioned non-standardized control and management signaling carried on the HDLC or Ethernet, but directly obtains the frame format information of the CPRI basic frame by analyzing the data flow of the CPRI link. Because in the CPRI basic frame frame structure, the position of the control word is fixed, and if the IQ data block contains reserved bits, the stuffing bits on these reserved bits are fixed, on the contrary, the bits occupied by the AxC container are Variable per frame. Therefore, this property can be used to directly obtain the frame format information of the CPRI basic frame by analyzing the CPRI link data flow.

步骤204,根据CPRI超帧帧头指示信号、自适应调制参数和CPRI基本帧帧格式信息生成CPRI压缩帧;Step 204, generating a CPRI compressed frame according to the CPRI superframe header indication signal, adaptive modulation parameters and CPRI basic frame frame format information;

本实施例提供的生成压缩帧的步骤具体为:根据CPRI超帧帧头指示信号、有效AxC在CPRI基本帧中的位置和有效AxC的比特数提取CPRI基本帧的控制字和有效AxC数据;The step of generating the compressed frame provided by the present embodiment is specifically: extracting the control word and the effective AxC data of the CPRI basic frame according to the CPRI superframe header indication signal, the position of the effective AxC in the CPRI basic frame and the number of bits of the effective AxC;

根据所述自适应调制参数选择需要传输的有效AxC数据;Select valid AxC data to be transmitted according to the adaptive modulation parameters;

对所述CPRI基本帧的控制字和需要传输的有效AxC数据按照时分复用的方式生成CPRI压缩帧。A CPRI compressed frame is generated in a time-division multiplexed manner for the control word of the CPRI basic frame and the valid AxC data to be transmitted.

根据CPRI规范,I/Q数据是以天线载频容器(AxC Container)为单位映射到一个基本帧中的,一个AxC容器包含了一路天线的一个载频的一个UMTS码片内的I/Q采样数据,而一个基本帧可以包含多个AxC容器,因此一条CPRI链路就可以同时承载多路天线的多个载频的IQ采样数据。AxC容器可以采取紧凑放置(Packed Positon)和灵活放置(Flexible Position)两种方式映射到一个基本帧中,紧凑放置方式是指各AxC容器按顺序连续映射到一个基本帧中,剩余的比特位为保留位,而灵活放置方式是指各AxC容器按应用规定的位置映射到一个基本帧中,帧中其它未被AxC容器占用的比特位为保留位。According to the CPRI specification, I/Q data is mapped to a basic frame in units of antenna carrier frequency containers (AxC Container), and an AxC container contains I/Q samples in one UMTS chip of one carrier frequency of one antenna data, and a basic frame can contain multiple AxC containers, so one CPRI link can simultaneously carry IQ sampling data of multiple carrier frequencies of multiple antennas. AxC containers can be mapped to a basic frame in two ways: packed position (Packed Position) and flexible position (Flexible Position). The compact position means that each AxC container is continuously mapped to a basic frame in sequence, and the remaining bits are Reserved bits, and the flexible placement means that each AxC container is mapped to a basic frame according to the position specified by the application, and other bits in the frame that are not occupied by the AxC container are reserved bits.

如图3所示,为去除保留比特后的压缩CPRI基帧的结构,其中控制字在最前面,各AxC容器依次顺序连续排列,由于AxC容器不一定是按字节对齐的,因此在最后一个字节可能包含填充比特。这样,压缩后的CPRI基本帧就以字节为单位且仅包含原CPRI基本帧中的控制字和各有效AxC容器等有用信息。由于压缩后的CPRI链路仍然是以长度固定的压缩基本帧为单位的同步链路,因此仍然可以按照原CPRI链路的帧同步方法获得压缩CPRI链路的帧同步。为了能够在对端重新恢复各AxC容器在CPRI基本帧中的位置,可通过在承载该CPRI链路的微波通道相应的开销传送包括各AxC容器在CPRI基本帧中的位置信息等在内的有关CPRI帧格式信息。接收端通过提取开销获知各AxC容器在CPRI基本帧中的位置信息,从而将接收的压缩CPRI基帧恢复为标准的CPRI基帧。As shown in Figure 3, in order to remove the structure of the compressed CPRI basic frame after the reserved bits, the control word is at the front, and each AxC container is sequentially arranged in sequence. Since the AxC container is not necessarily byte-aligned, the last Bytes may contain padding bits. In this way, the compressed CPRI basic frame takes bytes as a unit and only includes useful information such as control words and valid AxC containers in the original CPRI basic frame. Since the compressed CPRI link is still a synchronous link in units of compressed basic frames with a fixed length, frame synchronization of the compressed CPRI link can still be obtained according to the frame synchronization method of the original CPRI link. In order to restore the position of each AxC container in the CPRI basic frame at the opposite end, relevant information including the position information of each AxC container in the CPRI basic frame can be transmitted through the corresponding overhead on the microwave channel carrying the CPRI link. CPRI frame format information. The receiving end obtains the position information of each AxC container in the CPRI basic frame by extracting the overhead, so as to restore the received compressed CPRI basic frame to a standard CPRI basic frame.

步骤205,将串行CPRI数据转换为并行CPRI数据,并且进行10Bit到8Bit解码。Step 205, convert the serial CPRI data into parallel CPRI data, and perform 10Bit to 8Bit decoding.

目前CPRI共定义了四种线路速率,即614.4Mbit/s、1228.8Mbit/s、2457.6Mbit/s以及3072.0Mbit/s,每种速率CPRI线路的帧结构相同,但相应基本帧的字长不同(字长分别为8、16、32、40比特或分别为1、2、4、5字节)。CPRI的物理线路采用8B/10B线路编码,例如速率为491.52Mbit/s的CPRI数据链路经过8B/10B线路编码后线路速率为614.4Mbit/s。At present, CPRI defines four line rates, namely 614.4Mbit/s, 1228.8Mbit/s, 2457.6Mbit/s and 3072.0Mbit/s. The frame structure of each rate CPRI line is the same, but the word length of the corresponding basic frame is different ( Word lengths are 8, 16, 32, 40 bits or 1, 2, 4, 5 bytes respectively). The physical line of CPRI adopts 8B/10B line encoding. For example, the line rate of CPRI data link with rate of 491.52Mbit/s is 614.4Mbit/s after 8B/10B line encoding.

其中,CPRI是一种基于一定帧结构的同步传输链路,其基本帧的长度为一个WCDMA码片(chip)的宽度,即l/3.84MHz=260.416667ns,一个基本帧由编号W=0,…15的16个字(word)组成(编号W=0的字为控制字,用于传输控制和管理平面数据及同步平面数据等信息,其余用于传输I/Q数据)。在基本帧的基础上,每256个基本帧进一步构成一个超帧,而150个超帧则对应一个通用移动通信系统(Universal Mobile TelecommunicationsSystem,UMTS)的长度为10ms的物理帧。为了便于表示,CPRI规范中用Z(Z=0…149)表示一个10ms的UMTS物理帧中所对应的某个超帧的超帧号,用X(x=0…255)表示一个超帧中所对应的某个基本帧的帧号,用W(W=0..15)表示一个基本帧中所对应的某个字(word)的编号,用Y(Y=0..3)表示一个基本帧中构成某个字的相应字节(byte)的编号,用B(B=0..31)表示一个基本帧中构成某个字的相应位(bit)的编号。根据CPRI规范,CPRI是通过每个超帧内的控制字Z.0.0的同步字节K28.5及控制字Z.64.0的超帧号HFN(Hyperframe Number)获得超帧同步,进而实现CPRI帧同步的。Wherein, CPRI is a kind of synchronous transmission link based on a certain frame structure, and the length of its basic frame is the width of a WCDMA chip (chip), that is, 1/3.84MHz=260.416667ns, and a basic frame is numbered by W=0, ...15 consists of 16 words (word) (the word numbered W=0 is a control word, used to transmit information such as control and management plane data and synchronization plane data, and the rest are used to transmit I/Q data). On the basis of the basic frame, every 256 basic frames further constitute a superframe, and 150 superframes correspond to a Universal Mobile Telecommunications System (UMTS) physical frame with a length of 10ms. For ease of expression, Z (Z=0...149) is used in the CPRI specification to represent the superframe number of a certain superframe corresponding to a 10ms UMTS physical frame, and X (x=0...255) is used to represent the superframe number in a superframe For the frame number of a corresponding basic frame, use W (W=0..15) to represent the number of a certain word (word) in a basic frame, and use Y (Y=0..3) to represent a The serial number of the corresponding byte (byte) constituting a certain word in the basic frame is represented by B (B=0..31) representing the serial number of the corresponding bit (bit) constituting a certain word in a basic frame. According to the CPRI specification, CPRI obtains superframe synchronization through the synchronization byte K28.5 of the control word Z.0.0 and the hyperframe number HFN (Hyperframe Number) of the control word Z.64.0 in each superframe, thereby realizing CPRI frame synchronization of.

步骤206,根据所述CPRI压缩帧和CPRI基本帧帧格式信息生成微波数据并发送。Step 206: Generate and transmit microwave data according to the frame format information of the CPRI compressed frame and CPRI basic frame.

本实施例提供的生成微波数据的步骤具体为:将所述CPRI压缩帧适配到微波帧的净荷区;The step of generating microwave data provided in this embodiment is specifically: adapting the CPRI compressed frame to the payload area of the microwave frame;

将所述CPRI基本帧帧格式信息适配到微波帧的开销区;Adapting frame format information of the CPRI basic frame to an overhead area of a microwave frame;

对所述微波净荷和微波开销按照时分复用的方式进行复接以形成微波数据。The microwave payload and the microwave overhead are multiplexed in a time-division multiplexing manner to form microwave data.

因为微波传输带宽一般小于1Gbit/s,而CPRI数据链路最小带宽为614.4Mbit/s,所以直接用微波透传CPRI数据链路会造成带宽浪费或者无法传输,因此需要对CPRI基本帧进行压缩处理,通常情况下,CPRI基本帧中的天线载波AxC(Antenna Carrier)总是不能正好占满整个CPRI基帧中的IQ数据部分位置,例如WCDMA上行数据链路采用8bit采样宽度、2×3.84MHz采样速率和双天线分集接收,则1个AxC的速率为122.88Mbit/s,若采用速率为491.52Mbit/s的CPRI链路(线速为614.4Mbit/s)传输2个AxC,除去控制字,则有215.04MHz的空闲带宽。为此,本发明将CPRI基本帧进行压缩,去除保留比特后再映射到微波帧结构中。上述实施例提供了一种CPRI数据发送方法,通过微波发送CPRI数据,可以使BBU和RRU之间通过微波传送CPRI数据。Because the microwave transmission bandwidth is generally less than 1Gbit/s, and the minimum bandwidth of the CPRI data link is 614.4Mbit/s, directly using the microwave transparent transmission of the CPRI data link will cause bandwidth waste or fail to transmit, so the CPRI basic frame needs to be compressed , under normal circumstances, the antenna carrier AxC (Antenna Carrier) in the CPRI basic frame cannot always just occupy the position of the IQ data part in the entire CPRI basic frame. For example, the WCDMA uplink data link adopts 8bit sampling width and 2×3.84MHz sampling rate and dual-antenna diversity reception, the rate of one AxC is 122.88Mbit/s, if a CPRI link with a rate of 491.52Mbit/s (line speed is 614.4Mbit/s) is used to transmit two AxCs, and the control word is removed, then There is 215.04MHz free bandwidth. Therefore, the present invention compresses the CPRI basic frame, removes the reserved bits, and then maps it into the microwave frame structure. The above-mentioned embodiment provides a method for sending CPRI data. Sending CPRI data through microwaves can enable the BBU and RRU to transmit CPRI data through microwaves.

步骤205:将串行CPRI数据转换为并行CPRI数据,并且进行10Bit到8Bit解码。Step 205: Convert the serial CPRI data into parallel CPRI data, and perform 10Bit to 8Bit decoding.

目前CPRI共定义了四种线路速率,即614.4Mbit/s、1228.8Mbit/s、2457.6Mbit/s以及3072.0Mbit/s,每种速率CPRI线路的帧结构相同,但相应基本帧的字长不同(字长分别为8、16、32、40比特或分别为1、2、4、5字节)。CPRI的物理线路采用8B/10B线路编码,例如速率为491.52Mbit/s的CPRI数据链路经过8B/10B线路编码后线路速率为614.4Mbit/s。At present, CPRI defines four line rates, namely 614.4Mbit/s, 1228.8Mbit/s, 2457.6Mbit/s and 3072.0Mbit/s. The frame structure of each rate CPRI line is the same, but the word length of the corresponding basic frame is different ( Word lengths are 8, 16, 32, 40 bits or 1, 2, 4, 5 bytes respectively). The physical line of CPRI adopts 8B/10B line encoding. For example, the line rate of CPRI data link with rate of 491.52Mbit/s is 614.4Mbit/s after 8B/10B line encoding.

其中,CPRI是一种基于一定帧结构的同步传输链路,其基本帧的长度为一个WCDMA码片(chip)的宽度,即l/3.84MHz=260.416667ns,一个基本帧由编号W=0,…15的16个字(word)组成(编号W=0的字为控制字,用于传输控制和管理平面数据及同步平面数据等信息,其余用于传输I/Q数据)。在基本帧的基础上,每256个基本帧进一步构成一个超帧,而150个超帧则对应一个通用移动通信系统(Universal Mobile TelecommunicationsSystem,UMTS)的长度为10ms的物理帧。为了便于表示,CPRI规范中用Z(Z=0…149)表示一个10ms的UMTS物理帧中所对应的某个超帧的超帧号,用X(X=0…255)表示一个超帧中所对应的某个基本帧的帧号,用W(W=0..15)表示一个基本帧中所对应的某个字(word)的编号,用Y(Y=0..3)表示一个基本帧中构成某个字的相应字节(byte)的编号,用B(B=0..31)表示一个基本帧中构成某个字的相应位(bit)的编号。根据CPRI规范,CPRI是通过每个超帧内的控制字Z.0.0的同步字节K28.5及控制字Z.64.0的超帧号HFN(Hyperframe Number)获得超帧同步,进而实现CPRI帧同步的。Wherein, CPRI is a kind of synchronous transmission link based on a certain frame structure, and the length of its basic frame is the width of a WCDMA chip (chip), that is, 1/3.84MHz=260.416667ns, and a basic frame is numbered by W=0, ...15 consists of 16 words (word) (the word numbered W=0 is a control word, used to transmit information such as control and management plane data and synchronization plane data, and the rest are used to transmit I/Q data). On the basis of the basic frame, every 256 basic frames further constitute a superframe, and 150 superframes correspond to a Universal Mobile Telecommunications System (UMTS) physical frame with a length of 10ms. For ease of expression, Z (Z=0...149) is used in the CPRI specification to represent the superframe number of a certain superframe corresponding to a 10ms UMTS physical frame, and X (X=0...255) is used to represent the superframe number in a superframe For the frame number of a corresponding basic frame, use W (W=0..15) to represent the number of a certain word (word) in a basic frame, and use Y (Y=0..3) to represent a The serial number of the corresponding byte (byte) constituting a certain word in the basic frame is represented by B (B=0..31) representing the serial number of the corresponding bit (bit) constituting a certain word in a basic frame. According to the CPRI specification, CPRI obtains superframe synchronization through the synchronization byte K28.5 of the control word Z.0.0 and the hyperframe number HFN (Hyperframe Number) of the control word Z.64.0 in each superframe, thereby realizing CPRI frame synchronization of.

实施例三Embodiment Three

本发明实施例提供一种通用公共无线接口数据发送方法,如图4所示,该方法包括:An embodiment of the present invention provides a general public wireless interface data transmission method, as shown in Figure 4, the method includes:

步骤401,接收基带处理单元BBU发送的CPRI数据;Step 401, receiving CPRI data sent by the baseband processing unit BBU;

步骤402,将所述CPRI数据转换为微波数据并发送至与接收射频拉远单元RRU连接的微波设备。Step 402, converting the CPRI data into microwave data and sending it to a microwave device connected to the receiving remote radio unit RRU.

其中,将所述CPRI数据转换为微波数据的具体过程与上述实施例相同,在此不再赘述。Wherein, the specific process of converting the CPRI data into microwave data is the same as the above embodiment, and will not be repeated here.

上述实施例提供了一种CPRI数据发送方法,可以对CPRI数据进行压缩以转换为微波数据发送,从而可以使BBU和RRU之间通过微波传送CPRI数据。The above embodiments provide a method for sending CPRI data, which can compress the CPRI data and convert it into microwave data for sending, so that the CPRI data can be transmitted between the BBU and the RRU through microwave.

实施例四Embodiment four

本发明实施例提供一种通用公共无线接口数据接收方法,如图5所示,该方法包括:An embodiment of the present invention provides a general public wireless interface data receiving method, as shown in FIG. 5, the method includes:

步骤501,接收微波数据;Step 501, receiving microwave data;

步骤502,对所述微波数据进行同步以提取微波净荷和微波开销;Step 502, synchronizing the microwave data to extract microwave payload and microwave overhead;

步骤503,解析所述微波开销以提取通用公共无线接口基本帧帧格式信息;Step 503, parsing the microwave overhead to extract frame format information of the common public radio interface basic frame;

步骤504,解适配所述微波净荷以提取通用公共无线接口压缩帧;Step 504, deadapting the microwave payload to extract the compressed GPRI frame;

步骤505,根据所述通用公共无线接口压缩帧生成通用公共无线接口超帧帧头指示信号;Step 505, generating a UPI superframe header indication signal according to the UPI compressed frame;

在本实施例中为搜索CPRI压缩帧对应的超帧内的控制字Z.0.0的同步字节K28.5及控制字Z.64.0的超帧号HFN获得超帧同步进而实现CPRI压缩帧同步,获取CPRI超帧帧头指示信号;In the present embodiment, obtain superframe synchronization for the synchronization byte K28.5 of the control word Z.0.0 in the corresponding superframe of the search CPRI compressed frame and the superframe number HFN of the control word Z.64.0 and then realize the CPRI compressed frame synchronization, Obtaining a CPRI superframe header indication signal;

步骤505,根据所述通用公共无线接口超帧帧头指示信号和通用公共无线接口基本帧帧格式信息生成通用公共无线接口数据并发送。Step 505: Generate and send UPI data according to the UPI superframe header indication signal and UPI basic frame format information.

在本发明一优选实施例中,该通用公共无线接口基本帧帧格式信息包括:In a preferred embodiment of the present invention, the general public radio interface basic frame frame format information includes:

天线载波在通用公共无线接口基本帧中的位置、有效天线载波的比特数、通用公共无线接口压缩帧的字节数以及有效天线载波在通用公共无线接口压缩帧的位置。The position of the antenna carrier in the basic frame of the common public radio interface, the number of bits of the effective antenna carrier, the number of bytes of the compressed frame of the common public radio interface, and the position of the effective antenna carrier in the compressed frame of the common public radio interface.

上述实施例提供了一种CPRI数据接收方法,可以对微波数据进行解压缩以转换为CPRI数据发送,从而可以使BBU获取通过微波传送CPRI数据。The above embodiments provide a method for receiving CPRI data, which can decompress microwave data to be converted into CPRI data for transmission, so that the BBU can acquire CPRI data transmitted through microwave.

实施例五Embodiment five

本发明实施例提供一种通用公共无线接口数据接收方法,如图6所示,该方法包括:An embodiment of the present invention provides a general public wireless interface data receiving method, as shown in FIG. 6, the method includes:

步骤601,接收与基带处理单元BBU连接的微波设备发送的微波数据;Step 601, receiving microwave data sent by a microwave device connected to the baseband processing unit BBU;

步骤601,将所述微波数据转换为CPRI数据并发送至射频拉远单元RRU。Step 601, convert the microwave data into CPRI data and send it to the remote radio unit RRU.

其中,将所述CPRI数据转换为微波数据的具体过程与上述实施例相同,在此不再赘述。Wherein, the specific process of converting the CPRI data into microwave data is the same as the above embodiment, and will not be repeated here.

上述实施例提供了一种CPRI数据接收方法,可以对微波数据进行解压缩以转换为CPRI数据发送,从而可以使RRU获取通过微波传送CPRI数据。The above embodiments provide a method for receiving CPRI data, which can decompress microwave data to be converted into CPRI data for transmission, so that the RRU can acquire and transmit CPRI data through microwave.

实施例六Embodiment six

本发明实施例提供一种通用公共无线接口数据发送装置,如图7所示,该装置包括:An embodiment of the present invention provides a general public wireless interface data transmission device, as shown in Figure 7, the device includes:

上行接收单元701,用于接收通用公共无线接口数据;an uplink receiving unit 701, configured to receive general public radio interface data;

上行转换单元702,用于对所述并行通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号;An uplink conversion unit 702, configured to perform synchronous processing on the parallel UPI data to generate a UPI superframe header indication signal;

帧格式信息获取单元703,用于根据所述通用公共无线接口超帧帧头指示信号和预设的自适应调制参数生成通用公共无线接口基本帧帧格式信息;该CPRI基本帧帧格式信息包括:有效AxC在CPRI基本帧中的位置、有效AxC的比特数、CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置;The frame format information acquisition unit 703 is used to generate the general public radio interface basic frame frame format information according to the general public radio interface superframe header indication signal and the preset adaptive modulation parameters; the CPRI basic frame frame format information includes: The position of the effective AxC in the CPRI basic frame, the number of bits of the effective AxC, the number of bytes of the CPRI compressed frame, and the position of the effective AxC in the CPRI compressed frame;

压缩单元704,用于根据所述通用公共无线接口超帧帧头指示信号、自适应调制参数和通用公共无线接口基本帧帧格式信息生成通用公共无线接口压缩帧;The compression unit 704 is configured to generate a general public radio interface compressed frame according to the general public radio interface superframe header indication signal, adaptive modulation parameters and general public radio interface basic frame frame format information;

微波数据生成单元705,用于根据所述通用公共无线接口压缩帧和通用公共无线接口基本帧帧格式信息生成微波数据;A microwave data generation unit 705, configured to generate microwave data according to the UPI compressed frame and UPI basic frame format information;

上行发送单元706,用于将所述微波数据发送。An uplink sending unit 706, configured to send the microwave data.

在本发明一实施例中,所述帧格式信息获取单元703进一步包括:In an embodiment of the present invention, the frame format information acquisition unit 703 further includes:

第一监视单元,用于根据所述CPRI超帧帧头指示信号,提取CPRI基本帧的控制字,解析所述的CPRI基本帧的控制字所支持的HDLC信道或以太网信道以获得该CPRI基本帧包含的AxC在CPRI基本帧中的位置和有效AxC的比特数;The first monitoring unit is used to extract the control word of the CPRI basic frame according to the CPRI superframe header indication signal, and analyze the HDLC channel or Ethernet channel supported by the control word of the CPRI basic frame to obtain the CPRI basic The position of the AxC contained in the frame in the CPRI basic frame and the number of bits of the effective AxC;

第一计算单元,用于根据所述自适应调制参数和有效AxC的比特数计算CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置。The first calculating unit is configured to calculate the byte number of the CPRI compressed frame and the position of the effective AxC in the CPRI compressed frame according to the adaptive modulation parameter and the bit number of the effective AxC.

在本发明另一实施例中,所述帧格式信息获取单元703进一步包括:In another embodiment of the present invention, the frame format information acquisition unit 703 further includes:

第二监视单元,用于根据所述CPRI超帧帧头指示信号监视CPRI基本帧的数据区以获得有效比特位置信息;根据所述有效比特位置信息计算该CPRI基本帧包含的AxC在CPRI基本帧中的位置和有效AxC的比特数;The second monitoring unit is used to monitor the data area of the CPRI basic frame according to the CPRI superframe header indication signal to obtain effective bit position information; calculate the AxC contained in the CPRI basic frame according to the effective bit position information in the CPRI basic frame The position in and the number of bits of valid AxC;

第二计算单元,根据所述自适应调制参数和有效AxC的比特数计算CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置。The second calculation unit calculates the number of bytes of the CPRI compressed frame and the position of the effective AxC in the CPRI compressed frame according to the adaptive modulation parameter and the number of bits of the effective AxC.

在本发明一实施例中,如图8所示,所述压缩单元704进一步包括:In an embodiment of the present invention, as shown in FIG. 8, the compression unit 704 further includes:

提取单元801,用于根据CPRI超帧帧头指示信号、有效AxC在CPRI基本帧中的位置和有效AxC的比特数提取CPRI基本帧的控制字和有效AxC数据;An extracting unit 801, configured to extract the control word and valid AxC data of the CPRI basic frame according to the CPRI superframe header indication signal, the position of the valid AxC in the CPRI basic frame and the number of bits of the valid AxC;

选择单元802,用于根据所述自适应调制参数选择需要传输的有效AxC数据;A selection unit 802, configured to select valid AxC data to be transmitted according to the adaptive modulation parameters;

生成单元803,用于对所述CPRI基本帧的控制字和需要传输的有效AxC数据按照时分复用的方式生成CPRI压缩帧。The generating unit 803 is configured to generate a CPRI compressed frame in a time-division multiplexed manner for the control word of the CPRI basic frame and the valid AxC data to be transmitted.

在本发明一实施例中,如图9所示,所述微波数据生成单元705进一步包括:In an embodiment of the present invention, as shown in FIG. 9, the microwave data generating unit 705 further includes:

净荷适配单元901,用于将所述CPRI压缩帧适配到微波帧结构的净荷区;Payload adaptation unit 901, configured to adapt the CPRI compressed frame to the payload area of the microwave frame structure;

开销形成单元902,用于根据所述CPRI基本帧帧格式信息生成微波开销;An overhead forming unit 902, configured to generate microwave overhead according to the frame format information of the CPRI basic frame;

微波复接单元903,用于对所述微波净荷和微波开销按照时分复用的方式进行复接以形成微波数据。The microwave multiplexing unit 903 is configured to multiplex the microwave payload and microwave overhead in a time-division multiplexing manner to form microwave data.

上述实施例提供了一种CPRI数据发送装置,可以对CPRI数据进行压缩以转换为微波数据发送,从而可以使BBU和RRU之间通过微波传送CPRI数据。The above embodiments provide a CPRI data sending device, which can compress the CPRI data and convert it into microwave data for sending, so that the CPRI data can be transmitted between the BBU and the RRU through microwave.

实施例七Embodiment seven

本发明实施例提供一种通用公共无线接口数据发送装置,如图10所示,该装置包括:An embodiment of the present invention provides a general public wireless interface data transmission device, as shown in Figure 10, the device includes:

上行接收单元1001,用于接收基带处理单元BBU发送的CPRI数据;An uplink receiving unit 1001, configured to receive CPRI data sent by the baseband processing unit BBU;

上行转换单元1002,用于将所述CPRI数据转换为微波数据;an uplink conversion unit 1002, configured to convert the CPRI data into microwave data;

上行发送单元1003,用于将所述微波数据发送至与射频拉远单元RRU连接的微波设备。The uplink sending unit 1003 is configured to send the microwave data to a microwave device connected to a remote radio unit RRU.

其中,所述上行转换单元包括上述实施例中的上行同步单元、帧格式信息获取单元、压缩单元、微波数据生成单元,并且实现的功能也相同,在此不再赘述。Wherein, the uplink conversion unit includes the uplink synchronization unit, the frame format information acquisition unit, the compression unit, and the microwave data generation unit in the above-mentioned embodiments, and realizes the same functions, which will not be repeated here.

上述实施例提供了一种CPRI数据发送装置,可以对CPRI数据进行压缩以转换为微波数据发送,从而可以使BBU和RRU之间通过微波传送CPRI数据。The above embodiments provide a CPRI data sending device, which can compress the CPRI data and convert it into microwave data for sending, so that the CPRI data can be transmitted between the BBU and the RRU through microwave.

实施例八Embodiment eight

本发明实施例提供一种通用公共无线接口数据接收装置,如图11所示,该装置包括:An embodiment of the present invention provides a general public wireless interface data receiving device, as shown in Figure 11, the device includes:

下行接收单元1101,用于接收微波数据;a downlink receiving unit 1101, configured to receive microwave data;

微波解复接单元1102,用于对微波数据进行同步以提取微波净荷和微波开销;A microwave demultiplexing unit 1102, configured to synchronize microwave data to extract microwave payload and microwave overhead;

微波开销解析单元1103,用于解析所述微波开销以提取CPRI基本帧帧格式信息;A microwave overhead parsing unit 1103, configured to parse the microwave overhead to extract CPRI basic frame frame format information;

该CPRI基本帧帧格式信息包括:有效AxC在CPRI基本帧中的位置、有效AxC的比特数、CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置;The CPRI basic frame frame format information includes: the position of the effective AxC in the CPRI basic frame, the number of bits of the effective AxC, the number of bytes of the CPRI compressed frame, and the position of the effective AxC in the CPRI compressed frame;

微波净荷解适配单元1104,用于从所述微波净荷解适配出CPRI压缩帧;A microwave payload de-adaptation unit 1104, configured to de-adapt the CPRI compressed frame from the microwave payload;

下行同步单元1105,用于对所述CPRI压缩帧进行同步以生成CPRI超帧帧头指示信号;A downlink synchronization unit 1105, configured to synchronize the CPRI compressed frame to generate a CPRI superframe header indication signal;

解压缩单元1106,用于根据所述CPRI超帧帧头指示信号和CPRI基本帧帧格式信息解压缩出并行CPRI数据;Decompression unit 1106, configured to decompress parallel CPRI data according to the CPRI superframe header indication signal and CPRI basic frame frame format information;

下行发送单元1107,用于发送所述CPRI数据。The downlink sending unit 1107 is configured to send the CPRI data.

上述实施例提供了一种CPRI数据接收装置,可以对微波数据进行解压缩以转换为CPRI数据发送,从而可以使BBU获取通过微波传送CPRI数据。The above embodiments provide a CPRI data receiving device, which can decompress microwave data to be converted into CPRI data for transmission, so that the BBU can acquire CPRI data transmitted through microwave.

实施例九Embodiment nine

本发明实施例提供一种通用公共无线接口数据接收装置,如图12所示,该装置包括:An embodiment of the present invention provides a general public wireless interface data receiving device, as shown in Figure 12, the device includes:

下行接收单元1201,用于接收与基带处理单元BBU连接的微波设备发送的微波数据;A downlink receiving unit 1201, configured to receive microwave data sent by a microwave device connected to the baseband processing unit BBU;

下行转换单元1202,用于将所述微波数据转换为CPRI数据;a downlink conversion unit 1202, configured to convert the microwave data into CPRI data;

下行发送单元1203,用于发送所述CPRI数据至射频拉远单元RRU。The downlink sending unit 1203 is configured to send the CPRI data to the remote radio unit RRU.

其中,所述下行转换单元包括与上述实施例中微波解复接单元、微波开销解析单元、微波净荷解适配单元、解压缩单元,其实现的功能也相同,在此不再赘述。Wherein, the downlink conversion unit includes a microwave demultiplexing unit, a microwave overhead analysis unit, a microwave payload deadaptation unit, and a decompression unit in the above-mentioned embodiment, and the functions thereof are also the same, so details are not repeated here.

上述实施例提供了一种CPRI数据接收装置,可以对微波数据进行解压缩以转换为CPRI数据发送,从而可以使RRU获取通过微波传送CPRI数据。The above embodiments provide a CPRI data receiving device, which can decompress microwave data to be converted into CPRI data for transmission, so that the RRU can acquire CPRI data transmitted through microwave.

实施例十Embodiment ten

本发明实施例提供一种通用公共无线接口数据的转递系统,如图13所示,该系统包括:第一微波设备1301和第二微波设备1302;An embodiment of the present invention provides a general public radio interface data transfer system, as shown in FIG. 13 , the system includes: a first microwave device 1301 and a second microwave device 1302;

第一微波设备1301与射频拉远单元RRU连接,用于接收射频拉远单元RRU发送的CPRI数据,将所述CPRI数据转换为微波数据并发送至第二微波设备1302;以及,接收第二微波设备1302发送的微波数据,将该微波数据转换为CPRI数据并发送至RRU;The first microwave device 1301 is connected to the remote radio unit RRU, and is used to receive the CPRI data sent by the remote radio unit RRU, convert the CPRI data into microwave data and send it to the second microwave device 1302; and, receive the second microwave The microwave data sent by the device 1302 is converted into CPRI data and sent to the RRU;

第二微波设备1302与基带处理单元BBU连接,用于接收所述第一微波设备1301发送的微波数据,将所述微波数据转换为CPRI数据并发送至BBU;以及,接收BBU发送的CPRI数据,将该CPRI数据转换为微波数据并发送至第一微波设备1301。The second microwave device 1302 is connected to the baseband processing unit BBU, configured to receive the microwave data sent by the first microwave device 1301, convert the microwave data into CPRI data and send it to the BBU; and receive the CPRI data sent by the BBU, The CPRI data is converted into microwave data and sent to the first microwave device 1301 .

上述实施例提供了一种CPRI数据转递系统,可以使用微波传递CPRI数据,从而将微波设备应用于分布式基站系统,解决了BBU和RRU间光纤不可达的问题。The above embodiments provide a CPRI data transfer system, which can use microwaves to transfer CPRI data, thereby applying microwave equipment to a distributed base station system, and solving the problem of unreachable optical fibers between the BBU and the RRU.

实施例十一Embodiment Eleven

本发明实施例提供一种用于传递CPRI数据的微波设备,该微波设备应用于分布式基站系统,可以连接BBU或RRU,如图14所示,该微波设备包括:An embodiment of the present invention provides a microwave device for transmitting CPRI data. The microwave device is applied to a distributed base station system and can be connected to a BBU or RRU. As shown in FIG. 14 , the microwave device includes:

10B/8B解码单元1401,用于串行CPRI数据转换为并行CPRI数据,并进行10Bit到8Bit解码。该10B/8B解码单元1401还可以用于检测线路信号丢失(Loss Of Signal,LOS)状态,如果CPRI链路为电缆,则10B/8B解码单元1401还负责检测CPRI线路的LOS状态,例如在一个超帧周期内检测到至少16个8B/10B违例,则上报LOS告警。如果CPRI链路为光缆,则可通过检测接收光功率是否越限来上报LOS告警。The 10B/8B decoding unit 1401 is used for converting serial CPRI data into parallel CPRI data and performing 10Bit to 8Bit decoding. The 10B/8B decoding unit 1401 can also be used to detect the line signal loss (Loss Of Signal, LOS) state, if the CPRI link is a cable, the 10B/8B decoding unit 1401 is also responsible for detecting the LOS state of the CPRI line, for example in a If at least 16 8B/10B violations are detected within the superframe period, a LOS alarm will be reported. If the CPRI link is an optical cable, the LOS alarm can be reported by detecting whether the received optical power exceeds the limit.

CPRI帧同步单元1402:用于对所述并行CPRI数据进行同步处理以生成CPRI超帧帧头指示信号;CPRI frame synchronization unit 1402: for synchronizing the parallel CPRI data to generate a CPRI superframe header indication signal;

在本发明一优选实施例中,对并行CPRI数据进行同步处理具体为:搜索CPRI超帧内的控制字Z.0.0的同步字节K28.5,以及控制字Z.64.0的超帧号HFN获得超帧同步,进而实现CPRI帧同步,获取CPRI超帧帧头指示信号;在CPRI帧同步之前输出帧丢失(Loss Of Frame,LOF)告警,CPRI帧同步之后输出CPRI超帧帧头指示信号给C&M信道或数据流监视单元1403和CPRI压缩单元1404。In a preferred embodiment of the present invention, synchronizing the parallel CPRI data is specifically: searching for the synchronization byte K28.5 of the control word Z.0.0 in the CPRI superframe, and obtaining the superframe number HFN of the control word Z.64.0 Super frame synchronization, and then realize CPRI frame synchronization, obtain CPRI super frame header indication signal; output frame loss (Loss Of Frame, LOF) alarm before CPRI frame synchronization, output CPRI super frame header indication signal to C&M after CPRI frame synchronization Channel or data flow monitoring unit 1403 and CPRI compression unit 1404 .

C&M信道或数据流监视单元1403,用于根据CPRI超帧帧头指示信号,提取CPRI基帧的控制字,传递给CPRI帧格式信息提取单元1404;或者,监视CPRI基帧的IQ数据区的各个比特,确定哪些比特属于保留比特,例如监视每个比特连续N帧(N远大于1)的跳变次数,跳变次数为0的为保留位,跳变次数不为0的为有效AxC占据的比特位,将有效比特位置信息发送给CPRI帧格式信息提取单元1404。The C&M channel or data flow monitoring unit 1403 is used to extract the control word of the CPRI basic frame according to the CPRI superframe header indication signal, and deliver it to the CPRI frame format information extraction unit 1404; or monitor each of the IQ data areas of the CPRI basic frame Bits, determine which bits belong to reserved bits, for example, monitor the number of transitions of each bit in consecutive N frames (N is much greater than 1), the number of transitions is 0 is reserved, and the number of transitions is not 0 is occupied by valid AxC bit, and send the valid bit position information to the CPRI frame format information extraction unit 1404.

CPRI帧格式信息提取单元1404,用于解析控制字所支持的HDLC信道或以太网信道以获得该CPRI基本帧包含的有效AxC在CPRI基本帧中的位置和有效AxC的比特数;根据所述自适应调制参数和有效AxC的比特数计算CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置。The CPRI frame format information extraction unit 1404 is used to analyze the supported HDLC channel or Ethernet channel of the control word to obtain the position of the effective AxC contained in the CPRI basic frame and the number of bits of the effective AxC in the CPRI basic frame; according to the self The number of bytes of the CPRI compressed frame and the position of the effective AxC in the CPRI compressed frame are calculated by adapting the modulation parameters and the number of bits of the effective AxC.

或者,根据所述CPRI超帧帧头指示信号监视CPRI基本帧的数据区以获得有效比特位置信息;根据所述有效比特位置信息计算该CPRI基本帧包含的AxC在CPRI基本帧中的位置和有效AxC的比特数;根据所述自适应调制参数和有效AxC的比特数计算CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置。Or, monitor the data area of the CPRI basic frame according to the CPRI superframe header indication signal to obtain effective bit position information; calculate the position and effective position and effective value of AxC contained in the CPRI basic frame according to the effective bit position information. The number of bits of AxC; calculating the number of bytes of the CPRI compressed frame and the position of the effective AxC in the CPRI compressed frame according to the adaptive modulation parameter and the number of bits of the effective AxC.

将包括有效AxC在CPRI基本帧中的位置、有效AxC的比特数、CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置的CPRI基本帧格式信息传递给开销形成单元和CPRI帧压缩单元;Pass the CPRI basic frame format information including the position of the effective AxC in the CPRI basic frame, the number of bits of the effective AxC, the number of bytes of the CPRI compressed frame, and the position of the effective AxC in the CPRI compressed frame to the overhead formation unit and the CPRI frame compression unit ;

CPRI帧压缩单元1405:用于根据所述CPRI超帧帧头指示信号、自适应调制参数和CPRI基本帧帧格式信息生成CPRI压缩帧;CPRI frame compression unit 1405: used to generate a CPRI compressed frame according to the CPRI superframe header indication signal, adaptive modulation parameters and CPRI basic frame frame format information;

如图15所示,在本发明一优选实施例中,所述CPRI帧压缩单元1405包括:As shown in Figure 15, in a preferred embodiment of the present invention, the CPRI frame compression unit 1405 includes:

控制字和有效AxC提取单元1501,用于根据CPRI超帧帧头指示信号、AxC在CPRI基本帧中的位置和有效AxC的比特数提取CPRI基本帧的控制字和有效AxC数据;Control word and effective AxC extracting unit 1501, for extracting the control word and effective AxC data of CPRI basic frame according to the position of CPRI superframe frame header indication signal, AxC in CPRI basic frame and the bit number of effective AxC;

AxC选择单元1502,用于根据所述自适应调制参数选择需要传输的有效AxC数据,如果调制模式高且微波带宽足够传输所有有效AxC,则将控制字和有效AxC发送给下级模块;如果调制模式低,微波带宽不能传输所有有效AxC,则按照AxC优先级将控制字和能传输的有效AxC发送给下级模块。AxC selection unit 1502, used to select effective AxC data to be transmitted according to the adaptive modulation parameters, if the modulation mode is high and the microwave bandwidth is sufficient to transmit all effective AxC, the control word and effective AxC are sent to the lower module; if the modulation mode Low, the microwave bandwidth cannot transmit all effective AxC, then send the control word and the effective AxC that can be transmitted to the lower module according to the AxC priority.

CPRI压缩帧形成单元1503将CPRI的控制字和需要传输的有效AxC按照时分复用的方式生成CPRI压缩帧;并以上行CPRI的处理时钟为写时钟将CPRI压缩帧写入FIFO1中。The CPRI compressed frame forming unit 1503 generates a CPRI compressed frame by time-division multiplexing the CPRI control word and the effective AxC to be transmitted; and writes the CPRI compressed frame into FIFO1 with the upstream CPRI processing clock as the write clock.

FIFO1(先入先出队列)单元1504缓存CPRI压缩帧。FIFO1 (First In First Out Queue) unit 1504 buffers CPRI compressed frames.

净荷适配单元1406:以微波处理时钟为读时钟从FIFO1中读出CPRI压缩帧,将CPRI压缩帧封装到微波帧的适配层帧结构中,并进行CPRI速率到微波速率的适配,添加相应的适配层帧头标签,以便不同的净荷单元能在微波帧复接单元中进行复接。速率适配采用自动插入适配层空闲帧方法实现。如果FIFO1为空,则自动插入适配层空闲帧以适配CPRI的处理时钟时钟与微波处理时钟的频差。为保证FIFO1不满,可以为CPRI分配大于CPRI压缩帧在125us的总字节数的净荷区。Payload adaptation unit 1406: read out the CPRI compressed frame from FIFO1 with the microwave processing clock as the read clock, encapsulate the CPRI compressed frame into the adaptation layer frame structure of the microwave frame, and perform the adaptation from the CPRI rate to the microwave rate, Add corresponding adaptation layer frame header labels so that different payload units can be multiplexed in the microwave frame multiplexing unit. Rate adaptation is implemented by automatically inserting idle frames in the adaptation layer. If FIFO1 is empty, an idle frame of the adaptation layer is automatically inserted to adapt to the frequency difference between the processing clock of the CPRI and the microwave processing clock. In order to ensure that FIFO1 is not full, a payload area larger than the total number of bytes of the CPRI compressed frame in 125us can be allocated for CPRI.

其中,微波帧的适配层可采用GEM(G-PON Encapsulation Method,GPON封装形式)适配层或GFP(Generic Framing Procedure,通用成帧规程)适配层或其他封装形式,下面以以基于GEM适配层为例进行说明:Among them, the adaptation layer of the microwave frame can adopt the GEM (G-PON Encapsulation Method, GPON encapsulation form) adaptation layer or the GFP (Generic Framing Procedure, general framing procedure) adaptation layer or other encapsulation forms, the following is based on GEM The adaptation layer is used as an example to illustrate:

GEM为GPON(Gigabit Passive Optical Network,千兆无源光网络)的业务适配层,是一种具有交换能力的链路层协议,既适合于以太网等业务数据的封装,也适合于TDM等业务数据的封装,是一种综合业务接入比较理想的方案,其帧结构如表1所示。GEM is the service adaptation layer of GPON (Gigabit Passive Optical Network, Gigabit Passive Optical Network). Encapsulation of service data is an ideal scheme for integrated service access, and its frame structure is shown in Table 1.

  PLI12bit PLI12bit   PortID12bit PortID12bit   PTI3bit PTI3bit   HEC13bit HEC13bit PavloadPavload

表1GEM帧结构Table 1 GEM frame structure

以太网业务和TDM业务可以映射到GEM帧。GEM具有数据净荷长度指示PLI,PLI长度可以变化,保证了TDM业务和以太网业务能够按颗粒为1byte来调整适配到GEM帧。GPON系统是一点到多点的网络架构中,具有端口指示Port-ID,可以按Port-ID进行复用或交换。净荷类型指示PTI指示了净荷类型,主要用于以太网数据包是否分片指示。Ethernet services and TDM services can be mapped to GEM frames. GEM has a data payload length indicator PLI, and the length of the PLI can be changed to ensure that the TDM service and Ethernet service can be adjusted and adapted to the GEM frame at a granularity of 1 byte. The GPON system is a point-to-multipoint network architecture, with a port indicating Port-ID, which can be multiplexed or switched according to the Port-ID. The payload type indication PTI indicates the payload type, and is mainly used to indicate whether the Ethernet data packet is fragmented.

CPRI映射到GEM采用TDM方式映射。每条CPRI链路占用1或多个GEM,相同CPRI链路的GEM的端口指示PortID一样,不同CPRI链路的GEM的PortID不比特一样。CPRI is mapped to GEM using TDM. Each CPRI link occupies one or more GEMs, and the port indication PortIDs of the GEMs of the same CPRI link are the same, and the PortIDs of the GEMs of different CPRI links are not the same.

开销形成单元1407,用于根据所述CPRI基本帧帧格式信息(天线载波AxC在CPRI基本帧中的位置、有效AxC的比特数、CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置的CPRI基本帧格式信息)以及其他管理信息一起按照一定的协议形成微波开销。The overhead forming unit 1407 is configured to use the CPRI basic frame frame format information (the position of the antenna carrier AxC in the CPRI basic frame, the number of bits of the effective AxC, the number of bytes of the CPRI compressed frame, and the position of the effective AxC in the CPRI compressed frame CPRI basic frame format information) and other management information form microwave overhead according to a certain protocol.

微波帧复接单元1408:用于将各净荷部分和开销部分按照时分复用的方式进行复接,形成完整的微波帧结构,发送给微波调制单元。其中,1个微波设备可以传输多条CPRI链路,多条CPRI链路可以在微波帧中进行时分复用,也可以与其他业务(比如E1和ETH)在微波帧中进行时分复用。Microwave frame multiplexing unit 1408: used to multiplex each payload part and overhead part in a time-division multiplexing manner to form a complete microwave frame structure and send it to the microwave modulation unit. Among them, one microwave device can transmit multiple CPRI links, multiple CPRI links can be time-division multiplexed in microwave frames, and can also be time-division multiplexed with other services (such as E1 and ETH) in microwave frames.

微波发送调制单元1409,用于对微波帧复接单元1408生成的数据流,进行调制转换成中频信号,如果微波采用了多通道技术,该模块还完成通道分发功能。The microwave transmission modulation unit 1409 is used to modulate the data stream generated by the microwave frame multiplexing unit 1408 and convert it into an intermediate frequency signal. If the microwave adopts multi-channel technology, this module also completes the channel distribution function.

IF/RF/ROF单元1410,用于执行中频/射频/光纤射频传输技术处理,上行方向将微波发送调制单元1409调制后的中频信号进行处理,得到IF/RF/ROF信号,通过微波天线1411发送。下行方向将从微波天线1411接收的信号,经过ROF/RF/IF信号处理后,得到中频信号,发送给微波接收调制单元1412。The IF/RF/ROF unit 1410 is used to perform intermediate frequency/radio frequency/fiber radio frequency transmission technology processing. In the uplink direction, the intermediate frequency signal modulated by the microwave transmission modulation unit 1409 is processed to obtain the IF/RF/ROF signal, which is transmitted through the microwave antenna 1411 . In the downlink direction, the signal received from the microwave antenna 1411 is processed by the ROF/RF/IF signal to obtain an intermediate frequency signal and sent to the microwave receiving modulation unit 1412 .

微波接收调制单元1412,接收来自IF/RF/ROF单元的中频信号,经过解调制得到全数字信号的微波数据。The microwave receiving and modulating unit 1412 receives the intermediate frequency signal from the IF/RF/ROF unit, and obtains the microwave data of the all-digital signal through demodulation.

微波帧解复接单元1413,对微波帧进行帧同步,解复接出开销部分和GEM净荷部分,根据GEM的PortID分发GEM帧到各CPRI链路处理单元;或者按照固定的时隙配置,分发各GEM帧到各CPRI链路处理单元。The microwave frame demultiplexing unit 1413 performs frame synchronization on the microwave frame, demultiplexes the overhead part and the GEM payload part, and distributes the GEM frame to each CPRI link processing unit according to the PortID of the GEM; or according to the fixed time slot configuration, Distribute each GEM frame to each CPRI link processing unit.

开销处理单元1414,解析微波开销,提取CPRI基本帧格式信息(AxC在CPRI基本帧中的位置、有效AxC的比特数、CPRI压缩帧的字节数以及有效AxC在CPRI压缩帧的位置的CPRI基本帧格式信息)并发送给CPRI压缩帧同步单元和CPRI解压缩单元。The overhead processing unit 1414 analyzes the microwave overhead and extracts the CPRI basic frame format information (the position of AxC in the CPRI basic frame, the number of bits of valid AxC, the number of bytes of CPRI compressed frame, and the CPRI basic information of the position of valid AxC in the CPRI compressed frame. frame format information) and sent to the CPRI compression frame synchronization unit and the CPRI decompression unit.

净荷解适配单元1415,从净荷适配层帧结构中解适配出CPRI压缩帧。解适配具体为搜索适配层有效帧,去除空闲帧以提取CPRI压缩帧,并以微波处理时钟为写时钟将CPRI压缩帧写入到FIFO2中。当在微波帧净荷区没有搜索到正确的适配层帧头,上报适配层帧丢失告警。The payload de-adaptation unit 1415 de-adapts the CPRI compressed frame from the frame structure of the payload adaptation layer. Specifically, de-adaptation is to search for valid frames in the adaptation layer, remove idle frames to extract CPRI compressed frames, and write the CPRI compressed frames into FIFO2 with the microwave processing clock as the write clock. When the correct adaptation layer frame header is not found in the payload area of the microwave frame, an adaptation layer frame loss alarm is reported.

例如根据头错误控制(HEC,Header Error Check)算法搜索GEM帧头,然后根据GEM的帧头信息PLI确定净荷长度。如果PLI等于0,表示该GEM帧为空闲帧,去除空闲帧;如果PLI不等于0,则提取CPRI压缩帧;如果在整个微波净荷区内都没有搜索到GEM帧头,则上报GEM帧丢失告警(LCDG)。For example, search the GEM frame header according to the Header Error Check (HEC, Header Error Check) algorithm, and then determine the payload length according to the GEM frame header information PLI. If the PLI is equal to 0, it means that the GEM frame is an idle frame, and the idle frame is removed; if the PLI is not equal to 0, the CPRI compressed frame is extracted; if the GEM frame header is not found in the entire microwave payload area, the GEM frame loss is reported Alarm (LCDG).

CPRI压缩帧同步单元1416,用于对所述CPRI压缩帧进行同步以生成CPRI超帧帧头指示信号;A CPRI compressed frame synchronization unit 1416, configured to synchronize the CPRI compressed frame to generate a CPRI superframe header indication signal;

如图16所示,在本发明一优选实施例中,所述CPRI压缩帧同步单元1416包括:As shown in Figure 16, in a preferred embodiment of the present invention, the CPRI compressed frame synchronization unit 1416 includes:

FIFO2单元1601,用于缓存CPRI压缩帧。FIFO2空满度用于时钟恢复单元和FIFO2读控制单元。FIFO2读控制单元1602在FIFO2空满度达到预设的特定值后以CPRI下行处理时钟为读时钟开始进行FIFO2读操作,如果FIFO2中的CPRI压缩帧被读空,则上报LOS告警。帧头搜索单元1603搜索CPRI压缩帧对应的超帧内的控制字Z.0.0的同步字节K28.5及控制字Z.64.0的超帧号HFN获得超帧同步进而实现CPRI压缩帧同步,获取CPRI超帧帧头指示信号。CPRI压缩帧所包含的字节数与CPRI基帧所包含的字节数不同,CPRI压缩帧所包含的字节数由发送端通过开销传递给接收端获得。在CPRI压缩帧同步之前输出LOF告警,CPRI压缩帧同步之后输出CPRI超帧帧头指示信号。FIFO2 unit 1601, used for buffering CPRI compressed frames. FIFO2 full and empty is used for clock recovery unit and FIFO2 read control unit. The FIFO2 read control unit 1602 starts the FIFO2 read operation with the CPRI downlink processing clock as the read clock after the FIFO2 fullness reaches a preset specific value, and reports a LOS alarm if the CPRI compressed frame in FIFO2 is read empty. The frame header search unit 1603 searches for the synchronization byte K28.5 of the control word Z.0.0 in the superframe corresponding to the CPRI compressed frame and the superframe number HFN of the control word Z.64.0 to obtain superframe synchronization and then realize the synchronization of the CPRI compressed frame. CPRI superframe header indication signal. The number of bytes included in the CPRI compressed frame is different from the number of bytes included in the CPRI base frame, and the number of bytes included in the CPRI compressed frame is obtained by the sending end through overhead transfer to the receiving end. Output LOF alarm before CPRI compressed frame synchronization, and output CPRI superframe header indication signal after CPRI compressed frame synchronization.

CPRI帧解压缩单元1417,用于根据CPRI压缩帧同步单元1416输出的CPRI超帧帧头指示信号以及开销处理单元1414输出的CPRI基本帧格式信息恢复出原CPRI帧信号。The CPRI frame decompression unit 1417 is configured to restore the original CPRI frame signal according to the CPRI superframe header indication signal output by the CPRI compression frame synchronization unit 1416 and the basic CPRI frame format information output by the overhead processing unit 1414 .

8B/10B编码单元1418,用于进行8B/10B编码和并行数据到串行数据的转换。The 8B/10B encoding unit 1418 is used for performing 8B/10B encoding and converting parallel data to serial data.

上述实施例提供了一种传递CPRI数据的微波设备,可以将CPRI数据进行压缩以转换为微波数据发送,并可以对微波数据进行解压缩以转换为CPRI数据发送,从而可以使RRU或BBR接收通过微波传送的CPRI数据。The above embodiments provide a microwave device for transmitting CPRI data, which can compress the CPRI data to be converted into microwave data for transmission, and can decompress the microwave data for conversion into CPRI data for transmission, so that RRU or BBR can receive through CPRI data transmitted by microwave.

实施案例十三Implementation Case Thirteen

由于无线基站系统为全网时钟同步系统,各RRU时钟必须跟踪BBU的时钟,所以在通过微波传递CPRI数据时,微波设备也必须跟踪BBU的时钟。Since the wireless base station system is a network-wide clock synchronization system, the clocks of each RRU must track the clock of the BBU. Therefore, when transmitting CPRI data through microwaves, the microwave equipment must also track the clock of the BBU.

图17为与基带处理单元BBU相连的微波设备上行方向的时钟方案。本实施例提供两种方案:一种是采用全球公共时钟方案,即微波设备从全球定位系统(GPS)等同步时钟分配网获得高稳定度的频率参考,作为CPRI链路的时钟源。另外一种方案是采用从CPRI链路的串行数据流中恢复出CPRI线路时钟。例如采用锁相环技术恢复,要求该锁相环性能满足CPRI规范。Fig. 17 is a clock scheme in the uplink direction of the microwave equipment connected to the baseband processing unit BBU. This embodiment provides two schemes: one is to adopt the global common clock scheme, that is, the microwave equipment obtains a high-stability frequency reference from a synchronous clock distribution network such as the Global Positioning System (GPS) as the clock source of the CPRI link. Another solution is to recover the CPRI line clock from the serial data stream of the CPRI link. For example, the phase-locked loop technology is used for recovery, and the performance of the phase-locked loop is required to meet the CPRI specification.

图18a和图18b为与基带处理单元BBU相连的微波设备下行方向的时钟方案。本实施例提供两种方案:一种是采用上行方向的时钟提取模块输出的时钟作为下行方向的工作时钟。另一种是采用自适应时钟恢复技术,该技术利用基于FIFO2空满度进行环路控制的锁相环(PLL)或直接数据频率合成器(DDS)恢复出原CPRI的链路时钟。Fig. 18a and Fig. 18b are clock schemes in the downlink direction of the microwave equipment connected to the baseband processing unit BBU. This embodiment provides two schemes: one is to use the clock output by the clock extraction module in the uplink direction as the working clock in the downlink direction. The other is to use an adaptive clock recovery technology, which uses a phase-locked loop (PLL) or a direct data frequency synthesizer (DDS) to recover the original CPRI link clock based on the loop control based on the fullness of the FIFO2.

以上实施例提供了一种与BBU相连的微波设备的时钟处理方法,以使微波设备能跟踪BBU的时钟。The above embodiments provide a clock processing method of a microwave device connected to a BBU, so that the microwave device can track the clock of the BBU.

实施案例十四Implementation Case Fourteen

在移动通信系统中,基站射频单元RRU的频率稳定度要求较高,往往需要达到0.05ppm的精度,因此RRU需要获得高稳定度的频率参考。尽管CPRI本身是高稳定的同步链路,但由于在本发明中CPRI经由微波传输,且GEM适配层因自适应速率适配而动态插入填充字节,因此CPRI经由GEM/微波通道传输后需要重新恢复出原有的高稳定时钟。In a mobile communication system, the frequency stability of the radio frequency unit RRU of the base station is required to be high, and the accuracy of 0.05ppm is often required. Therefore, the RRU needs to obtain a frequency reference with high stability. Although CPRI itself is a highly stable synchronous link, since CPRI is transmitted via microwave in the present invention, and the GEM adaptation layer dynamically inserts stuffing bytes due to adaptive rate adaptation, CPRI needs to be transmitted after being transmitted via GEM/microwave channel. Restore the original high stability clock.

图19为与射频拉远单元RRU相连的微波设备下行方向的时钟方案。本实施例提供两种方案:一种是采用全球公共时钟方案,即微波设备从全球定位系统(GRS)等同步时钟分配网获得高稳定度的频率参考,作为CPRI链路的时钟源,这样就能在RRU侧的微波设备保证CPRI线路时钟的高稳定要求。另一种是采用自适应时钟恢复技术,该技术利用基于FIFO2空满度进行环路控制的锁相环(PLL)或直接数据频率合成器(DDS)恢复出原CPRI的链路时钟。Figure 19 is a clock scheme in the downlink direction of the microwave equipment connected to the remote radio unit RRU. This embodiment provides two schemes: one is to adopt the global common clock scheme, that is, the microwave equipment obtains a high-stability frequency reference from a synchronous clock distribution network such as the Global Positioning System (GRS) as the clock source of the CPRI link, so that The microwave equipment on the RRU side can ensure the high stability requirements of the CPRI line clock. The other is to use an adaptive clock recovery technology, which uses a phase-locked loop (PLL) or a direct data frequency synthesizer (DDS) to recover the original CPRI link clock based on the loop control based on the fullness of the FIFO2.

图20a和图20b为与射频拉远单元RRU相连的微波设备上行方向的时钟方案。本实施例提供两种方案:一种是采用下行方向的时钟恢复模块输出的时钟作为上行方向的工作时钟。另外一种方案是采用从CPRI链路的串行数据流中恢复出CPRI线路时钟。例如采用锁相环技术恢复,要求该锁相环性能满足CPRI规范。Fig. 20a and Fig. 20b are clock schemes in the uplink direction of the microwave equipment connected to the remote radio unit RRU. This embodiment provides two solutions: one is to use the clock output by the clock recovery module in the downlink direction as the working clock in the uplink direction. Another solution is to recover the CPRI line clock from the serial data stream of the CPRI link. For example, the phase-locked loop technology is used for recovery, and the performance of the phase-locked loop is required to meet the CPRI specification.

以上实施例提供了一种与RRU相连的微波设备的时钟处理方法,以使RRU侧的微波设备时钟能跟踪BBU侧的微波设备时钟,从而RRU能跟踪BBU的时钟。The above embodiments provide a clock processing method of a microwave device connected to an RRU, so that the clock of the microwave device on the RRU side can track the clock of the microwave device on the BBU side, so that the RRU can track the clock of the BBU.

以上对本发明所提供的一种CPRI数据的传递方法、设备及系统进行了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A CPRI data transmission method, device and system provided by the present invention have been introduced in detail above. For those of ordinary skill in the art, according to the ideas of the embodiments of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the present invention.

Claims (14)

1.一种通用公共无线接口数据发送方法,其特征在于,该方法包括:1. A general public radio interface data transmission method, characterized in that the method comprises: 接收通用公共无线接口数据;Receive Common Public Radio Interface data; 对所述通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号;Synchronizing the UPRI data to generate a UPRI superframe header indication signal; 根据所述通用公共无线接口超帧帧头指示信号和预设的自适应调制参数生成通用公共无线接口基本帧帧格式信息;Generate general public radio interface basic frame frame format information according to the general public radio interface superframe header indication signal and preset adaptive modulation parameters; 根据所述通用公共无线接口超帧帧头指示信号、自适应调制参数和通用公共无线接口基本帧帧格式信息生成通用公共无线接口压缩帧;Generate a general public radio interface compressed frame according to the general public radio interface superframe header indication signal, adaptive modulation parameters and general public radio interface basic frame frame format information; 根据所述通用公共无线接口压缩帧和通用公共无线接口基本帧帧格式信息生成微波数据并发送;generating and sending microwave data according to the UPI compressed frame and UPI basic frame frame format information; 其中,根据所述通用公共无线接口压缩帧和通用公共无线接口基本帧帧格式信息生成微波数据包括:Wherein, generating microwave data according to the general public radio interface compressed frame and general public radio interface basic frame frame format information includes: 将所述通用公共无线接口压缩帧适配到微波帧的净荷区,将所述通用公共无线接口基本帧帧格式信息适配到微波帧的开销区;Adapting the UPI compressed frame to the payload area of the microwave frame, and adapting the UPI basic frame format information to the overhead area of the microwave frame; 对所述微波净荷和微波开销按照时分复用的方式进行复接以形成微波数据。The microwave payload and the microwave overhead are multiplexed in a time-division multiplexing manner to form microwave data. 2.根据权利要求1所述的通用公共无线接口数据发送方法,其特征在于,该通用公共无线接口基本帧帧格式信息包括:2. the general public radio interface data transmission method according to claim 1, is characterized in that, this general public radio interface basic frame frame format information comprises: 天线载波在通用公共无线接口基本帧中的位置、有效天线载波的比特数、通用公共无线接口压缩帧的字节数以及有效天线载波在通用公共无线接口压缩帧的位置。The position of the antenna carrier in the basic frame of the common public radio interface, the number of bits of the effective antenna carrier, the number of bytes of the compressed frame of the common public radio interface, and the position of the effective antenna carrier in the compressed frame of the common public radio interface. 3.根据权利要求1所述的通用公共无线接口数据发送方法,其特征在于,所述对所述通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号包括:3. The UPI data transmission method according to claim 1, wherein said synchronizing said UPI data to generate a UPI superframe header indication signal comprises: 将串行通用公共无线接口数据转换为并行通用公共无线接口数据;converting serial universal public radio interface data to parallel universal public radio interface data; 对所述并行通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号。The parallel UPI data is synchronously processed to generate a UPI superframe header indication signal. 4.根据权利要求1所述的通用公共无线接口数据发送方法,其特征在于,其中根据所述通用公共无线接口超帧帧头指示信号和预设的自适应调制参数生成通用公共无线接口基本帧帧格式信息包括:4. UPI data sending method according to claim 1, is characterized in that, wherein generates UPI basic frame according to said UPI superframe frame header indication signal and preset adaptive modulation parameters Frame format information includes: 根据所述通用公共无线接口超帧帧头指示信号,提取通用公共无线接口基本帧的控制字;Extracting the control word of the general public radio interface basic frame according to the general public radio interface superframe header indication signal; 解析所述的通用公共无线接口基本帧的控制字所支持的高速数据链路控制信道或以太网信道以获得该通用公共无线接口基本帧包含的有效天线载波在通用公共无线接口基本帧中的位置和有效天线载波的比特数;Analyzing the high-speed data link control channel or Ethernet channel supported by the control word of the basic common public radio interface frame to obtain the position of the effective antenna carrier contained in the basic common public radio interface frame in the basic common public radio interface frame and the number of bits of the active antenna carrier; 根据所述自适应调制参数和有效天线载波的比特数计算通用公共无线接口压缩帧的字节数以及有效天线载波在通用公共无线接口压缩帧的位置;或Calculate the number of bytes of the UPI compressed frame and the position of the effective antenna carrier in the UPI compressed frame according to the adaptive modulation parameter and the number of bits of the effective antenna carrier; or 根据所述通用公共无线接口超帧帧头指示信号监视通用公共无线接口基本帧的数据区以获得有效比特位置信息;Monitoring the data area of the basic frame of the general public radio interface according to the general public radio interface superframe header indication signal to obtain valid bit position information; 根据所述有效比特位置信息计算该通用公共无线接口基本帧包含的有效天线载波在通用公共无线接口基本帧中的位置和有效天线载波的比特数;Calculate the position of the effective antenna carrier contained in the general public radio interface basic frame and the number of bits of the effective antenna carrier in the general public radio interface basic frame according to the effective bit position information; 根据所述自适应调制参数和有效天线载波的比特数计算通用公共无线接口压缩帧的字节数以及有效天线载波在通用公共无线接口压缩帧的位置。Calculate the number of bytes of the UPI compressed frame and the position of the effective antenna carrier in the UPI compressed frame according to the adaptive modulation parameter and the number of bits of the effective antenna carrier. 5.根据权利要求1所述的通用公共无线接口数据发送方法,其特征在于,其中根据所述通用公共无线接口超帧帧头指示信号、自适应调制参数和通用公共无线接口基本帧帧格式信息生成通用公共无线接口压缩帧包括:5. UPI data sending method according to claim 1, is characterized in that, wherein according to said UPI superframe header indication signal, adaptive modulation parameter and UPI basic frame frame format information Generating a CPRI compressed frame involves: 根据通用公共无线接口超帧帧头指示信号、有效天线载波在通用公共无线接口基本帧中的位置和有效天线载波的比特数提取通用公共无线接口基本帧的控制字和有效天线载波数据;Extracting the control word and effective antenna carrier data of the basic frame of the general public radio interface according to the general public radio interface superframe frame header indication signal, the position of the effective antenna carrier in the basic frame of the common public radio interface and the number of bits of the effective antenna carrier; 根据所述自适应调制参数选择需要传输的有效天线载波数据;selecting effective antenna carrier data to be transmitted according to the adaptive modulation parameters; 将所述通用公共无线接口基本帧的控制字和需要传输的有效天线载波数据按时分复用的方式形成通用公共无线接口压缩帧。The control word of the basic frame of the common public radio interface and the effective antenna carrier data to be transmitted are time-division multiplexed to form a compressed common public radio interface frame. 6.一种通用公共无线接口数据接收方法,其特征在于,该方法包括:6. A general public radio interface data receiving method, characterized in that the method comprises: 接收微波数据;Receive microwave data; 对所述微波数据进行同步以提取微波净荷和微波开销;synchronizing the microwave data to extract microwave payload and microwave overhead; 解析所述微波开销以提取通用公共无线接口基本帧帧格式信息;Parsing the microwave overhead to extract frame format information of the common public radio interface basic frame; 解适配所述微波净荷以提取通用公共无线接口压缩帧;deadapting the microwave payload to extract a Common Public Radio Interface compressed frame; 根据所述通用公共无线接口压缩帧生成通用公共无线接口超帧帧头指示信号;Generating a UPI superframe header indication signal according to the UPI compressed frame; 根据所述通用公共无线接口超帧帧头指示信号和通用公共无线接口基本帧帧格式信息生成通用公共无线接口数据并发送。Generating and sending the UPI data according to the UPI superframe header indication signal and the UPI basic frame format information. 7.根据权利要求6所述的方法,其特征在于,该通用公共无线接口基本帧帧格式信息包括:7. The method according to claim 6, wherein the general public radio interface basic frame frame format information includes: 天线载波在通用公共无线接口基本帧中的位置、有效天线载波的比特数、通用公共无线接口压缩帧的字节数以及有效天线载波在通用公共无线接口压缩帧的位置。The position of the antenna carrier in the basic frame of the common public radio interface, the number of bits of the effective antenna carrier, the number of bytes of the compressed frame of the common public radio interface, and the position of the effective antenna carrier in the compressed frame of the common public radio interface. 8.一种通用公共无线接口数据发送装置,其特征在于,该装置包括:8. A general public radio interface data transmission device, characterized in that the device comprises: 上行接收单元,用于接收通用公共无线接口数据;an uplink receiving unit, configured to receive general public radio interface data; 上行同步单元,用于对所述并行通用公共无线接口数据进行同步处理以生成通用公共无线接口超帧帧头指示信号;An uplink synchronization unit, configured to perform synchronous processing on the parallel UPI data to generate a UPI superframe header indication signal; 帧格式信息获取单元,用于根据所述通用公共无线接口超帧帧头指示信号和预设的自适应调制参数生成通用公共无线接口基本帧帧格式信息;A frame format information acquisition unit, configured to generate general public radio interface basic frame frame format information according to the general public radio interface superframe header indication signal and preset adaptive modulation parameters; 压缩单元,用于根据所述通用公共无线接口超帧帧头指示信号、自适应调制参数和通用公共无线接口基本帧帧格式信息生成通用公共无线接口压缩帧;A compression unit, configured to generate a general public radio interface compressed frame according to the general public radio interface superframe header indication signal, adaptive modulation parameters and general public radio interface basic frame frame format information; 微波数据生成单元,用于根据所述通用公共无线接口压缩帧和通用公共无线接口基本帧帧格式信息生成微波数据;A microwave data generating unit, configured to generate microwave data according to the general public radio interface compressed frame and the general public radio interface basic frame frame format information; 上行发送单元,用于将所述微波数据发送;an uplink sending unit, configured to send the microwave data; 其中,所述微波数据生成单元包括:Wherein, the microwave data generation unit includes: 净荷适配单元,用于将所述通用公共无线接口压缩帧适配到微波帧结构的净荷区;A payload adaptation unit, configured to adapt the compressed frame of the common public radio interface to the payload area of the microwave frame structure; 开销形成单元,用于根据所述通用公共无线接口基本帧帧格式信息生成微波开销;an overhead forming unit, configured to generate microwave overhead according to the general public radio interface basic frame frame format information; 微波复接单元,用于对所述微波净荷和微波开销按照时分复用的方式进行复接以形成微波数据。The microwave multiplexing unit is configured to multiplex the microwave payload and microwave overhead in a time-division multiplexing manner to form microwave data. 9.根据权利要求8所述的通用公共无线接口数据发送装置,还包括:9. The UPI data sending device according to claim 8, further comprising: 串并转换单元,用于将串行通用公共无线接口数据转换为并行通用公共无线接口数据。The serial-to-parallel conversion unit is used for converting serial UPI data into parallel UPI data. 10.根据权利要求8所述的通用公共无线接口数据发送装置,其特征在于,所述帧格式信息获取单元包括:10. The UPI data sending device according to claim 8, wherein the frame format information acquisition unit comprises: 第一监视单元,用于根据所述通用公共无线接口超帧帧头指示信号,监视通用公共无线接口基本帧的控制字所支持的HDLC信道或以太网信道以获得该通用公共无线接口基本帧包含的有效天线载波在通用公共无线接口基本帧中的位置和有效天线载波的比特数;The first monitoring unit is used to monitor the HDLC channel or Ethernet channel supported by the control word of the general public radio interface basic frame according to the general public radio interface superframe header indication signal to obtain the content of the general public radio interface basic frame The position of the effective antenna carrier in the common public radio interface basic frame and the number of bits of the effective antenna carrier; 第一计算单元,用于根据所述自适应调制参数和有效天线载波的比特数计算通用公共无线接口压缩帧的字节数以及有效天线载波在通用公共无线接口压缩帧的位置。The first calculation unit is configured to calculate the number of bytes of the UPI compressed frame and the position of the effective antenna carrier in the UPI compressed frame according to the adaptive modulation parameter and the number of bits of the effective antenna carrier. 11.根据权利要求8所述的通用公共无线接口数据发送装置,其特征在于,所述帧格式信息获取单元包括:11. The UPI data sending device according to claim 8, wherein the frame format information acquisition unit comprises: 第二监视单元,用于根据所述通用公共无线接口超帧帧头指示信号监视通用公共无线接口基本帧的数据区以获得有效比特位置信息;根据所述有效比特位置信息计算该通用公共无线接口基本帧包含的天线载波在通用公共无线接口基本帧中的位置和有效天线载波的比特数;The second monitoring unit is used to monitor the data area of the general public radio interface basic frame according to the general public radio interface superframe header indication signal to obtain effective bit position information; calculate the general public radio interface according to the effective bit position information The position of the antenna carrier contained in the basic frame in the basic frame of the common public radio interface and the number of bits of the effective antenna carrier; 第二计算单元,根据所述自适应调制参数和有效天线载波的比特数计算通用公共无线接口压缩帧的字节数以及有效天线载波在通用公共无线接口压缩帧的位置。The second calculation unit calculates the number of bytes of the UPI compressed frame and the position of the effective antenna carrier in the UPI compressed frame according to the adaptive modulation parameter and the number of bits of the effective antenna carrier. 12.根据权利要求8所述的通用公共无线接口数据发送装置,其特征在于,所述压缩单元包括:12. The universal public radio interface data transmission device according to claim 8, wherein the compression unit comprises: 提取单元,用于根据通用公共无线接口超帧帧头指示信号、有效天线载波在通用公共无线接口基本帧中的位置和有效天线载波的比特数提取通用公共无线接口基本帧的控制字和有效天线载波数据;The extraction unit is used to extract the control word and the effective antenna of the general public radio interface basic frame according to the general public radio interface superframe header indication signal, the position of the effective antenna carrier in the general public radio interface basic frame and the number of bits of the effective antenna carrier carrier data; 选择单元,用于根据所述自适应调制参数选择需要传输的有效天线载波数据;A selection unit, configured to select effective antenna carrier data to be transmitted according to the adaptive modulation parameters; 生成单元,用于对所述控制字和需要传输的有效天线载波数据按时分复用的方式生成通用公共无线接口压缩帧。The generation unit is used for generating the general public radio interface compressed frame in a time-division multiplexing manner for the control word and the effective antenna carrier data to be transmitted. 13.一种通用公共无线接口数据接收装置,其特征在于,该装置包括:13. A general public radio interface data receiving device, characterized in that the device comprises: 下行接收单元,用于接收微波数据;a downlink receiving unit, configured to receive microwave data; 微波解复接单元,用于对微波数据进行同步以提取微波净荷和微波开销;The microwave demultiplexing unit is used to synchronize the microwave data to extract the microwave payload and microwave overhead; 微波开销解析单元,用于解析所述微波开销以提取通用公共无线接口基本帧帧格式信息;A microwave overhead parsing unit, configured to parse the microwave overhead to extract frame format information of the general public radio interface basic frame; 微波净荷解适配单元,用于从所述微波净荷解适配出通用公共无线接口压缩帧;A microwave payload de-adaptation unit, configured to de-adapt the general public radio interface compressed frame from the microwave payload; 下行同步单元,用于对所述通用公共无线接口压缩帧进行同步以生成通用公共无线接口超帧帧头指示信号;A downlink synchronization unit, configured to synchronize the UPI compressed frame to generate a UPI superframe header indication signal; 解压缩单元,用于根据所述通用公共无线接口超帧帧头指示信号和通用公共无线接口基本帧帧格式信息解压缩出通用公共无线接口数据;A decompression unit, configured to decompress the general public radio interface data according to the general public radio interface superframe header indication signal and the general public radio interface basic frame frame format information; 下行发送单元,用于发送所述通用公共无线接口数据。a downlink sending unit, configured to send the UPI data. 14.一种通用公共无线接口数据的转递系统,其特征在于,该系统包括:第一微波设备和第二微波设备;14. A general public radio interface data transfer system, characterized in that the system comprises: a first microwave device and a second microwave device; 第一微波设备与射频拉远单元连接,用于接收射频拉远单元发送的通用公共无线接口数据,将所述通用公共无线接口数据转换为微波数据并发送至第二微波设备;以及,接收第二微波设备发送的微波数据,将该微波数据转换为通用公共无线接口数据并发送至射频拉远单元;The first microwave device is connected to the remote radio unit, and is used to receive the general public wireless interface data sent by the remote radio unit, convert the general public wireless interface data into microwave data and send it to the second microwave device; and, receive the first microwave data 2. Convert the microwave data sent by the microwave device into common public radio interface data and send it to the remote radio unit; 第二微波设备与基带处理单元连接,用于接收所述第一微波设备发送的微波数据,将所述微波数据转换为通用公共无线接口数据并发送至基带处理单元;以及,接收基带处理单元发送的通用公共无线接口数据,将该通用公共无线接口数据转换为微波数据并发送至第一微波设备。The second microwave device is connected to the baseband processing unit, and is used to receive the microwave data sent by the first microwave device, convert the microwave data into general public radio interface data and send it to the baseband processing unit; and, receive the microwave data sent by the baseband processing unit The UPI data, converting the UPI data into microwave data and sending it to the first microwave device.
CN201010002214.4A 2010-01-06 2010-01-06 A general public radio interface data transfer method, device and system Active CN102118191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010002214.4A CN102118191B (en) 2010-01-06 2010-01-06 A general public radio interface data transfer method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010002214.4A CN102118191B (en) 2010-01-06 2010-01-06 A general public radio interface data transfer method, device and system

Publications (2)

Publication Number Publication Date
CN102118191A CN102118191A (en) 2011-07-06
CN102118191B true CN102118191B (en) 2014-01-08

Family

ID=44216807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010002214.4A Active CN102118191B (en) 2010-01-06 2010-01-06 A general public radio interface data transfer method, device and system

Country Status (1)

Country Link
CN (1) CN102118191B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3294001A4 (en) * 2015-08-11 2018-07-11 Huawei Technologies Co., Ltd. Digital fronthaul data transmission method, device and system

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973396B (en) * 2013-01-29 2019-09-13 南京中兴新软件有限责任公司 Method and device for transmitting wireless baseband data and remote radio module RRU
FR3007617A1 (en) * 2013-06-19 2014-12-26 France Telecom SERVICE INFORMATION PROVIDING DEVICES FOR MICROWAVE BEAM LINK
CN103634785B (en) * 2013-09-13 2016-09-28 京信通信系统(中国)有限公司 Radio Network System
BR112016027231B1 (en) 2014-05-21 2023-02-07 Huawei Technologies Co., Ltd SENDING APPARATUS, RECEIVING APPLIANCE AND DATA TRANSMISSION METHOD
CN104579479B (en) * 2014-12-31 2017-02-22 成都信息工程学院 Distributed base station system and E1 signal and Ethernet signal transmitting method thereof
WO2016201619A1 (en) * 2015-06-16 2016-12-22 华为技术有限公司 Signal conversion method, and signal conversion apparatus and system
CN106712893B (en) * 2015-07-23 2020-10-09 华为技术有限公司 Method and device for data transmission
WO2017035724A1 (en) 2015-08-31 2017-03-09 华为技术有限公司 Method, device, and system for receiving cpri data stream and ethernet frame
CN107925650B (en) * 2015-09-02 2020-05-08 华为技术有限公司 Data transmission method, forwarding equipment and cascade networking
EP3352384B1 (en) 2015-10-29 2019-08-07 Huawei Technologies Co., Ltd. Data sending and receiving method, apparatus and system
CN106888466B (en) * 2015-12-15 2021-05-18 中兴通讯股份有限公司 Method and device for realizing remote communication of mobile base station
WO2017107016A1 (en) * 2015-12-21 2017-06-29 华为技术有限公司 Data transmission method, remote radio unit (rru) and baseband unit (bbu)
CN106992838B (en) * 2016-01-21 2020-02-21 华为技术有限公司 A method and apparatus for transmitting public wireless interface signals
WO2017177447A1 (en) * 2016-04-15 2017-10-19 华为技术有限公司 Data transmission method and device
CN107528669B (en) * 2016-06-22 2021-11-12 中兴通讯股份有限公司 Data transmission method and microwave transmission device
CN107547481B (en) * 2016-06-28 2021-09-24 中兴通讯股份有限公司 Data transmission method and device, and photoelectric conversion device and system
EP3462623B1 (en) * 2016-06-28 2020-04-29 Huawei Technologies Co., Ltd. Method and device for transmitting and receiving data
CN106358288B (en) * 2016-09-29 2019-07-09 中国联合网络通信集团有限公司 A kind of localization method, apparatus and system
CN106899342B (en) * 2016-12-27 2019-01-01 中国移动通信有限公司研究院 A kind of encapsulation of data, transmission method and device
US11343781B2 (en) * 2019-02-01 2022-05-24 Cisco Technology, Inc. Link establishment between a radio equipment controller (REC) and radio equipment (RE) in a fronthaul network
CN112584434A (en) * 2019-09-30 2021-03-30 深圳市中兴微电子技术有限公司 Data transmission method and device
CN113259043B (en) * 2021-05-18 2022-12-09 力同科技股份有限公司 Data processing method, data processing device, communication system, communication device, and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753329A (en) * 2005-10-28 2006-03-29 芯通科技(成都)有限公司 Method of timing and timing calibration of base station radio frequency remoter and its use
CN101494869A (en) * 2009-02-25 2009-07-29 京信通信系统(中国)有限公司 Microwave zooming wireless shrouding system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960231A (en) * 2005-10-31 2007-05-09 Ut斯达康通讯有限公司 Multichannel multiplex transmission method and system for CPRI link

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753329A (en) * 2005-10-28 2006-03-29 芯通科技(成都)有限公司 Method of timing and timing calibration of base station radio frequency remoter and its use
CN101494869A (en) * 2009-02-25 2009-07-29 京信通信系统(中国)有限公司 Microwave zooming wireless shrouding system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3294001A4 (en) * 2015-08-11 2018-07-11 Huawei Technologies Co., Ltd. Digital fronthaul data transmission method, device and system

Also Published As

Publication number Publication date
CN102118191A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN102118191B (en) A general public radio interface data transfer method, device and system
US7817603B2 (en) Method and apparatus for multi-antenna signal transmission in RF long-distance wireless BS
US7653083B2 (en) Interface method between remote radio unit and centralized base transceiver station
US7680149B2 (en) CPRI link multiplex transmission method and system
US7822075B2 (en) Method and system of signal transmission in base transceiver station based on remote radio head
US7656897B2 (en) CPRI-based multiprotocol signal transmission method and apparatus in distributed base station system
US6785558B1 (en) System and method for distributing wireless communication signals over metropolitan telecommunication networks
CN102577187B (en) Signal transmission processing method and device, and distributed base station
US20140079037A1 (en) Transmission of multiprotocol data in a distributed antenna system
JP6603816B2 (en) Method and apparatus for transmitting frame data between near-end device and far-end device
CN101730307A (en) Device and method for transmitting radio remote data
CN106576267B (en) Method, device and system for transmitting digital forward data
CN103906222B (en) A kind of uplink data synchronous method, system and equipment
US6389036B1 (en) Airlink transport container
CN104579479B (en) Distributed base station system and E1 signal and Ethernet signal transmitting method thereof
US10531330B2 (en) Frame start optimizing in telecommunications systems
CN1972163A (en) A signaling data transmission apparatus in radio frequency widening module and its frame synchronization method
Shibata et al. Dynamic compression method using wireless resource allocation for digitized radio over TDM-PON system
JP2004328344A (en) Radio base station system, radio base station device and radio transmission/reception part for use in the same, and its remote antenna signal transmission control method
JP2015080022A (en) Optical transmission equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant