Gantt chart display method, computer readable storage medium and electronic equipment

By using a binary search algorithm to quickly locate target data in aviation mission planning data, the problem of long loading time in Gantt chart display methods is solved, resulting in faster data display and a better user experience.

CN120928986APending Publication Date: 2025-11-11CHINA SOUTHERN AIRLINES DIGITAL TECHNOLOGY (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511060715.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-30
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

In the flight scheduling and crew allocation of major airlines, the existing Gantt chart display method results in long loading times due to the large amount of data, which affects user experience and work efficiency.

Method used

A binary search algorithm is used to quickly locate and display target data in aviation mission planning data. The data is updated in real time through a Gantt chart display interface, reducing the time complexity of data processing.

Benefits of technology

It significantly improves the speed of Gantt chart adjustment and data display efficiency, enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120928986A_ABST
    Figure CN120928986A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a Gantt chart display method, a computer readable storage medium and electronic equipment, relates to the technical field of aviation, and is used for optimizing an aviation task plan data display link and accelerating the processing speed during Gantt chart adjustment. The Gantt chart display method comprises the following steps: displaying a Gantt chart display interface; the Gantt chart display interface is used for displaying a Gantt chart of partial data in the aviation mission plan data; in response to a display data adjustment operation, determining to-be-displayed target data in the aviation mission plan data by using a binary search algorithm based on an operation intention of the display data adjustment operation; and displaying the target data through the Gantt chart display interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of aerospace technology, and in particular to a Gantt chart display method, a computer-readable storage medium, and an electronic device. Background Technology

[0002] In today's highly competitive air transport industry, major airlines face increasingly complex operational challenges and a greater need for sophisticated management. To improve operational efficiency, optimize resource allocation, and enhance market competitiveness, major airlines widely utilize advanced optimization models to scientifically plan and dynamically adjust their flight schedules. These optimization models integrate massive amounts of multi-dimensional data, including flight information, crew resources, and airport support capabilities, and through complex algorithms and logical analysis, provide airlines with optimal flight scheduling, crew allocation, and aircraft utilization solutions.

[0003] However, with the continuous expansion of airline operations and the explosive growth of operational data, there are severe performance challenges when visualizing optimization model results, especially when using Gantt charts, an intuitive and commonly used display format. Displaying and interacting with massive amounts of data in Gantt charts can easily cause the front-end page to remain in a loading state for extended periods. Users may have to wait several seconds or even tens of seconds to see the Gantt chart they want, severely impacting user experience and work efficiency. Summary of the Invention

[0004] This application provides a Gantt chart display method, a computer-readable storage medium, and an electronic device for optimizing the display of aviation mission plan data and accelerating the processing speed when adjusting Gantt charts.

[0005] The first aspect of this application provides a Gantt chart display method, including: displaying a Gantt chart display interface; the Gantt chart display interface is used to display a Gantt chart of a portion of data in aviation mission planning data; in response to a data adjustment operation, based on the operation intent of the data adjustment operation, determining the target data to be displayed in the aviation mission planning data using a binary search algorithm; and displaying the target data through the Gantt chart display interface.

[0006] The Gantt chart display method provided in this application provides an intuitive display of key data information in an aviation mission plan through a Gantt chart display interface. When a user performs a data adjustment operation, the system automatically identifies the target data that needs adjustment based on the operation intention using an efficient binary search algorithm to quickly locate and extract the required information. Finally, the processed data is updated in real time to the Gantt chart display interface. This method, by employing a binary search algorithm, significantly reduces the time complexity of data processing, thereby achieving faster Gantt chart adjustment speed and effectively improving the efficiency of data display and user experience.

[0007] In some embodiments, the aviation mission planning data is sorted by time in the horizontal direction and by the identifier of the target object in the vertical direction. Based on the operational intent of the display data adjustment operation, a binary search algorithm is used to determine the target data to be displayed in the aviation mission planning data, including: determining the horizontal offset corresponding to the screen horizontal coordinate and / or the vertical offset corresponding to the screen vertical coordinate based on the operational intent of the display data adjustment operation; converting the horizontal offset into a target time range according to a preset mapping relationship between pixels and time, and / or converting the vertical offset into a target identifier range according to a preset mapping relationship between pixels and identifiers; and using a binary search algorithm to locate a subset of mission data in the aviation mission planning data that matches the target time range and / or the target identifier range as the target data to be displayed.

[0008] In some embodiments, the task information for each task in the aviation mission planning data includes at least one of the following elements: start time, end time, task identifier, task type, airport information, route information, and resource allocation information; displaying a Gantt chart display interface includes: when the zoom level of the Gantt chart display interface is greater than or equal to a first preset threshold, displaying all elements corresponding to the task information in the Gantt chart of the Gantt chart display interface; when the zoom level of the Gantt chart display interface is less than or equal to a second preset threshold, displaying the target element in the task information in the Gantt chart of the Gantt chart display interface.

[0009] In some embodiments, the method further includes: displaying a Gantt chart layout configuration interface; the Gantt chart layout configuration interface is used to configure the layout information of the Gantt chart, the layout information including at least one of the following: background attributes, time parameters, layout type or display information of the Gantt chart; in response to a confirmation operation on the Gantt chart layout configuration interface, obtaining layout configuration parameters input based on the Gantt chart layout configuration interface; and generating a Gantt chart based on the layout configuration parameters.

[0010] In some embodiments, the method further includes: determining task information for each task in the flight mission plan data based on the flight mission plan data; generating a task block configuration interface based on the task information; the task block configuration interface is used to configure the display information corresponding to each element in the task information; in response to a confirmation operation on the task block configuration interface, obtaining task block configuration parameters input based on the task block configuration interface; and generating a Gantt chart based on the task block configuration parameters.

[0011] In some embodiments, the method further includes: obtaining aviation mission plan data from a data source; displaying a data configuration interface based on the aviation mission plan data, the data configuration interface being used to configure elements to be displayed in the aviation mission plan data; in response to a confirmation operation on the data configuration interface, obtaining elements to be displayed based on the data configuration interface; and generating a Gantt chart based on the elements to be displayed in the aviation mission plan data.

[0012] In some embodiments, displaying a Gantt chart display interface includes: obtaining aviation mission plan data in a preset format from a data source; performing visualization processing on the preset format aviation mission plan data based on a target Gantt chart configuration template to generate a Gantt chart corresponding to the aviation mission plan data; and displaying the Gantt chart display interface based on the Gantt chart.

[0013] In some embodiments, the method further includes: in response to receiving a template file, parsing the template file to obtain a Gantt chart configuration template; and storing the Gantt chart configuration template.

[0014] A second aspect of this application provides an electronic device, including: one or more processors; one or more memories; wherein the one or more memories are used to store computer program code, the computer program code including computer instructions, and when the one or more processors execute the computer instructions, the electronic device performs the Gantt chart display method provided in the first aspect and its possible implementations.

[0015] The third aspect of this application provides a computer-readable storage medium storing computer-executable instructions that, when executed on a computer, cause the computer to perform the Gantt chart display method provided in the first aspect and its possible implementations.

[0016] A fourth aspect of this application provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the Gantt chart display method provided in the first aspect and its possible implementations.

[0017] The beneficial effects described in aspects two through four can be referred to the analysis of the beneficial effects in aspect one, and will not be repeated here. Attached Figure Description

[0018] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of the present invention and do not constitute a limitation on the technical solutions of the present invention.

[0019] Figure 1 A schematic diagram illustrating a Gantt chart provided in an embodiment of this application;

[0020] Figure 2 A flowchart illustrating a Gantt chart display method provided in this application embodiment;

[0021] Figure 3 A schematic diagram of a Gantt chart display interface provided in this application embodiment. Figure 1 ;

[0022] Figure 4 A schematic diagram of a Gantt chart display interface provided in this application embodiment. Figure 2 ;

[0023] Figure 5 A schematic diagram of a data configuration interface provided in an embodiment of this application;

[0024] Figure 6 A schematic diagram illustrating an example of importing a data source, provided in an embodiment of this application;

[0025] Figure 7 A schematic diagram of a Gantt chart layout configuration interface provided in an embodiment of this application;

[0026] Figure 8 A schematic diagram of a task block configuration interface provided in an embodiment of this application;

[0027] Figure 9 This is a schematic diagram of a Gantt chart query corresponding to a database connection method provided in an embodiment of this application;

[0028] Figure 10 This application provides a schematic diagram of a Gantt chart query corresponding to a local file docking method.

[0029] Figure 11 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0030] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0031] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0032] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "connected" and "linked" should be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral connection. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. Furthermore, when describing pipelines, the terms "connected" and "linked" as used in this application have the meaning of establishing electrical connection. The specific meaning needs to be understood in conjunction with the context.

