CN114401032B - Testing method and system for satellite communication comprehensive tester - Google Patents

Testing method and system for satellite communication comprehensive tester Download PDF

Info

Publication number
CN114401032B
CN114401032B CN202111597837.5A CN202111597837A CN114401032B CN 114401032 B CN114401032 B CN 114401032B CN 202111597837 A CN202111597837 A CN 202111597837A CN 114401032 B CN114401032 B CN 114401032B
Authority
CN
China
Prior art keywords
test
target operation
test set
satellite communication
scpi
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
CN202111597837.5A
Other languages
Chinese (zh)
Other versions
CN114401032A (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.)
Zhongke Nanjing Mobile Communication And Computing Innovation Research Institute
Original Assignee
Zhongke Nanjing Mobile Communication And Computing Innovation Research Institute
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 Zhongke Nanjing Mobile Communication And Computing Innovation Research Institute filed Critical Zhongke Nanjing Mobile Communication And Computing Innovation Research Institute
Priority to CN202111597837.5A priority Critical patent/CN114401032B/en
Publication of CN114401032A publication Critical patent/CN114401032A/en
Application granted granted Critical
Publication of CN114401032B publication Critical patent/CN114401032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18519Operations control, administration or maintenance

Abstract

The invention provides a testing method and a testing system for a satellite communication comprehensive tester, wherein the method comprises the following steps: a requirement conversion step, namely analyzing a first keyword in the test requirement, determining a corresponding functional unit as a pre-selection item through a storage mapping relation according to the first keyword, and generating a corresponding test set based on the determined pre-selection item; wherein, the functional unit corresponds to at least one SCPI command, each SCPI command binds a device; an environment adaptation step, namely determining corresponding target operation equipment through a test set, and adapting and connecting the target operation equipment based on a preset connection protocol; and executing a control step, namely executing the functional units in the test set based on a preset scheduling strategy, and controlling the test process according to a return result of the target operation equipment. The invention can flexibly and configurationally realize the automatic test of the satellite communication comprehensive tester, can accurately and rapidly respond, saves manpower and material resources and improves the test quality and efficiency.

Description

