CN108990091B - LTE physical layer testing method and system based on shared memory - Google Patents

LTE physical layer testing method and system based on shared memory Download PDF

Info

Publication number
CN108990091B
CN108990091B CN201810715201.8A CN201810715201A CN108990091B CN 108990091 B CN108990091 B CN 108990091B CN 201810715201 A CN201810715201 A CN 201810715201A CN 108990091 B CN108990091 B CN 108990091B
Authority
CN
China
Prior art keywords
test
base station
intermediate node
physical layer
shared memory
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
CN201810715201.8A
Other languages
Chinese (zh)
Other versions
CN108990091A (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.)
Wuhan Hongxin Technology Development Co Ltd
Original Assignee
Wuhan Hongxin Technology Development 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 Wuhan Hongxin Technology Development Co Ltd filed Critical Wuhan Hongxin Technology Development Co Ltd
Priority to CN201810715201.8A priority Critical patent/CN108990091B/en
Publication of CN108990091A publication Critical patent/CN108990091A/en
Application granted granted Critical
Publication of CN108990091B publication Critical patent/CN108990091B/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/04Arrangements for maintaining operational condition

Abstract

The invention belongs to the technical field of testing, and discloses a method and a system for testing an LTE (long term evolution) physical layer based on a shared memory, wherein all test files and an original intermediate node data file are generated based on a test case set, the test cases are processed one by one through base station physical layer software, the test files are read, baseband processing is carried out, the intermediate node data of channel processing is collected, and the intermediate node data of channel processing is stored in the shared memory of a base station; reading the data of the intermediate node of the channel processing through base station platform software, and uploading the data to a PC; and comparing the original intermediate node data with the channel processing intermediate node data by running the matlab program through the PC, and recording a test result. The invention solves the problems that the automation test can not be positioned to the level of the submodule for processing the channel and the automation degree of the specific submodule for processing the channel is low due to the problems of manual debugging and positioning in the prior art, and can obviously improve the efficiency of the test and positioning problems.

Description

LTE physical layer testing method and system based on shared memory
Technical Field
The invention relates to the technical field of testing, in particular to a method and a system for testing an LTE physical layer based on a shared memory.
Background
The LTE (Long Term Evolution) physical layer realizes the coding and decoding processing of uplink and downlink channels, and relates to a large number of complex operation processes, high real-time requirements, more channels to be tested, more intermediate processing nodes of each channel, and numerous configured parameters and constructed test cases.
The specific sub-module of the channel processing generated by the problem can be quickly positioned by automatically comparing the acquired channel processing intermediate node data with the node data generated by the original fixed-point algorithm, but the acquired channel processing intermediate node data can influence the real-time performance of the physical layer processing, so that the conventional automatic test generally does not acquire or slightly acquires the service data processed by the physical layer, the specific sub-module of the channel processing generated by the problem cannot be positioned at one time, and the efficiency is extremely low. In addition, through manual debugging of the integrated development environment, although data of intermediate nodes in channel processing can be collected, and then specific sub-modules of the channel processing are processed through data comparison and positioning problems, the manual debugging has the problems of low automation degree and low efficiency, and is not suitable for testing under the condition of more test cases.
Disclosure of Invention
The invention provides a method and a system for testing an LTE physical layer based on a shared memory, which are used for solving the problem that the automation degree of a specific sub-module for channel processing is low due to the fact that the traditional automated test cannot be positioned to the level of the sub-module for channel processing and the problem of manual debugging and positioning.
The invention provides a LTE physical layer test method based on a shared memory, which comprises the following steps:
step S1, generating all test files and original intermediate node data files based on the test case set, wherein the test files are stored in a base station, the original intermediate node data files are stored in a PC, and the original intermediate node data files contain original intermediate node data;
step S2, processing the test cases one by one through base station physical layer software, reading the test file, performing baseband processing and collecting channel processing intermediate node data, and storing the channel processing intermediate node data in a shared memory of the base station; reading the data of the channel processing intermediate node in the shared memory through base station platform software, and uploading the data to the PC;
and step S3, comparing the original intermediate node data with the channel processing intermediate node data through the matlab program running on the PC, and recording a test result.
Preferably, the shared memory based LTE physical layer testing method further includes:
and step S4, after the test case set is processed, the PC forwards the test result to related personnel through a mail server.
Preferably, in step S1, the test case set covers all channels processed in uplink and downlink, and the test file includes L3, L2 configuration information and baseband processing data.
Preferably, in step S2, after the base station physical layer software finishes processing the test case, the base station physical layer software sends a first notification message to the base station platform software;
and after the base station platform software uploads the data of the channel processing intermediate node to the PC, the base station platform software sends second notification information to the base station physical layer software.
Preferably, the test result includes the total number of test cases, the total number of failed test cases, the serial number of failed test cases, and the name of the submodule of the failed test case.
In another aspect, the present invention provides a shared memory based LTE physical layer test system, including: the base station and the PC are connected through the Ethernet; storing all test files generated based on the test case set in the base station, and storing all original intermediate node data files generated based on the test case set in the PC, wherein the original intermediate node data files comprise original intermediate node data;
the base station comprises base station physical layer software, base station platform software and a shared memory, wherein the base station physical layer software and the base station platform software can access the shared memory; the PC is provided with an ftp server, and the ftp server runs a matlab program;
the base station physical layer software is used for processing the test cases one by one, reading the test files, carrying out baseband processing and collecting data of intermediate nodes in channel processing;
the shared memory is used for storing the channel processing intermediate node data;
the base station platform software is used for reading the channel processing intermediate node data in the shared memory and uploading the channel processing intermediate node data to the PC;
and the PC is used for operating the matlab program, comparing the original intermediate node data with the channel processing intermediate node data and recording a test result.
Preferably, the shared memory based LTE physical layer test system further includes a mail server, and the mail server is connected to the PC through an ethernet; and after the test case set is processed, the PC forwards the test result to related personnel through the mail server.
Preferably, the test result includes the total number of test cases, the total number of failed test cases, the serial number of failed test cases, and the name of the submodule of the failed test case.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
compared with the prior art, the method and the device have the advantages that all test files and original intermediate node data files are generated based on the test case set, the test files are stored in the base station, the original intermediate node data files are stored in the PC, and the original intermediate node data files contain original intermediate node data; processing the test cases one by one through base station physical layer software, reading a test file, acquiring channel processing intermediate node data through baseband processing, and storing the channel processing intermediate node data in a shared memory of the base station; the base station platform software directly reads the data of the intermediate node of the channel processing stored in the shared memory and automatically transmits the data to the PC, and the matlab program running on the PC automatically compares the data and counts the test result, so the invention has the advantages of not influencing the real-time performance of the base station physical layer software, being capable of positioning the problem to the level of the submodule of the channel processing of the base station physical layer software, being high in automation degree and the like, and can obviously improve the efficiency of the test and positioning problems.
Drawings
In order to more clearly illustrate the technical solution in the present embodiment, the drawings needed to be used in the description of the embodiment will be briefly introduced below, and it is obvious that the drawings in the following description are one embodiment of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic diagram of an LTE physical layer test system based on a shared memory according to an embodiment of the present invention;
fig. 2 is a flowchart of an LTE physical layer testing method based on a shared memory according to an embodiment of the present invention;
fig. 3 is a flowchart of processing a test case and uploading data of each node to a PC in a file form by ftp in the LTE physical layer testing method based on a shared memory according to the embodiment of the present invention.
Detailed Description
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Fig. 1 shows a schematic diagram of an LTE physical layer test system based on a shared memory provided by the present invention, where the test system is composed of a base station, a PC, and a mail server.
The base station baseband board main Chip is designed based on an SOC (System on Chip), and base station physical layer software and platform software directly read and write data through a shared memory. An ftp server is built on the PC, a matlab program can be operated, and a corresponding mail server can be accessed. The mail server can be reused by company mail servers, and can provide mail receiving and sending functions for related development testers. The base station is connected with the PC through Ethernet, and the PC is connected with the mail server through Ethernet.
With the above system, the present invention provides a method for testing LTE physical layer based on shared memory, which includes the following steps, as shown in fig. 2:
step S1: generating all test files and original intermediate node data files based on the test case set;
step S2: processing the test cases one by one, storing the data of each node in a shared memory, reading the data of the shared memory through base station platform software and uploading the data to a PC (personal computer);
step S3: the matlab program running on the PC compares the data of each node and records the test result;
step S4: and after the test case set is processed, sending the test result to a relevant development tester through the mail server.
Specifically, all test files and the original intermediate-node data file are generated based on the test case set in step S1.
The test case set is determined according to test contents and test scenes and covers uplink and downlink to process all channels.
The test file contains L3, L2 configuration information and baseband processing data required for base station physical layer baseband processing.
Preferably, the test file is named in CaseN _ input.txt, wherein N represents the Nth test case.
The intermediate node determines according to each channel processing flow respectively, preferably, the file naming mode of the original intermediate node data is CaseN _ XYZ _ output.txt, wherein N represents the Nth test case, and XYZ represents a sub-function module of a certain channel of channel processing. And CaseN _ XYZ _ output.txt stores the standard data processed by the sub-function module for comparison with the intermediate node data of channel processing acquired by the base station physical layer baseband processing.
The test file is placed on the base station side and the original intermediate node data file is placed on the PC.
Next, in step S2, the test cases are processed one by the base station physical layer software, and the data of the intermediate node in the channel processing is stored in the shared memory, and then the data of the shared memory is read by the base station platform software and uploaded to a PC (Personal Computer).
Fig. 3 is a specific processing flow of a test case in step S2, which includes:
step S201: the base station physical layer software reads the test file, performs configuration analysis and extracts data for baseband processing corresponding to the test case;
step S202: the base station physical layer software carries out base band processing according to the relevant configuration and collects data of intermediate nodes of channel processing;
step S203: the base station physical layer software informs the base station platform software that the test case is processed;
step S204: the base station platform software writes the data of the channel processing intermediate node in the shared memory into a corresponding file and uploads the file to a PC (personal computer) specified directory through ftp (file transfer protocol);
step S205: and the base station platform software informs the base station physical layer software of finishing uploading the corresponding file of the intermediate node data processed by the channel acquired by the base station physical layer software.
Specifically, in step S201, the base station physical layer software reads the test file, performs configuration analysis, and extracts data for baseband processing corresponding to the test case.
The parsed relevant configuration is preferably reconstructed into L3, L2 messages, which are then processed by physical layer software simulating real L3, L2 messages.
Further, in step S202, the base station physical layer software performs baseband processing according to the relevant configuration and collects data of the intermediate node in channel processing.
The base station physical layer software and the platform software plan the relevant shared memory in advance, and the base station physical layer software acquires the channel processing intermediate node data corresponding to the original intermediate node data contained in the original intermediate node data file in step S01 and writes the channel processing intermediate node data into the shared memory in the same format.
Further, in step S203, the base station physical layer software notifies the base station platform software that the test case is processed.
Further, in step S204, the base station platform software writes the data of each node in the shared memory into a corresponding file, and uploads the file to the PC-specified directory by ftp.
The file name mode generated by the base station platform software is CaseN _ XYZ _ phy _ output.txt, wherein N represents the Nth test case, and XYZ represents a sub-function module of a certain channel processed by the channel.
Further, in step S205, the base station platform software notifies the base station physical layer software that the uploading of the intermediate node data file collected is completed.
After the base station side software processes one test case according to fig. 3, the next test case is executed according to fig. 3 until all test cases in the test case set are processed.
And executing the step S3 after all the test cases are processed, comparing the data of each node by the matlab program running on the PC, and recording the test result.
And the matlab program running on the PC inquires whether corresponding files of the data of the intermediate node of the channel processing collected by the related test case in the specified directory of the ftp server are collected according to the test case sequence, and starts data comparison after the files are collected until all the test cases are processed. And if all the node data of the test case are consistent, the test case is considered to pass. And if the data of a certain node is inconsistent, the test case is considered to be failed, and the matlab program updates the total number of the failed test cases and records the serial numbers of the failed test cases and the corresponding sub-module names.
Step S4 may then be executed, and the test result is forwarded to the relevant developers and testers through the mail server after the test case set is processed.
The test result is directly counted by the matlab program, and comprises the total number of the test cases, the total number of the failed test cases, the serial number of the failed test cases and the corresponding sub-module names.
And after the matlab program counts the processing result of the test case set, directly sending the result to related development and test personnel.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to examples, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.