[0033] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0034] In today's highly competitive air transport industry, major airlines face increasingly complex operational challenges and a greater need for sophisticated management. To improve operational efficiency, optimize resource allocation, and enhance market competitiveness, major airlines widely utilize advanced optimization models to scientifically plan and dynamically adjust their flight schedules. These optimization models integrate massive amounts of multi-dimensional data, including flight information, crew resources, and airport support capabilities, and through complex algorithms and logical analysis, provide airlines with optimal flight scheduling, crew allocation, and aircraft utilization solutions.

[0035] However, with the continuous expansion of airline business and the explosive growth of operational data, there are severe performance challenges when visualizing optimization model results, especially when using Gantt charts, an intuitive and commonly used display format. Displaying and interacting with massive amounts of data in Gantt charts can easily cause the front-end page to remain in a loading state for extended periods. Users may have to wait several seconds or even tens of seconds to see the complete Gantt chart, severely impacting user experience and work efficiency.

[0036] For example, such as Figure 1As shown, when dealing with large-scale datasets like aviation mission plans, the complete data space reaches a high level in both dimension and scale, containing numerous mission nodes, time spans, and related attribute information. However, the screen display capabilities of computing devices are physically limited; their resolution and display size dictate that they can only simultaneously display a local subset of the Gantt chart. To obtain a complete view of the data, users must repeatedly swipe the screen to change the visible area and view different parts of the data. However, each swipe may trigger a new data request and loading process. Especially when data is stored in a distributed system or requires complex computational processing, data loading is constrained by various factors such as network bandwidth, server performance, and computing resource allocation, inevitably leading to excessively long loading times and reducing the system's real-time performance and response speed.

[0037] Based on this, this application provides a method for displaying Gantt charts. The Gantt chart display interface intuitively shows some key data information from an aviation mission plan. When a user performs data adjustment operations, the system automatically identifies the target data requiring adjustment based on the user's intention using an efficient binary search algorithm to quickly locate and extract the necessary information. Finally, the processed data is updated in real time to the Gantt chart display interface. This method, by employing a binary search algorithm, significantly reduces the time complexity of data processing, thereby achieving faster Gantt chart adjustment speeds and effectively improving data display efficiency and user experience.

[0038] It should be understood that the Gantt chart display method provided in this application embodiment is applicable to electronic devices. The electronic device can be a terminal device, such as a personal computer (PC), laptop computer, mobile device, tablet computer, etc. This application embodiment does not limit the specific form of the electronic device. Alternatively, the electronic device can be a single server or a server cluster composed of multiple servers. In some implementations, the server cluster can be a distributed cluster server. This application embodiment does not impose any limitations in this regard.

[0039] Figure 2 The diagram shown is a flowchart of a method for displaying a Gantt chart according to an embodiment of this application. Please refer to [link / reference]. Figure 2 The method for displaying a Gantt chart provided in this application includes steps S101-S103:

[0040] S101. Display the Gantt chart interface.

[0041] The Gantt chart display interface is used to show Gantt charts of some data in the aviation mission plan data.

[0042] Aviation mission planning data typically contains multi-dimensional information (such as flight number, takeoff / landing time, route, resource allocation, etc.), and a single mission may involve dozens of fields. When multiple missions are combined, the data volume grows exponentially. However, the screen resolution and size of a monitor are fixed. If all the data is displayed through a Gantt chart interface, it will lead to excessive compression of chart elements (such as blurred time axis scales and overlapping task bars), resulting in a loss of readability.

[0043] Therefore, the Gantt chart display interface in this embodiment is only used to display a portion of the data in the aviation mission plan data, ensuring that key data information can be presented efficiently and intuitively within the limited screen space. This guarantees that users can clearly and intuitively find the information they need when viewing the Gantt chart displayed on the interface.

[0044] As a feasible implementation method, the mission information for each mission in the aviation mission planning data includes at least one of the following elements: start time, end time, mission identifier, mission type, airport information, route information, and resource allocation information.

[0045] The start and end times are used to accurately record the start and end times of task execution; the task identifier uses a unique code to identify each task, including a combination of airline code, date, and sequence number, to ensure the accuracy of task retrieval; the task type is used to distinguish different categories such as flight operation and ground support, and uses predefined enumeration values ​​to store and affect the task display style and processing logic; the airport information records the codes of the take-off and landing airports as well as specific location information such as runways and parking positions, supporting correlation analysis between airports; the route information stores the planned waypoint sequence and the flight requirements such as altitude and speed for each segment, providing data support for trajectory prediction and conflict detection; the resource allocation information records the specific resource information such as allocated aircraft and crews, establishes the relationship between tasks and resources, and supports real-time tracking of resource usage.

