CN115757132A - Satellite interface testing method and device, electronic equipment and storage medium - Google Patents

Satellite interface testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115757132A
CN115757132A CN202211444015.8A CN202211444015A CN115757132A CN 115757132 A CN115757132 A CN 115757132A CN 202211444015 A CN202211444015 A CN 202211444015A CN 115757132 A CN115757132 A CN 115757132A
Authority
CN
China
Prior art keywords
test
satellite
tested
interface
field
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.)
Pending
Application number
CN202211444015.8A
Other languages
Chinese (zh)
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.)
Beijing MinoSpace Technology Co Ltd
Anhui Minospace Technology Co Ltd
Beijing Guoyu Xingkong Technology Co Ltd
Hainan Minospace Technology Co Ltd
Shaanxi Guoyu Space Technology Co Ltd
Original Assignee
Beijing MinoSpace Technology Co Ltd
Anhui Minospace Technology Co Ltd
Beijing Guoyu Xingkong Technology Co Ltd
Hainan Minospace Technology Co Ltd
Shaanxi Guoyu Space Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing MinoSpace Technology Co Ltd, Anhui Minospace Technology Co Ltd, Beijing Guoyu Xingkong Technology Co Ltd, Hainan Minospace Technology Co Ltd, Shaanxi Guoyu Space Technology Co Ltd filed Critical Beijing MinoSpace Technology Co Ltd
Priority to CN202211444015.8A priority Critical patent/CN115757132A/en
Publication of CN115757132A publication Critical patent/CN115757132A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The application provides a method and a device for testing a satellite interface, electronic equipment and a storage medium, which comprises the following steps: acquiring a satellite interface test instruction, wherein the satellite interface test instruction is used for indicating a target test program, a test equipment interface label corresponding to the target test program and the test quantity; step two: determining a satellite to be tested, controlling a target input port in a group of input ports corresponding to the satellite to be tested to be communicated with a target output port, connecting the target input port with an interface to be tested of the satellite to be tested, connecting the target output port with a test equipment interface corresponding to a test equipment label, and controlling the test equipment to test the interface to be tested of the satellite to be tested according to a target test program to obtain a test result; step three: and determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, ending the test to improve the efficiency of testing the satellites in large batches.

Description

