CN113395715B - Method, device and equipment for testing physical layer of base station and storage medium - Google Patents

Method, device and equipment for testing physical layer of base station and storage medium Download PDF

Info

Publication number
CN113395715B
CN113395715B CN202010169450.9A CN202010169450A CN113395715B CN 113395715 B CN113395715 B CN 113395715B CN 202010169450 A CN202010169450 A CN 202010169450A CN 113395715 B CN113395715 B CN 113395715B
Authority
CN
China
Prior art keywords
base station
physical layer
test
data
tested
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
CN202010169450.9A
Other languages
Chinese (zh)
Other versions
CN113395715A (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.)
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Chengdu ICT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010169450.9A priority Critical patent/CN113395715B/en
Publication of CN113395715A publication Critical patent/CN113395715A/en
Application granted granted Critical
Publication of CN113395715B publication Critical patent/CN113395715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

本申请公开了一种基站物理层的测试方法、装置、设备及存储介质,涉及移动通信技术领域。该方法包括:将预先获取的待测基站的天线数据,转换为通用公共无线电接口CPRI数据;将所述CPRI数据发送至所述待测基站的基带物理层单元,以使所述基带物理层单元基于预设物理层参数,对所述CPRI数据进行解调,并将生成的解调数据上传至预先部署在所述待测基站的模拟协议栈单元;从所述模拟协议栈单元读取所述解调数据,并基于所述解调数据,生成所述待测基站物理层的测试结果。根据本申请实施例,能够降低基站物理层的测试成本。

Figure 202010169450

The application discloses a test method, device, equipment and storage medium for the physical layer of a base station, and relates to the technical field of mobile communication. The method includes: converting the pre-acquired antenna data of the base station to be tested into CPRI data; sending the CPRI data to the baseband physical layer unit of the base station to be tested, so that the baseband physical layer unit Based on the preset physical layer parameters, the CPRI data is demodulated, and the generated demodulated data is uploaded to the simulation protocol stack unit pre-deployed in the base station to be tested; the simulation protocol stack unit reads the Demodulate the data, and generate a test result of the physical layer of the base station under test based on the demodulated data. According to the embodiment of the present application, the test cost of the physical layer of the base station can be reduced.

Figure 202010169450

Description

基站物理层的测试方法、装置、设备及存储介质Method, device, equipment and storage medium for testing base station physical layer

技术领域technical field

本申请属于移动通信技术领域,尤其涉及一种基站物理层的测试方法、装置、设备及存储介质。The present application belongs to the technical field of mobile communication, and in particular relates to a test method, device, equipment and storage medium for the physical layer of a base station.

背景技术Background technique

在移动通信网络中,基站是不可或缺的组成部分。基站不仅能够接收与发送无线信号,还能够将无线信号转换成易于传输的光/电信号,实现信息在不同用户终端之间的传输。In a mobile communication network, a base station is an indispensable part. The base station can not only receive and send wireless signals, but also convert wireless signals into optical/electrical signals that are easy to transmit, so as to realize the transmission of information between different user terminals.

为了确保基站的可靠性,需要定时对基站进行各项测试,在这些测试中,较为重要的是对基站物理层的测试。通常使用信道模拟仪对基站物理层进行测试,即利用射频线缆将基站的射频单元与信道模拟仪连接,然后由信道模拟仪将模拟出的基站各个信道的射频信号,通过射频线缆输入至射频单元,以进行基站物理层测试。In order to ensure the reliability of the base station, it is necessary to regularly perform various tests on the base station. Among these tests, the test on the physical layer of the base station is more important. Usually, a channel simulator is used to test the physical layer of the base station, that is, the radio frequency unit of the base station is connected to the channel simulator with a radio frequency cable, and then the channel simulator inputs the simulated radio frequency signals of each channel of the base station through the radio frequency cable to the RF unit for base station physical layer testing.

然而,对于信道较多的基站,如5G基站的信道可以达到256个之多,采用上述信道模拟仪进行基站物理层测试时,不仅需要大量的射频线缆和测试人员,而且信道模拟仪需要支持同样数量的信道,测试成本过高。However, for a base station with many channels, such as a 5G base station with as many as 256 channels, when using the above-mentioned channel simulator to test the physical layer of the base station, not only a large number of RF cables and testers are required, but also the channel simulator needs to support The same number of channels, the test cost is too high.

发明内容Contents of the invention

本申请实施例提供一种基站物理层的测试方法、装置、设备及存储介质,以解决测试成本过高的问题。Embodiments of the present application provide a test method, device, equipment, and storage medium for the physical layer of a base station, so as to solve the problem of high test cost.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the application is implemented as follows:

第一方面,本申请实施例提供了一种基站物理层的测试方法,包括:In the first aspect, the embodiment of the present application provides a method for testing the physical layer of a base station, including:

将预先获取的待测基站的天线数据,转换为通用公共无线电接口CPRI数据;Convert the pre-acquired antenna data of the base station to be tested into CPRI data;

将所述CPRI数据发送至所述待测基站的基带物理层单元,以使所述基带物理层单元基于预设物理层参数,对所述CPRI数据进行解调,并将生成的解调数据上传至预先部署在所述待测基站的模拟协议栈单元;Sending the CPRI data to the baseband physical layer unit of the base station to be tested, so that the baseband physical layer unit demodulates the CPRI data based on preset physical layer parameters, and uploads the generated demodulated data To the simulation protocol stack unit pre-deployed in the base station to be tested;

从所述模拟协议栈单元读取所述解调数据,并基于所述解调数据,生成所述待测基站物理层的测试结果。Reading the demodulation data from the analog protocol stack unit, and generating a test result of the physical layer of the base station under test based on the demodulation data.

第二方面,本申请实施例提供了一种基站物理层的测试方法,包括:In a second aspect, the embodiment of the present application provides a method for testing the physical layer of a base station, including:

接收CPRI数据;所述CPRI数据由测试设备对预先获取的待测基站的天线数据进行转换而生成;receiving CPRI data; the CPRI data is generated by the test equipment converting the pre-acquired antenna data of the base station to be tested;

基于预设物理层参数,对所述CPRI数据进行解调,生成解调数据;所述预设物理层参数,由预先部署在所述待测基站的模拟协议栈单元基于测试用例参数生成;Demodulating the CPRI data based on preset physical layer parameters to generate demodulated data; the preset physical layer parameters are generated based on test case parameters by a simulation protocol stack unit pre-deployed in the base station to be tested;

将所述解调数据上传至所述模拟协议栈单元,以使所述模拟协议栈单元将所述解调数据发送至所述测试设备,并由所述测试设备基于所述解调数据,生成所述待测基站物理层的测试结果。uploading the demodulated data to the simulated protocol stack unit, so that the simulated protocol stack unit sends the demodulated data to the test equipment, and the test equipment generates the demodulated data based on the demodulated data The test result of the physical layer of the base station under test.

第三方面,本申请实施例提供了一种基站物理层的测试装置,包括:In a third aspect, the embodiment of the present application provides a test device for the physical layer of a base station, including:

转换模块,用于将预先获取的待测基站的天线数据,转换为通用公共无线电接口CPRI数据;A conversion module, configured to convert the pre-acquired antenna data of the base station to be tested into CPRI data;