[0046] For example, please refer to Figure 3 , Figure 3 The Gantt chart display interface provided in this application embodiment displays some of the flight mission plan data, and the mission information of the mission includes: departure airport code (such as PKX, ZYI, CAN), flight number (such as 8831, 3463, 6384), planned departure time, planned arrival time, actual departure time, actual arrival time, and destination airport code (such as SHE, CTU, etc.).

[0047] S102. In response to the display data adjustment operation, based on the operation intent of the display data adjustment operation, the target data to be displayed is determined in the aviation mission plan data using a binary search algorithm.

[0048] Since the Gantt chart display only shows a portion of the data, if the data is not what the user needs, the user can adjust the data displayed on the interface by using the data adjustment function.

[0049] This application does not impose specific restrictions on the data adjustment operation. Users can adjust the data displayed on the Gantt chart display interface through various interactive methods, such as swiping the screen, voice commands, gesture operations, etc.

[0050] In one implementation, users can adjust the time range of the Gantt chart by swiping horizontally. When a user swipes their finger from the left edge of the screen to the right, the system automatically expands to display Gantt chart data for earlier time periods; when the user swipes their finger from the right edge of the screen to the left, the system expands to display Gantt chart data for later time periods. The swipe speed is correlated with the scaling ratio; fast swipes result in larger changes in the time span, while slow swipes allow for fine adjustments.

[0051] In one implementation, users can adjust the display granularity of the Gantt chart using a two-finger pinch gesture. When the two fingers are spread, the system automatically zooms in on the time scale to display more detailed time unit data; when the two fingers are pinched together, the time scale zooms out to display summary data for a longer period. The system can set multiple zoom levels and display an indicator bar for the current time range at the edge of the interface.

[0052] In one implementation, users can quickly locate specific data using voice commands. For example, saying "Jump to March projects" will automatically retrieve and highlight all project data for March; saying "Show critical paths" will automatically filter and display only critical path tasks. Voice commands support natural language expression, and the system matches corresponding operations through semantic analysis.

[0053] In one implementation, users can make precise adjustments via a floating toolbar. The toolbar provides controls such as a time range selector, task type filter, and display density adjustment slider. When a user clicks on a task bar, a detailed information card for the associated task automatically pops up, containing adjustment options that allow for quick modification of task attributes and real-time updates to the Gantt chart display.

[0054] The above-described interaction methods can be used individually or in combination. The system can record the user's adjustment preferences and automatically apply the most recent display settings the next time the Gantt chart is opened. All data adjustment operations support undo / redo functionality, ensuring that users can safely explore different data display methods. The scope of protection of this application is not limited to the specific implementation methods described above; any data adjustment scheme based on similar interaction logic falls within the extended scope of this application.

[0055] Upon receiving a data adjustment request, the system uses a binary search algorithm to determine the target data to be displayed in the aviation mission plan data, based on the intent of the request.

[0056] Binary search is an efficient search algorithm for sorted arrays. Its core is to quickly locate the target value by repeatedly dividing the search range in half: first, calculate the index of the middle element of the array; if the element is equal to the target value, return it directly; if the target value is less than the middle element, continue searching in the left half; otherwise, search in the right half. Repeat this process until the target is found or it is confirmed that it does not exist. Its time complexity is O(log n), which is much better than the O(n) of linear search. However, it requires the data to be sorted in advance and does not support real-time search in scenarios with dynamic insertion / deletion.

[0057] S103. Display the target data through the Gantt chart display interface.

[0058] After retrieving the target data, it can be displayed through a Gantt chart interface. This allows users to intuitively view the filtered task information.

[0059] As can be seen from S101-S103, the Gantt chart display method provided in this application embodiment intuitively displays some key data information in the aviation mission plan through the Gantt chart display interface. When the user performs a data adjustment operation, the system automatically identifies the target data that needs to be adjusted based on the operation intention using an efficient binary search algorithm to quickly locate and extract the required information. Finally, the processed data is updated to the Gantt chart display interface in real time. This method, by employing a binary search algorithm, significantly reduces the time complexity of data processing, thereby achieving a faster Gantt chart adjustment speed and effectively improving the efficiency of data display and user experience.

[0060] In some embodiments, aviation mission planning data is sorted horizontally by time and vertically by the identifier of the target object. Horizontally, the data is arranged in ascending or descending order along the time axis, ensuring that tasks at the same moment are closely related chronologically, facilitating the analysis of task time distribution and temporal logic. Vertically, the data is hierarchically indexed by target object identifiers (such as aircraft numbers and mission type codes), clearly distinguishing mission plans for different objects and supporting rapid retrieval of all mission trajectories for a specific object. This dual-axis sorting strategy satisfies the temporal analysis needs of time-sensitive tasks (such as flight scheduling and orbit calculations) and optimizes the query efficiency of multi-object parallel management (such as multi-aircraft collaboration and multi-task scheduling) through vertical clustering of identifiers. It is a key data architecture design in aviation mission management that balances temporal continuity and object independence.

[0061] As one implementation method, S102 can be specifically implemented as follows:

[0062] S1021. Based on the operation intent of the display data adjustment operation, determine the horizontal offset corresponding to the screen horizontal coordinate and / or the vertical offset corresponding to the screen vertical coordinate.

[0063] By analyzing user actions on the screen (such as dragging, zooming, or scrolling), the geometric changes in the interface interaction are transformed into logical parameters for data retrieval. The system first identifies the type of operation intent (such as timeline translation or target object switching), and then calculates the horizontal offset of the screen's horizontal coordinates, which characterizes the magnitude of change in the time dimension.

[0064] Furthermore, the vertical offset of the vertical coordinates characterizes the range of dimensional changes of the target object. This maps the user's intuitive interface operations into displacements in the data space, providing quantitative input for subsequent precise filtering, and ultimately eliminating the semantic differences between screen pixels and data dimensions through coordinate system transformation.

[0065] S1022. Based on the preset mapping relationship between pixels and time, convert the horizontal offset into a target time range, and / or, based on the preset mapping relationship between pixels and identifiers, convert the vertical offset into a target identifier range.

[0066] In the horizontal dimension, the system converts the horizontal offset into a specific time interval (e.g., an offset of 200 pixels corresponds to a time range of 1000 seconds) based on a preset pixel-time conversion ratio (e.g., each pixel corresponds to 5 seconds). In the vertical dimension, the system converts the vertical offset into a continuous interval of identifiers (e.g., an offset of 150 pixels corresponds to 5 consecutive target IDs) through pixel-identifier mapping rules (e.g., each row height corresponds to one target object).

