Simulation display method, device, equipment, medium and product of flight management system

By building a custom CDU simulation function page and database, the problem that Rehost software cannot cover all aircraft-type CDU functions is solved, and the overlay display of the CDU simulation function page on the Rehost CDU page is realized, which reduces development costs and improves the comprehensiveness and granularity of the simulation functions of the aviation simulator.

CN119397623BActive Publication Date: 2025-08-26BEIJING BLUESKY AVIATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411979357.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-08-26
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In existing aviation simulators, the CDU function based on Rehost software cannot fully cover the FMS and CDU functions and performance requirements of all aircraft mechanism types, resulting in missing functions and long development costs and cycles.

Method used

By building a custom CDU simulation function page, a display character database and a character attribute database are established, and the database is called dynamically based on the ARINC739 bus protocol to realize the overlay display of the CDU simulation function page on the Rehost CDU page, meeting the full configuration CDU function needs.

Benefits of technology

The overlay display of the CDU simulation function page on the Rehost CDU page is realized, which meets the aviation simulator's needs for the full-configured CDU functions and performance of the aircraft, reduces development costs and cycles, and improves the comprehensiveness and granularity of the simulation function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119397623B_ABST
    Figure CN119397623B_ABST
Patent Text Reader

Abstract

The present invention provides a simulation display method, device, equipment, medium and product for a flight management system, relating to the field of aviation simulation technology. The method comprises: determining a target simulation function page to be displayed based on a plurality of preset simulation function pages; obtaining target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on the character parameters and character attributes of the preset simulation function page; and displaying the target simulation function page according to the target display character data and target character attribute data. The present invention enables the CDU simulation function page to be superimposed on the original Rehost CDU page, meeting the aviation simulator's requirements for the CDU function and performance of the aircraft's full configuration, and improving the comprehensiveness of the aviation simulator's simulation function and the simulation granularity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of aviation simulation technology, and in particular to a simulation display method, device, equipment, medium and product of a flight management system. Background Art

[0002] Aviation simulators simulate the design and function of real aircraft systems based on their design data. By simulating the functional performance of aircraft avionics and other systems, they can realistically reproduce flight scenarios, enabling pilots and student pilots to learn flight skills and other flight training scenarios on the ground.

[0003] The Control Display Unit (CDU) is the core human-computer interaction device of the Flight Management System (FMS). Pilots can view or edit flight plan route attributes and aircraft flight performance parameters through the CDU. However, due to the different functional and performance requirements of airlines, aircraft developers will make adaptive changes to the aircraft according to the specific needs of airlines. Even aircraft of the same model will have different configurations. For example, the types of installed onboard equipment are different, which makes the specific functions of FMS and CDU different. Since the simulation object of the aviation simulator is a real aircraft, the implementation of the CDU of the aviation simulator generally relies on Rehost software. However, the Rehost of the firmware software function cannot meet the CDU function of all configurations of flight, which leads to the lack of CDU function due to configuration reasons in aviation simulators that implement CDU functions based on Rehost.

[0004] Therefore, there is an urgent need for a simulation display method, device, equipment, medium and product for a flight management system to solve the above problems. Summary of the Invention

[0005] In response to the problems existing in the prior art, the present invention provides a simulation display method, device, equipment, medium and product for a flight management system.

[0006] The present invention provides a simulation display method for a flight management system, comprising:

[0007] Determining a target simulation function page to be displayed based on a plurality of preset simulation function pages;

[0008] Obtaining target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on character parameters and character attributes of the preset simulation function page;

[0009] The target simulation function page is displayed on a control display unit according to the target display character data and the target character attribute data.

[0010] According to a simulation display method for a flight management system provided by the present invention, a mapping relationship between page name information of each preset simulation function page and the corresponding cell matrix is ​​established in the target database, and the target database includes a display character database and a character attribute database, wherein the display character database is constructed based on character parameters stored in the cell matrix, and the character attribute database is constructed based on character attributes stored in the cell matrix;

[0011] The step of acquiring target display character data and target character attribute data corresponding to the target simulation function page from the target database includes:

[0012] According to the page name information corresponding to the target simulation function page, data is extracted from the display character database and the character attribute database respectively to obtain the target display character data and the target character attribute data.

[0013] According to a simulation display method of a flight management system provided by the present invention, the method further includes:

[0014] Construct an initial matrix based on the preset cell matrix specification information;

[0015] Based on a preset correspondence between characters and parameters, obtaining characters corresponding to the parameters in the preset simulation function page, and determining character attributes of the characters, wherein the character attributes include at least a matrix row number, a matrix column number, a character size, a character display state, and a character color;

[0016] Constructing corresponding display element information according to the characters and the character attributes, and adding the corresponding display element information to each cell of the initial matrix based on preset page requirements to obtain a cell matrix corresponding to the preset simulation function page, wherein the cell matrix is ​​stored in a WorkBook data structure;