发送模块,用于将所述CPRI数据发送至所述待测基站的基带物理层单元,以使所述基带物理层单元基于预设物理层参数,对所述CPRI数据进行解调,并将生成的解调数据上传至预先部署在所述待测基站的模拟协议栈单元;A sending module, configured to send the CPRI data to the baseband physical layer unit of the base station to be tested, so that the baseband physical layer unit demodulates the CPRI data based on preset physical layer parameters, and generates The demodulated data is uploaded to the analog protocol stack unit pre-deployed in the base station to be tested;

生成模块,用于从所述模拟协议栈单元读取所述解调数据,并基于所述解调数据,生成所述待测基站物理层的测试结果。A generating module, configured to read the demodulated data from the analog protocol stack unit, and generate a test result of the physical layer of the base station under test based on the demodulated data.

第四方面,本申请实施例提供了一种基站物理层的测试装置,包括:In a fourth aspect, the embodiment of the present application provides a test device for the physical layer of a base station, including:

接收模块,用于接收CPRI数据;所述CPRI数据由测试设备对预先获取的待测基站的天线数据进行转换而生成;A receiving module, configured to receive CPRI data; the CPRI data is generated by converting the pre-acquired antenna data of the base station to be tested by the test equipment;

解调模块,用于基于预设物理层参数,对所述CPRI数据进行解调,生成解调数据;所述预设物理层参数,由预先部署在所述待测基站的模拟协议栈单元基于测试用例参数生成;The demodulation module is used to demodulate the CPRI data based on preset physical layer parameters to generate demodulated data; the preset physical layer parameters are pre-deployed in the base station under test based on the analog protocol stack unit Test case parameter generation;

上传模块,用于将所述解调数据上传至所述模拟协议栈单元,以使所述模拟协议栈单元将所述解调数据发送至所述测试设备,并由所述测试设备基于所述解调数据,生成所述待测基站物理层的测试结果。An upload module, configured to upload the demodulated data to the simulated protocol stack unit, so that the simulated protocol stack unit sends the demodulated data to the test equipment, and the test equipment based on the Demodulate the data to generate a test result of the physical layer of the base station to be tested.

第五方面,本申请实施例提供了一种测试设备,包括:处理器以及存储有计算机程序指令的存储器;In a fifth aspect, the embodiment of the present application provides a testing device, including: a processor and a memory storing computer program instructions;

所述处理器执行所述计算机程序指令时实现如第一方面所述的基站物理层的测试方法。When the processor executes the computer program instructions, the method for testing the physical layer of the base station according to the first aspect is implemented.

第六方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如第一方面所述的基站物理层的测试方法。In a sixth aspect, an embodiment of the present application provides a computer storage medium, where computer program instructions are stored on the computer storage medium, and when the computer program instructions are executed by a processor, the physical layer of the base station as described in the first aspect is implemented. Test Methods.

相较于现有技术,本申请具有以下有益效果:Compared with the prior art, the present application has the following beneficial effects:

在本申请实施例中,通过将待测基站的天线数据转换为通用公共无线电接口CPRI数据,然后再将CPRI数据直接发送至待测基站的基带物理层单元,跳过了由射频单元先将天线数据转换为CPRI数据,再将CPRI数据发送至基带物理层单元的步骤,从而无需利用射频线缆和信道模拟仪,极大地降低了基站物理层的测试成本。In the embodiment of the present application, by converting the antenna data of the base station to be tested into CPRI data, and then directly sending the CPRI data to the baseband physical layer unit of the base station to be tested, the radio frequency unit is skipped to first convert the antenna The step of converting the data into CPRI data and then sending the CPRI data to the baseband physical layer unit eliminates the need to use radio frequency cables and channel simulators, greatly reducing the test cost of the base station physical layer.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments of the present application. Additional figures can be derived from these figures.

图1是本申请一个实施例提供的基于信道模拟仪的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario based on a channel simulator provided by an embodiment of the present application;

图2是本申请一个实施例提供的基站物理层的测试方法的应用场景示意图;FIG. 2 is a schematic diagram of an application scenario of a method for testing the physical layer of a base station provided by an embodiment of the present application;

图3是本申请另一个实施例提供的基站物理层的测试方法的信令示意图;FIG. 3 is a schematic signaling diagram of a method for testing the physical layer of a base station provided in another embodiment of the present application;

图4是本申请另一个实施例提供的基站物理层的测试装置的结构示意图;4 is a schematic structural diagram of a test device for the physical layer of a base station provided in another embodiment of the present application;

图5是本申请另一个实施例提供的基站物理层的测试装置的结构示意图;FIG. 5 is a schematic structural diagram of a test device for the physical layer of a base station provided in another embodiment of the present application;

图6是本申请另一个实施例提供的基站物理层的测试装置的结构示意图;FIG. 6 is a schematic structural diagram of a test device for the physical layer of a base station provided in another embodiment of the present application;

图7是本申请又一个实施例提供的测试设备的结构示意图。Fig. 7 is a schematic structural diagram of testing equipment provided by another embodiment of the present application.

具体实施方式Detailed ways

下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅被配置为解释本申请,并不被配置为限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。The characteristics and exemplary embodiments of various aspects of the application will be described in detail below. In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only configured to explain the application, not to limit the application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the statement "comprising..." does not exclude the presence of additional same elements in the process, method, article or device comprising said element.

为了确保基站的可靠性,需要定时对基站进行各项测试,在这些测试中,较为重要的是对基站物理层的测试。如图1所示,通常使用信道模拟仪110对基站100的物理层进行测试,即利用射频线缆120将基站100的射频单元102的各个天线101与信道模拟仪110连接,然后由信道模拟仪110将模拟出的基站100各个信道的射频信号,通过射频线缆120输入至射频单元102,再由射频单元102发送至基带物理层单元103和协议栈单元104,以进行物理层测试。In order to ensure the reliability of the base station, it is necessary to regularly perform various tests on the base station. Among these tests, the test on the physical layer of the base station is more important. As shown in Fig. 1, the physical layer of the base station 100 is usually tested using a channel simulator 110, that is, each antenna 101 of the radio frequency unit 102 of the base station 100 is connected to the channel simulator 110 by using a radio frequency cable 120, and then the channel simulator 110 inputs the simulated radio frequency signals of each channel of the base station 100 to the radio frequency unit 102 through the radio frequency cable 120, and then the radio frequency unit 102 sends them to the baseband physical layer unit 103 and protocol stack unit 104 for physical layer testing.

然而,对于信道较多的基站,如5G基站的信道可以达到256个之多,当采用上述使用信道模拟仪对基站物理层进行测试的方案时,由于待测基站的信道过多,相应的射频单元的天线也较多,需要与射频单元的天线相连接的射频线缆也较多,因此,需要大量的测试人员进行布置。However, for a base station with many channels, such as a 5G base station, the number of channels can reach as many as 256. When the above-mentioned scheme of using a channel simulator to test the physical layer of the base station is adopted, due to too many channels of the base station to be tested, the corresponding radio frequency There are also many antennas in the unit, and there are also many radio frequency cables that need to be connected to the antennas of the radio frequency unit. Therefore, a large number of testers are required to arrange.

此外,测试用的信道模拟仪也需要支持同样数量的信道,而信道模拟仪支持的信道越多,仪器体积也越大,不仅提升了信道模拟仪的成本,也需要再增加测试人员来进行布置。故而,上述采用上述使用信道模拟仪对基站物理层进行测试的方案,测试成本过高。另外,上述基于信道模拟仪进行测试,需要依赖射频器件,而射频器件容易受到外界干扰的影响,测试效果也较差。In addition, the channel simulator used for testing also needs to support the same number of channels, and the more channels the channel simulator supports, the larger the instrument will be, which not only increases the cost of the channel simulator, but also requires more testers to make arrangements . Therefore, the above-mentioned solution of using the channel simulator to test the physical layer of the base station has a high test cost. In addition, the above-mentioned test based on the channel simulator needs to rely on radio frequency devices, and radio frequency devices are easily affected by external interference, and the test effect is also poor.

为了解决现有技术问题,本申请实施例提供了一种基站物理层的测试方法、装置、设备及存储介质。下面首先对本申请实施例所提供的基站物理层的测试方法进行介绍。In order to solve the problems in the prior art, embodiments of the present application provide a method, device, equipment and storage medium for testing the physical layer of a base station. Firstly, the method for testing the physical layer of the base station provided by the embodiment of the present application will be introduced below.

基站物理层的测试方法的执行主体可以是一种测试设备,例如定制设计的测试板,该测试板可以具备将天线数据转换为CPRI(Common Public Radio Interface,通用公共无线电接口)数据的功能。应用场景图可以如图2所示,一方面,测试设备210可以将待测基站200测试用的天线数据,转换为CPRI数据,并将转换后的CPRI数据直接发送至待测基站200的物理层,即基带物理层单元201。另一方面,测试设备210可以从预先部署在待测基站200的模拟协议栈单元202处,读取基带物理层单元201上传的解调数据,以基于解调数据,生成待测基站200物理层的测试结果。The execution subject of the test method of the physical layer of the base station can be a kind of test equipment, such as a custom-designed test board, which can have the function of converting antenna data into CPRI (Common Public Radio Interface, Common Public Radio Interface) data. The application scenario diagram can be shown in FIG. 2. On the one hand, the test equipment 210 can convert the antenna data used for testing the base station 200 to be tested into CPRI data, and directly send the converted CPRI data to the physical layer of the base station to be tested 200. , that is, the baseband physical layer unit 201. On the other hand, the test equipment 210 can read the demodulation data uploaded by the baseband physical layer unit 201 from the analog protocol stack unit 202 pre-deployed in the base station under test 200, so as to generate the physical layer of the base station under test 200 based on the demodulation data. test results.

如图3所示,本申请实施例提供的基站物理层的测试方法包括以下步骤:As shown in Figure 3, the method for testing the physical layer of the base station provided in the embodiment of the present application includes the following steps:

S301、测试设备将测试用例参数发送至模拟协议栈单元。S301. The test equipment sends the test case parameters to the simulation protocol stack unit.

在一个示例实施例中,基站除射频单元外,还可以包括基带物理层单元和协议栈单元,基带物理层单元和协议栈单元共同组成了基站的无线接口协议栈,其中,基带物理层单元也称为物理层,协议栈单元包括数据链路层和网络层。在基站的运行过程中,位于协议栈上层的数据链路层和网络层,可以通过配置物理层参数,对物理层进行数据调度。In an example embodiment, in addition to the radio frequency unit, the base station may also include a baseband physical layer unit and a protocol stack unit, and the baseband physical layer unit and the protocol stack unit together form the wireless interface protocol stack of the base station, wherein the baseband physical layer unit also Known as the physical layer, the protocol stack unit includes the data link layer and the network layer. During the operation of the base station, the data link layer and network layer located on the upper layer of the protocol stack can schedule data on the physical layer by configuring the physical layer parameters.

为了实现单独测试基站物理层的目的,同时降低物理层测试对基站的影响,如多次更改数据链路层和网络层相关参数带来的更改错误或忘记复原的问题,本申请在待测基站中部署了模拟协议栈单元,用于接管协议栈上层的数据链路层和网络层在进行基站物理层测试时的相应功能,如配置物理层参数、接收物理层单元上传的调制数据等功能。In order to achieve the purpose of testing the physical layer of the base station separately, and reduce the impact of the physical layer test on the base station, such as the problem of changing the data link layer and network layer related parameters caused by changing errors or forgetting to restore, this application is in the base station to be tested The analog protocol stack unit is deployed in the protocol stack to take over the corresponding functions of the data link layer and network layer in the upper layer of the protocol stack when performing base station physical layer testing, such as configuring physical layer parameters and receiving modulation data uploaded by the physical layer unit.

具体的,在进行基站物理层测试之前,测试设备可以基于待测基站的测试用例的具体要求,生成测试用例参数,然后将测试用例参数发送至待测基站的模拟协议栈单元。Specifically, before performing the base station physical layer test, the test equipment can generate test case parameters based on the specific requirements of the test cases of the base station to be tested, and then send the test case parameters to the simulated protocol stack unit of the base station to be tested.

S302、模拟协议栈单元基于测试用例参数,配置基带物理层单元的预设物理层参数,并将预设物理层参数发送至基带物理层单元。S302. The simulated protocol stack unit configures preset physical layer parameters of the baseband physical layer unit based on the test case parameters, and sends the preset physical layer parameters to the baseband physical layer unit.

在一个示例实施例中,待测基站的模拟协议栈单元在接收到测试用例参数后,可以基于测试用例参数,对基带物理层单元的预设物理层参数进行配置。之后,模拟协议栈单元可以将预设物理层参数发送至基带物理层单元。In an example embodiment, after receiving the test case parameters, the simulated protocol stack unit of the base station to be tested can configure the preset physical layer parameters of the baseband physical layer unit based on the test case parameters. Afterwards, the analog protocol stack unit can send the preset physical layer parameters to the baseband physical layer unit.

S303、测试设备将预先获取的待测基站的天线数据,转换为通用公共无线电接口CPRI数据。S303. The test equipment converts the pre-acquired antenna data of the base station to be tested into CPRI data.

在一个示例实施例中,测试人员可以基于待测基站的测试用例的具体要求,预先对待测基站的天线数据进行获取,然后将获取的天线数据输入至测试设备。In an example embodiment, the tester may acquire antenna data of the base station under test in advance based on the specific requirements of the test case of the base station under test, and then input the acquired antenna data into the test device.

具体的,待测基站的天线数据,可以由模拟软件生成,如使用已开发的信道模拟软件,根据测试用例的具体要求,生成天线数据;或者,借助基站设计和开发过程中已完成的算法仿真程序,根据测试用例的具体要求生成天线数据。此外,待测基站的天线数据,也可以是在待测基站的射频单元处采集的真实天线数据。Specifically, the antenna data of the base station to be tested can be generated by simulation software, such as using the developed channel simulation software to generate antenna data according to the specific requirements of the test case; or, by means of the algorithm simulation completed in the base station design and development process program to generate antenna data according to the specific requirements of the test case. In addition, the antenna data of the base station to be tested may also be real antenna data collected at the radio frequency unit of the base station to be tested.