[0067] In one implementation, the screen resolution and data scaling ratio can be dynamically adapted during the conversion to ensure a linear correspondence between pixel displacement and data range, thereby transforming the ambiguity of user operations into the accuracy of data queries.

[0068] S1023. Using a binary search algorithm, locate a subset of mission data in the aviation mission plan data that matches the target time range and / or target identifier range, and use it as the target data to be displayed.

[0069] For time-based searches, a binary search can be performed on the task data array that is strictly sorted by timestamp to quickly locate the start and end indices that meet the target time range. For identifier-based searches, a binary search can be performed on the task data groups that are clustered by identifier to accurately filter task records that match the target identifier range.

[0070] When both time and identifier constraints exist, a hierarchical retrieval strategy can be adopted: first, perform a first round of binary search based on the time range to obtain preliminary screening results; then, perform a second round of binary search based on the identifier range on the result set to finally obtain the optimal task subset that satisfies both conditions.

[0071] In this embodiment, by converting screen coordinate offsets into precise data query parameters, the semantic gap between traditional interface operations and data retrieval is resolved, making the interaction process more intuitive and efficient. Furthermore, the optimized retrieval algorithm, designed based on the two-dimensional ordered characteristics of aviation mission data, reduces the data query time complexity from O(n) to O(log n), significantly improving real-time response speed under large-scale data. Finally, through the synergistic effect of a hierarchical retrieval strategy and a result caching mechanism, system computational overhead is further reduced while ensuring data accuracy, thus enabling better application in professional fields such as aviation mission management that require processing massive amounts of time-series data.

[0072] In some embodiments, the task information for each task in the aviation mission planning data includes at least one of the following elements: start time, end time, task identifier, task type, airport information, route information, and resource allocation information. When the task information contains a large number of elements and the display scale is reduced, due to the limitation of the interface display space, the data labels, time bars, and related information of multiple tasks will visually overlap, seriously affecting the readability and operability of the display. Specifically, the dense arrangement of task time bars in the horizontal direction will cause the start and end time marks of adjacent tasks to overlap; the task list in the vertical direction will cause the task type icons, airport codes, and other key information to overlap due to the compression of line spacing; when there is additional information such as resource allocation, the superimposed display of multiple layers of data will further exacerbate the visual clutter of interface elements. This information overload not only reduces the efficiency of users in obtaining key information, but may also lead to misoperation and decision-making errors.

[0073] As a feasible implementation method, S101 can be specifically implemented as follows: when the scaling ratio of the Gantt chart display interface is greater than or equal to the first preset threshold, all elements corresponding to the task information of the task are displayed in the Gantt chart of the Gantt chart display interface; when the scaling ratio of the Gantt chart display interface is less than or equal to the second preset threshold, the target elements in the task information of the task are displayed in the Gantt chart of the Gantt chart display interface.

[0074] In one implementation, when the zoom level of the Gantt chart display interface is detected to be greater than or equal to a first preset threshold (such as 100% standard view), the system will fully display all elements of the task information in the Gantt chart, including all data fields such as start time, end time, task identifier, task type, airport information, route information, and resource allocation information, to ensure that users can obtain complete task data in a detailed view.

[0075] For example, such as Figure 2 As shown, when the zoom level of the Gantt chart display interface is detected to be greater than or equal to the first preset threshold, the task information of all units within a certain time period is displayed.

[0076] In another implementation, when the zoom level of the Gantt chart display interface is detected to be less than or equal to the second preset threshold (such as a 50% thumbnail view), the system automatically switches to a simplified display mode, displaying only the filtered target elements, such as only displaying core information fields like task identifier, time range, and task type, while secondary information such as airport details, flight routes, and resource allocation is intelligently hidden or aggregated.

[0077] For example, please refer to Figure 4 When the zoom level of the Gantt chart display interface is detected to be less than or equal to the second preset threshold, only elements from the task information are displayed. Figure 4 (Flight number shown).

[0078] In some embodiments, seamless switching of display modes can be achieved through smooth transition animations. The system calculates the information density of the current view in real time and automatically triggers display optimization when it detects that the element spacing is less than the readability threshold. This ensures the visibility of key information while avoiding the overlap of interface elements and visual clutter, thus providing the best information display effect at different scaling levels.

[0079] In some embodiments, users can configure some elements of the task information as features, and if the scaling ratio of the Gantt chart display interface is less than or equal to a second preset threshold, only the features will be displayed in the Gantt chart of the Gantt chart display interface.

[0080] In this embodiment, a differentiated element display strategy is set according to different zoom levels of the Gantt chart display interface. When the zoom level is greater than or equal to a first preset threshold, all elements are displayed, ensuring that users can obtain complete details of task information when viewing at a large scale, meeting the need for a comprehensive understanding of the task. When the zoom level is less than or equal to a second preset threshold, only target elements are displayed, avoiding the problem of interface clutter and information difficulty in identification due to too many elements at a small scale. This improves the clarity and readability of the interface when viewing at a small scale, and optimizes the user experience of viewing Gantt charts in different zoom scenarios.

[0081] In some embodiments, within the field of aviation operations optimization, optimization algorithms covering numerous key business scenarios such as crew scheduling, aircraft scheduling, ground service scheduling, aircraft type optimization, and irregular flight recovery are all closely linked to specific front-end business systems. These algorithms not only provide powerful computational support for the front-end business systems but also leverage the Gantt chart functionality of these systems to present complex algorithm results in an intuitive and visual form, greatly improving users' understanding and application efficiency of the algorithm results.

[0082] However, in actual R&D, if a matching front-end business system is lacking during the algorithm development phase, the algorithm results can only be displayed in text form. This monotonous and tedious display method not only lacks intuitiveness but also seriously hinders the effective transmission of information, significantly reducing the efficiency and effectiveness of communication between us and users, and is detrimental to the promotion and application of the algorithm.

[0083] Furthermore, considering that the practical significance of the algorithm model at the business level has not yet been fully verified, the development of the front-end system is usually started simultaneously to keep up with the development progress. However, this approach carries certain risks. If the algorithm model is proven to be unsuitable in practical applications, the front-end system, in which a large amount of resources have been invested in its development, will face obsolescence, resulting in a significant waste of resources.

[0084] Therefore, for aviation mission planning data obtained from algorithmic tasks, a universal solution is needed to display the results of algorithmic models, so that the data can be presented in a clear, intuitive way that is adaptable to different algorithmic models. One implementation approach is to configure the layout information of the Gantt chart through a Gantt chart layout configuration interface, ensuring that complex data structures generated by different algorithmic models can be accurately mapped to the corresponding elements of the Gantt chart.