[0017] Based on a preset traversal algorithm, traverse the cell matrix corresponding to the preset simulation function page stored in the WorkBook data structure to obtain a character type list, a character color list, a character size list, and a character display status list;

[0018] constructing the display character database according to the character type list;

[0019] The character attribute database is constructed based on the matrix row number and the matrix column number of each cell and according to the character color list, the character font size list and the character display state list.

[0020] According to a simulation display method for a flight management system provided by the present invention, data is extracted from a display character database and a character attribute database respectively according to page name information corresponding to the target simulation function page to obtain the target display character data and the target character attribute data, including:

[0021] Get the target page number;

[0022] Based on the control display unit simulation model, the page name information is determined according to the target page number, and according to the page name information, data is extracted from the display character database and the character attribute database according to the matrix row number and the matrix column number, respectively, to obtain the target display character data and the target character attribute data.

[0023] According to a simulation display method of a flight management system provided by the present invention, the method further includes:

[0024] receiving a first input, where the first input includes a key parameter generated by the user terminal during an interaction process;

[0025] In response to the first input, if it is determined that the key parameter satisfies the preset correspondence between characters and parameters, the key parameter and the character attribute information corresponding to the key parameter are loaded as interactive display parameters into a cell corresponding to a first target matrix row number, wherein the first target matrix row number is a cell row number in the cell matrix of the interactive display parameter corresponding to the interactive information for displaying on the control display unit in the preset simulation function page;

[0026] receiving a second input, the second input including a prompt parameter corresponding to the prompt display information of the control display unit;

[0027] In response to the second input, the prompt parameter and the character attribute information corresponding to the prompt parameter are loaded as prompt display parameters into the cell corresponding to the second target matrix row number, wherein the second target matrix row number is the cell row number in the cell matrix of the prompt parameter corresponding to the control display unit prompt display information displayed on the control display unit in the preset simulation function page.

[0028] According to a simulation display method of a flight management system provided by the present invention, displaying the target simulation function page on a control display unit according to the target display character data and the target character attribute data includes:

[0029] When it is determined that the control display unit is currently in the simulation function page display state, the target simulation function page is displayed on the control display unit according to the display matrix data packet composed of the target display character data and the target character attribute data.

[0030] The present invention also provides a simulation display device for a flight management system, comprising:

[0031] A simulation function page determination module, configured to determine a target simulation function page to be displayed based on a plurality of preset simulation function pages;

[0032] a data acquisition module, configured to acquire target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on character parameters and character attributes of the preset simulation function page;

[0033] The simulation display module is used to display the target simulation function page on the control display unit according to the target display character data and the target character attribute data.

[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a simulation display method of a flight management system as described above is implemented.

[0035] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the simulation display method of the flight management system as described above is implemented.

[0036] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned simulation display methods of the flight management system.

[0037] The simulation display method, device, equipment, medium and product of the flight management system provided by the present invention realize the superposition of the CDU simulation function page on the original Rehost CDU page by packaging the data packet of the CDU simulation function page, thereby meeting the aviation simulator's requirements for the CDU functions and performance of the aircraft's full configuration, while also reducing the simulation development cost and development cycle of the CDU, and improving the comprehensiveness of the simulation functions and simulation granularity of the aviation simulator. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A schematic flow chart of a simulation display method for a flight management system provided by the present invention;

[0040] Figure 2 A schematic diagram showing an example of filling out a sheet corresponding to the preset simulation function page provided by the present invention;

[0041] Figure 3 A schematic structural diagram of a simulation display device for a flight management system provided by the present invention;

[0042] Figure 4 This is a schematic structural diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0043] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0044] The CDU plays a vital role in ensuring the flight safety and performance of an aircraft. The existing CDU display function relies heavily on the FMS. For aviation simulators, simulating the FMS and CDU through modeling faces challenges such as high development difficulty and a long development cycle. Currently, the Rehost software developed by airborne FMS system suppliers integrates the same FMS and CDU system functions as a real aircraft. To ensure the functional performance and simulation granularity of aviation simulators, aviation simulators often implement FMS and CDU by transplanting and stimulating the Rehost software. The ARINC739 bus protocol specifies the data exchange and data packet structure between the FMS and CDU. Accordingly, the FMS and CDU in the Rehost software also strictly adhere to the ARINC739 bus protocol for data communication.

[0045] As airlines have varying requirements for aircraft functionality and performance, aviation simulators must simulate and implement the functions and performance of all aircraft configurations. This is achieved through the porting of rehost software to implement CDU functionality. However, the FMS and CDU in rehost software developed by aircraft suppliers cannot fully cover the functions and performance of all aircraft configurations.

