Micro-discharge effect test test action sequence representation method and system
By dynamically combining the test action sequence of micro-discharge effect experiments using a scripting language approach, the problems of repetitive coding and limited functionality in existing technologies are solved, enabling a more efficient and flexible test program design.
Patent Information
- Application Number
- CN202210982682.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2042-08-16
AI Technical Summary
Existing micro-discharge effect test action sequences require strict adherence to a format for input and output, resulting in issues such as high likelihood of repetitive coding, limited functionality, low reusability, and poor flexibility in packaging and configuration optimization.
A scripting approach is adopted to construct micro-discharge effect test action sequences through granularity and easy composability. By leveraging the independence and flexibility of scripting languages, dynamic combination and flexible configuration of action sequences can be achieved.
It effectively solves the problem of repetitive coding, improves the reusability and flexibility of the test action sequence for micro-discharge effect experiments, reduces coupling, and achieves more efficient test program design.
Smart Images

Figure CN115344368B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of micro-discharge effect test, and particularly relates to a micro-discharge effect test test action sequence representation method and system. BACKGROUND
[0002] The statements in this section merely provide background information related to the present application and do not necessarily constitute prior art.
[0003] The micro-discharge effect detection system is an important basic guarantee platform for realizing reliability verification testing of spacecraft high-power microwave device components, assemblies, and loads (waveguides, coaxial cables, filters, isolators, waveguide rotary joints, switches, power amplifiers, multiplexers, antennas, and other aerospace-grade loads), is a comprehensive test system for test and test integration, and involves electromagnetic field theory, microwave technology, material electromagnetic properties, microscopic electron multiplication, and other disciplines.
[0004] Micro-discharge effect test testing involves microwave high-power signal generation (continuous wave, top and bottom power adjustable pulse modulation signal, multi-carrier), high-power radio frequency signal transmission, thermal vacuum ring module subsystem construction, free electron emission and detection (radioactive source), discharge effect automatic detection subsystem, automatic control and data monitoring software, and other fields. The system is complex and large in scale, and the core purpose is to realize rapid and effective detection of micro-discharge effect. In addition to providing high-power radio frequency signals, free electrons, remote control commands, vacuum and high and low temperature environments to the measured object, the most core is to realize power monitoring, frequency spectrum monitoring and amplitude and phase information monitoring of high-power signals. The power includes the input power of the measured object, the output power, and the reflection power of the input port of the measured object. The frequency spectrum includes the frequency spectrum of the zero signal and the frequency spectrum of the output signal of the measured object. The vector network analysis includes the monitoring of the amplitude and phase changes of transmission and reflection. The detection process involves many types of instruments and equipment, and multiple parties need to cooperate during execution. The action is relatively complex.
[0005] At present, the micro-discharge effect test test action sequence is generally created and represented in the following two forms: Form one is to encapsulate different micro-discharge effect test test action sequences into various classes; Form two is to encapsulate different micro-discharge effect test test action sequences into various dynamic libraries or plug-ins. The technical core of the above two methods is the encapsulation of the micro-discharge effect test test action sequence.
[0006] The inventors have found that the prior art has the following problems:
[0007] (1) The micro-discharge effect test test action sequence needs to be strictly input and output according to its format when called;
[0008] (2) Due to the difficulty in grasping the granularity, the possibility of repeated coding is extremely high, and it is difficult to avoid high code problems;
[0009] (three) the existing technology encapsulates the content, so that the micro-discharge effect test test action sequence function is single, and the reusability is low;
[0010] (four) the micro-discharge effect test test action sequence encapsulation configuration optimization flexibility is poor, and the test program is tightly coupled with the mainstream program. SUMMARY
[0011] In order to overcome the above-mentioned deficiencies of the prior art, the micro-discharge effect test test action sequence representation method and system provided by the present application use the processing strategy script language method to solve the problems of strong coupling, difficult reusability and high code in the prior art micro-discharge effect test action sequence.
[0012] In order to achieve the above-mentioned purpose, one or more embodiments of the present application provide the following technical solutions:
[0013] The first aspect of the present application provides a micro-discharge effect test test action sequence representation method.
[0014] A micro-discharge effect test test action sequence representation method comprises:
[0015] selecting a plurality of script units from the test action sequence script unit and adding them to the test action sequence script sequence;
[0016] determining whether there is a test action sequence required script sequence in the test action sequence script sequence;
[0017] if there is a required script sequence, adding the test action sequence required script sequence in the test action sequence script sequence to the test action sequence mixed script;
[0018] determining whether there is a test action sequence required script unit in the test action sequence script unit;
[0019] if there is a required script unit, adding the test action sequence required script unit in the test action sequence script unit to the test action sequence mixed script.
[0020] The second aspect of the present application provides a micro-discharge effect test test action sequence representation system.
[0021] A micro-discharge effect test test action sequence representation method comprises:
[0022] The first adding module is configured to select a plurality of script units from the test action sequence script unit and add them to the test action sequence script sequence;
[0023] The first determining module is configured to determine whether there is a test action sequence required script sequence in the test action sequence script sequence;
[0024] The second adding module is configured to add the script sequence required by the test action sequence to the test action sequence mixed script if the script sequence is required.
[0025] The second judging module is configured to judge whether the script unit required by the test action sequence is in the test action sequence script unit.
[0026] The third adding module is configured to add the script unit required by the test action sequence to the test action sequence mixed script if the script unit is required.
[0027] The third aspect of the present application provides a computer readable storage medium, which stores a program, and the program is executed by a processor to realize the steps in the micro-discharge effect test test action sequence characterization method according to the first aspect of the present application.
[0028] The fourth aspect of the present application provides an electronic device, which comprises a memory, a processor and a program stored in the memory and executable on the processor, and the processor executes the program to realize the steps in the micro-discharge effect test test action sequence characterization method according to the first aspect of the present application.
[0029] The above one or more technical solutions have the following beneficial effects:
[0030] 1. The present application effectively overcomes the problem by using the easy combination of the script language, aiming at the repeated coding and the inevitable high code problem in the prior art.
[0031] 2. The present application creatively solves the problem of fixed encapsulation content, single test action sequence function and low reusability in the prior art by using the random combination of the script language to construct the test action sequence with appropriate granularity.
[0032] 3. The present application adopts independent script language development and dynamic combination of the test action sequence, which does not have the problem of strong coupling in the prior art.
[0033] The advantages of the additional aspects of the present application will be partially given in the following description, partially will become obvious from the following description, or will be understood by the practice of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0034] The drawings constituting a part of the specification of the present application are used to provide further understanding of the present application, the illustrative embodiments of the present application and the description thereof are used to explain the present application, and do not constitute improper limitation on the present application.
[0035] Figure 1 Flow chart of the method of the first embodiment of the present application.
[0036] Figure 2 System structure diagram of the second embodiment of the present application. DETAILED DESCRIPTION
[0037] It should be noted that the following detailed description is merely exemplary and is intended to provide further description of the application. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0038] It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments in accordance with the present application.
[0039] In the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
[0040] Embodiment One
[0041] The embodiment discloses a micro-discharge effect test test action sequence characterization method.
[0042] As shown in Figure 1 A micro-discharge effect test test action sequence characterization method, comprising:
[0043] Selecting a plurality of script units from the test action sequence script unit and adding them to the test action sequence script sequence;
[0044] Determining whether there is a test action sequence required script sequence in the test action sequence script sequence;
[0045] If there is a required script sequence, adding the test action sequence required script sequence in the test action sequence script sequence to the test action sequence mixed script;
[0046] Determining whether there is a test action sequence required script unit in the test action sequence script unit;
[0047] If there is a required script unit, adding the test action sequence required script unit in the test action sequence script unit to the test action sequence mixed script.
[0048] Further, it further comprises:
[0049] The upper interface calls the test action sequence mixed script through the test action sequence script interface.
[0050] The script units in the test action sequence script unit are combined in any order and number and added to the test action sequence script sequence.
[0051] Further, the script sequences in the test action sequence script sequence are added to the test action sequence mixed script in any order and number combination.
[0052] Further, the script units in the test action sequence script unit are added to the test action sequence mixed script in any order and number combination.
[0053] In the embodiment, the test action sequence script sequence can be added to the test action sequence mixed script in any order and number combination, or can be added to the test action sequence mixed script in any order and number combination with the script units in the test action sequence script unit, to constitute the test action sequence mixed script.
[0054] Further, the test action sequence script unit is a collection of multiple script units, and the script unit is the smallest element of the micro-discharge effect test test action sequence script.
[0055] The test action sequence script unit is used to provide material elements for the micro-discharge effect test test action sequence script sequence and the micro-discharge effect test test action sequence mixed script.
[0056] The test action sequence script sequence is used to provide material sequences for the micro-discharge effect test test action sequence mixed script.
[0057] The test action sequence mixed script is used to realize the test action sequence of the micro-discharge effect requirement, and complete the micro-discharge effect test test action sequence characterization.
[0058] Further, the test action sequence script interface is an interface called by the micro-discharge effect test test action sequence script, which is used to be called by the upper program using the method.
[0059] The embodiment discloses a micro-discharge effect test test action sequence characterization method, which innovatively uses a processing strategy script language method, decomposes the micro-discharge effect test test action sequence to a suitable degree through a granulation method, and constructs a more complex and complicated micro-discharge effect test test action sequence by using the easy combination. The script language successfully solves the high code problem caused by repeated coding, and its random combination constructs a micro-discharge effect test test action sequence with a suitable granularity, and creatively solves the difficult reuse problem. Because the script language and the high-level programming language are mutually crossed, the processing strategy script language development is relatively independent, and therefore the problem of strong coupling of the micro-discharge effect test test action sequence is solved.
[0060] Embodiment two
[0061] The embodiment discloses a micro-discharge effect test test action sequence characterization system.
[0062] As shown in Figure 2 A micro-discharge effect test test action sequence characterization system includes:
[0063] A first adding module is configured to select a plurality of script units from the test action sequence script unit and add the script units to the test action sequence script sequence.
[0064] A first judging module is configured to determine whether there is a test action sequence required script sequence in the test action sequence script sequence.
[0065] A second adding module is configured to add the test action sequence required script sequence in the test action sequence script sequence to the test action sequence mixed script if there is a required script sequence.
[0066] A second judging module is configured to determine whether there is a test action sequence required script unit in the test action sequence script unit.
[0067] A third adding module is configured to add the test action sequence required script unit in the test action sequence script unit to the test action sequence mixed script if there is a required script unit.
[0068] Embodiment three
[0069] An object of the present embodiment is to provide a computer-readable storage medium.
[0070] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the micro-discharge effect test test action sequence characterization method according to Embodiment 1 of the present disclosure.
[0071] Embodiment four
[0072] An object of the present embodiment is to provide an electronic device.
[0073] An electronic device includes a memory, a processor, and a program stored in the memory and executable on the processor, and the processor implements the steps in the micro-discharge effect test test action sequence characterization method according to Embodiment 1 of the present disclosure when executing the program.
[0074] The steps and methods involved in the above embodiments two, three, and four correspond to Embodiment 1, and the specific embodiments can be referred to the relevant description part of Embodiment 1. The term “computer-readable storage medium” should be understood to include a single medium or multiple media of one or more instruction sets; it should also be understood to include any medium that can store, encode, or carry instruction sets for execution by a processor and cause the processor to perform any method in the present disclosure.
[0075] Those skilled in the art should understand that the modules or steps of the present application described above can be realized by general computer devices, or alternatively, they can be realized by program codes executable by the computer devices, so that they can be stored in the storage devices and executed by the computer devices, or they can be respectively manufactured into individual integrated circuit modules, or a plurality of modules or steps among them can be manufactured into a single integrated circuit module. The present application is not limited to any specific combination of hardware and software.
[0076] The specific embodiments of the present application described above in conjunction with the accompanying drawings are not intended to limit the protection scope of the present application. Those skilled in the art should understand that various modifications or changes made on the basis of the technical solutions of the present application without creative labor are still within the protection scope of the present application.
Claims
1. A method for characterizing the action sequence of a micro-discharge effect test, characterized in that... The processing strategy script language method comprises the following steps: selecting a plurality of script units from a test action sequence script unit to be added to a test action sequence script sequence in any order and number combination; the test action sequence script unit is a collection of a plurality of script units, and the script unit is the smallest unit of a micro-discharge effect test test action sequence script; judging whether there is a test action sequence required script sequence in the test action sequence script sequence; if there is a required script sequence, adding the test action sequence required script sequence in the test action sequence script sequence to a test action sequence mixed script in any order and number combination; judging whether there is a test action sequence required script unit in the test action sequence script unit; if there is a required script unit, adding the test action sequence required script unit in the test action sequence script unit to the test action sequence mixed script in any order and number combination; the test action sequence script unit is used to provide a material unit for a micro-discharge effect test test action sequence script sequence and a micro-discharge effect test test action sequence mixed script; the test action sequence script sequence is used to provide a material sequence for the micro-discharge effect test test action sequence mixed script; the test action sequence mixed script is used to realize a micro-discharge effect required test test action sequence and complete a micro-discharge effect test test action sequence characterization. The processing strategy script language method is used to decompose the micro-discharge effect test test action sequence to a suitable degree by a granulation method, and to construct a more complex and complicated micro-discharge effect test test action sequence by using the easy combination.
2. The microdischarge effect test test action sequence characterization method of claim 1, wherein, Further comprising: an upper interface calling the test action sequence mixed script through a test action sequence script interface.
3. The microdischarge effect test test action sequence characterization method of claim 2, wherein, The test action sequence script interface is an interface called by a micro-discharge effect test test action sequence script, which is used to be called by an upper program.
4. A system for representing a sequence of actions in a microdischarge effect test, using a method for representing a sequence of actions in a microdischarge effect test according to any one of claims 1 to 3, characterized in that: comprising: a first adding module configured to select a plurality of script units from a test action sequence script unit to be added to a test action sequence script sequence; a first judging module configured to judge whether there is a test action sequence required script sequence in the test action sequence script sequence; a second adding module configured to add the test action sequence required script sequence in the test action sequence script sequence to a test action sequence mixed script if there is a required script sequence; a second judging module configured to judge whether there is a test action sequence required script unit in the test action sequence script unit; a third adding module configured to add the test action sequence required script unit in the test action sequence script unit to the test action sequence mixed script if there is a required script unit.
5. A computer-readable storage medium having stored thereon a program, characterized in that, The program is executed by the processor to realize the steps in the micro-discharge effect test test action sequence characterization method of any one of claims 1-3.
6. An electronic device comprising a memory, a processor, and a program stored in the memory and capable of running on the processor, characterized by The processor executes the program to realize the steps in the micro-discharge effect test test action sequence characterization method of any one of claims 1-3.
Citation Information
Patent Citations
Automatic test method and system
CN112015638A