Window management system and method for displaying suspension menu of light helicopter

By independent of the display and control functions of the floating menu from the main display control software and using the configuration file management window to display content, the problem of high verification of the control function of the equipment for floating menu expansion of light helicopters is solved, and efficient and low-cost floating menu management and expansion is achieved.

CN120429059AActive Publication Date: 2025-08-05CHINA HELICOPTER RES & DEV INST

Patent Information

Application Number
CN202510935015.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-08
Publication Date
2025-08-05
Estimated Expiration
2045-07-08

AI Technical Summary

Technical Problem

The floating menu expansion mission equipment control function verification cost of the light helicopter cockpit is high, and the entire software needs to be changed when the floating menu and the main flight screen are modified in the same software, which is a lot of work and high cost.

Method used

The display and control functions of the floating menu are used as a separate module, and are independently run from the main display control partition module. The display management module is used to manage windows, render off-screen and distribute user input commands, and display content and switch through the configuration file control window, independent of the main display control software.

Benefits of technology

It realizes independent management of suspended menus and main flight screens, reduces software verification workload, improves ergonomic efficiency, supports flexible and rapid expansion of task equipment control functions, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120429059A_ABST
    Figure CN120429059A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of helicopter cabin display, and discloses a window management system and method for a light helicopter to display a suspension menu, and the system comprises a display management partition module which is used for obtaining an input event of a peripheral key, and transmitting the input event to a main display control partition module and a suspension menu display control partition module; the display management partition module is further used for controlling the current suspended menu window number according to the input event and sending the suspended menu window number to the suspended menu display control partition module and the main display control partition module; the main display control partition module draws a main flight picture according to the input of each subsystem, and sends control data to the subsystem controlled by the main display control partition module; the suspended menu display control partition module is used for drawing a suspended menu picture according to a suspended menu window number and completing a control function of options in the suspended menu according to an input event of peripheral keys; the display management partition module is further used for displaying the main flight picture and the suspension menu picture in an overlapping mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of helicopter cockpit display, and in particular relates to a window management system and method for displaying a floating menu on a light helicopter. Background Art

[0002] Light helicopters, with a takeoff weight of less than 2 tons, are widely used in mineral exploration, emergency rescue, and other applications. They offer flexible customization options and a promising market. To meet the requirements for safe flight in diverse mission scenarios, the cockpit avionics equipment must provide pilots with sufficient flight information and control interfaces. Due to the limited space available on the instrument panel and central control console in light helicopter cockpits, display and control equipment typically employ a highly integrated design. Simultaneously displaying all flight and mission information within the limited cockpit display area would create a crowded display that would burden the pilot, resulting in poor ergonomics and serious safety risks. If device control functions are fixed within the limited control components, some equipment may become uncontrollable, making certain missions impossible for the helicopter to perform. If additional mission equipment requires additional control components, the light helicopter cockpit may not be able to accommodate these, impacting user experience.

[0003] To this end, light helicopters require a display control method based on a floating menu. Pilots call up the floating menu based on the mission scenario and flight phase, using a knob to select menu items, alternatives, or modify values, enabling on-demand information display and avionics control. This results in a simpler cockpit display, more flexible control methods, and significantly improved cockpit ergonomics.

[0004] To improve pilot efficiency, light helicopters often feature a floating menu superimposed on the main flight screen. While the main flight screen provides the pilot with basic flight parameters and offers a stable display, the floating menu is primarily used to set mission equipment or optional parameters, offering more flexible functionality. If the floating menu and the main flight screen were handled within the same software, adding mission equipment and modifying the floating menu would require a complete software update and verification, resulting in significant workload and high costs. Summary of the Invention

[0005] Purpose of the invention: To solve the problem of high verification cost of the control function of the extended task device of the floating menu displayed in the cockpit of a light helicopter, the present invention provides a window management system and method for displaying a floating menu on a light helicopter. The display and control functions of the floating menu are treated as a separate module, which is independent of the main display control partition module (which displays the main flight screen function). The display management partition module is used to complete management tasks such as window management, off-screen rendering, user input command distribution, and timeout shutdown, and the floating menu and the main flight screen are integrated into a full-screen image for output.

