CMF protocol stack automatic test method and system based on online database

Through the CMF protocol stack automation testing method based on online database, the complexity and difficulty of CMF protocol stack software verification is solved, the automatic control and result judgment of the interactive process are realized, the quality and efficiency of verification are improved, and it is suitable for the CMF protocol stack. automated testing.

CN119271548APending Publication Date: 2025-01-07CHINA ELECTRONICS TECHNOLOGY AVIONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411291779.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Verification of CMF protocol stack software is complex and difficult. Especially in the field of civilian electronics, the verification method using fixtures has the risk of not being recognized and there is a lack of effective verification methods.

Method used

The CMF protocol stack automation testing method based on online database is adopted to realize the automatic judgment of interactive messages through control, parsing and query of interactive processes, and conduct automated testing of CMF protocol stack.

Benefits of technology

It realizes end-to-end automated testing of the CMF protocol stack, improves the quality and timeliness of verification, and is suitable for automated testing between the CMF protocol stack and end systems and data flow application software. It is versatile and flexible, and is compatible with manual testing. Improved R&D efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271548A_ABST
    Figure CN119271548A_ABST
Patent Text Reader

Abstract

The invention discloses a CMF protocol stack automatic test method and system based on an online database, and the method comprises the steps: enabling a CMF protocol stack to transmit a parameter request primitive to airborne equipment when the CMF protocol stack carries out the parameter configuration of the airborne equipment; the airborne equipment refers to mechanism end system equipment or mechanism end system application; the airborne equipment receives the parameter request primitive and generates a parameter confirmation primitive, and the parameter request primitive and the parameter confirmation primitive are sequentially stored in an online structured dictionary; and the airborne equipment returns the parameter confirmation primitive to the CMF protocol stack, and verifies the correctness of the parameter request primitive sent by the CMF protocol stack and whether the parameter request primitive is retransmitted. According to the CMF protocol stack testing method and device, the CMF protocol stack interaction process and the interaction message can be controlled, analyzed and inquired, result judgment is automatically carried out, and automatic testing of the CMF protocol stack is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of CMF protocol stack software testing, and in particular to a CMF protocol stack automatic testing method and system based on an online database. Background Art

[0002] With the rapid development of communication and navigation technology, airborne data link technology is increasingly widely used in civil aviation business systems, providing more complete data for aircraft air-ground communication and navigation, and improving the operational quality and efficiency of air-ground communication. With the rapid development of my country's civil aviation industry and the acceleration of the pace of independent research and development of domestic civil aircraft, it is particularly important to ensure the quality of data link protocol stacks and applications in the process of data link technology research and development, and to establish reliable and rapid problem feedback capabilities for the development of data link protocol stacks and applications. Therefore, it is urgent to improve the level of automated testing for the research and development of airborne data link technology.

[0003] As the central node of airborne data link communication, CMF (Communication Management Function) protocol stack software provides access management and routing policy services for airborne applications and equipment, link management functions for different communication subnets (VHF, SATCOM, HF), and reliable and efficient communication services for air-to-ground data link communication. CMF protocol stack software has high requirements for reliability and security, and plays a vital role in civil aviation airborne data communication networks. The position of CMF protocol stack in civil aviation data communication infrastructure is as follows: Figure 1 shown.

[0004] First, as the exchange center of airborne data communication, CMF protocol stack software negotiates with peripheral devices and applications such as airborne end systems, printers, and data link application software to establish data paths to be transmitted. CMF protocol stack software can provide routing and management functions for communication between peripheral devices. Secondly, CMF protocol stack software manages VHF, SATCOM, and HF communication subnets, and realizes ACARS (Aircraft Communication Addressing and Reporting System) and ATN (Aeronautical Telecommunication Network) communication functions. When the aircraft moves, it can dynamically acquire, establish, switch, and maintain links with ground peer systems according to the configuration strategy, providing reliable, efficient, and economical communication services for air-to-ground data transmission. In addition, CMF protocol stack software also provides priority management, queue management, aircraft identity management, fault log, message, and event statistics functions. Before the CMF protocol stack software is installed and operated, it must also complete network access certification to avoid the impact of protocol stack software with quality defects on the aircraft operation network. Therefore, it is extremely important to ensure the reliable and safe operation of CMF protocol stack software.

