CN111190785B - Automatic test method for modularized electromechanical integrated management system - Google Patents
Automatic test method for modularized electromechanical integrated management system Download PDFInfo
- Publication number
- CN111190785B CN111190785B CN201911346102.8A CN201911346102A CN111190785B CN 111190785 B CN111190785 B CN 111190785B CN 201911346102 A CN201911346102 A CN 201911346102A CN 111190785 B CN111190785 B CN 111190785B
- Authority
- CN
- China
- Prior art keywords
- test
- tested
- tested object
- test equipment
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test 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)
- Data Exchanges In Wide-Area Networks (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a modularized electromechanical integrated management system automatic test method, which is used for a large aircraft electromechanical system and comprises the following steps: the test equipment is connected with the tested object in an automatic test mode, wherein the instruction protocol format for setting the automatic test connection is as follows: start bit, check bit, version, timestamp, type, length, data; the test equipment automatically tests the tested object, and in the automatic test process, the test equipment and the tested object realize long connection and synchronization and keep the expected action consistent with the tested action; the time setting operation is performed in the automatic test execution process. The invention provides an automatic test method for an electromechanical system, which is characterized by automatically testing link, automatically executing and automatically timing, ensuring the time synchronism of the test process, reducing the test workload and improving the test quality by an automatic comparison mechanism of test expectation and results.
Description
Technical Field
The invention relates to the technical field of test and test of an electromechanical system of a large-scale aircraft, in particular to an automatic test method of a modularized electromechanical integrated management system.
Background
The electromechanical system of large aircraft includes several tens of subsystems of fuel oil, hydraulic pressure, landing gear and environmental control, etc. its control adopts the design mode of distributed synthesis, i.e. several parts of unified collector, arithmetic unit, driver and display are adopted to form a set of electromechanical integrated management system which is divided into functions, and said system can implement control function of all electromechanical systems.
For the test link, all control functions of the electromechanical system need to be subjected to a test process of excitation and response by test equipment and a tested object, and the expected response and the real response are always the test is passed, otherwise, the test is failed. However, for large aircraft electromechanical systems, the number of test function points of the electromechanical systems is numerous, the test complexity is high, and the time synchronism requirement is strict, so that the traditional manual excitation, test and comparison modes cannot meet the high-precision test requirements. The method mainly establishes synchronous connection between the test end and the tested end to form a special question-answer sequence, and completes necessary functions of automatic test expected response transmission, synchronization, time synchronization and the like, thereby achieving the purpose of automatic test of the electromechanical system.
The existing electromechanical system testing process mainly still relies on manpower, a plurality of people operate the testing excitation equipment simultaneously to observe the tested equipment, timing is carried out simultaneously, and the testing correctness is judged manually according to the testing task book and outline. The manual mode is time-consuming, and the input manpower is much and long-time reliability, reliability are poor.
It is therefore highly desirable to devise an automatic test method for electromechanical systems.
Disclosure of Invention
In view of this, in order to solve the problem that the existing electromechanical system testing process mainly still relies on manpower, the tested equipment is observed by simultaneously operating the test excitation equipment by a plurality of people, and timing is performed at the same time, so that the correctness of the test is judged manually according to the test task book and outline. The manual mode is time-consuming, and the input manpower is much and the long-time reliability, reliability are poor. The embodiment of the invention provides an automatic test method for a modularized electromechanical integrated management system.
An automatic test method of a modularized electromechanical integrated management system is used for a large aircraft electromechanical system and is characterized by comprising the following steps:
s1, automatically testing and connecting test equipment and a tested object, wherein an instruction protocol format for setting the automatic testing and connecting is as follows: start bit, check bit, version, timestamp, type, length, data;
s2, the test equipment automatically tests the tested object, and in the automatic test process, the test equipment and the tested object realize long connection and synchronization and keep the expected action consistent with the tested action;
s3, performing time setting operation in the automatic test execution process.
The invention provides an automatic test method for an electromechanical system, which is characterized by automatically testing link, automatically executing and automatically timing, ensuring the time synchronism of the test process, reducing the test workload and improving the test quality by an automatic comparison mechanism of test expectation and results.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description will briefly explain the drawings required to be used in the embodiments of the present invention, and it is obvious that the drawings described below are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a modular electromechanical integrated management system automatic test method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an automatic test connection according to another embodiment of the present invention;
FIG. 3 is a flow chart of an automatic test execution according to another embodiment of the present invention;
fig. 4 is a schematic flow chart of an automatic test pair according to another embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without making any inventive effort are intended to fall within the scope of the present invention.
Features and exemplary embodiments of various aspects of the invention are described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention. The present invention is in no way limited to any particular arrangement and method set forth below, but rather covers any adaptations, alternatives, and modifications of structure, method, and device without departing from the spirit of the invention. In the drawings and the following description, well-known structures and techniques have not been shown in detail in order not to unnecessarily obscure the present invention.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other, and the embodiments may be referred to and cited with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
FIG. 1 is a flow chart of a modular electromechanical integrated management system automatic test method according to an embodiment of the present invention.
The modularized electromechanical integrated management system automatic test method can be used for the electromechanical system of a large aircraft. As shown in fig. 1, the method may include the steps of:
s1, automatically testing and connecting test equipment and a tested object, wherein an instruction protocol format for setting the automatic testing and connecting is as follows: start bit, check bit, version, timestamp, type, length, data;
s2, the test equipment automatically tests the tested object, and in the automatic test process, the test equipment and the tested object realize long connection and synchronization and keep the expected action consistent with the tested action;
s3, performing time setting operation in the automatic test execution process.
In some embodiments, after a lot of experiments and continuous optimization, the main content of the connection protocol header is set to a start bit, a check bit, a version, a timestamp, a type, a length, data, and the like, which can be specifically shown in the following table (1):
watch (1)
In some embodiments, after a lot of experiments and continuous optimization, the format of the response data packet structure is set to version, ID, time, value, etc., and the specific definition is as shown in the following table (2):
watch (2)
FIG. 2 is a flow chart of an automatic test connection according to another embodiment of the present invention.
As shown in fig. 2, step S1 may include the steps of:
the test equipment sends a request data packet for testing the electromechanical integrated management system of the large aircraft to the tested object;
the tested object receives the test request and replies a response data packet to the test equipment;
the test equipment receives the response data packet and sends a preparation data packet to the tested object.
FIG. 3 is a flow chart of an automatic test execution according to another embodiment of the present invention.
As shown in fig. 3, step S2 may include the steps of:
the tested object starts automatic test, sends an execution data packet to the test equipment, and executes the target tested action;
the execution of the target tested action is completed, an execution data packet is sent to the test equipment, and the test equipment compares whether the expected action is consistent with the version, ID, time (deviation is less than 100 ms), value and the like of the tested action:
when the judgment is consistent, judging whether the action is executed or not;
if the execution is completed, reporting that the test is successful, otherwise, executing the next action;
and when the data packets are inconsistent, the test equipment sends a stop data packet to the tested object and retests the data packets.
Fig. 4 is a schematic flow chart of an automatic test pair according to another embodiment of the invention.
As shown in fig. 4, step S3 may include the steps of:
performing time setting operation in the automatic test execution process;
the tested object sends a time setting data packet to the testing equipment every time a preset period;
judging whether the expected time is consistent with the measured time;
if not, stopping the automatic test, sending a stopping data packet to the tested object by the test equipment, reporting a test error, otherwise, continuing to judge whether the expected time is consistent with the tested time.
In some embodiments, automatic test execution may include the steps of:
s3.1, starting an automatic test by the tested object, sending an execution data packet to test equipment, and executing a target tested action;
s3.2, the execution of the target tested action is completed, an execution data packet is sent to the test equipment, and the test equipment compares whether the version, ID, time (deviation is less than 100 ms), value and the like of the expected action are consistent with those of the tested action or not:
s3.2.1 is consistent, judging whether the action is executed, if yes, reporting that the test is successful, otherwise, executing the next action;
s3.2.2 is inconsistent, the test equipment sends a stop data packet to the tested object, and retests are carried out.
In some embodiments, the pairing may include the steps of:
and (3) performing time setting operation in the automatic test execution process, sending a time setting data packet to test equipment by the tested object every time, judging whether the expected time is consistent with the tested time or not, stopping the automatic test if the expected time is inconsistent with the tested time, sending a stopping data packet to the tested object by the test equipment, reporting test errors, and otherwise, continuing judging.
The key points and the points to be protected of the invention are as follows: the instruction protocol format, and the contents that the test equipment realizes long connection and synchronization with the tested object and keeps the expected action consistent with the tested action in the automatic test process.
It should be noted that, in the case of no conflict, those skilled in the art may flexibly adjust the order of the above-mentioned operation steps according to actual needs, or flexibly combine the above-mentioned steps. For brevity, various implementations are not repeated. In addition, the contents of the embodiments may be cited by reference to each other.
From the foregoing description of embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by means of software plus necessary hardware platform, and may, of course, be implemented directly by means of hardware. Based on such understanding, the above technical solution may be embodied in software essentially or in part contributing to the prior art. The computer software may be stored in a computer readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc. The readable storage medium may store a program, instructions or the like that cause a computer device (e.g., a personal computer, a server, or a network device or the like) to perform the methods described in the various embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered in the scope of the present invention.
Claims (7)
1. An automatic test method of a modularized electromechanical integrated management system is used for a large aircraft electromechanical system and is characterized by comprising the following steps:
s1, automatically testing and connecting test equipment and a tested object, wherein an instruction protocol format for setting the automatic testing and connecting is as follows: start bit, check bit, version, timestamp, type, length, data;
s2, the test equipment automatically tests the tested object, and in the automatic test process, the test equipment and the tested object realize long connection and synchronization and keep the expected action consistent with the tested action;
s3, performing time setting operation in the automatic test execution process;
wherein, the step S2 comprises:
the tested object starts automatic test, sends an execution data packet to the test equipment, and executes the target tested action;
the execution of the target tested action is completed, an execution data packet is sent to the test equipment, and the test equipment compares whether the version, ID, time and value of the expected action are consistent with those of the tested action or not:
when the judgment is consistent, judging whether the action is executed or not;
if the execution is completed, reporting that the test is successful, otherwise, executing the next action;
and when the data packets are inconsistent, the test equipment sends a stop data packet to the tested object and retests the data packets.
2. The method according to claim 1, wherein step S1 comprises:
the test equipment sends a request data packet for testing the electromechanical integrated management system of the large aircraft to the tested object;
the tested object receives the test request and replies a response data packet to the test equipment;
the test equipment receives the response data packet and sends a preparation data packet to the tested object.
3. The method according to claim 1, wherein:
in the instruction protocol format, the start bit is set to 2 bytes, the check bit is set to 2 bytes, the version is set to 2 bytes, the timestamp is set to 4 bytes, the type is set to 1 byte, the length is set to 2 bytes, and the data is set to not limit.
4. A method according to claim 3, wherein:
in the type of instruction protocol format, the request instruction is set to 0, the response instruction is set to 1, the ready instruction is set to 2, the pair time instruction is set to 3, the execute instruction is set to 4, and the stop instruction is set to 5.
5. The method according to claim 1, wherein:
in the instruction protocol format, the response packet structure format is defined as: version, ID, time and value.
6. The method according to claim 5, wherein:
version is set to 2 bytes, ID is set to 2 bytes, time is set to 4 bytes, and value is set to 4 bytes.
7. The method according to any one of claims 1-6, wherein step S3 comprises:
performing time setting operation in the automatic test execution process;
the tested object sends a time setting data packet to the testing equipment every time a preset period;
judging whether the expected time is consistent with the measured time;
if not, stopping the automatic test, sending a stopping data packet to the tested object by the test equipment, reporting a test error, otherwise, continuing to judge whether the expected time is consistent with the tested time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911346102.8A CN111190785B (en) | 2019-12-24 | 2019-12-24 | Automatic test method for modularized electromechanical integrated management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911346102.8A CN111190785B (en) | 2019-12-24 | 2019-12-24 | Automatic test method for modularized electromechanical integrated management system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111190785A CN111190785A (en) | 2020-05-22 |
CN111190785B true CN111190785B (en) | 2023-08-04 |
Family
ID=70709360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911346102.8A Active CN111190785B (en) | 2019-12-24 | 2019-12-24 | Automatic test method for modularized electromechanical integrated management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111190785B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104820227A (en) * | 2015-04-29 | 2015-08-05 | 中测高科(北京)测绘工程技术有限责任公司 | Gnss module automatic test system |
CN106776300A (en) * | 2016-12-01 | 2017-05-31 | 北京驰波信息工程有限公司 | The pressure testing system and method for a kind of intermediate system |
CN107462790A (en) * | 2017-07-26 | 2017-12-12 | 中国航空工业集团公司西安飞机设计研究所 | Use the distribution system method for diagnosing faults of solid state distribution device |
CN109885496A (en) * | 2019-02-20 | 2019-06-14 | 北京百佑科技有限公司 | Test log management method and system |
CN109902005A (en) * | 2019-02-19 | 2019-06-18 | 广州云测信息技术有限公司 | A kind of method and system of automatic test |
-
2019
- 2019-12-24 CN CN201911346102.8A patent/CN111190785B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104820227A (en) * | 2015-04-29 | 2015-08-05 | 中测高科(北京)测绘工程技术有限责任公司 | Gnss module automatic test system |
CN106776300A (en) * | 2016-12-01 | 2017-05-31 | 北京驰波信息工程有限公司 | The pressure testing system and method for a kind of intermediate system |
CN107462790A (en) * | 2017-07-26 | 2017-12-12 | 中国航空工业集团公司西安飞机设计研究所 | Use the distribution system method for diagnosing faults of solid state distribution device |
CN109902005A (en) * | 2019-02-19 | 2019-06-18 | 广州云测信息技术有限公司 | A kind of method and system of automatic test |
CN109885496A (en) * | 2019-02-20 | 2019-06-14 | 北京百佑科技有限公司 | Test log management method and system |
Non-Patent Citations (2)
Title |
---|
张琬珍等.飞机机电管理系统自动测试系统的设计与实现.航空计算技术.2019,第49卷(第03期),119-121. * |
汪亚杰等.自动测试在航电综合试验中的应用技术研究.科技创新导报.2011,(第29期),12-13. * |
Also Published As
Publication number | Publication date |
---|---|
CN111190785A (en) | 2020-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977133B (en) | 1553B bus network emulation system applied to spacecraft system | |
CN107241315B (en) | Access method and device of bank gateway interface and computer readable storage medium | |
CN110209642A (en) | Method, apparatus, server and the computer-readable medium of information processing | |
CN108459951B (en) | Test method and device | |
WO2023125852A1 (en) | Remote diagnosis method and apparatus, and electronic device and storage medium | |
WO2023125851A1 (en) | Remote diagnostics method and apparatus, electronic device and storage medium | |
CN105071982A (en) | Method for rapid measurement of performance of network card under Linux | |
CN106899454B (en) | Method and system for automatically testing RoCE performance based on Linux system | |
CN109977012B (en) | Joint debugging test method, device, equipment and computer readable storage medium of system | |
CN109062820A (en) | A kind of software performance testing method and device | |
CN113946559A (en) | Data processing method, target database system and data processing system | |
US10613963B2 (en) | Intelligent packet analyzer circuits, systems, and methods | |
CN111190785B (en) | Automatic test method for modularized electromechanical integrated management system | |
CN109885420B (en) | PCIe link fault analysis method, BMC and storage medium | |
CN107844395B (en) | Reboot test control method and system | |
WO2020000810A1 (en) | Application component construction packaging method and device, and computer storage medium | |
US8719643B2 (en) | Troubleshooting support method, and troubleshooting support apparatus | |
CN111488264A (en) | Deployment scheduling method for interface performance test cluster | |
CN107506436B (en) | Method and device for testing storage performance of Internet of things database | |
CN112231236A (en) | Method for testing database performance | |
CN114153427A (en) | Optimization method and system of continuous integration assembly line | |
CN112498736B (en) | Universal bus test system suitable for AFDX bus | |
CN105407112B (en) | Equipment capability learning method, device and system | |
CN107026754B (en) | Automatic operation and maintenance method and device for single-node PaaS platform | |
CN111162969A (en) | RSU and OBU online debugging method, system and medium |
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 |