Claims (8)

1. A LTE physical layer test method based on a shared memory is characterized by comprising the following steps:
step S1, generating all test files and original intermediate node data files based on the test case set, wherein the test files are stored in a base station, the original intermediate node data files are stored in a PC, and the original intermediate node data files contain original intermediate node data;
step S2, processing the test cases one by one through base station physical layer software, reading the test file, performing baseband processing and collecting channel processing intermediate node data, and storing the channel processing intermediate node data in a shared memory of the base station; reading the data of the channel processing intermediate node in the shared memory through base station platform software, and uploading the data to the PC;
and step S3, comparing the original intermediate node data with the channel processing intermediate node data by the way that the PC runs the matlab program, and recording the test result.
2. The LTE physical layer test method based on shared memory according to claim 1, further comprising:
and step S4, after the test case set is processed, the PC forwards the test result to related personnel through a mail server.
3. The LTE physical layer testing method based on shared memory according to claim 1 or 2, wherein in the step S1, the test case set covers all channels processed in uplink and downlink, and the test file contains L3 and L2 configuration information and baseband processing data.
4. The LTE physical layer test method based on shared memory according to claim 1 or 2, wherein in step S2, after the base station physical layer software finishes processing the test case, the base station physical layer software sends a first notification message to the base station platform software;
and after the base station platform software uploads the data of the channel processing intermediate node to the PC, the base station platform software sends second notification information to the base station physical layer software.
5. The LTE physical layer test method based on shared memory according to claim 1 or 2, wherein the test result comprises a total number of test cases, a total number of failed test cases, a serial number of failed test cases, and a name of a submodule of failed test cases.
6. An LTE physical layer test system based on a shared memory, comprising: the base station and the PC are connected through the Ethernet; storing all test files generated based on the test case set in the base station, and storing all original intermediate node data files generated based on the test case set in the PC, wherein the original intermediate node data files comprise original intermediate node data;
the base station comprises base station physical layer software, base station platform software and a shared memory, wherein the base station physical layer software and the base station platform software can access the shared memory; the PC is provided with an ftp server, and the ftp server runs a matlab program;
the base station physical layer software is used for processing the test cases one by one, reading the test files, carrying out baseband processing and collecting data of intermediate nodes in channel processing;
the shared memory is used for storing the channel processing intermediate node data;
the base station platform software is used for reading the channel processing intermediate node data in the shared memory and uploading the channel processing intermediate node data to the PC;
and the PC is used for operating the matlab program, comparing the original intermediate node data with the channel processing intermediate node data and recording a test result.
7. The LTE physical layer test system based on shared memory of claim 6, further comprising a mail server, wherein the mail server is connected with the PC through Ethernet; and after the test case set is processed, the PC forwards the test result to related personnel through the mail server.
8. The LTE physical layer test system based on shared memory of claim 6 or 7, wherein the test result comprises a total number of test cases, a total number of failed test cases, a serial number of failed test cases, and a name of a submodule of failed test cases.
CN201810715201.8A 2018-07-03 2018-07-03 LTE physical layer testing method and system based on shared memory Active CN108990091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810715201.8A CN108990091B (en) 2018-07-03 2018-07-03 LTE physical layer testing method and system based on shared memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810715201.8A CN108990091B (en) 2018-07-03 2018-07-03 LTE physical layer testing method and system based on shared memory