[0005] During the development of a certain type of domestic aircraft communication and navigation equipment, CMF protocol stack software is the main component of data link communication. CMF protocol stack software has complex functions, a wide variety of peripheral interface devices and communication protocols, complex and changeable communication scenarios, and involves a large number of communication parameters, state management and conversion verification. Different from the verification of application software, the complexity and difficulty of CMF protocol stack software verification are relatively large, especially in the field of civil aircraft electronics. Software does not allow the existence of maintenance and test codes that are not related to functions. Therefore, the verification method using fixtures is largely at risk of not being recognized. At present, there is no CMF protocol stack verification method available for reference.

[0006] In view of this, this application is hereby filed. Summary of the invention

[0007] The technical problem to be solved by the present invention is that the verification of CMF protocol stack software is complex and difficult, especially in the field of civil aircraft electronics. The software is not allowed to have maintenance and test codes that are not related to the function. Therefore, the verification method using a fixture is at great risk of not being recognized. Currently, there is no verification method in the field of CMF protocol stack for reference. The purpose of the present invention is to provide an automated testing method and system for CMF protocol stack based on an online database. In order to meet the quality and timeliness requirements for CMF protocol stack software verification, the present invention can realize the control, analysis, and query of the CMF protocol stack interaction process and interaction messages, and automatically judge the results, thereby realizing automated testing of the CMF protocol stack.

[0008] The present invention is achieved through the following technical solutions:

[0009] In a first aspect, the present invention provides a CMF protocol stack automated testing method based on an online database, the method comprising:

[0010] When the CMF protocol stack configures parameters for an onboard device, the CMF protocol stack sends a parameter request primitive to the onboard device; the onboard device refers to a mechanism-side system device or a mechanism-side system application;

[0011] The airborne device receives the parameter request primitive and generates a parameter confirmation primitive, and stores the parameter request primitive and the parameter confirmation primitive sequentially in an online structured dictionary;

[0012] The onboard device returns a parameter confirmation primitive to the CMF protocol stack and verifies the correctness of the parameter request primitive sent by the CMF protocol stack and whether the parameter request primitive is retransmitted.

[0013] Furthermore, when the airborne device is a very high frequency radio station, the method includes:

[0014] The automated test tool clears the historical database information in the VHF radio through the set operation and controls the CMF protocol stack to send parameter request primitives to the VHF radio. The set operation refers to the automated test tool sending a clear database message command to the VHF radio through the API interface.

[0015] The VHF radio station receives the parameter request primitive and generates a parameter confirmation primitive, and stores the parameter request primitive and the parameter confirmation primitive sequentially in an online structured dictionary;

[0016] The VHF radio returns a parameter confirmation primitive to the CMF protocol stack and verifies the correctness of the parameter request primitive sent by the CMF protocol stack and whether the parameter request primitive is retransmitted.

[0017] Furthermore, the content of the parameter request primitive received by the VHF radio station includes a receiving timestamp, a sending parameter request primitive type, a protocol type, a sending parameter request primitive number, a length of a sending data field, a VHF radio station operating frequency, a modulation type and a communication preamble.

[0018] Furthermore, the content of the parameter confirmation primitive includes a sending timestamp, a parameter confirmation primitive type, a protocol type, a parameter confirmation primitive number, a length of a sending data field, a VHF radio operating frequency, a modulation type, and a communication preamble.

[0019] Furthermore, the VHF radio station receives the parameter request primitive and generates a parameter confirmation primitive, and stores the parameter request primitive and the parameter confirmation primitive sequentially in an online structured dictionary, including:

[0020] The VHF radio receives the parameter request primitive and uses the parameter request primitive as the first message in the VHF radio;