[0085] In some embodiments, before displaying the Gantt chart on the interface, the first step is to accurately obtain aviation mission plan data from the data source. The solution provided in this application offers two data source integration methods: database integration and local data integration. Furthermore, it adopts a flexible one-to-many model, allowing a single user to easily add multiple different data sources. Through clever configuration of different data sources, it can perfectly adapt to diverse business scenarios and the business needs of different systems, thereby providing users with richer and more diverse choices.

[0086] Specifically, the database integration method achieves seamless connection with the business system's database. Subsequently, based on the business system's database table structure, the configuration of relevant modules is carried out. This process enables flexible configuration of multiple modules, layouts, elements, and detail field data sources, fully meeting various needs in complex business environments.

[0087] Due to the wide range and large volume of data sources, a variety of functions are provided in terms of data source configuration to meet display needs, including different data source configurations for various modules, layouts, and elements, as well as conditional filtering functions, so that users can perform more accurate and efficient operations.

[0088] Specifically, as one implementation method, the Gantt chart display method provided in this application embodiment further includes:

[0089] S21, Data configuration interface based on aviation mission plan data display.

[0090] The data configuration interface is used to configure the elements to be displayed in the aviation mission plan data.

[0091] After acquiring the flight mission plan data, the system displays a dedicated data configuration interface to allow users to independently decide which specific information to present in the subsequent Gantt chart. This interface acts like a "data filtering and customization workshop," providing a wealth of options and operation entry points, allowing users to select from the numerous elements contained in the flight mission plan data. For example, the flight mission plan data may include elements such as mission number, mission type, takeoff time, landing time, crew members, and mission status. Users can select the elements they wish to see in the Gantt chart based on their actual needs on the data configuration interface, laying the foundation for generating a Gantt chart that meets their personalized requirements.

[0092] S22. In response to the confirmation operation on the data configuration interface, obtain the elements to be displayed based on the data configuration interface.

[0093] After a user completes the selection and configuration of the elements to be displayed on the data configuration interface, they will confirm the selection by clicking the "OK" button. The system will respond to this confirmation in real time, retrieving all the elements selected by the user on the data configuration interface. The system will organize and record these elements to ensure that the data is processed and displayed accurately according to the user's choices. For example, if the user selects task type, takeoff time, and task status as elements to be displayed, the system will store this information after receiving the confirmation, serving as a key basis for generating the Gantt chart later.

[0094] S23. Generate a Gantt chart based on the elements to be displayed in the aviation mission plan data.

[0095] After obtaining the elements to be displayed as specified by the user, the system initiates the Gantt chart generation and display process. The Gantt chart display interface acts like a "visual stage," where the system presents the elements in an intuitive and easy-to-understand way based on their nature and characteristics. For example, different colored task blocks may represent different task types; takeoff times will correspond to specific positions on the timeline; and task status can be marked with specific icons or text on the task blocks. Through this display method, users can clearly understand various information about the aviation mission plan, including task scheduling, progress, and status, thus facilitating mission management and decision-making.

[0096] For example, please refer to Figure 5 , Figure 5 This is a schematic diagram of a data configuration interface provided in an embodiment of this application. Users can configure the interface based on... Figure 5 Choose either Method 1 or Method 2 to select the elements to be displayed. The data table name is used to select the data source to be displayed. In Method 1, the source field name specifies the field information to be extracted from the selected data source, thus determining the basic dimensions of the data displayed in the Gantt chart. The value is used to define the specific range or specific value to be obtained from the corresponding field, precisely filtering and limiting the displayed data content. In Method 2, the source custom condition is used to filter data records that meet specific requirements from the data source according to user-defined complex logic, satisfying diverse business filtering needs. The overall alias is used to give the data table, field, or custom condition a concise and easy-to-remember name, facilitating quick identification and referencing during data configuration and display.

[0097] Specifically, Method 1: Configure table fields or directly retrieve field values.

[0098] Configuration Table Fields: The database table corresponding to the data source contains numerous fields, each representing a different data attribute. Users can select the fields they need from this configuration. For example, in a data source table for an aviation mission plan, there might be fields such as "Mission Number," "Mission Type," "Departure Time," "Landing Time," and "Crew Members." If the user only focuses on the mission type and time information, they can select only the "Mission Type," "Departure Time," and "Landing Time" fields when configuring the table, ignoring other irrelevant fields. This ensures that when generating Gantt charts or displaying data, only the data relevant to the user is presented, making the display more concise and accurate.

[0099] Directly retrieve field values: This method focuses on directly obtaining the specific numerical value stored in the field. For example, for the field "takeoff time", the system can directly obtain the specific time value stored in the field and locate the start time of the task in the Gantt chart according to this time value, ensuring the accurate presentation of time information.

[0100] Method 2: Filter desired field values ​​using custom SQL.

[0101] SQL (Structured Query Language) is a specialized language for database querying and manipulation. Users can more flexibly filter desired field values ​​from data sources by defining custom SQL statements. For example, if a user wants to retrieve mission information for all "flight missions" with departure times within a specific time period, they can write an SQL statement like "SELECT mission number, departure time, landing time FROM aviation mission table WHERE mission type = 'flight mission' AND departure time BETWEEN '2024-01-01' AND '2024-01-31'". The system will then use this custom SQL statement to filter data records that meet the criteria from the database and extract the corresponding field values ​​for subsequent Gantt chart generation and data display, satisfying the user's complex data filtering needs.

[0102] In other embodiments, the database connection method not only requires connection to the business system database but is also limited to table definitions within the database, making it highly dependent on the system and less convenient. Therefore, the solution provided in this embodiment can also employ a local database connection method.

[0103] For example, please refer to Figure 6 Data sources can be imported by importing data files, and then corresponding template files can be selected. Data source files and template files can be uploaded to the system by defining them locally, and then the two files can be matched to generate Gantt charts to achieve the desired effect. This improves the flexibility of Gantt chart generation and reduces coupling.

[0104] It should be understood that, as an implementation method, both the locally defined data source file and the template file can be limited to JSON format for easier subsequent parsing and processing.

[0105] In some embodiments, in order to facilitate user configuration of Gantt charts, the solution of this application provides two data source connection methods and two template configuration methods. In the first method, users can freely configure templates on the algorithm platform and configure various configuration elements of the Gantt chart based on the data source of the database connection method.

[0106] Specifically, as one implementation method, the Gantt chart display method provided in this application embodiment further includes:

[0107] S31. Display the Gantt chart layout configuration interface.

[0108] The Gantt chart layout configuration interface is used to configure the layout information of the Gantt chart. The layout information includes at least one of the following: the background attributes of the Gantt chart, time parameters, layout type or display information.

[0109] Each user has different preferences for the style of Gantt chart presentation. Therefore, by providing a Gantt chart layout configuration interface, users can freely configure the basic layout of the Gantt chart to meet their needs. The Gantt chart layout configuration interface is used to comprehensively configure the layout information of the Gantt chart. The layout information can cover the following key contents: background attributes of the Gantt chart. Users can choose appropriate background colors or upload specific background images according to different business scenarios and usage atmospheres to create a unique visual effect for the Gantt chart; time parameters, which are directly related to the accuracy and clarity of task time display. Users can flexibly set the granularity of time, large intervals, and small intervals to ensure that the timeline accurately reflects the progress of tasks; layout type, providing a variety of common layout modes for users to choose from, whether it is a traditional horizontal layout or an innovative vertical layout, to meet the management needs of different types of tasks; displayed information, allowing users to decide which important information to display on the Gantt chart, avoiding information overload or omission of key information, and improving the efficiency of information acquisition.

[0110] For example, please refer to Figure 7 , Figure 7 This is a schematic diagram of a Gantt chart layout configuration interface provided in an embodiment of this application. Users can select the desired aviation mission plan data using the control corresponding to "Data Source"; users can also select the control corresponding to "Background". By selecting different background images, different Gantt chart effects can be presented for different business systems; users can also flexibly adjust the time display method of the Gantt chart using the controls corresponding to fields such as "Granularity", "Large Interval", "Small Interval", "Display Year, Month, Day", and "Display Weekday" in the "Time Settings" area, making the timeline presentation more suitable for their viewing habits; using the controls corresponding to fields such as "Layout Type", "Layout 1", and "Layout 2" in the "Layout Settings" area, users can quickly switch between different overall layout styles, such as horizontally arranged tasks, vertically arranged tasks, or mixed arranged tasks, and can also make personalized fine-tuning adjustments to the selected layout to meet diverse data viewing needs.

[0111] For example, for crew scheduling algorithm models, the results may involve key information such as task allocation and duty periods for different crew members. Through the Gantt chart layout configuration interface, crew member names can be set as task bar labels in the Gantt chart, and duty start and end times can be mapped to the start and end positions of the task bars. Different colors can also be used to distinguish tasks based on their type. For aircraft scheduling algorithm models, data such as aircraft number, flight departure and arrival airports, and flight duration can also be flexibly defined in the configuration interface for their display format in the Gantt chart. For instance, different airports can be represented by specific icons, and flight duration differences can be visually presented using task bars of varying lengths. In this way, regardless of the algorithm model, users can quickly obtain clear, intuitive, and business-logical data display effects through a unified and easy-to-use Gantt chart layout configuration interface, greatly improving the efficiency of understanding and analyzing aviation mission planning data.

[0112] S32. In response to the confirmation operation on the Gantt chart layout configuration interface, obtain the layout configuration parameters input based on the Gantt chart layout configuration interface.

[0113] After the user completes the settings and adjustments for layout information such as background attributes, time parameters, layout type, or display information in the Gantt chart layout configuration interface, they perform a confirmation operation, thus sending a clear instruction signal to the system. Upon receiving this signal, the system retrieves the various parameters set by the user on the interface. These parameters are a digital representation of the user's personalized needs, providing a crucial data foundation for subsequently generating a Gantt chart layout that meets the user's expectations, ensuring that the entire interactive process proceeds in an orderly manner according to the user's intentions.

[0114] S33. Generate a Gantt chart based on layout configuration parameters.

[0115] After obtaining the layout configuration parameters, specific generation logic and algorithms transform these parameters into an actual Gantt chart structure, realizing the transformation from abstract user requirements to concrete visual graphics. The generated Gantt chart is then presented to the user through a Gantt chart display interface, allowing the user to intuitively see the effect of their configuration. This step not only completes the information transmission but also provides users with the possibility of further interaction. Users can view, analyze, and adjust the displayed Gantt chart, thus forming a complete business process loop and ensuring that users can efficiently utilize Gantt charts for task management and decision-making.

[0116] In this embodiment, by providing an intuitive Gantt chart layout configuration interface, users can flexibly customize key elements such as background attributes, time parameters, and layout types, significantly improving the personalization and adaptability of visualization management. Furthermore, by responding to configuration operations in real time and dynamically generating Gantt charts, the user's operational threshold is lowered (no professional charting skills are required), while ensuring the accuracy and timeliness of data display. At the same time, the integrated configuration-generation-display process optimizes human-computer interaction efficiency, making it particularly suitable for scenarios such as project management and progress tracking that require dynamic view adjustments. Ultimately, it achieves a high degree of matching between data presentation and user needs, enhancing decision support capabilities.

[0117] In some embodiments, there are limitations when configuring the Gantt chart layout through the configuration interface, namely, task blocks cannot be configured. As key elements in the Gantt chart that visually present task information, the appropriate setting of the task block's style, attributes, etc., is crucial to improving the overall effect of the Gantt chart. To further enhance the display effect and usability of the Gantt chart, task blocks can be fully configured. Specifically, a task block style configuration function can be added, allowing users to customize the task block's color, shape, border style, etc. It should be understood that the task block configuration in the following embodiments can be performed after the user performs a confirmation operation based on the Gantt chart layout configuration interface, and this application embodiment does not limit this.

[0118] Specifically, as one implementation method, the Gantt chart display method provided in this application embodiment further includes:

[0119] S41. Determine the mission information for each mission in the aviation mission plan data based on the aviation mission plan data.

[0120] Aviation mission planning data contains massive amounts of information, requiring precise extraction of specific details for each mission. Specifically, pre-defined data parsing rules and algorithms can be used to perform in-depth analysis of the aviation mission planning data, determining the mission information for each task within the data.

[0121] For example, for each task, its start time is determined, clarifying the task's initiation moment; its end time is determined, defining the task's completion moment; a unique task identifier is assigned to accurately distinguish different tasks; the task type is clarified, such as flight missions, ground support missions, etc.; airport information involved is recorded, including departure and arrival airports; flight route information is compiled, covering flight paths, waypoints, etc.; and resource allocation information is organized, such as the required aircraft type and crew configuration. By comprehensively extracting this information, a complete and accurate data foundation is provided for subsequent task block configuration.

[0122] S42. Generate a task block configuration interface based on task information.

[0123] The task block configuration interface is used to configure the display information corresponding to each element in the task information.

[0124] After obtaining the task information for each task, a task block configuration interface is generated. This interface sets corresponding configuration options based on different elements of the task information. For an example, please refer to [link to example]. Figure 8 , Figure 8 This is a schematic diagram of a task block configuration interface provided in an embodiment of this application. Figure 8 As shown, the task block configuration interface is used to finely customize task blocks in the Gantt chart. Layout nature and task block name define the major layout category and block to which the task block belongs; task block name and category clarify the identity and type of the task block; default color, border color, and default border color in the color settings determine the appearance of the task block; the element settings section allows configuration of element arrangement, as well as the display and attributes (whether it is a feature, time, value size, color, position, whether to bold, etc.) of elements such as task start time, flight number, and task end time, thereby meeting diverse task display needs.

[0125] For example, in a flight crew scheduling system, if you want to display the FLY and GRD types of flight missions in a Gantt chart, you can configure the arrangement, color, font, position, and other elements of the flight number, departure time, and arrival time displayed for the FLY or GRD type. By configuring different mission element styles, users can more clearly distinguish between the two types of flight missions in the Gantt chart.

[0126] S43. In response to the confirmation operation on the task block configuration interface, obtain the task block configuration parameters input on the task block configuration interface.

[0127] After the user completes the configuration in the task block configuration interface, clicking the confirmation button triggers a confirmation operation. Upon receiving this signal, the system immediately collects all task block configuration parameters entered by the user in the configuration interface. These parameters cover the user's settings for the display of various elements of task information, such as time display format, task identifier style, and task type color. The system will validate the collected parameters, checking for completeness and correct format. For example, it verifies whether the time format conforms to preset standards and whether the color value is within a valid range. After ensuring the parameters are accurate, they are stored to provide a configuration basis for subsequent Gantt chart generation.

[0128] S44. Generate a Gantt chart based on task block configuration parameters.

[0129] After obtaining accurate task block configuration parameters, a Gantt chart is generated based on these parameters. For example, based on the task's time information, the start and end positions of each task block are precisely plotted on the timeline to ensure accurate time display. According to the user's configuration of task types, corresponding colors or shapes are set for the task blocks, making different types of tasks easily distinguishable in the Gantt chart. Based on airport and route information, airport names and route directions are appropriately displayed on the task blocks. Based on resource allocation information, key resource information is labeled next to the task blocks. After generating the Gantt chart, it is displayed on a dedicated Gantt chart display interface. Users can zoom in and out on this interface to view task details or the overall layout; drag to adjust the viewing angle; and use the filtering function to quickly find specific tasks or types of tasks, facilitating comprehensive management and analysis of aviation tasks.

[0130] In other embodiments, the above-described method of configuring Gantt charts through a user interface allows users to configure templates more intuitively and freely on the platform. However, this requires following the platform's steps one by one, which is not only cumbersome but also dependent on the platform for filtering. Therefore, other template configuration methods can be used to configure Gantt chart templates. For example, users can manually configure local template files or have their own business systems programmatically generate templates, and then upload the local files to the algorithm platform for management and Gantt chart generation.

[0131] For example, a local template file can look like this:

[0132] {

[0133] Template Name: "Simplified Aviation Mission Template"

[0134] "Task type configuration":[

[0135] {

[0136] Mission Type: "Flight Mission"

[0137] "Task block color":"#00FF7F",

[0138] Display element:["Flight number","Departure time","Arrival time"],

[0139] "Element Color":"#000000",

[0140] "Element position": "Centered within the task block"

[0141] },

[0142] {

[0143] "Mission Type": "Ground Support Mission"

[0144] "Task block color":"#87CEFA",

[0145] "Display element":["Task content","Start time","End time"],

[0146] "Element Color":"#FF0000",

[0147] "Element position": "Left side within the task block"

[0148] } ]

[0150] }

[0151] Users can manually edit such JSON template files according to their business needs, or programmatically generate template files that meet the requirements through the business system, and then upload them to the algorithm platform. The platform will then generate Gantt charts of the corresponding style based on the template configuration.

[0152] In some embodiments, when generating a Gantt chart through a Gantt chart configuration interface or a local template file, after completing the Gantt chart generation settings through the above two methods, the user can choose to save all parameters and style settings involved in this generation configuration as a custom template. As a feasible implementation method, the method provided in this application embodiment further includes: in response to receiving a template file, parsing the template file to obtain a Gantt chart configuration template; and storing the Gantt chart configuration template.

[0153] In practical applications, when there is a need to generate a new Gantt chart, users only need to select a template that meets their needs from the saved template library, and then associate and match it with the corresponding data source to quickly generate a Gantt chart that meets their expectations, which greatly improves the efficiency and convenience of Gantt chart generation.

[0154] As a specific implementation method, S101 can be implemented as follows:

[0155] S1011. Obtain aviation mission plan data in a preset format from the data source.

[0156] The data source is the starting point for the entire aviation mission plan data processing. It may be stored in a database, a local file system, or other data storage media. In this step, the system needs to establish a connection with the data source and interact with it according to pre-defined rules and interfaces. For example, if the data source is a database, the system will use a specific database query language (such as SQL) to retrieve aviation mission plan data that meets the criteria; if the data source is a local file, the system needs to parse and read it according to the file format (such as CSV, JSON, etc.). In this way, the system can accurately and efficiently extract aviation mission plan data in a pre-defined format from the data source, providing basic data support for subsequent visualization processing and ensuring the integrity and accuracy of the data.

[0157] S1012. Based on the target Gantt chart configuration template, perform visualization processing on the preset format aviation mission plan data to generate the Gantt chart corresponding to the aviation mission plan data.

[0158] The target Gantt chart configuration template is crucial in determining how aviation mission planning data is presented visually. This template defines a series of visualization rules, including the style, color, display elements, and timeline scale for task blocks. After acquiring the aviation mission planning data, the system transforms and maps the data according to the template's configuration requirements. For example, it maps the start and end times of tasks to corresponding positions on the timeline, fills task blocks with colors defined in the template based on task type, and displays relevant task-related elements as specified in the template. Through this series of processes, the system transforms abstract aviation mission planning data into an intuitive and easy-to-understand Gantt chart, making complex task arrangements and time relationships readily apparent.

[0159] For example, when the final goal is to generate a Gantt chart, there are two corresponding query methods; please refer to [link / reference]. Figure 9 and Figure 10 . Figure 9 This is used to represent Gantt chart queries that integrate with a database. This query method is implemented through database integration. Query filtering is done through template configuration, meaning there are no pre-defined, fixed query conditions. Users can flexibly set various filtering conditions using templates according to their needs, thus more freely selecting the data used to render the Gantt chart. For example, in an aviation mission scheduling scenario, a user might want to view only relevant data for a specific time period and specific mission type (such as flight missions) to generate a Gantt chart. They can configure corresponding filtering conditions through templates, such as time range and mission type, and the system will extract data that meets the conditions from the database based on these configurations to generate the Gantt chart.

[0160] Figure 10This indicates a Gantt chart query method that integrates with local files. This method queries by connecting to a local file. Users can prepare a local file containing relevant data in advance. When generating a Gantt chart, the system reads the data from the local file and combines it with a previously configured template file to generate the chart. For example, a user might have an Excel template file containing detailed crew scheduling information. The system reads the data from this template file and, according to the task block styles, display elements, and other configurations set in the template, presents the data from the user-selected file in the form of a Gantt chart.

[0161] It should be understood that different query methods and data sources may result in Gantt charts that differ in content display, data range, etc., to meet diverse user needs. This application's embodiments will not elaborate on this aspect.

[0162] S1013. Display the Gantt chart based on the Gantt chart interface.

[0163] After generating the Gantt chart, the system needs to display it to the user, which requires a Gantt chart display interface. This interface is an interactive window that not only clearly presents the generated Gantt chart but also provides interactive functions. For example, users can zoom in and out to view the details or overall layout of the Gantt chart, drag to adjust the viewing angle, and click on task blocks to obtain more detailed information. Through such a fully functional display interface, users can easily view, analyze, and manage aviation mission plans, thereby better understanding mission progress and scheduling, and making reasonable decisions.

[0164] This embodiment ensures the authenticity and integrity of the data foundation by accurately acquiring aviation mission plan data in a preset format from the data source. Visualizing the data using a target Gantt chart configuration template flexibly and intuitively transforms complex mission arrangements into easily understandable Gantt charts, greatly improving information transmission efficiency. Furthermore, the rich interactive functions provided by the Gantt chart display interface facilitate users' multi-angle viewing and analysis of missions. The overall solution achieves efficient flow of aviation mission plan data from acquisition and processing to display, providing strong support for aviation mission management and decision-making.

[0165] This application also provides an electronic device; please refer to [link / reference]. Figure 11The electronic device 110 includes: one or more memories 111, one or more processors 112, a communication bus 113, and a communication interface 114. The processors 112 and memories 111 are connected via the bus 113. The one or more memories 111 are used to store computer program code, which includes computer instructions. When the one or more processors 112 execute the computer instructions, the electronic device 110 performs the Gantt chart display method provided in the above embodiments.

[0166] Optionally, the memory 111 may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc. The embodiments of this application do not impose any limitations on this.

[0167] The processor 112 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof, and the embodiments of this application do not impose any limitations on this.

[0168] The communication bus 113 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. This communication bus 113 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 11 It is represented by a single thick line, but this does not mean that there is only one bus or one type of communication bus.

[0169] Communication interface 114 uses any transceiver-like device for communicating with other devices or communication networks, such as control devices, radio access networks (RAN), wireless local area networks (WLAN), etc.

[0170] This application also provides a computer program product comprising one or more instructions, which are stored in the memory of a computer device and executed by a processor to complete the various processes described in the above embodiments.

[0171] This application also provides a computer-readable storage medium, which includes computer-executable instructions that, when executed on a computer, cause the computer to perform the Gantt chart display method provided in the above embodiments.

[0172] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0173] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0174] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0175] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0176] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0177] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for displaying Gantt charts, characterized in that, include: Display the Gantt chart interface; The Gantt chart display interface is used to display Gantt charts of some data in the aviation mission plan data; In response to the data display adjustment operation, based on the operation intent of the data display adjustment operation, the target data to be displayed is determined in the aviation mission plan data using a binary search algorithm; The target data is displayed through the Gantt chart interface.

2. The method according to claim 1, characterized in that, The aviation mission plan data is sorted by time in the horizontal direction and by the identifier of the target object in the vertical direction; The operational intent of the adjustment operation based on the displayed data, which uses a binary search algorithm to determine the target data to be displayed in the aviation mission plan data, includes: Based on the operational intent of the display data adjustment operation, determine the horizontal offset corresponding to the screen horizontal coordinate and / or the vertical offset corresponding to the screen vertical coordinate. Based on a preset mapping relationship between pixels and time, the horizontal offset is converted into a target time range, and / or, based on a preset mapping relationship between pixels and identifiers, the vertical offset is converted into a target identifier range; Using a binary search algorithm, a subset of mission data that matches the target time range and / or the target identifier range is located in the aviation mission plan data and used as the target data to be displayed.

3. The method according to claim 1, characterized in that, The mission information for each mission in the aviation mission plan data includes at least one of the following elements: start time, end time, mission identifier, mission type, airport information, route information, and resource allocation information; The Gantt chart display interface includes: When the zoom level of the Gantt chart display interface is greater than or equal to a first preset threshold, all elements corresponding to the task information of the task are displayed in the Gantt chart of the Gantt chart display interface. When the zoom level of the Gantt chart display interface is less than or equal to a second preset threshold, the target element in the task information of the task is displayed in the Gantt chart of the Gantt chart display interface.

4. The method according to claim 1, characterized in that, The method further includes: The interface for configuring the layout of a Gantt chart is displayed. This interface is used to configure the layout information of the Gantt chart, which includes at least one of the following: the background attributes, time parameters, layout type, or display information of the Gantt chart. In response to the confirmation operation on the Gantt chart layout configuration interface, obtain the layout configuration parameters input based on the Gantt chart layout configuration interface; A Gantt chart is generated based on the layout configuration parameters.

5. The method according to claim 1, characterized in that, The method further includes: Based on the aviation mission plan data, determine the mission information for each mission in the aviation mission plan data; A task block configuration interface is generated based on the task information; the task block configuration interface is used to configure the display information corresponding to each element in the task information. In response to the confirmation operation on the task block configuration interface, obtain the task block configuration parameters input based on the task block configuration interface; A Gantt chart is generated based on the task block configuration parameters.

6. The method according to claim 1, characterized in that, The method further includes: Obtain the aviation mission plan data from the data source; The data configuration interface for displaying the aviation mission plan data is used to configure the elements to be displayed in the aviation mission plan data. In response to a confirmation operation on the data configuration interface, obtain the elements to be displayed based on the data configuration interface; A Gantt chart is generated based on the elements to be displayed in the aforementioned aviation mission plan data.

7. The method according to claim 1, characterized in that, The Gantt chart display interface includes: Retrieve aviation mission plan data in a preset format from the data source; Based on the target Gantt chart configuration template, the preset format of the aviation mission plan data is visualized to generate a Gantt chart corresponding to the aviation mission plan data; The Gantt chart is used to display the Gantt chart interface.

8. The method according to claim 7, characterized in that, The method further includes: Upon receiving a template file, the template file is parsed to obtain a Gantt chart configuration template; Store the Gantt chart configuration template.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when executed on a computer, cause the computer to perform the Gantt chart display method according to any one of claims 1 to 8.

10. An electronic device, characterized in that, include: One or more processors; one or more memories; The one or more memories are used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the Gantt chart display method as described in any one of claims 1 to 8.