Note bank control method and device for flight management operation interface
By constructing a note-line state machine and loading configuration files, complete logical control of the note-line in the flight management system was achieved, solving the problems of hardware dependence and format incompatibility in existing technologies, and improving the realism of simulation training and operational consistency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING BLUESKY AVIATION TECH CO LTD
- Filing Date
- 2025-12-09
- Publication Date
- 2026-05-12
AI Technical Summary
In existing technologies, implementing logical control of the note row in the flight management system through simulation software suffers from problems such as hardware dependence, incomplete logic, unsupported format, and uncontrollable alarm limit thresholds, resulting in high implementation costs for simulation software.
Construct a sticky note state machine, including input state, editing state, parsing state, output state, and alarm storage state. Load the sticky note configuration file, respond to key trigger events for control, and implement the input, editing, deletion, rewriting, and alarm logic of the sticky note.
The software simulation enabled complete logical control of the note-taking line, replicating the real aircraft operation experience at low cost and improving the realism and consistency of pilot training.
Smart Images

Figure CN122019422A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of flight management technology, and in particular to a method and apparatus for controlling the note row of a flight management operation interface. Background Technology
[0002] The Flight Management Computer System (FMS) is a crucial component of avionics, automating various flight missions and reducing manual workload. As a fundamental part of modern passenger aircraft avionics, the FMS is responsible for flight plan management, navigation, horizontal and vertical guidance, performance calculations, and other functions. It automates various flight missions, reduces manual workload, uses various sensors (such as GPS) to determine the aircraft's position, automatically optimizes flight paths, improves flight efficiency and safety, and performs flight planning and navigation, including planning flight routes, altitudes, and speeds, managing flight routes, and navigating waypoints.
[0003] The flight management system mainly achieves: Flight Planning: FMS allows pilots to input information such as origin, destination, waypoints, and route altitude to generate flight plans.
[0004] Navigation: FMS integrates multiple navigation sources, such as GPS, inertial navigation systems (INS), and radio navigation (e.g., VOR, NDB), providing accurate position and heading information. It also monitors the deviation between the aircraft's heading and the flight plan in real time.
[0005] Flight Management: Adjusts flight altitude, speed, and heading to maintain optimal flight path. Automatically executes flight maneuvers such as turns, ascents, and descents.
[0006] Performance Calculation: Based on the aircraft model and current environmental conditions, FMS can calculate fuel consumption, flight time, optimal altitude, and other information in real time. It provides performance data for takeoff, cruise, and landing phases.
[0007] Autopilot Integration: FMS can be integrated with autopilot systems to automatically execute flight plans and reduce the workload of pilots.
[0008] Flight Path Display: Displays flight path information and parameters on the cockpit display to help pilots monitor the aircraft status in real time.
[0009] In the aircraft cockpit, pilots operate the flight management system (FMS) via the Control Display Unit (CDU). The CDU is a crucial device for pilots to input flight data and serves as the display interface for the FMS. It consists of a square display and alphanumeric function keys, providing the pilot with the necessary control interface. Pilots operate the CDU to control the FMS, performing operations such as creating, editing, and deleting flight plans, creating and deleting waypoints, displaying FMS position parameter information, and setting the FMS radio tuning frequency.
[0010] The note line of the CDU device is the last line of the CDU display device. It displays the temporary data area for editing and operating the FMS, and shows the data content that is currently being edited. It is also called the draft line of the CDU display. It includes the display status of the combination input of alphanumeric keys, the response after executing the delete control function, and the portable control of the function line content displayed on the CDU page. That is, operating the corresponding line selection key will write the content back to the note line and continue to execute the editing control.
[0011] Currently, there is still a gap in the development of CDU device simulation using simulation software. Traditional methods involve stimulating onboard real devices to simulate the CDU screen. This requires data-driven simulation according to the interface protocols specified by the onboard equipment, increasing development costs. Therefore, existing technologies suffer from hardware reliance, incomplete logic, format incompatibility, and uncontrollable alarm thresholds when using software to simulate CDU devices. Summary of the Invention
[0012] This invention provides a method and device for controlling the note rows in a flight management operation interface, which solves the defect in the prior art that the logical control processing of note rows cannot be realized through simulation software. It realizes all input, editing, deletion, rewriting and alarm logic of note rows on the aircraft display component, and replicates the real aircraft operation experience at low cost.
[0013] This invention provides a method for controlling the note row in a flight management operation interface, comprising: Construct a sticky note state machine, which includes multiple reusable states, including input state, editing state, parsing state, output state, and alarm storage state; During the system startup phase, a note row configuration file is loaded. The note row configuration file records the maximum allowed length of the note row, the long press clear time threshold, and the alarm dwell time threshold. In the multiple reusable states, the sticky notes are controlled according to the sticky note configuration file in response to a key trigger event.
[0014] In one possible implementation, the method further includes: In input mode, the key trigger events are concatenated character by character according to the note row configuration file, and automatically truncated when the maximum allowed length is reached. In edit mode, short press delete events are recognized to delete the last character, and long press delete events are recognized and the note line string is cleared when the duration exceeds the long press clear time threshold. In parsing mode, the sticky note string is automatically formatted and parsed based on preset rules; In output mode, when an external write trigger signal is detected and the note row is currently empty, the selected parameter value is written back to the note row according to the data format template, and editing is allowed after the writing is completed; In the alarm storage state, when an external alarm trigger signal is received, the current note line content is written to the temporary cache and overwritten with the alarm string. After the alarm dwell time reaches the alarm dwell time threshold, the original content is restored from the temporary cache.
[0015] In one possible implementation, the method further includes: If the format of the note line string is automatically recognized based on preset rules and the delimiter is identified, then the location or distance of the note line is parsed. If the format of the note string is automatically recognized based on preset rules and the direction letter is identified, then the latitude, longitude, degree, minute, and second parsing is performed on the note string. If the format of the note line string is automatically recognized based on preset rules, and the decimal point is identified, then floating-point parsing is performed on the note line.
[0016] In one possible implementation, the method further includes: Position the directional letter; Based on the position of the directional letter, the numerical substring is sliced according to the degree, minute, second and digit positions, and the directional letter is converted into positive and negative signs and assigned to the latitude and longitude variables.
[0017] In one possible implementation, the method further includes: Query the note row configuration file to obtain the target display format corresponding to the selected parameter; Based on the target display format, the numerical values are padded with leading zeros, delimiters and symbols are inserted, and a string conforming to the display component page's agreed format is generated before being written to the note line.
[0018] In one possible implementation, the method further includes: Create or edit flight plans based on the controlled notes, or modify waypoint parameters.
[0019] In one possible implementation, the method further includes: The long press clear time threshold, the maximum allowed length, and the alarm dwell time threshold are stored in XML or JSON format. The temporary cache area adopts a stack or queue structure, which supports the restoration of the sticky note history content according to time control requirements after multiple alarms are triggered in succession.
[0020] The present invention also provides a note row control device for a flight management operation interface, comprising the following modules: A construction module is used to construct a note row state machine, which includes multiple reusable states, including input state, editing state, parsing state, output state, and alarm storage state. The loading module is used to load the note line configuration file during the system startup phase. The note line configuration file records the maximum allowed length of the note line, the long press clear time threshold, and the alarm dwell time threshold. The control module is used to control the note row according to the note row configuration file in response to a key trigger event in the multiple reusable states.
[0021] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the note row control method of the flight management operation interface as described above.
[0022] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the note row control method of the flight management operation interface as described above.
[0023] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the note row control method of the flight management operation interface as described above.
[0024] The present invention provides a method and apparatus for controlling the note rows in a flight management interface. By constructing a note row state machine, which includes multiple reusable states—input, editing, parsing, output, and alarm storage states—a note row configuration file is loaded during system startup. This configuration file records the maximum allowed length of the note rows, the long-press clear time threshold, and the alarm dwell time threshold. In these reusable states, the note rows are controlled according to the configuration file in response to button trigger events. Compared to the shortcomings of traditional simulation technologies, which rely on hardware, have incomplete logic, lack format support, and have uncontrollable alarm limit thresholds, this solution, through software simulation, realizes all input, editing, deletion, rewriting, and alarm logic for the note rows on the aircraft display component, replicating the real aircraft operating experience at low cost. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0026] Figure 1 This is a flowchart illustrating the note row control method for the flight management operation interface provided by the present invention.
[0027] Figure 2 This is a flowchart of the input operation execution process that supports arbitrary content, provided by the present invention.
[0028] Figure 3 This is a flowchart of the operation execution of deletion control commands provided by the present invention.
[0029] Figure 4 This is a flowchart of the operation execution for controllable line length of simulated sticky notes provided by the present invention.
[0030] Figure 5 This invention provides a flowchart of the simulation process for splitting input data based on its content rules.
[0031] Figure 6 This is a flowchart of the simulation special character control and processing operation provided by the present invention.
[0032] Figure 7 This is a flowchart of the alarm character display control operation execution provided by the present invention.
[0033] Figure 8 This is a flowchart of the write control operation execution provided by the present invention.
[0034] Figure 9 This invention provides a flowchart for writing out the control operation execution process.
[0035] Figure 10 This is a schematic diagram of the sticky note control device for the flight management operation interface provided by the present invention.
[0036] Figure 11 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0038] To facilitate understanding of the embodiments of the present invention, further explanations and descriptions will be provided below with reference to the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of the present invention.
[0039] The implementation of this invention will be applied to simulator training equipment, which is a device designed to meet the training requirements of pilots for flight procedure operation and is of great significance for pilots to perform procedure training.
[0040] Training simulation equipment is crucial for training flight students. Since flight students cannot directly pilot aircraft for flight training, practicing flight procedures on flight training simulators is essential. High-fidelity simulation is vital for improving pilots' flying skills. However, there are still gaps in the simulation of CDU (Computer-Assisted Duty Unit) equipment. Among these, correctly controlling the processing logic of note lines is crucial for simulation equipment, effectively improving pilots' execution of operating procedures for real aircraft. As the requirements for simulation fidelity in flight simulators and customer needs increase, the demand for simulation functions that achieve logic consistent with real aircraft operations is also rising. High-fidelity simulation training can enhance the realistic training experience for flight students.
[0041] Figure 1 This is a flowchart illustrating the note row control method for the flight management operation interface provided by the present invention, as shown below. Figure 1 As shown, the method includes the following: S11. Construct the sticky note state machine.
[0042] The note-taking state machine includes multiple reusable states, which can include at least the input state, editing state, parsing state, output state, and alarm storage state.
[0043] This invention provides a note-taking row operation logic based on software simulation CDU control function. The note-taking row writes the current content into the corresponding operation content, such as writing the input latitude and longitude location data into the latitude and longitude area, and writing the azimuth and distance into the corresponding area according to the display interface protocol requirements. It also supports the input of date and time, etc. The specific logic includes: 1. Supports input of any content. The order in which the content of the note row is entered can be controlled by the number and letter keys, and the input content can be combined into a string.
[0044] 2. The system responds to deletion control commands at any time during input, executing transient deletion control commands that can only delete the last entered character. It also supports long-press control commands, meaning that during a long press, all string content in the current note row can be cleared. The duration of the long-press control command is configurable, allowing control over the long-press duration according to device requirements.
[0045] 3. The length of the note line is controllable. It supports limiting the length according to the current note line requirement. If the input exceeds the limit, the length of the note line string will no longer increase. The length control parameter can be adjusted according to the device model requirements.
[0046] 4. When there is a decimal point control input in the note row, it supports the parsing of floating-point data. Based on the control of the position of the decimal point in the string, a decimal point confirmation flag is added to parse the floating-point data and determine the position of data splitting, thereby facilitating the splitting of data.
[0047] 5. Based on special characters, such as pressing "+" or "-", the corresponding symbol content is added to the beginning of the currently operated note row. When the data is negative, the "-" symbol is displayed. When parsing the data content in the note row, the corresponding symbol is interpreted as positive or negative based on the current input symbol status.
[0048] 6. When displaying alarm characters on the sticky note line, it supports overwriting the currently displayed content with the alarm characters. It also supports restoring the sticky note line content before the alarm characters were displayed when the displayed alarm characters disappear. The display time of the alarm characters is controllable and can be achieved by adjusting the configuration control parameters.
[0049] 7. When executing the input control function, that is, when writing the selected content into the current note row, the input confirmation control is executed by operating the note row to determine whether it meets the requirements of the current input parameters. Due to different data types and parameter requirements, the control function of whether the input can be executed is judged when confirming the input. If the input cannot be executed, the current note row is kept displayed. If the input is executed, the content in the note row is cleared.
[0050] S12. Load the sticky note configuration file during system startup.
[0051] The note configuration file should at least record the maximum allowed length, the long press clear time threshold, and the alarm dwell time threshold.
[0052] S13. In the multiple reusable states, in response to a button trigger event, the sticky note row is controlled according to the sticky note row configuration file.
[0053] The specific implementation of note row control in this embodiment of the invention includes the following aspects: 1. Supports input of any content, and allows users to control the addition of content to the note row using number and letter keys.
[0054] The CDU device includes 0-9 numeric keys, all A-Z letter keys, a decimal point, plus / minus signs, and the " / " and space symbols.
[0055] The interface system collects key information and processes key operation information from hardware devices. It is mainly responsible for converting key press messages into 0 and 1 logic control quantities. The CDU simulation unit software determines the current key press state based on the received 0 and 1 control quantity flags to determine whether to execute content input.
[0056] The CDU simulation unit software and interface system agree on key conventions, defining the number of interactive variables based on the number of keys. The CDU simulation unit software parses the actual ASCII code value of each key based on its pressed state, determines the current input content, and concatenates the strings according to the order of key presses to determine the completed note status. The specific operation execution flowchart is shown below. Figure 2 As shown.
[0057] 2. Supports deletion control commands, responding to current long press and short press deletion commands.
[0058] The CDU simulation unit software implements deletion control commands during input. A single press deletes the last character, and continuous character deletion is supported. A long press deletes all currently input characters, effectively clearing the string. Deletion control commands are triggered at any time during input by pressing the delete button on the CDU control panel. This deletes the last character of the currently edited string. Holding the button for a controlled period (calculated based on the software's runtime cycle) deletes the entire currently edited string after the specified time. The control time is configurable and can be adjusted to execute the clear command based on different device requirements. The detailed operation flowchart is shown below. Figure 3 As shown.
[0059] 3. The length of the simulated note line is controllable, and it supports limiting the length according to the current note line requirements. The length control parameter can be adjusted according to the device model requirements.
[0060] The CDU simulation unit software limits the length of the currently edited note line. Based on the device's character length requirements, it imposes a maximum length limit on the currently edited string. When the number of elements in the string exceeds the limit, pressing the input key for letters or numbers again will prevent further character increments in the currently edited string; that is, the string length will no longer increase. The specific operation flowchart is shown below. Figure 4 As shown.
[0061] 4. The simulation is split according to the rules of the input data content.
[0062] The input method for control data of CDU equipment has special requirements. For example, the input format for latitude and longitude is latitude minutes and seconds, and longitude minutes and seconds, and the number of digits occupied by degrees, minutes and seconds is determined according to the length of the corresponding string; the input format for azimuth and distance is azimuth / distance, with the addition of a separator.
[0063] The CDU simulation unit software's note row control executes string input according to the required format. During note row input, the data is split and assigned to different parameter variables. When splitting the note row content, the CDU simulation unit software employs different control methods for different strings: First, for strings containing special characters, locate the special characters in the string and determine their positions. When performing operations on the string, extract the content before and after the special characters, convert the extracted string content into corresponding numerical parameters, and assign values to the numerical parameters accordingly.
[0064] Second, latitude and longitude data are composed of letters and numbers, requiring secondary decomposition. First, locate the letter positions in the string to determine the length of the latitude and longitude values. The range of values can be confirmed by parsing the ASCII code values of the letters. Then, according to the latitude and longitude value requirements, decompose the entire string separately. Determine the length of the displayed value according to the requirements of degrees, minutes, and seconds, and convert the extracted string content into degree, minute, and second parameter values respectively.
[0065] Third, for all numbers, the data is directly split according to the required number of digits. During the splitting process, data is extracted according to the length of the data in the string, and the extracted string content is directly converted into numerical values and assigned to the corresponding variables.
[0066] When a decimal point is input in the note row, it supports parsing floating-point data, locating the decimal point in the string, determining its position, and adding a decimal point confirmation flag based on the decimal point position (used for data splitting to facilitate data splitting). The specific operation flowchart is as follows: Figure 5 As shown.
[0067] 5. Simulate special character control processing.
[0068] The CDU simulation unit software adds the current sign to the beginning of the currently edited string when the "+" or "-" key is pressed, based on the current string input requirements. The "+" and "-" keys on the CDU hardware device are on the same key, and the switching between positive and negative numbers can be achieved by repeatedly pressing the key. The CDU simulation unit software displays a negative sign when the key is pressed and disappears when the key is pressed again, indicating that the currently edited data is a positive value.
[0069] During the simulation analysis process, the system first determines whether sign control exists. If sign control is confirmed, it checks if all data is numerical. If the conditions are met, data input is supported, and parameter data parsing is performed. The specific operation execution flowchart is as follows: Figure 6 As shown.
[0070] 6. Alarm character display control.
[0071] The note row control implemented in this embodiment of the invention supports the display control of alarm information. For airborne equipment, the alarm information is a string of characters that the flight management system displays when it receives fault information during flight. This string is used to remind the pilot that there is an alarm and to take necessary measures.
[0072] When an alarm is triggered by the note row control based on the CDU simulation unit software, the display of the alarm string is controlled. The alarm string is a series of clearly defined alarm messages, constrained by different alarm trigger flag values of the relevant system. The external excitation control signal is executed according to the agreed alarm parameter values. When the alarm validity flag is received, the note row displays the current alarm MSG information content, and a timer starts when the alarm is valid. When the timer expires, the alarm MSG information is cleared, and the note row resumes displaying its original content.
[0073] The present invention implements the display of alarm characters in the note row by setting a temporary buffer. When the alarm information is triggered and valid, the content displayed in the current note row is written to the temporary buffer, and the alarm information content is displayed. When the timer expires, the alarm information content is cleared, and the content written to the temporary buffer is written back to the note row.
[0074] The alarm trigger time is configurable. By modifying the timing parameter, the display time of the alarm message can be controlled, allowing for dynamic configuration based on different devices. The specific operation execution flowchart is shown below. Figure 7 As shown.
[0075] 6. Perform write / write control.
[0076] The write / write control operates on the content of the note row. To write, the corresponding selection key is used to select the content, which is then written to the note row. The write control writes the content selected by the current selection key to the note row; that is, it directly writes the content selected by the current selection key to the note row all at once.
[0077] The write control for the note row activates the currently edited content. Write control is a portable input method for note rows. It works as follows: when the note row is empty, pressing the current page selects editable content, which is then written to the note row. Pilots can modify the note row based on the current content and re-enable input control. This method eliminates the need for pilots to manually input each note row; they can simply modify it as needed.
[0078] This invention implements input control for the note row by parsing key commands for input, such as numbers and letters, concatenating the characters to be input, and then, after input, receiving confirmation commands from the corresponding selection keys on the current page based on the current page's control. The software then parses the currently input string; for example, when inputting a frequency parameter, it parses it into the corresponding frequency parameter value. This embodiment of the invention also clears the edited content in the current note row after input is complete.
[0079] This invention implements sticky note row output control as follows: When the sticky note row is empty, the corresponding page is selected by using the CDU simulation unit software's selection keys or function keys. Pressing the row selection key corresponding to the editable content on that page reverses the content of the selected row into the current sticky note row. This control function is based on the CDU simulation unit software controlling operations on each page. In this embodiment, when rewriting, it first checks if the string in the current sticky note row is empty. If it is empty, the content corresponding to the row selection key is written into the sticky note row, and editing is performed again. Deletion and addition of strings can be performed on the currently edited sticky note row. If it is not empty, writing control is not allowed; that is, the content in the current sticky note row remains unchanged.
[0080] This invention, in its embodiment, considers data input requirements when rewriting content in a note row. The rewritten content is combined to conform to the format used for actual control data input. For example, if a location / distance parameter requires special characters, the numerical data is first converted to a string, then concatenated, and special characters are added. Leading zeros are added when the parameter data value is insufficient in digits. Finally, the data is written into the note row. The writing control flowchart is shown below. Figure 8 As shown, write the control flow diagram as follows. Figure 9 As shown.
[0081] This invention implements a control method for note rows, involving the input and output control of flight plan origin and destination airports in the flight management system, as well as the input and output control of waypoint names, latitude and longitude positions, and reference waypoint bearing and distance parameters during waypoint creation. Controlling note rows facilitates management and ultimately enables the creation and editing of flight plans, as well as the modification of waypoint-related parameters.
[0082] This invention, based on the processing and control of flight plans and waypoints in a flight management system, develops an operable and visual interface for the CDU according to operational setting requirements. In the process of implementing CDU operation control logic, the logical control function of the note row is a crucial part of CDU page logic development. It is an important control link in the development of CDU screen control logic software for handling shared control of the same data area. This invention proposes a solution for implementing note row operation control, enabling special processing of note rows based on different control functions.
[0083] This invention employs simulation software to simulate the logical control of a CDU device screen. The control logic involved in simulating the display of the CDU device screen includes page switching, parameter setting, and the display of note rows. This invention provides a method for logical control processing of note rows. The note rows serve as a common editing parameter transfer area, involving the control of real-time row selection key content input. Based on the input of individual content, it enables combined control of individual input content, supports rapid reverse editing of the currently selected row selection key content, and realizes different operation logic control functions.
[0084] The following describes the note row control device for the flight management operation interface provided by the present invention. The note row control device for the flight management operation interface described below can be referred to in correspondence with the note row control method for the flight management operation interface described above.
[0085] Figure 10 This is a schematic diagram of the sticky note control device for the flight management operation interface provided by the present invention, specifically including: Module 1001 is used to construct a note row state machine. The note row state machine includes multiple reusable states, including an input state, an editing state, a parsing state, an output state, and an alarm storage state. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0086] The loading module 1002 is used to load the note row configuration file during the system startup phase. The note row configuration file records the maximum allowed length of the note row, the long-press clear time threshold, and the alarm dwell time threshold. For detailed explanation, please refer to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0087] The control module 1003 is used to control the note row according to the note row configuration file in response to a key trigger event in the multiple reusable states. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0088] Figure 11 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 11 As shown, the electronic device may include a processor 1110, a communications interface 1120, a memory 1130, and a communication bus 1140, wherein the processor 1110, the communications interface 1120, and the memory 1130 communicate with each other via the communication bus 1140. The processor 1110 can call logical instructions in the memory 1130 to execute a note row control method for the flight management operation interface. This method includes: constructing a note row state machine, which includes multiple reusable states, including an input state, an editing state, a parsing state, an output state, and an alarm temporary storage state; loading a note row configuration file during system startup, which records the maximum allowed length of the note row, a long-press clear time threshold, and an alarm dwell time threshold; and controlling the note row according to the note row configuration file in response to a key trigger event under the multiple reusable states.
[0089] Furthermore, the logical instructions in the aforementioned memory 1130 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, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0090] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the note row control method of the flight management operation interface provided by the above methods. The method includes: constructing a note row state machine, the note row state machine including multiple reusable states, the multiple reusable states including an input state, an editing state, a parsing state, an output state, and an alarm temporary storage state; loading a note row configuration file during the system startup phase, the note row configuration file recording the maximum allowed length of the note row, a long press clear time threshold, and an alarm dwell time threshold; and controlling the note row according to the note row configuration file in response to a key trigger event in the multiple reusable states.
[0091] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a note row control method for executing the flight management operation interface provided by the above methods. The method includes: constructing a note row state machine, the note row state machine including multiple reusable states, the multiple reusable states including an input state, an editing state, a parsing state, an output state, and an alarm temporary storage state; loading a note row configuration file during the system startup phase, the note row configuration file recording the maximum allowed length of the note row, a long-press clear time threshold, and an alarm dwell time threshold; and controlling the note row according to the note row configuration file in response to a key trigger event in the multiple reusable states.
[0092] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0093] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part 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, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling the note row in a flight management operation interface, characterized in that, include: Construct a sticky note state machine, which includes multiple reusable states, including input state, editing state, parsing state, output state, and alarm storage state; During the system startup phase, a note row configuration file is loaded. The note row configuration file records the maximum allowed length of the note row, the long press clear time threshold, and the alarm dwell time threshold. In the multiple reusable states, the note row is controlled according to the note row configuration file in response to a key trigger event.
2. The method according to claim 1, characterized in that, In the multiple reusable states, in response to a key-triggered event, the sticky note row is controlled according to the sticky note row configuration file, including: In input mode, the key trigger events are concatenated character by character according to the note row configuration file, and automatically truncated when the maximum allowed length is reached. In edit mode, short press delete events are recognized to delete the last character, and long press delete events are recognized and the note line string is cleared when the duration exceeds the long press clear time threshold. In parsing mode, the sticky note string is automatically formatted and parsed based on preset rules; In output mode, when an external write trigger signal is detected and the note row is currently empty, the selected parameter value is written back to the note row according to the data format template, and editing is allowed after the writing is completed; In the alarm storage state, when an external alarm trigger signal is received, the current note line content is written to the temporary cache and overwritten with the alarm string. After the alarm dwell time reaches the alarm dwell time threshold, the original content is restored from the temporary cache.
3. The method according to claim 2, characterized in that, In the parsing state, the automatic format recognition and parsing of the note string based on preset rules includes: If the format of the note line string is automatically recognized based on preset rules and the delimiter is identified, then the location or distance of the note line is parsed. If the format of the note string is automatically recognized based on preset rules and the direction letter is identified, then the latitude, longitude, degree, minute, and second parsing is performed on the note string. If the format of the note line string is automatically recognized based on preset rules, and the decimal point is identified, then floating-point parsing is performed on the note line.
4. The method according to claim 3, characterized in that, If the memo string is automatically formatted based on preset rules and directional letters are identified, then latitude, longitude, degree, minute, and second parsing is performed on the memo string, including: Position the directional letter; Based on the position of the directional letter, the numerical substring is sliced according to the degree, minute, second and digit positions, and the directional letter is converted into positive and negative signs and assigned to the latitude and longitude variables.
5. The method according to claim 2, characterized in that, The step of rewriting the selected parameter value back to the note row according to the data format template includes: Query the note row configuration file to obtain the target display format corresponding to the selected parameter; Based on the target display format, the numerical values are padded with leading zeros, delimiters and symbols are inserted, and a string conforming to the display component page's agreed format is generated before being written to the note line.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: Create or edit flight plans based on the controlled notes, or modify waypoint parameters.
7. The method according to claim 1 or 2, characterized in that, The long press clear time threshold, the maximum allowed length, and the alarm dwell time threshold are stored in XML or JSON format. The temporary cache area adopts a stack or queue structure, which supports the restoration of the sticky note history content according to time control requirements after multiple alarms are triggered in succession.
8. A note-taking control device for a flight management operation interface, characterized in that, include: A construction module is used to construct a note row state machine, which includes multiple reusable states, including an input state, an edit state, a parsing state, an output state, and an alarm temporary storage state. The loading module is used to load the note line configuration file during the system startup phase. The note line configuration file records the maximum allowed length of the note line, the long press clear time threshold, and the alarm dwell time threshold. The control module is used to control the note row according to the note row configuration file in response to a key trigger event in the multiple reusable states.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the note row control method of the flight management operation interface as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the note row control method of the flight management operation interface as described in any one of claims 1 to 7.