[0006] At the same time, in order to adapt to the frequent modification characteristics of the floating menu during the development process, the present invention provides a configuration file design, through which functions such as window display content, window switching control, and subsystem control can be specified.

[0007] Technical Solution

[0008] A window management method for displaying a floating menu on a light helicopter is proposed. The display and control functions of the floating menu are treated as a separate application software, which is independent of the main display control application software (which displays the main flight screen function). The display management application software completes management tasks such as window management, off-screen rendering, user input command distribution, and timeout shutdown. The floating menu and the main flight screen are then combined into a full-screen image for output.

[0009] At the same time, in order to adapt to the frequent modification characteristics of the floating menu during the development process, the present invention provides a configuration file design, through which functions such as window display content, window switching control, and subsystem control can be specified.

[0010] A window management system for displaying a floating menu on a light helicopter, comprising: a main display control partition module, a floating menu display control partition module, and a display management partition module;

[0011] The display management partition module is used to obtain input events of peripheral keys (including buttons and knobs) and pass the input events to the main display control partition module and the floating menu display control partition module;

[0012] The display management partition module is also used to control the current floating menu window number according to the input event, and send the floating menu window number to the floating menu display control partition module and the main display control partition module;

[0013] The main display control partition module is used to complete the communication between the subsystems, draw the main flight screen according to the input of each subsystem, and send control data to the subsystems it controls;

[0014] The floating menu display control partition module is used to draw the floating menu screen according to the floating menu window number, and complete the control function of the options in the floating menu according to the input events of the surrounding keys;

[0015] The display management partition module is also used to overlay the main flight screen and the floating menu screen.

[0016] A window management method for displaying a floating menu on a light helicopter includes the following steps:

[0017] Step 1: System initialization: The main display control partition module, the floating menu display control partition module, and the display management partition module read the floating menu configuration file respectively, initialize the floating menu window number to 0, and display the initial main flight screen;

[0018] Step 2: Based on the floating menu window number and the floating menu configuration file, the main display control partition module and the floating menu display control partition module jointly complete the drawing of the floating menu screen. The display management partition module overlays the main flight screen and the floating menu screen, while continuously monitoring whether there are any peripheral key input events. If so, proceed to the next step; otherwise, continue to step 2.

[0019] Step 3: The display management partition module completes the processing of the peripheral key input event according to the floating menu configuration file and the floating menu window number, updates the floating menu window number or distributes the peripheral key input event to the main display control partition module and the floating menu display control partition module;

[0020] Step 4: The floating menu display control partition module completes a series of tasks such as switching options in the floating menu, entering the editing state, displaying the editing state, exiting the editing state, and sending the editing results to the main display control partition module based on the peripheral key input events, the floating menu configuration file, and the floating menu window number;

[0021] Step 5: If the main display control partition module receives the editing result sent by the floating menu display control partition module, it converts the editing result into interface data between the subsystem and the floating menu configuration file, and completes the interface data transmission.

[0022] Step 6: Display the management partition module timing, and determine whether there is a new peripheral key input event during the timing. If so, return directly to step 3. If not, the superimposed floating menu screen will be hidden after the timing ends and return to step 2.

[0023] Furthermore, the floating menu configuration file includes: multiple window configuration information and floating window switching configuration information;

[0024] Window configuration information includes: window name, window ID, window screen coordinates, window width, option row spacing, and multiple option configuration information;

[0025] Option configuration information includes: option id, option type, option name, option editing information, status word interface, and control word interface;

[0026] The floating window switching configuration information includes: a plurality of corresponding relationships of "current window number, peripheral key ID, switching window number".

[0027] The option editing information of different option types is different. The option editing information of the multiple-choice type consists of several multiple-option information.

