CN112783794A - Aviation communication radio station software test system - Google Patents

Aviation communication radio station software test system Download PDF

Info

Publication number
CN112783794A
CN112783794A CN202110183885.3A CN202110183885A CN112783794A CN 112783794 A CN112783794 A CN 112783794A CN 202110183885 A CN202110183885 A CN 202110183885A CN 112783794 A CN112783794 A CN 112783794A
Authority
CN
China
Prior art keywords
test
instrument
interface
script
radio station
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.)
Granted
Application number
CN202110183885.3A
Other languages
Chinese (zh)
Other versions
CN112783794B (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.)
Southwest Electronic Technology Institute No 10 Institute of Cetc
Original Assignee
Southwest Electronic Technology Institute No 10 Institute of Cetc
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 Southwest Electronic Technology Institute No 10 Institute of Cetc filed Critical Southwest Electronic Technology Institute No 10 Institute of Cetc
Priority to CN202110183885.3A priority Critical patent/CN112783794B/en
Publication of CN112783794A publication Critical patent/CN112783794A/en
Application granted granted Critical
Publication of CN112783794B publication Critical patent/CN112783794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

Abstract

The radio station software testing system disclosed by the invention can accurately and quickly test the airborne aviation radio station. The invention is realized by the following technical scheme: the interface management module formulates an interface with a uniform format and analyzes an XML file; the test script creates a hierarchical relation of the test cases, corresponding folders and python files corresponding to the test cases; the test data generation module generates test data and a combined test data set according to the interface format of the radio station; the test data management module abstracts the test data of the radio station function into reusable test data and generates an XML entity document according to a specified format; the instrument control module separates the instruction set of the instrument from the instrument control; the automatic execution module traverses the test script to be executed, feeds back the execution result and the execution progress of the script, calls the remote control command of the integrated instrument in the execution of the case, and inserts the remote control command into the flow of the test case to realize the automatic control of the instrument.

Description

Aviation communication radio station software test system
Technical Field
The invention relates to a software testing system of a communication radio station, which can perform software testing work on various types of communication radio stations.
Background
With the development of wireless communication technology, the types of current communication equipment are gradually complicated, and radio stations in the communication equipment are perfected and developed in various stages, and are now widely applied to scientific research, even various fields of social life such as production economy and the like. Because the radio stations have a great variety, cover the complicated signals of each wave band, the interfaces with different specifications, the diversification of indexes and functions, the development of the current and new high-tech wireless communication technology cannot be met only by using the traditional manual testing instrument or simply using a narrow and targeted simple testing system to test the radio stations. An open automatic test system ats (automation test system) with high mobility has become necessary.
The aviation radio service is the basis for guaranteeing the aviation order, and the carrier of the aviation radio service is radio waves. The information exchange between the aircraft and the outside world during air flight is almost completely dependent on the aviation radio service, so the aviation radio service plays a crucial role in guaranteeing the safety of air traffic. However, with the recent gradual expansion of the commercial scale of civil aviation, the dependence of civil aviation on radio services has also gradually increased. The development of electronic technology has improved the function and performance of the aviation radio station. As an airborne communication device, an aviation radio station requires regular power-on checks to keep its function and performance in a good state, as compared with ordinary electronic devices. The aviation radio station test system needs to simulate the signal environment on the airplane, provide necessary excitation signals for the normal work of the radio station and receive response signals output by the radio station. The test system of the aviation radio station is a comprehensive platform which takes a computer as a control core, a comprehensive test instrument as a support and an interface card/adapter as a bridge and integrates control, acquisition, processing, storage, analysis, display and printing. The external interface signals of the radio station comprise a power supply, a control signal, audio and radio frequency signals. The power supply provides power supply signals for the work of the radio station, generally +27V, and some radio stations also need a single AC power supply of 115V/400 Hz; the control signal mainly controls the power switch, working frequency, receiving and transmitting state, modulation mode, squelch switch, working mode, etc. of the radio station, which is the core of controlling the radio station work, some radio stations are all provided in the form of discrete interface, and most radio stations are provided in the form of three-wire serial code, RS422, 1553B bus, ARINC429 bus or FOCTl8977 bus interface combined with discrete interface by the prescribed coding format. Different stations generally require different control signal environments, and even if the electrical interface characteristics are the same, the encoding formats are likely to be different. It is necessary to design corresponding control interfaces for different stations, which is a core and difficult point of constructing a test system, because besides providing electrical characteristics of various control signals, it is also necessary to satisfy logical relationships among various control signals. According to the test requirements of the radio station, the required universal instruments comprise an audio signal generator, a radio frequency signal generator, a digital meter, a power meter, a frequency meter, an oscilloscope, a modulation degree tester, a distortion degree tester and other equipment; attenuators and spectrum analyzers are also commonly used test instruments, depending on the transmit power of the station and the test items. At present, various types of radio comprehensive testers have appeared, all of which integrate an audio signal generator, a radio frequency signal generator and various commonly used testers together and have functions of program control interface and memory. The test process of the radio station comprises the processes of setting the working mode and working frequency of the radio station, setting the working state of a test instrument, processing a test result and the like, in the whole process, the time for setting the working frequency of the radio station is longest, particularly, the test of a short-wave radio station transmitter requires retuning when the frequency is changed, tens of seconds are required when the frequency is short, and some frequency points even need to be repeatedly tuned; from the whole testing process, basically all items need to be tested under the same frequency point. On the other hand, the radio comprehensive tester of the test radio station has 2 test states of receiving and transmitting, and can simultaneously test the main indexes of the receiver, such as audio output, distortion degree, signal-to-noise ratio and the like in the receiving state; in the transmitting state, the main indexes of the radio station transmitter such as carrier error, carrier power, modulation degree and the like can be tested simultaneously; the multifunctional and highly integrated characteristics of the radio comprehensive tester create conditions for parallel testing of multiple items of radio stations. Due to the fact that the radio stations are various in types, different in technical content, inconsistent in technical specification indexes and interface characteristics, many in test items and different in technical indexes. If a traditional instrument is adopted for testing, a plurality of testing devices and instruments are required to jointly complete the testing, so that the testing equipment has poor universality, low automation degree and complex operation. For testers, the core test items and the test procedures are different from each other. Moreover, testing of the radio station is a complex process, and besides the radio station itself, a large number of measuring instruments are required to construct different test data sets and the like. The prior avionic maintenance detection equipment mainly adopts a traditional instrument, and a test system formed by the traditional instrument has the defects of multiple instrument varieties, large volume and heavy weight; the test is carried out manually, so that the time and labor are wasted, the test error is large, and the requirement of battle training on the quick mobility of the maintenance guarantee is difficult to meet.
The aeronautical communication station is an onboard communication device installed on an airplane, and one of important means for providing the communication capability of bidirectional voice and data in the visual range between airplanes or between airplanes and the ground. With the proposal of a Software Defined Radio (SDR) concept, the technical complexity of radio software is continuously improved, and the role of the software in the radio station is increasingly greater, which puts higher requirements on the completeness, the correctness and the accuracy of the functions of the radio station software. The software flow design test process of the test system is a guide and a basis for test program development, but if the characteristics of equipment are not considered, the test process is simply compiled according to the test process, so that the test process is repeated, the test efficiency is reduced, and the working life of a tested piece is influenced. Therefore, on the basis of deeply researching the characteristics of equipment, the relation among test items and the test method, the test flow needs to be optimized, the repeated operation of the test process is avoided, and the detection work efficiency is improved. The radio station has the characteristics of multiple working modes, multiple test items, multiple test frequency points and the like, and the test items and the test process have great correlation. Therefore, the current test for station software faces the following problems:
(1) the aviation communication radio station can operate only by being connected with other equipment, and the test environment is difficult to build. Under a real operating environment, the aviation communication radio station can execute the test case only by matching with various test instruments and a platform for software test. There are high requirements on the scope of knowledge that the tester needs to be involved with. The test cannot be rapidly and effectively unfolded.
(2) The test case design and execution are disjointed, and the test efficiency is low. The design and execution of test cases are often performed separately. And other problems may be found in the execution process, so that the use case needs to be redesigned and executed again. So that the tester needs repeated labor and efficiency is low.
(3) The instrumentation operates manually, making the execution of test cases slow. At present, instruments required by testing are mostly manually controlled, instrument parameters need to be set according to requirements, unnecessary waste of use case execution time is caused, manual setting and possible input errors cause use cases to obtain wrong conclusions.
(4) Test data multiplexing is difficult. During use case execution, a large amount of test data may be used for the same function. Therefore, maintenance, migration, etc. of test data requires manual recording or replacement by a tester. The multiplexing of test data is not facilitated.
Disclosure of Invention
The invention summarizes various control requirements during the whole station index test based on the characteristics of the aviation radio station test process and the test instrument, and aims at the problems of difficult environment construction, disjointed test design and execution, manual control of instruments and meters, multiplexing of test data and the like in the aviation communication radio station test process. The test system is high in intelligent degree, high in test efficiency, wide in application range, high in adaptability, capable of accurately and quickly testing the airborne aviation radio station, helping testers to quickly build a test environment, designing and executing test cases, parameters of automatic control instruments, managing test data and the like, and capable of improving efficiency and accuracy of radio station software testing.
The scheme adopted by the invention for solving the problems in the prior art is as follows: a station software testing system, comprising: communication bus board card group, aviation communication radio station, test instrument and carry on automatic test platform's test computer, its characterized in that: the radio software automatic test platform comprises an interface layer, a functional layer and a transmission layer, wherein an instrument control module, a test data management module, a test data generation module, a test script management module, an interface management module and an automatic execution module are arranged in the functional layer, an interface with a uniform format and an analysis XML file are formulated by the interface management module, and the analysis XML file is converted into an interface script used in the test script; the test script management module creates a hierarchical relation of the test cases, a corresponding folder and a python file corresponding to the test cases under the project directory; the test data generation module generates test data and a combined test data set meeting a specific combined coverage standard according to an interface format of the radio station, abstracts an interface into an entity influenced by a plurality of variables, and can call the test data set in the script management module after generating the test data set; the test data management module classifies the test data set according to normal test and abnormal test, abstracts test data of some general radio station functions into reusable test data, manages the reusable test data, generates an XML entity document according to a specified format, and displays the XML entity document in a table form in a platform; the instrument control module divides the type of each type of instrument, separates the instruction set of the instrument from the instrument control under the specific instrument type, uses XML format to store the SCPI command of the instrument, and sends the SCPI command to the instrument in communication modes of TCP, UDP, serial port and the like; the automatic execution module automatically executes the test script, traverses the test script to be executed, feeds back the execution result and the execution progress of the script, gives the execution condition of the test case through a unified return value, fail or success, calls a remote control command (SCPI) of an integrated instrument during the execution of the case, inserts the SCPI into the flow of the test case to realize the automatic control of the instrument, and finally sends data to the aeronautical communication radio station in real time through a transmission layer, receives the data returned by the aeronautical communication radio station and displays the data in the automatic test platform of the radio station software.
Compared with the prior art, the invention has the following beneficial effects:
aiming at the problems in the radio station software test in the prior art, the invention provides the radio station software automatic test scheme by applying an automatic test theory, can effectively solve the problems of difficult construction of the test environment, disjointed test design and execution, difficult test data reuse and the like, realizes the rapid and accurate automatic test of the radio station software, and effectively improves the test efficiency of the radio station software.
Aiming at the problems that the radio station test environment is difficult to build, test cases are designed and disconnected, instruments and meters are manually operated, test data is difficult to reuse, and a radio station software automatic test platform comprising an interface layer, a functional layer and a transmission layer is adopted. The functional layer composed of the instrument control module, the test data management module, the test data generation module, the test script management module, the interface management module and the automatic execution module with practicability, flexibility, reusability and expansibility is adopted to solve the problems discovered during testing by adopting the module combination test data generation method in the radio station testing process. And through the form of man-machine interaction, a radio station software automatic test platform which has powerful functions, is friendly to interface, flexibly develops test tasks and executes test cases in batches is provided for testers.
The test data generation module abstracts an interface into an entity with discrete and limited values and influenced by a plurality of variables, generates a combined test data set meeting specific combined coverage standards by a combined test method, can directly call the module in a test script to generate test data, and improves the efficiency of test design and the test coverage rate.
The test data management module manages reusable test data, abstracts test data of some general radio station functions into reusable test data, and can directly introduce multiplexing data into a script for use. The functions of providing online editing can be added, deleted and copied. And classifying the test data set according to normal test and abnormal test. The user can selectively use two types of data. The user can conveniently operate and intuitively manage the test data.
The invention adopts the test script management module to complete the structure management of the test script. The user can copy the root directory folder of the test case to another test computer, and the test case can be opened again through the radio station software automatic test platform, so that the flexible reuse of the test case is realized.
The invention adopts the instrument control module to lead the system to have better flexibility and expansibility, and the control module separates the instruction set of the instrument from the instrument control, thus flexibly expanding new instruments. The instrument can produce the same effect as manual control, and time and accuracy are greatly improved.
Aiming at a special automatic test platform of a radio station, the invention designs the core functions of an interface management module, a test data generation module, a test data management module, a test script management module, an instrument control module and an automatic execution module from the aspects of practicability, flexibility, reusability, expansibility and the like, and converts each step required in the test process or links with more repeated labor into specific functions which can be realized by each module of the automatic test platform from the automatic test platform in the test process. The tester can simultaneously develop the design of the use case and the execution of the use case on the platform, effectively help the tester to analyze the problems in the test process and improve the working efficiency of the tester. The automatic execution module can be based on the test script management module, and a user can selectively check test cases to be executed. And giving the execution condition of the test case through the unified return value, fail or success. The test cases to be executed can be selected for regression testing. The judgment of the tester is facilitated.
The trial result shows that the system has stable test performance, good universality, high reliability and high automation degree, not only completely replaces the functions of the original test equipment, but also has more superior performance.
Drawings
Fig. 1 is a block diagram of the components of the station software testing system of the present invention.
Fig. 2 is a block diagram of the automatic test platform for the radio software according to the present invention.
Fig. 3 is a flow chart of the operation of the automated test platform for the station software of fig. 2.
The invention is further illustrated with reference to the following figures and examples.
Detailed Description
Refer to fig. 1 and 2. In a preferred embodiment described below, a station software testing system comprises: the device comprises a communication bus board card group, an aviation communication radio station, a test instrument and a test computer carrying an automatic test platform. The radio software automatic test platform comprises an interface layer, a functional layer and a transmission layer, wherein an instrument control module, a test data management module, a test data generation module, a test script management module, an interface management module and an automatic execution module are arranged in the functional layer, an interface with a uniform format and an analysis XML file are formulated by the interface management module, and the analysis XML file is converted into an interface script used in the test script; the test script management module creates a hierarchical relation of the test cases, a corresponding folder and a python file corresponding to the test cases under the project directory; the test data generation module generates test data and a combined test data set meeting a specific combined coverage standard according to an interface format of the radio station, abstracts an interface into an entity influenced by a plurality of variables, and can call the test data set in the script management module after generating the test data set; the test data management module classifies the test data set according to normal test and abnormal test, abstracts test data of some general radio station functions into reusable test data, manages the reusable test data, generates an XML entity document according to a specified format, and displays the XML entity document in a table form in a platform; the instrument control module divides the type of each type of instrument, separates the instruction set of the instrument from the instrument control under the specific instrument type, uses XML format to store the SCPI command of the instrument, and sends the SCPI command to the instrument in communication modes of TCP, UDP, serial port and the like; the automatic execution module automatically executes the test script, traverses the test script to be executed, feeds back the execution result and the execution progress of the script, gives the execution condition of the test case through a unified return value, fail or success, calls a remote control command (SCPI) of an integrated instrument during the execution of the case, inserts the SCPI into the flow of the test case to realize the automatic control of the instrument, and finally sends data to the aeronautical communication radio station in real time through a transmission layer, receives the data returned by the aeronautical communication radio station and displays the data in the automatic test platform of the radio station software.
The test computer is used for completing the establishment of a test project, the construction of a test environment, the management of interface information, the compiling of a test case and the automatic execution of the test case; the communication bus board card group completes the unified management of the bus board cards and is responsible for communicating with the tested electric station; the instrument and meter completes the parameter measurement and result return of the tested electric station.
See fig. 2. The automatic test platform for the radio station software comprises three layers of structures including an interface, a function and a transmission. The interface layer is used for displaying and controlling the automatic test platform of the radio software and is also used as a module which is most contacted by a user directly. The system mainly comprises a case editing interface, and a user can selectively use specific functions in a functional layer to construct a test case of the user; and the error message and data display interface is used for displaying errors and data when a user executes a test case or the bottom layer of the automatic test platform of the radio station software, so that the user and a developer can quickly position the problems conveniently. The system/engineering menu is a radio software automatic test platform for storing user test cases, creating new projects, opening historical projects and the like, and provides a radio software automatic test platform which has strong functions, is friendly in interface, can flexibly develop test tasks and can execute the test cases in batches through a man-machine interaction mode for testers.
The functional layer is the most core and basic structure in the radio station test and comprises six main modules. The system mainly comprises a control module, a test data management module, a test data generation module, a test script management module, an interface management module and an automatic execution module of the instrument.
The interface management module mainly completes the management of interface control formats between radio stations and peripheral equipment, and because the interface formats between each radio station and the peripheral equipment are different, in order to facilitate the management, a uniform format must be formulated to decompose the interface and store the interface attributes. The interface management module stores the XML format, and converts the XML file into an interface script used in the test script by analyzing the XML file when in use. The interface management module includes the length of the interface, the signaling code id of the interface, the specific parameter value of the interface, and the bit for checking the error. If an interface needs to be designed more complicated for the reason of the requirement, nesting can continue in the value element and the unit of data can be changed for various requirements.
The test data generation module generates test data according to an interface format of the radio station, a combined test data set meeting a specific combined coverage standard is generated by adopting a combined test data generation method, one interface is abstracted into an entity influenced by a plurality of variables, and the value of each variable is discrete and limited.
The test data management module manages reusable test data, generates an XML entity document according to a specified format, provides functions of adding, deleting and copying online editing, abstracts the test data of some general radio station functions into reusable TOD time setting, sets test data according to channel parameters, stores the data in an XML format, classifies a test data set according to normal test and abnormal test when designing a test script, takes the normal test data as a background and the abnormal test data as a background, marks specific error fields in the test data by red fonts and shows the specific error fields in a table form in a platform.
The test script management module is internally provided with an intelligent auxiliary code compiling tool which automatically generates script fragments and logic according to the keywords, mainly completes the structure management of the test script and the specific content of the test case, sends and receives data, controls the generation of instrument data and the introduction of data, and tests different test contents. And according to the hierarchical relation and the name of the test case created by the user, creating a corresponding folder and a python file corresponding to the test case under the engineering directory. And generating a template character string according to the format of the interface, replacing keywords in the template character string with specific values in the interface, and directly replacing the template according to the code style of python to automatically generate a unified frame of the test case. The keywords are marked with different data types when being stored, and the problems of type conversion among numerical values and the like do not need to be considered, for example, fail is returned when the test fails, and success is returned when the case test passes.
The instrument control module mainly controls instruments, separates instruction sets of the instruments from instrument control, divides the instruments according to the application of the instruments and specific manufacturers or specific models, and divides the instruments into signal sources, comprehensive testers, frequency meters and power meters or newly adds instruments required to be used in a testing process according to a specified format. The SCPI command of the instrument is stored in an XML format, the frequency value of a signal source and the square wave output by the signal generator are set, and the signal is sent to the instrument by using communication modes such as TCP, UDP, serial ports and the like. For example, the signal generator is set to output square waves of 'SOURce 1: funtionsquare', the signal SOURce frequency value is set: 'SOUR: FREQ1000 MHz'. The specific frequency value can be changed by the user according to the requirement of the user. The SCPI commands for the other instruments are similar.
The automatic execution module mainly completes automatic execution of the test script, when in use, firstly initializes the test environment, checks the integrity and the availability of the test environment, then traverses the test script to be executed, loads the script into the memory for execution, and finally feeds back the execution result and the execution progress of the script. Based on the test script management module, the execution condition of the test case is given by a first-in first-out queue through a unified return value, fail or success, the test result is summarized in real time, and the passing, failing and unexecuted proportion is displayed in a pie chart form. In the execution of the use case, the data transmitted to the radio station and the data returned from the radio station are displayed in the platform in real time.
A transmission layer: the communication between the radio station software automatic test platform and the radio station or the instrument does not belong to the function of the radio station software automatic test platform. But is an essential part of the overall test procedure. The communication modes supported by the aviation communication radio station comprise a network port, a serial port, 429 and the like. The user needs to select a communication mode before the next operation can be performed. At present, the platform provides support for all the three communication modes. And uniformly packaging the data into a Bus parent class. Each independent communication means inherits the parent class. This class provides a method for send and recv. And calling is needed when the test case is written. While the specific subclass requires rewriting both methods. For example, the socket library function provided by python needs to be called in the network port communication mode to realize sending and receiving. The serial port also calls the res library function provided by python for communication. 429 the dynamic link library provided by the station developer needs to be loaded and the method provided in the dynamic link library is called, thereby realizing communication. The current platform only supports the three communication modes. If other communication means are needed in the new type of aeronautical communication station afterwards. Only one other subclass needs to be implemented to rewrite the send and recv methods. Not much extra code is required and no adjustment of the logic of the whole communication is required.
See fig. 3. The working process of the radio station software automatic test platform comprises the following steps: creating or editing projects on a radio station software automatic test platform in a test computer, designing different test scripts aiming at different functions of a radio station, judging whether the test scripts are edited, judging whether the test scripts are executed if the test scripts are edited, if so, starting the test, selecting a case to be executed by a user, starting the execution, and generating a test result in real time; and waiting for the completion of the execution of all the test scripts, judging whether the test scripts are correctly executed and pass the logic judgment of the test case, and if not, requiring a tester to check whether the test case is designed or the radio software. If the test case is a problem, the test case needs to be edited again and a new round of case execution is started. If the problem is the problem of the radio station software, the problem needs to be fed back to the developer, and the execution of the use case is started again after the radio station software is modified.
The main contents created or edited by the station software automatic test platform comprise: writing peripheral Interface (ICD) information, and storing data such as ICD information, data sets, instrument control commands and the like by using an Xml data format. So that the data can be read or modified the next time the platform is used. Before the ICD message is created, the communication mode used in the test is selected.
When a specific ICD Message is written, a Message type is provided in the code logic of the automatic test platform of the radio software, a Message part object of sub-messages, such as byte number, signaling code, checksum, data and the like, in the ICD Message is contained in the Message type, after an ICD Message is created, the specific Message part is added into the Message object, and the edited data of the user is assigned. After clicking and storing, the user can generate an XML file displayed in the similar interface management module according to a specified format. Before writing a test case, a user needs to generate a latest entites file, the file contains the bus type selected by the user at this time, specific ICD information, and the content of internal sub-information, and is stored in an engineering directory of the user in a python script form, and finally the entites file is called in the test case of the user, so that the automatically generated test case can become a complete python executable program.
The main basis for the tester to design the test script is also the content in the ICD message. The corresponding ICD message is selected according to the actual function. An automatic code generation tool can be used, or a tester writes a test case by himself, uses the well-defined ICD message, and sends or receives return data of the radio station. And finally, the tester judges the reason of failing to pass the script according to the passing condition of the test script and the sent and received data, if the script is in a problem, the tester modifies the test script and executes the test script again, and if the script is in a problem of the radio software, the developer needs to modify and then perform regression test work again.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (10)

1. A station software testing system, comprising: communication bus board card group, aviation communication radio station, test instrument and carry on automatic test platform's test computer, its characterized in that: the radio software automatic test platform comprises an interface layer, a functional layer and a transmission layer, wherein an instrument control module, a test data management module, a test data generation module, a test script management module, an interface management module and an automatic execution module are arranged in the functional layer, an interface with a uniform format and an analysis XML file are formulated by the interface management module, and the analysis XML file is converted into an interface script used in the test script; the test script management module creates a hierarchical relation of the test cases, a corresponding folder and a python file corresponding to the test cases under the project directory; the test data generation module generates test data and a combined test data set meeting a specific combined coverage standard according to an interface format of the radio station, abstracts an interface into an entity influenced by a plurality of variables, and can call the test data set in the script management module after generating the test data set; the test data management module classifies the test data set according to normal test and abnormal test, abstracts test data of some general radio station functions into reusable test data, manages the reusable test data, generates an XML entity document according to a specified format, and displays the XML entity document in a table form in a platform; the instrument control module divides the type of each type of instrument, separates the instruction set of the instrument from the instrument control under the specific instrument type, uses XML format to store the SCPI command of the instrument, and sends the SCPI command to the instrument in communication modes of TCP, UDP, serial port and the like; the automatic execution module automatically executes the test script, traverses the test script to be executed, feeds back the execution result and the execution progress of the script, gives the execution condition of the test case through a unified return value, fail or success, calls a remote control command (SCPI) of an integrated instrument during the execution of the case, inserts the SCPI into the flow of the test case to realize the automatic control of the instrument, and finally sends data to the aeronautical communication radio station in real time through a transmission layer, receives the data returned by the aeronautical communication radio station and displays the data in the automatic test platform of the radio station software.
2. A station software test system as claimed in claim 1, wherein: the test computer completes the establishment of test engineering, the establishment of test environment, the management of interface information, the compiling of test cases and the automatic execution of test cases; the communication bus board card group completes the unified management of the bus board cards and communicates with the tested electric station; the instrument and meter completes the parameter measurement and result return of the tested electric station.
3. A station software test system as claimed in claim 1, wherein: the interface management module comprises the length of the interface, the signaling code id of the interface, the specific parameter value of the interface and a check bit for checking errors, completes the management of the interface control format between the radio station and the peripheral equipment, stores the interface attribute according to a uniform format, stores the interface attribute in an XML format, and converts the XML file into an interface script used in a test script by analyzing the XML file during use.
4. A station software test system as claimed in claim 1, wherein: the test data generation module generates test data according to an interface format of the radio station, a combined test data set meeting a specific combined coverage standard is generated by adopting a combined test data generation method, one interface is abstracted into an entity influenced by a plurality of variables, and the value of each variable is discrete and limited.
5. A station software test system as claimed in claim 1, wherein: the test data management module manages reusable test data, generates an XML entity document according to a specified format, provides functions of adding, deleting and copying online editing, abstracts test data of some general radio station functions into reusable TOD time setting, sets test data according to channel parameters, stores the data in an XML format, and classifies a test data set according to normal test and abnormal test when designing a test script.
6. A station software test system as claimed in claim 1, wherein: the test script management module is internally provided with an intelligent auxiliary code compiling tool which automatically generates script fragments and logic according to the keywords, completes the structure management of the test script and the specific content of the test case, sends and receives data, controls the generation of instrument data and the introduction of the data, and tests different test contents; creating a corresponding folder and a python file corresponding to the test case under the engineering directory according to the hierarchical relation and the name of the test case created by the user; and generating a template character string according to the format of the interface, replacing keywords in the template character string with specific values in the interface, directly replacing the template according to the code style of python, and automatically generating a unified framework of the test case.
7. A station software test system as claimed in claim 1, wherein: the instrument control module is controlled to be an instrument, an instruction set of the instrument is separated from instrument control, the instrument is divided according to the application or specific model of the instrument, and the instrument is divided into a signal source, a comprehensive measuring instrument, a frequency meter and a power meter or an instrument required to be used in the testing process is newly added according to a specified format; the SCPI command of the instrument is stored in an XML format, the frequency value of a signal source and the square wave output by the signal generator are set, and the signal is sent to the instrument in a TCP (transmission control protocol), UDP (user datagram protocol) and serial port communication mode.
8. A station software test system as claimed in claim 1, wherein: the automatic execution module automatically executes the test script, when in use, firstly initializes the test environment, checks the integrity and the availability of the test environment, then traverses the test script to be executed, loads the script into the memory for execution, and finally feeds back the execution result and the execution progress of the script.
9. A station software test system as claimed in claim 1, wherein: the testing computer creates or edits projects on the automatic testing platform of the radio station software, different testing scripts are designed according to different functions of the radio station, whether the editing of the testing scripts is finished or not is judged, if the editing is finished, whether the execution of the testing scripts is carried out or not is judged, if the testing needs to be started, a user selects a case to be executed and starts to execute, and a testing result is generated in real time; and waiting for the completion of the execution of all the test scripts, judging whether the test scripts are executed correctly or not, passing the logic judgment of the test case, if not, checking whether the test case is a problem of the design of the test case or a problem of the radio software, if so, editing the test case again, and starting a new round of case execution.
10. A station software test system as claimed in claim 1, wherein: providing a Message type in the code logic of the automatic test platform of the radio software, adding a specific Message part into the Message object after the Message type internally comprises byte number, signaling code, checksum and data sub-Message in an ICD Message is created, assigning data edited by a user to the Message object, generating an XML file similar to that displayed in an interface management module according to a specified format, generating a latest entites file before writing a test case, storing the latest entites file in an engineering directory of the user in the form of a python script, calling the entites file in the test case of the user, and automatically generating a complete python executable program of the test case.
CN202110183885.3A 2021-02-10 2021-02-10 Aviation communication radio station software testing system Active CN112783794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110183885.3A CN112783794B (en) 2021-02-10 2021-02-10 Aviation communication radio station software testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110183885.3A CN112783794B (en) 2021-02-10 2021-02-10 Aviation communication radio station software testing system

