Domestic civil aircraft performance calculation mode based on difference value
By using MYSQL database and Java language in the aircraft performance analysis software package for performance data processing, and combining Redis caching technology, the problem of slow flight plan data query speed in the existing technology is solved, and more efficient and accurate performance data calculation and query is achieved.
Patent Information
- Application Number
- CN202411737625.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-11
AI Technical Summary
When the existing aircraft performance analysis software package handles multiple calls to performance data in the flight plan, the query speed is slow and the overall operation takes a long time. It is impossible to directly match the current status of the aircraft with non-integer values, which affects the efficiency and accuracy of the flight plan formulation.
By generating domestic civil aircraft performance data and importing into MYSQL relational database, reading data using Java language, differential calculations of aircraft performance data are performed based on query conditions, and data storage and query efficiency are improved by using database indexing and query optimization technology, and waiting time is reduced through Redis cache technology.
It realizes accurate acquisition of performance data under the current conditions of civilian machines, improves the accuracy and efficiency of performance data calculation, reduces waiting time, and improves user experience.
Smart Images

Figure CN119597854A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aviation technology, and in particular to a method for calculating the performance of domestic civil aircraft based on differential aircraft. Background Art
[0002] The performance data of domestic civil aircraft is for a certain type of passenger aircraft. According to the current aircraft altitude, weight, △ISA and the performance calculation formula of each model, the fuel, time and driving distance required for climbing, descending, cruising and circling under the current conditions are calculated. The flight plan is the calculation of the overall fuel consumption required for the route and detailed information of each waypoint during a voyage. The detailed information includes the current altitude, weight, fuel consumption, flight time, true airspeed and ground speed.
[0003] The formulation and execution of flight plans rely on accurate and efficient aircraft performance data. With the continuous advancement of domestic civil aircraft technology and the expansion of market share, the requirements for aircraft performance analysis software packages are also increasing. Existing aircraft performance analysis software packages have slow query speeds and long overall operation times when processing multiple calls to performance data in flight plans. Aircraft performance data is usually stored and recorded in integer units, while the current state of an aircraft (such as altitude, weight, △ISA, etc.) during actual flight is often not an integer value. Therefore, when it is necessary to query aircraft performance data, it is impossible to directly perform an accurate match, and only the performance data within the interval containing the required non-integer value can be queried, which directly affects the efficiency and accuracy of flight plan formulation. Summary of the invention
[0004] The invention provided by the present invention aims to generate domestic civil aircraft performance data and import it into a MYSQL relational database, use Java language to read the MYSQL domestic civil aircraft performance database data, perform difference calculation on the aircraft performance data according to the query conditions, accurately obtain the performance data of the civil aircraft under the current conditions, fully consider the performance differences between different flight conditions and different models, improve the accuracy of performance data calculation, use a MYSQL relational database to store aircraft performance data, and use database indexing and query optimization technology to improve data storage and query efficiency. After the front end obtains the data, it calls Redis to store the data and provides the next query. The customer queries again. If the query value in Redis is matched, the performance difference data is directly read, which can reduce waiting time and improve user experience.
[0005] In order to achieve the above-mentioned effect, the present invention provides the following technical solution: a domestic civil aircraft performance calculation method based on a differential aircraft comprises the following steps:
[0006] Step 1: Generate the performance data of C919 and ARJ21 civil aircraft as two-dimensional table data, and read the performance data directly from the database according to the query conditions.
[0007] Step 2: Based on the query list data, use the difference calculation method to obtain the performance data of the current state of the civil aircraft.
[0008] Step 3: Based on the query conditions, cache the processed difference data in Redis and provide it for the next query.
[0009] Furthermore, in step one, the civil aircraft performance data and performance data include climb, descent, cruise and hover phase performance data, and the performance database fields of C919 and ARJ21 are consistent.
[0010] Furthermore, in step 1, the climb phase performance database includes fields of aircraft model, weight, ΔISA, altitude, Mach number, true airspeed, time, fuel consumption and climb distance.
[0011] Furthermore, in step 1, the descent phase performance database includes fields of aircraft model, weight, ΔISA, altitude, Mach number, true airspeed, time, fuel consumption and descent distance.
[0012] Furthermore, in step 1, the cruise phase performance database includes aircraft model, weight, ΔISA, altitude, Mach number, true airspeed and single engine fuel quantity / hour.
[0013] Furthermore, in step 1, the hovering phase performance database includes aircraft model, weight, ΔISA, altitude, Mach number, true airspeed and single engine fuel volume / hour.
[0014] Furthermore, in the step 2, according to the query conditions, weight, ΔISA, altitude and Mach number are selected as query conditions, and the aircraft model and Mach number are fixed values. Since the weight value, ΔISA and altitude value are segmented enumeration values, the query interval is obtained according to the condition value during the query to obtain a query list.
[0015] Furthermore, in the step 2, a difference comparison is first performed based on the weight value, the ratio of the currently input weight value and the weight value in the query range is calculated, and the difference calculation is performed on the result value, and the result value is the vacuum speed, time, fuel volume and distance. The same method is then used to perform a difference comparison on the △ISA and altitude values, and finally the accurate flight performance data value under the query conditions is obtained.
[0016] Furthermore, in step three, the user queries the aircraft performance data according to the current conditions, uses the current query conditions as the Key, combines the queried data into a Value, stores it in the REDIS cache, and sets an expiration time.
[0017] Furthermore, in the step three, when the user queries data, the cached data in REDIS is compared first, and if there is any, it is directly returned without querying the database, and the Value value is obtained, and the Value value is parsed into the required format.
[0018] The present invention provides a method for calculating the performance of domestic civil aircraft based on differential values, which has the following beneficial effects: by generating domestic civil aircraft performance data and importing it into a MYSQL relational database, using Java language to read the MYSQL domestic civil aircraft performance database data, performing differential calculation on the aircraft performance data according to query conditions, accurately obtaining the performance data of the civil aircraft under current conditions, being able to fully consider the performance differences between different flight conditions and different aircraft models, and improving the accuracy of performance data calculation, using a MYSQL relational database to store aircraft performance data, and utilizing database indexing and query optimization technology to improve data storage and query efficiency, after the front end obtains the data, by calling Redis to store the data, providing the next query, and the customer queries again, if the query value in Redis is matched, the performance difference data is directly read, which can reduce waiting time and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flow chart of the method for calculating the performance of domestic civil aircraft based on differential aircraft of the present invention;
[0020] Figure 2 It is a specific functional diagram of the domestic civil aircraft of the present invention based on the differential aircraft performance calculation method;
[0021] Figure 3 It is a flow chart of performance data acquisition of a domestic civil aircraft based on a differential aircraft performance calculation method of the present invention;
[0022] Figure 4 The present invention is a flowchart of the fuel quantity calculation method based on the differential aircraft performance calculation method of the domestic civil aircraft. DETAILED DESCRIPTION
[0023] See also Figure 1-4 The present invention provides a technical solution: a method for calculating the performance of a domestic civil aircraft based on a differential aircraft, comprising the following steps:
[0024] Step 1: Generate the performance data of C919 and ARJ21 civil aircraft as two-dimensional table data, read the performance data directly from the database according to the query conditions, use MYSQL as the database storage component, and obtain the performance data directly from MYSQL.
[0025] Step 2: Based on the query list data, the performance data of the current state of the civil aircraft is obtained by using the difference calculation method. The JAVA development language is used to save the queried data in the JAVA memory structure ArrayList.
[0026] Step 3: Based on the query conditions, cache the processed difference data in Redis and provide it for the next query.
[0027] Specifically, in step one, the civil aircraft performance data and performance data include climb, descent, cruise and hover phase performance data, and the performance database fields of C919 and ARJ21 are consistent.
[0028] Specifically, in step 1, the climb phase performance database includes fields of aircraft model, weight, ΔISA, altitude, Mach number, true airspeed, time, fuel consumption and climb distance.
[0029] Specifically, in step 1, the descent phase performance database includes fields of aircraft model, weight, ΔISA, altitude, Mach number, true airspeed, time, fuel consumption and descent distance.
[0030] Specifically, in step 1, the cruise phase performance database includes aircraft model, weight, ΔISA, altitude, Mach number, true airspeed and single engine fuel volume / hour.
[0031] Specifically, in step 1, the hovering phase performance database includes aircraft model, weight, ΔISA, altitude, Mach number, true airspeed and single engine fuel volume / hour.
[0032] Specifically, in step 2, according to the query conditions, weight, △ISA, altitude and Mach number are selected as query conditions, and the model and Mach number are fixed values. Since the weight value, △ISA and altitude value are segmented enumeration values, the query interval is obtained according to the condition value during the query to obtain a query list. The Mach number is generally 0.75, and the model values are ARJ21 and C919.
[0033] Specifically, in step 2, firstly, a difference comparison is made based on the weight value, the ratio of the currently input weight value and the weight value in the query range is calculated, and the difference calculation is performed on the result value, and the result value is the vacuum speed, time, fuel volume and distance. Then, the same method is used to make a difference comparison on △ISA and altitude values, and finally the accurate flight performance data value under the query conditions is obtained.
[0034] Specifically, in step three, the user queries the aircraft performance data according to the current conditions, uses the current query conditions as the key, combines the queried data into a value, stores it in the REDIS cache, and sets an expiration time.
[0035] Specifically, in step three, when the user queries data, first compare the cached data in REDIS. If there is any, return directly without querying the database, obtain the Value value, and parse the Value value into the required format.
[0036] When in use, the performance data of domestic civil aircraft is generated and imported into the MYSQL relational database, and the MYSQL domestic civil aircraft performance database data is read using the Java language. The aircraft performance data is calculated based on the query conditions to accurately obtain the performance data of the civil aircraft under the current conditions. It can fully consider the performance differences between different flight conditions and different aircraft models, and improve the accuracy of performance data calculation. The MYSQL relational database is used to store aircraft performance data, and the database index and query optimization technology can be used to improve data storage and query efficiency. After the front end obtains the data, it calls Redis to store the data and provides the next query. The customer queries again. If the query value in Redis is matched, the performance difference data is directly read, which can reduce waiting time and improve user experience. Combined with Redis caching technology, frequently queried data can be stored in Redis, which can reduce the number of database queries and further improve system performance.
[0037] The steps for using flight performance data in flight planning are:
[0038] Step 1: Calculate the amount of fuel and time required to climb based on the aircraft takeoff status information. The specific steps are:
[0039] Step 1.1: Based on the initial information, obtain the weight of the aircraft, the altitude to be climbed, and the ISA difference of the meteorological data;
[0040] Step 1.2: Query the Redis cache data. If there is any, return it directly. If not, query the database.
[0041] Step 1.3: According to the value of the query condition, determine the query range of weight, height and △ISA, search the database according to the query range, and return the query list;
[0042] Step 1.4: Update the acquired data values, including fuel volume, distance and time, according to the difference between the interval values of each query condition and the actual query value;
[0043] Step 1.5: Write the value to the REDIS cache and provide it for the next query.
[0044] Step 2: Calculate the fuel volume and time required for cruising based on the aircraft cruise status information. The specific steps are:
[0045] Step 2.1: Based on the aircraft status information during the cruise phase, obtain the aircraft weight, the altitude to be climbed, and the ISA difference of the meteorological data.
[0046] Step 2.2: Query the Redis cache data. If it exists, return it directly. If not, query the database.
[0047] Step 2.3: According to the value of the query condition, determine the query range of weight, altitude and △ISA, search the database according to the query range, and return the cruise data list.
[0048] Step 2.4: Update the acquired data values based on the difference between the interval values of each query condition and the true query value, including the single-engine fuel quantity / hour. Calculate the required fuel quantity and time for the current waypoint based on the distance of the waypoint, and finally summarize the fuel quantity and time of all waypoints.
[0049] Step 2.5: Write the value to the REDIS cache to provide the next query.
[0050] Step 3: Calculate the amount of fuel and time required to climb based on the aircraft's descent status information. The specific steps are:
[0051] Step 3.1: According to the aircraft status information during descent, obtain the aircraft weight, current altitude and required descent altitude, and ISA difference of meteorological data.
[0052] Step 3.2: Query the Redis cache data. If it exists, return it directly. If not, query the database.
[0053] Step 3.3: According to the value of the query condition, determine the query range of weight, height and △ISA, search the database according to the query range, and return the query list.
[0054] Step 3.4: Update the acquired data values, including fuel volume, distance, and time, based on the difference between the query condition interval values and the actual query values.
[0055] Step 3.5: Write the value to the REDIS cache to provide the next query.
[0056] Step 4: Calculate the amount of fuel and time required to climb based on the aircraft's descending and circling status information. The specific steps are:
[0057] Step 4.1: According to the hovering status information, obtain the weight of the aircraft, the altitude to be climbed, and the △ISA of the meteorological data.
[0058] Step 4.2: Query the Redis cache data. If it exists, return it directly. If not, query the database.
[0059] Step 4.3: According to the value of the query condition, determine the query range of weight, height and △ISA, search the database according to the query range, and return the query list.
[0060] Step 4.4: Update the fuel consumption per trip / hour based on the difference between the query condition interval value and the actual query value, and calculate the fuel consumption and time based on the distance.
[0061] Step 4.5: Write the value to the REDIS cache to provide the next query.
[0062] Finally, based on the data results of each stage and combined with the fuel consumption of each aircraft state such as climb, cruise, descent, and circling, the amount of fuel and time required for this flight are generated. Finally, the fuel consumption, time, and altitude of each waypoint are displayed in the flight plan report. Users can intuitively see the aircraft performance data of each waypoint during a flight plan.
[0063] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. The performance calculation method of domestic civil aircraft based on differential aircraft is characterized by: The following steps are involved: S1. Generate the performance data of C919 and ARJ21 civil aircraft as two-dimensional table data, and directly read the performance data from the database according to the query conditions; S2. According to the query list data, the performance data of the current state of the civil aircraft is obtained by using the difference calculation method; S3: Based on the query conditions, cache the processed difference data in Redis and provide it for the next query.
2. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 1 is characterized in that: In step S1, the civil aircraft performance data and performance data include climb, descent, cruise and hover phase performance data, and the performance database fields of C919 and ARJ21 are consistent.
3. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 2 is characterized in that: In step S1, the climbing phase performance database includes fields of aircraft type, weight, ΔISA, altitude, Mach number, true airspeed, time, fuel consumption and climbing distance.
4. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 2 is characterized in that: In step S1, the descent phase performance database includes fields such as aircraft type, weight, ΔISA, altitude, Mach number, true airspeed, time, fuel consumption and descent distance.
5. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 2 is characterized in that: In step S1, the cruise phase performance database includes aircraft type, weight, ΔISA, altitude, Mach number, true airspeed and single engine fuel volume / hour.
6. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 2 is characterized in that: In step S1, the hovering stage performance database includes aircraft model, weight, ΔISA, altitude, Mach number, true airspeed and single engine fuel volume / hour.
7. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 1 is characterized in that: In step S2, according to the query conditions, weight, ΔISA, altitude and Mach number are selected as query conditions, and the aircraft type and Mach number are fixed values. Since the weight value, ΔISA and altitude value are segmented enumeration values, the query interval is obtained according to the condition value during the query to obtain a query list.
8. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 1, characterized in that: In step S2, a difference comparison is first performed based on the weight value, and the ratio of the currently input weight value to the weight value in the query range is calculated. The difference calculation is performed on the result value, and the result value is the vacuum speed, time, fuel volume and distance. The same method is then used to perform a difference comparison on the ΔISA and altitude values, and finally the accurate flight performance data value under the query conditions is obtained.
9. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 1, characterized in that: In step S3, the user searches for aircraft performance data according to current conditions, uses the current search conditions as a key, combines the searched data into a value, stores it in the REDIS cache, and sets an expiration time.
10. The method for calculating the performance of domestic civil aircraft based on differential value according to claim 1, characterized in that: In step S3, when the user queries data, the cached data in REDIS is compared first. If there is any, it is directly returned without querying the database, the Value value is obtained, and the Value value is parsed into the required format.