Self-test method, device, equipment and storage medium for signal test system
By acquiring and classifying the target model and configuration information of the signal test system, the self-test strategy is generated, automatic self-test is realized, the problem of cumbersome development of traditional self-test programs is solved, and the self-test efficiency and flexibility of the signal test system are improved. .
Patent Information
- Application Number
- CN202211742442.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Traditional automatic test systems require cumbersome self-test program development and maintenance during the self-test process, and cannot adapt to the configuration changes of flexible signal-oriented test systems.
By obtaining multiple target models and configuration information of the signal test system, classifying and storing it, and generating a self-test strategy, including incentive resources, measurement resources, self-test paths and detection logic, automatically perform self-test and generate self-test results, in line with ATML standard.
There is no need to develop a separate self-test program, it automatically adapts to system configuration changes, provides diversified self-test strategies, improves system self-test and maintenance efficiency, and simplifies the self-test process.
Smart Images

Figure CN116047390B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of self-test of a signal automatic test system, and in particular to a self-test method, device, equipment and storage medium for a signal test system. Background Art
[0002] Automatic test systems need to perform system self-tests regularly to ensure that their functional performance meets the requirements. Currently, large-scale automatic test systems generally have rich built-in test resources, have self-test capabilities and can provide high self-test coverage. Therefore, traditional automatic test systems generally develop and execute self-test programs during the self-test process. Designers compile self-test programs for the automatic test system and self-test adapter based on the system's self-test adapter, control the test instruments and equipment in the system, and obtain self-test results by executing the self-test program.
[0003] The new generation of test systems are designed with a signal-oriented concept based on ATML. The test instruments and equipment in the system are abstracted as test resources and test capabilities. The signal-oriented test execution engine is an execution method based on signal requirements, which supports flexible configuration of test resources and flexible switching of system configurations. The self-test method based on the traditional self-test test program will face the cumbersome development of the self-test process, and different self-test program versions need to be continuously maintained. The whole process requires the use of self-test programs and the development, release and installation of self-test programs based on the test system. The overall process is cumbersome and cannot adapt to the flexible and changeable signal-oriented test system. Summary of the invention
[0004] In view of this, in order to solve the above technical problems or part of the technical problems, the embodiments of the present invention provide a self-test method, device, equipment and storage medium for a signal test system.
[0005] In a first aspect, an embodiment of the present invention provides a self-test method for a signal test system, comprising:
[0006] Acquiring model information of a plurality of target models in the signal testing system, and acquiring configuration information of the signal testing system;
[0007] Classifying the plurality of model information for storage;
[0008] When the signal test system needs to perform self-test, corresponding self-test information is determined from the classified model information according to the configuration information, the self-test information including: excitation resources, excitation capabilities, measurement resources, measurement capabilities, self-test paths, and detection logic;
[0009] A self-test strategy is generated according to the self-test information, so as to perform a self-test on the signal test system according to the self-test strategy and generate a self-test result.
[0010] In a possible implementation manner, the acquiring model information of multiple target models in the signal testing system includes:
[0011] Ports, connections, instruments, switches, resources, and capability information of a plurality of target models are obtained as the model information. The plurality of target models include: a self-test adapter model, a self-test cable model, a test station model, and a test instrument model.
[0012] In a possible implementation manner, the obtaining the configuration information of the signal testing system includes:
[0013] identifying test instruments and resources within the signal test system;
[0014] The configuration information corresponding to the test instrument and the resource is determined.
[0015] In a possible implementation manner, performing a self-test on the signal test system according to the self-test strategy and generating a self-test result includes:
[0016] Controlling the signal path self-check strategy execution engine to execute the self-check strategy;
[0017] Generate resource capability self-test results, instrument self-test results, connection self-test results, system quick self-test results, system calibration self-test results, and system professional self-test results as the self-test results.
[0018] In a possible implementation manner, the self-checking strategy complies with the ATML standard.
[0019] In a second aspect, an embodiment of the present invention provides a self-test device for a signal test system, comprising:
[0020] A system configuration automatic loading adaptation module is used to obtain model information of multiple target models in the signal test system and to obtain configuration information of the signal test system;
[0021] A signal path information preprocessing module, used for classifying the plurality of model information for storage;
[0022] A path self-check logic analysis and processing module, used for determining corresponding self-check information from the classified model information according to the configuration information when the signal test system needs to perform self-check, the self-check information including: excitation resources, excitation capabilities, measurement resources, measurement capabilities, self-check paths, and detection logic;
[0023] The signal path self-test execution module is used to generate a self-test strategy according to the self-test information, so as to perform a self-test on the signal test system according to the self-test strategy and generate a self-test result.
[0024] In a possible implementation, the system configuration automatic loading adaptation module includes: a model information reading and loading module, an initialization and configuration adaptation submodule;
[0025] The model information reading and loading submodule is used to obtain the ports, connections, instruments, switches, resources, and capability information of the target models as the model information;
[0026] The initialization and configuration adapter module is used to identify the test instruments and resources in the signal test system;
[0027] The configuration information corresponding to the test instrument and the resource is determined.
[0028] In a possible implementation, the signal path information preprocessing module includes: a signal port analysis submodule, a signal connection analysis submodule, and a resource capability analysis submodule;
[0029] The signal port analysis submodule is used to analyze the signal ports in the model information, construct a signal port set, and classify the signal ports according to the signal port type;
[0030] The signal connection analysis submodule is used to analyze the connections in the model information, construct a connection set, and classify the connections according to the connection type;
[0031] The resource capability analysis submodule is used to analyze the resources and capability information in the model information, construct resource sets and capability sets respectively, and classify resources according to resource types and classify capability information according to capability information types.
[0032] In a third aspect, an embodiment of the present invention provides a main control device, comprising: a processor and a memory, wherein the processor is used to execute a self-test program for a signal test system stored in the memory to implement the self-test method for a signal test system described in any one of the first aspects above.
[0033] In a fourth aspect, an embodiment of the present invention provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the self-test method for a signal testing system described in any one of the first aspects above.
[0034] The self-check scheme for signal test system provided by the embodiment of the present invention obtains the model information of multiple target models in the signal test system, and obtains the configuration information of the signal test system; classifies the multiple model information for storage; when the signal test system needs to perform self-check, the corresponding self-check information is determined from the classified model information according to the configuration information, and the self-check information includes: incentive resources, incentive capabilities, measurement resources, measurement capabilities, self-check paths, and detection logic; a self-check strategy is generated according to the self-check information, so as to perform self-check on the signal test system according to the self-check strategy, and generate a self-check result. In this way, the problems of traditional self-check program development and release installation, cumbersome overall process and inability to adapt to flexible and changeable signal test systems can be solved. The system self-check can be completed by cooperating with the self-check adapter provided by the signal automatic test system, and there is no need to develop a self-check program separately, eliminating the cumbersome self-check program development work, being able to adapt to various configuration changes of the system, and providing a variety of self-check strategies. The self-check results meet the standard specifications, and effectively improve the system self-check and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of a flow chart of a self-test method for a signal test system provided by an embodiment of the present invention;
[0036] Figure 2 A schematic structural diagram of a self-test device for a signal test system provided by an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of the structure of a main control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.
[0040] Figure 1 A flow chart of a self-test method for a signal test system provided by an embodiment of the present invention is shown in FIG. Figure 1 Said method comprises:
[0041] S11. Acquire model information of multiple target models in the signal testing system, and acquire configuration information of the signal testing system.
[0042] The self-check method of the signal test system provided in the embodiment of the present invention is applied to a main control device in the signal test system, which can be a main control computer, a controller, etc. Specifically, the main control device obtains model information in the signal test system and generates a self-check strategy based on the model information to perform self-check.
[0043] In this embodiment, the signal test system includes: a self-test adapter model, a self-test cable model, a test station model, a test instrument model and other target models, and model information is obtained for each target model, specifically, the ports and connections of the self-test adapter model are obtained, the ports and connections of the self-test cable model are obtained, the ports, connections and instruments of the test station model are obtained, and the switch, resource and capability information of the test instrument model is obtained. The obtained port, connection, instrument, switch, resource and capability information is used as the model information.
[0044] Furthermore, since the configuration of the signal test system is different when testing different devices, and each configuration uses different test instruments and resources, the test instruments and resources equipped with the current signal test system are obtained, and automatically identified to determine the configuration corresponding to the identified test instruments and resources (for example, the configuration of the signal test system for testing aircraft), and the configuration can be used to determine the self-test strategy applicable to the current signal test system. At the same time, the self-test operation is initialized for the equipped test instruments and resources.
[0045] S12: Classify the plurality of model information for storage.
[0046] In this embodiment, all signal ports in the model information are identified, a signal port set is constructed, and the signal port sets are classified and stored according to the signal port types, which can be specifically divided into: physical signal ports, resource signal ports, and capability signal ports; all connections in the model information are identified, a connection set is constructed, and the connection sets are classified and stored according to the connection types, which can be specifically divided into physical connections and logical connections. At the same time, a switch set is constructed and stored according to the switch types, which can be specifically divided into on-off switches, crosspoint switches, and matrix switches. The resources and capability information in the model information are identified, and resource sets and capability information sets are respectively constructed, and they are classified and stored according to different types. Resources can be specifically divided into: independent port resources and shared port resources, and capabilities can be specifically divided into: excitation capabilities and measurement capabilities.
[0047] S13. When the signal test system needs to perform self-test, corresponding self-test information is determined from the classified model information according to the configuration information, and the self-test information includes: excitation resources, excitation capabilities, measurement resources, measurement capabilities, self-test paths, and detection logic.
[0048] In this embodiment, since the system structures of different configurations are different, the content or items that need to be self-checked are different. Therefore, when the signal test system needs to self-check, the content that the system of the current configuration needs to self-check is analyzed, and the excitation resources and excitation capabilities that the current system can use for self-checking are determined according to the content of the self-check, including but not limited to the available excitation channels, excitation signal types, and excitation signal range information. According to the content of the self-check, the measurement resources and measurement capabilities that the system of the current configuration can use for self-checking are determined, including but not limited to the available measurement channels, measurement signal types, and measurement signal range information; the reachable path of the system self-check is determined, and the reachable path is a path that can be self-checked for the content of the current self-check, and the usable connections and switches are selected from the connection set and the switch set for the reachable path, and the self-check path that the system can use is constructed based on the reachable path, the selected connections and switches; the self-check detection logic is constructed according to the content of the self-check, including but not limited to: resource capability self-check logic, instrument self-check logic, connection self-check logic, system fast self-check logic, system calibration self-check logic, system professional self-check logic, and system cross-check logic. The finally determined incentive resources, incentive capabilities, measurement resources, measurement capabilities, self-checking paths, and detection logics are used as self-checking information.
[0049] S14. Generate a self-test strategy according to the self-test information, perform a self-test on the signal test system according to the self-test strategy, and generate a self-test result.
[0050] In this embodiment, a system signal path self-test test strategy based on test items, test points, and test actions is generated according to the self-test information; the system signal path self-test test strategy is test strategy information that complies with the ATML standard, and can be directly used for execution by the signal path self-test strategy execution engine; the process of performing the self-test is: the signal path self-test strategy execution engine loads the system signal path self-test test strategy and parses and executes it, and generates the system self-test result after execution. The self-test result includes the result information of the self-test of the test system, including but not limited to: resource capability self-test results, instrument self-test results, connection self-test results, system fast self-test results, system calibration self-test results, and system professional self-test results, and at the same time provides self-test coverage, calibration coverage, and cross-check rate information, and the result information interaction format complies with the IEEE1636 standard specification.
[0051] The self-checking scheme for signal test system provided by the embodiment of the present invention obtains the model information of multiple target models in the signal test system, and obtains the configuration information of the signal test system; classifies the multiple model information for storage; when the signal test system needs to perform self-checking, the corresponding self-checking information is determined from the classified model information according to the configuration information, and the self-checking information includes: incentive resources, incentive capabilities, measurement resources, measurement capabilities, self-checking paths, and detection logic; a self-checking strategy is generated according to the self-checking information, so as to perform self-checking on the signal test system according to the self-checking strategy, and generate self-checking results. In this way, it is possible to achieve a signal-oriented automatic test system based on ATML, abandon the traditional way of using self-checking programs, and provide an automatic self-checking method for signal test system paths, which does not require the development of self-checking programs separately, and avoids the tedious development of self-checking programs, solves the self-checking problem of signal-oriented automatic test systems based on ATML, and effectively improves the efficiency of system self-checking and maintenance.
[0052] Figure 2 A schematic diagram of the structure of a self-test device for a signal test system provided by an embodiment of the present invention is shown in FIG. Figure 2 Said device comprises:
[0053] The system configuration automatically loads the adaptation module 1, the signal path information preprocessing module 2, the path self-check logic analysis and processing module 3, and the signal path self-check execution module 4.
[0054] The system configuration automatic loading adaptation module includes: a model information reading and loading submodule 11, and an initialization and configuration adaptation submodule 12; the model information reading and loading submodule is used to read the model information of the self-test adapter model A, the self-test cable model B, the test station model C, and the test instrument model D in the signal test system, and the model information includes: the model's ports, connections, instruments, switches, resources, and capability information; the initialization and configuration adaptation submodule is used to automatically identify the test instruments and resources equipped in the current configuration state in the signal test system, determine the current configuration based on the identification information, provide available self-test strategies based on the configuration, and initialize the self-test operations on the equipped test instruments and resources.
[0055] The signal path information preprocessing module includes: a signal port analysis submodule 21, a signal connection analysis submodule 22, and a resource capability analysis submodule 23; the signal port analysis submodule is used to analyze all signal ports in the model information, construct a signal port set and distinguish them according to the signal port type, which includes physical signal ports, resource signal ports, and capability signal ports; the signal connection analysis submodule is used to analyze all connections in the aforementioned model information, construct a connection set and distinguish them into physical connections and logical connections, and at the same time construct a switch information set and distinguish them according to different types, including on-off switches, crosspoint switches, and matrix switches; the resource capability analysis submodule is used to analyze the resources and capability information in the aforementioned test instrument model, respectively construct resource and capability sets and distinguish them according to different types, including independent port resources, shared port resources, excitation capabilities, and measurement capabilities.
[0056] The path self-test logic analysis and processing module includes: an excitation analysis submodule 31, a measurement analysis submodule 32, a path analysis submodule 33, and a detection analysis submodule 34; the excitation analysis submodule is used to analyze the excitation resources and excitation capabilities that the system needs to self-test and can be used for self-test, including available excitation channels, excitation signal types, and excitation signal range information; the measurement analysis submodule is used to analyze the measurement resources and measurement capabilities that the system needs to self-test and can be used for self-test, including available measurement channels, measurement signal types, and measurement signal range information; the path analysis submodule is used to analyze the reachable path for system self-test, and construct a self-test path that the system can use based on a connection set and a switch information set; the detection analysis submodule is used to construct the detection logic for self-test, including resource capability self-test logic, instrument self-test logic, connection self-test logic, system fast self-test logic, system calibration self-test logic, system professional self-test logic, and system cross-check logic.
[0057] The signal path self-test execution module includes: a self-test test strategy automatic generation submodule 41, a system signal path self-test test strategy 42, and a signal path self-test strategy execution engine 43; the self-test test strategy automatic generation submodule is used to generate a system signal path self-test test strategy based on test items, test points, and test actions according to the self-test detection logic; the system signal path self-test test strategy is a test strategy information that complies with the ATML standard, and can be directly used for execution by the signal path self-test strategy execution engine; the signal path self-test strategy execution engine is used to load the system signal path self-test test strategy and parse and execute it, and generate the system self-test test results after execution. The self-test test results include: the result information of the self-test of the test system, including the resource capability self-test results, the instrument self-test results, the connection self-test results, the system fast self-test results, the system calibration self-test results, and the system professional self-test results, and at the same time provide self-test coverage, calibration coverage, and cross-check rate information, and the result information interaction format complies with the IEEE1636 standard specification.
[0058] The self-test device for a signal test system provided in an embodiment of the present invention abandons the traditional method of using a self-test program, and provides an automatic self-test device for a signal test system path. It designs an automatic self-test method for the core information of the signal path of the signal automatic test system, including a system configuration automatic loading adaptation module, a signal path information preprocessing module, a path self-test logic analysis and processing module, a signal path self-test execution module, and a system self-test test result. The system self-test can be completed by cooperating with the self-test adapter provided by the signal automatic test system. There is no need to develop a self-test program separately, which eliminates the tedious self-test program development work, solves the self-test problem of the signal automatic test system based on ATML, and effectively improves the system self-test and maintenance efficiency.
[0059] Figure 3 A schematic diagram of the structure of a main control device provided by an embodiment of the present invention, Figure 3 The main control device 300 shown includes: at least one processor 301, a memory 302, at least one network interface 304 and other user interfaces 303. The various components in the main control device 300 are coupled together through a bus system 305. It can be understood that the bus system 305 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 305 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 305 is not shown in FIG. Figure 3 Various buses are labeled as bus system 305 .
[0060] The user interface 303 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0061] It can be understood that the memory 302 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 302 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0062] In some implementations, the memory 302 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 3021 and an application program 3022 .
[0063] The operating system 3021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 3022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 3022.
[0064] In the embodiment of the present invention, by calling the program or instruction stored in the memory 302, specifically, the program or instruction stored in the application 3022, the processor 301 is used to execute the method steps provided by each method embodiment, for example, including:
[0065] Acquiring model information of a plurality of target models in the signal testing system, and acquiring configuration information of the signal testing system;
[0066] Classifying the plurality of model information for storage;
[0067] When the signal test system needs to perform self-test, corresponding self-test information is determined from the classified model information according to the configuration information, the self-test information including: excitation resources, excitation capabilities, measurement resources, measurement capabilities, self-test paths, and detection logic;
[0068] A self-test strategy is generated according to the self-test information, so as to perform a self-test on the signal test system according to the self-test strategy and generate a self-test result.
[0069] In a possible implementation manner, the acquiring model information of multiple target models in the signal testing system includes:
[0070] Ports, connections, instruments, switches, resources, and capability information of a plurality of target models are obtained as the model information. The plurality of target models include: a self-test adapter model, a self-test cable model, a test station model, and a test instrument model.
[0071] In a possible implementation manner, the obtaining the configuration information of the signal testing system includes:
[0072] identifying test instruments and resources within the signal test system;
[0073] The configuration information corresponding to the test instrument and the resource is determined.
[0074] In a possible implementation manner, performing a self-test on the signal test system according to the self-test strategy and generating a self-test result includes:
[0075] Controlling the signal path self-check strategy execution engine to execute the self-check strategy;
[0076] Generate resource capability self-test results, instrument self-test results, connection self-test results, system quick self-test results, system calibration self-test results, and system professional self-test results as the self-test results.
[0077] In a possible implementation manner, the self-checking strategy complies with the ATML standard.
[0078] The method disclosed in the above embodiment of the present invention can be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 301 or the instruction in the form of software. The above processor 301 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 302, and the processor 301 reads the information in the memory 302 and completes the steps of the above method in combination with its hardware.
[0079] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0080] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0081] The main control device provided in this embodiment may be as follows Figure 3 The master device shown in , can execute Figure 1 All steps of the self-test method for signal test system in Figure 1 For details, please refer to Figure 1 For the sake of brevity, the relevant description is not repeated here.
[0082] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0083] When one or more programs in the storage medium can be executed by one or more processors, the self-test method for the signal test system executed on the device side can be implemented.
[0084] The processor is used to execute the self-test program for the signal test system stored in the memory to implement the following steps of the self-test method for the signal test system executed on the device side:
[0085] Acquiring model information of a plurality of target models in the signal testing system, and acquiring configuration information of the signal testing system;
[0086] Classifying the plurality of model information for storage;
[0087] When the signal test system needs to perform self-test, corresponding self-test information is determined from the classified model information according to the configuration information, the self-test information including: excitation resources, excitation capabilities, measurement resources, measurement capabilities, self-test paths, and detection logic;
[0088] A self-test strategy is generated according to the self-test information, so as to perform a self-test on the signal test system according to the self-test strategy and generate a self-test result.
[0089] In a possible implementation manner, the acquiring model information of multiple target models in the signal testing system includes:
[0090] Ports, connections, instruments, switches, resources, and capability information of a plurality of target models are obtained as the model information. The plurality of target models include: a self-test adapter model, a self-test cable model, a test station model, and a test instrument model.
[0091] In a possible implementation manner, the obtaining the configuration information of the signal testing system includes:
[0092] identifying test instruments and resources within the signal test system;
[0093] The configuration information corresponding to the test instrument and the resource is determined.
[0094] In a possible implementation manner, performing a self-test on the signal test system according to the self-test strategy and generating a self-test result includes:
[0095] Controlling the signal path self-check strategy execution engine to execute the self-check strategy;
[0096] Generate resource capability self-test results, instrument self-test results, connection self-test results, system quick self-test results, system calibration self-test results, and system professional self-test results as the self-test results.
[0097] In a possible implementation manner, the self-checking strategy complies with the ATML standard.
[0098] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0099] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0100] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A self-test method for a signal test system, characterized in that: include: Acquiring model information of a plurality of target models in the signal testing system, and acquiring configuration information of the signal testing system; Classifying the plurality of model information for storage; When the signal test system needs to perform self-test, corresponding self-test information is determined from the classified model information according to the configuration information, the self-test information including: excitation resources, excitation capabilities, measurement resources, measurement capabilities, self-test paths, and detection logic; a self-test strategy is generated according to the self-test information, so as to perform self-test on the signal test system according to the self-test strategy, and generate a self-test result; The classifying the plurality of model information for storage includes: Construct a signal port set and store it after classification according to the signal port type; construct a connection set and store it after classification according to the connection type; construct a switch set and store it after classification according to the switch type; construct a resource set and a capability information set and store it after classification, where resources are divided into: independent port resources and shared port resources, and capabilities are divided into: excitation capability and measurement capability; The self-testing the signal test system according to the self-testing strategy and generating a self-testing result includes: Controlling the signal path self-check strategy execution engine to execute the self-check strategy; Generate resource capability self-test results, instrument self-test results, connection self-test results, system quick self-test results, system calibration self-test results, and system professional self-test results as the self-test results.
2. The method according to claim 1, characterized in that The acquiring model information of multiple target models in the signal testing system includes: Ports, connections, instruments, switches, resources, and capability information of a plurality of target models are obtained as the model information. The plurality of target models include: a self-test adapter model, a self-test cable model, a test station model, and a test instrument model.
3. The method according to claim 1, characterized in that: The obtaining of the configuration information of the signal testing system includes: identifying test instruments and resources within the signal test system; The configuration information corresponding to the test instrument and the resource is determined.
4. The method according to claim 1, characterized in that The self-checking strategy complies with the ATML standard.
5. A self-test device for a signal test system, characterized in that: include: A system configuration automatic loading adaptation module is used to obtain model information of multiple target models in the signal test system and to obtain configuration information of the signal test system; A signal path information preprocessing module, used for classifying the plurality of model information for storage; A path self-check logic analysis and processing module, used for determining corresponding self-check information from the classified model information according to the configuration information when the signal test system needs to perform self-check, the self-check information including: excitation resources, excitation capabilities, measurement resources, measurement capabilities, self-check paths, and detection logic; A signal path self-test execution module, used to generate a self-test strategy according to the self-test information, to perform a self-test on the signal test system according to the self-test strategy, and to generate a self-test result; The signal path information preprocessing module is specifically used to construct a signal port set and classify and store it according to the signal port type; construct a connection set and classify and store it according to the connection type; construct a switch set and classify and store it according to the switch type; construct a resource set and a capability information set and classify and store it, where the resources are divided into: independent port resources and shared port resources, and the capabilities are divided into: excitation capability and measurement capability; The signal path self-check execution module is specifically used to control the signal path self-check strategy execution engine to execute the self-check strategy; Generate resource capability self-test results, instrument self-test results, connection self-test results, system quick self-test results, system calibration self-test results, and system professional self-test results as the self-test results.
6. The device according to claim 5, characterized in that The system configuration automatic loading adaptation module includes: a model information reading and loading submodule, an initialization and configuration adaptation submodule; The model information reading and loading submodule is used to obtain the ports, connections, instruments, switches, resources, and capability information of the target models as the model information; The initialization and configuration adapter module is used to identify the test instruments and resources in the signal test system; The configuration information corresponding to the test instrument and the resource is determined.
7. The device according to claim 6, characterized in that The signal path information preprocessing module includes: a signal port analysis submodule, a signal connection analysis submodule, and a resource capability analysis submodule; The signal port analysis submodule is used to analyze the signal ports in the model information, construct a signal port set, and classify the signal ports according to the signal port type; The signal connection analysis submodule is used to analyze the connections in the model information, construct a connection set, and classify the connections according to the connection type; The resource capability analysis submodule is used to analyze the resources and capability information in the model information, construct resource sets and capability sets respectively, and classify resources according to resource types and classify capability information according to capability information types.
8. A master control device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a self-test program for a signal test system stored in the memory to implement a self-test method for a signal test system according to any one of claims 1 to 4.
9. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the self-test method for a signal test system according to any one of claims 1 to 4.