Publications (2)

Publication Number Publication Date
CN108990091A CN108990091A (en) 2018-12-11
CN108990091B true CN108990091B (en) 2021-10-22

Family

ID=64536368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810715201.8A Active CN108990091B (en) 2018-07-03 2018-07-03 LTE physical layer testing method and system based on shared memory

Country Status (1)

Country Link
CN (1) CN108990091B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043277A (en) * 2007-04-29 2007-09-26 Ut斯达康通讯有限公司 Pulse synchronized method and module in receptivity test of mobile communication terminal
CN102946286A (en) * 2012-10-26 2013-02-27 株洲南车时代电气股份有限公司 Method, device and system for controlling detection of equipment
CN103139822A (en) * 2013-03-27 2013-06-05 武汉邮电科学研究院 Method of carrying out automated testing on wireless communication system physical layer
CN103987078A (en) * 2014-04-04 2014-08-13 京信通信系统(中国)有限公司 Base station physical layer test method and system
CN104734910A (en) * 2015-02-04 2015-06-24 北京海晟时代科技有限公司 Imaging reflective memory network shared memory data mapping correctness test method
CN104750603A (en) * 2013-12-30 2015-07-01 联芯科技有限公司 Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
CN106293825A (en) * 2016-08-05 2017-01-04 武汉虹信通信技术有限责任公司 A kind of multinuclear based on hardware semaphore starts synchronous method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7813047B2 (en) * 2006-12-15 2010-10-12 Hand Held Products, Inc. Apparatus and method comprising deformable lens element
KR102236572B1 (en) * 2014-12-30 2021-04-07 에스케이하이닉스 주식회사 Semiconductor memory and semiconductor system using the same
US10521215B2 (en) * 2015-12-10 2019-12-31 Intel Corporation Technologies for customized crowd-sourced features, automated safety and quality assurance with a technical computing environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043277A (en) * 2007-04-29 2007-09-26 Ut斯达康通讯有限公司 Pulse synchronized method and module in receptivity test of mobile communication terminal
CN102946286A (en) * 2012-10-26 2013-02-27 株洲南车时代电气股份有限公司 Method, device and system for controlling detection of equipment
CN103139822A (en) * 2013-03-27 2013-06-05 武汉邮电科学研究院 Method of carrying out automated testing on wireless communication system physical layer
CN104750603A (en) * 2013-12-30 2015-07-01 联芯科技有限公司 Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
CN103987078A (en) * 2014-04-04 2014-08-13 京信通信系统(中国)有限公司 Base station physical layer test method and system
CN104734910A (en) * 2015-02-04 2015-06-24 北京海晟时代科技有限公司 Imaging reflective memory network shared memory data mapping correctness test method
CN106293825A (en) * 2016-08-05 2017-01-04 武汉虹信通信技术有限责任公司 A kind of multinuclear based on hardware semaphore starts synchronous method