[0021] Based on the parameter request primitive, a parameter confirmation primitive is generated; and the parameter confirmation primitive is used as the second message in the VHF radio;

[0022] The data in the parameter request primitive and the parameter confirmation primitive are structured to obtain processed data; and the processed data are stored in an online structured dictionary in sequence.

[0023] Furthermore, the content of the online structured dictionary includes the message primitive type, the time of the message primitive, the timestamp tick value of the message primitive, the original A429 data of the message primitive, the protocol type query key value of the message primitive, the type number query key value of the message primitive, the data field length query key value of the message primitive, the VHF radio working frequency query key value of the message primitive, the modulation type query key value of the message primitive and the communication preamble query key value of the message primitive; wherein:

[0024] Message primitive type, used as a feature ID identifier for query data;

[0025] The timestamp tick value of the message primitive is used to subtract the tick values ​​corresponding to the parameter request primitive and the parameter confirmation primitive respectively to obtain the time interval between the parameter request primitive and the parameter confirmation primitive messages;

[0026] The original A429 data of the message primitive is used as the original binary transmission data of the underlying communication to test the correctness of the underlying communication data.

[0027] Furthermore, the method further comprises:

[0028] The automated test tool obtains the structured list data of the online structured dictionary in the VHF radio station through the get operation; the get operation refers to the automated test tool sending a query database message command to the VHF radio station through the API interface;

[0029] Based on the acquired structured list data, the automated testing tool controls the query of the structured list data one by one, automatically judges the results, and realizes the automated testing of the CMF protocol stack.

[0030] In a second aspect, the present invention further provides a CMF protocol stack automated testing system based on an online database, the system comprising:

[0031] The CMF protocol stack resides in the device and is used to send parameter request primitives to the onboard device when configuring parameters of the onboard device; the onboard device refers to the mechanism end system device or the mechanism end system application;

[0032] An onboard device is used to receive a parameter request primitive and generate a parameter confirmation primitive, and store the parameter request primitive and the parameter confirmation primitive in an online structured dictionary in sequence; and return the parameter confirmation primitive to the CMF protocol stack; the onboard device refers to a mechanism end system device or a mechanism end system application;

[0033] An automated testing tool, which serves as a control unit, is used to control the clearing of historical database information in the VHF radio through set operations, and to control the CMF protocol stack to send parameter request primitives to the VHF radio; and to obtain structured list data of the online structured dictionary in the VHF radio through get operations; and to query the structured list data.

[0034] Furthermore, the content of the online structured dictionary includes the message primitive type, the time of the message primitive, the timestamp tick value of the message primitive, the original A429 data of the message primitive, the protocol type query key value of the message primitive, the type number query key value of the message primitive, the data field length query key value of the message primitive, the VHF radio working frequency query key value of the message primitive, the modulation type query key value of the message primitive and the communication preamble query key value of the message primitive; wherein:

[0035] Message primitive type, used as a feature ID identifier for data query;

[0036] The timestamp tick value of the message primitive is used to subtract the tick values ​​corresponding to the parameter request primitive and the parameter confirmation primitive respectively to obtain the time interval between the parameter request primitive and the parameter confirmation primitive messages;

[0037] The original A429 data of the message primitive is used as the original binary transmission data of the underlying communication to test the correctness of the underlying communication data.

[0038] Furthermore, querying the structured list data includes:

[0039] Traverse the structured list data, query and verify each field value in the structured list data one by one.

[0040] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0041] 1. The CMF protocol stack automated testing method and system based on the online database of the present invention realizes end-to-end automated testing of the airborne data link CMF protocol stack by structured query of messages sent by the CMF protocol stack to meet the quality and timeliness requirements of the CMF protocol stack software verification; the present invention can realize the control, analysis and query of the CMF protocol stack interaction process and interaction messages, and automatically judge the results, thereby realizing the automated testing of the CMF protocol stack.

[0042] 2. The CMF protocol stack automated testing method and system based on the online database of the present invention can be used for automated testing between the CMF protocol stack and the end system, data stream application software, and is also suitable for interactive testing of other protocol stack software, and has universality; at the same time, it is compatible with manual testing, suitable for developers and testers, and improves R&D efficiency.

[0043] 3. The present invention provides an automated testing method and system for the CMF protocol stack based on an online database. The method can customize and accurately query data, has comprehensive data content, and is flexible to use. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0045] Figure 1 The schematic diagram of the location of the CMF protocol stack in the civil aviation data communication infrastructure;

[0046] Figure 2 It is a schematic diagram of the message interaction between the CMF protocol stack and the VHF radio station of the present invention;

[0047] Figure 3 The present invention is a flow chart of the CMF protocol stack automated testing method based on an online database. DETAILED DESCRIPTION

[0048] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0049] The CMF protocol stack software has complex functions, a wide variety of peripheral interface devices and communication protocols, complex and changeable communication scenarios, and involves a large number of communication parameters, state management, and conversion verification. Different from the verification of application software, the complexity and difficulty of CMF protocol stack software verification are relatively large, especially in the field of civil aircraft electronics. The software does not allow the existence of maintenance and testing codes that are not related to the function. Therefore, the verification method using fixtures is largely at risk of not being recognized. In the development process of domestic civil aircraft communication and navigation equipment, the development of domestic CMF protocol stacks is the first time, and there are no verification methods in the field of CMF protocol stacks, especially automated verification methods, for reference. Therefore, there are currently no verification methods in the field of CMF protocol stacks for reference.

[0050] Therefore, the present invention designs an automated testing method for the CMF protocol stack based on an online database. The CMF protocol stack software resides in the device as a real device, involving interactive testing scenarios with peripheral devices, applications, and wireless communication radio stations. Here, the present invention adopts the most typical communication test scenario of the CMF protocol stack and a very high frequency VHF (Very High Frequency) radio station, and the VHF radio station is used as a simulator to introduce the testing method and automated testing scheme of the present invention.

[0051] The CMF protocol stack software communicates with the VHF radio through the ARINC429 bus, and the communication interface follows the ARINC 750 protocol. The ARINC 750 primitive carries the communication content of the ARINC 618 protocol. When the CMF protocol stack software communicates with the VHF radio, the message interaction between the CMF protocol stack and the VHF radio is shown in the figure below. Figure 2 shown.

[0052] The CMF protocol stack software and the very high frequency VHF radio (VHF radio for short) exchange messages through ARINC 750 primitives. The following takes the CMF protocol stack to configure the parameters of the VHF radio as an example to introduce the test method of the CMF protocol stack for data communication:

[0053] 1) When the CMF protocol stack configures the parameters of the VHF radio, the CMF protocol stack sends the PARAM.request primitive (parameter request primitive) to the VHF radio;

[0054] 2) The VHF radio receives the PARAM.request primitive and parses the PARAM.request primitive sent by the CMF protocol stack. The content received and parsed by the VHF radio is shown in Table 1;

[0055] Table 1 VHF radio receiving PARAM.request primitive

[0056]

[0057] In Table 1, the field type is indicated before each field. The meaning of each field is as follows:

[0058] Recv Primitive MSG at indicates the receiving timestamp;

[0059] ACARSIP PARAM.requestDataInfo indicates the type of primitive for sending parameter request;

[0060] EGFI indicates the protocol type;

[0061] ID indicates the number of the primitive to send parameter request;

[0062] Len MSB indicates the length of the high-order transmission data field;

[0063] Len LSB indicates the length of the high-order transmission data field;

[0064] Msb indicates the high VHF radio operating frequency;

[0065] Lsb indicates the low VHF radio station operating frequency;

[0066] Format indicates the modulation type;

[0067] Prekey represents the communication preamble.

[0068] 3) The VHF radio station sends the PARAM.confirm primitive (parameter confirmation primitive) to the CMF protocol stack. The content sent by the VHF radio station is shown in Table 2;

[0069] Table 2 VHF radio sends PARAM.confirm primitive

[0070]