[0028] The options for editing the numeric value include: text after the value, text before the value, number format, step value, minimum value, and maximum value.

[0029] The status word interface and control word interface include: subsystem ID, data block number, data block length, data word length, byte offset, bit offset, and data word. The main display control partition module can match the editing content of each option with a certain interface of a certain subsystem based on the above information.

[0030] With this flexible configuration method, when adding, deleting, or modifying floating windows and options, you don't need to modify the code, you only need to modify the configuration file.

[0031] Furthermore, if the floating menu window number is 0, it means that no floating menu needs to be displayed. The floating menu window number is used to determine the current floating menu display status. This value is controlled by the display management partition module and sent to the other two modules.

[0032] Furthermore, in the second step, the floating menu screen drawing process is as follows:

[0033] The main display control partition module determines the value of the floating menu window number. If it is not 0, it searches for the corresponding window configuration information in the floating menu configuration file according to the floating menu window number. According to the status word interface in the multiple option configuration information in the window configuration information, it converts the subsystem status data into option status data and sends it to the floating menu display control partition module. The option status data format is: window id, option id, option status value;

[0034] The floating menu display control partition module searches for the configuration information corresponding to the window number, draws the border and title at the specified position, then searches for all option configuration information of the window number, draws the option name on the left, and draws the option setting value on the right according to the option status data and option editing information.

[0035] The floating menu display control partition module draws the floating menu screen based on the received option status data, the floating menu window number, and the configuration file. For example, if the floating menu window number is 1, it searches for the configuration information of window 1, draws the border and title at the specified location, then searches for all option configuration information of window 1, draws the option names on the left, and draws the option settings on the right based on the option status data and option edit information.

[0036] Furthermore, in the third step, the processing of peripheral key input events is as follows:

[0037] According to the floating window switching configuration information in the configuration file, determine whether the input event is a floating window switching event. If so, update the floating menu window number according to the switching configuration, current window number, and peripheral key ID and send it to the floating menu display control partition module and the main display control partition module. If not, determine the target object of the input event based on whether the floating menu window number is 0. If it is 0, distribute it to the main display control partition module; if not, distribute it to the floating menu display control partition module.

[0038] Furthermore, in the fourth step, the floating menu display control partition module completes the processing of the peripheral key input event as follows:

[0039] If the floating menu display control partition is in the non-editing state, when receiving a knob rotation input event, it is judged as a "switch option" event, and the selected options are switched in sequence according to the option configuration information in the window configuration information. The screen displays the selected option name superimposed with the background color. When receiving a knob press input event, it is judged as an "enter edit" event, and the control enters the editing state. The screen displays the option setting value superimposed with the background color.

[0040] If it is in the editing state, when a knob rotation input event is received, it is judged as an "edit" event, and the display of the option setting value is controlled according to the option configuration information; when a knob press input event is received, it is judged as a "confirm" event and the current editing result is sent to the main display control partition module, and the option editing state is exited. The editing result format is: window id, option id, option setting value.

[0041] For example, if the current setting value for a multiple-choice option is "Item 1," then when this event is processed, the setting value switches to "Item 2." For a numeric edit option, if the current setting value is "10," then when this event is processed, the setting value switches to "10 + step value." When a knob press input event is received, it is interpreted as a "confirm" event, the current edit result is sent to the main display control partition module, and the option edit state is exited. The edit result format is: window ID, option ID, option setting value.

[0042] Furthermore, in the fifth step, the editing results are converted into interface data between the subsystems according to the floating menu configuration file as follows:

[0043] If the main display control partition module receives the editing result sent by the floating menu display control partition module, it searches for the control word interface of the corresponding option in the configuration file according to the window ID and option ID in the editing result, and converts the option setting value into interface data according to the subsystem ID, data block number, data block length, data word length, byte offset, bit offset, and data word and sends it to the corresponding subsystem.

[0044] Furthermore, in the sixth step, after the floating menu screen disappears, the floating menu window number is initialized to 0 and sent to the floating menu display control partition module.