[0046] To address the above-mentioned issues, the present invention provides a method for packaging and displaying CDU simulation function page data packets, suitable for aviation simulators and based on Rehost software. The method first constructs a custom CDU simulation function page and automatically associates and generates a database (including a display character database and a character attribute database). Secondly, a CDU simulation model is built, and by constructing a flexible algorithm, the database is accessed in real time to construct the CDU simulation function page data packet. Thirdly, based on the CDU simulation model, control and display rules for simulated CDU interaction information and simulated CDU message alarm information are constructed. The generated CDU simulation function page data packet is processed based on a data overlay algorithm to achieve the overlay of interaction information and message character parameters. Finally, the CDU simulation model transmits the fully packaged two-dimensional data matrix data packet to the Rehost software, enabling the overlay display of the simulation function page on the Rehost CDU.

[0047] The present invention packages the data packets for the CDU simulation function page to overlay the CDU simulation function page on the original Rehost CDU page, thereby providing the Rehost CDU software with functions that were missing due to configuration reasons. This satisfies the aviation simulator's requirements for the functions and performance of the aircraft's fully configured CDU, enriching the aviation simulator's usability and functionality for teaching and training flight trainees. Furthermore, the present invention is versatile and can overlay any customized, secondary-developed CDU simulation function page onto the Rehost CDU software for different aircraft models, thereby significantly reducing the CDU simulation development cost and development cycle, and improving the development efficiency of aviation simulators.

[0048] Figure 1 The flowchart of the simulation display method of the flight management system provided by the present invention is as follows: Figure 1 As shown, the present invention provides a simulation display method for a flight management system, comprising:

[0049] Step 101: Determine a target simulation function page to be displayed based on a plurality of preset simulation function pages.

[0050] In the present invention, multiple CDU simulation function pages, i.e., preset simulation function pages, have been constructed in advance. Based on these pages, the user terminal can determine the preset simulation function page to be displayed during the current simulated flight, i.e., the target simulation function page, through corresponding operation instructions. In the present invention, the operation instruction can include the page number of the target simulation function page, and based on this page number, the user terminal can associate the target simulation function page with the relevant database to obtain data information.

[0051] Step 102: Obtain target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on the character parameters and character attributes of the preset simulation function page.

[0052] In this paper, a universal and editable CDU simulation database was initially constructed based on the CDU device specification. Specifically, based on the CDU device specification and incorporating the ARINC 739 bus protocol, a display character database and a character attribute database were constructed to define attributes such as the type, color, size, and display effect of characters displayed on the CDU simulation overlay screen. This standardizes and indexes the character library and character attributes, facilitating retrieval based on simulation algorithms.

[0053] In the present invention, the preset simulation function page can be implemented through an Excel table in a standard 15×24 format, where each cell represents a unit of characters and character attributes. Based on the Excel table processing capabilities contained in Python's Pandas and Openpyxl libraries, the character information of the preset simulation function page in the table can be obtained, and the display character database and character attribute database with the simulation function page as the smallest unit can be updated and generated; at the same time, after the Excel table containing the CDU simulation function page is corrected, the modified parameters can also be automatically updated to the corresponding database.

[0054] In the present invention, when the display data for a specific simulation function page needs to be retrieved from the target database, the target display character data (i.e., the specific content of the characters displayed on the page) and target character attribute data (i.e., the display style and interactive properties of these characters) corresponding to the target simulation function page are retrieved. After this data is extracted, it can be used to render and display the corresponding page in the simulation environment, or to undergo further processing and analysis.

[0055] Step 103: Displaying the target simulation function page on a control display unit according to the target display character data and the target character attribute data.

[0056] This invention builds a CDU simulation model, dynamically calls the target database, and stores data in a custom data structure, making data more accessible and the algorithm more efficient. The CDU simulation model also implements the control and display logic for CDU interaction information and messages. Furthermore, the algorithm dynamically overlays text onto the CDU simulation function page, ensuring that the CDU simulation function page response and display logic are consistent with those of a real aircraft.

[0057] In the present invention, based on the ARINC739 bus protocol, a data packet architecture of the CDU simulation function page is constructed, and then the overlay display of the simulation function page of the Rehost CDU software is realized through the constructed data packet of the CDU simulation function page.

[0058] The simulation display method of the flight management system provided by the present invention realizes the superposition of the CDU simulation function page on the original Rehost CDU page by packaging the data packet of the CDU simulation function page, thereby meeting the aviation simulator's requirements for the functions and performance of the aircraft's full configuration CDU. At the same time, it also reduces the simulation development cost and development cycle of the CDU, and improves the comprehensiveness of the simulation function and simulation granularity of the aviation simulator.

[0059] Based on the above embodiment, a mapping relationship between the page name information of each preset simulation function page and the corresponding cell matrix is ​​established in the target database, and the target database includes a display character database and a character attribute database, wherein the display character database is constructed based on the character parameters stored in the cell matrix, and the character attribute database is constructed based on the character attributes stored in the cell matrix;

[0060] The step of acquiring target display character data and target character attribute data corresponding to the target simulation function page from the target database includes:

[0061] According to the page name information corresponding to the target simulation function page, data is extracted from the display character database and the character attribute database respectively to obtain the target display character data and the target character attribute data.

[0062] In this invention, to implement the overlay of a simulation function page on the Rehost CDU software, the CDU simulation function page must first be constructed. Based on the existing CDU equipment manual, the CDU simulation function page must be configured as a 15×24 matrix window, with each cell displaying specific element information. By summarizing the display attributes and characteristics of the CDU simulation function page and combining these characteristics, a rule is established for mapping the display element attributes and data parameters of the CDU simulation function page cells.

[0063] In one embodiment, the construction process of the display character database and the character attribute database is specifically described. The corresponding rules between the display element attributes and data parameters of the cells on the CDU simulation function page can be referred to as shown in Table 1:

[0064] Table 1 shows the corresponding rules between element attributes and data parameters

[0065]

[0066] The cells can be filled in based on the correspondence between characters and parameters. For example, the character corresponding to parameter 28 is o, the character corresponding to parameter 67 is C, and the character corresponding to parameter 61 is "=". The specific correspondence can be set according to actual needs, and the present invention does not make specific limitations on this.

[0067] In the present invention, a database of all displayable CDU characters is summarized and summarized, encompassing all character types that can be displayed by the CDU. This database, combined with the ASCII encoding table, corresponds to specific integer data parameters. This database also redefines the integer data parameter correspondence for some special display characters. It should be noted that the display character database is implemented based on the data parameters of the character mapping matrix. The correspondence between characters and parameters in the present invention can be dynamically updated and supplemented, and automatically associated with the display character database to enable updates to the display character database parameters.

[0068] Furthermore, the numerical values ​​corresponding to the character colors are defined. For details, please refer to Table 2:

[0069] Table 2 Character color comparison table

[0070]

[0071] In the present invention, the character attribute database is constructed based on the five character attributes of Row, Column, Font, Attribute, and Color in Table 1, combined with customized attributes and integer data comparison rules. The construction algorithm for displaying the character attribute CellAttribute for each cell is as follows:

[0072] CellAttribute = ((Column&0x1f) | ((Attribute&0x7)<<5) | ((Row&0xf)<<8) | ((Color&0x7)<<12) | ((Font&0x1)<<15));

[0073] The Column value range is [0,23], and the parameter value length is 0x1f; the Attribute value range is [0,2], and the parameter value length is 0x7; the Row value range is [0,24], and the parameter value length is 0xf; the Color value range is [0,7], and the parameter value length is 0x7; the Font value range is [0,1], and the parameter value length is 0x1.

[0074] In the present invention, the CDU simulation function page is created based on Excel. Each sheet represents a CDU simulation function page. A 15×24 cell matrix is ​​constructed in the Excel sheet to store the simulation page display information. The present invention fills the CDU simulation function page display element information designed in the above embodiment into the corresponding cell matrix according to the filling rules. The specific filling rules can be found in Table 3:

[0075] Table 3 Rules for filling in the cell elements on the simulation function page

[0076]

[0077] Based on the above embodiment, the method further includes:

[0078] Construct an initial matrix based on the preset cell matrix specification information;

[0079] Based on a preset correspondence between characters and parameters, obtaining characters corresponding to the parameters in the preset simulation function page, and determining character attributes of the characters, wherein the character attributes include at least a matrix row number, a matrix column number, a character size, a character display state, and a character color;

[0080] Constructing corresponding display element information according to the characters and the character attributes, and adding the corresponding display element information to each cell of the initial matrix based on preset page requirements to obtain a cell matrix corresponding to the preset simulation function page, wherein the cell matrix is ​​stored in a WorkBook data structure;

[0081] Based on a preset traversal algorithm, traverse the cell matrix corresponding to the preset simulation function page stored in the WorkBook data structure to obtain a character type list, a character color list, a character size list, and a character display status list;

[0082] constructing the display character database according to the character type list;

[0083] The character attribute database is constructed based on the matrix row number and the matrix column number of each cell and according to the character color list, the character font size list and the character display state list.

[0084] In the present invention, according to the design requirements of the preset simulation function page, a sheet page in the Excel file corresponds to a preset simulation function page and the corresponding page display element information is filled in, thereby constructing an Excel file that stores all relevant attribute information of the preset simulation function page. Figure 2 This is a sample diagram of a sheet page corresponding to the preset simulation function page provided by the present invention. The sheet page filled with page display element information can be referred to Figure 2 shown.

[0085] In the present invention, a CDU simulation function page data acquisition algorithm can be developed based on Python to realize data reading of all sheet pages in the Excel table, that is, to read the display information of each constructed CDU simulation function page, and then realize reading each simulation function page, and map the processed data information to the display character database and character attribute database respectively, to realize the generation and update of the database.

[0086] In this invention, the CDU simulation function page data acquisition algorithm is mainly developed and implemented based on the openpyxl and pandas libraries. The specific rules for writing the algorithm are as follows:

[0087] First, obtain the absolute path of the Excel file of the constructed CDU simulation function page information, implement indexing of the Excel file, traverse all sheet pages of the Excel file, and store the data information of each function page independently in the WorkBook data structure based on the load_workbook function of openpyxl. By obtaining the name of each sheet page, that is, the name of the corresponding CDU simulation function page, it is stored in the form of a string and mapped to the corresponding WorkBook data structure to achieve the mapping between the simulation function page name and the simulation function page data information content.

[0088] Furthermore, in the present invention, the data information for each sheet page can be obtained through the WorkBook object [sheet page name], resulting in a two-dimensional matrix structure data storing the current CDU simulation function page. By traversing this two-dimensional matrix, the data information for each cell is obtained. In the present invention, four List data structures (CharList, ColorList, FontList, AttributeList) are created to store the integer parameters corresponding to the type, color, font size, and attributes of each cell character. The data processing rules are shown in Table 4:

[0089] Table 4 Data processing rules for WorkBook cells

[0090]

[0091] When judging the font.color.rgb attribute parameters of the current cell, the cell color parameter acquisition algorithm rules can refer to Table 5:

[0092] Table 5 Cell color parameter acquisition rules

[0093]

[0094] Through the above process, the parameters of all CDU simulation function pages are acquired and their attributes are stored in the form of CharList, ColorList, FontList, and AttributeList. Furthermore, in the present invention, the display character database is implemented based on CharList. A two-dimensional matrix conversion algorithm is constructed to convert the CharList into a data structure in the 15×24 DataFrame matrix format, and the data is stored in the display character database, thereby realizing the generation of the display character database. In particular, each CDU simulation function page is indexed in the display character database by the name of the sheet page.

[0095] The character attribute database is implemented based on ColorList, FontList and AttributeList. It traverses every 24 data as a row to obtain the Row parameters and Column parameters of each cell. Based on the cell display attribute construction algorithm, the CellAttribute parameters of each cell are solved. Then, through the two-dimensional matrix construction algorithm, the CellAttribute parameters of the 360 ​​cells obtained by the solution are converted into a data structure in the 15×24 DataFrame matrix format and stored in the character attribute database, thereby realizing the generation of the character attribute database. Among them, each CDU simulation function page is indexed by the name of the sheet page in the character attribute database.

[0096] On the basis of the above embodiment, the target display character data and the target character attribute data are obtained by extracting data from a display character database and a character attribute database according to the page name information corresponding to the target simulation function page, including:

[0097] Get the target page number;

[0098] Based on the control display unit simulation model, the page name information is determined according to the target page number, and according to the page name information, data is extracted from the display character database and the character attribute database according to the matrix row number and the matrix column number, respectively, to obtain the target display character data and the target character attribute data.

[0099] In the present invention, a CDU simulation model is developed based on C++. The simulation model can realize the page switching control of the CDU simulation function page, the display of typed information and interactive information, the display of prompt information such as Message, and other related control logic. Based on the display character database and character attribute database of the CDU simulation function page, the corresponding simulation function page data information is extracted, and data processing is performed based on the data packaging algorithm to complete the screen overlay function of the simulation function page on the Rehost CDU software.

[0100] Specifically, during the initialization phase of the CDU simulation model, the display character database and character attribute database are called once, and all simulation function page parameter information in the database is stored by creating a custom structure data structure. The creation of the custom structure is as follows:

[0101] "struct DisplayMap{unsigned int Char; unsigned int CellAttribute;}";

[0102] Instantiate a 3D array object using the DisplayMap structure. The last two dimensions of the 3D array object are consistent with the CDU simulation function page cell matrix, which is a 15×24 matrix. The first dimension is defined as the page number, mapping a CDU simulation page name to associate it with the corresponding database. The created 3D array object is shown below:

[0103] m_DisplayMap [page number]

[15]

[24] ;

[0104] Then, the display character database and character attribute database corresponding to other CDU simulation function pages are traversed respectively, and the page information is extracted and stored. The algorithm extraction rules are shown in Table 6:

[0105] Table 6 Data extraction algorithm rules for three-dimensional object data structure

[0106]

[0107] Through the above steps, the CDU simulation model can complete the automatic acquisition of data information of all CDU simulation function pages according to the page number of the simulation function page to be displayed currently.

[0108] Based on the above embodiment, the method further includes:

[0109] receiving a first input, where the first input includes a key parameter generated by the user terminal during an interaction process;

[0110] In response to the first input, if it is determined that the key parameter satisfies the preset correspondence between characters and parameters, the key parameter and the character attribute information corresponding to the key parameter are loaded as interactive display parameters into a cell corresponding to a first target matrix row number, wherein the first target matrix row number is a cell row number in the cell matrix of the interactive display parameter corresponding to the interactive information for displaying on the control display unit in the preset simulation function page;

[0111] receiving a second input, the second input including a prompt parameter corresponding to the prompt display information of the control display unit;

[0112] In response to the second input, the prompt parameter and the character attribute information corresponding to the prompt parameter are loaded as prompt display parameters into the cell corresponding to the second target matrix row number, wherein the second target matrix row number is the cell row number in the cell matrix of the prompt parameter corresponding to the control display unit prompt display information displayed on the control display unit in the preset simulation function page.

[0113] In the present invention, based on the relevant operations of the user end, the interactive information and Message prompt information can be displayed on the CDU simulation function page. This process only requires algorithmic rewriting of the parameters in the specified CDU simulation function page three-dimensional structure object, thereby loading the display characters and character attributes into the data matrix.

[0114] Specifically, in one embodiment, the interactive information to be displayed is displayed on the 14th row of the CDU page, and the character parameters typed by the CDU keyboard are displayed in sequence from left to right. In this embodiment, the CDU operation panel key acquisition interface system is based on UDP and sends the key parameters to the CDU simulation model. The CDU simulation model first judges and analyzes the received key parameters to determine whether the input key parameters are standard displayable characters that meet the correspondence between characters and parameters. If they meet the requirements, the characters are accumulated to form an input line string, and then the string is traversed and assigned to m_DisplayMap[x]

[13] [z].Char from left to right, where x represents the current simulation function page number, 13 represents the row number, and since the subscript starts at 0, 13 represents the 14th row of the CDU page, and z is the column number of the currently typed character, starting from 0 and ending with the length of the typed character minus 1. In this embodiment, the display data entered are all white, large font, and in normal display state, and the corresponding Color, Font, and Attribute are 7, 2, and 0 respectively. According to the CellAttribute solution method of the above embodiment, the CellAttribute parameters corresponding to the 14 rows of entered information are assigned to m_DisplayMap[x]

[13] [z].CellAttribute in sequence, where the x, 13, and z parameter attributes are consistent with the above Char assignment, thereby realizing data processing of the CDU entered information display parameters.

[0115] The Message display method is similar to the interactive information display method. In this embodiment, Message is a fixed string displayed on the 15th line of the CDU page to inform the pilot of the current special situation. The CDU simulation model uses macro definitions to define the Message string information that may be displayed on all simulation function pages and solves the actual logic in real time. When the Message display logic is met, the macro variable corresponding to the display string is called and assigned to m_DisplayMap[x]

[14] [z].Char, where x represents the current simulation function page number, 14 represents the row number (since subscripts start counting from 0), and 14 represents the 15th row of the CDU page. z is the column number of the currently typed character, counting from 0 to the length of the string variable in the Message macro minus 1. In this embodiment, the Message display color is amber, the display font size is large, and the display characteristics are normal. According to the aforementioned CellAttribute solution method, the CellAttribute parameters of the Message corresponding to 15 lines are assigned to m_DisplayMap[x]

[14] [z].CellAttribute in sequence, where the x, 14, and z parameter attributes are consistent with the above Char assignment, thereby realizing data processing of the CDU Messgae display parameters.

[0116] When processing the interactive information and Messgae information, the present invention implements various functional functions corresponding to the simulation function page by constructing a universal character display superposition algorithm, as shown in Table 7:

[0117] Table 7

[0118]

[0119] In the present invention, the length of the ShowString parameter of parameter 2 (i.e., parameter 2 in Table 7) is first determined. If it is a non-empty string, it indicates that superimposed characters need to be displayed. The string superposition row number is determined according to the Row in parameter 3, and the column number at which the string superposition starts is determined according to the Column in parameter 4. A one-dimensional traversal method is adopted, and the traversal value i ranges from Column to the length of Column + ShowString.

[0120] Furthermore, according to the CellAttribute solving method of the above embodiment, the CellAttribute parameters and ShowString[i] of each solved cell are assigned to m_DisplayMap[Row][i].CellAttribute and m_DisplayMap[Row][i].Char respectively, so as to realize the reconstruction of the two-dimensional data matrix of the corresponding CDU simulation function page, thereby completing the data processing of the interactive information and Message information display.

[0121] On the basis of the above embodiment, the target simulation function page is displayed on the control display unit according to the target display character data and the target character attribute data, including:

[0122] When it is determined that the control display unit is currently in the simulation function page display state, the target simulation function page is displayed on the control display unit according to the display matrix data packet composed of the target display character data and the target character attribute data.

[0123] The existing rehost software is based on data communication between FMS and CDU to realize the CDU page display function. The present invention uses the CDU simulation model and the model solution logic to determine whether the current display state of the rehost CDU software is a displayable state of the CDU simulation function page.