Satellite interface testing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of satellite technologies, and in particular, to a method and an apparatus for testing a satellite interface, an electronic device, and a storage medium.
Background
Before satellite assembly, a satellite single machine performance test is required to verify that the satellite single machine has normal functions. In the prior art, a traditional manual testing method is mainly used, the testing method is long in time, and especially when a large batch of satellites need to be tested, a large amount of time and manpower are consumed, so that a method for testing the large batch of satellites with high testing efficiency is needed.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method and an apparatus for testing a satellite interface, an electronic device, and a storage medium, so as to improve efficiency of a large-scale satellite test.
In a first aspect, the present application provides a method for testing satellite interfaces, where all interfaces of each to-be-tested satellite are connected to a set of input ports of a switch array, and output ports of the switch array are respectively connected to a plurality of test device interfaces of a test device, the method including: the method comprises the following steps: acquiring a satellite interface test instruction, wherein the satellite interface test instruction is used for indicating a target test program, a test equipment interface label corresponding to the target test program and test quantity; step two: determining a satellite to be tested, controlling a target input port in a group of input ports corresponding to the satellite to be tested to be communicated with a target output port, connecting the target input port with an interface to be tested of the satellite to be tested, connecting the target output port with a test equipment interface corresponding to the label of the test equipment, and controlling the test equipment to test the interface to be tested of the satellite to be tested according to a target test program to obtain a test result; step three: and (5) determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, ending the test.
Preferably, the test result at least includes the name of the parameter of the satellite interface and the telemetry data output by each satellite interface, and further includes: storing a test result corresponding to each tested satellite which has finished testing, responding to the simulation instruction, and inputting the telemetering data corresponding to the test result into the simulation model aiming at each test result so as to output the simulation result of the orbit of the tested satellite corresponding to the test result.
Preferably, the method further includes responding to the analysis instruction, acquiring a historical simulation result or a real operation result of the satellite to be tested corresponding to each test result, generating an analysis chart according to the acquired historical simulation result or the real operation result and the test result, and displaying the analysis chart in the data analysis interface, wherein the analysis chart is a static chart or a dynamic chart.
Preferably, before the step of controlling the testing device to test the current satellite to be tested according to the target testing program, the method further includes: and controlling the test equipment to perform connection test on the interfaces to be tested of the satellite to be tested so as to determine whether each interface to be tested is connected, if the interfaces are determined to be disconnected, generating debugging information according to the interfaces determined to be disconnected so as to prompt manual debugging on the disconnected interfaces, and executing the step of controlling the test equipment to test the current satellite to be tested according to the target test program until each interface to be tested is determined to be connected.
Preferably, the satellite interface test instruction includes a first field and a second field, the first field is used for indicating the target test program and the test equipment label corresponding to the target test program, the second field is used for indicating the test quantity, and the satellite interface test instruction further includes: and checking the first field and the second field respectively, and executing the second step if the first field and the second field are checked successfully.
Preferably, the first field is checked by: determining whether the format of the first field is correct, and determining whether the target test program indicated by the first field is matched with the test equipment label indicated by the first field; and if the format of the first field is correct and the target test program indicated by the first field is matched with the test equipment label indicated by the first field, determining that the first field is successfully verified, and otherwise, determining that the first field is unsuccessfully verified.
Preferably, the second field is checked by: determining whether the format of the second field is correct and determining whether the number of tests indicated by the second field is less than a preset number of tests; and if the format of the second field is correct and the test quantity indicated by the second field is less than the preset test quantity, determining that the second field is successfully verified, otherwise, determining that the second field is unsuccessfully verified.
In a second aspect, the present application provides a testing apparatus for satellite interfaces, where all interfaces of each to-be-tested satellite are connected to a set of input ports of a switch array, output ports of the switch array are respectively connected to a plurality of testing device interfaces of a testing device, the apparatus includes:
an obtaining module, configured to perform the first step: acquiring a satellite interface test instruction, wherein the satellite interface test instruction is used for indicating a target test program, a test equipment interface label corresponding to the target test program and the test quantity;
the test module is used for executing the step two: determining a satellite to be tested, controlling a target input port in a group of input ports corresponding to the satellite to be tested to be communicated with a target output port, connecting the target input port with an interface to be tested of the satellite to be tested, connecting the target output port with a test equipment interface corresponding to a test equipment label, and controlling the test equipment to test the interface to be tested of the satellite to be tested according to a target test program to obtain a test result;
a circulation module for executing the third step: and (5) determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, ending the test.
In a third aspect, the present application further provides an electronic device, including: the device comprises a processor, a memory and a bus, wherein the memory stores machine readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine readable instructions are executed by the processor to execute the steps of the satellite interface testing method.
In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method for testing a satellite interface as described above.
According to the satellite interface testing method, the satellite interface testing device, the electronic equipment and the storage medium, all interfaces of each satellite to be tested are connected with one group of input ports of the switch array, the output ports of the switch array are respectively connected with the plurality of testing equipment interfaces of the testing equipment, and through the step I, a satellite interface testing instruction is obtained and used for indicating a target testing program, a testing equipment interface label corresponding to the target testing program and the testing quantity; determining a satellite to be tested, controlling a target input port in a group of input ports corresponding to the satellite to be tested to be communicated with a target output port, connecting the target input port with an interface to be tested of the satellite to be tested, connecting the target output port with a test equipment interface corresponding to the test equipment label, and controlling the test equipment to test the interface to be tested of the satellite to be tested according to a target test program to obtain a test result; and step three, determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, ending the test. The satellite to be tested can be sequentially controlled to be connected with the testing equipment, and therefore the efficiency of automatic testing of satellites in batches is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a method for testing a satellite interface according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating a step of checking a first field according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a step of checking a second field according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a testing apparatus for a satellite interface according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another testing apparatus for a satellite interface according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
First, an application scenario to which the present application is applicable will be described. The method and the device can be applied to automatic testing of satellites in batches. The number of the satellites to be tested is multiple, all interfaces of each satellite to be tested are connected with one group of input ports of the switch array, and the output ports of the switch array are respectively connected with the multiple testing equipment interfaces of the testing equipment. For example, the interfaces A1, B1, C1, D1 of the first satellite to be tested are respectively connected to a first group of input ports A1, B1, C1, D1 of the switch array, the interfaces A2, B2, C2, D2 of the first satellite to be tested are respectively connected to a second group of input ports A2, B2, C2, D2 of the switch array, and the switch array can control the first group of input ports or the second group of input ports to be respectively connected to the output ports X, Y, Z, S. The output ports X, Y, Z and S are respectively connected with corresponding interfaces of the test equipment. The testing equipment is integrated equipment for satellite automatic testing and combines functions of an oscilloscope, a digital multimeter and the like.
A satellite is a natural celestial body that periodically orbits in a closed orbit around a planet, and a satellite is also commonly referred to as a satellite. Satellites are devices built by mankind that launch into space with an airborne vehicle such as a rocket, space shuttle, etc., surrounding the earth or other planets like natural satellites. Before satellite assembly, a satellite single machine performance test is required to verify that the satellite single machine has normal functions. The conventional manual testing method is mainly used, namely, the satellite single-machine interface is tested and detected one by using different devices according to interface definition, so that the labor cost and the time cost are increased when the satellite single-machine interface is tested.
Based on this, the embodiment of the application provides a method and a device for testing a satellite interface, electronic equipment and a storage medium.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for testing a satellite interface according to an embodiment of the present disclosure. As shown in fig. 1, a method for testing a satellite interface provided in an embodiment of the present application includes:
the method comprises the following steps: and acquiring a satellite interface test instruction, wherein the satellite interface test instruction is used for indicating a target test program, a test equipment interface label corresponding to the target test program and the test quantity.
The satellite interface test instruction can be sent by the client to the test server. The test program is a test program pre-compiled by technicians according to interfaces to be tested by the satellite and functions of the interfaces. It will be appreciated that testing of different interfaces may involve testing different interfaces of the device to output corresponding parameters. The number of tests here is the total number of satellites that need to be tested and cannot exceed the number of groups of input ports of the switch array.
Before a satellite interface test instruction is sent out, the interfaces of a plurality of satellites to be tested need to be connected with a group of input ports in a switch array according to a fixed connection sequence. The output ports in the switch array also need to be connected to the test equipment in a fixed order to ensure proper operation of the test.
Step two: determining a satellite to be tested, controlling a target input port in a group of input ports corresponding to the satellite to be tested to be communicated with a target output port, connecting the target input port with an interface to be tested of the satellite to be tested, connecting the target output port with a test equipment interface corresponding to a test equipment label, and controlling the test equipment to test the interface to be tested of the satellite to be tested according to a target test program to obtain a test result.
In the second step, because the number of the satellites to be tested is multiple, one of the satellites is determined, and the input port group and the output port group corresponding to the satellite are controlled to be connected so that the satellite is connected with the test equipment. And then controlling the test equipment to carry out interface test on the satellite according to the target test program so as to obtain a test result fed back by the interface. Next, the next satellite is determined from the satellites that have not been tested, and an interface test is performed.
Step three: and determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, finishing the test.
The satellite interface testing method provided by the embodiment of the application can be used for completing automatic testing of satellites in batches, and the testing efficiency of the satellites in batches is improved.
Specifically, the test result at least includes the name of the satellite interface parameter and the telemetry data output by each satellite interface, and further includes:
storing a test result corresponding to each tested satellite which has finished testing, responding to the simulation instruction, and inputting the telemetering data corresponding to the test result into the simulation model aiming at each test result so as to output the simulation result of the orbit of the tested satellite corresponding to the test result.
Specifically, the method further comprises responding to the analysis instruction, acquiring a historical simulation result or a real operation result of the satellite to be tested corresponding to each test result, generating an analysis chart according to the acquired historical simulation result or the real operation result and the test result, and displaying the analysis chart in the data analysis interface, wherein the analysis chart is a static chart or a dynamic chart.
In one embodiment of the present application, a test result viewing function is provided for the client, and a technician may select a corresponding satellite to view a dynamic image of a satellite operation orbit generated by simulation of a test result of the satellite. And simultaneously comparing and displaying the current satellite running orbit with the historical running orbit or the real running orbit. And furthermore, technicians can be helped to determine the accuracy and stability of the interface function of the satellite more intuitively based on the dynamic image of the satellite operation orbit, and if the satellite operation orbit has deviation, the interface transmission data can be wrong.
Specifically, before the step of controlling the testing device to test the current satellite to be tested according to the target testing program, the method further includes:
and controlling the test equipment to perform connection test on the interfaces to be tested of the satellite to be tested so as to determine whether each interface to be tested is connected, if the interfaces are determined to be disconnected, generating debugging information according to the interfaces determined to be disconnected so as to prompt manual debugging on the disconnected interfaces, and executing the step of controlling the test equipment to test the current satellite to be tested according to the target test program until each interface to be tested is determined to be connected.
In order to ensure the accuracy of the test, it is necessary to ensure that the output port and the input port are connected before each satellite test. Specifically, the test device may send a detection signal to the connected input port through the output port to determine whether a feedback signal of the interface of the satellite is received. If the feedback signal is not received, debugging information can be generated and displayed on the client side, so that technicians can debug the connection of the interface.
Specifically, the satellite interface test instruction includes a first field and a second field, where the first field is used to indicate a target test program and a test device label corresponding to the target test program, and the second field is used to indicate a test quantity, and the method further includes:
and respectively checking the first field and the second field, and executing the second step if the first field and the second field are successfully checked.
Referring to fig. 2, fig. 2 is a flowchart illustrating a step of checking a first field according to an embodiment of the present disclosure. Wherein the first field is verified in the following manner:
s101, determining whether the format of the first field is correct, and determining whether the target test program indicated by the first field is matched with the test equipment label indicated by the first field;
s102, if the format of the first field is correct and the target test program indicated by the first field is matched with the test equipment label indicated by the first field, determining that the first field is successfully verified, and otherwise, determining that the first field is unsuccessfully verified.
Referring to fig. 3, fig. 3 is a flowchart illustrating a step of verifying a second field according to an embodiment of the present disclosure. The second field is checked by:
s201, determining whether the format of the second field is correct and determining whether the test quantity indicated by the second field is less than a preset test quantity;
s202, if the format of the second field is correct and the test quantity indicated by the second field is smaller than the preset test quantity, determining that the second field is verified successfully, otherwise, determining that the second field is verified unsuccessfully.
It can be understood that, before the satellite test, the received satellite interface test instruction needs to be checked to ensure the reasonability of the satellite interface test instruction, so as to prevent the test result from being influenced by the error of the satellite interface test.
In one embodiment of the present application, a test system for an interface of a satellite is also provided. The test system is used for testing the functions of the satellite interface and comprises a test instruction receiving module, a central processing control module, a switch selection control module, an instrument test module, a test data generation module, a wireless transmission module, a test data analysis module and a test result generation module. The central processing control module is used for processing and controlling the requests sent by the modules. The test instruction receiving module is used for receiving, processing and transmitting the input test sequence. And the switch selection control module is used for receiving and processing the received data and then controlling the opening and closing of the corresponding input port and the corresponding output port. The instrument testing module is used for being connected with the satellite interface and carrying out various tests on the satellite interface. The test data generation module is used for storing the received data and generating a relevant report. The test data analysis module is used for analyzing and processing the received data. The test result generation module is used for generating a final test result report for the received data. The wireless transmission module is used for transmitting the received data and transmitting the data to an external receiving end.
Specifically, the test instruction receiving module includes a test sequence receiving and verifying unit and a test sequence port gating unit. The test sequence receiving and checking unit is used for receiving the input test sequence and checking whether the input format is correct. The test sequence port gating unit is used for distinguishing the appointed channel according to the input test sequence and transmitting the appointed channel.
Here, the test sequence receiving and checking unit receives the input test sequence and checks whether the input format is correct, so that the system can avoid the influence of the input wrong test sequence on the subsequent test process and the operation of the whole system.
Specifically, the switch selection control module includes a switch control input port unit and a switch control output port unit. The switch control input port unit is used for controlling the on-off of the input port. The switch control output port unit is used for controlling the opening and closing of the output port, and the switch selection control module controls the opening and closing of the specified input port and the opening and closing of the output port through the central processing control module according to the instruction data sent by the test instruction receiving module.
Specifically, the instrument testing module comprises various detection devices and is connected with the satellite interface, and the switch selection control module controls one detection device to work to test the satellite interface.
Specifically, the test data generating module includes a data receiving and storing unit and a data report generating unit. The data receiving and storing unit is used for storing the received data. The data report generating unit is used for generating a report table for the stored data.
Specifically, the test data analysis module comprises a data modeling simulation analysis unit and a data comparison analysis unit. The data modeling simulation analysis unit is used for carrying out modeling simulation analysis on the received test data. The data comparison and analysis unit is used for performing comparison and analysis on the received test data and the historical data.
Specifically, the test data generation module and the test result generation module are both electrically connected with the wireless transmission module.
The test system provided by the embodiment of the application can control the switch selection control module through the central processing control module according to the instruction data sent by the test instruction receiving module, and the switch control selection module controls the specified input port to be opened and closed and the specified output port to be opened and closed, so that the switch selection control module can control a certain detection device in the instrument test module to work to test the satellite interface, the test system can automatically test the satellite interface according to the input test sequence, the satellite interface can be tested according to different detection devices of the input test sequence, and further the system is convenient to use, and the labor cost and the time cost are reduced. The system can also store the received data and generate a related report through the test data generation module, generate a final test result report for the received data through the test result generation module, and transmit the received data to an external receiving end through the wireless transmission module, so that the system can generate a report for the test data and the analysis data and transmit the report to the external receiving end for checking, and the system has strong overall practicability.
Based on the same inventive concept, a satellite interface testing device corresponding to the satellite interface testing method is also provided in the embodiments of the present application, and as the principle of solving the problem of the device in the embodiments of the present application is similar to the satellite interface testing method in the embodiments of the present application, the implementation of the device may refer to the implementation of the method, and the repeated parts are not described again.
Referring to fig. 4 and 5, fig. 4 is a schematic structural diagram of a testing apparatus for a satellite interface according to an embodiment of the present disclosure, and fig. 5 is a schematic structural diagram of another testing apparatus for a satellite interface according to an embodiment of the present disclosure. As shown in fig. 4, all the interfaces of each satellite to be tested are connected to a set of input ports of a switch array, and output ports of the switch array are respectively connected to a plurality of test equipment interfaces of test equipment, where the test apparatus 400 of the satellite interface includes:
an obtaining module 410, configured to perform the first step: acquiring a satellite interface test instruction, wherein the satellite interface test instruction is used for indicating a target test program, a test equipment interface label corresponding to the target test program and the test quantity;
the testing module 420 is configured to perform the step two: determining a satellite to be tested, controlling a target input port in a group of input ports corresponding to the satellite to be tested to be communicated with a target output port, connecting the target input port with an interface to be tested of the satellite to be tested, connecting the target output port with a test equipment interface corresponding to the label of the test equipment, and controlling the test equipment to test the interface to be tested of the satellite to be tested according to a target test program to obtain a test result;
a loop module 430, configured to perform step three: and (5) determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, ending the test.
In a preferred embodiment, the test result at least includes a satellite interface parameter name and telemetry data output by each satellite interface, and further includes a storage module for storing a test result corresponding to each tested satellite that has completed testing, and the simulation module responds to the simulation instruction, and for each test result, inputs the telemetry data corresponding to the test result into the simulation model to output a simulation result of the orbit of the tested satellite corresponding to the test result.
In a preferred embodiment, the system further includes an analysis module, configured to respond to the analysis instruction, obtain, for each test result, a historical simulation result or a real operation result of the satellite to be tested corresponding to the test result, generate an analysis chart according to the obtained historical simulation result or the real operation result and the test result, and display the analysis chart in the data analysis interface, where the analysis chart is a static chart or a dynamic chart.
In a preferred embodiment, the method further includes a first verification module 440, configured to, before the step of controlling the testing device to test the current satellite to be tested according to the target testing program, further include: and controlling the test equipment to perform connection test on the interfaces to be tested of the satellite to be tested so as to determine whether each interface to be tested is connected, if the interfaces are determined to be disconnected, generating debugging information according to the interfaces determined to be disconnected so as to prompt manual debugging on the disconnected interfaces, and executing the step of controlling the test equipment to test the current satellite to be tested according to the target test program until each interface to be tested is determined to be connected.
In a preferred embodiment, the satellite interface test instruction includes a first field and a second field, the first field is used to indicate the target test program and the test device label corresponding to the target test program, the second field is used to indicate the test quantity, the satellite interface test instruction further includes a second verification module 450, which is used to respectively verify the first field and the second field, and if it is determined that both the first field and the second field are successfully verified, the second step is executed.
In a preferred embodiment, the second checking module 450 is specifically configured to check the first field by: determining whether the format of the first field is correct, and determining whether the target test program indicated by the first field is matched with the test equipment label indicated by the first field; and if the format of the first field is correct and the target test program indicated by the first field is matched with the test equipment label indicated by the first field, determining that the first field is successfully verified, otherwise, determining that the first field is not successfully verified.
In a preferred embodiment, the second checking module 450 is specifically configured to check the second field by: determining whether the format of the second field is correct and determining whether the number of tests indicated by the second field is less than a preset number of tests; and if the format of the second field is correct and the test quantity indicated by the second field is less than the preset test quantity, determining that the second field is successfully verified, otherwise, determining that the second field is unsuccessfully verified.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.
The memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 runs, the processor 610 communicates with the memory 620 through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of the method for testing a satellite interface in the method embodiment shown in fig. 1 may be performed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for testing a satellite interface in the method embodiment shown in fig. 1 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present application and are intended to be covered by the appended claims. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A test method for satellite interfaces is characterized in that all interfaces of each satellite to be tested are connected with a group of input ports of a switch array, output ports of the switch array are respectively connected with a plurality of test equipment interfaces of test equipment, and the method comprises the following steps:
step one Acquiring a satellite interface test instruction, wherein the satellite interface test instruction is used for indicating a target test program, a test equipment interface label corresponding to the target test program and the test quantity;
step two Determining a satellite to be tested, and controlling a target input port and a target output port in a group of input ports corresponding to the satellite to be tested to be communicated, wherein the target input port and an interface to be tested of the satellite to be testedThe target output port is connected with the test equipment interface corresponding to the test equipment label, and the test equipment is controlled to test the interface to be tested of the satellite to be tested according to the target test program to obtain a test result;
step three And determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, finishing the test.
2. The method of claim 1, wherein the test results include at least a satellite interface parameter name and telemetry data output by each satellite interface, further comprising:
storing a test result corresponding to each tested satellite which has completed the test, an
Responding to the simulation instruction, and inputting the telemetering data corresponding to each test result into the simulation model aiming at each test result so as to output the simulation result of the orbit of the satellite to be tested corresponding to the test result.
3. The method of claim 2, further comprising:
responding to the analysis instruction, acquiring a historical simulation result or a real operation result of the satellite to be tested corresponding to each test result, generating an analysis chart according to the acquired historical simulation result or the real operation result and the test result, and displaying the analysis chart in a data analysis interface, wherein the analysis chart is a static chart or a dynamic chart.
4. The method of claim 1, wherein before the step of controlling the testing device to test the current satellite to be tested according to the target testing program, the method further comprises:
and controlling the test equipment to perform connection test on the interfaces to be tested of the satellite to be tested so as to determine whether each interface to be tested is connected, if the interfaces are determined to be disconnected, generating debugging information according to the interfaces determined to be disconnected so as to prompt manual debugging on the disconnected interfaces, and executing the step of controlling the test equipment to test the current satellite to be tested according to the target test program until each interface to be tested is determined to be connected.
5. The method of claim 4, wherein the satellite interface test instruction comprises a first field and a second field, the first field is used for indicating a target test program and a test equipment number corresponding to the target test program, and the second field is used for indicating a test quantity, and further comprising:
and respectively checking the first field and the second field, and executing a second step if the first field and the second field are both checked successfully.
6. The method of claim 5, wherein the first field is verified by:
determining whether the format of the first field is correct, and determining whether the target test program indicated by the first field matches the test equipment label indicated by the first field;
if the format of the first field is correct and the target test program indicated by the first field is matched with the test equipment label indicated by the first field, determining that the first field is successfully verified, otherwise, determining that the first field is not successfully verified.
7. The method of claim 5, wherein the second field is verified by:
determining whether the format of the second field is correct and determining whether the test quantity indicated by the second field is less than a preset test quantity;
if the format of the second field is correct and the test quantity indicated by the second field is smaller than the preset test quantity, determining that the second field is verified successfully, otherwise, determining that the second field is verified unsuccessfully.
8. A testing device for satellite interfaces is characterized in that all interfaces of each satellite to be tested are connected with a group of input ports of a switch array, output ports of the switch array are respectively connected with a plurality of testing equipment interfaces of testing equipment, and the testing device comprises:
an obtaining module, configured to perform the first step: acquiring a satellite interface test instruction, wherein the satellite interface test instruction is used for indicating a target test program, a test equipment interface label corresponding to the target test program and the test quantity;
the test module is used for executing the step two: determining a satellite to be tested, controlling a target input port in a group of input ports corresponding to the satellite to be tested to be communicated with a target output port, connecting the target input port with an interface to be tested of the satellite to be tested, connecting the target output port with a test equipment interface corresponding to the label of the test equipment, and controlling the test equipment to test the interface to be tested of the satellite to be tested according to the target test program to obtain a test result;
a cycle module for executing the third step: and determining whether all the satellites to be tested are tested, if not, returning to execute the step two, and if so, finishing the test.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method for testing a satellite interface according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for testing a satellite interface according to any one of claims 1 to 7.
CN202211444015.8A 2022-11-18 2022-11-18 Satellite interface testing method and device, electronic equipment and storage medium Pending CN115757132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211444015.8A CN115757132A (en) 2022-11-18 2022-11-18 Satellite interface testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211444015.8A CN115757132A (en) 2022-11-18 2022-11-18 Satellite interface testing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115757132A true CN115757132A (en) 2023-03-07