[0045] Furthermore, the drawing and control of the floating menu is a common module, such as Figure 6 and Figure 7 The two floating menus shown are both implemented using the same general module. Due to the difference in configuration information of the two floating menus, the same general module can draw two floating menus.

[0046] Further, if Figure 10 As shown, the main display control partition module, the floating menu display control partition module, and the display management partition module read the same floating menu configuration file, which is the basis for the three modules to display and control;

[0047] The main display control partition module completes data communication with the subsystem, including "status data" and "control instructions". After receiving the "status data", it converts it into "option status data" and sends it to the floating menu display control partition module to support the display of the floating menu;

[0048] The display management partition module completes the work of obtaining input events from the display and distributes the input events to the other two modules. At the same time, it is also responsible for completing the control of the floating menu window number and distributing it to the other two modules;

[0049] The floating menu display control partition module sends the option editing results after editing confirmation to the main display control partition module, which is finally converted into control instructions by the main display control partition module and sent to the corresponding subsystem.

[0050] In summary, the beneficial effects of the present invention are as follows:

[0051] The present invention utilizes a window management method for displaying a floating menu, so that the main display control application software and the floating menu application software can run independently of each other, and can display comprehensively as needed according to the pilot's operation. The floating menu solves the problem of limited display area and complex control logic of highly integrated display and control components on light helicopters, and provides pilots with an efficient and fast operation method. By independently designing the floating menu application software and the main display control application software, the display management software integrates the management window, so that the mission equipment control function can be flexibly and quickly expanded in the floating menu. Corresponding software changes will not affect other software, which can significantly reduce the workload of display system software verification and meet the diverse mission customization requirements of helicopter users efficiently and at low cost. The display management software keeps monitoring the window display time and pilot operation, and can control the window to automatically exit when timeout, which can reduce pilot operation and effectively improve human-machine ergonomics.

[0052] The present invention is applicable to window management of all helicopter models using a floating menu display mode, and realizes configurable design of the floating menu by adopting a configuration file mode, and has the advantages of high modularity, strong maintainability and strong scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 This is a schematic diagram of the three software partitions including display management in the present invention;

[0054] Figure 2 It is a schematic diagram of partition drawing in the present invention;

[0055] Figure 3 It is a multi-partition drawing data flow diagram in the present invention;

[0056] Figure 4 It is a flowchart of user input processing in the present invention;

[0057] Figure 5 This is a flowchart of the floating menu display control process in the present invention;

[0058] Figure 6 This is a schematic diagram of the "Parameter Settings" floating menu in the present invention;

[0059] Figure 7 This is a schematic diagram of the "Display Settings" floating menu in the present invention;

[0060] Figure 8 It is the main flight screen in the present invention;

[0061] Figure 9 It is a schematic diagram of the configuration file structure and content in the present invention;

[0062] Figure 10 is the data flow diagram of the present invention;

[0063] Figure 11 This is a schematic diagram of a configuration file for a multiple-choice option in the present invention;

[0064] Figure 12 This is a schematic diagram of a configuration file for a multiple-choice option in the present invention;

[0065] Figure 13 This is a schematic diagram of a configuration file for floating window switching in the present invention. DETAILED DESCRIPTION

[0066] The present invention will now be further described with reference to specific implementations and the accompanying drawings:

[0067] A window management system for displaying a floating menu on a light helicopter treats the display and control functions of the floating menu as a separate application software, which is independent of the main display control application software (which displays the main flight screen function). The display management application software completes management tasks such as window management, off-screen rendering, user input command distribution, and timeout shutdown, and integrates the floating menu and the main flight screen into a full-screen output.

[0068] At the same time, in order to adapt to the frequent modification characteristics of the floating menu during the development process, the present invention provides a configuration file design, through which functions such as window display content, window switching control, and subsystem control can be specified.

[0069] A window management system for displaying a floating menu on a light helicopter, such as Figure 1 As shown, the system includes: a main display control partition module, a floating menu display control partition module, and a display management partition module;