[0071] The contents of the parameter confirmation primitive in Table 2 include a sending timestamp, a parameter confirmation primitive type, a protocol type, a parameter confirmation primitive number, a length of a sending data field, a VHF radio operating frequency, a modulation type, and a communication preamble; the meaning of each field in Table 2 corresponds to that in Table 1.

[0072] 4) From Table 1 and Table 2, the PARAM.request primitive sent by the CMF protocol stack can be verified as follows:

[0073] a) The PARAM.request primitive was sent at 15:26:33.502, and was received at 15:26:33.504 (within 1 second).

[0074] PARAM.confirm primitive, so CMF did not retransmit PARAM.request primitive;

[0075] b) EGFI in PARAM.request primitive is 0xF2;

[0076] c) The Primitive ID in the PARAM.request primitive is 0x20;

[0077] d) The Data Field Len MSB in the PARAM.request primitive is 0;

[0078] e) The Data Field Len LSB in the PARAM.request primitive is 4;

[0079] f) Freq Msb in PARAM.request primitive is 31;

[0080] g) Freq Lsb in PARAM.request primitive is 45;

[0081] h) Modulation Format in PARAM.request primitive is 0;

[0082] i) Prekey in PARAM.request primitive is 85ms.

[0083] This method can be used to verify the correctness of the PARAM.request primitive sent by the CMF protocol stack and whether the PARAM.request primitive is retransmitted. In the CMF protocol stack test, this verification method can be used as a general message interaction test method, which is suitable for verifying the message interaction process and content between the CMF protocol stack and the VHF radio.

[0084] Example 1

[0085] like Figure 3 As shown, the present invention is based on the CMF protocol stack automatic testing method of the online database, the method comprising:

[0086] When the CMF protocol stack configures parameters for an onboard device, the CMF protocol stack sends a parameter request primitive to the onboard device; the onboard device refers to a mechanism-side system device or a mechanism-side system application;

[0087] The airborne device receives the parameter request primitive and generates a parameter confirmation primitive, and stores the parameter request primitive and the parameter confirmation primitive sequentially in an online structured dictionary;

[0088] The onboard device returns a parameter confirmation primitive to the CMF protocol stack and verifies the correctness of the parameter request primitive sent by the CMF protocol stack and whether the parameter request primitive is retransmitted.

[0089] In specific implementation, this embodiment implements the following automated testing scheme during the CMF protocol stack software and VHF radio station testing process to quickly verify the CMF protocol stack.

[0090] like Figure 2 As shown, the following takes the PARAM.request primitive sent when the CMF protocol stack configures the parameters of the VHF radio as an example to introduce the automated test solution based on online data query:

[0091] (1) The automated test tool clears the historical database information in the VHF radio station through the set operation and controls the CMF protocol stack to send the PARAM.request primitive (parameter request primitive) to the VHF radio station; the set operation refers to the automated test tool sending a clear database message command to the VHF radio station through the API interface;

[0092] (2) The VHF radio receives the PARAM.request primitive sent by the CMF protocol stack. The content is shown in Table 1. This primitive is the first message in the VHF radio.

[0093] (3) The VHF radio station generates and sends a parameter confirmation primitive (PARAM.confirm primitive), the content of which is shown in Table 2. This primitive is the second message in the VHF radio station;

[0094] (4) The VHF radio station structures the PARAM.request primitive and PARAM.confirm primitive data and stores them sequentially in an online structured dictionary. The online structured dictionary contains the following elements:

[0095] a. 'PrimitiveType': message primitive type, used as the feature ID identifier of the query data;

[0096] b. 'Time': the time of the message primitive;

[0097] c. 'Tick': the timestamp tick value of the message primitive, which is used to subtract the tick values ​​corresponding to the parameter request primitive and the parameter confirmation primitive respectively to obtain the time interval between the parameter request primitive and the parameter confirmation primitive messages;

[0098] d. 'RawData': the original A429 data of the message primitive, which is the original binary transmission data of the underlying communication and is used to test the correctness of the underlying communication data;

[0099] e. 'EGFI': protocol type query key value of the message primitive;