在接收到待测基站的天线数据后,测试设备可以将待测基站的天线数据,转换为CPRI数据,以实现将测试数据直接输入至基站的基带物理层单元的目的。从而跳过了,现有技术中由基站的射频单元先将天线数据转换为CPRI数据,再将CPRI数据发送至基带物理层单元的步骤,从而无需再利用射频线缆和信道模拟仪进行基站物理层测试,极大地降低了基站物理层的测试成本。After receiving the antenna data of the base station to be tested, the test equipment can convert the antenna data of the base station to be tested into CPRI data, so as to directly input the test data to the baseband physical layer unit of the base station. Thus, the step of converting the antenna data into CPRI data by the radio frequency unit of the base station in the prior art, and then sending the CPRI data to the baseband physical layer unit is skipped, so that there is no need to use radio frequency cables and channel simulators to carry out the physical analysis of the base station. layer test, which greatly reduces the test cost of the physical layer of the base station.

需要说明的是,上述步骤S301、S302、S303的顺序,只是一种描述顺序,并不作为步骤S301、S302、S303中各项处理的实际顺序,在实际过程中,步骤S303,可以在步骤S301、S302之前或之后进行处理,也可以与步骤S301、S302进行并行处理。It should be noted that the above-mentioned sequence of steps S301, S302, and S303 is just a description sequence, and is not the actual sequence of the various processes in steps S301, S302, and S303. , S302 before or after processing, or parallel processing with steps S301 and S302.

S304、测试设备将CPRI数据发送至待测基站的基带物理层单元。S304. The test equipment sends the CPRI data to the baseband physical layer unit of the base station to be tested.

在一个示例实施例中,测试设备在将待测基站的天线数据,转换为CPRI数据后,可以将CPRI数据发送至待测基站的基带物理层单元,如通过CPRI接口,或者具备发送CPRI数据的其它接口。In an exemplary embodiment, after the test equipment converts the antenna data of the base station to be tested into CPRI data, the CPRI data can be sent to the baseband physical layer unit of the base station to be tested, such as through a CPRI interface, or have a device for sending CPRI data other interfaces.

S305、基带物理层单元基于预设物理层参数,对CPRI数据进行解调,生成解调数据。S305. The baseband physical layer unit demodulates the CPRI data based on preset physical layer parameters to generate demodulated data.

在一个示例实施例中,待测基站的基带物理层单元在接收到CPRI数据后,可以基于上述步骤S302中由模拟协议栈单元配置的预设物理层参数,对CPRI数据进行解调处理,生成解调数据。In an exemplary embodiment, after receiving the CPRI data, the baseband physical layer unit of the base station to be tested can demodulate the CPRI data based on the preset physical layer parameters configured by the analog protocol stack unit in step S302 above, to generate Demodulate the data.

S306、基带物理层单元将解调数据上传至待测基站的模拟协议栈单元。S306. The baseband physical layer unit uploads the demodulated data to the analog protocol stack unit of the base station to be tested.

在一个示例实施例中,待测基站的基带物理层单元在生成解调数据后,可以将解调数据上传至上述模拟协议栈单元。In an example embodiment, after the baseband physical layer unit of the base station to be tested generates demodulated data, it may upload the demodulated data to the analog protocol stack unit.

S307、模拟协议栈单元将解调数据转发至测试设备。S307. The analog protocol stack unit forwards the demodulated data to the test equipment.

在一个示例实施例中,待测基站的模拟协议栈单元,可以将基带物理层单元上传的解调数据,转发至测试设备。这样,测试设备可以获取到,待测基站的物理层单元对测试用的天线数据的测试结果,从而为后续的生成测试结果的处理提供了数据来源。In an example embodiment, the simulated protocol stack unit of the base station to be tested may forward the demodulated data uploaded by the baseband physical layer unit to the test equipment. In this way, the test equipment can obtain the test results of the antenna data used for testing by the physical layer unit of the base station to be tested, thereby providing a data source for subsequent processing of generating test results.

S308、测试设备基于解调数据,生成待测基站物理层的测试结果。S308. The test device generates a test result of the physical layer of the base station to be tested based on the demodulated data.

在一个示例实施例中,测试设备在接收到上述模拟协议栈单元转发的解调数据后,可以基于解调数据,生成待测基站物理层的测试结果。In an exemplary embodiment, after receiving the demodulated data forwarded by the analog protocol stack unit, the testing device may generate a test result of the physical layer of the base station to be tested based on the demodulated data.

具体的,测试设备可以利用与预设物理层参数对应的解调数据,即已被验证合格的解调数据,来评估本次基站物理层测试的测试效果。测试设备可以将上述模拟协议栈单元转发的解调数据,与预设物理层参数对应的解调数据进行匹配。如果匹配成功,如匹配的一致度超过预设阈值,如95%,则测试设备可以生成测试合格的测试结果;如果匹配,则测试设备可以生测试不合格的测试结果。Specifically, the test equipment can use the demodulation data corresponding to the preset physical layer parameters, that is, the verified demodulation data, to evaluate the test effect of the physical layer test of the base station. The testing device can match the demodulated data forwarded by the analog protocol stack unit with the demodulated data corresponding to the preset physical layer parameters. If the matching is successful, if the consistency of the matching exceeds a preset threshold, such as 95%, the testing device can generate a test result of passing the test; if they match, the testing device can generate a test result of failing the test.

可选的,为了确保测试设备和被测基站的同步性,提高基站物理层测试的准确性,还可以进行如下处理:每隔预设周期,与待测基站进行时钟同步。Optionally, in order to ensure the synchronization between the test equipment and the base station under test and improve the accuracy of the physical layer test of the base station, the following processing may also be performed: clock synchronization with the base station under test is performed every preset period.

在一个示例实施例中,考虑到被测基站的物理层单元是实时运行的,故而测试设备需要按照被测基站的调度,实时将测试用的天线数据输入至被测基站的物理层单元。为了实现上述目的,测试设备可以每隔预设周期,如2000毫秒,与待测基站进行时钟同步。In an exemplary embodiment, considering that the physical layer unit of the base station under test operates in real time, the test equipment needs to input antenna data for testing into the physical layer unit of the base station under test in real time according to the scheduling of the base station under test. In order to achieve the above purpose, the test equipment may perform clock synchronization with the base station under test every preset period, such as 2000 milliseconds.

值得一提的是,本申请实施例提供的基站物理层的测试方法,不仅可以对信道较多的5G基站,进行基站物理层测试,也可以对信道较少的基站,如4G基站、3G基站或2G基站,进行基站物理层测试。It is worth mentioning that the method for testing the physical layer of the base station provided by the embodiment of the present application can not only test the physical layer of the base station for 5G base stations with more channels, but also test the base station physical layer for base stations with fewer channels, such as 4G base stations and 3G base stations. Or 2G base station, conduct base station physical layer test.

另外,本申请实施例可以用于多种应用场景。In addition, the embodiments of the present application may be used in various application scenarios.