Publications (2)

Publication Number Publication Date
CN112783794A true CN112783794A (en) 2021-05-11
CN112783794B CN112783794B (en) 2024-03-26

Family

ID=75762184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110183885.3A Active CN112783794B (en) 2021-02-10 2021-02-10 Aviation communication radio station software testing system

Country Status (1)

Country Link
CN (1) CN112783794B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113419946A (en) * 2021-05-31 2021-09-21 西南电子技术研究所(中国电子科技集团公司第十研究所) Ice interface test case and test script automatic generation method
CN113704095A (en) * 2021-08-08 2021-11-26 中国航空工业集团公司沈阳飞机设计研究所 Automatic generation method and device for automatic interface test case
CN114157732A (en) * 2021-11-12 2022-03-08 西安羚控电子科技有限公司 Telemetry data analysis method and system for large and medium-sized fixed wing unmanned aerial vehicle
CN114265769A (en) * 2021-12-10 2022-04-01 中国电子科技集团公司第二十九研究所 Test system and method based on python script test case
CN114691530A (en) * 2022-06-01 2022-07-01 广州世炬网络科技有限公司 Communication end-to-end automatic test method and platform
CN115314543A (en) * 2022-03-01 2022-11-08 上海御渡半导体科技有限公司 Method for realizing SCPI communication based on TCP
CN115600323A (en) * 2022-11-15 2023-01-13 南京芯传汇电子科技有限公司(Cn) Aviation system simulation method and system, electronic device and readable storage medium
CN115686268A (en) * 2022-12-30 2023-02-03 昆山龙雨智能科技有限公司 Test method and device suitable for multiple touch panels

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8356282B1 (en) * 2011-09-13 2013-01-15 Advanced Testing Technologies, Inc. Integrated development environment for the development of electronic signal testing strategies
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
CN107122295A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 The generation method and device of test case script
CN107562635A (en) * 2017-09-15 2018-01-09 西南电子技术研究所(中国电子科技集团公司第十研究所) Embedded software test accessory system
CN107943689A (en) * 2017-11-16 2018-04-20 北京卫星信息工程研究所 Automated testing method and test system based on parametrization test script
CN207706193U (en) * 2017-12-29 2018-08-07 陕西烽火电子股份有限公司 A kind of data transmission test optimization device
CN109739419A (en) * 2018-12-28 2019-05-10 中电科仪器仪表有限公司 The implementation method that plate interface automatically controls behind a kind of lattice gauge
CN111245501A (en) * 2020-01-16 2020-06-05 海丰通航科技有限公司 Communication module and command center server applied to very high frequency aviation radio station
CN112148611A (en) * 2020-09-28 2020-12-29 深圳信息通信研究院 Cloud architecture-based automatic test intermediate interface method and platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8356282B1 (en) * 2011-09-13 2013-01-15 Advanced Testing Technologies, Inc. Integrated development environment for the development of electronic signal testing strategies
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
CN107122295A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 The generation method and device of test case script
CN107562635A (en) * 2017-09-15 2018-01-09 西南电子技术研究所(中国电子科技集团公司第十研究所) Embedded software test accessory system
CN107943689A (en) * 2017-11-16 2018-04-20 北京卫星信息工程研究所 Automated testing method and test system based on parametrization test script
CN207706193U (en) * 2017-12-29 2018-08-07 陕西烽火电子股份有限公司 A kind of data transmission test optimization device
CN109739419A (en) * 2018-12-28 2019-05-10 中电科仪器仪表有限公司 The implementation method that plate interface automatically controls behind a kind of lattice gauge
CN111245501A (en) * 2020-01-16 2020-06-05 海丰通航科技有限公司 Communication module and command center server applied to very high frequency aviation radio station
CN112148611A (en) * 2020-09-28 2020-12-29 深圳信息通信研究院 Cloud architecture-based automatic test intermediate interface method and platform

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘涛等: "航空机载软件测试质量评价方法研究", 《计算机测量与控制》, vol. 26, no. 11, pages 285 - 288 *
张元华等: "通过软件测试提高航空电台软件质量", 《电讯技术》, no. 03, pages 170 - 172 *
窦磊等: "CTCS-2级ATP仿真软件测试管理系统设计", 《铁路计算机应用》, vol. 28, no. 01, pages 73 - 77 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113419946A (en) * 2021-05-31 2021-09-21 西南电子技术研究所(中国电子科技集团公司第十研究所) Ice interface test case and test script automatic generation method
CN113704095A (en) * 2021-08-08 2021-11-26 中国航空工业集团公司沈阳飞机设计研究所 Automatic generation method and device for automatic interface test case
CN114157732A (en) * 2021-11-12 2022-03-08 西安羚控电子科技有限公司 Telemetry data analysis method and system for large and medium-sized fixed wing unmanned aerial vehicle
CN114157732B (en) * 2021-11-12 2024-03-19 西安羚控电子科技有限公司 Remote measurement data analysis method and system for large and medium-sized fixed wing unmanned aerial vehicle
CN114265769A (en) * 2021-12-10 2022-04-01 中国电子科技集团公司第二十九研究所 Test system and method based on python script test case
CN115314543A (en) * 2022-03-01 2022-11-08 上海御渡半导体科技有限公司 Method for realizing SCPI communication based on TCP
CN114691530A (en) * 2022-06-01 2022-07-01 广州世炬网络科技有限公司 Communication end-to-end automatic test method and platform
CN115600323A (en) * 2022-11-15 2023-01-13 南京芯传汇电子科技有限公司(Cn) Aviation system simulation method and system, electronic device and readable storage medium
CN115686268A (en) * 2022-12-30 2023-02-03 昆山龙雨智能科技有限公司 Test method and device suitable for multiple touch panels