Testing method and system for satellite communication comprehensive tester
Technical Field
The invention relates to the technical field of instrument automation test, in particular to a test method and a test system for a satellite communication comprehensive tester.
Background
In the satellite communication field, a satellite mobile communication special terminal comprehensive tester (hereinafter referred to as comprehensive tester) has an important supporting position, and in the research and development and production processes of comprehensive tester products, test verification is an important link, and the test verification can be used for verifying whether the test functions and test performances contained in the comprehensive tester meet research and development requirements or not, and can be used for verifying whether the test precision and test stability of the comprehensive tester meet production requirements or not.
In the research and development and production process of the comprehensive tester, in order to ensure that the functions and performances of the comprehensive tester meet the expected requirements, an external test mode is required to be adopted for further verification. The conventional verification method is to manually build a test environment by means of auxiliary test tools (signal sources, frequency spectrums, power meters, communication terminals and the like), and then test and verify by running an automatic test script with fixed test contents. However, when the multifunctional test requirement of the comprehensive tester and the simulation test of various use scenes are met, the method needs to design and develop new automatic scripts according to different test requirements, so that the labor consumption is low, the professional skill requirement of the tester is greatly improved, and the test stability and the accuracy of the test result are difficult to ensure. When the automatic test script with fixed test content faces new test requirements, the requirements of a production test team on flexible test, accuracy and quick response of the comprehensive tester cannot be met, and therefore final output quality of products is affected.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the embodiment of the invention provides a testing method for a satellite communication comprehensive tester, which aims to realize automatic testing of the comprehensive tester in a flexible configuration mode.
In a first aspect, an embodiment of the present invention provides a method for testing a satellite communication comprehensive tester, including:
a requirement conversion step, namely analyzing a first keyword in the test requirement, determining a corresponding functional unit as a pre-selection item through a storage mapping relation according to the first keyword, and generating a corresponding test set based on the determined pre-selection item; wherein the functional units in the test set correspond to at least one SCPI command, each of the SCPI commands binding a device;
an environment adaptation step, namely determining corresponding target operation equipment through the test set, and adapting and connecting the target operation equipment based on a preset connection protocol;
and executing a control step, namely executing the functional units in the test set based on a preset scheduling strategy, and controlling a test process according to a return result of the target operation equipment.
The testing method for the satellite communication comprehensive tester provided by the embodiment of the invention has at least the following beneficial effects: the functional units are determined to be used as the pre-selected items through the test requirement keywords, at least one SCPI command is corresponding to each functional unit, the SCPI commands are bound with the equipment one to one, the test set can be flexibly configured, a script is not required to be written, namely, automatic test is realized on the satellite communication comprehensive tester, the flexibility of the test of the satellite communication comprehensive tester is improved, the response can be accurately and rapidly carried out, the manpower and material resources are saved, and the test quality and the test efficiency are improved.
According to some embodiments of the invention, the demand conversion step includes: analyzing the test requirement based on a data dictionary, and generating the first keyword; and searching the functional units matched with the first key words based on a storage mapping relation, and determining the preset options according to the matching degree.
According to some embodiments of the invention, the demand conversion step further comprises: and determining the scheduling priority of each functional unit in the test set based on the preset scheduling strategy.
According to some embodiments of the invention, the environment adaptation step comprises: extracting all the SCPI commands corresponding to the functional units in the test set, and determining the target operation equipment according to the SCPI commands; adapting the target operation equipment based on a preset connection protocol, and determining a control link parameter; and connecting with the target operation equipment according to the control link parameters.
According to some embodiments of the invention, the environment adaptation step further comprises: and creating corresponding receiving threads and sending threads for each target operation device based on a multithreaded parallel control mode.
According to some embodiments of the invention, the environment adaptation step further comprises: and carrying out shunt adaptation and connection management on the target operation equipment according to the type of the target operation equipment.
According to some embodiments of the invention, the performing control step includes: acquiring a return result of the target operation equipment, and acquiring a corresponding analysis result based on a matched analysis processing method; comparing the analysis result with a preset condition, if the analysis result is in accordance with the preset condition, continuing to execute the test, otherwise, controlling the test flow according to the preset control operation type
In a second aspect, an embodiment of the present invention provides a test system for a satellite communication comprehensive tester, including:
the demand conversion module is used for analyzing a first keyword in the test demand, determining a corresponding functional unit as a pre-selection item through a storage mapping relation according to the first keyword, and generating a corresponding test set based on the determined pre-selection item; wherein the functional units in the test set correspond to at least one SCPI command, each of the SCPI commands binding a device;
the environment adaptation module is used for determining corresponding target operation equipment through the test set, and adapting and connecting the target operation equipment based on a preset connection protocol;
and the execution control module is used for executing the functional units in the test set based on a preset scheduling strategy and controlling the test process according to the return result of the target operation equipment.
The testing system for the satellite communication comprehensive tester provided by the embodiment of the invention has at least the following beneficial effects: the functional units are determined to be used as the pre-selected items through the test requirement keywords, at least one SCPI command is corresponding to each functional unit, the SCPI commands are bound with the equipment one to one, the test set can be flexibly configured, a script is not required to be written, namely, automatic test is realized on the satellite communication comprehensive tester, the flexibility of the test of the satellite communication comprehensive tester is improved, the response can be accurately and rapidly carried out, the manpower and material resources are saved, and the test quality and the test efficiency are improved.
According to some embodiments of the invention, the demand conversion module comprises: the first association module is used for configuring a first mapping association relation between the first keyword and the functional unit; a second association module, configured to configure a second mapping association relationship between the functional units in the test set and the SCPI command; and a third association module, configured to bind a corresponding device to the added SCPI command.
According to some embodiments of the invention, the display module is configured to provide an interactive interface to import the test requirement, edit the test requirement, and display a test analysis result of the functional unit.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 is a schematic diagram of the main steps of a method according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a process for test set generation in a method according to an embodiment of the invention.
Fig. 3 is a flow chart of the environment adapting step and a connection diagram of each device in the method according to the embodiment of the present invention.
Fig. 4 is a schematic diagram of a process for performing a control step in a method according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of main modules in a system according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of the internal modules of the demand conversion module in the system of the embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module," "component," or "unit" may be used in combination. "first", "second", etc. are used for the purpose of distinguishing between technical features only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated. In the following description, the continuous reference numerals of the method steps are used for facilitating examination and understanding, and the technical effects achieved by the technical scheme of the invention are not affected by adjusting the implementation sequence among the steps in combination with the overall technical scheme of the invention and the logic relations among the steps. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
Noun interpretation:
SCPI: standard Commands for Programmable Instruments, the programmable instrument standard command is a set of standard syntax and commands for controlling the programmable test and measurement instrument.
Example 1
Referring to fig. 1, the embodiment discloses a testing method for a satellite communication comprehensive tester, which includes: a demand conversion step, an environment adaptation step, and an execution control step.
And a requirement conversion step, namely analyzing a first keyword in the test requirement, determining a corresponding functional unit as a pre-selection item through a storage mapping relation according to the first keyword, and generating a corresponding test set based on the determined pre-selection item. Wherein the functional unit corresponds to at least one SCPI command, each SCPI command binding a device.
Specifically, first, a test requirement is acquired, and a plurality of corresponding first keywords are resolved according to the content of the test requirement.
Referring to fig. 2, a method for obtaining a test requirement includes, for example: and importing the Excel template in a preset format. When the content format is imported, firstly checking the content format, and judging whether the content format accords with a preset format or not. If yes, reading and analyzing the content in the Excel module, and converting the content into the content for testing requirements to be imported. The method for obtaining the test requirement can also be as follows: and providing an interactive interface for a user to select configuration, and directly importing test requirement contents according to the configuration.
And analyzing the imported test requirement content based on the data dictionary to generate at least one corresponding first keyword. Wherein the data dictionary may be automatically generated and extended based on the description of the existing functional units. Obviously, the more functional units that are present or supportable, the more abundant the content of the data dictionary. The data dictionary may be stored in a database as shown in fig. 2.
Then, based on the memory mapping relationship, the functional unit matched with the first keyword is retrieved, the matching degree of the functional unit and the first keyword is calculated, and at least one pre-selected item is determined according to the matching degree. For example, the functional units may be sorted in order of high-to-low matching, and the first N (N.gtoreq.1) functional units are selected as the pre-selection items.
As shown in fig. 2, the pre-selected item may be presented to a tester via an interactive interface, which may select or adjust the pre-selected item. The conversion may be based on the selected pre-selection items to generate a corresponding test set.
And when all the current functional units are not matched with the first keyword or the matching degree of the current functional units and the first keyword is lower than a preset threshold value, confirming that no pre-selection item exists. At this time, the tester may newly create a functional unit and give a description of the functional unit to generate a data dictionary. The tester can also modify the functional unit as a pre-selected item and modify the corresponding description of the functional unit, or save the modified functional unit as a new functional unit. As shown in fig. 2, the tester may directly configure a first mapping association relationship between the first keyword and the functional unit, and store the first mapping association relationship in the database. When the first keyword is obtained, a first mapping relation (for example, a first mapping relation table) is read from the database, a corresponding first mapping relation is found according to the first keyword, the pre-selection item of the functional unit is determined, and the pre-selection item is displayed to a tester through an interactive interface.
Each functional unit may include at least one SCPI command. I.e., each functional unit may be mapped with at least one SCPI command. The testers can perform operations such as adding, modifying and the like on the SCPI commands mapped by the functional units; some of the SCPI commands may also be selected for use as the contents of the test set for execution during subsequent testing. For the new SCPI command of the functional unit, a second mapping association relationship between the functional unit and the new SCPI command is stored, for example, as shown in fig. 2, in the database, so as to provide a corresponding retrieval basis for the execution of the subsequent test.
Each SCPI command is bound with a device that is the subject of the operation. In this embodiment, binding judgment is performed on all SCPI commands in the test set, and if a new SCPI command is detected, a device that needs to be bound is prompted. In this embodiment, the SCPI command is bound to the device identification. The devices may be satellite communication comprehensive measurement devices as test objects, or may be test devices as auxiliary tests, for example, signal sources, frequency spectrums, power meters, communication terminals, and the like.
In this embodiment, the requirement conversion step further includes: and determining the scheduling priority of each functional unit in the test set based on a preset scheduling strategy, so that the functional units in the test set can be executed later according to the scheduling priority. And generating the scheduling priority of each functional unit in the test set according to the configured preset scheduling strategy. In some embodiments of the invention, the scheduling preferences of the individual functional units in the test set may also be configured directly.
In this embodiment, the requirement conversion step further includes: and configuring a corresponding test result analysis method for the functional units in the test set, and setting a corresponding control operation type (such as pause or stop) after exceeding the result.
And in the environment adaptation step, corresponding target operation equipment is determined through the test set, and the target operation equipment is adapted and connected based on a preset connection protocol.
Specifically, referring to fig. 3, for example, a device management API of the environment adaptation module is called through an interactive interface, a test set to be tested is input as a parameter, and the API obtains devices bound by all SCPI commands in the test set and matches with a device list stored in a database to determine that devices required by the test set are all present in the device list in the database.
Then, according to the types of the binding devices (corresponding to the target operation devices) in the test set to be executed, the target operation devices are subjected to split processing according to the types so as to match specific physical devices (refer to fig. 3, which includes a satellite communication comprehensive tester as a device to be tested, and a signal source, a spectrometer, a power meter, a communication terminal and the like as auxiliary test devices) according to the device types and the device numbers, and preparation is made for adapting connection and connection control of subsequent devices.
After the specific physical devices are matched, the interface protocol selection is continuously executed. For example, referring to fig. 3, at least one interface protocol is obtained from a database according to the device type and displayed for selection by a user to configure a communication protocol (corresponding to a preset connection protocol) controlling connection for each device in the test environment. Specifically, the target operation device is adapted based on a preset connection protocol, a control link parameter is determined, and the target operation device is connected according to the control link parameter. In the embodiment of the invention, the interface protocol selects a design mode adopting modularized management, so that the protocol types of all devices can be managed uniformly, the protocol types are mutually independent, and the transverse expansion is supported.
Then, the interfacing control is performed. In the embodiment, the interface connection control adopts a multithreading parallel method; when a device is newly added in the test environment, a corresponding receiving thread and a corresponding sending thread are created for the device. The receiving thread monitors the data in real time in a blocking mode, so that resource waste is avoided; the sending thread adopts a unified thread pool management scheduling mode, when the data sending requirement occurs, the thread Chi Kongxian thread is automatically allocated, the data sending task is executed, and the thread is exited after the completion of the data sending task. According to the embodiment, the thread pool management is carried out on the sending thread, so that the resource utilization rate can be greatly improved, and more data concurrency can be supported.
In this embodiment, the method further includes: and initializing connection verification is carried out on all target operation devices in the test environment. By initializing the connection check, it can be ensured that the test environment is adapted correctly. And if the initialization connection is successful, the test environment construction is completed.
And executing a control step, namely executing the functional units in the test set based on a preset scheduling strategy, and controlling the test process according to a return result of the target operation equipment.
Specifically, in this embodiment, according to a preset scheduling priority policy, the functional units included in the test set are scheduled, and the test is executed. For example, the test is performed according to a scheduling preference level preset for each functional unit.
After detecting that a certain functional unit of the test set completes the test, acquiring a result return value of the equipment test, inputting the result return value serving as a parameter into a preset analysis processing method, and starting to execute analysis. The analysis processing method for the result return value mainly comprises the following steps: and returning an analysis result after the analysis processing method is executed and triggering the associated control operation. In this embodiment, the analysis result is returned and reported to the upper layer through the unified interface in the execution scheduling function; the triggering of the associated control operation is as follows: when the analysis result cannot meet the preset spare parts, corresponding test control operation (such as suspending test or stopping test) is automatically triggered according to the preset control operation type (such as suspending or stopping) so as to reserve the test site state for research and development personnel to judge and analyze the problems, and the purpose of problem reproduction is achieved. If the preset condition is met, the test of the next functional unit is continuously and automatically executed.
Referring to fig. 4, in the embodiment of the present invention, for the analysis processing method of the result return value, unified management is performed by using a plug-in registration management method. When the test system is initialized, the analysis processing plug-in is registered and loaded according to the analysis processing list (which is equivalent to the registration processing analysis method in fig. 4), and the plug-in management mode enables the analysis processing method to have the flexible expansion effect of plug-and-play, so that the time for recompilation and release of software is reduced. The interface is scheduled through a standard and unified analysis processing method, so that an upper layer can use all analysis processing methods without differentiation. In this embodiment, through test execution control, a test return result corresponding to each functional unit is obtained, and then a corresponding analysis processing method is executed, so as to obtain an analysis result. The analysis result is sent to the interaction interface for display, and the test result judgment is carried out to judge whether the analysis result meets the preset condition, if not, the test is stopped and the alarm is given. Where stopping execution may be to pause the test (e.g., to continue execution of subsequent tests after pausing for a preset time) or to stop the test (no longer executing subsequent tests). The alert may be displayed through an interactive interface. And if the preset conditions are met, executing the next functional unit according to the preset scheduling strategy. In this embodiment, the target operation devices used in the test set may be uniformly subjected to the adaptive connection management before all the functional units are executed. In this embodiment, the functional unit may be used as a unit to perform adaptive connection management on the target operation device; at this time, whether the target operation device is adapted to the connection is detected first, and if yes, the corresponding adapting connection operation is not performed.
According to the embodiment, the functional units are determined to serve as the pre-selected items through the test requirement keywords, at least one SCPI command corresponds to each functional unit, the SCPI commands are bound with the equipment one to one, the test set can be flexibly configured without writing scripts, namely, automatic testing is realized on the satellite communication comprehensive tester, the flexibility of testing of the satellite communication comprehensive tester is improved, the response can be accurately and rapidly carried out, manpower and material resources are saved, and the testing quality and efficiency are improved.
Example 2
Referring to fig. 5, a system of an embodiment of the present invention includes: a demand conversion module 100, an environment adaptation module 200, and an execution control module 300.
The demand conversion module 100 receives the test demands, analyzes first keywords in the test demands, determines corresponding functional units as pre-options according to the first keywords through a storage mapping relation, and generates corresponding test sets based on the determined pre-options; wherein the functional units in the test set correspond to at least one SCPI command, each SCPI command binding a device. I.e., the demand conversion module 100 is used to perform the demand conversion step in the above-described embodiment 1.
The environment adapting module 200 receives the test set to be executed, determines a corresponding target operation device through the test set, and adapts and connects the target operation device based on a preset connection protocol. I.e. the environment adaptation module 200 is used to perform the environment adaptation steps in embodiment 1 described above.
After the environment adapting module 200 adapts to the target operation device, the execution control module 300 executes the functional units in the test set based on the preset scheduling policy, and controls the test process according to the returned result of the target operation device. I.e., the execution control module 300 is used to execute the execution control steps in embodiment 1 described above.
As shown in fig. 6, the demand conversion module 100 further includes: the first association module 110, the second association module 120, and the third association module 130. The first association module 110 is configured to configure a first mapping association relationship between the first keyword and the functional unit, where the first mapping relationship is stored in a database, for example. A second association module 120 is configured to configure a second mapping association of functional units in the test set with SCPI commands, the second mapping association being stored in, for example, a database. And a third association module, configured to bind the corresponding device to the newly added SCPI command, where the corresponding binding result is stored in, for example, a database.
The system in this embodiment further includes: the display module (not shown) is used for providing an interactive interface to import the test requirement, edit and configure the test requirement, display the test analysis result of the functional unit, and the like. The test analysis results include, for example: and testing a return result value and a return time, a corresponding analysis processing method, an analysis result of the analysis processing method, a comparison result of the analysis result and a preset condition, and the like.
According to the embodiment, the functional units are determined to serve as the pre-selected items through the test requirement keywords, at least one SCPI command corresponds to each functional unit, the SCPI commands are bound with the equipment one to one, the test set can be flexibly configured without writing scripts, namely, automatic testing is realized on the satellite communication comprehensive tester, the flexibility of testing of the satellite communication comprehensive tester is improved, the response can be accurately and rapidly carried out, manpower and material resources are saved, and the testing quality and efficiency are improved.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, functional modules/units in the apparatus disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media (simply storage media), which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer readable media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and thus do not limit the scope of the claims of the present invention. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the present invention shall fall within the scope of the appended claims.