[0100] f. 'Primitive ID': the type ID query key value of the message primitive;

[0101] g. 'Data Field Len MSB': Data Field Len MSB query key value of the message primitive; h. 'DataField Len LSB': Data Field Len LSB query key value of the message primitive; i. 'Freq Msb': Freq Msb query key value of the message primitive;

[0102] j, 'Freq Lsb': Freq Lsb query key value of the message primitive;

[0103] k, 'Modulation Format': modulation type query key value of the message primitive;

[0104] 1. 'Prekey': the communication preamble query key value of the message primitive.

[0105] The structured online data dictionary content of the VHF radio is shown in Table 3.

[0106] Table 3 VHF radio message structured list data

[0107]

[0108] Structured data can be queried by matching key values. When the data is cleared or the VHF radio simulator is closed, the data cannot be queried.

[0109] (5) The automated test tool obtains the structured list data of the online structured dictionary in the VHF radio station through the get operation; the message list after acquisition is shown in Table 3;

[0110] (6) Based on the structured list data obtained, the automated testing tool controls the query of the structured list data in Table 3 one by one, automatically judges the results, and implements the automated testing of the CMF protocol stack, as follows:

[0111] a) Traverse the structured list data and query the PrimitiveType key value to be ACARSIP PARAM.req (i.e.

[0112] The number of PARAM.request primitives) is 1, which verifies that CMF does not retransmit PARAM.request primitives. After querying the PARAM.request primitive, query its Tick value through the Tick key value, and query it in the same way

[0113] The Tick value of the PARAM.confirm primitive can be subtracted to calculate the time interval between messages;

[0114] b) After querying the PARAM.request primitive, query the EGFI key value and find that its value is 0xF2, verifying that the EGFI in the PARAM.request primitive sent by the CMF is 0xF2;

[0115] c) After querying the PARAM.request primitive, query the value of the Primitive ID key and find that it is 0x20, verifying that the Primitive ID in the PARAM.request primitive sent by the CMF is 0x20;

[0116] d) After querying the PARAM.request primitive, query the Data Field Len MSB key value and its value is 0 to verify

[0117] The Data Field Len MSB in the PARAM.request primitive sent by CMF is 0;

[0118] e) After querying the PARAM.request primitive, query the Data Field Len LSB key value and its value is 4 to verify

[0119] The Data Field Len LSB in the PARAM.request primitive sent by CMF is 4;

[0120] f) After querying the PARAM.request primitive, query the value of the Freq Msb key and find that it is 31, verifying that the Freq Msb in the PARAM.request primitive sent by CMF is 31;

[0121] g) After querying the PARAM.request primitive, query the value of the Freq Lsb key value and find that it is 45, verifying that the Freq Lsb value in the PARAM.request primitive sent by the CMF is 45;

[0122] h) After querying the PARAM.request primitive, query the Modulation Format key value and its value is 0 to verify

[0123] The Modulation Format in the PARAM.request primitive sent by CMF is 0;

[0124] i) After querying the PARAM.request primitive, query the Prekey key value and find that its value is 0x55, verifying that the Prekey in the PARAM.request primitive sent by CMF is 0x55;

[0125] j) After querying the PARAM.request primitive, the binary data transmitted by the ARINC 429 underlying communication is obtained through RawData key value matching, and then the binary encoded data transmitted by ARINC 429 is verified to be consistent with expectations.

[0126] This automated testing solution can control, parse, and query the CMF protocol stack interaction process and interaction messages, and automatically judge the results, thus realizing automated testing of the CMF protocol stack.

[0127] The advantages of the present invention are as follows:

[0128] (1) Through structured query of messages sent by the CMF protocol stack, end-to-end automated testing of the airborne data link CMF protocol stack is achieved;

[0129] (2) This method can be used for automated testing between the CMF protocol stack and end systems and data stream application software, and is also applicable to interactive testing of other protocol stack software, and is universal;

[0130] (3) This method can customize and accurately query data, the data content is comprehensive, and the usage method is flexible;