[0124] If, based on logical judgment, the current CDU display status does not allow the display of the CDU simulation function page, data communication between the FMS and the CDU in the rehost software is maintained, preserving the CDU display logic under FMS control. If, based on logical judgment, the current CDU display status allows the display of the CDU simulation function page, a UDP data communication link is established between the CDU simulation model and the rehost end. By calling the three-dimensional array matrix corresponding to the simulation function page number, the corresponding two-dimensional matrix display parameters are sent to the rehost end via UDP, allowing the rehost software to automatically identify and receive the display matrix data packets of the simulation function page transmitted via UDP, thereby achieving the superposition of the CDU simulation function pages.

[0125] The simulation display device of the flight management system provided by the present invention is described below. The simulation display device of the flight management system described below and the simulation display method of the flight management system described above can be referred to in correspondence with each other.

[0126] Figure 3 This is a schematic diagram of the structure of the simulation display device of the flight management system provided by the present invention, as shown in FIG. Figure 3As shown, the present invention provides a simulation display device for a flight management system, comprising a simulation function page determination module 301, a data acquisition module 302 and a simulation display module 303, wherein the simulation function page determination module 301 is used to determine the target simulation function page to be displayed currently based on multiple preset simulation function pages; the data acquisition module 302 is used to obtain target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on the character parameters and character attributes of the preset simulation function page; the simulation display module 303 is used to display the target simulation function page on a control display unit according to the target display character data and the target character attribute data.

[0127] The simulation display device of the flight management system provided by the present invention realizes the superposition of the CDU simulation function page on the original Rehost CDU page by packaging the data packet of the CDU simulation function page, thereby meeting the aviation simulator's requirements for the functions and performance of the aircraft's full configuration CDU, while also reducing the simulation development cost and development cycle of the CDU, and improving the comprehensiveness of the simulation function and simulation granularity of the aviation simulator.

[0128] The system provided by the present invention is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for the specific processes and detailed contents, which will not be repeated here.

[0129] Figure 4 A schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor (Processor) 401, a communications interface (Communications Interface) 402, a memory (Memory) 403, and a communications bus 404, wherein the processor 401, the communications interface 402, and the memory 403 communicate with each other via the communications bus 404. The processor 401 may call logic instructions in the memory 403 to execute a simulation display method for a flight management system, the method comprising: determining a target simulation function page to be displayed based on a plurality of preset simulation function pages; obtaining target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed from a cell matrix corresponding to different preset simulation function pages, each cell in the cell matrix being generated based on the character parameters and character attributes of the preset simulation function page; and displaying the target simulation function page on a control display unit according to the target display character data and the target character attribute data.

[0130] Furthermore, the logic instructions in the aforementioned memory 403 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0131] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the simulation display method of the flight management system provided by the above methods, the method including: determining the target simulation function page to be displayed based on multiple preset simulation function pages; obtaining target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on the character parameters and character attributes of the preset simulation function page; and displaying the target simulation function page on the control display unit according to the target display character data and the target character attribute data.

[0132] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the simulation display method of the flight management system provided in the above-mentioned embodiments, the method comprising: determining the target simulation function page to be displayed based on multiple preset simulation function pages; obtaining target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on the character parameters and character attributes of the preset simulation function page; and displaying the target simulation function page on the control display unit according to the target display character data and the target character attribute data.

[0133] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0134] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A simulation display method for a flight management system, characterized in that: include: Determining a target simulation function page to be displayed based on a plurality of preset simulation function pages; Obtaining target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on character parameters and character attributes of the preset simulation function page; Displaying the target simulation function page on a control display unit according to the target display character data and the target character attribute data; The target database is established with a mapping relationship between the page name information of each preset simulation function page and the corresponding cell matrix, and the target database includes a display character database and a character attribute database; The method further comprises: Construct an initial matrix based on the preset cell matrix specification information; Based on the preset correspondence between characters and parameters, obtaining characters corresponding to the parameters in the preset simulation function page, and determining character attributes of the characters; Constructing corresponding display element information according to the characters and the character attributes, and adding the corresponding display element information to each cell of the initial matrix based on preset page requirements to obtain a cell matrix corresponding to the preset simulation function page, wherein the cell matrix is ​​stored in a WorkBook data structure; Based on a preset traversal algorithm, traverse the cell matrix corresponding to the preset simulation function page stored in the WorkBook data structure; When it is determined that the control display unit is currently in the simulation function page display state, the target simulation function page is displayed on the control display unit according to the display matrix data packet composed of the target display character data and the target character attribute data, specifically the following steps: A UDP data communication link is established between the control display unit simulation model and the Rehost end, and the corresponding two-dimensional matrix display parameters are sent to the Rehost end via UDP by calling the three-dimensional array matrix corresponding to the simulation function page number, so that the Rehost end automatically identifies and receives the display matrix data packet of the simulation function page transmitted by UDP, thereby realizing the superposition of the control display unit simulation function page, wherein the simulation function page number is the page number of the target simulation function page to be displayed currently; the control display unit simulation model is used to obtain the display matrix data packets of all simulation function pages according to the page number of the target simulation function page to be displayed currently; the first dimension of the three-dimensional array matrix is ​​the simulation function page number, and the data of the second and third dimensions are consistent with the data of the corresponding cell matrix, and the simulation function page number corresponds to the page name information.