[0070] The display management partition module is used to obtain input events of peripheral keys (including buttons and knobs) and pass the input events to the main display control partition module and the floating menu display control partition module;

[0071] The display management partition module is also used to control the current floating menu window number according to the input event, and send the floating menu window number to the floating menu display control partition module and the main display control partition module;

[0072] The main display control partition module is used to complete the communication between the subsystems, draw the main flight screen according to the input of each subsystem, and send control data to the subsystems it controls;

[0073] The floating menu display control partition module is used to draw the floating menu screen according to the floating menu window number, and complete the control function of the options in the floating menu according to the input events of the surrounding keys;

[0074] The display management partition module is also used to overlay the main flight screen and the floating menu screen, such as Figure 8 shown.

[0075] A window management method for displaying a floating menu on a light helicopter, such as Figure 2 and Figure 3 As shown, the following steps are included:

[0076] Step 1: System initialization: The main display control partition module, the floating menu display control partition module, and the display management partition module read the floating menu configuration file respectively, initialize the floating menu window number to 0, and display the initial main flight screen;

[0077] Step 2: Based on the floating menu window number and the floating menu configuration file, the main display control partition module and the floating menu display control partition module jointly complete the drawing of the floating menu screen. The display management partition module overlays the main flight screen and the floating menu screen, while continuously monitoring whether there are any peripheral key input events. If so, proceed to the next step; otherwise, continue to step 2.

[0078] Step 3: The display management partition module completes the processing of the peripheral key input event according to the floating menu configuration file and the floating menu window number, updates the floating menu window number or distributes the peripheral key input event to the main display control partition module and the floating menu display control partition module;

[0079] Step 4: The floating menu display control partition module completes a series of tasks such as switching options in the floating menu, entering the editing state, displaying the editing state, exiting the editing state, and sending the editing results to the main display control partition module based on the peripheral key input events, the floating menu configuration file, and the floating menu window number;

[0080] Step 5: If the main display control partition module receives the editing result sent by the floating menu display control partition module, it converts the editing result into interface data between the subsystem and the floating menu configuration file, and completes the interface data transmission.

[0081] Step 6: Display the management partition module timing, and determine whether there is a new peripheral key input event during the timing. If so, return directly to step 3. If not, the superimposed floating menu screen will be hidden after the timing ends and return to step 2.

[0082] Use the configuration file (XML file) to specify the display information and interface information of the pop-up window.

[0083] like Figure 9 As shown, the content of the configuration file includes: several window configuration information and floating window switching configuration information.

[0084] The window configuration information includes name, window id, window screen coordinates, window width, option row spacing, and several option configurations. The name is the title display content of the floating menu, such as Figure 6 The name of the floating menu shown is "PAR"; the window id is the unique identifier of the floating menu, that is, the floating menu window number; the window screen coordinates specify the display position of the upper left corner of the floating menu on the screen; the window width specifies the width of the floating menu, and the option row spacing specifies the interval between each option in the floating menu; several option configurations specify the display and interface control information of the options. It is not recommended to set more than 10 options in a floating menu.

[0085] Option configuration information includes: option id, option type, option name, option editing information, status word interface, and control word interface. Option id is the unique identifier of the option; there are two option types to choose from, multiple-choice type and value editing type; option name is the display content on the left side of the option, such as Figure 6 "ALT", "DH", etc. shown;

[0086] The option editing information of different option types is different. The option editing information of the multiple-choice type is composed of several multiple option information. For example, the editing information of the "NORTH" option shown in FIG7 includes two items: "0-TRU" and "1-MAG".

[0087] The options for editing numerical values include: text after the value, text before the value, number format, step value, minimum value, and maximum value. The text after the value is used to display the unit, such as Figure 6 The "FT" option in the "ALT" option is displayed; the text before the value is used to display the numerical prefix, such as Figure 6 The "CA" display of the "F-NO" option in the display. The number format indicates the integer / decimal format of the value. For example, "FFF.FF" indicates that the integer is displayed as hundreds and tens, and the decimal is displayed with two decimal places. The step value indicates the step size of the value when the knob is rotated one grid. The maximum and minimum values specify the editable range of the value.