[0131] (4) It is also compatible with manual testing, suitable for developers and testers, and improves R&D efficiency.

[0132] Example 2

[0133] like Figure 2 As shown, the difference between this embodiment and embodiment 1 is that this embodiment further provides a CMF protocol stack automatic testing system based on an online database, which uses the CMF protocol stack automatic testing method based on an online database of embodiment 1; the system includes:

[0134] The CMF protocol stack resides in the device and is used to send parameter request primitives to the onboard device when configuring parameters of the onboard device; the onboard device refers to the mechanism end system device or the mechanism end system application;

[0135] An onboard device is used to receive a parameter request primitive and generate a parameter confirmation primitive, and store the parameter request primitive and the parameter confirmation primitive in an online structured dictionary in sequence; and return the parameter confirmation primitive to the CMF protocol stack; the onboard device refers to a mechanism end system device or a mechanism end system application;

[0136] An automated testing tool, which serves as a control unit, is used to control the clearing of historical database information in the VHF radio through set operations, and to control the CMF protocol stack to send parameter request primitives to the VHF radio; and to obtain structured list data of the online structured dictionary in the VHF radio through get operations; and to query the structured list data.

[0137] As a further implementation, the content of the online structured dictionary includes the message primitive type, the time of the message primitive, the timestamp tick value of the message primitive, the original A429 data of the message primitive, the protocol type query key value of the message primitive, the type number query key value of the message primitive, the data field length query key value of the message primitive, the VHF radio working frequency query key value of the message primitive, the modulation type query key value of the message primitive and the communication preamble query key value of the message primitive; wherein:

[0138] Message primitive type, used as a feature ID identifier for query data;

[0139] The timestamp tick value of the message primitive is used to subtract the tick values ​​corresponding to the parameter request primitive and the parameter confirmation primitive respectively to obtain the time interval between the parameter request primitive and the parameter confirmation primitive messages;

[0140] The original A429 data of the message primitive is used as the original binary transmission data of the underlying communication to test the correctness of the underlying communication data.

[0141] As a further implementation, queries on structured list data include:

[0142] Traverse the structured list data, query and verify each field value in the structured list data one by one.

[0143] Among them, the execution process of each module can be executed according to the process steps of the CMF protocol stack automatic testing method based on the online database in Example 1, and will not be repeated one by one in this embodiment.

[0144] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0145] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0146] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0148] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. The CMF protocol stack automated testing method based on online database is characterized by: The method includes: When the CMF protocol stack performs parameter configuration on an onboard device, the CMF protocol stack sends a parameter request primitive to the onboard device; the onboard device refers to a mechanism end system device or a mechanism end system application; The airborne device receives the parameter request primitive and generates a parameter confirmation primitive, and stores the parameter request primitive and the parameter confirmation primitive in an online structured dictionary in sequence; The onboard device returns the parameter confirmation primitive to the CMF protocol stack, and verifies the correctness of the parameter request primitive sent by the CMF protocol stack and whether the parameter request primitive is retransmitted.

2. The CMF protocol stack automated testing method based on online database according to claim 1, characterized in that: When the airborne device is a very high frequency radio station, the method comprises: Through the set operation, the historical database information in the VHF radio is cleared, and the CMF protocol stack is controlled to send parameter request primitives to the VHF radio; The VHF radio station receives the parameter request primitive and generates a parameter confirmation primitive, and stores the parameter request primitive and the parameter confirmation primitive in an online structured dictionary in sequence; The VHF radio returns the parameter confirmation primitive to the CMF protocol stack, and verifies the correctness of the parameter request primitive sent by the CMF protocol stack and whether the parameter request primitive is retransmitted.

3. The CMF protocol stack automated testing method based on online database according to claim 2, characterized in that: The content of the parameter request primitive received by the VHF radio station includes a receiving timestamp, a sending parameter request primitive type, a protocol type, a sending parameter request primitive number, a length of a sending data field, a VHF radio station operating frequency, a modulation type and a communication preamble code.