2. The simulation display method of the flight management system according to claim 1, characterized in that: The step of acquiring target display character data and target character attribute data corresponding to the target simulation function page from the target database includes: According to the page name information corresponding to the target simulation function page, data is extracted from the display character database and the character attribute database respectively to obtain the target display character data and the target character attribute data.

3. The simulation display method of the flight management system according to claim 2, characterized in that: The character attributes include at least a matrix row number, a matrix column number, a character size, a character display state, and a character color; The method further comprises: Based on a preset traversal algorithm, traverse the cell matrix corresponding to the preset simulation function page stored in the WorkBook data structure to obtain a character type list, a character color list, a character size list, and a character display status list; constructing the display character database according to the character type list; The character attribute database is constructed based on the matrix row number and the matrix column number of each cell and according to the character color list, the character font size list and the character display state list.

4. The simulation display method of the flight management system according to claim 3, characterized in that: The method of extracting data from a display character database and a character attribute database according to page name information corresponding to the target simulation function page to obtain the target display character data and the target character attribute data includes: Get the target page number; Based on the control display unit simulation model, the page name information is determined according to the target page number, and according to the page name information, data is extracted from the display character database and the character attribute database according to the matrix row number and the matrix column number, respectively, to obtain the target display character data and the target character attribute data.

5. The simulation display method of the flight management system according to claim 4, characterized in that: The method further comprises: receiving a first input, where the first input includes a key parameter generated by the user terminal during an interaction process; In response to the first input, if it is determined that the key parameter satisfies the preset correspondence between characters and parameters, the key parameter and the character attribute information corresponding to the key parameter are loaded as interactive display parameters into a cell corresponding to a first target matrix row number, wherein the first target matrix row number is a cell row number in the cell matrix of the interactive display parameter corresponding to the interactive information for displaying on the control display unit in the preset simulation function page; receiving a second input, the second input including a prompt parameter corresponding to the prompt display information of the control display unit; In response to the second input, the prompt parameter and the character attribute information corresponding to the prompt parameter are loaded as prompt display parameters into the cell corresponding to the second target matrix row number, wherein the second target matrix row number is the cell row number in the cell matrix of the prompt parameter corresponding to the control display unit prompt display information displayed on the control display unit in the preset simulation function page.

6. A simulation display device for a flight management system, characterized in that: include: A simulation function page determination module, configured to determine a target simulation function page to be displayed based on a plurality of preset simulation function pages; a data acquisition module, configured to acquire target display character data and target character attribute data corresponding to the target simulation function page from a target database, wherein the target database is constructed by a cell matrix corresponding to different preset simulation function pages, and each cell in the cell matrix is ​​generated based on character parameters and character attributes of the preset simulation function page; A simulation display module, configured to display the target simulation function page on a control display unit according to the target display character data and the target character attribute data; The target database is established with a mapping relationship between the page name information of each preset simulation function page and the corresponding cell matrix, and the target database includes a display character database and a character attribute database; The device is also used for: Construct an initial matrix based on the preset cell matrix specification information; Based on the preset correspondence between characters and parameters, obtaining characters corresponding to the parameters in the preset simulation function page, and determining character attributes of the characters; Constructing corresponding display element information according to the characters and the character attributes, and adding the corresponding display element information to each cell of the initial matrix based on preset page requirements to obtain a cell matrix corresponding to the preset simulation function page, wherein the cell matrix is ​​stored in a WorkBook data structure; Based on a preset traversal algorithm, traverse the cell matrix corresponding to the preset simulation function page stored in the WorkBook data structure; When it is determined that the control display unit is currently in the simulation function page display state, the target simulation function page is displayed on the control display unit according to the display matrix data packet composed of the target display character data and the target character attribute data, specifically the following steps: A UDP data communication link is established between the control display unit simulation model and the Rehost end, and the corresponding two-dimensional matrix display parameters are sent to the Rehost end via UDP by calling the three-dimensional array matrix corresponding to the simulation function page number, so that the Rehost end automatically identifies and receives the display matrix data packet of the simulation function page transmitted by UDP, thereby realizing the superposition of the control display unit simulation function page, wherein the simulation function page number is the page number of the target simulation function page to be displayed currently; the control display unit simulation model is used to obtain the display matrix data packets of all simulation function pages according to the page number of the target simulation function page to be displayed currently; the first dimension of the three-dimensional array matrix is ​​the simulation function page number, and the data of the second and third dimensions are consistent with the data of the corresponding cell matrix, and the simulation function page number corresponds to the page name information.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the simulation display method of the flight management system according to any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the simulation display method of the flight management system according to any one of claims 1 to 5 is implemented.

9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the simulation display method of the flight management system according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Gridded flight management system man-machine interaction design and implementation method

    CN110851121A