具体的,本申请实施例,可以独立验证5G基站物理层在复杂信道环境下的性能,尤其是大规模天线场景下物理层性能,包括但不限于验证物理层各信道解调算法,测量算法及特性算法的功能和性能。Specifically, the embodiment of this application can independently verify the performance of the physical layer of the 5G base station in a complex channel environment, especially the performance of the physical layer in a large-scale antenna scenario, including but not limited to verifying the demodulation algorithm, measurement algorithm and Features and performance of algorithms.

本申请实施例,还可以进行5G物理层性能的自动化快速回归及持续集成验证。由于5G场景的复杂性,使得性能验证需要搭建复杂而庞大的测试仪器组网环境,导致自动化测试非常困难。而本申请实施例,测试设备甚至可以是一块测试板,搭建简单,使得自动化控制变得简单,可以实现物理层性能的持续集成测试。In the embodiment of the present application, automatic fast regression and continuous integration verification of 5G physical layer performance can also be performed. Due to the complexity of 5G scenarios, performance verification requires the establishment of a complex and huge test instrument networking environment, making automated testing very difficult. However, in the embodiment of the present application, the test device can even be a test board, which is easy to build, makes automatic control simple, and can realize continuous integration testing of physical layer performance.

本申请实施例,还可以实现外场真实环境的模拟测试及复杂问题的定位功能。本申请实施例可以在外场环境采集真实的天线数据后,导入测试设备进行测试,从而实现在实验室环境测试真实的信道场景。另外,当外场问题很难定位时,可以直接采集天线数据导入测试设备进行问题复现,从而在实验室即可完成问题快速定位。The embodiment of the present application can also realize the simulation test of the real environment in the field and the positioning function of complex problems. In the embodiment of the present application, real antenna data can be collected in an external field environment, and then imported into testing equipment for testing, thereby realizing testing of real channel scenarios in a laboratory environment. In addition, when the external field problem is difficult to locate, the antenna data can be directly collected and imported into the test equipment to reproduce the problem, so that the problem can be quickly located in the laboratory.

本申请实施例,还可以用于大用户量测试。由于多用户终端模拟器的成本较高,且实验室大用户量测试环境较少,而通过本申请实施例,可以采集大用户量这一测试环境的天线数据,再进行基站物理层测试,从而能够实现大用户量场景下基站物理层的功能性能测试。This embodiment of the application can also be used for testing with a large number of users. Since the cost of the multi-user terminal simulator is relatively high, and there are few test environments with a large number of users in the laboratory, through the embodiment of the present application, the antenna data of the test environment with a large number of users can be collected, and then the physical layer test of the base station is performed, thereby It can realize the functional performance test of the physical layer of the base station in the scenario of a large number of users.

在本申请实施例中,通过将待测基站的天线数据转换为通用公共无线电接口CPRI数据,然后再将CPRI数据直接发送至待测基站的基带物理层单元,跳过了由射频单元先将天线数据转换为CPRI数据,再将CPRI数据发送至基带物理层单元的步骤,从而无需利用射频线缆和信道模拟仪,极大地降低了基站物理层的测试成本。进一步的,由于不使用射频单元,测试环境受外界影响小,不仅可以提高测试准确度,也有利于进行持续集成的自动化测试。In the embodiment of the present application, by converting the antenna data of the base station to be tested into CPRI data, and then directly sending the CPRI data to the baseband physical layer unit of the base station to be tested, the radio frequency unit is skipped to first convert the antenna The step of converting the data into CPRI data and then sending the CPRI data to the baseband physical layer unit eliminates the need to use radio frequency cables and channel simulators, greatly reducing the test cost of the base station physical layer. Furthermore, since no radio frequency unit is used, the test environment is less affected by the outside world, which not only improves test accuracy, but also facilitates continuous integration and automated testing.

此外,相比采用信道模拟仪进行基站物理层测试的方法,本申请无需使用复杂而庞大的测试仪器,即可实现5G复杂场景下基站物理层性能的验证,能够解决大规模天线场景物理层性能测试难的问题。In addition, compared with the method of using a channel simulator to test the physical layer of the base station, this application can realize the verification of the physical layer performance of the base station in 5G complex scenarios without using complex and large test instruments, and can solve the problem of physical layer performance in large-scale antenna scenarios. Hard questions to test.

基于上述实施例提供的基站物理层的测试方法,相应地,本申请还提供了一种基站物理层的测试装置的具体实现方式。请参见以下实施例。Based on the method for testing the physical layer of the base station provided in the foregoing embodiments, correspondingly, the present application also provides a specific implementation manner of a device for testing the physical layer of the base station. See the examples below.

首先参见图4,本申请实施例提供的基站物理层的测试装置包括以下模块:Referring first to FIG. 4, the test device for the physical layer of the base station provided in the embodiment of the present application includes the following modules:

转换模块401,用于将预先获取的待测基站的天线数据,转换为通用公共无线电接口CPRI数据;A conversion module 401, configured to convert the pre-acquired antenna data of the base station to be tested into CPRI data;

发送模块402,用于将所述CPRI数据发送至所述待测基站的基带物理层单元,以使所述基带物理层单元基于预设物理层参数,对所述CPRI数据进行解调,并将生成的解调数据上传至预先部署在所述待测基站的模拟协议栈单元;A sending module 402, configured to send the CPRI data to the baseband physical layer unit of the base station under test, so that the baseband physical layer unit demodulates the CPRI data based on preset physical layer parameters, and sends The generated demodulation data is uploaded to the analog protocol stack unit pre-deployed in the base station to be tested;

生成模块403,用于从所述模拟协议栈单元读取所述解调数据,并基于所述解调数据,生成所述待测基站物理层的测试结果。The generating module 403 is configured to read the demodulated data from the analog protocol stack unit, and generate a test result of the physical layer of the base station under test based on the demodulated data.

可选的,所述待测基站的天线数据为,由模拟软件基于所述待测基站的基站参数而生成的模拟天线数据,或者,在所述待测基站的射频单元处采集的真实天线数据。Optionally, the antenna data of the base station to be tested is simulated antenna data generated by simulation software based on base station parameters of the base station to be tested, or real antenna data collected at the radio frequency unit of the base station to be tested .

可选的,所述发送模块402,还用于:将测试用例参数发送至所述模拟协议栈单元,以使所述模拟协议栈单元基于所述测试用例参数,配置所述基带物理层单元的所述预设物理层参数。Optionally, the sending module 402 is further configured to: send test case parameters to the simulated protocol stack unit, so that the simulated protocol stack unit configures the baseband physical layer unit based on the test case parameters The preset physical layer parameters.

可选的,所述生成模块403,具体用于:将所述解调数据与所述预设物理层参数对应的解调数据进行匹配;Optionally, the generating module 403 is specifically configured to: match the demodulated data with the demodulated data corresponding to the preset physical layer parameters;

如果匹配成功,则生成所述待测基站物理层测试合格的测试结果,否则生成所述待测基站物理层测试不合格的测试结果。If the matching is successful, generate a test result that the physical layer test of the base station under test is qualified, otherwise generate a test result that the physical layer test of the base station under test is unqualified.

可选的,如图5所示,所述装置还包括同步模块404,用于:每隔预设周期,与所述待测基站进行时钟同步。Optionally, as shown in FIG. 5 , the device further includes a synchronization module 404 configured to perform clock synchronization with the base station to be tested every preset period.