[0088] The status word interface and control word interface include: subsystem ID, data block number, data block length, data word length, byte offset, bit offset, and data word. The main display control partition module can match the editing content of each option with a certain interface of a certain subsystem based on the above information.

[0089] The floating window switching configuration information includes: a number of corresponding relationships of "current window number, peripheral key ID, and switching window number".

[0090] With this flexible configuration method, when adding, deleting, or modifying floating windows and options, you don't need to modify the code, you only need to modify the configuration file.

[0091] The floating menu window number is used to determine the current floating menu display status. A value of 0 indicates that there is no floating menu. This value is controlled by the display management partition module and sent to the other two modules.

[0092] The specific description of the drawing of the floating menu screen in the second step is: the main display control partition module determines the value of the floating menu window number. If it is not 0, the corresponding window configuration information in the floating menu configuration file is searched according to the floating menu window number. According to the status word interface in the several option configuration information in the window configuration information, the subsystem status data is converted into option status data and sent to the floating menu display control partition module. The option status data format is: window id, option id, option status value.

[0093] The floating menu display control partition module draws the floating menu screen based on the received option status data, the floating menu window number, and the configuration file. For example, if the floating menu window number is 1, it searches for the window 1 configuration information, draws the border and title at the specified location, then searches for all option configuration information for window 1, draws the option names on the left, and draws the option settings on the right based on the option status data and option editing information. For example, the option status data of the "NORTH" option is 0, while the option editing information specifies that an option status data value of 0 corresponds to displaying the "MAG" option setting value.

[0094] In the third step of the window peripheral key input management method, the input events of the display peripheral keys are received and distributed by the display management partition module, as shown in Figure 4. The "floating window switching configuration" in the configuration file is used to determine whether the input event is a floating window switching event. If so, the floating menu window number is updated according to the switching configuration, the current window number, and the peripheral key ID and sent to the floating menu display control partition module and the main display control partition module. If not, the target object of the input event is determined based on whether the floating menu window number is 0. If it is 0, it is distributed to the main display control partition module. If not, it is distributed to the floating menu display control partition module.

[0095] The method for the floating menu display control partition to handle peripheral key input events in step 4 is specifically described as follows: Figure 5 As shown, if the floating menu display control partition is in non-editing state, when receiving the knob rotation input event, it is judged as a "switch option" event, and the selected options are switched in sequence according to the option configuration information in the window configuration information, and the screen shows the selected option name superimposed with the background color; when receiving the knob pressing input event, it is judged as an "enter edit" event, and the control enters the editing state, and the screen shows the option setting value superimposed with the background color. The switching configuration file is as follows Figure 13 shown.

[0096] If it is in the editing state, when the knob rotation input event is received, it is judged as an "edit" event, and the display of the option setting value is controlled according to the option configuration information. For example, if the current option setting value of a multiple-choice option is "item 1", then when the event is processed, the option setting value is switched to "item 2". If the current option setting value of a numerical editing option is "10", then when the event is processed, the option setting value is switched to "10+step value". When the knob press input event is received, it is judged as a "confirmation" event and the current editing result is sent to the main display control partition module, and the option editing state is exited. The editing result format is: window id, option id, option setting value. The multiple-choice configuration file is as follows: Figure 11 , as shown in 12.

[0097] The subsystem interface data management method of the main display control partition module in the fifth step is specifically described as follows: if the main display control partition module receives the editing result sent by the floating menu display control partition module, it searches for the control word interface of the corresponding option in the configuration file according to the window ID and option ID in the editing result, and converts the option setting value into interface data according to the subsystem ID, data block number, data block length, data word length, byte offset, bit offset, and data word and sends it to the corresponding subsystem.