4. The CMF protocol stack automated testing method based on online database according to claim 2, characterized in that: The content of the parameter confirmation primitive includes a sending timestamp, a parameter confirmation primitive type, a protocol type, a parameter confirmation primitive number, a length of a sending data field, a VHF radio station operating frequency, a modulation type and a communication preamble code.

5. The CMF protocol stack automated testing method based on online database according to claim 2, characterized in that: The VHF radio station receives the parameter request primitive and generates a parameter confirmation primitive, and stores the parameter request primitive and the parameter confirmation primitive in an online structured dictionary in sequence, including: The VHF radio station receives the parameter request primitive and uses the parameter request primitive as the first message in the VHF radio station; Based on the parameter request primitive, a parameter confirmation primitive is generated; and the parameter confirmation primitive is used as the second message in the VHF radio; The data in the parameter request primitive and the parameter confirmation primitive are structured to obtain processed data; and the processed data are stored in an online structured dictionary in sequence.

6. The CMF protocol stack automated testing method based on online database according to claim 2, characterized in that: The content of the online structured dictionary includes the message primitive type, the time of the message primitive, the timestamp tick value of the message primitive, the original A429 data of the message primitive, the protocol type query key value of the message primitive, the type number query key value of the message primitive, the data field length query key value of the message primitive, the VHF radio working frequency query key value of the message primitive, the modulation type query key value of the message primitive and the communication preamble query key value of the message primitive; wherein: The message primitive type is used as a feature ID identifier for query data; The timestamp tick value of the message primitive is used to subtract the tick values ​​corresponding to the parameter request primitive and the parameter confirmation primitive respectively, to obtain the time interval between the parameter request primitive and the parameter confirmation primitive messages; The original A429 data of the message primitive is used as the original binary transmission data of the underlying communication to test the correctness of the underlying communication data.

7. The CMF protocol stack automated testing method based on online database according to claim 2, characterized in that: The method further includes: Get the structured list data of the online structured dictionary in the VHF radio station through the get operation; Based on the acquired structured list data, the structured list data are queried one by one, and the result is automatically judged to realize the automated testing of the CMF protocol stack.

8. The CMF protocol stack automated testing system based on online database is characterized by: The system includes: The CMF protocol stack resides in the device and is used to send parameter request primitives to the onboard device when configuring parameters of the onboard device; the onboard device refers to the mechanism end system device or the mechanism end system application; An onboard device, configured to receive the parameter request primitive and generate a parameter confirmation primitive, and sequentially store the parameter request primitive and the parameter confirmation primitive in an online structured dictionary; and return the parameter confirmation primitive to the CMF protocol stack; the onboard device refers to a mechanism end system device or a mechanism end system application; An automated testing tool, which serves as a control unit, is used to control the clearing of historical database information in the VHF radio through set operations, and to control the CMF protocol stack to send parameter request primitives to the VHF radio; and to obtain structured list data of the online structured dictionary in the VHF radio through get operations; and to query the structured list data.

9. The CMF protocol stack automatic testing system based on online database according to claim 8, characterized in that: The content of the online structured dictionary includes the message primitive type, the time of the message primitive, the timestamp tick value of the message primitive, the original A429 data of the message primitive, the protocol type query key value of the message primitive, the type number query key value of the message primitive, the data field length query key value of the message primitive, the VHF radio working frequency query key value of the message primitive, the modulation type query key value of the message primitive and the communication preamble query key value of the message primitive; wherein: The message primitive type is used as a feature ID identifier for query data; The timestamp tick value of the message primitive is used to subtract the tick values ​​corresponding to the parameter request primitive and the parameter confirmation primitive respectively, to obtain the time interval between the parameter request primitive and the parameter confirmation primitive messages; The original A429 data of the message primitive is used as the original binary transmission data of the underlying communication to test the correctness of the underlying communication data.

10. The CMF protocol stack automatic testing system based on online database according to claim 8, characterized in that: Query structured list data, including: The structured list data is traversed, and each field value in the structured list data is queried and verified one by one.