可选的,所述待测基站为2G基站、3G基站、4G基站或5G基站。Optionally, the base station to be tested is a 2G base station, a 3G base station, a 4G base station or a 5G base station.

在本申请实施例中,通过将待测基站的天线数据转换为通用公共无线电接口CPRI数据,然后再将CPRI数据直接发送至待测基站的基带物理层单元,跳过了由射频单元先将天线数据转换为CPRI数据,再将CPRI数据发送至基带物理层单元的步骤,从而无需利用射频线缆和信道模拟仪,极大地降低了基站物理层的测试成本。In the embodiment of the present application, by converting the antenna data of the base station to be tested into CPRI data, and then directly sending the CPRI data to the baseband physical layer unit of the base station to be tested, the radio frequency unit is skipped to first convert the antenna The step of converting the data into CPRI data and then sending the CPRI data to the baseband physical layer unit eliminates the need to use radio frequency cables and channel simulators, greatly reducing the test cost of the base station physical layer.

基于上述实施例提供的基站物理层的测试方法,相应地,本申请还提供了另一种基站物理层的测试装置的具体实现方式。请参见以下实施例。Based on the method for testing the physical layer of the base station provided in the foregoing embodiments, correspondingly, the present application also provides another specific implementation manner of an apparatus for testing the physical layer of the base station. See the examples below.

参见图6,本申请实施例提供的基站物理层的测试装置包括以下模块:Referring to Figure 6, the test device for the physical layer of the base station provided by the embodiment of the present application includes the following modules:

接收模块601,用于接收CPRI数据;所述CPRI数据由测试设备对预先获取的待测基站的天线数据进行转换而生成;The receiving module 601 is configured to receive CPRI data; the CPRI data is generated by converting the pre-acquired antenna data of the base station to be tested by the test equipment;

解调模块602,用于基于预设物理层参数,对所述CPRI数据进行解调,生成解调数据;所述预设物理层参数,由预先部署在所述待测基站的模拟协议栈单元基于测试用例参数生成;The demodulation module 602 is configured to demodulate the CPRI data based on preset physical layer parameters to generate demodulated data; the preset physical layer parameters are pre-deployed in the analog protocol stack unit of the base station to be tested Generated based on test case parameters;

上传模块603,用于将所述解调数据上传至所述模拟协议栈单元,以使所述模拟协议栈单元将所述解调数据发送至所述测试设备,并由所述测试设备基于所述解调数据,生成所述待测基站物理层的测试结果。Upload module 603, configured to upload the demodulated data to the simulated protocol stack unit, so that the simulated protocol stack unit sends the demodulated data to the test equipment, and the test equipment based on the The demodulated data is used to generate a test result of the physical layer of the base station to be tested.

可选的,所述待测基站的天线数据为,由模拟软件基于所述待测基站的基站参数而生成的模拟天线数据,或者,在所述待测基站的射频单元处采集的真实天线数据。Optionally, the antenna data of the base station to be tested is simulated antenna data generated by simulation software based on base station parameters of the base station to be tested, or real antenna data collected at the radio frequency unit of the base station to be tested .

可选的,所述待测基站为2G基站、3G基站、4G基站或5G基站。Optionally, the base station to be tested is a 2G base station, a 3G base station, a 4G base station or a 5G base station.

在本申请实施例中,通过将待测基站的天线数据转换为通用公共无线电接口CPRI数据,然后再将CPRI数据直接发送至待测基站的基带物理层单元,跳过了由射频单元先将天线数据转换为CPRI数据,再将CPRI数据发送至基带物理层单元的步骤,从而无需利用射频线缆和信道模拟仪,极大地降低了基站物理层的测试成本。In the embodiment of the present application, by converting the antenna data of the base station to be tested into CPRI data, and then directly sending the CPRI data to the baseband physical layer unit of the base station to be tested, the radio frequency unit is skipped to first convert the antenna The step of converting the data into CPRI data and then sending the CPRI data to the baseband physical layer unit eliminates the need to use radio frequency cables and channel simulators, greatly reducing the test cost of the base station physical layer.

图7为实现本申请各个实施例的一种测试设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a testing device implementing various embodiments of the present application.

测试设备可以包括处理器701以及存储有计算机程序指令的存储器702。The testing device may comprise a processor 701 and a memory 702 storing computer program instructions.

具体地,上述处理器701可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits in the embodiments of the present application.