Also Published As

Publication number Publication date
CN112783794B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN112783794B (en) Aviation communication radio station software testing system
CN109039824B (en) Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal
CN108631854B (en) Apparatus and method for testing design of satellite payload transponder
CN113965501A (en) Communication navigation recognition system module test platform
CN113612654A (en) Vehicle-mounted gateway function testing method based on database
CN113158439A (en) Simulation system for communication navigation system test
CN104868957B (en) A kind of mobile terminal EDGE radio frequency test systems and method
CN112416804A (en) Real-time simulation test system and method
CN103913672B (en) A kind of satellite low frequency interface automatization test system
CN111212103A (en) SCA software radio station interface simulation system and method
CN108776632B (en) Signal-oriented self-checking flow automatic generation method, device, equipment and readable storage medium
CN114816980A (en) Automatic testing device and method for embedded communication system
CN112732508A (en) Zynq-based configurable general IO test system and test method
CN100391290C (en) Method of testing with integrated test tools
CN112540891A (en) Remote control method and device for avionic bus test equipment
CN114845328B (en) Polymorphism NR radio frequency test system, test case generation method and test method
CN112949018A (en) System and method for establishing direct current power transmission control and protection platform model and testing and verifying direct current power transmission control and protection platform model
CN117214561A (en) Test method of automatic test operation system and information sharing platform
CN106772460A (en) A kind of Big Dipper user terminal test system
CN115833964A (en) Performance test method and performance test system of dual-mode communication module
CN101217332A (en) Alarming test method and test control platform of synchronous digital system device
CN211528548U (en) Miniaturized satellite universal test platform based on system on chip
CN114123482A (en) Main plant station information joint debugging decoupling method
CN113051158B (en) System-level and link-level multi-index synchronous automatic testing method and system
CN112929101B (en) Automatic test system and method applied to transmitter

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