Claims (10)

1. The testing method for the satellite communication comprehensive tester is characterized by comprising the following steps of:
a requirement conversion step, namely analyzing a first keyword in the test requirement, determining a corresponding functional unit as a pre-selection item through a storage mapping relation according to the first keyword, and generating a corresponding test set based on the determined pre-selection item; wherein the functional units in the test set correspond to at least one SCPI command, each of the SCPI commands binding a device;
an environment adaptation step, namely determining corresponding target operation equipment through the test set, and adapting and connecting the target operation equipment based on a preset connection protocol;
executing a control step, namely executing the functional units in the test set based on a preset scheduling strategy, and controlling a test process according to a return result of the target operation equipment;
wherein after said generating a corresponding test set based on said determined pre-selected items, said demand conversion step further comprises:
binding judgment is carried out on all the SCPI commands in the test set, and when the newly added SCPI command is detected, the newly added SCPI command is bound with the equipment identifier of the equipment to be bound; the apparatus comprises: the satellite communication comprehensive tester is used as a test object and the test equipment is used as auxiliary test;
the determining the corresponding target operation device through the test set comprises the following steps:
and extracting all the SCPI commands corresponding to the functional units in the test set, and determining the target operation equipment according to the SCPI commands.
2. The method for testing a satellite communication integration tester according to claim 1, wherein the requirement conversion step includes:
analyzing the test requirement based on a data dictionary, and generating the first keyword;
and searching the functional units matched with the first key words based on a storage mapping relation, and determining the preset options according to the matching degree.
3. The method for testing a satellite communication integration tester according to claim 2, wherein the requirement conversion step further comprises: and determining the scheduling priority of each functional unit in the test set based on the preset scheduling strategy.
4. The method for testing a satellite communication integration tester according to claim 1, wherein the environment adapting step comprises:
adapting the target operation equipment based on a preset connection protocol, and determining a control link parameter;
and connecting with the target operation equipment according to the control link parameters.
5. The method for testing a satellite communication integration tester according to claim 4, wherein the environment adapting step further comprises: and creating corresponding receiving threads and sending threads for each target operation device based on a multithreaded parallel control mode.
6. The method for testing a satellite communication integration tester according to claim 4, wherein the environment adapting step further comprises: and carrying out shunt adaptation and connection management on the target operation equipment according to the type of the target operation equipment.
7. The method for testing a satellite communication integration tester according to claim 1, wherein the performing control step includes:
acquiring a return result of the target operation equipment, and acquiring a corresponding analysis result based on a matched analysis processing method;
and comparing the analysis result with a preset condition, if the analysis result meets the preset condition, continuing to execute the test, otherwise, controlling the test flow according to the preset control operation type.
8. The utility model provides a test system towards satellite communication comprehensive survey appearance which characterized in that includes:
the demand conversion module is used for analyzing a first keyword in the test demand, determining a corresponding functional unit as a pre-selection item through a storage mapping relation according to the first keyword, and generating a corresponding test set based on the determined pre-selection item; wherein the functional units in the test set correspond to at least one SCPI command, each of the SCPI commands binding a device;
the environment adaptation module is used for determining corresponding target operation equipment through the test set, and adapting and connecting the target operation equipment based on a preset connection protocol;
the execution control module is used for executing the functional units in the test set based on a preset scheduling strategy and controlling a test process according to a return result of the target operation equipment;
wherein, after the generating of the respective test set based on the determined pre-selected items, the demand conversion module is further configured to:
binding judgment is carried out on all the SCPI commands in the test set, and when the newly added SCPI command is detected, the newly added SCPI command is bound with the equipment identifier of the equipment to be bound; the apparatus comprises: the satellite communication comprehensive tester is used as a test object and the test equipment is used as auxiliary test;
the environment adaptation module is further configured to:
and extracting all the SCPI commands corresponding to the functional units in the test set, and determining the target operation equipment according to the SCPI commands.
9. The satellite communication instrumentation system according to claim 8, wherein said demand conversion module comprises:
the first association module is used for configuring a first mapping association relation between the first keyword and the functional unit;
a second association module, configured to configure a second mapping association relationship between the functional units in the test set and the SCPI command;
and a third association module, configured to bind a corresponding device to the added SCPI command.
10. The satellite communication instrumentation system according to claim 8, further comprising: the display module is used for providing an interactive interface to import the test requirement, editing and configuring the test requirement, and displaying the test analysis result of the functional unit.
CN202111597837.5A 2021-12-24 2021-12-24 Testing method and system for satellite communication comprehensive tester Active CN114401032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111597837.5A CN114401032B (en) 2021-12-24 2021-12-24 Testing method and system for satellite communication comprehensive tester

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111597837.5A CN114401032B (en) 2021-12-24 2021-12-24 Testing method and system for satellite communication comprehensive tester