Family

ID=85373069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211444015.8A Pending CN115757132A (en) 2022-11-18 2022-11-18 Satellite interface testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115757132A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234909A (en) * 2023-09-08 2023-12-15 浪潮智慧科技有限公司 Water conservancy application software test system based on computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234909A (en) * 2023-09-08 2023-12-15 浪潮智慧科技有限公司 Water conservancy application software test system based on computer system
CN117234909B (en) * 2023-09-08 2024-06-11 浪潮智慧科技有限公司 Water conservancy application software test system based on computer system

Similar Documents

Publication Publication Date Title
EP0887733B1 (en) Model-based diagnostic system with automated procedures for next test selection
US10389458B2 (en) Method and apparatus for testing RF performance of a satellite wiring harness and signal processing units
US4192451A (en) Digital diagnostic system employing signature analysis
CN107491061A (en) The network automatically test system and its method of a kind of commercial car OBD diagnostic devices
KR101370728B1 (en) Test module with blocks of universal and specific resources
EP0259662B1 (en) Method for generating a candidate list of faulty circuit elements and method for isolating faults in a digital logic circuit using said candidate list.
GB2209225A (en) Circuit board testing
CN107797928B (en) Instrument control system platform logic algorithm block testing device and method
CN108802511B (en) Method and system for testing battery management unit
CN112433944A (en) Service testing method, device, computer equipment and storage medium
CN115757132A (en) Satellite interface testing method and device, electronic equipment and storage medium
CN108959678A (en) Method and apparatus for testing the design of satellite harness and signal processing unit
US4551837A (en) High speed operational recurring signature evaluator for digital equipment tester
US4703482A (en) Universal apparatus for detecting faults in microprocessor systems
CN110879786A (en) Test system of satellite-borne software
KR20060061038A (en) Method and system for verification of control rod control system in nuclear power plant
CN103165405A (en) Mutli-dimensional variable code real-time generation method through general purpose interface bus (GPIB) interface
CN112099453B (en) Function verification system of nuclear power plant safety level instrument control system
CN113986753A (en) Interface test method, device, equipment and storage medium
CN112304653A (en) Universal comprehensive test method and system for satellite test
CN111044826A (en) Detection method and detection system
CN117148018B (en) Function test system and method for power distribution module
RU2817184C1 (en) Method of testing software of embedded control systems
RU2781091C2 (en) Device and method for hybrid scanning of radio-electronic equipment
Carey Introduction to Automated Test Systems—Back to Basics

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