Airplane message analysis method and device
The problem of inefficient resolution in the existing technology is solved through user-defined message templates and analysis rules, and efficient personalized message analysis is achieved.
Patent Information
- Application Number
- CN202510653398.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2025-08-12
AI Technical Summary
In the prior art, the aircraft message analysis method based on a fixed template cannot adapt to the personalized needs of different users, resulting in low resolution efficiency and redundant message processing.
By obtaining the initial message sent by the target aircraft, matching and filtering out the packets to be parsed corresponding to the user's needs based on the user's defined message template, and parsing them based on the user's pre-configured analysis rules to reduce redundant field processing.
It improves the efficiency of packet analysis, adapts to the personalized needs of different users, and reduces system resource consumption and information redundancy.
Smart Images

Figure CN120475088A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to an aircraft message parsing method and device. Background Art
[0002] In existing technologies, aircraft messages are typically acquired and parsed based on fixed templates. However, due to the varying needs of different users, the messages to be parsed vary. Aircraft messages acquired uniformly according to fixed templates contain redundant messages that do not require parsing. This reduces message parsing efficiency and makes the system unsuitable for meeting the needs of different users. Summary of the Invention
[0003] In view of this, the embodiments of the present invention at least provide an aircraft message parsing method, device, electronic device and storage medium, which can meet the message parsing needs of different users and improve the message parsing efficiency.
[0004] In a first aspect, an embodiment of the present invention provides an aircraft message parsing method, comprising:
[0005] Obtain the initial message sent by the target aircraft;
[0006] Match the initial message with the user-defined message template to obtain the message to be parsed that corresponds to the user's needs;
[0007] Based on the message template, the user's pre-configured parsing rules are determined, and the message to be parsed is parsed based on the parsing rules.
[0008] Optionally, after obtaining the initial message sent by the target aircraft, the following steps are further included:
[0009] Acquire message data under preset key fields in the initial message to monitor the status of the target aircraft based on the message data;
[0010] In response to a failure in acquiring the message data, a first warning message is generated and sent to the target aircraft.
[0011] Optionally, the initial message is matched according to a user-defined message template to obtain a message to be parsed corresponding to the user's needs, including:
[0012] Determine the message code corresponding to the initial message;
[0013] The message code is matched with the valid code maintained in the message template, and the initial message corresponding to the message code and the valid code is determined as the message to be parsed corresponding to the user demand.
[0014] Optionally, based on the message template, a parsing rule pre-configured by the user is determined, and the message to be parsed is parsed based on the parsing rule, including:
[0015] Determine the message master associated with the message template and determine the status of the message master;
[0016] In response to the status of the message master being a valid state, parsing the message to be parsed line by line based on the parsing rules of the message master;
[0017] In response to the status of the message master being an invalid state, second alarm information is generated and parsing of the message to be parsed is suspended.
[0018] Optionally, the method further comprises:
[0019] In the preparatory stage before the target aircraft takes off, a verification message is sent to the target aircraft;
[0020] Determine whether a prompt message corresponding to the verification message appears on the cockpit display interface of the target aircraft;
[0021] In response to the prompt information not appearing on the cockpit display interface of the target aircraft, it is determined that the safety verification has passed.
[0022] Optionally, before obtaining the initial message sent by the target aircraft, it is determined that the security verification is passed; after obtaining the message to be parsed corresponding to the user requirement, the method further includes:
[0023] Determining an auxiliary request message related to the message to be parsed;
[0024] The auxiliary request message is sent to the target aircraft to parse the message to be parsed based on the auxiliary information returned by the target aircraft.
[0025] In a second aspect, an embodiment of the present invention provides an aircraft message parsing device, comprising:
[0026] The acquisition module is used to obtain the initial message sent by the target aircraft;
[0027] The matching module is used to match the initial message according to the user-defined message template to obtain the message to be parsed corresponding to the user's needs;
[0028] The parsing module is used to determine the parsing rules pre-configured by the user based on the message template, and parse the message to be parsed based on the parsing rules.
[0029] In a third aspect, an embodiment of the present invention further provides an electronic device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps in the above-mentioned first aspect or any optional implementation of the first aspect are performed.
[0030] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any optional implementation of the first aspect are executed.
[0031] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which implements the method of any of the above embodiments when executed by a processor.
[0032] In any of the above aspects or any implementation methods of any of the aspects, after obtaining the initial message sent by the target aircraft, general parsing is not performed directly, but the initial message is matched according to the user-defined message template to filter out the messages to be parsed that are related to the user's actual needs. The user-defined message template can not only specify the fields, formats and key parameters that the user is concerned about, but also flexibly adapt to the parsing granularity and focus dimensions of different users on the message content. Then, based on the matching results, the user's pre-configured parsing rules associated with the message template can be called to achieve targeted parsing of the message to be parsed. Since the parsing rules are set in advance according to the user's own business logic or data usage requirements, it can effectively reduce the processing of redundant fields, avoid information redundancy and computing overhead in general parsing, and thus improve the efficiency of message parsing.
[0033] The beneficial effects of the above-mentioned aircraft message parsing device, electronic device and storage medium can be found in the description of the above-mentioned aircraft message parsing method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present invention and, together with the specification, are used to illustrate the technical solutions of the present invention. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those skilled in the art, other relevant drawings can be obtained based on these drawings without inventive effort.
[0035] Figure 1 A flowchart of an aircraft message parsing method provided by an embodiment of the present invention is shown;
[0036] Figure 2 A schematic diagram showing a flow chart of an aircraft message parsing method provided by an embodiment of the present invention;
[0037] Figure 3 A schematic structural diagram of an aircraft message parsing method provided by an embodiment of the present invention is shown;
[0038] Figure 4 A schematic diagram of an aircraft message parsing device provided by an embodiment of the present invention is shown;
[0039] Figure 5 An exemplary system architecture is shown in which embodiments of the present invention may be applied;
[0040] Figure 6 A schematic structural diagram of a terminal device or server computer system for implementing an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0042] It should be noted that in the technical solution of the present invention, the collection, use, storage, sharing and transfer of user personal information involved are in compliance with the provisions of relevant laws and regulations, and it is necessary to inform the user and obtain the user's consent or authorization. When applicable, the user's personal information is de-identified and / or anonymized and / or encrypted.
[0043] The raising of the above problems and the solutions are the results obtained by the inventor after practice and careful research. The process of discovering the above problems and the solutions proposed for the above problems should be the contributions made by the inventor to the present invention during the process of the invention.
[0044] The technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. The components of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.
[0046] To facilitate understanding of this embodiment, a detailed introduction to an aircraft message parsing method disclosed in an embodiment of the present invention is first provided. The aircraft message parsing method provided in this embodiment of the present invention is generally executed by a computer device with certain computing capabilities. This computer device may include, for example, a terminal device, a server, or other processing device. The terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, or the like. In some possible implementations, the aircraft message parsing method may be implemented by a processor invoking computer-readable instructions stored in a memory.
[0047] See also Figure 1 FIG. 1 is a flow chart of an aircraft message parsing method according to an embodiment of the present invention, the method comprising steps S101 to S103, wherein:
[0048] S101: Obtain the initial message sent by the target aircraft.
[0049] In an embodiment of the present invention, the aircraft can send information messages to the ground through a data link to monitor the flight status of the aircraft. Specifically, the initial message sent by the target aircraft may include fault messages, positioning messages, event messages, etc.; wherein, the fault message may refer to a type of message automatically or manually sent to the ground through a data link when there is an abnormality in the aircraft parameters, which is used for maintenance, troubleshooting and aircraft safety; or, the execution subject of the embodiment of the present invention may adopt a timed polling interface method, and as long as there is data update, it can be collected locally for subsequent processing. Conventional messages such as positioning messages and event messages can reflect the real-time location information of the aircraft, such as latitude and longitude, altitude, speed, heading, etc., and can also reflect changes in the aircraft's take-off, climb, descent, landing and other stages. As Figure 2 As shown, after obtaining the initial message, you can save it for subsequent viewing.
[0050] It should be noted that the above-mentioned specific information contained in the initial message is only used as an example of a feasible implementation method in the embodiment of the present invention, and does not constitute an improper limitation on the present invention. In actual applications, messages of any content or form on the target aircraft can be collected as initial messages through ground data links and other means. The embodiment of the present invention does not make specific limitations on this, and the ability to realize its functions shall prevail.
[0051] In an embodiment of the present invention, after obtaining the initial message sent by the target aircraft, it also includes: obtaining message data under a preset key field in the initial message to monitor the status of the target aircraft based on the message data; in response to a failure to obtain the message data, generating a first alarm message, and sending the first alarm message to the target aircraft.
[0052] In a specific implementation, as described above, in addition to fault messages requiring further analysis, the initial message may also include regular messages such as positioning messages and event messages. Key fields in regular messages may be pre-set, such as vertical speed and latitude and longitude. Fault messages can be used to analyze and troubleshoot current aircraft faults, while regular messages can also be used to monitor the aircraft's flight status, such as whether it has reached a preset location at a predetermined time or is in a predetermined flight state at a predetermined time. If, when the execution entity of an embodiment of the present invention collects or receives regular messages from a target aircraft, the message data is not sent in a timely manner or communication is interrupted, a first alarm message may be generated and sent to the target aircraft. The first alarm message may be issued in one or more of the following ways: automatic system notification, system pop-up window, SMS notification, or phone notification. Alternatively, after collecting or receiving the message data from the target aircraft on time, the execution entity of an embodiment of the present invention may analyze the message data to determine whether the aircraft is currently in a normal flight state. For example, if the positioning message shows that the vertical speed of the aircraft suddenly fluctuates violently when approaching the cruising altitude, such as climbing or descending by more than 3,000 feet per minute; and the event message has not triggered the "cruise phase" for a long time, it may indicate that the aircraft encountered an abnormality during the climb, such as airflow disturbance or system failure. Under normal circumstances, after the climb phase, it should smoothly enter the cruising altitude, with the vertical speed close to zero, and the event message is promptly updated to "cruise". If the data of the two do not match, for example, the positioning message has shown the level flight altitude, but the event message is still stuck at "climbing", it may also be a sign of data delay or system abnormality. Therefore, by matching real-time position information and flight phase changes, and combining the continuity and smoothness of data changes, it is possible to more accurately determine whether the current state of the aircraft is in normal flight.
[0053] It should be noted that the above-mentioned method of monitoring the flight status of the target aircraft based on positioning messages and event messages is only illustrated as a feasible implementation method in the embodiment of the present invention, and does not constitute an improper limitation of the present invention. In actual applications, monitoring rules can be set according to actual conditions. The implementation of the present invention does not make specific limitations on this, and is based on the ability to achieve its functions.
[0054] S102: Match the initial message according to the message template defined by the user to obtain a message to be parsed corresponding to the user's requirements.
[0055] In embodiments of the present invention, users can pre-define message templates that meet their personalized needs. By setting up message templates, after receiving the initial message, only the key messages required by the current user are retained, thereby filtering out invalid messages and parsing only the necessary content, thereby improving message parsing efficiency and making the message parsing process adaptable to the personalized needs of different users. Within the message template, users can define the message type to be parsed, target fields, and content requirements.
[0056] In an embodiment of the present invention, an initial message is matched according to a user-defined message template to obtain a message to be parsed corresponding to the user's needs, including: determining the message code corresponding to the initial message; matching the message code with the valid code maintained in the message template, and determining the initial message corresponding to the message code and the valid code as the message to be parsed corresponding to the user's needs.
[0057] In specific implementation, Figure 2 As shown, the initial message sent by the aircraft can be matched and processed according to the user-defined message template. Each initial message can be extracted to obtain its corresponding message code. Here, the message code generally represents the type or function of the message, such as a positioning message, an event message, or a fault message. The execution entity of this embodiment of the present invention can compare the extracted message code with a valid code list that the user has previously maintained in the message template. The valid code list represents the message types that the user is currently interested in and requires further analysis, and can be flexibly configured based on the user's specific business needs. If the initial message's code matches an entry in the valid code list, the message meets the user's needs and is identified as a message to be analyzed. If not, the message is considered invalid or does not require processing and is skipped. In this way, the execution entity of this embodiment of the present invention can quickly filter out the messages to be analyzed that are closely related to the user's current needs from a large number of initial messages, avoiding indiscriminate analysis of all messages, thereby reducing system resource consumption and improving overall processing efficiency. At the same time, the matching process can also support dynamic adjustment. Users can update the valid coding list in the message template at any time according to actual changes in needs to ensure that the screening logic is synchronized with business needs.
[0058] In another possible implementation, in addition to determining the messages to be parsed based on the message code, the messages to be parsed can also be screened based on the specific content of the message. For example, the user can pre-set a condition such that only when a specific part appears in the fault message or the severity reaches a specific level, the corresponding message will be identified as a message to be parsed. Alternatively, the intermediate message can be first determined based on the message code, and then the specific fields and field values can be used to filter the messages to be parsed from the intermediate message. This can further streamline the messages to be parsed and help improve the efficiency of message parsing.
[0059] It should be noted that the above method of filtering out the message to be parsed from the initial message is only used as an example of a feasible implementation method in the embodiment of the present invention, and does not constitute an improper limitation of the present invention. In actual applications, the message to be parsed can be filtered out from the initial message by configuring a rule engine or other methods. The embodiment of the present invention does not make specific limitations on this, and is based on the ability to realize its functions.
[0060] S103: Based on the message template, determine the parsing rules pre-configured by the user, and parse the message to be parsed based on the parsing rules.
[0061] In the embodiment of the present invention, Figure 3 As shown, after the user predefines the message template, they can also configure corresponding parsing rules for each message template. The parsing rules can define the specific methods for how the execution subject of the embodiment of the present invention extracts, processes, and parses various parameters from the message to be parsed. For example, the parsing rules may include field extraction rules, field parsing formats, field validation rules, exception handling rules, etc. Among them, the field extraction rules can specify which parameters to extract from which part of the message to be parsed, such as intercepting from a fixed starting position or splitting fields by delimiters; the field parsing format can define the data type and parsing method of each field, such as whether a field needs to be parsed in hexadecimal or requires specific unit conversion; the field validation rules can configure the legitimacy check of the field, such as range verification and format verification; and the exception handling rules can define how to handle missing fields or abnormal formats during the parsing process, such as skipping, leaving them blank, or issuing an alarm prompt. It should be noted that the specific content of the above parsing rules is only used as an example of a possible implementation of the embodiment of the present invention and does not constitute an undue limitation of the present invention. In actual application, they can be set according to actual needs and circumstances, mainly to achieve their functions.
[0062] In an embodiment of the present invention, based on a message template, a parsing rule pre-configured by a user is determined, and the message to be parsed is parsed based on the parsing rule, including: determining a message master associated with the message template, and determining the status of the message master; in response to the status of the message master being a valid state, parsing the message to be parsed line by line based on the parsing rule of the message master; in response to the status of the message master being an invalid state, generating a second alarm message and terminating the parsing of the message to be parsed.
[0063] In specific implementation, Figure 2As shown, the message master associated with the message template can be identified first. The message master can be understood as a message header. The message header format of each message sent by the target aircraft is fixed and includes information such as the sending address, receiving address, message serial number, SMI (Subaddress Message Indicator), and ground base station code. After determining the message master, it is necessary to further determine its status. The message master status can be categorized as valid or invalid. A valid status indicates that the message master and its parsing rules have been configured, verified, and are functional. An invalid status indicates that the master configuration is incomplete, contains errors, or has not yet been implemented, making it unable to support subsequent parsing operations. After confirming that the message master is valid, the execution entity of the embodiment of the present invention can process the content of the message to be parsed line by line according to the parsing rules associated with the message master. During the parsing process, the execution entity of the embodiment of the present invention can sequentially extract parameters from the message to be parsed in the order in which the fields are extracted, and perform operations such as format parsing, value conversion, and exception checking according to the field requirements. At the same time, a corresponding parsing log can be generated during the parsing process, recording the extraction, parsing, and verification process of each field in detail, and providing real-time feedback to the user for subsequent review and troubleshooting. If the message master is found to be in an invalid state during the message master status verification phase, the execution subject of the embodiment of the present invention may not continue to perform subsequent parsing actions and generate a second alarm message to inform the user that there is a problem with the message master currently being used and that it cannot support the processing of the message to be parsed, and at the same time, the parsing process of the current message to be parsed is terminated.
[0064] For example, after successfully associating an entity with a corresponding message master, the execution entity of an embodiment of the present invention can check and extract valid message master parsing rules for that message master. Assuming the message master parsing rules contain five lines, the parsing process begins with the first line and proceeds sequentially through the fifth line, parsing the message header information line by line according to the master parsing rules. Each line can be processed based on the configured field extraction method, format verification requirements, and data conversion standards. If, during the parsing of any line, a field cannot be correctly extracted, the format is incorrect, or the data does not meet the preset verification standards, an exception can be immediately thrown, aborting the parsing process. A parsing log message stating "Parsing of message header line n failed" can be printed, where n is the specific line number of the error, facilitating subsequent troubleshooting and correction. If the parsing of lines 1 to 5 is completed successfully without any exceptions, the message header has been parsed successfully, and the message body parsing phase can proceed. During the message body parsing process, the execution entity of an embodiment of the present invention can further match the corresponding parsing rule library based on the initially associated message template, filtering out all valid parsing rule sets. Then, the message body data can also be parsed line by line, and each line is subjected to the steps of field extraction, type parsing, data verification and standardization according to the corresponding rules. If, during the parsing process, any line of data fails to meet the requirements of the rules, such as missing fields, inconsistent formats or verification failures, an exception can be thrown immediately, subsequent parsing can be terminated, and "Parsing of message body line n failed" can be recorded in the log, where n refers to the specific line number of the error. If all lines of the message body can be correctly parsed according to the rules, and all fields meet the verification standards, the system will determine that the entire message has been successfully parsed. In addition, after the entire message header and message body are parsed successfully, the execution subject of the embodiment of the present invention can also record the parsing time information, print a log to prompt the parsing time, and help users understand the system performance. All the parameters that have been parsed can then be standardized and structured, and finally stored in the database for subsequent data application, analysis or monitoring.
[0065] In an embodiment of the present invention, in addition to the target aircraft being able to send a message to the execution subject of the embodiment of the present invention, when encountering a situation in the analysis process where auxiliary information is needed to assist in determining the type of fault, the execution subject of the embodiment of the present invention can also request a corresponding message from the target aircraft. In order to ensure that no interference is caused to the crew when sending a request message to the target aircraft, a safety verification can be performed in advance. Specifically, the method also includes: sending a verification message to the target aircraft in the preparatory stage before the target aircraft takes off; determining whether a prompt message corresponding to the verification message appears on the cockpit display interface of the target aircraft; and determining that the safety verification has passed in response to the prompt message not appearing on the cockpit display interface of the target aircraft.
[0066] In specific implementation, Figure 3 As shown, in the preparation stage before the target aircraft takes off, a verification message for safety verification can be sent to the target aircraft. There is no specific limitation on the content of the verification message. Its purpose is to verify whether the prompt information of the sent verification message will appear on the target aircraft cockpit display interface. If it is found that the prompt information of the verification message is displayed on the target aircraft cockpit display interface, then after the actual takeoff, the prompt information on these display interfaces may interfere with the crew's operations, thereby endangering the overall safety. At this time, the sender and the receiver need to be debugged. If it is found that the prompt information is not displayed on the target aircraft cockpit display interface, it means that when requesting the target aircraft to parse the required message data, the crew is unaware and will not interfere with its normal operations. At this time, it can be determined that the safety verification of the target aircraft has passed.
[0067] In an embodiment of the present invention, before obtaining the initial message sent by the target aircraft, it is determined that the security verification has passed; after obtaining the message to be parsed corresponding to the user's needs, it also includes: determining an auxiliary request message related to the message to be parsed; and sending the auxiliary request message to the target aircraft to parse the message to be parsed based on the auxiliary information returned by the target aircraft.
[0068] In a specific implementation, after completing the screening of the message to be parsed, it is possible to further determine whether there is any auxiliary information related to the current message to be parsed, and then send an auxiliary request message to the target aircraft to request the auxiliary information. The auxiliary request message can be used to initiate a request for additional information from the aircraft to supplement or verify the correctness and completeness of key parameters in the message to be parsed. After determining that auxiliary information is needed, the corresponding auxiliary request message can be sent to the target aircraft, triggering the aircraft to return auxiliary information related to the message to be parsed. After the auxiliary information is returned, it can be combined with the message to be parsed and the auxiliary information returned by the aircraft for joint parsing processing, thereby improving the accuracy of data parsing, supplementing necessary context parameters, and avoiding information loss or parsing errors caused by relying solely on the initial message.
[0069] According to the second aspect of the embodiment of the present invention, Figure 4 As shown, an aircraft message parsing device 400 is provided, comprising:
[0070] The acquisition module 401 is used to acquire the initial message sent by the target aircraft;
[0071] Matching module 402, used to match the initial message according to the user-defined message template to obtain the message to be parsed corresponding to the user's needs;
[0072] The parsing module 403 is configured to determine a parsing rule pre-configured by the user based on the message template, and parse the message to be parsed based on the parsing rule.
[0073] Optionally, the acquisition module 401 is further configured to:
[0074] Acquire message data under preset key fields in the initial message to monitor the status of the target aircraft based on the message data;
[0075] In response to a failure in acquiring the message data, a first warning message is generated and sent to the target aircraft.
[0076] Optionally, the matching module 402 is specifically configured to:
[0077] Determine the message code corresponding to the initial message;
[0078] The message code is matched with the valid code maintained in the message template, and the initial message corresponding to the message code and the valid code is determined as the message to be parsed corresponding to the user demand.
[0079] Optionally, the parsing module 403 is specifically configured to:
[0080] Determine the message master associated with the message template and determine the status of the message master;
[0081] In response to the status of the message master being a valid state, parsing the message to be parsed line by line based on the parsing rules of the message master;
[0082] In response to the status of the message master being an invalid state, second alarm information is generated and parsing of the message to be parsed is suspended.
[0083] Optionally, the device further includes a verification module 404; the verification module 404 is specifically configured to:
[0084] In the preparatory stage before the target aircraft takes off, a verification message is sent to the target aircraft;
[0085] Determine whether a prompt message corresponding to the verification message appears on the cockpit display interface of the target aircraft;
[0086] In response to the prompt information not appearing on the cockpit display interface of the target aircraft, it is determined that the safety verification has passed.
[0087] Optionally, before obtaining the initial message sent by the target aircraft, it is determined that the security verification is passed; the parsing module 403 is further used to:
[0088] Determining an auxiliary request message related to the message to be parsed;
[0089] The auxiliary request message is sent to the target aircraft to parse the message to be parsed based on the auxiliary information returned by the target aircraft.
[0090] According to a third aspect of an embodiment of the present invention, an electronic device for parsing aircraft messages is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present invention.
[0091] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
[0092] According to a fifth aspect of an embodiment of the present invention, a computer program product is provided, comprising a computer program, which implements the method of any of the above embodiments when executed by a processor.
[0093] Figure 5 An exemplary system architecture 500 is shown in which an aircraft message parsing method or an aircraft message parsing apparatus according to the present invention can be applied.
[0094] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0095] Users can use terminal devices 501, 502, and 503 to interact with server 505 via network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, and 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0096] The terminal devices 501 , 502 , and 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0097] Server 505 can be a server that provides various services, such as a backend management server (for example only) that supports shopping websites browsed by users using terminal devices 501, 502, and 503. The backend management server can process received aircraft message parsing requests and provide feedback (for example only) on the processing results to the terminal devices.
[0098] It should be noted that the aircraft message parsing method provided in the embodiment of the present invention is generally executed by server 505, and accordingly, the aircraft message parsing apparatus is generally disposed in server 505. The aircraft message parsing method provided in the embodiment of the present invention may also be executed by terminal devices 501, 502, or 503, and accordingly, the aircraft message parsing apparatus may be disposed in terminal devices 501, 502, or 503.
[0099] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0100] Reference below Figure 6 , which shows a schematic structural diagram of a computer system 600 of a terminal device suitable for implementing an embodiment of the present invention. Figure 6 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0101] like Figure 6 As shown, computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage unit 608 into a random access memory (RAM) 603. Various programs and data required for the operation of system 600 are also stored in RAM 603. CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.
[0102] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, mouse, and the like; an output section 607 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; a storage section 608 including devices such as a hard disk; and a communication section 609 including a network interface card such as a LAN card or a modem. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. Removable media 611, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 610 as needed, so that computer programs read from the removable media can be installed in the storage section 608 as needed.
[0103] In particular, according to embodiments disclosed herein, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed herein include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program containing program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609 and / or installed from removable media 611. When executed by central processing unit (CPU) 601, the computer program performs the aforementioned functions defined in the system of the present invention.
[0104] It should be noted that the computer-readable medium described in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable storage media may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.
[0105] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0106] The modules described in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be provided in a processor. For example, a processor may include an acquisition module, a matching module, and a parsing module. The names of these modules do not, in some cases, limit the modules themselves. For example, the acquisition module may also be described as a "module for acquiring the initial message sent by the target aircraft."
[0107] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiments, or may exist independently and not incorporated into the device. The computer-readable medium carries one or more programs. When executed by a device, the device implements the following method: obtaining an initial message sent by a target aircraft; matching the initial message against a user-defined message template to obtain a message to be parsed that meets the user's requirements; determining, based on the message template, a user-preconfigured parsing rule, and parsing the message to be parsed based on the parsing rule.
[0108] Finally, it should be noted that the above embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for analyzing aircraft messages, characterized in that: include: Obtain the initial message sent by the target aircraft; Matching the initial message according to the user-defined message template to obtain a message to be parsed corresponding to the user's needs; Based on the message template, a parsing rule pre-configured by the user is determined, and the message to be parsed is parsed based on the parsing rule.
2. The method according to claim 1, characterized in that After obtaining the initial message sent by the target aircraft, it also includes: Acquiring message data under a preset key field in the initial message to monitor the status of the target aircraft based on the message data; In response to the failure to obtain the message data, a first warning message is generated and sent to the target aircraft.
3. The method according to claim 1, characterized in that Matching the initial message according to the user-defined message template to obtain a message to be parsed corresponding to the user requirement, including: Determining a message code corresponding to the initial message; The message code is matched with a valid code maintained in the message template, and an initial message corresponding to the message code and the valid code is determined as a message to be parsed corresponding to the user demand.
4. The method according to claim 1, wherein Determining a parsing rule pre-configured by a user based on the message template, and parsing the message to be parsed based on the parsing rule, including: Determining a message master associated with the message template, and determining a status of the message master; In response to the status of the message master being a valid state, parsing the message to be parsed line by line based on the parsing rules of the message master; In response to the state of the message master being an invalid state, second alarm information is generated and parsing of the message to be parsed is suspended.
5. The method according to claim 1, wherein The method further comprises: In the preparatory stage before the target aircraft takes off, sending a verification message to the target aircraft; Determining whether a prompt message corresponding to the verification message appears on a cockpit display interface of the target aircraft; In response to the prompt information not appearing on the cockpit display interface of the target aircraft, it is determined that the safety verification has passed.
6. The method according to claim 5, characterized in that Before obtaining the initial message sent by the target aircraft, confirming that the security verification is passed; After obtaining the message to be parsed corresponding to the user demand, the method further includes: Determining an auxiliary request message related to the message to be parsed; The assistance request message is sent to the target aircraft, so as to parse the message to be parsed based on the assistance information returned by the target aircraft.
7. An aircraft message parsing device, characterized in that: include: The acquisition module is used to obtain the initial message sent by the target aircraft; A matching module, configured to match the initial message according to a user-defined message template to obtain a message to be parsed corresponding to the user's needs; The parsing module is used to determine the parsing rules pre-configured by the user based on the message template, and parse the message to be parsed based on the parsing rules.
8. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer-readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Data message index management method, device and equipment
CN110995754A
Data message packing and unpacking method and device, and equipment
CN111064728A
Message analysis processing method combining rule engine and deep learning
CN118055175A
Aircraft ACARS message analysis method based on template
CN118075373A
Standard message analysis method and device, electronic equipment and storage medium
CN119697297A