Publications (2)

Publication Number Publication Date
CN114401032A CN114401032A (en) 2022-04-26
CN114401032B true CN114401032B (en) 2023-10-27

Family

ID=81226149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111597837.5A Active CN114401032B (en) 2021-12-24 2021-12-24 Testing method and system for satellite communication comprehensive tester

Country Status (1)

Country Link
CN (1) CN114401032B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799506A (en) * 2010-04-21 2010-08-11 广州市广晟微电子有限公司 Chip test method, device and system based on script control
CN109634253A (en) * 2018-11-13 2019-04-16 武汉精能电子技术有限公司 A kind of automatic flow control method and system
CN110110149A (en) * 2018-01-11 2019-08-09 天维讯达(北京)科技有限公司 A kind of analysis method and device of SCPI order
CN112732551A (en) * 2020-12-01 2021-04-30 武汉虹信科技发展有限责任公司 Automatic test method and system for radio frequency indexes
CN113703836A (en) * 2021-08-20 2021-11-26 北京空间飞行器总体设计部 SCPI instruction management method for spacecraft power system evaluation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7631227B2 (en) * 2006-11-21 2009-12-08 Etaliq Inc. Automated testing and control of networked devices
US8572589B2 (en) * 2009-06-30 2013-10-29 Agilent Technologies, Inc. Programming language translator and enabling translation of machine-centric commands for controlling instrument

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799506A (en) * 2010-04-21 2010-08-11 广州市广晟微电子有限公司 Chip test method, device and system based on script control
CN110110149A (en) * 2018-01-11 2019-08-09 天维讯达(北京)科技有限公司 A kind of analysis method and device of SCPI order
CN109634253A (en) * 2018-11-13 2019-04-16 武汉精能电子技术有限公司 A kind of automatic flow control method and system
CN112732551A (en) * 2020-12-01 2021-04-30 武汉虹信科技发展有限责任公司 Automatic test method and system for radio frequency indexes
CN113703836A (en) * 2021-08-20 2021-11-26 北京空间飞行器总体设计部 SCPI instruction management method for spacecraft power system evaluation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于GPIB接口的无线通信综测仪自动校测系统;叶礼兵;陈健;王永学;;深圳职业技术学院学报(03);第7-12页 *