[0098] The specific description of the superimposed floating menu screen disappearing after the timing in the sixth step is: the display management partition module counts, and during the timing period, it is determined whether there is a new peripheral key input event. If not, the floating menu window number is initialized to 0 and sent to the floating menu display control partition module.

[0099] The drawing and control of the floating menu is a common module, such as Figure 6 and Figure 7 The two floating menus shown are both implemented using the same general module. Due to the difference in configuration information of the two floating menus, the same general module can draw two floating menus.

[0100] like Figure 10 As shown, the main display control partition module, the floating menu display control partition module, and the display management partition module read the same floating menu configuration file, which is the basis for the three modules to display and control;

[0101] The main display control partition module completes data communication with the subsystem, including "status data" and "control instructions". After receiving the "status data", it converts it into "option status data" and sends it to the floating menu display control partition module to support the display of the floating menu;

[0102] The display management partition module completes the work of obtaining input events from the display and distributes the input events to the other two modules. At the same time, it is also responsible for completing the control of the floating menu window number and distributing it to the other two modules;

[0103] The floating menu display control partition module sends the option editing results after editing confirmation to the main display control partition module, which is finally converted into control instructions by the main display control partition module and sent to the corresponding subsystem.

[0104] The present invention utilizes a window management method for displaying a floating menu, so that the main display control application software and the floating menu application software can run independently of each other, and can display comprehensively as needed according to the pilot's operation. The floating menu solves the problem of limited display area and complex control logic of highly integrated display and control components on light helicopters, and provides pilots with an efficient and fast operation method. By independently designing the floating menu application software and the main display control application software, the display management software integrates the management window, so that the mission equipment control function can be flexibly and quickly expanded in the floating menu. Corresponding software changes will not affect other software, which can significantly reduce the workload of display system software verification and meet the diverse mission customization requirements of helicopter users efficiently and at low cost. The display management software keeps monitoring the window display time and pilot operation, and can control the window to automatically exit when timeout, which can reduce pilot operation and effectively improve human-machine ergonomics.

[0105] The present invention is applicable to window management of all helicopter models using a floating menu display mode, and realizes configurable design of the floating menu by adopting a configuration file mode, and has the advantages of high modularity, strong maintainability and strong scalability.

Claims

1. A window management system for displaying a floating menu on a light helicopter, characterized by: The system includes: Main display control partition module, floating menu display control partition module, display management partition module; The display management partition module is used to obtain input events of peripheral keys and pass the input events to the main display control partition module and the floating menu display control partition module; The display management partition module is also used to control the current floating menu window number according to the input event, and send the floating menu window number to the floating menu display control partition module and the main display control partition module; The main display control partition module is used to complete the communication between the subsystems, draw the main flight screen according to the input of each subsystem, and send control data to the subsystems it controls; The floating menu display control partition module is used to draw the floating menu screen according to the floating menu window number, and complete the control function of the options in the floating menu according to the input events of the surrounding keys; The display management partition module is also used to overlay the main flight screen and the floating menu screen.

2. A window management method for displaying a floating menu on a light helicopter, implemented based on the system of claim 1, characterized in that: The following steps are involved: Step 1: System initialization: The main display control partition module, the floating menu display control partition module, and the display management partition module read the floating menu configuration file respectively, initialize the floating menu window number to 0, and display the initial main flight screen; Step 2: Based on the floating menu window number and the floating menu configuration file, the main display control partition module and the floating menu display control partition module jointly complete the drawing of the floating menu screen. The display management partition module overlays the main flight screen and the floating menu screen, while continuously monitoring whether there are any peripheral key input events. If so, proceed to the next step; otherwise, continue to step 2. Step 3: The display management partition module completes the processing of the peripheral key input event according to the floating menu configuration file and the floating menu window number, updates the floating menu window number or distributes the peripheral key input event to the main display control partition module and the floating menu display control partition module; Step 4: The floating menu display control partition module completes the processing of peripheral key input events, performs option switching, state switching, and sends the editing results to the main display control partition module; Step 5: If the main display control partition module receives the editing result sent by the floating menu display control partition module, it converts the editing result into interface data between the subsystem and the floating menu configuration file, and completes the interface data transmission; Step 6: Display the management partition module timing, and determine whether there is a new peripheral key input event during the timing. If so, return directly to step 3. If not, the superimposed floating menu screen will be hidden after the timing ends and return to step 2.