存储器702可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器702可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器702可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器702可在综合网关容灾设备的内部或外部。在特定实施例中,存储器702是非易失性固态存储器。在特定实施例中,存储器702包括只读存储器(ROM)。在合适的情况下,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。Memory 702 may include mass storage for data or instructions. By way of example and not limitation, memory 702 may include a hard disk drive (Hard Disk Drive, HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (Universal Serial Bus, USB) drive or two or more Combinations of multiple of the above. Storage 702 may include removable or non-removable (or fixed) media, where appropriate. Under appropriate circumstances, the storage 702 can be inside or outside the comprehensive gateway disaster recovery device. In a particular embodiment, memory 702 is a non-volatile solid-state memory. In particular embodiments, memory 702 includes read-only memory (ROM). Where appropriate, the ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or A combination of two or more of the above.

处理器701通过读取并执行存储器702中存储的计算机程序指令,以实现上述实施例中的任意一种基站物理层的测试方法。The processor 701 reads and executes the computer program instructions stored in the memory 702 to implement any method for testing the physical layer of the base station in the foregoing embodiments.

在一个示例中,测试设备还可包括通信接口703和总线710。其中,如图7所示,处理器701、存储器702、通信接口703通过总线710连接并完成相互间的通信。In one example, the test equipment may also include a communication interface 703 and a bus 710 . Wherein, as shown in FIG. 7 , a processor 701 , a memory 702 , and a communication interface 703 are connected through a bus 710 to complete mutual communication.

通信接口703,主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。The communication interface 703 is mainly used to realize the communication between various modules, devices, units and/or devices in the embodiments of the present application.

总线710包括硬件、软件或两者,将测试设备的部件彼此耦接在一起。举例来说而非限制,总线可包括加速图形端口(AGP)或其他图形总线、增强工业标准架构(EISA)总线、前端总线(FSB)、超传输(HT)互连、工业标准架构(ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线710可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。Bus 710 includes hardware, software, or both, and couples the components of the test equipment to each other. By way of example and not limitation, the bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), HyperTransport (HT) interconnect, Industry Standard Architecture (ISA) Bus, Infiniband Interconnect, Low Pin Count (LPC) Bus, Memory Bus, Micro Channel Architecture (MCA) Bus, Peripheral Component Interconnect (PCI) Bus, PCI-Express (PCI-X) Bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or a combination of two or more of these. Bus 710 may comprise one or more buses, where appropriate. Although the embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.

该测试设备可以执行本申请实施例中的基站物理层的测试方法,从而实现结合图3和图4描述的基站物理层的测试方法和装置。The test equipment can execute the method for testing the physical layer of the base station in the embodiment of the present application, thereby realizing the method and device for testing the physical layer of the base station described in conjunction with FIG. 3 and FIG. 4 .

本申请实施例还提供一种计算机可读存储介质,该计算机存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述基站物理层的测试方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a computer-readable storage medium, on which computer program instructions are stored; when the computer program instructions are executed by a processor, each process of the above-mentioned embodiment of the test method for the physical layer of the base station is implemented, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.

需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the application is not limited to the specific configurations and processes described above and shown in the figures. For conciseness, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art may make various changes, modifications and additions, or change the order of the steps after understanding the spirit of the present application.

以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the structural block diagrams described above may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments employed to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves. "Machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.

还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiment, or may be different from the order in the embodiment, or several steps may be performed simultaneously.

以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the present application, and those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described systems, modules and units can refer to the foregoing method embodiments The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present application is not limited thereto, and any person familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the application, and these modifications or replacements should cover all Within the protection scope of this application.

Claims (13)

1.一种基站物理层的测试方法,其特征在于,应用于测试设备,所述测试设备为独立于基站的设备,所述方法包括:1. A method for testing the physical layer of a base station, characterized in that it is applied to test equipment, and the test equipment is an equipment independent of the base station, and the method comprises: 将预先获取的待测基站的天线数据,转换为通用公共无线电接口CPRI数据;Convert the pre-acquired antenna data of the base station to be tested into CPRI data; 将所述CPRI数据发送至所述待测基站的基带物理层单元,以使所述Send the CPRI data to the baseband physical layer unit of the base station under test, so that the 基带物理层单元基于预设物理层参数,对所述CPRI数据进行解调,并将生成的解调数据上传至预先部署在所述待测基站的模拟协议栈单元;所述The baseband physical layer unit demodulates the CPRI data based on preset physical layer parameters, and uploads the generated demodulated data to an analog protocol stack unit pre-deployed in the base station to be tested; 预设物理层参数,由所述模拟协议栈单元基于测试用例参数生成;Preset physical layer parameters, generated by the simulated protocol stack unit based on test case parameters; 从所述模拟协议栈单元读取所述解调数据,并基于所述解调数据,生成所述待测基站物理层的测试结果。Reading the demodulation data from the analog protocol stack unit, and generating a test result of the physical layer of the base station under test based on the demodulation data. 2.根据权利要求1所述的方法,其特征在于,所述待测基站的天线数据为,由模拟软件基于所述待测基站的基站参数而生成的模拟天线数据,或者,在所述待测基站的射频单元处采集的真实天线数据。2. The method according to claim 1, wherein the antenna data of the base station to be tested is simulated antenna data generated by simulation software based on the base station parameters of the base station to be tested, or, in the base station to be tested Real antenna data collected at the radio frequency unit of the base station. 3.根据权利要求1所述的方法,其特征在于,所述将所述CPRI数据发送至所述待测基站的基带物理层单元之前,所述方法还包括:3. The method according to claim 1, wherein, before the baseband physical layer unit of the described CPRI data is sent to the base station to be tested, the method also includes: 将测试用例参数发送至所述模拟协议栈单元,以使所述模拟协议栈单元基于所述测试用例参数,配置所述基带物理层单元的所述预设物理层参数。Sending test case parameters to the simulation protocol stack unit, so that the simulation protocol stack unit configures the preset physical layer parameters of the baseband physical layer unit based on the test case parameters. 4.根据权利要求3所述的方法,其特征在于,所述基于所述解调数据,生成所述待测基站物理层的测试结果,包括:4. The method according to claim 3, wherein the generating the test result of the physical layer of the base station under test based on the demodulated data comprises: 将所述解调数据与所述预设物理层参数对应的解调数据进行匹配;matching the demodulated data with the demodulated data corresponding to the preset physical layer parameters; 如果匹配成功,则生成所述待测基站物理层测试合格的测试结果,否则生成所述待测基站物理层测试不合格的测试结果。If the matching is successful, generate a test result that the physical layer test of the base station under test is qualified, otherwise generate a test result that the physical layer test of the base station under test is unqualified. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises: 每隔预设周期,与所述待测基站进行时钟同步。Clock synchronization with the base station to be tested is performed every preset period. 6.根据权利要求1-5任一项所述的方法,其特征在于,所述待测基站为2G基站、3G基站、4G基站或5G基站。6. The method according to any one of claims 1-5, wherein the base station to be tested is a 2G base station, a 3G base station, a 4G base station or a 5G base station. 7.一种基站物理层的测试方法,其特征在于,应用于测试设备,所述测试设备为独立于基站的设备,所述方法包括:7. A method for testing the physical layer of a base station, characterized in that it is applied to a test device, and the test device is a device independent of the base station, and the method includes: 接收CPRI数据;所述CPRI数据由测试设备对预先获取的待测基站的天线数据进行转换而生成;receiving CPRI data; the CPRI data is generated by the test equipment converting the pre-acquired antenna data of the base station to be tested; 基于预设物理层参数,对所述CPRI数据进行解调,生成解调数据;Demodulating the CPRI data based on preset physical layer parameters to generate demodulated data; 所述预设物理层参数,由预先部署在所述待测基站的模拟协议栈单元基于测试用例参数生成;The preset physical layer parameters are generated based on test case parameters by a simulation protocol stack unit pre-deployed in the base station to be tested; 将所述解调数据上传至所述模拟协议栈单元,以使所述模拟协议栈单元将所述解调数据发送至所述测试设备,并由所述测试设备基于所述解调数据,生成所述待测基站物理层的测试结果。uploading the demodulated data to the simulated protocol stack unit, so that the simulated protocol stack unit sends the demodulated data to the test equipment, and the test equipment generates the demodulated data based on the demodulated data The test result of the physical layer of the base station under test. 8.一种基站物理层的测试装置,其特征在于,应用于测试设备,所述测试设备为独立于基站的设备,所述装置包括:8. A test device for the physical layer of a base station, characterized in that it is applied to test equipment, the test equipment is equipment independent of the base station, and the device includes: 转换模块,用于将预先获取的待测基站的天线数据,转换为通用公共无线电接口CPRI数据;A conversion module, configured to convert the pre-acquired antenna data of the base station to be tested into CPRI data; 发送模块,用于将所述CPRI数据发送至所述待测基站的基带物理层单元,以使所述基带物理层单元基于预设物理层参数,对所述CPRI数据进行解调,并将生成的解调数据上传至预先部署在所述待测基站的模拟协议栈单元;A sending module, configured to send the CPRI data to the baseband physical layer unit of the base station under test, so that the baseband physical layer unit demodulates the CPRI data based on preset physical layer parameters, and generates The demodulated data is uploaded to the analog protocol stack unit pre-deployed in the base station to be tested; 生成模块,用于从所述模拟协议栈单元读取所述解调数据,并基于所述解调数据,生成所述待测基站物理层的测试结果。A generating module, configured to read the demodulated data from the analog protocol stack unit, and generate a test result of the physical layer of the base station under test based on the demodulated data. 9.根据权利要求8所述的装置,其特征在于,所述发送模块,还用于:9. The device according to claim 8, wherein the sending module is also used for: 将测试用例参数发送至所述模拟协议栈单元,以使所述模拟协议栈单元基于所述测试用例参数,配置所述基带物理层单元的所述预设物理层参数。Sending test case parameters to the simulation protocol stack unit, so that the simulation protocol stack unit configures the preset physical layer parameters of the baseband physical layer unit based on the test case parameters. 10.根据权利要求8所述的装置,其特征在于,所述装置还包括同步模块,用于:10. The device according to claim 8, characterized in that the device further comprises a synchronization module for: 每隔预设周期,与所述待测基站进行时钟同步。Clock synchronization with the base station to be tested is performed every preset period. 11.一种基站物理层的测试装置,其特征在于,应用于测试设备,所述测试设备为独立于基站的设备,所述装置包括:11. A test device for the physical layer of a base station, characterized in that it is applied to test equipment, the test equipment is equipment independent of the base station, and the device includes: 接收模块,用于接收CPRI数据;所述CPRI数据由测试设备对预先获取的待测基站的天线数据进行转换而生成;A receiving module, configured to receive CPRI data; the CPRI data is generated by converting the pre-acquired antenna data of the base station to be tested by the test equipment; 解调模块,用于基于预设物理层参数,对所述CPRI数据进行解调,生成解调数据;所述预设物理层参数,由预先部署在所述待测基站的模拟协议栈单元基于测试用例参数生成;The demodulation module is used to demodulate the CPRI data based on preset physical layer parameters to generate demodulated data; the preset physical layer parameters are pre-deployed in the base station under test based on the analog protocol stack unit Test case parameter generation; 上传模块,用于将所述解调数据上传至所述模拟协议栈单元,以使所述模拟协议栈单元将所述解调数据发送至所述测试设备,并由所述测试设备基于所述解调数据,生成所述待测基站物理层的测试结果。An upload module, configured to upload the demodulated data to the simulated protocol stack unit, so that the simulated protocol stack unit sends the demodulated data to the test equipment, and the test equipment based on the Demodulate the data to generate a test result of the physical layer of the base station to be tested. 12.一种测试设备,其特征在于,所述设备包括:处理器以及存储有计算机程序指令的存储器;12. A testing device, characterized in that the device comprises: a processor and a memory storing computer program instructions; 所述处理器执行所述计算机程序指令时实现如权利要求1-7任意一项所述的基站物理层的测试方法。When the processor executes the computer program instructions, the method for testing the physical layer of the base station according to any one of claims 1-7 is implemented. 13.一种计算机存储介质,其特征在于,所述计算机存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如权利要求1-7任意一项所述的基站物理层的测试方法。13. A computer storage medium, wherein computer program instructions are stored on the computer storage medium, and when the computer program instructions are executed by a processor, the physical layer of the base station according to any one of claims 1-7 is realized test method.
CN202010169450.9A 2020-03-12 2020-03-12 Method, device and equipment for testing physical layer of base station and storage medium Active CN113395715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010169450.9A CN113395715B (en) 2020-03-12 2020-03-12 Method, device and equipment for testing physical layer of base station and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010169450.9A CN113395715B (en) 2020-03-12 2020-03-12 Method, device and equipment for testing physical layer of base station and storage medium

Publications (2)

Publication Number Publication Date
CN113395715A CN113395715A (en) 2021-09-14
CN113395715B true CN113395715B (en) 2023-04-07

Family

ID=77615677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010169450.9A Active CN113395715B (en) 2020-03-12 2020-03-12 Method, device and equipment for testing physical layer of base station and storage medium

Country Status (1)

Country Link
CN (1) CN113395715B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143243B (en) * 2021-11-30 2023-12-22 航天新通科技有限公司 Radio frequency test method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244887A (en) * 2011-07-21 2011-11-16 北京北方烽火科技有限公司 Evolved Node B (eNodeB) monitoring system and eNodeB monitoring method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7856029B2 (en) * 2003-11-17 2010-12-21 Telefonaktiebolaget Lm Ericsson (Publ) Pre-start-up procedure for internal interface of distributed radio base station
CN100359971C (en) * 2004-10-09 2008-01-02 华为技术有限公司 Reglation testing axiliary interface device of radio base station and testing system using it
CN1988695A (en) * 2006-12-04 2007-06-27 京信通信技术(广州)有限公司 Base station simulating transmitting machine
CN101183900B (en) * 2007-11-23 2011-08-31 深圳国人通信有限公司 Baseband extension radio frequency subsystem RRU testing method, system and analog BBU device
CN102420891B (en) * 2011-09-23 2014-05-28 展讯通信(上海)有限公司 Mobile terminal and test method, equipment and system thereof
CN102594829B (en) * 2012-02-29 2014-08-06 电信科学技术研究院 Baseband switching equipment and switching method thereof
CN103987078A (en) * 2014-04-04 2014-08-13 京信通信系统(中国)有限公司 Base station physical layer test method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244887A (en) * 2011-07-21 2011-11-16 北京北方烽火科技有限公司 Evolved Node B (eNodeB) monitoring system and eNodeB monitoring method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Downlink Multi-Point Transmission Effect Using Aggregate Base Station Architecture;Soon-Gi PARK, Dae-Young KIM;《IEICE Transactions on Communications 2011 Volume E94.B》;20111201;全文 *
吕婷 ; 曹亘 ; 张涛 ; 李轶群.5G基站架构及部署策略.《移动通信》.2018, *

Also Published As

Publication number Publication date
CN113395715A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
TWI578727B (en) Virtualization of natural radio environments to test a radio device
CN103138855B (en) A kind of radio network information channel analog based on outfield measured data and method
TWI513231B (en) System and method for testing radio frequency device under test capable of communicating using multiple radio access technologies
JP2010531588A (en) Method for testing a mobile radio device
CN103430587A (en) Method, apparatus and computer program for testing carriers
CN101227693A (en) Apparatus and method of wireless links loopback test
CN113395715B (en) Method, device and equipment for testing physical layer of base station and storage medium
CN106559149A (en) A kind of throughput testing approach and device of multiple terminals
CN114510902A (en) Simulation result verification method, device, equipment and computer storage medium
CN106160898B (en) High-frequency tester and method for testing a mobile communication terminal with D2D capability
CN102594829A (en) Baseband switching equipment and switching method thereof
JP2009065488A (en) Radio transmitter emulator and radio test system using the same
CN107609219B (en) Mixed model signal integrity simulation method
CN108900261A (en) A kind of 1800M RF consistency reception intermodulation testing method and device
CN108833029A (en) A 1800M radio frequency conformance emission intermodulation test method and device
CN112039608B (en) Method, device and equipment for evaluating multi-antenna terminal and computer storage medium
CN117240738B (en) Method, device, equipment and storage medium for testing vehicle-mounted Ethernet
CN105510663A (en) Automatic acquisition and testing method for high-amplitude differential signal
KR101276573B1 (en) Test apparatus for verification algorithm in digital signal process apparatus
CN107294630B (en) Simulation test system of carrier wave-micropower dual-mode module
CN112532330A (en) Interference simulation system, method and device, interference test system, method and device
WO2011020268A1 (en) Test method and test system for spatial radio frequency performance of a multi-antenna system
EP3382915B1 (en) Mobile communication device, testing system and method for testing a device under test
JP2009065487A (en) Wireless device emulator and wireless test system using the same
CN114143243A (en) Radio frequency test method and system

Legal Events

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