Also Published As

Publication number Publication date
CN114401032A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN107516510B (en) Automatic voice testing method and device for intelligent equipment
CN108959059B (en) Test method and test platform
CN111078482B (en) Communication navigation equipment test system, method, equipment and readable storage medium
CN108628748B (en) Automatic test management method and automatic test management system
CN109726100A (en) Application performance test method, apparatus, equipment and computer readable storage medium
CN108549606A (en) interface test method and device
CN105117233A (en) API calling method and device
CN105760296A (en) Automation testing control method, device and terminal
CN104978262A (en) Terminal test method and terminal test device
CN105786695A (en) Data test method and system
CN114546738B (en) Universal test method, system, terminal and storage medium for server
CN110597721A (en) Automatic interface pressure testing method based on pressure testing script
CN106646315A (en) Automatic testing system and automatic testing method for digital measuring instruments
CN108874649A (en) Generation method, device and its computer equipment of automatic test script
CN114996127A (en) Intelligent test method and system for solid state disk firmware module
CN116261091B (en) Bluetooth testing system and method capable of customizing testing flow
CN114401032B (en) Testing method and system for satellite communication comprehensive tester
CN117009243A (en) Chip performance automatic test method, device, computer equipment and storage medium
CN115794624A (en) Closed-loop testing method and system for single automation device of intelligent substation
CN115982043A (en) Vehicle interface testing method, device, equipment and storage medium
CN113608089B (en) SOA test method, system and device for switching power supply MOS tube and readable storage medium
CN110750435A (en) Test case management method and device
CN114661615A (en) FPGA software testing method and device
CN109697161A (en) A kind of test method of storing process, storage medium and database server
CN115437903A (en) Interface test method, device, apparatus, storage medium, and program

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