[go: up one dir, main page]

CN113687993A - Onboard equipment power-on and power-off test system - Google Patents

Onboard equipment power-on and power-off test system Download PDF

Info

Publication number
CN113687993A
CN113687993A CN202111037065.XA CN202111037065A CN113687993A CN 113687993 A CN113687993 A CN 113687993A CN 202111037065 A CN202111037065 A CN 202111037065A CN 113687993 A CN113687993 A CN 113687993A
Authority
CN
China
Prior art keywords
test
equipment
module
instruction
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111037065.XA
Other languages
Chinese (zh)
Other versions
CN113687993B (en
Inventor
李谦
袁盾
贾磊
刘康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN202111037065.XA priority Critical patent/CN113687993B/en
Publication of CN113687993A publication Critical patent/CN113687993A/en
Application granted granted Critical
Publication of CN113687993B publication Critical patent/CN113687993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Power Sources (AREA)

Abstract

The invention belongs to the technical field of computers, and particularly relates to an onboard equipment power-on and power-off test system. The system comprises: the system comprises a plurality of airborne devices, a test device and a power supply; the plurality of airborne equipment and the testing equipment are interconnected through the Ethernet, and a power supply is connected to supply power to each airborne equipment and the testing equipment; wherein, all include in each airborne equipment: the system comprises an airborne equipment instruction receiving module, an airborne equipment instruction analyzing module, an airborne equipment instruction executing module and an airborne equipment instruction feedback module; the test equipment comprises: the device comprises a state receiving module, a presetting module, a test equipment instruction receiving module, a test equipment instruction analyzing module, a test equipment instruction executing module, a test equipment instruction sending module, a recording module, a timing module and a test frequency counting module; the system can complete automatic power-on and power-off tests of a plurality of airborne devices at the same time, and improves the test efficiency of the airborne devices.

Description

Onboard equipment power-on and power-off test system
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an onboard equipment power-on and power-off test system.
Background
During the test process of the airborne equipment, the stability of the airborne equipment needs to be focused, and repeated power-on and power-off is an important component of the test work of the airborne equipment. The on-off test method is limited by manpower and material resource limitation, a tester is required to repeatedly turn on and off the airborne equipment in the process of the power-on and power-off test, when products are delivered in a large batch, a plurality of pieces of equipment cannot be tested simultaneously, certain power-on time is required for the equipment, and time and manpower are extremely consumed in the test process.
Therefore, how to improve the power-on and power-off test efficiency of the airborne equipment is an urgent problem to be solved.
Disclosure of Invention
Technical problem to be solved
The technical problem to be solved by the invention is as follows: in order to overcome the problems, how to provide an onboard equipment power-on and power-off test system is provided.
(II) technical scheme
In order to solve the technical problem, the invention provides an onboard equipment power-on and power-off test system, which comprises: the system comprises a plurality of airborne devices, a test device and a power supply; the plurality of airborne devices and the testing device are interconnected through the Ethernet, and a power supply is connected to supply power to each airborne device and the testing device;
wherein, all include in each airborne equipment: the system comprises an airborne equipment instruction receiving module, an airborne equipment instruction analyzing module, an airborne equipment instruction executing module and an airborne equipment instruction feedback module;
the test equipment comprises: the device comprises a state receiving module, a presetting module, a test equipment instruction receiving module, a test equipment instruction analyzing module, a test equipment instruction executing module, a test equipment instruction sending module, a recording module, a timing module and a test frequency counting module;
because the test equipment and the airborne equipment need to communicate, an application communication protocol is formulated, the two communication parties complete corresponding operations by analyzing test instructions, and the format of the test instructions is as follows: the method comprises the following steps of (1) packet header, sender network information, receiver network information, test type, test script content, check value and packet tail; when the test instruction is received by the test equipment and the airborne equipment, the test instruction needs to be analyzed, if one of the analyzed sender network information and the receiver network information is incorrect, the test instruction is discarded, otherwise, other contents of the test instruction are analyzed;
the working process of the power-on and power-off test system of the airborne equipment comprises the following steps:
step 1: accessing airborne equipment and test equipment to be tested to an Ethernet and a power supply, turning on the power supply and powering on the airborne equipment and the test equipment;
step 2: the state receiving module of the testing equipment is used for acquiring network information including network names and network addresses of the plurality of airborne equipment through the Ethernet, judging which airborne equipment is in a state to be tested at the moment, and defining the airborne equipment in the state to be tested as the airborne equipment to be tested; the method comprises the following steps that a preset module of testing equipment sets the testing times of airborne equipment to be tested to be M;
the network information is used when sending various test instructions in a subsequent test flow;
and step 3: the test equipment instruction sending module is used for sending a test instruction for a power-on test to the airborne equipment to be tested and controlling the airborne equipment to execute a power-on test script; the test type in the test instruction for performing the power-on test is a power-on test, and the test script content is a power-on test script;
meanwhile, a timing module of the test equipment starts timing;
and 4, step 4: the airborne equipment instruction receiving module is used for receiving the test instruction through the Ethernet and analyzing the test instruction by the airborne equipment instruction analyzing module according to the communication protocol;
if the test type is a power-on test, the onboard equipment instruction execution module tests according to the power-on test script content, and after the test is finished, the onboard equipment instruction feedback module returns a test instruction containing a test result to the test equipment;
the test type is successful in the power-on test result in the test instruction returned to the test equipment by the airborne equipment under the condition that the power-on test is successful; under the condition that the power-on test fails, the airborne equipment returns a test instruction to the test equipment, wherein the test type is that the power-on test result fails;
and 5: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the onboard equipment by the test equipment instruction analysis module, if the test type is successful, the recording module records that the power-on test process of certain test equipment is successful, and then the test equipment instruction sending module sends a shutdown instruction to the onboard equipment to perform shutdown test, and step 6 is executed;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is that the power-on test result fails, the recording module records that the power-on test process of certain test equipment fails, a retest mechanism is started, and the step 3 is executed again; if a certain airborne equipment fails to continuously power up for three times, judging that the airborne equipment fails;
if the timing module counts time and exceeds the specified time, the test device instruction receiving module still does not receive the test instruction returned by the airborne device, the recording module records a certain power-on test process of certain test device as the power-on test result is overtime, a retest mechanism is started, and the step 3 is returned to be executed again; if the power-on retest result of a certain airborne equipment is overtime continuously for three times, the fault of the airborne equipment is judged;
step 6: the test equipment instruction sending module sends a test instruction for shutdown test to the airborne equipment to be tested, and controls the airborne equipment to execute a shutdown test script; the test type in the test instruction for performing the shutdown test is the shutdown test, and the test script content is the shutdown test script;
meanwhile, a timing module of the test equipment starts timing;
and 7: the airborne equipment instruction receiving module receives the test instruction through the Ethernet, and the airborne equipment instruction analyzing module analyzes the test instruction according to the communication protocol;
if the test type is a shutdown test, the onboard equipment instruction execution module executes a shutdown program, and the onboard equipment instruction feedback module sends a test instruction containing a shutdown result to the test equipment;
under the condition that the shutdown of the airborne equipment is successful, in a test instruction returned to the test equipment, the test type is that the shutdown test result is successful; under the condition that the shutdown of the airborne equipment fails, in a test instruction returned to the test equipment, the test type is the shutdown test result failure;
and 8: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is the success of the shutdown test result, the recording module records the next electrical test process of certain test equipment as the success of the shutdown test, and at the moment, the cumulative count of the test time counting module is increased by one; if the test times accumulated by the test time counting module do not exceed the set M times, performing the next round of test, recording the test times, adding one to the test times when the power-on and power-off test is judged to be successful, and executing the step 3; if the test times accumulated by the test time counting module reach the set M times, the test of the airborne equipment is judged to be finished;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is shutdown test result failure, recording a certain time electrical test process of certain test equipment as shutdown test failure, starting a retest mechanism, and executing the step 6; if a certain airborne equipment fails to be tested again after being shut down for three times continuously, the network or the airborne equipment is judged to be in fault;
if the timing module counts time and exceeds the specified time, the test equipment instruction receiving module still does not receive the test instruction returned by the airborne equipment, the recording module records that the next electrical test process of certain test equipment is shutdown test overtime, a retest mechanism is started, and step 6 is executed; if a certain airborne equipment is continuously shut down for three times and retest is overtime, judging that the network or the airborne equipment has faults;
and step 9: and repeatedly executing the steps 3 to 8 until the test times reach the set test times M.
Wherein, still include in the test equipment: a shutdown time threshold judgment module;
the working process of the onboard equipment power-on and power-off test system further comprises the following steps of 10:
and if the shutdown time threshold judgment module judges that the shutdown time of certain airborne equipment reaches the set shutdown time threshold, awakening the tested airborne equipment through the network, informing the tested airborne equipment of starting up, and executing the step 3.
In step 2, different onboard devices set different test times M, and after a normal start-up and shut-down test is completed, the test time counting module will accumulate the test times and add them up.
In step 10, the shutdown time threshold is flexibly set according to different characteristics of the airborne device.
In the step 10, in the network wake-up process, the IP address and the MAC address need to be bound, and port mapping needs to be performed at the same time, so that the network information obtained in the step 2 needs to be utilized.
In step 2, the testing device and the plurality of airborne devices are all set to be in the same network segment.
Wherein the test apparatus further comprises: a notification module;
in the step 5, under the condition that the onboard equipment is judged to be in fault, the power-on test of the onboard equipment is stopped, and the notification module notifies a tester to check the fault of the onboard equipment.
Wherein, still include in the test equipment: a report log generation module;
in the step 8, when it is determined that the test of the certain onboard device is completed, the notification module notifies the tester that the test of the onboard device is completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
In step 8, when the network or the onboard equipment is judged to be faulty, the test of the onboard equipment is stopped, and the notification module notifies a tester to troubleshoot the fault of the network or the onboard equipment.
In step 9, after the number of tests reaches the set number of tests M, the notification module notifies the tester that the test of the onboard device is completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
(III) advantageous effects
Compared with the prior art, the onboard equipment power-on and power-off test system can finish automatic power-on and power-off test of a plurality of onboard equipment simultaneously, and improves the test efficiency of the onboard equipment. The onboard equipment in the system returns a test result to the test equipment, and when different types of errors occur in the test process, testers can be reminded in time, so that the testers can conveniently troubleshoot the faults of the onboard equipment; when the test fails or overtime condition occurs in the test process, a retest mechanism is started to ensure the reliability of the test result. Meanwhile, after the test is finished, a test report and a test log can be generated and used as a basis for analyzing test data.
Drawings
FIG. 1 is a diagram of an onboard power-on and power-off test system architecture.
Fig. 2 is a flowchart of an onboard device power-on and power-off test method.
Detailed Description
In order to make the objects, contents, and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
In order to solve the above technical problem, the present invention provides an onboard equipment power on/off test system, as shown in fig. 1, the onboard equipment power on/off test system includes: the system comprises a plurality of airborne devices, a test device and a power supply; the plurality of airborne devices and the testing device are interconnected through the Ethernet, and a power supply is connected to supply power to each airborne device and the testing device;
wherein, all include in each airborne equipment: the system comprises an airborne equipment instruction receiving module, an airborne equipment instruction analyzing module, an airborne equipment instruction executing module and an airborne equipment instruction feedback module;
the test equipment comprises: the device comprises a state receiving module, a presetting module, a test equipment instruction receiving module, a test equipment instruction analyzing module, a test equipment instruction executing module, a test equipment instruction sending module, a recording module, a timing module and a test frequency counting module;
because the test equipment and the airborne equipment need to communicate, an application communication protocol is formulated, the two communication parties complete corresponding operations by analyzing test instructions, and the format of the test instructions is as follows: the method comprises the following steps of (1) packet header, sender network information, receiver network information, test type, test script content, check value and packet tail; when the test instruction is received by the test equipment and the airborne equipment, the test instruction needs to be analyzed, if one of the analyzed sender network information and the receiver network information is incorrect, the test instruction is discarded, otherwise, other contents of the test instruction are analyzed;
the working process of the power-on and power-off test system of the airborne equipment comprises the following steps:
step 1: accessing airborne equipment and test equipment to be tested to an Ethernet and a power supply, turning on the power supply and powering on the airborne equipment and the test equipment;
step 2: the state receiving module of the testing equipment is used for acquiring network information including network names and network addresses of the plurality of airborne equipment through the Ethernet, judging which airborne equipment is in a state to be tested at the moment, and defining the airborne equipment in the state to be tested as the airborne equipment to be tested; the method comprises the following steps that a preset module of testing equipment sets the testing times of airborne equipment to be tested to be M;
the network information is used when sending various test instructions in a subsequent test flow;
and step 3: the test equipment instruction sending module is used for sending a test instruction for a power-on test to the airborne equipment to be tested and controlling the airborne equipment to execute a power-on test script; the test type in the test instruction for performing the power-on test is a power-on test, and the test script content is a power-on test script;
meanwhile, a timing module of the test equipment starts timing;
and 4, step 4: the airborne equipment instruction receiving module is used for receiving the test instruction through the Ethernet and analyzing the test instruction by the airborne equipment instruction analyzing module according to the communication protocol;
if the test type is a power-on test, the onboard equipment instruction execution module tests according to the power-on test script content, and after the test is finished, the onboard equipment instruction feedback module returns a test instruction containing a test result to the test equipment;
the test type is successful in the power-on test result in the test instruction returned to the test equipment by the airborne equipment under the condition that the power-on test is successful; under the condition that the power-on test fails, the airborne equipment returns a test instruction to the test equipment, wherein the test type is that the power-on test result fails;
and 5: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the onboard equipment by the test equipment instruction analysis module, if the test type is successful, the recording module records that the power-on test process of certain test equipment is successful, and then the test equipment instruction sending module sends a shutdown instruction to the onboard equipment to perform shutdown test, and step 6 is executed;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is that the power-on test result fails, the recording module records that the power-on test process of certain test equipment fails, a retest mechanism is started, and the step 3 is executed again; if a certain airborne equipment fails to continuously power up for three times, judging that the airborne equipment fails;
if the timing module counts time and exceeds the specified time, the test device instruction receiving module still does not receive the test instruction returned by the airborne device, the recording module records a certain power-on test process of certain test device as the power-on test result is overtime, a retest mechanism is started, and the step 3 is returned to be executed again; if the power-on retest result of a certain airborne equipment is overtime continuously for three times, the fault of the airborne equipment is judged;
step 6: the test equipment instruction sending module sends a test instruction for shutdown test to the airborne equipment to be tested, and controls the airborne equipment to execute a shutdown test script; the test type in the test instruction for performing the shutdown test is the shutdown test, and the test script content is the shutdown test script;
meanwhile, a timing module of the test equipment starts timing;
and 7: the airborne equipment instruction receiving module receives the test instruction through the Ethernet, and the airborne equipment instruction analyzing module analyzes the test instruction according to the communication protocol;
if the test type is a shutdown test, the onboard equipment instruction execution module executes a shutdown program, and the onboard equipment instruction feedback module sends a test instruction containing a shutdown result to the test equipment;
under the condition that the shutdown of the airborne equipment is successful, in a test instruction returned to the test equipment, the test type is that the shutdown test result is successful; under the condition that the shutdown of the airborne equipment fails, in a test instruction returned to the test equipment, the test type is the shutdown test result failure;
and 8: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is the success of the shutdown test result, the recording module records the next electrical test process of certain test equipment as the success of the shutdown test, and at the moment, the cumulative count of the test time counting module is increased by one; if the test times accumulated by the test time counting module do not exceed the set M times, performing the next round of test, recording the test times, adding one to the test times when the power-on and power-off test is judged to be successful, and executing the step 3; if the test times accumulated by the test time counting module reach the set M times, the test of the airborne equipment is judged to be finished;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is shutdown test result failure, recording a certain time electrical test process of certain test equipment as shutdown test failure, starting a retest mechanism, and executing the step 6; if a certain airborne equipment fails to be tested again after being shut down for three times continuously, the network or the airborne equipment is judged to be in fault;
if the timing module counts time and exceeds the specified time, the test equipment instruction receiving module still does not receive the test instruction returned by the airborne equipment, the recording module records that the next electrical test process of certain test equipment is shutdown test overtime, a retest mechanism is started, and step 6 is executed; if a certain airborne equipment is continuously shut down for three times and retest is overtime, judging that the network or the airborne equipment has faults;
and step 9: and repeatedly executing the steps 3 to 8 until the test times reach the set test times M.
Wherein, still include in the test equipment: a shutdown time threshold judgment module;
the working process of the onboard equipment power-on and power-off test system further comprises the following steps of 10:
and if the shutdown time threshold judgment module judges that the shutdown time of certain airborne equipment reaches the set shutdown time threshold, awakening the tested airborne equipment through the network, informing the tested airborne equipment of starting up, and executing the step 3.
In step 2, different onboard devices set different test times M, and after a normal start-up and shut-down test is completed, the test time counting module will accumulate the test times and add them up.
In step 10, the shutdown time threshold is flexibly set according to different characteristics of the airborne device.
In the step 10, in the network wake-up process, the IP address and the MAC address need to be bound, and port mapping needs to be performed at the same time, so that the network information obtained in the step 2 needs to be utilized.
In step 2, the testing device and the plurality of airborne devices are all set to be in the same network segment.
Wherein the test apparatus further comprises: a notification module;
in the step 5, under the condition that the onboard equipment is judged to be in fault, the power-on test of the onboard equipment is stopped, and the notification module notifies a tester to check the fault of the onboard equipment.
Wherein, still include in the test equipment: a report log generation module;
in the step 8, when it is determined that the test of the certain onboard device is completed, the notification module notifies the tester that the test of the onboard device is completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
In step 8, when the network or the onboard equipment is judged to be faulty, the test of the onboard equipment is stopped, and the notification module notifies a tester to troubleshoot the fault of the network or the onboard equipment.
In step 9, after the number of tests reaches the set number of tests M, the notification module notifies the tester that the test of the onboard device is completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
In addition, the present invention also provides an onboard equipment power on/off test method, which is implemented based on an onboard equipment power on/off test system, as shown in fig. 1 and 2, the onboard equipment power on/off test system includes: the system comprises a plurality of airborne devices, a test device and a power supply; the plurality of airborne devices and the testing device are interconnected through the Ethernet, and a power supply is connected to supply power to each airborne device and the testing device;
wherein, all include in each airborne equipment: the system comprises an airborne equipment instruction receiving module, an airborne equipment instruction analyzing module, an airborne equipment instruction executing module and an airborne equipment instruction feedback module;
the test equipment comprises: the device comprises a state receiving module, a presetting module, a test equipment instruction receiving module, a test equipment instruction analyzing module, a test equipment instruction executing module, a test equipment instruction sending module, a recording module, a timing module and a test frequency counting module;
because the test equipment and the airborne equipment need to communicate, an application communication protocol is formulated, the two communication parties complete corresponding operations by analyzing test instructions, and the format of the test instructions is as follows: the method comprises the following steps of (1) packet header, sender network information, receiver network information, test type, test script content, check value and packet tail; when the test instruction is received by the test equipment and the airborne equipment, the test instruction needs to be analyzed, if one of the analyzed sender network information and the receiver network information is incorrect, the test instruction is discarded, otherwise, other contents of the test instruction are analyzed;
the test method comprises the following steps:
step 1: accessing airborne equipment and test equipment to be tested to an Ethernet and a power supply, turning on the power supply and powering on the airborne equipment and the test equipment;
step 2: the state receiving module of the testing equipment acquires network information including network names and network addresses of a plurality of airborne equipment through Ethernet, judges which airborne equipment is in a state to be tested at the moment, and defines the airborne equipment in the state to be tested as the airborne equipment to be tested; the method comprises the following steps that a preset module of testing equipment sets the testing times of airborne equipment to be tested to be M;
the network information is used when sending various test instructions in a subsequent test flow;
and step 3: the test equipment instruction sending module sends a test instruction for a power-on test to the airborne equipment to be tested, and controls the airborne equipment to execute a power-on test script; the test type in the test instruction for performing the power-on test is a power-on test, and the test script content is a power-on test script;
meanwhile, a timing module of the test equipment starts timing;
and 4, step 4: the airborne equipment instruction receiving module receives the test instruction through the Ethernet, and the airborne equipment instruction analyzing module analyzes the test instruction according to the communication protocol;
if the test type is a power-on test, the onboard equipment instruction execution module tests according to the power-on test script content, and after the test is finished, the onboard equipment instruction feedback module returns a test instruction containing a test result to the test equipment;
the test type is successful in the power-on test result in the test instruction returned to the test equipment by the airborne equipment under the condition that the power-on test is successful; under the condition that the power-on test fails, the airborne equipment returns a test instruction to the test equipment, wherein the test type is that the power-on test result fails;
and 5: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the onboard equipment by the test equipment instruction analysis module, if the test type is successful, the recording module records that the power-on test process of certain test equipment is successful, and then the test equipment instruction sending module sends a shutdown instruction to the onboard equipment to perform shutdown test, and step 6 is executed;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is that the power-on test result fails, the recording module records that the power-on test process of certain test equipment fails, a retest mechanism is started, and the step 3 is executed again; if a certain airborne equipment fails to continuously power up for three times, judging that the airborne equipment fails;
if the timing module counts time and exceeds the specified time, the test device instruction receiving module still does not receive the test instruction returned by the airborne device, the recording module records a certain power-on test process of certain test device as the power-on test result is overtime, a retest mechanism is started, and the step 3 is returned to be executed again; if the power-on retest result of a certain airborne equipment is overtime continuously for three times, the fault of the airborne equipment is judged;
step 6: the test equipment instruction sending module sends a test instruction for shutdown test to the airborne equipment to be tested, and controls the airborne equipment to execute a shutdown test script; the test type in the test instruction for performing the shutdown test is the shutdown test, and the test script content is the shutdown test script;
meanwhile, a timing module of the test equipment starts timing;
and 7: the airborne equipment instruction receiving module receives the test instruction through the Ethernet, and the airborne equipment instruction analyzing module analyzes the test instruction according to the communication protocol;
if the test type is a shutdown test, the onboard equipment instruction execution module executes a shutdown program, and the onboard equipment instruction feedback module sends a test instruction containing a shutdown result to the test equipment;
under the condition that the shutdown of the airborne equipment is successful, in a test instruction returned to the test equipment, the test type is that the shutdown test result is successful; under the condition that the shutdown of the airborne equipment fails, in a test instruction returned to the test equipment, the test type is the shutdown test result failure;
and 8: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is the success of the shutdown test result, the recording module records the next electrical test process of certain test equipment as the success of the shutdown test, and at the moment, the cumulative count of the test time counting module is increased by one; if the test times accumulated by the test time counting module do not exceed the set M times, performing the next round of test, recording the test times, adding one to the test times when the power-on and power-off test is judged to be successful, and executing the step 3; if the test times accumulated by the test time counting module reach the set M times, the test of the airborne equipment is judged to be finished;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is shutdown test result failure, recording a certain time electrical test process of certain test equipment as shutdown test failure, starting a retest mechanism, and executing the step 6; if a certain airborne equipment fails to be tested again after being shut down for three times continuously, the network or the airborne equipment is judged to be in fault;
if the timing module counts time and exceeds the specified time, the test equipment instruction receiving module still does not receive the test instruction returned by the airborne equipment, the recording module records that the next electrical test process of certain test equipment is shutdown test overtime, a retest mechanism is started, and step 6 is executed; if a certain airborne equipment is continuously shut down for three times and retest is overtime, judging that the network or the airborne equipment has faults;
and step 9: and repeatedly executing the steps 3 to 8 until the test times reach the set test times M.
Wherein, still include in the test equipment: a shutdown time threshold judgment module;
the method further comprises the step 10 of:
and if the shutdown time threshold judgment module judges that the shutdown time of certain airborne equipment reaches the set shutdown time threshold, awakening the tested airborne equipment through the network, informing the tested airborne equipment of starting up, and executing the step 3.
In step 2, different onboard devices set different test times M, and after a normal start-up and shut-down test is completed, the test time counting module will accumulate the test times and add them up.
In step 10, the shutdown time threshold is flexibly set according to different characteristics of the airborne device.
In the step 10, in the network wake-up process, the IP address and the MAC address need to be bound, and port mapping needs to be performed at the same time, so that the network information obtained in the step 2 needs to be utilized.
In step 2, the testing device and the plurality of airborne devices are all set to be in the same network segment.
Wherein the test apparatus further comprises: a notification module;
in the step 5, under the condition that the onboard equipment is judged to be in fault, the power-on test of the onboard equipment is stopped, and the notification module notifies a tester to check the fault of the onboard equipment.
Wherein, still include in the test equipment: a report log generation module;
in the step 8, when it is determined that the test of the certain onboard device is completed, the notification module notifies the tester that the test of the onboard device is completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
In step 8, when the network or the onboard equipment is judged to be faulty, the test of the onboard equipment is stopped, and the notification module notifies a tester to troubleshoot the fault of the network or the onboard equipment.
In step 9, after the number of tests reaches the set number of tests M, the notification module notifies the tester that the test of the onboard device is completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
Example 1
In the power-on and power-off test method for airborne equipment provided by the embodiment, the system architecture comprises test equipment and the airborne equipment, and the equipment is interconnected through the ethernet.
The process of the onboard equipment power-on and power-off test method is as follows: the test equipment sends a test instruction to the airborne equipment through the Ethernet to control the airborne equipment to execute the test script, controls the airborne equipment to start up by utilizing the network awakening function, and completes the startup and shutdown test of the plurality of airborne equipment according to the set test times.
According to the onboard equipment power-on and power-off testing method, when different types of errors occur in the testing process, testers can be reminded in time, and the testers can conveniently troubleshoot the faults of the onboard equipment.
According to the onboard equipment power-on and power-off test method, after the test is completed, a test report and a test log can be generated and used as a basis for analyzing test data.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. The utility model provides an airborne equipment power-on and power-off test system which characterized in that airborne equipment power-on and power-off test system includes: the system comprises a plurality of airborne devices, a test device and a power supply; the plurality of airborne devices and the testing device are interconnected through the Ethernet, and a power supply is connected to supply power to each airborne device and the testing device;
wherein, all include in each airborne equipment: the system comprises an airborne equipment instruction receiving module, an airborne equipment instruction analyzing module, an airborne equipment instruction executing module and an airborne equipment instruction feedback module;
the test equipment comprises: the device comprises a state receiving module, a presetting module, a test equipment instruction receiving module, a test equipment instruction analyzing module, a test equipment instruction executing module, a test equipment instruction sending module, a recording module, a timing module and a test frequency counting module;
because the test equipment and the airborne equipment need to communicate, an application communication protocol is formulated, the two communication parties complete corresponding operations by analyzing test instructions, and the format of the test instructions is as follows: the method comprises the following steps of (1) packet header, sender network information, receiver network information, test type, test script content, check value and packet tail; when the test instruction is received by the test equipment and the airborne equipment, the test instruction needs to be analyzed, if one of the analyzed sender network information and the receiver network information is incorrect, the test instruction is discarded, otherwise, other contents of the test instruction are analyzed;
the test system comprises the following steps in the working process:
step 1: accessing airborne equipment and test equipment to be tested to an Ethernet and a power supply, turning on the power supply and powering on the airborne equipment and the test equipment;
step 2: the state receiving module of the testing equipment is used for acquiring network information including network names and network addresses of the plurality of airborne equipment through the Ethernet, judging which airborne equipment is in a state to be tested at the moment, and defining the airborne equipment in the state to be tested as the airborne equipment to be tested; the test equipment comprises a preset module, a test module and a test module, wherein the preset module of the test equipment is used for setting the test frequency of airborne equipment to be tested to be M;
the network information is used when sending various test instructions in a subsequent test flow;
and step 3: the test equipment instruction sending module is used for sending a test instruction for a power-on test to the airborne equipment to be tested and controlling the airborne equipment to execute a power-on test script; the test type in the test instruction for performing the power-on test is a power-on test, and the test script content is a power-on test script;
meanwhile, a timing module of the test equipment starts timing;
and 4, step 4: the airborne equipment instruction receiving module is used for receiving the test instruction through the Ethernet and analyzing the test instruction by the airborne equipment instruction analyzing module according to the communication protocol;
if the test type is a power-on test, the airborne equipment instruction execution module is used for testing according to the content of the power-on test script, and after the test is finished, the airborne equipment instruction feedback module returns a test instruction containing a test result to the test equipment;
the test type is successful in the power-on test result in the test instruction returned to the test equipment by the airborne equipment under the condition that the power-on test is successful; under the condition that the power-on test fails, the airborne equipment returns a test instruction to the test equipment, wherein the test type is that the power-on test result fails;
and 5: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the onboard equipment by the test equipment instruction analysis module, if the test type is successful, the recording module records that the power-on test process of certain test equipment is successful, and then the test equipment instruction sending module sends a shutdown instruction to the onboard equipment to perform shutdown test, and step 6 is executed;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is that the power-on test result fails, the recording module records that the power-on test process of certain test equipment fails, a retest mechanism is started, and the step 3 is executed again; if a certain airborne equipment fails to continuously power up for three times, judging that the airborne equipment fails;
if the timing module counts time and exceeds the specified time, the test device instruction receiving module still does not receive the test instruction returned by the airborne device, the recording module records a certain power-on test process of certain test device as the power-on test result is overtime, a retest mechanism is started, and the step 3 is returned to be executed again; if the power-on retest result of a certain airborne equipment is overtime continuously for three times, the fault of the airborne equipment is judged;
step 6: the test equipment instruction sending module sends a test instruction for shutdown test to the airborne equipment to be tested, and controls the airborne equipment to execute a shutdown test script; the test type in the test instruction for performing the shutdown test is the shutdown test, and the test script content is the shutdown test script;
meanwhile, a timing module of the test equipment starts timing;
and 7: the airborne equipment instruction receiving module receives the test instruction through the Ethernet, and the airborne equipment instruction analyzing module analyzes the test instruction according to the communication protocol;
if the test type is a shutdown test, the onboard equipment instruction execution module executes a shutdown program, and the onboard equipment instruction feedback module sends a test instruction containing a shutdown result to the test equipment;
under the condition that the shutdown of the airborne equipment is successful, in a test instruction returned to the test equipment, the test type is that the shutdown test result is successful; under the condition that the shutdown of the airborne equipment fails, in a test instruction returned to the test equipment, the test type is the shutdown test result failure;
and 8: within the timing set time of the timing module, the test equipment instruction receiving module receives a test instruction of the airborne equipment, and the test equipment instruction analyzing module analyzes the test instruction;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is the success of the shutdown test result, the recording module records the next electrical test process of certain test equipment as the success of the shutdown test, and at the moment, the cumulative count of the test time counting module is increased by one; if the test times accumulated by the test time counting module do not exceed the set M times, performing the next round of test, recording the test times, adding one to the test times when the power-on and power-off test is judged to be successful, and executing the step 3; if the test times accumulated by the test time counting module reach the set M times, the test of the airborne equipment is judged to be finished;
in the analysis result of the test instruction of the airborne equipment by the test equipment instruction analysis module, if the test type is shutdown test result failure, recording a certain time electrical test process of certain test equipment as shutdown test failure, starting a retest mechanism, and executing the step 6; if a certain airborne equipment fails to be tested again after being shut down for three times continuously, the network or the airborne equipment is judged to be in fault;
if the timing module counts time and exceeds the specified time, the test equipment instruction receiving module still does not receive the test instruction returned by the airborne equipment, the recording module records that the next electrical test process of certain test equipment is shutdown test overtime, a retest mechanism is started, and step 6 is executed; if a certain airborne equipment is continuously shut down for three times and retest is overtime, judging that the network or the airborne equipment has faults;
and step 9: and repeatedly executing the steps 3 to 8 until the test times reach the set test times M.
2. The onboard device power-on-ground test system of claim 1, further comprising in the test device: a shutdown time threshold judgment module;
the working process of the onboard equipment power-on and power-off test system further comprises the following steps of 10:
and if the shutdown time threshold judgment module judges that the shutdown time of certain airborne equipment reaches the set shutdown time threshold, awakening the tested airborne equipment through the network, informing the tested airborne equipment of starting up, and executing the step 3.
3. The system for testing power on and off of airborne equipment according to claim 1, wherein in step 2, different airborne equipment sets different test times M, and the test time counting module accumulates and increases the test times only after a normal power-on and power-off test is completed.
4. The system for power-on and power-off test of onboard equipment according to claim 2, wherein in step 10, the power-off time threshold is flexibly set according to different characteristics of onboard equipment.
5. The system for on-board device power-on and power-off test according to claim 2, wherein in the step 10, in the network wake-up process, the IP address and the MAC address need to be bound, and port mapping needs to be performed, so that the network information obtained in the step 2 needs to be utilized.
6. The onboard device power-on and power-off test system as claimed in claim 1, wherein in step 2, the test device and the plurality of onboard devices are all arranged in the same network segment.
7. The onboard device power-on-ground test system of claim 1, wherein the test device further comprises: a notification module;
in the step 5, under the condition that the onboard equipment is judged to be in fault, the power-on test of the onboard equipment is stopped, and the notification module notifies a tester to check the fault of the onboard equipment.
8. The onboard device power-on-ground test system of claim 7, further comprising in the test device: a report log generation module;
in the step 8, when it is determined that the test of the certain onboard device is completed, the notification module notifies the tester that the test of the onboard device is completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
9. The system for testing on-board equipment and off-board equipment according to claim 7, wherein in step 8, in case of judging the network or on-board equipment to be in fault, the testing of the on-board equipment is stopped, and a notification module notifies a tester to troubleshoot the network or on-board equipment to be in fault.
10. The onboard equipment power-on and power-off test system as claimed in claim 8, wherein in step 9, after the number of tests reaches the set number M of tests, the notification module notifies the tester that the onboard equipment tests are completed, and the report log generation module generates a test report and a test log according to the test history recorded by the recording module.
CN202111037065.XA 2021-09-06 2021-09-06 Up-down electric test system of airborne equipment Active CN113687993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111037065.XA CN113687993B (en) 2021-09-06 2021-09-06 Up-down electric test system of airborne equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111037065.XA CN113687993B (en) 2021-09-06 2021-09-06 Up-down electric test system of airborne equipment

Publications (2)

Publication Number Publication Date
CN113687993A true CN113687993A (en) 2021-11-23
CN113687993B CN113687993B (en) 2024-04-19

Family

ID=78585511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111037065.XA Active CN113687993B (en) 2021-09-06 2021-09-06 Up-down electric test system of airborne equipment

Country Status (1)

Country Link
CN (1) CN113687993B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687992A (en) * 2021-09-06 2021-11-23 天津津航计算技术研究所 Onboard equipment power-on and power-off test method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255774A (en) * 2011-06-28 2011-11-23 迈普通信技术股份有限公司 Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN104268041A (en) * 2014-09-22 2015-01-07 南车株洲电力机车研究所有限公司 Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN105116877A (en) * 2015-08-11 2015-12-02 中国航空工业集团公司西安飞机设计研究所 Testing system of power supply control management processor and method
CN109117330A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of test method, test macro and the relevant apparatus of SSD power-on and power-off
DE102018010197A1 (en) * 2018-12-18 2020-06-18 GRID INVENT gGmbH Electronic element and electrically controlled display element
CN112666412A (en) * 2020-12-15 2021-04-16 西安飞机工业(集团)有限责任公司 Airplane bus cable testing device and method
CN113687992A (en) * 2021-09-06 2021-11-23 天津津航计算技术研究所 Onboard equipment power-on and power-off test method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255774A (en) * 2011-06-28 2011-11-23 迈普通信技术股份有限公司 Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN104268041A (en) * 2014-09-22 2015-01-07 南车株洲电力机车研究所有限公司 Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN105116877A (en) * 2015-08-11 2015-12-02 中国航空工业集团公司西安飞机设计研究所 Testing system of power supply control management processor and method
CN109117330A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of test method, test macro and the relevant apparatus of SSD power-on and power-off
DE102018010197A1 (en) * 2018-12-18 2020-06-18 GRID INVENT gGmbH Electronic element and electrically controlled display element
CN112666412A (en) * 2020-12-15 2021-04-16 西安飞机工业(集团)有限责任公司 Airplane bus cable testing device and method
CN113687992A (en) * 2021-09-06 2021-11-23 天津津航计算技术研究所 Onboard equipment power-on and power-off test method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周江;潘高峰;马楠;: "校飞机载实时监控系统的设计与实现", 电讯技术, vol. 53, no. 07, pages 845 - 848 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687992A (en) * 2021-09-06 2021-11-23 天津津航计算技术研究所 Onboard equipment power-on and power-off test method
CN113687992B (en) * 2021-09-06 2024-04-19 天津津航计算技术研究所 Method for electrifying and electrifying test of airborne equipment

Also Published As

Publication number Publication date
CN113687993B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN109840207B (en) AutoSAR-based network management automation test system and test method
CN101478449B (en) A protocol automatic testing method and system thereof
CN112291621B (en) System upgrading automation test method, device and test equipment
CN111078484B (en) Power-off test method, device, equipment and storage medium for system upgrade
CN109803024B (en) Method for cluster node network
CN111585841B (en) Automatic test method and related device
CN111786854A (en) Network card testing method and device, electronic equipment and readable storage medium
CN105743707A (en) Method for testing BMC log analysis function based on Redhat system
CN103746879A (en) Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol
CN215867583U (en) Controller fault diagnosis test system
CN114966384A (en) Relay durability test method, device, equipment and storage medium
CN113687993A (en) Onboard equipment power-on and power-off test system
CN100576935C (en) Embedded set-top box debugging and testing methods
CN113687992A (en) Onboard equipment power-on and power-off test method
CN102355641A (en) A method for automated testing of mobile phone short message group control
CN114327967A (en) Equipment repairing method and device, storage medium and electronic device
CN105306302A (en) Method and system for automatically testing Qinq function
CN110753363A (en) Intelligent device wireless debugging system and method
CN116545891A (en) Automatic distribution network testing method based on intelligent equipment
CN110941254A (en) Aeroengine data processing method and equipment
CN114726765B (en) Control method and device for lithium battery test system
CN115933592A (en) Diagnostic service automated test method, device and storage medium
CN116974941A (en) Testing method for management interface function of intelligent platform of baseboard management controller
CN111752782B (en) Stability testing method, system, device and storage medium
CN114879647A (en) ECU fault code test system, electronic controller and car

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant