A method for automatically processing civil aviation advance flight plan layout messages
By formulating a standard format sample template to automatically process civil aviation advance flight plan layout messages, the low efficiency problem of existing technologies is solved, and efficient message processing and safe air traffic coordination are achieved.
Patent Information
- Application Number
- CN202210093935.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-26
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2042-01-26
AI Technical Summary
The existing method of processing pre-flight plan arrangement messages is inefficient, prone to delays or errors, and cannot meet the needs of air traffic safety.
By establishing a civil aviation advance flight plan layout message library, parsing the header, preamble, body title and ending, formulating standard format sample templates, automatically processing messages, extracting key information and assigning it to the library, automatic message processing is achieved.
It improves processing efficiency, reduces the workload of controllers, ensures air traffic control coordination and flight safety, and enhances the scalability and flexibility of processing procedures.
Smart Images

Figure CN114757632B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of aviation telegram processing of civil aviation, and in particular relates to an automatic processing method for civil aviation advance flight plan arrangement messages. Background Art
[0002] With the rapid development of my country's air transport industry, flight volume continues to grow rapidly. The automation level of the air traffic control system is key to ensuring air traffic safety. Currently, air operators submit flight scheduling applications to the Civil Aviation Administration of China. After the CAAC approves the application, it formulates a pre-flight plan and sends the flight plan layout report to the various control and operation units of the subordinate air traffic control bureau via the Aeronautical Fixed Telecommunication Network (AFTN). Existing pre-flight plan layout reports do not have a standard format. Pre-flight plan approval clerks compile messages based on some simple format requirements and personal habits. Controllers at the receiving units use manual processing to manage the sending and receiving, analysis, and plan maintenance. This processing method is generally inefficient and may cause delays or errors. Summary of the Invention
[0003] To address the shortcomings of the prior art, the present invention aims to provide a method for automatically processing civil aviation advance flight plan assignment messages, addressing the inefficiency of existing manual processing methods. This method extracts common features from various forms of civil aviation advance flight plan assignment messages, improving the efficiency of processing civil aviation advance flight plan assignment messages by replacing the current single, manual processing method.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] A method for automatically processing a civil aviation advance flight plan arrangement message of the present invention comprises the following steps:
[0006] 1) Establish a civil aviation advance flight plan layout message library;
[0007] 2) Header parsing and verification: Parse the first three lines of the received civil aviation message and determine whether it is a civil aviation advance flight plan arrangement message based on the sending address field information;
[0008] 3) Preamble parsing and verification: Based on the common characteristics of civil aviation advance flight plan messages (i.e., common message formats, keywords, locations, and lengths), a standard preamble format sample template is developed. During message parsing, specific information is obtained by extracting keywords according to the standard preamble format sample template.
[0009] 4) Body title parsing and verification: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard body title format sample template is formulated; when parsing the message, specific information is obtained by extracting keywords according to the standard body title format sample template; the message is classified according to the core field operation type. If the operation type is to add flight information, step 5) is executed; if the operation type is to cancel flight information, step 6) is executed; if the operation type is to modify flight information, step 7) is executed;
[0010] 5) Based on the common characteristics of civil aviation advance flight plan arrangement messages, a new message body standard format sample template is formulated for the operation type; when parsing the message, specific information is matched according to the body standard format sample template; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan arrangement message library is assigned values;
[0011] 6) Based on the common characteristics of civil aviation advance flight plan arrangement messages, a standard format sample template for the message body with the operation type of cancellation is formulated; when parsing the message, specific information is matched according to the standard format sample template for the message body; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan arrangement message library is assigned;
[0012] 7) Based on the common characteristics of civil aviation advance flight plan layout messages, comprehensive and revision-only messages are summarized, and standard message body format sample templates for the revision operation type are developed for each. When parsing messages, specific information is matched according to the standard message body format sample templates defined for the comprehensive and revision-only categories respectively. Based on the obtained information, core fields are validated and corresponding information in the civil aviation advance flight plan layout message library is assigned values.
[0013] 8) Based on the keywords ROUTE: or FLIGHTROUTE:, LEVEL: or FLIGHT LEVEL:, PERMISSION NUMBER:, RMK: or REMARK: defined in the standard format sample templates of each body of the text in steps 5)-7), continue to parse the optional route, altitude, permission number, and remarks fields line by line;
[0014] 9) Message Ending Parsing: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard message ending format sample template is formulated; when parsing the message, specific information is matched according to the standard message ending format sample template; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan layout message library is assigned;
[0015] 10) Based on the information obtained after processing in steps 2) to 9), add, modify or delete information in the civil aviation advance flight plan arrangement message library.
[0016] Furthermore, the information in the message library in step 1) includes: message serial number, message sending address, mission nature, time zone, operation type, aircraft model, flight number, registration number, departure airport, departure time, landing airport, landing time, execution cycle or execution time, route, altitude, permission number, remarks, contact code, contact phone number, and field information for revisions to the pre-flight plan (only revised messages have field assignments), including new flight number, new aircraft model, new departure airport, new departure time, new landing airport, new landing time, new execution cycle or execution time, new route, new altitude, and new permission number data.
[0017] Furthermore, the header in step 2) is the first three lines of the flight plan arrangement report.
[0018] Furthermore, the step 2) specifically includes: matching the field information of the sending address of the flight plan arrangement message with the civil aviation advance flight plan arrangement message sending address database to determine whether it is a civil aviation advance flight plan arrangement message; if not, no subsequent processing is performed; if so, the specific steps are as follows:
[0019] 21) Establish and maintain the civil aviation advance flight plan layout message sending address database, the main fields are: serial number, sending unit AFTN network address, activation flag;
[0020] 22) Analyze the header information of the flight plan layout message, which includes: message serial number, receiving unit address, receiving time, sending unit address, and sending time;
[0021] 23) Sequentially extracting the address values of the transmitting units whose activation flags are enabled from the civil aviation advance flight plan arrangement message transmitting address database, and matching them with the aviation fixed telecommunication network address of the transmitting unit in step 22); if the match fails, no subsequent processing is performed; if the match succeeds, executing step 24);
[0022] 24) Based on the message serial number and the aviation fixed telecommunication network address information of the sending unit obtained by parsing the header of the flight plan arrangement message, assign values to the message serial number and sending address fields of the civil aviation advance flight plan arrangement message library.
[0023] Furthermore, the standard format sample template of the preamble in step 3) is:
[0024] MSG XXX
[0025] RMT XXX
[0026] XXX[AZ] / [AZ]XXX ADD(or CHG or CNL)AS FLW:(or AS FLWS: or AS BLW: or ASBLWS:)(PEK){or (PKT) or PEK TIME or PKT TIME or UTC TIME or PEK or PKT or UTC}
[0027] Among them, XXX is the content of the civil aviation advance flight plan arrangement message.
[0028] Furthermore, the preamble in step 3) is from the 4th line to the line containing the AS FLW:, AS FLWS:, AS BLW: or AS BLWS: information.
[0029] Furthermore, the step 3) specifically includes:
[0030] 31) Develop a sample template for the standard format of the preamble based on the common characteristics of civil aviation advance flight plan layout messages;
[0031] 32) Parse line by line based on keywords;
[0032] The information following the MSG FROM keyword defines the source of the message.
[0033] The information following the RMT keyword is defined as the message interpretation;
[0034] Information in the row containing the keyword AS FLW:, AS FLWS:, AS BLW: or AS BLWS:: Information in the [AZ] / [AZ] format indicates the nature of the flight mission;
[0035] (PEK), (PKT), PEK TIME, PKT TIME, UTC TIME, PEK, PKT, or UTC keywords indicate the time zone format of the time information in the message body;
[0036] The CHG, ADD, or CNL keyword indicates the operation type of the message;
[0037] 33) According to step 32), the mission nature, time zone format, and operation type field information have been obtained, and the mission nature, time zone, and operation type fields of the civil aviation advance flight plan arrangement message library are assigned values.
[0038] Furthermore, the standard format sample template of the text title in step 4) is:
[0039] PURPOSE OF FLIGHT:XXX
[0040] AIRCRAFT TYPE:(or A / C:)XXX
[0041] CALLSIGN:(or CALL SIGN:)XXX
[0042] REGISTRY:(or REG:)XXX
[0043] DATE AND SKED:XXX
[0044] Among them, XXX is the content of the civil aviation advance flight plan arrangement message.
[0045] Furthermore, the body title in step 4) is the information from the end line of the message parsed in step 3) to the previous line of the message take-off / landing airport and time.
[0046] Furthermore, the step 4) specifically includes:
[0047] 41) Develop a standard format template for the main text title based on the common characteristics of civil aviation advance flight plan layout messages;
[0048] 42) Parse line by line based on keywords;
[0049] PURPOSE OF FLIGHT: The information following the keyword, in the format of 1 letter / 1 letter, indicates the nature of the flight mission;
[0050] The information following the AIRCRAFT TYPE: or A / C: keyword indicates the aircraft type of the flight. If there are multiple aircraft types, the aircraft types are separated by slashes.
[0051] The information following the CALLSIGN: or CALL SIGN: keyword indicates the flight number;
[0052] REGISTRY: or the information following the "REG:" keyword indicates the flight registration number;
[0053] DATE AND SKED: The information following the keyword indicates the time zone format of the time information in the body of this message;
[0054] 43) Based on the mission nature, aircraft type, flight number, registration number, and time zone format field information obtained in step 42), assign values to the mission nature, aircraft type, flight number, registration number, and time zone fields of the civil aviation advance flight plan arrangement message library; if the mission nature and time zone format fields can obtain specific values during the execution of step 4), such values shall prevail, overriding the values assigned in step 3); otherwise, the mission nature and time zone format shall be based on the specific values obtained in step 3);
[0055] 44) Execute different operation steps according to the operation type obtained in step 32). When the operation type is to add flight information, execute step 5); when the operation type is to cancel flight information, execute step 6); when the operation type is to modify flight information, execute step 7).
[0056] Furthermore, the main body of the text in step 5) is the character string information from the line where the take-off and landing airports and times are located to the end of the message before the keyword PLS ENSURE / or PLEASE ENSURE / .
[0057] Furthermore, the new standard format sample template of the message body in step 5) is:
[0058] XXX ON (or EFF:) XXX
[0059] ROUTE:(or FLIGHT ROUTE:)XXX
[0060] LEVEL:(or FLIGHT LEVEL:)XXX
[0061] PERMISSION NUMBER:XXX
[0062] RMK:(or REMARK:)XXX
[0063] Among them, XXX is the content of the civil aviation advance flight plan arrangement message.
[0064] Furthermore, the step 5) specifically includes:
[0065] 51) Based on the common characteristics of civil aviation advance flight plan layout messages, a sample template for the standard format of the message body is developed with the operation type being newly added. Within the sample template for the standard format of the message body, the information before and after the keyword ON or EFF: is mandatory and must be present. Information beginning with the keywords ROUTE: or FLIGHT ROUTE:, LEVEL: or FLIGHTLEVEL:, PERMISSION NUMBER:, RMK:, or REMARK: is not mandatory and should be provided in each message based on actual circumstances.
[0066] 52) Parse the information before and after the keyword ON or EFF:, including: flight number, departure airport, departure time, landing airport, landing time, execution period or execution time;
[0067] 53) Continue parsing the next line. If the line begins with a number, execute step 52) again starting from the current line being parsed. If the line begins with the keyword PLS ENSURE / , PLEASE ENSURE / , AA., BB., or CC., execute step 54). Otherwise, execute step 8).
[0068] 54) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution cycle or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields;
[0069] After the assignment is completed, the next operation is determined based on the keyword information analyzed in step 53). If it is AA., BB. or CC., it indicates a comprehensive message. If the flight plan still needs to be analyzed, proceed to step 77); otherwise, execute step 9).
[0070] Furthermore, the standard format sample template of the message body of the cancellation in step 6) is:
[0071] XXX ON (or EFF:) XXX
[0072] ROUTE:(or FLIGHT ROUTE:)XXX
[0073] LEVEL:(or FLIGHT LEVEL:)XXX
[0074] PERMISSION NUMBER:XXX
[0075] RMK:(or REMARK:)XXX
[0076] Among them, XXX is the content of the civil aviation advance flight plan arrangement message.
[0077] Furthermore, the step 6) specifically includes:
[0078] 61) Based on the common characteristics of civil aviation advance flight plan arrangement messages, a standard sample template for the message body with the operation type of cancel is developed;
[0079] According to the sample template requirements, the information before and after the keyword ON or EFF: is mandatory and must be present. Information beginning with the keywords ROUTE: or FLIGHT ROUTE:, LEVEL: or FLIGHT LEVEL:, PERMISSION NUMBER:, RMK:, or REMARK: is optional and should be provided in each message based on actual conditions.
[0080] 62) Based on the keyword ON or EFF in the standard format sample template of the body of the text, parse the required information to obtain information including flight number, departure airport, departure time, landing airport, landing time, execution period or execution time;
[0081] 63) Continue parsing the next line. If the line begins with a number, execute step 62) again from the current line being parsed. If the line begins with the keyword PLS ENSURE / , PLEASE ENSURE / , AA., BB., or CC., execute step 64). Otherwise, execute step 8).
[0082] 64) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution period or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields;
[0083] After the assignment is completed, the next operation is determined according to the keyword information read in step 63). If it is AA., BB., or CC., it indicates a comprehensive message. If the flight plan still needs to be analyzed, proceed to step 77); otherwise, proceed to step 9).
[0084] Furthermore, the step 7) specifically includes:
[0085] 71) Read the first three bytes of the first line of the message body. If it is a comprehensive message, execute step 76); otherwise, if it is a revision-only message, execute step 72);
[0086] 72) Based on the common characteristics of civil aviation advance flight plan layout messages, a standard format sample template for the body of revision-only messages with the operation type of revision is developed;
[0087] XXX ON(or EFF:XXX CHG TO XXX EFF:)XXX
[0088] ROUTE:(or FLIGHT ROUTE:)XXX
[0089] LEVEL:(or FLIGHT LEVEL:)XXX
[0090] PERMISSION NUMBER:XXX
[0091] RMK:(or REMARK:)XXX
[0092] Among them, XXX is the content of the civil aviation advance flight plan arrangement message.
[0093] According to the standard format sample template for the body of the text, the information before and after the keywords ON, EFF:, and CHG TO is mandatory and must be present. Information beginning with the keywords ROUTE: or FLIGHT ROUTE:, LEVEL: or FLIGHTLEVEL:, PERMISSION NUMBER:, RMK:, or REMARK: is optional and should be provided in each message based on actual circumstances.
[0094] 73) Parse the required information according to the standard format sample template of the body of the text to obtain information including the flight number, departure airport, departure time, landing airport, landing time, execution cycle or execution time; then obtain the field information for the revision of the pre-flight plan. If the message does not contain the keyword CHG TO, directly execute step 74); otherwise, if the keyword CHG TO is contained, obtain the required revised values of the departure airport, departure time, landing airport, landing time, execution cycle or execution time, flight number, registration number, and aircraft model core data items in the string following the keyword CHG TO;
[0095] 74) Continue parsing the next line. If the line begins with a number, execute step 73) again from the current line being parsed. If the line begins with the keyword PLS ENSURE / , PLEASE ENSURE / , AA., BB., or CC., execute step 75). Otherwise, execute step 8).
[0096] 75) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution period or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields;
[0097] After the assignment is completed, the next operation is determined according to the keyword information read in step 74). If it is AA., BB. or CC., it indicates a comprehensive message. If the flight plan still needs to be analyzed, proceed to step 77); otherwise, proceed to step 9);
[0098] 76) Based on the common characteristics of civil aviation advance flight plan layout messages, a standard format sample template for the body of comprehensive messages with the operation type of revision is developed;
[0099] The standard format sample template of the body of the comprehensive message is:
[0100] AA.ADD (or CHG or CNL) XXX
[0101] XXX
[0102] BB.CNL (or ADD or CHG)XXX
[0103] XXX
[0104] CC.CHG (or ADD or CNL)XXX
[0105] XXX
[0106] Among them, XXX is the content of the civil aviation advance flight plan arrangement message; comprehensive messages, including the main body of the message of any one, two or three types of operation, including addition, revision and cancellation, are classified into AA., BB. or CC. segments according to actual conditions;
[0107] 77) According to the sample template format requirements formulated in step 76), read the three bytes of information after the first line AA., BB. or CC. If the three bytes of information are ADD, it means that the AA., BB. or CC. categories are all newly added messages, and starting from the next line, execute step 5); if the three bytes of information are CNL, it means that the AA. or BB. or CC. categories are all canceled messages, and starting from the next line, execute step 6); if the three bytes of information are CHG, it means that the AA. or BB. or CC. categories are all revised messages, and starting from the next line, execute steps 72)-step 75).
[0108] Furthermore, in step 9), the message ends with the keyword PLS ENSURE / or PLEASE ENSURE / followed by a character string including the contact code and contact phone information.
[0109] Furthermore, the sample template of the standard format of the message end in step 9) is:
[0110] PLS ENSURE / (or PLEASE ENSURE / )XXX
[0111] Among them, XXX is the content of the civil aviation advance flight plan arrangement message.
[0112] Furthermore, the step 9) specifically includes:
[0113] 91) Information after matching the keywords PLS ENSURE / or PLEASE ENSURE / , including the contact code and contact phone number; if the keywords PLS ENSURE / or PLEASE ENSURE / are not matched, the message will no longer be automatically processed and will be submitted for manual processing as a difficult message;
[0114] 92) According to the contact code and contact phone field information obtained in step 91), the contact code and contact phone fields of the civil aviation advance flight plan arrangement message library are assigned values.
[0115] Beneficial effects of the present invention:
[0116] The method of the present invention realizes automatic processing of civil aviation advance flight plan arrangement messages by identifying the common features of various forms of civil aviation advance flight plan arrangement messages, reduces the workload of controllers, improves work efficiency, better coordinates controllers to carry out air traffic control command, and ensures flight safety.
[0117] In addition, a large number of civil aviation pre-flight plan layout messages are summarized, and the entire message is broken down into five parts: header, preamble, text title, text body, and header end, and standard format sample templates are formulated for each part; the entire message parsing process is modularized to increase scalability and flexibility, and the standard styles of each part can be flexibly changed according to actual conditions. In this way, the various stages of the entire method processing flow do not interfere with each other, and maintaining the standard format sample template of a module will not affect other modules, thereby improving the processing performance of the entire process. BRIEF DESCRIPTION OF THE DRAWINGS
[0118] Figure 1 Schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0119] In order to facilitate understanding by those skilled in the art, the present invention will be further described below with reference to embodiments and drawings. The contents mentioned in the embodiments are not intended to limit the present invention.
[0120] Reference Figure 1 As shown, a method for automatically processing a civil aviation advance flight plan arrangement message of the present invention comprises the following steps:
[0121] 1) Establish a civil aviation advance flight plan layout message library; the information in the message library includes: message serial number, sending address, mission nature, time zone, operation type, aircraft type, flight number, registration number, departure airport, departure time, landing airport, landing time, execution cycle or execution time, route, altitude, clearance number, remarks, contact code, contact phone number, and field information for revisions to the advance flight plan (only revision messages have field assignments), including new flight number, new aircraft type, new departure airport, new departure time, new landing airport, new landing time, new execution cycle or execution time, new route, new altitude, and new clearance number data.
[0122] 2) Header parsing and verification: Parse the first three lines of the received civil aviation message and determine whether it is a civil aviation advance flight plan arrangement message based on the sending address field information;
[0123] The header is the first three lines of the flight plan arrangement message; specifically, the process includes: matching the sending address field information of the flight plan arrangement message with the civil aviation advance flight plan arrangement message sending address database to determine whether it is a civil aviation advance flight plan arrangement message; if not, no subsequent processing is performed; if so, the process is as follows:
[0124] 21) Establish and maintain the civil aviation advance flight plan arrangement message sending address database, the main fields are: sequence number, sending unit AFTN network address, and activation flag; as shown in Table 1:
[0125] Table 1
[0126]
[0127] 22) Analyze the header information of the flight plan layout message, which includes: message serial number, receiving unit address, receiving time, sending unit address, and sending time;
[0128] The sample template of the standard header format is as follows:
[0129] "ZCZC serial number receiving time
[0130] AFTN network address of the telegraph-level receiving unit
[0131] The time of sending the message and the AFTN network address of the sending unit"
[0132] As shown in Example 1:
[0133] Example 1:
[0134] "ZCZC FMC2291 310049
[0135] GG ZSSSZXZX
[0136] 310048 ZBBBCKXX”
[0137] In Example 1, "ZCZC" is the start marker of the message. The information following the start marker generally consists of three letters and four numbers, which is defined as the serial number of the message "FMC2291". The last "310049" in the first line is the reception time (UTC).
[0138] The second line "GG" is the telegram grade (GG is urgent, JJ is express, LL is normal), and "ZSSSZXZX" is the AFTN network address of the receiving unit.
[0139] The third line "310048" is the time when the message was sent (UTC), and "ZBBBCKXX" is the AFTN network address of the sending unit.
[0140] 23) Sequentially extracting the address values of the transmitting units whose activation flags are enabled from the civil aviation advance flight plan arrangement message transmitting address database, and matching them with the aviation fixed telecommunication network address of the transmitting unit in step 22); if the match fails, no subsequent processing is performed; if the match succeeds, executing step 24);
[0141] 24) Based on the message serial number and the aviation fixed telecommunication network address of the sending unit obtained by parsing the flight plan arrangement message header, assign values to the message serial number and sending address fields of the civil aviation advance flight plan arrangement message library; for example, assign values to the data obtained in Example 1:
[0142] Civil aviation advance flight plan arrangement message library. Message serial number = "FMC2291";
[0143] Civil aviation advance flight plan arrangement message library. Message address = "ZBBBCKXX".
[0144] 3) Preamble parsing and verification: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard preamble format sample template is developed. When parsing the message, specific information is obtained by extracting keywords according to the standard preamble format sample template;
[0145] The preamble is from line 4 to the line containing the AS FLW:, AS FLWS:, AS BLW: or AS BLWS: information; specifically, it includes:
[0146] 31) Based on the common characteristics of civil aviation advance flight plan layout messages, a sample template for the standard format of the preamble is developed; specifically:
[0147] MSG XXX (Civil Aviation Pre-Flight Plan Arrangement Message Content)
[0148] RMT XXX
[0149] XXX[AZ] / [AZ]XXX ADD(or CHG or CNL)AS FLW:(or AS FLWS: or AS BLW: or ASBLWS:)(PEK){or (PKT) or PEK TIME or PKT TIME or UTC TIME or PEK or PKT or UTC};
[0150] As shown in Example 2:
[0151] Example 2:
[0152] "MSG FROM SPMS HD ATMB
[0153] RMT 100244 CHG
[0154] CCA W / Z ALTN FLIGHT PLAN ADD AS FLW:PEK TIME”;
[0155] 32) Parse line by line based on keywords;
[0156] The information following the "MSG FROM" keyword is defined as the source of the message.
[0157] The information following the "RMT" keyword is defined as the message interpretation;
[0158] Information in the row containing the keyword "AS FLW:", "AS FLWS:", "AS BLW:", or "AS BLWS:": Information in the [AZ] / [AZ] format indicates the nature of the flight's mission;
[0159] "(PEK)", "(PKT)", "PEK TIME", "PKT TIME", "UTC TIME", "PEK", "PKT", "UTC" keywords indicate the time zone format of the time information in the message body;
[0160] The CHG, ADD, or CNL keyword indicates the operation type of the message;
[0161] 33) Based on the information of the mission nature, time zone format, and operation type fields obtained in step 32), the mission nature, time zone, and operation type fields of the civil aviation advance flight plan arrangement message library are assigned values; for example, the data obtained in Example 2 is assigned values:
[0162] Civil Aviation Pre-Flight Plan Arrangement Message Library.Task Type = "W / Z";
[0163] Civil Aviation Pre-Flight Plan Arrangement Message Library.Time Zone = "PEK TIME";
[0164] Civil aviation advance flight plan arrangement message library. Operation type = "ADD".
[0165] 4) Body title parsing and verification: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard body title format sample template is formulated; when parsing the message, specific information is obtained by extracting keywords according to the standard body title format sample template; the message is classified according to the core field operation type. If the operation type is to add flight information, step 5) is executed; if the operation type is to cancel flight information, step 6) is executed; if the operation type is to modify flight information, step 7) is executed;
[0166] The body title is the information from the end of the message parsed in step 3) to the previous line containing the take-off / landing airport and time; specifically, it includes:
[0167] 41) Based on the common characteristics of civil aviation advance flight plan layout messages, a standard format sample template for the text title is developed; specifically:
[0168] PURPOSE OF FLIGHT:XXX
[0169] AIRCRAFT TYPE:(or A / C:)XXX
[0170] CALLSIGN:(or CALL SIGN:)XXX
[0171] REGISTRY:(or REG:)XXX
[0172] DATE AND SKED:XXX
[0173] Where XXX is the content of the civil aviation advance flight plan arrangement message; an example is as follows:
[0174] Example 3:
[0175] “PURPOSE OF FLIGHT:U / H
[0176] AIRCRAFT TYPE:B74Y
[0177] CALLSIGN:BJN095
[0178] REGISTRY:N688CP
[0179] DATE AND SKED:PEK TIME”;
[0180] 42) Parse line by line based on keywords;
[0181] Data 1: As in Example 3, the "U / H" after "PURPOSE OF FLIGHT:" uses the same format of "1 letter / 1 letter" to represent the mission nature of the flight, similar to the mission nature format [AZ] / [AZ] in the preamble of step 3). If a value is present, regardless of whether a mission nature value is present in the preamble of step 3), the mission nature of this message will be based on the mission nature value in the message body title. Otherwise, the keyword "PURPOSE OF FLIGHT:" will not be matched, and the message body title does not contain mission nature information.
[0182] Data 2: As in Example 3, the "B74Y" following "AIRCRAFT TYPE:" or "A / C:" indicates the aircraft model of the flight. If there are multiple aircraft models, the models are separated by slashes. If the keyword "AIRCRAFT TYPE:" or "A / C:" is not matched, the aircraft model information will not be included in the title of this message.
[0183] Data 3: For example, in Example 3, the "BJN095" following the "CALLSIGN:" or "CALL SIGN:" pattern indicates the flight number. If the keyword "CALLSIGN:" or "CALL SIGN:" is not matched, the message body title does not contain the flight number information.
[0184] Data 4: As in Example 3, the "N688CP" following the "REGISTRY:" or "REG:" format indicates the flight registration number. If the keywords "REGISTRY:" or "REG:" are not matched, the registration number information is not included in the message body title.
[0185] Data 5: As in Example 3, the "PEK TIME" following the "DATE AND SKED:" format indicates the time zone format for the time information in the message body. If the keyword "DATE AND SKED:" is not matched, the message body title does not contain time zone information, and the time zone format for the time information in the message body is Beijing time.
[0186] 43) Based on the mission nature, aircraft type, flight number, registration number, and time zone format field information obtained in step 42), assign values to the mission nature, aircraft type, flight number, registration number, and time zone fields of the civil aviation advance flight plan arrangement message library; if the mission nature and time zone format fields can obtain specific values when step 4) is executed, such values shall prevail, overriding the values assigned in step 3); otherwise, the mission nature and time zone format shall be based on the specific values obtained in step 3); for example, the data obtained in Example 3 shall be assigned values:
[0187] Civil Aviation Pre-Flight Plan Arrangement Message Library.Task Type = "U / H";
[0188] Civil Aviation Pre-Flight Plan Arrangement Message Library. Aircraft Type = "B74Y";
[0189] Civil aviation advance flight plan arrangement message library. Flight number = "BJN095";
[0190] Civil Aviation Pre-Flight Plan Arrangement Message Library. Registration Number = "N688CP";
[0191] Civil Aviation Pre-Flight Plan Arrangement Message Library.Time Zone = "PEK TIME";
[0192] 44) Execute different operation steps according to the operation type obtained in step 32). When the operation type is "ADD", it indicates that this message information is about adding flight information, and step 5) is executed; when the operation type is "CNL", it indicates that this message information is about canceling flight information, and step 6) is executed; when the operation type is "CHG", it indicates that this message information is about modifying flight information, and step 7) is executed.
[0193] 5) Based on the common characteristics of civil aviation advance flight plan arrangement messages, a new message body standard format sample template is formulated for the operation type; when parsing the message, specific information is matched according to the body standard format sample template; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan arrangement message library is assigned values;
[0194] The main body of the text is the character string information from the line where the take-off and landing airports and time are located to the end of the message before the keyword "PLSENSURE / " or "PLEASE ENSURE / ".
[0195] Furthermore, the step 5) specifically includes:
[0196] 51) Based on the common characteristics of civil aviation advance flight plan layout messages, a sample template for the standard format of the message body with the operation type of newly added is developed; specifically:
[0197] XXX ON (or EFF:) XXX
[0198] ROUTE:(or FLIGHT ROUTE:)XXX
[0199] LEVEL:(or FLIGHT LEVEL:)XXX
[0200] PERMISSION NUMBER:XXX
[0201] RMK:(or REMARK:)XXX
[0202] Among them, XXX is the content of the civil aviation advance flight plan arrangement message. The example is as follows:
[0203] Examples 4, 5, and 6 are three main cases that cover most message formats:
[0204] Example 4:
[0205] 1.JYH1201 738 1000000 ZUGY2205 0210VTSP
[0206] EFF:10JUN19-26OCT19
[0207] 2.JYH1202 738 0200000 VTSP0310 0655ZUGY
[0208] EFF:10JUN19-26OCT19;
[0209] Example 5:
[0210] 1.AIQ891 VTBD1835 2155ZGMX ON
[0211] 01 / 04 / 06 / 08 / 11 / 13 / 15 / 18 / 20 / 22 / 25 / 27 / 29JUN2019
[0212] 2.AIQ892 ZGMX2255 0215VTBD ON
[0213] 01 / 04 / 06 / 08 / 11 / 13 / 15 / 18 / 20 / 22 / 25 / 27 / 29JUN2019
[0214] FLIGHT ROUTE:
[0215] VTBD-ZGMX:MAGOG DOTMI A470 TEBON W155 DABER
[0216] ZGMX-VTBD:DABER W155 TEBON A470 DOTMI MAGOG
[0217] PERMISSION NUMBER:CAD / 2019F0930;
[0218] Example 6:
[0219] 1.CA1787 A319 ZSQD1240 1330ZSWH ON 10NOV2019
[0220] FLIGHT ROUTE:AVBIK W172 FD H101 FZ W4 WEH
[0221] FLIGHT LEVEL:3900M
[0222] REMARK:REG / B8253";
[0223] From Examples 4, 5, and 6, we can see that the information before and after the keyword "ON" or "EFF:" is mandatory and must be present. Information beginning with the keywords "ROUTE:" or "FLIGHT ROUTE:," "LEVEL:" or "FLIGHT LEVEL:," "PERMISSION NUMBER:," "RMK:," or "REMARK:" is optional and should be provided in each message as needed.
[0224] 52) Analyze the information before and after the keyword "ON" or "EFF:", including: flight number, departure airport, departure time, landing airport, landing time, execution period or execution time;
[0225] 521) Match the four types of information of departure airport, departure time, landing airport, and landing time in the current starting line of the message. The specific format is "departure airport departure time + landing time landing airport" (4 letters + 4 numbers + space | hyphen + 4 numbers + 4 letters); Example 4, Example 5, and Example 6 are "ZUGY2205 0210VTSP", "VTBD18352155ZGMX", and "ZSQD1240 1330ZSWH" respectively; if no match is found, no further processing is performed, and the message is submitted as a difficult message for manual operation; otherwise, execute step 522).
[0226] Among them, when more than three data items are matched, such as "VTBD1835 2155ZGMX2255 0215VTBD", the specific format is "Departure Airport Takeoff Time-Landing Time Landing / Departure Airport Takeoff Time-Landing Time Landing Airport" (4 letters + 4 numbers + space | hyphen + 4 numbers + 4 letters + 4 numbers + space | hyphen + 4 numbers + 4 letters). The middle item "2155ZGMX2255" means that the landing time of airport "ZGMX" on the previous flight is "2155", and the take-off time on the next flight is "2255";
[0227] 522) There are two formats for flight information in common messages: execution date format and execution period format. Judgment step 521) The matching information is followed by the keyword "ON" or "EFF:". When it is "ON", it means that this flight is in execution date format, and the information following "ON" is the specific time, such as the multi-day information composed of the string "01 / 04 / 06 / 08 / 11 / 13 / 15 / 18 / 20 / 22 / 25 / 27 / 29JUN2019" in Example 5, or the single-day information composed of the string "10NOV2019" in Example 6; otherwise, when it is "EFF:", the information following "EFF:" is the time period information, such as "10JUN19-26OCT19" in Example 4, which means that the scheduled execution start date of this flight is "10JUN19" and the execution end date is "26OCT19";
[0228] Because the keyword is "EFF:", it means that the flight is in the execution period format. At this time, the execution period field must be before the matching information in step 521), such as the "1000000" field item in the message in Example 4, which means that it is executed every Monday;
[0229] Among them, the execution period field item consists of 7 digits, representing Monday to Sunday. When the number is 0, it means that it is not executed; when the number is filled with the corresponding position value (such as "1204067"), it means that this flight is executed on Mondays, Tuesdays, Thursdays, Saturdays and Sundays, and not on Wednesdays and Fridays.
[0230] The keyword "EFF:" is followed by a time format. In addition to the "Start Execution Date - End Execution Date" (10JUN19-26OCT19) format in Example 4, there are also common formats such as "EFF:10NOV19 ONLY". Generally, this format is a single-day format, with both the start and end execution dates being "10NOV19".
[0231] 523) Read the flight number, registration number, aircraft model and other information. When it is in the execution period format, match the information before the execution period field, such as Example 4; when it is in the execution date format, such as Example 5 and Example 6, match the information before the departure airport departure time field.
[0232] If there is only one matching item, it is the flight number, such as "AIQ891" in Example 5; if there are two matching items, they are the flight number and aircraft model, such as "JYH1201 738" in Example 4; if there are three matching items, they are the flight number, registration number, and aircraft model; multiple aircraft models are separated by " / ".
[0233] 53) Continue parsing the next line. If the line begins with a number, execute step 52) again starting from the current line being parsed. If the line begins with the keyword "PLS ENSURE / " or "PLEASE ENSURE / " or "AA." or "BB." or "CC.", execute step 54). Otherwise, execute step 8).
[0234] 54) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution period or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields; such as the data assignment obtained in Example 4:
[0235] Civil aviation advance flight plan layout message library. Flight number 1 = "JYH1201";
[0236] Civil aviation advance flight plan layout message library. Aircraft type 1 = "738";
[0237] Civil aviation advance flight plan arrangement message library. Execution cycle 1 = "1000000";
[0238] Civil aviation advance flight plan layout message library. Departure airport 1 = "ZUGY";
[0239] Civil aviation advance flight plan arrangement message library. Take-off time 1 = "2205";
[0240] Civil aviation advance flight plan layout message library. Landing airport 1 = "VTSP";
[0241] Civil aviation advance flight plan layout message library. Landing time 1 = "0210";
[0242] Civil aviation advance flight plan arrangement message library. Start execution date 1 = "10JUN19";
[0243] Civil aviation advance flight plan arrangement message library. As of execution date 1 = "26OCT19";
[0244] Civil aviation advance flight plan layout message library. Flight number 2 = "JYH1202";
[0245] Civil aviation advance flight plan layout message library. Aircraft type 2 = "738";
[0246] Civil aviation advance flight plan arrangement message library. Execution cycle 2 = "0200000";
[0247] Civil Aviation Pre-Flight Plan Arrangement Message Library.Departure Airport 2 = "VTSP";
[0248] Civil aviation advance flight plan arrangement message library. Take-off time 2 = "0310";
[0249] Civil aviation advance flight plan layout message library. Landing airport 2 = "ZUGY";
[0250] Civil aviation advance flight plan arrangement message library. Landing time 2 = "0655";
[0251] Civil aviation advance flight plan arrangement message library. Start execution date 2 = "10JUN19";
[0252] Civil aviation advance flight plan arrangement message library. As of execution date 2 = "26OCT19";
[0253] Assign the data obtained in Example 6:
[0254] Civil Aviation Pre-Flight Plan Arrangement Message Library. Flight Number = "CA1787";
[0255] Civil Aviation Pre-Flight Plan Arrangement Message Library. Aircraft Type = "A319";
[0256] Civil Aviation Pre-Flight Plan Arrangement Message Library.Execution Date = "10NOV2019";
[0257] Civil Aviation Pre-Flight Plan Arrangement Message Library.Departure Airport = "ZSQD";
[0258] Civil aviation advance flight plan arrangement message library. Take-off time = "1240";
[0259] Civil Aviation Pre-Flight Plan Arrangement Message Library. Landing Airport = "ZSWH";
[0260] Civil aviation advance flight plan layout message library. Landing time = "1330";
[0261] Civil Aviation Pre-Flight Plan Arrangement Message Library.Route = "AVBIK W172 FD H101 FZ W4 WEH";
[0262] Civil Aviation Pre-Flight Plan Arrangement Message Library.Altitude = "3900M";
[0263] Civil Aviation Pre-Flight Plan Arrangement Message Library. Registration Number = "B8253";
[0264] Civil aviation advance flight plan arrangement message library. Note = "REG / B8253";
[0265] After the assignment is completed, the next operation is determined based on the keyword information analyzed in step 53). If it is "AA." or "BB." or "CC.", it indicates a comprehensive message. If the flight plan still needs to be analyzed, go to step 77); otherwise, execute step 9).
[0266] 6) Based on the common characteristics of civil aviation advance flight plan arrangement messages, a standard format sample template for the message body with the operation type of cancellation is formulated; when parsing the message, specific information is matched according to the standard format sample template for the message body; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan arrangement message library is assigned;
[0267] Furthermore, the step 6) specifically includes:
[0268] 61) Based on the common characteristics of civil aviation pre-flight plan arrangement messages, a standard sample format template for the message body with the operation type of cancel is developed; specifically:
[0269] XXX ON (or EFF:) XXX
[0270] ROUTE:(or FLIGHT ROUTE:)XXX
[0271] LEVEL:(or FLIGHT LEVEL:)XXX
[0272] PERMISSION NUMBER:XXX
[0273] RMK:(or REMARK:)XXX
[0274] Where XXX is the content of the civil aviation advance flight plan arrangement message; an example is as follows:
[0275] Example 7:
[0276] 1.MXD608 738 / 739 0200000 WMKK-ZUGY
[0277] EFF:09JUL19-30JUL19
[0278] 2.CAL7916 B738 VYYY1215 1620RCTP ON 13JUN19 ONLY;
[0279] According to the sample template requirements, the information before and after the keyword ON or EFF: is mandatory and must be present. Information beginning with the keywords ROUTE: or FLIGHT ROUTE:, LEVEL: or FLIGHT LEVEL:, PERMISSION NUMBER:, RMK:, or REMARK: is optional and should be provided in each message based on actual conditions.
[0280] 62) Based on the keyword ON or EFF in the standard format sample template of the body of the text, parse the required information to obtain information including flight number, departure airport, departure time, landing airport, landing time, execution period or execution time;
[0281] 621) Match the departure airport, departure time, arrival airport, and landing time information of the current starting line in the message. The specific format is "departure airport departure time + landing time landing airport" (4 letters + 4 numbers + space | hyphen + 4 numbers + 4 letters); if no match is found, no further processing is performed and the message is treated as a difficult message and submitted for manual operation; otherwise, execute step 622);
[0282] For example, the first data item in Example 7 is "WMKK-ZUGY". Common formats include the abbreviated format "departure airport + landing airport" (4 letters + space | hyphen + 4 letters);
[0283] 622) Flight information in common messages has two formats: execution date format and execution period format. The judgment keyword is "ON" or "EFF:". When it is "ON", it means that this flight is in execution date format, and the information after "ON" is the specific time, such as the specific time information composed of the string "13JUN19 ONLY" in the second message data of Example 7. Otherwise, when it is "EFF:", the information after "EFF:" is the time period information, such as the "09JUL19-30JUL19" in the first message data of Example 7, which means that the flight is scheduled to start execution on "09JUL19" and end execution on "30JUL19".
[0284] When the keyword is "EFF:", it means the flight is in the execution period format, and the execution period field needs to be parsed. For example, the "0200000" field item in the first message data of Example 7 indicates that the flight is executed every Tuesday.
[0285] 623) Read the flight number, registration number, and aircraft model information. When the execution period format is used, match the information before the execution period field; when the execution date format is used, match the information before the departure airport departure time field;
[0286] If there is only one matching item, it is the flight number; if there are two matching items, it is the flight number and aircraft model; if there are three matching items, it is the flight number, registration number, and aircraft model;
[0287] Use “ / ” to separate multiple models, such as “738 / 739” in Example 7;
[0288] 63) Continue parsing the next line. If the line begins with a number, execute step 62) again from the current line being parsed. If the line begins with the keyword "PLS ENSURE / " or "PLEASE ENSURE / " or "AA." or "BB." or "CC.", execute step 64). Otherwise, execute step 8).
[0289] 64) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution period or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields; such as the data assignment obtained in Example 7:
[0290] Civil aviation advance flight plan layout message library. Flight number 1 = "MXD608";
[0291] Civil aviation advance flight plan layout message library. Aircraft type 1 = "738 / 739";
[0292] Civil aviation advance flight plan arrangement message library. Execution cycle 1 = "0200000";
[0293] Civil aviation advance flight plan layout message library. Departure airport 1 = "WMKK";
[0294] Civil aviation advance flight plan layout message library. Landing airport 1 = "ZUGY";
[0295] Civil aviation advance flight plan arrangement message library. Start execution date 1 = "09JUL19";
[0296] Civil aviation advance flight plan arrangement message library. As of execution date 1 = "30JUL19";
[0297] Civil Aviation Pre-Flight Plan Arrangement Message Library. Flight Number 2 = "CAL7916";
[0298] Civil aviation advance flight plan layout message library. Aircraft type 2 = "B738";
[0299] Civil Aviation Pre-Flight Plan Arrangement Message Library.Execution Date 2 = "13JUN19";
[0300] Civil aviation advance flight plan layout message library. Departure airport 2 = "VYYY";
[0301] Civil aviation advance flight plan arrangement message library. Takeoff time 2 = "12:15";
[0302] Civil Aviation Pre-Flight Plan Arrangement Message Library. Landing Airport 2 = "RCTP";
[0303] Civil aviation advance flight plan arrangement message library. Landing time 2 = "1620";
[0304] After the assignment is completed, the next operation is determined based on the keyword information read in step 63). If it is "AA." or "BB." or "CC.", it indicates a comprehensive message. If the flight plan still needs to be analyzed, go to step 77); otherwise, execute step 9).
[0305] 7) Based on the common characteristics of civil aviation advance flight plan layout messages, comprehensive and revision-only messages are summarized, and standard message body format sample templates for the revision operation type are developed for each. When parsing messages, specific information is matched according to the standard message body format sample templates defined for the comprehensive and revision-only categories respectively. Based on the obtained information, core fields are validated and corresponding information in the civil aviation advance flight plan layout message library is assigned values.
[0306] Furthermore, the step 7) specifically includes:
[0307] 71) Read the first three bytes of the first line of the message body. If it is a comprehensive message, execute step 76); otherwise, if it is a revision-only message, execute step 72);
[0308] 72) Based on the common characteristics of civil aviation advance flight plan layout messages, a standard format sample template for the body of a revision-only message with the operation type of revision is developed; specifically:
[0309] XXX ON(or EFF:XXX CHG TO XXX EFF:)XXX
[0310] ROUTE:(or FLIGHT ROUTE:)XXX
[0311] LEVEL:(or FLIGHT LEVEL:)XXX
[0312] PERMISSION NUMBER:XXX
[0313] RMK:(or REMARK:)XXX
[0314] Where XXX is the content of the civil aviation advance flight plan arrangement message; an example is as follows:
[0315] Example 8:
[0316] 1.IAE916 72J 0004000 ZSHC0110 1510UUDD
[0317] EFF:05JUN19-31JUL19 CHG TO
[0318] IAE916 72J 0004000 ZSHC0040 1440UUDD
[0319] EFF:05JUN19-26OCT19
[0320] FLIGHT ROUTE:
[0321] ZSHC-UUDD:ZSHC-NIXAL-01
[0322] PERMISSION NUMBER:CAD / 2019S2922
[0323] 2.CPA042D VECC1710 2055VHHH ON 10NOV2019
[0324] FLIGHT ROUTE:AS SKED VECC-VHHH-01
[0325] PERMISSION NUMBER:CAD / 2019K1359
[0326] According to the standard format sample template for the body of the document, the information before and after the keywords ON, EFF:, and CHG TO is mandatory and must be present. Information beginning with the keywords "ROUTE:" or FLIGHT ROUTE:, LEVEL: or FLIGHTLEVEL:, PERMISSION NUMBER:, "RMK:," or REMARK: is optional and should be provided in each message based on actual circumstances.
[0327] 73) Parse the required information according to the standard format sample template of the main body of the text to obtain information including the flight number, departure airport, departure time, landing airport, landing time, execution cycle or execution time; then obtain the field information for the revision of the pre-flight plan. If the message does not contain the keyword "CHG TO", directly execute step 74); otherwise, if the keyword "CHG TO" is contained, obtain the required revised values of the departure airport, departure time, landing airport, landing time, execution cycle or execution time, flight number, registration number, and aircraft model core data items in the string following the keyword "CHG TO";
[0328] 731) Match the departure airport, departure time, arrival airport, and landing time information in the current starting line of the message (if the format is the keyword "CHG TO", match the original value from the string before the keyword "CHG TO"), the specific format is "departure airport departure time + landing time landing airport" (4 letters + 4 numbers + space | hyphen + 4 numbers + 4 letters); if no match is found, no further processing is performed, and the message is treated as a difficult one and submitted for manual operation; otherwise, execute step 732);
[0329] Similar to the pre-flight plan cancellation message template, common formats include an abbreviated format of "departure airport + landing airport" (4 letters + space | hyphen + 4 letters);
[0330] 732) There are two formats for flight information in common messages: execution date format and execution period format. The judgment keyword is "ON" or "EFF:". When it is "ON", it means that this flight is in execution date format, and "ON" is followed by specific time information, such as the specific time information composed of the string "10NOV2019" in the second message data of Example 8. Otherwise, when it is "EFF:", "EFF:" is followed by time period information, such as "05JUN19-31JUL19" in the first message data of Example 7, which means that the flight is scheduled to start execution on "05JUN19" and end execution on "31JUL19".
[0331] Because the keyword "EFF:" indicates that the flight is in the execution period format, the execution period field needs to be parsed. For example, the "0004000" field item in the first message data of Example 8 indicates that the flight is executed every Thursday.
[0332] 733) Read the flight number, registration number, aircraft model and other information. When it is in the execution period format, match the information before the execution period field; when it is in the execution date format, match the information before the departure airport departure time field.
[0333] If there is only one matching item, it is the flight number; if there are two matching items, it is the flight number and aircraft model, such as the first message data "IAE916 72J" in Example 8; if there are three matching items, it is the flight number, registration number, and aircraft model;
[0334] Use “ / ” to separate multiple models;
[0335] 734) matches the field information of the pre-flight plan revision; if it is not a message in the format containing the keyword "CHG TO" (such as the message data in item 2 of Example 8), directly execute step 74); otherwise, if it is a message in the format containing "CHG TO", obtain the values to be revised for the departure airport, departure time, landing airport, landing time, execution cycle or execution time, flight number, registration number, and aircraft model core data items in the string after the keyword "CHG TO", and the matching rules are the same as steps 731), 732), and 733); the results of obtaining the message data in item 1 of Example 8 are as follows:
[0336] newflightnumber = "IAE916";
[0337] new model = "72J";
[0338] NewExecutionCycle = "0004000";
[0339] NewDepartureAirport = "ZSHC";
[0340] newDepartureTime = "0040";
[0341] new_landing_airport = "UUDD";
[0342] newLandingTime = "1440";
[0343] New start execution date = "05JUN19";
[0344] New Execution End Date = "26OCT19";
[0345] 74) Continue parsing the next line. If the line begins with a number, execute step 73) again from the current line being parsed. If the line begins with the keyword PLS ENSURE / , PLEASE ENSURE / , AA., BB., or CC., execute step 75). Otherwise, execute step 8).
[0346] 75) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution period or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields; such as the data assignment obtained in Example 8:
[0347] Civil aviation advance flight plan layout message library. Flight number 1 = "IAE916";
[0348] Civil aviation advance flight plan layout message library. Aircraft type 1 = "72J";
[0349] Civil aviation advance flight plan arrangement message library. Execution cycle 1 = "0004000";
[0350] Civil aviation advance flight plan layout message library. Departure airport 1 = "ZSHC";
[0351] Civil aviation advance flight plan arrangement message library. Take-off time 1 = "0110";
[0352] Civil aviation advance flight plan layout message library. Landing airport 1 = "UUDD";
[0353] Civil aviation advance flight plan layout message library. Landing time 1 = "1510";
[0354] Civil aviation advance flight plan arrangement message library. Start execution date 1 = "05JUN19";
[0355] Civil aviation advance flight plan arrangement message library. As of execution date 1 = "31JUL19";
[0356] Civil Aviation Pre-Flight Plan Arrangement Message Library. New Flight Number 1 = "IAE916";
[0357] Civil aviation advance flight plan layout message library. New aircraft model 1 = "72J";
[0358] Civil Aviation Pre-Flight Plan Arrangement Message Library. New Execution Cycle 1 = "0004000";
[0359] Civil aviation advance flight plan layout message library. New takeoff airport 1 = "ZSHC";
[0360] Civil aviation advance flight plan arrangement message library. New take-off time 1 = "0040";
[0361] Civil aviation advance flight plan layout message library. New landing airport 1 = "UUDD";
[0362] Civil aviation advance flight plan arrangement message library. New landing time 1 = "1440";
[0363] Civil aviation advance flight plan arrangement message library. New start execution date 1 = "05JUN19";
[0364] Civil Aviation Pre-Flight Plan Arrangement Message Library. New Execution End Date 1 = "26OCT19";
[0365] Civil aviation advance flight plan layout message library. New route 1 = "ZSHC-NIXAL-01";
[0366] Civil Aviation Pre-Flight Plan Arrangement Message Library. New Permit Number 1 = "CAD / 2019S2922";
[0367] Civil Aviation Pre-Flight Plan Arrangement Message Library. Flight Number 2 = "CPA042D";
[0368] Civil Aviation Pre-Flight Plan Arrangement Message Library.Execution Date 2 = "10NOV2019";
[0369] Civil aviation advance flight plan layout message library. Departure airport 2 = "VECC";
[0370] Civil aviation advance flight plan arrangement message library. Takeoff time 2 = "1710";
[0371] Civil aviation advance flight plan layout message library. Landing airport 2 = "VHHH";
[0372] Civil aviation advance flight plan layout message library. Landing time 2 = "2055";
[0373] Civil aviation advance flight plan layout message library. New route 2 = "AS SKED VECC-VHHH-01";
[0374] Civil Aviation Pre-Flight Plan Arrangement Message Library. New Permit No. 2 = "CAD / 2019K1359";
[0375] After the assignment is completed, the next operation is determined according to the keyword information read in step 74). If it is AA., BB. or CC., it indicates a comprehensive message. If the flight plan still needs to be analyzed, proceed to step 77); otherwise, proceed to step 9);
[0376] 76) Based on the common characteristics of civil aviation advance flight plan layout messages, a standard format sample template for the body of comprehensive messages with the operation type of revision is developed; specifically:
[0377] AA.ADD (or CHG or CNL) XXX
[0378] XXX
[0379] BB.CNL (or ADD or CHG)XXX
[0380] XXX
[0381] CC.CHG (or ADD or CNL)XXX
[0382] XXX
[0383] Wherein, XXX represents the content of the civil aviation advance flight plan arrangement message; the standard format sample template of the body of the comprehensive message is as follows: The comprehensive message includes the body content of any one, two, or three types of operation, including addition, revision, and cancellation, according to the actual situation, and is classified into the AA., BB., or CC. sections respectively; the example is as follows:
[0384] Example 9:
[0385] “AA.ADD PAX FLT PLAN
[0386] 1.UEA1813 A319 / A320 / AJ27 1000000 ZGBH1445 1640ZHHH
[0387] EFF:07JUN19-23JUN19
[0388] BB.CNL FLT PLAN
[0389] 1.UEA2295 319 1030507 ZUYI-ZHHH
[0390] EFF:07JUN19-30JUN19
[0391] CC.CHG FLT PLAN
[0392] 1.CGN8336 738 0000007 ZYCC-ZBTL-ZLXY CHG TO
[0393] CGN8336 738 0000007 ZYCC1905 2205ZLXY
[0394] EFF: 10 NOV 19 ONLY”
[0395] 77) According to the sample template format requirements formulated in step 76), read the three bytes of information after the first line AA., BB. or CC. If the three bytes of information are ADD, it means that the AA., BB. or CC. categories are all newly added messages, and starting from the next line, execute step 5); if the three bytes of information are CNL, it means that the AA. or BB. or CC. categories are all canceled messages, and starting from the next line, execute step 6); if the three bytes of information are CHG, it means that the AA. or BB. or CC. categories are all revised messages, and starting from the next line, execute steps 72)-step 75).
[0396] 8) Based on the keywords "ROUTE:" or "FLIGHT ROUTE:", "LEVEL:" or "FLIGHT LEVEL:", "PERMISSION NUMBER:", "RMK:", or "REMARK:" defined in the standard format sample templates in steps 5)-7), continue to parse the optional route, altitude, permission number, and remarks fields line by line; the details are as follows:
[0397] Data 1: For example, in Example 6, the "AVBIK W172 FD H101FZ W4 WEH" following the "ROUTE:" or "FLIGHT ROUTE:" pattern indicates the flight route information. This route directly corresponds to the flight at the current departure and arrival airport (ZSQD1240 1330ZSWH). When there are multiple routes, the specific departure and arrival airports are generally marked. For example, in Example 5, the route "MAGOG DOTMI A470 TEBONW155DABER" corresponds to the flight at the departure and arrival airport "VTBD-ZGMX:" in the message, and "DABER W155 TEBON A470 DOTMIMAGOG" corresponds to the flight at the departure and arrival airport "ZGMX-VTBD:" in the message. If the keyword "ROUTE:" or "FLIGHTROUTE:" is not matched, the message body does not contain route information.
[0398] In addition to the use of corresponding take-off and landing airports in Example 5, the message format for multiple routes also uses the corresponding flight numbers, as shown below:
[0399] FLIGHT ROUTE:
[0400] 1.MAGOG DOTMI A470 TEBON W155 DABER
[0401] 2.DABER W155 TEBON A470 DOTMI MAGOG
[0402] Data 2: As in Example 6, the "3900M" following "LEVEL:" or "FLIGHT LEVEL:" indicates the altitude of the current flight. If multiple altitudes are present, the message distinguishes them in the same way as the multiple routes in Data 1. If the keyword "LEVEL:" or "FLIGHT LEVEL:" is not matched, the message body does not include altitude information.
[0403] Data 3: For example, in Example 5, the "CAD / 2019F0930" following the "PERMISSION NUMBER:" format indicates the current flight's permit number. If the keyword "PERMISSION NUMBER:" is not matched, the message body does not contain the permit number information.
[0404] Data 4: For example, the "REG / B8253" following the "RMK:" or "REMARK:" pattern in Example 6 indicates the notes for the current flight. The notes can be parsed based on keywords. For example, in this example, the flight registration number is "B8253." If the keywords "RMK:" or "REMARK:" are not matched, the message body will not include the notes.
[0405] The information of "RMK:" or "REMARK:" is complex and diverse. In this example, we mainly define core keywords to achieve automatic parsing, such as: REG is the registration number, DOF is the nature of the task;
[0406] Return to the processing flow of calling this step; when step 53) is called, return to step 53) and execute again; when step 63) is called, return to step 63) and execute again; when step 74) is called, return to step 74) and execute again.
[0407] 9) Message Ending Parsing: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard message ending format sample template is formulated; when parsing the message, specific information is matched according to the standard message ending format sample template; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan layout message library is assigned;
[0408] In step 9), the message ends with the string following the keyword "PLS ENSURE / " or "PLEASE ENSURE / ", including information such as the contact code and contact phone number. Example 10 shows a sample template for the standard message ending format including core fields, specifically:
[0409] PLS ENSURE / (or PLEASE ENSURE / )XXX
[0410] Where XXX is the content of the civil aviation advance flight plan arrangement message; an example is as follows:
[0411] Example 10:
[0412] "PLS ENSURE / WUPENG / 010-64092146"
[0413] Specifically include:
[0414] 91) Match the information after the keyword "PLS ENSURE / " or "PLEASE ENSURE / ", such as the pattern "WUPENG / 010-64092146" in Example 10, which indicates the contact code / contact phone number; if the keyword "PLS ENSURE / " or "PLEASE ENSURE / " is not matched, the message will no longer be automatically processed and will be submitted for manual processing as a difficult message;
[0415] 92) According to step 91), the contact code and contact phone field information have been obtained, and the contact code and contact phone fields of the civil aviation pre-flight plan arrangement message library are assigned values, such as the data assigned in Example 10:
[0416] Civil Aviation Pre-Flight Plan Arrangement Message Library. Contact Code = "WUPENG";
[0417] Civil aviation advance flight plan arrangement message library. Contact number = "010-64092146".
[0418] 10) Based on the information obtained after processing in steps 2) to 9), add, modify or delete information in the civil aviation advance flight plan arrangement message library.
[0419] The present invention has many specific application paths. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements can be made without departing from the principles of the present invention. These improvements should also be considered as the scope of protection of the present invention.
Claims
1. A method for automatically processing civil aviation advance flight plan arrangement messages, characterized in that: Here are the steps: 1) Establish a civil aviation advance flight plan layout message library; 2) Header parsing and verification: Parse the first three lines of the received civil aviation message and determine whether it is a civil aviation advance flight plan arrangement message based on the sending address field information; 3) Preamble parsing and verification: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard preamble format sample template is developed. When parsing the message, specific information is obtained by extracting keywords according to the standard preamble format sample template; 4) Body title parsing and verification: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard body title format sample template is formulated; when parsing the message, specific information is obtained by extracting keywords according to the standard body title format sample template; the message is classified according to the core field operation type. If the operation type is to add flight information, step 5) is executed; if the operation type is to cancel flight information, step 6) is executed; if the operation type is to modify flight information, step 7) is executed; 5) Based on the common characteristics of civil aviation advance flight plan arrangement messages, a new message body standard format sample template is formulated for the operation type; when parsing the message, specific information is matched according to the body standard format sample template; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan arrangement message library is assigned values; 6) Based on the common characteristics of civil aviation advance flight plan arrangement messages, a standard format sample template for the message body with the operation type of cancellation is formulated; when parsing the message, specific information is matched according to the standard format sample template for the message body; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan arrangement message library is assigned; 7) Based on the common characteristics of civil aviation advance flight plan layout messages, comprehensive and revision-only messages are summarized, and standard message body format sample templates for the revision operation type are developed for each. When parsing messages, specific information is matched according to the standard message body format sample templates defined for the comprehensive and revision-only categories respectively. Based on the obtained information, core fields are validated and corresponding information in the civil aviation advance flight plan layout message library is assigned values. 8) Based on the keywords defined in the standard format sample templates of each body of the text in steps 5)-7), continue to parse the non-essential route, altitude, clearance number, and remarks field information line by line; 9) Message Ending Parsing: Based on the common characteristics of civil aviation advance flight plan layout messages, a standard message ending format sample template is formulated; when parsing the message, specific information is matched according to the standard message ending format sample template; based on the obtained information, the core fields are validated and the corresponding information in the civil aviation advance flight plan layout message library is assigned; 10) adding, modifying, or deleting information in the civil aviation advance flight plan arrangement message library based on the information obtained after processing in steps 2) to 9) above; Said step 2) specifically includes: matching the field information of the sending address of the flight plan arrangement message with the sending address database of the civil aviation advance flight plan arrangement message, and determining whether it is a civil aviation advance flight plan arrangement message; if not, no subsequent processing is performed; if so, the specific steps are as follows: 21) Establish and maintain the civil aviation advance flight plan layout message sending address database, the main fields are: serial number, sending unit AFTN network address, activation flag; 22) Analyze the header information of the flight plan layout message, which includes: message serial number, receiving unit address, receiving time, sending unit address, and sending time; 23) Sequentially extracting the address values of the transmitting units whose activation flags are enabled from the civil aviation advance flight plan arrangement message transmitting address database, and matching them with the aviation fixed telecommunication network address of the transmitting unit in step 22); if the match fails, no subsequent processing is performed; if the match succeeds, executing step 24); 24) Assign values to the message serial number and message sending address fields of the civil aviation advance flight plan arrangement message library based on the message serial number and message sending unit aviation fixed telecommunication network address information obtained by parsing the flight plan arrangement message header; The step 3) specifically includes: 31) Develop a sample template for the standard format of the preamble based on the common characteristics of civil aviation advance flight plan layout messages; 32) Parse line by line based on keywords; The information following the MSG FROM keyword defines the source of the message. The information following the RMT keyword is defined as the message interpretation; Information in the row containing the keyword AS FLW:, AS FLWS:, AS BLW: or AS BLWS:: Information in the [AZ] / [AZ] format indicates the nature of the flight mission; (PEK), (PKT), PEK TIME, PKT TIME, UTC TIME, PEK, PKT, or UTC keywords indicate the time zone format of the time information in the message body; The CHG, ADD, or CNL keyword indicates the operation type of the message; 33) According to step 32), the mission nature, time zone format, and operation type field information have been obtained, and the mission nature, time zone, and operation type fields of the civil aviation advance flight plan arrangement message library are assigned values.
2. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 1, characterized in that: The step 7) specifically includes: 71) Read the first three bytes of the first line of the message body. If it is a comprehensive message, execute step 76); otherwise, if it is a revision-only message, execute step 72); 72) Based on the common characteristics of civil aviation advance flight plan layout messages, a standard format sample template for the body of revision-only messages with the operation type of revision is developed; According to the standard format sample template for the body of the text, the information before and after the keywords ON, EFF:, and CHG TO is mandatory and must be present. Information beginning with the keywords ROUTE: or FLIGHT ROUTE:, LEVEL: or FLIGHT LEVEL:, PERMISSION NUMBER:, RMK:, or REMARK: is optional and should be provided in each message based on actual circumstances. 73) Parse the required information according to the standard format sample template of the body of the text to obtain information including the flight number, departure airport, departure time, landing airport, landing time, execution cycle or execution time; then obtain the field information for the revision of the pre-flight plan. If the message does not contain the keyword CHG TO, directly execute step 74); otherwise, if the keyword CHG TO is contained, obtain the required revised values of the departure airport, departure time, landing airport, landing time, execution cycle or execution time, flight number, registration number, and aircraft model core data items in the string following the keyword CHG TO; 74) Continue parsing the next line. If the line begins with a number, execute step 73) again from the current line being parsed. If the line begins with the keyword PLS ENSURE / , PLEASE ENSURE / , AA., BB., or CC., execute step 75). Otherwise, execute step 8). 75) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution period or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields; After the assignment is completed, the next operation is determined according to the keyword information read in step 74). If it is AA., BB. or CC., it indicates a comprehensive message. If the flight plan still needs to be analyzed, proceed to step 77); otherwise, proceed to step 9); 76) Based on the common characteristics of civil aviation advance flight plan layout messages, a standard format sample template for the body of comprehensive messages with the operation type of revision is developed; 77) According to the sample template format requirements formulated in step 76), read the three bytes of information after the first line AA., BB. or CC. If the three bytes of information are ADD, it means that the AA., BB. or CC. categories are all newly added messages, and starting from the next line, execute step 5); if the three bytes of information are CNL, it means that the AA. or BB. or CC. categories are all canceled messages, and starting from the next line, execute step 6); if the three bytes of information are CHG, it means that the AA. or BB. or CC. categories are all revised messages, and starting from the next line, execute steps 72)-step 75).
3. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 2, characterized in that: The preamble in step 3) is from the 4th line to the line containing the AS FLW:, AS FLWS:, AS BLW: or AS BLWS: information.
4. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 3, characterized in that: The body title in step 4) is the information from the end line of the message parsed in step 3) to the previous line of the message taking-off / landing airport and time.
5. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 4, characterized in that: The step 4) specifically includes: 41) Develop a standard format template for the main text title based on the common characteristics of civil aviation advance flight plan layout messages; 42) Parse line by line based on keywords; PURPOSE OF FLIGHT: The information following the keyword, in the format of 1 letter / 1 letter, indicates the nature of the flight mission; The information following the AIRCRAFT TYPE: or A / C: keyword indicates the aircraft type of the flight. If there are multiple aircraft types, the aircraft types are separated by slashes. The information following the CALLSIGN: or CALL SIGN: keyword indicates the flight number; The information following the REGISTRY: or REG: keyword indicates the flight registration number; DATE AND SKED: The information following the keyword indicates the time zone format of the time information in the body of this message; 43) Based on the mission nature, aircraft type, flight number, registration number, and time zone format field information obtained in step 42), assign values to the mission nature, aircraft type, flight number, registration number, and time zone fields of the civil aviation advance flight plan arrangement message library; if the mission nature and time zone format fields can obtain specific values during the execution of step 4), such values shall prevail, overriding the values assigned in step 3); otherwise, the mission nature and time zone format shall be based on the specific values obtained in step 3); 44) Execute different operation steps according to the operation type obtained in step 32). When the operation type is to add flight information, execute step 5); when the operation type is to cancel flight information, execute step 6); when the operation type is to modify flight information, execute step 7).
6. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 5, characterized in that: The main body of the text in step 5) is the string information from the line where the take-off and landing airports and time are located to the end of the message before the keyword PLS ENSURE / or PLEASE ENSURE / ; specifically includes: 51) Based on the common characteristics of civil aviation advance flight plan layout messages, a sample template for the standard format of the message body is developed with the operation type being newly added. Within the sample template for the standard format of the message body, the information before and after the keyword ON or EFF: is mandatory and must be present. Information beginning with the keywords ROUTE: or FLIGHT ROUTE:, LEVEL: or FLIGHT LEVEL:, PERMISSION NUMBER:, RMK:, or REMARK: is not mandatory and should be provided in each message based on actual circumstances. 52) Parse the information before and after the keyword ON or EFF:, including: flight number, departure airport, departure time, landing airport, landing time, execution period or execution time; 53) Continue parsing the next line. If the line begins with a number, execute step 52) again starting from the current line being parsed. If the line begins with the keyword PLS ENSURE / , PLEASE ENSURE / , AA., BB., or CC., execute step 54). Otherwise, execute step 8). 54) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution cycle or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields; After the assignment is completed, the next operation is determined based on the keyword information analyzed in step 53). If it is AA., BB. or CC., it indicates a comprehensive message. If the flight plan still needs to be analyzed, proceed to step 77); otherwise, execute step 9).
7. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 5, characterized in that: The step 6) specifically includes: 61) Based on the common characteristics of civil aviation pre-flight plan arrangement messages, a standard sample template for the message body with the operation type of cancel is developed; According to the sample template requirements, the information before and after the keyword ON or EFF: is mandatory and must be present. Information beginning with the keywords ROUTE: or FLIGHT ROUTE:, LEVEL: or FLIGHT LEVEL:, PERMISSION NUMBER:, RMK:, or REMARK: is optional and should be provided in each message based on actual conditions. 62) Based on the keyword ON or EFF in the standard format sample template of the body of the text, parse the required information to obtain information including flight number, departure airport, departure time, landing airport, landing time, execution period or execution time; 63) Continue parsing the next line. If the line begins with a number, execute step 62) again from the current line being parsed. If the line begins with the keyword PLS ENSURE / , PLEASE ENSURE / , AA., BB., or CC., execute step 64). Otherwise, execute step 8). 64) Based on the information obtained, assign values to the flight number, departure airport, departure time, landing airport, landing time, execution period or execution time fields of the civil aviation advance flight plan layout message library, as well as the optional route, altitude, clearance number, and remarks fields; After the assignment is completed, the next operation is determined according to the keyword information read in step 63). If it is AA., BB., or CC., it indicates a comprehensive message. If the flight plan still needs to be analyzed, proceed to step 77); otherwise, proceed to step 9).
8. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 6, characterized in that: The standard format sample template of the body of the comprehensive message is: the comprehensive message includes the body content of any one, two or three types of messages of the three operation types of addition, revision and cancellation according to actual conditions, and is classified into the AA., BB. or CC. segments respectively.
9. The method for automatically processing civil aviation advance flight plan arrangement messages according to claim 6, characterized in that: The message in step 9) ends with the keyword PLS ENSURE / or PLEASE ENSURE / followed by a character string, including information such as the contact code and contact phone number; specifically including: 91) Information after matching the keywords PLS ENSURE / or PLEASE ENSURE / , including the contact code and contact phone number; if the keywords PLS ENSURE / or PLEASE ENSURE / are not matched, the message will no longer be automatically processed and will be submitted for manual processing as a difficult message; 92) According to the contact code and contact phone field information obtained in step 91), the contact code and contact phone fields of the civil aviation advance flight plan arrangement message library are assigned values.