3. The method according to claim 2, wherein: The floating menu configuration file includes: multiple window configuration information and floating window switching configuration information; Window configuration information includes: window name, window ID, window screen coordinates, window width, option row spacing, and multiple option configuration information; Option configuration information includes: option id, option type, option name, option editing information, status word interface, and control word interface; The floating window switching configuration information includes: multiple correspondences between "current window number, peripheral key ID, and switching window number".

4. The method according to claim 3, wherein: A floating menu window number of 0 indicates that no floating menu needs to be displayed.

5. The method according to claim 4, characterized in that: In the second step, the floating menu screen drawing process is as follows: The main display control partition module determines the value of the floating menu window number. If it is not 0, it searches for the corresponding window configuration information in the floating menu configuration file according to the floating menu window number. According to the status word interface in the multiple option configuration information in the window configuration information, it converts the subsystem status data into option status data and sends it to the floating menu display control partition module. The option status data format is: window id, option id, option status value; The floating menu display control partition module searches for the configuration information corresponding to the window number, draws the border and title at the specified position, then searches for all option configuration information of the window number, draws the option name on the left, and draws the option setting value on the right according to the option status data and option editing information.

6. The method according to claim 5, characterized in that: In the third step, the processing process of the peripheral key input event is as follows: According to the floating window switching configuration information in the configuration file, determine whether the input event is a floating window switching event. If so, update the floating menu window number according to the switching configuration, current window number, and peripheral key ID and send it to the floating menu display control partition module and the main display control partition module. If not, determine the target object of the input event based on whether the floating menu window number is 0. If it is 0, distribute it to the main display control partition module; if not, distribute it to the floating menu display control partition module.

7. The method according to claim 6, characterized in that: In the fourth step, the floating menu display control partition module completes the processing of the peripheral key input event as follows: If the floating menu display control partition is in the non-editing state, when a knob rotation input event is received, it is judged as a "switch option" event, and the selected option is switched in sequence according to the option configuration information in the window configuration information. The screen displays the selected option name superimposed with the background color. When a knob press input event is received, it is judged as an "enter edit" event, and the control enters the editing state. The screen displays the option setting value superimposed with the background color. If it is in the editing state, when a knob rotation input event is received, it is judged as an "edit" event, and the display of the option setting value is controlled according to the option configuration information; when a knob press input event is received, it is judged as a "confirm" event and the current editing result is sent to the main display control partition module, and the option editing state is exited. The editing result format is: window id, option id, option setting value.

8. The method according to claim 7, wherein: In the fifth step, the editing results are converted into interface data between the subsystems according to the floating menu configuration file as follows: If the main display control partition module receives the editing result sent by the floating menu display control partition module, it searches for the control word interface of the corresponding option in the configuration file according to the window ID and option ID in the editing result, and converts the option setting value into interface data according to the subsystem ID, data block number, data block length, data word length, byte offset, bit offset, and data word and sends it to the corresponding subsystem.

9. The method according to claim 8, characterized in that: In the sixth step, after the floating menu screen disappears, the floating menu window number is initialized to 0 and sent to the floating menu display control partition module.

Citation Information

Patent Citations

  • Method and apparatus for generating program menu

    CN101408843A

  • Single-knob controlling method for intelligent instrument

    CN102799349A

  • Mobile terminal and method and device for switching themes of suspension window

    CN106874003A

  • Suspension menu display control method, terminal and computer readable storage medium

    CN114153353A

  • Method and apparatus providing configurable pop-ups

    US20080059898A1

Cited By

  • Drawing method and device of chemical structural formula and computer equipment

    CN122491222A