Also Published As

Publication number Publication date
CN108990091A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US20180357143A1 (en) Testing computing devices
CN110287696B (en) Detection method, device and equipment for rebound shell process
CN111400127B (en) Service log monitoring method and device, storage medium and computer equipment
CN1248116C (en) General purpose testing arrangement for embedded module and subsystem based on host machine platform
US9928055B1 (en) Validating development software by comparing results from processing historic data sets
CN113704790A (en) Abnormal log information summarizing method and computer equipment
CN109471784A (en) A kind of NAS test macro, method and computer readable storage medium
CN109982315B (en) Log uploading method and related equipment
CN110928795A (en) Stability test method and device for upgrading storage system
CN110798336A (en) Method and device for environmental inspection of large data platform deployment server
CN116719750B (en) Software testing method and device, server equipment and storage medium
CN108990091B (en) LTE physical layer testing method and system based on shared memory
CN113448590A (en) Method and device for quickly generating remote control injection data, computer equipment and medium
CN107544894B (en) Log processing method and device and server
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
CN110147313B (en) Log output method and device
CN114500348B (en) CDN gateway testing method and system
CN115617668A (en) Compatibility testing method, device and equipment
CN113485919A (en) Test method, test device and computer readable storage medium
CN111694752A (en) Application testing method, electronic device and storage medium
CN115620877A (en) Method, system, equipment and storage medium for uploading medical data to cloud platform
CN112286792A (en) Interface testing method, device, equipment and storage medium
CN117724931A (en) Request processing method and device, storage medium and electronic equipment
US10992565B2 (en) Method for selectively extracting protocol message content as well as network test system
CN115102943B (en) Multi-channel-based data trans-regional transmission method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20201028

Address after: 430205 No.1 tanhu 2nd Road, Canglong Island, Jiangxia Economic Development Zone, Wuhan City, Hubei Province

Applicant after: Wuhan Hongxin Technology Development Co.,Ltd.

Address before: 430073 Hubei province Wuhan Dongxin East Lake high tech Development Zone, Road No. 5

Applicant before: Wuhan Hongxin Telecommunication Technologies Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant