Data analysis method, device and system and storage medium

By acquiring and parsing the network scale and terminal equipment identification information in aircraft ground tests, real-time analysis of user datagram protocol data solves the problem of networking protocol data screening and parsing, improves the real-time and precision of test data, and simplifies defects. position.

CN118573753APending Publication Date: 2024-08-30AVIC AVIONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410843999.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

During aircraft ground tests, it is difficult for existing technologies to screen and parse data that meets the networking protocol in a timely manner, making it more difficult to locate defective data and increasing the complexity of analysis.

Method used

By obtaining the network scale and terminal device identification information, adjust the terminal device configuration, determine the target terminal device, obtain and parse user datagram protocol data in real time, and perform real-time analysis according to the preset network protocol.

Benefits of technology

It improves the real-time and precision of analysis of aircraft test data, simplifies the defect location process, reduces manual intervention, and improves data processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573753A
    Figure CN118573753A
Patent Text Reader

Abstract

The invention provides a data analysis method, device and system and a storage medium, and is suitable for the technical field of data processing, and the method comprises the steps: obtaining a network scale and terminal equipment identification information; according to the network scale, adjusting the terminal equipment identification information to obtain terminal equipment configuration information; determining a plurality of target terminal devices corresponding to the terminal device configuration information; obtaining user datagram protocol data sent by each target terminal device in real time; and analyzing the user datagram protocol data in real time according to a preset network protocol. According to the invention, the number of the terminal devices is adjusted according to the scale of the ground test network of the aircraft, and all communication network data meeting a networking protocol can be collected in real time and automatically analyzed in the ground test process of the aircraft, so that the analysis instantaneity and fineness of the ground test data of the aircraft are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to a data analysis method, device, system and storage medium. Background Art

[0002] In the development process of modern aircraft, the aircraft, system, subsystem and onboard equipment all need to be verified and tested on the ground. During the ground verification and testing process, the data in the communication network needs to be parsed to facilitate the timely location of defect data and the subsequent optimization of the aircraft test process and operation process.

[0003] In the prior art, one method is to record the data of the entire test process through communication equipment, save it into a data file, and use dedicated data analysis software for post-analysis; another method is to collect, record and parse part of the test data through a network management server for post-analysis processing.

[0004] However, in the prior art, during each test, each device independently collects and records its own communication data, and relies on manual recording of the required test data. After the test, manual calculation, parsing, and post-analysis of the data are required, which cannot timely and effectively collect, record, analyze, and manage test data, and increases the complexity of test data analysis and the difficulty of locating defect data. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a data analysis method, device, system and storage medium, which can solve the problem of difficulty in timely screening, collecting and automatically analyzing data that meets the networking protocol during aircraft ground testing.

[0006] A first aspect of an embodiment of the present application provides a data parsing method, comprising:

[0007] Obtain network scale and terminal device identification information;

[0008] According to the network scale, the terminal device identification information is adjusted to obtain terminal device configuration information;

[0009] Determining a plurality of target terminal devices corresponding to the terminal device configuration information;

[0010] Acquire user datagram protocol data sent in real time by each of the target terminal devices;

[0011] The user datagram protocol data is parsed in real time according to a preset network protocol.

[0012] A second aspect of an embodiment of the present application provides a data parsing device, including:

[0013] A network scale and terminal device identification information acquisition module, which acquires network scale and terminal device identification information;

[0014] A terminal device configuration information generating module adjusts the terminal device identification information according to the network scale to obtain terminal device configuration information;

[0015] A target terminal device determining module, which determines a plurality of target terminal devices corresponding to the terminal device configuration information;

[0016] A real-time data acquisition module, which acquires the user datagram protocol data sent in real time by each of the target terminal devices; and

[0017] The data real-time parsing module performs real-time parsing on the user datagram protocol data according to a preset network protocol.

[0018] A third aspect of an embodiment of the present application provides a data analysis system, which includes the data analysis device provided by the second aspect above, and a plurality of terminal devices and displays that communicate with the data analysis device.

[0019] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, comprising: a computer program stored therein, wherein when the computer program is executed by a processor, the steps of the data parsing method as described in any one of the first aspects above are implemented.

[0020] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the number of terminal devices is adjusted according to the scale of the ground test network of the aircraft, so that the number of terminal devices can match the amount of data that needs to be processed; during the ground test of the aircraft, all communication network data that meet the networking protocol are screened, collected and analyzed in real time, thereby improving the real-time and precision of the analysis of the aircraft test data, and providing effective data support for defect location in the test. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0022] Figure 1 It is a schematic diagram of the implementation environment of the data analysis method provided in the embodiment of the present application;

[0023] Figure 2 This is a schematic diagram of the implementation process of the data analysis method provided in Example 1 of the present application;

[0024] Figure 3 This is a schematic diagram of the implementation process of the data analysis method provided in Example 2 of the present application;

[0025] Figure 4 This is a schematic diagram of the implementation process of the data analysis method provided in Example 3 of the present application;

[0026] Figure 5 This is a schematic diagram of the implementation flow of the data analysis method provided in Example 4 of the present application;

[0027] Figure 6 This is a schematic diagram of the implementation flow of the data analysis method provided in Example 5 of the present application;

[0028] Figure 7 This is a schematic diagram of the implementation flow of the data analysis method provided in Example 6 of the present application;

[0029] Figure 8 It is a structural diagram of a data analysis device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0031] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0032] Figure 1A schematic diagram of the implementation environment of a data analysis method provided in an embodiment of the present application is shown, that is, the data analysis system provided in the embodiment of the present application is corresponding to the embodiment of the present application. For the convenience of explanation, only the part related to the embodiment of the present application is shown, including a data analysis device 100, a terminal device 200 and a display 300. The data analysis device 100 and the terminal device 200, and the data analysis device 100 and the display 300 are connected through a wired network. Among them, the terminal device 200 includes airborne equipment and ground equipment. The airborne equipment is arranged on the aircraft to provide air node data during the test; the ground equipment is arranged on the ground to provide ground node data during the test. The ground equipment may include ground network management equipment, ground terminal equipment, data source excitation equipment, radio frequency switching network equipment, satellite navigation timing equipment and several attenuators. During the aircraft test, the air node data and ground node data sent by the terminal device 200 are collected and analyzed in real time by the data analysis device 100, and then the data analysis device 100 sends the analyzed data content to the display 300 for display.

[0033] Figure 2 The following is a flowchart of the implementation of the data analysis method provided in the first embodiment of the present application, which is described in detail as follows:

[0034] Step S101, obtaining network scale and terminal device identification information.

[0035] In this embodiment, the network scale is also called the networking scale, which refers to the number of nodes or connections contained in the network. In aircraft ground tests, the network scale determines the number of communication devices and the amount of communication data. The terminal equipment refers to the equipment that accesses the local area network of the test verification environment, which may include 1 ground network management device, multiple ground terminal devices, multiple airborne terminal devices, 1 data source excitation device, 1 radio frequency switching network device, 1 satellite navigation timing device, 1 data recording and analysis system, and several attenuators. Among them, the ground terminal equipment and airborne terminal equipment can be increased or decreased according to the requirements of the test scenario, and at least 1 of each is retained.

[0036] Among them, the ground network management equipment, that is, the network management center of the test environment, provides the networking protocol operating environment; the ground terminal equipment, that is, the ground communication node, is used to exchange messages with the airborne terminal equipment and accept the scheduling of the ground network management equipment; the airborne terminal equipment, that is, the air communication node, exchanges information with the data source excitation equipment, the ground terminal equipment, and other airborne terminal equipment, and provides the air node operating environment of the networking protocol; the data source excitation equipment is used to generate test business data and provide a data source for the airborne terminal equipment; the radio frequency switching network equipment is used to simulate the wireless transmission environment of the training communication network; the satellite navigation timing equipment is used to provide unified time information for the test environment; the data recording and analysis equipment is used to record and analyze the data generated during the test and manage the historical data; the attenuator is used to adjust the level of the test environment signal to prevent the signal from being too strong and causing damage to the receiving device.

[0037] Step S102: adjusting the terminal device identification information according to the network scale to obtain terminal device configuration information.

[0038] In this embodiment, in the aircraft ground test, the network scale is mainly used to determine the number of ground terminals and airborne terminals. The terminal device identification information can be device IP information, site name, site address, device manufacturer, control IP and power-on IP information, etc., which are used to identify and control ground terminals and airborne terminals.

[0039] In this embodiment, the ground terminal equipment and the airborne terminal equipment are optionally tailored according to the network scale of the test. A small scale generally uses 1 ground terminal equipment and no more than 32 airborne terminal equipment, while a medium scale and a large scale support a maximum of 32 ground terminal equipment and no more than 1024 airborne terminal equipment.

[0040] Step S103: determining a plurality of target terminal devices corresponding to the terminal device configuration information.

[0041] In this embodiment, according to the terminal device identification information adjusted based on the network scale, the IP address of the ground network management device accessing the test environment and the number and site information of the ground terminal devices are configured, thereby determining the terminal device that finally accesses the test environment. The target terminal device refers to the terminal device that can finally access the test environment after the network scale adjustment is completed.

[0042] Step S104, obtaining the user datagram protocol data sent in real time by each of the target terminal devices.

[0043] In this embodiment, the user datagram protocol data refers to data packets transmitted through the user datagram protocol in the transport layer of the OSI reference model. In the aircraft ground test, the target terminal device needs to interact with data in real time to ensure the normal operation of the aircraft and ground management. Therefore, the target terminal device will send a large amount of user data and signaling information communicated through various network protocols in real time, and this application only needs to obtain user data transmitted through the user datagram protocol.

[0044] Step S105: parsing the user datagram protocol data in real time according to a preset network protocol.

[0045] In this embodiment, the captured user datagram protocol data is parsed layer by layer until the content parsing of the user data is completed. In addition to the transport layer protocol, the preset network protocol can also be a data link layer protocol for parsing the user datagram protocol data layer by layer.

[0046] In this embodiment, WinPcap is optionally configured at the switch to capture user datagram protocol data passing through the switch. WinPcap can simulate the WireShark packet capture software function, parse and display the timestamp, source IP address, destination IP address, data length, protocol type, and port information of each data piece according to the Ethernet protocol, and parse the data information of the selected network data packet at the same time. The system will display the parsed data information through the display.

[0047] The data analysis method provided in the embodiment of the present application flexibly adjusts the number of configured terminals according to the networking scale of the aircraft ground test, so as to adapt to the data collection and analysis requirements of aircraft ground tests of different scales, screens a large amount of communication data generated in real time during the aircraft ground test, and analyzes the screened user datagram protocol data in real time according to different network protocols, so as to facilitate the timely positioning of defective data and improve the flexibility and precision of post-analysis.

[0048] Figure 3 The flowchart of the data analysis method provided in the second embodiment of the present application is shown. The difference between the second embodiment and the first embodiment is that the step S102 specifically includes:

[0049] Step S201: Create a configuration information list according to the terminal device identification information.

[0050] In this embodiment, a human-computer interaction interface may be generated at the user end, and the terminal device identification information may be displayed in a list format in the human-computer interaction interface, and the list is the configuration information list.

[0051] In this embodiment, optionally, the system configuration interface can be initialized, a right-click menu item can be created, the data of the default system configuration file can be read, and the data of the default system configuration file can be displayed in a list form through the human-computer interaction interface, and the IP address of the ground network management device accessing the test environment and the number and site information of the ground terminal devices can be configured by obtaining the user's operation on the list. The default system configuration file can be pre-designed according to the requirements of the aircraft ground test.

[0052] Step S202: adjusting the configuration information list according to the network scale to obtain terminal device configuration information.

[0053] In this embodiment, the user's operation command for the configuration information list can be obtained through the human-computer interaction interface, and the configuration information list can be added, deleted, or modified according to the user's operation command, so that the equipment configuration is more suitable for the needs of aircraft ground testing.

[0054] In this embodiment, optionally, when the system is started, a default configuration file containing information such as the IP information of the ground network management device, the number of ground terminal devices, and sites can be read. After the system is started, manual adjustment commands can be promptly obtained through the human-computer interaction interface, the IP address of the ground network management device can be dynamically modified, and the right-click menu can be used to add or delete rows, increase or decrease the number of ground terminal devices accessing the test environment, and its site name, site address, equipment manufacturer, control IP, and power-on IP information can be modified.

[0055] In the embodiment of the present application, preferably, after step S202, the method further includes:

[0056] Step S2021, in response to the user's storage operation on the terminal device configuration information, convert the terminal device configuration information into a format to generate a terminal device configuration file, so as to store the terminal device configuration file.

[0057] In this embodiment, a human-computer interaction interface can be generated on the user side, and the human-computer interaction interface includes an interface save button. When the staff presses the interface save button, the terminal configuration information is immediately converted into a terminal device configuration file, thereby reducing the memory space required for the file, and the new configuration information can be saved to the system configuration file for use after the system is restarted. By saving the terminal device configuration information in a timely manner, the negative impact on the terminal device configuration information due to accidents such as power failures can be avoided. The saved terminal device configuration data can be called out from the system memory after the system is restarted, and the staff responsible for the aircraft ground test does not need to readjust the default terminal device configuration information again, thereby reducing the workload of the staff and improving the efficiency of the advance preparation of the aircraft ground test.

[0058] The data parsing method provided in the embodiment of the present application visualizes the terminal device identification information by establishing a configuration information list, thereby helping the staff to timely view and adjust the configuration information to adjust the number of terminal devices connected to the aircraft ground test and the IP information, thereby being able to flexibly adjust the number of terminal devices and the communication networking structure according to the networking requirements of the aircraft ground test, and being able to meet the data processing requirements of the aircraft ground test while effectively avoiding the waste of hardware resources and software resources, and facilitating the effective interaction, collection and timely parsing of the data of the aircraft ground test.

[0059] Figure 4 The flowchart of the data analysis method provided in the third embodiment of the present application is shown. The difference between the third embodiment and the first embodiment is that the step S104 specifically includes:

[0060] Step S301, obtaining the current network connection status of the target terminal device.

[0061] In this embodiment, after determining the terminal device that will eventually access the aircraft ground test network based on the terminal device configuration information, it is necessary to detect whether the network connection status of the current networking is normal, and it is necessary to confirm whether each terminal device can effectively access the network, thereby achieving effective communication during the aircraft ground test and facilitating the interaction of a large amount of communication data generated during the aircraft ground test.

[0062] Step S302: when it is determined that the current network connection state is a connected state, header format information is extracted from data sent in real time by each of the target terminal devices.

[0063] In this embodiment, it is determined whether the current network connection state is in the connected state. When the current network state is in the connected state, it indicates that the terminal devices are all connected to the network for communication, and a large number of interactive data packets will be generated in the communication link. Usually, different network protocols are used to transmit data packets with different contents. The header format of each data packet can be used to confirm which network protocol the data packet uses for communication, thereby determining the data packet used to transmit user data in the aircraft ground test. When it is determined that the current network state is not in the connected state, it indicates that the terminal device is not connected to the network and cannot communicate, and the aircraft ground test cannot be carried out normally. This state may be that there is a problem with the device connected to the test environment, or there may be a problem with the network connection of part of the test environment. Therefore, it is necessary to troubleshoot the problem and solve it before conducting the test. The channel can be re-established by wired communication to ensure that the terminal device can realize real-time data interaction during the aircraft ground test.

[0064] In this embodiment, optionally, network data in the test environment can be collected in real time through the WinPcap interface during the test process, that is, a filter thread is created when the system starts, and the network adapter is set to promiscuous mode to receive all communication network data passing through the network adapter. By setting packet filtering rules, the user datagram protocol type network data required for the test process is collected in real time and cached in a local linked list queue.

[0065] Step S303: When it is determined that the header format information matches the user datagram protocol header format, the user datagram protocol data corresponding to the header format information is obtained.

[0066] In this embodiment, the header format of the data packet in the communication link is extracted to determine whether the header format information matches the header format of the user datagram protocol, that is, to determine whether the header format is the same as the header format of the data packet transmitted through the user datagram protocol. When it is determined that the header format of the data packet is the same as the header format of the user datagram protocol data, the data packet is determined to be user datagram protocol data, so that the data packet is captured and then used to parse its content; when it is determined that the header format of the data packet is different from the header format of the user datagram protocol data, the data packet is discarded to avoid occupying memory resources and computing resources for subsequent data processing. The data packet transmitted through the user datagram protocol has a data field and a header field, wherein the header field has 8 bytes, consisting of four fields, and the length of each field is 2 bytes.

[0067] The data parsing method provided in the embodiment of the present application screens a large amount of interactive data generated in the communication network, under the premise of ensuring that all terminal devices can communicate in real time in the network, and obtains user datagram protocol data for transmitting user data through the header format of the data packet, thereby timely collecting and parsing the user datagram protocol data, while avoiding the waste of storage resources and parsing computing resources for irrelevant data, alleviating the difficulty of data storage, reducing the complexity of data parsing, and facilitating the staff to timely identify and locate defective data.

[0068] Figure 5 The flowchart of the data analysis method provided in the fourth embodiment of the present application is shown. The difference between the fourth embodiment and the third embodiment is that the step S301 specifically includes:

[0069] Step S401: sending a connection request command to the target terminal device according to a preset number of connection request times.

[0070] In this embodiment, when detecting the network connection status, the system needs to send multiple connection request commands to the terminal device, and determine whether the terminal device successfully accesses the current network based on the response information of the terminal device to the connection request.

[0071] In this embodiment, optionally, the IP address of the device in the test environment LAN can be input through the simulation CMD command window function, and the network connection status of the device can be monitored and confirmed through the ping command. Specifically, a ping processing thread is created, the IP address and ping times of the test device are set, an IPv4ICMP request is sent, the returned ICMP response data is obtained and analyzed, and the current network connection status of the terminal device connected to the aircraft ground test is monitored and confirmed.

[0072] Step S402, receiving connection response information fed back by the target terminal device; the connection response information carries the address information of the target terminal device, the number of request response times, the number of routing hops, and the response time interval information.

[0073] In this embodiment, after receiving the connection request command from the system, the target terminal device will promptly feedback the connection response information, which may carry IP address information, request response number information, routing hop number information, and response time interval information. Among them, the IP address information is used to feedback whether the IP address is reachable and whether the communication link is connected, the request response number information is used to reflect the stability of the network connection status, the routing hop number information is used to reflect the communication distance, and the response time interval information is used to reflect the immediacy of network communication.

[0074] Step S403: parse the request response number information, the routing hop number information and the response time interval information to obtain the current network connection status of the target terminal device.

[0075] In this embodiment, optionally, when the system device software is started, a ping network detection processing thread is created, a ping object instance is bound and initialized, the IP address and ping number of the test device whose network connection status needs to be confirmed and monitored in the human-computer interaction interface are obtained, the ping operation is started, an IPv4 ICMP request response signal is sent, and the returned ICMP response data is obtained and analyzed from the response report queue, including the response IP address, data length, loopback response time, and routing hop count TTL, thereby monitoring and confirming the current network connectivity status of the test device.

[0076] The data analysis method provided in the embodiment of the present application detects network connectivity by sending a connection request command to a terminal device connected to the aircraft ground test network and connection response information fed back by the terminal device through the system, so as to ensure normal communication between the devices when the aircraft ground test is carried out, thereby timely collecting and analyzing the data generated during the test.

[0077] Figure 6The flowchart of the data analysis method provided in the fifth embodiment of the present application is shown. The difference between the fifth embodiment and the first embodiment is that the step S105 specifically includes:

[0078] Step S501, identifying the source address, destination address and data unit type of the user datagram protocol data according to the frame header information of the user datagram protocol data.

[0079] In this embodiment, the frame header information of the user datagram protocol data generally includes the communication protocol and address information used by the data packet to be transmitted in the communication network. The data unit type within the user datagram protocol data can be identified based on the type of the communication protocol.

[0080] Step S502, when it is determined that the source address or the destination address is the address of the target terminal device, and the data unit type is a protocol data unit, a parsing protocol is obtained according to a network protocol corresponding to the data unit type.

[0081] In this embodiment, it is determined whether the source address or destination address of the captured data packet is the address of the terminal device in the aircraft ground test network. When the source address or destination address of the data packet is not the address of the terminal device in the aircraft ground test network, it indicates that the IP address of the data packet is unreachable, and the data packet is not a data packet in the local area network, and it needs to be discarded to avoid wasting the system's memory resources and computing resources; when the source address or destination address of the data packet is the address of the terminal device in the aircraft ground test network, it indicates that the data packet is the address of communication in the local area network, and it is subsequently parsed. There are two types of data units of data packets, namely protocol data unit and service data unit. When the data unit type of the data packet is a protocol data unit, it indicates that the data unit of the data packet is a basic unit for exchanging data between entities in the same protocol layer, and it is captured and parsed according to the corresponding network protocol. The parsed content is used to analyze and count the interaction of the aircraft in the ground test.

[0082] Step S503: parsing the user datagram protocol data in real time according to the parsing protocol.

[0083] In this embodiment, according to the parsing protocol corresponding to the network layer, the user datagram protocol data is parsed layer by layer, the message header and the digital field are parsed separately to obtain the final data content, and the data content is displayed in real time on the display.

[0084] The data parsing method provided in the embodiment of the present application identifies and determines the source address and destination address of the user datagram protocol data, promptly discards data that is not related to the aircraft ground test local area network, and then identifies whether the data content is required for the parsing work through the data unit type, thereby promptly discarding data content that is not related to the parsing work, thereby avoiding the waste of storage resources and computing resources, and then processes the user datagram protocol data that meets the requirements, matches the network protocol through the frame header information, and then parses the user datagram protocol layer by layer according to the corresponding network protocol.

[0085] Figure 7 The flowchart of the data analysis method provided in the sixth embodiment of the present application is shown. The difference between the sixth embodiment and the fifth embodiment is that the step S502 specifically includes:

[0086] Step S601, performing base conversion on the user datagram protocol data to obtain converted byte data.

[0087] In this embodiment, the user datagram protocol data is in binary form when transmitted in the channel. The binary data is converted into hexadecimal data, that is, converted byte data is obtained for subsequent determination of data attributes of the data unit in the data packet.

[0088] Step S602: Identify the frame header byte of the converted byte data to obtain attribute confirmation information of the data unit.

[0089] In this embodiment, the frame header byte of the hexadecimal data is identified to obtain an identifier corresponding to the frame header byte, and the data unit attribute of the data unit in the user datagram protocol data packet is determined based on the identifier. The identifier corresponding to the frame header byte is the attribute confirmation information of the data unit.

[0090] Step S603: Determine the data attribute of the data unit according to the attribute confirmation information.

[0091] In this embodiment, the frame header byte can be used to identify the attribute of the data unit, and the identifier corresponding to the frame header byte can be used to indicate what data unit attribute the data unit in the data packet has. In the aircraft ground test, only the protocol data unit needs to be parsed for real-time analysis and statistics and characterization of the ground test situation.

[0092] Step S604: when it is determined that the data attribute is data link layer data, a data link layer protocol matching the data link layer data is queried to obtain a parsed protocol.

[0093] In this embodiment, it is determined whether the data attribute of the user datagram protocol data packet is data link layer data. When the data attribute of the user datagram protocol data packet is data link layer data, a data link layer protocol matching the data packet is queried among all data link layer protocols. The matching data link layer protocol is then a parsing protocol, which is used to further parse the data packet to obtain specific data content for timely analysis and display. When the data attribute of the user datagram protocol data packet is not data link layer data, it indicates that the data packet does not need subsequent content parsing during the aircraft ground test, and the data packet is discarded.

[0094] The data parsing method provided in the embodiment of the present application can quickly determine the data attributes of the data unit by converting the user datagram protocol data into a base, without decoding the original base, thereby matching the data attributes with the parsing protocol in the data link layer protocol, and then using the parsing protocol to parse the user datagram protocol data, so that it can store and record all PDU and SDU data that are automatically parsed according to the networking protocol, thereby improving the flexibility and precision of post-analysis.

[0095] Corresponding to the method of the above embodiment, Figure 8 A structural block diagram of a data analysis device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown. Figure 8 The exemplary data analysis device may be an execution subject of the data analysis method provided in the aforementioned first embodiment.

[0096] Reference Figure 8 , the data parsing device comprises:

[0097] A network scale and terminal device identification information acquisition module 710 is used to acquire network scale and terminal device identification information;

[0098] The terminal device configuration information generating module 720 adjusts the terminal device identification information according to the network scale to obtain the terminal device configuration information;

[0099] A target terminal device determining module 730 is configured to determine a plurality of target terminal devices corresponding to the terminal device configuration information;

[0100] A real-time data acquisition module 740 is configured to acquire user datagram protocol data sent in real time by each of the target terminal devices; and

[0101] The data real-time parsing module 750 performs real-time parsing of the user datagram protocol data according to a preset network protocol.

[0102] The process of each module in the data analysis device provided in the embodiment of the present application realizing its own function can be specifically referred to the aforementioned Figure 2 The description of the first embodiment is not repeated here.

[0103] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0104] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0105] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0106] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0107] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or suggesting relative importance. It should also be understood that although the terms "first", "second", etc. are used to describe various elements in some embodiments of the present application in the text, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first table can be named as the second table, and similarly, the second table can be named as the first table without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.

[0108] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0109] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a data analysis system, the steps in the above-mentioned method embodiments can be implemented.

[0110] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0111] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A data analysis method, characterized in that: include: Obtain network scale and terminal device identification information; According to the network scale, the terminal device identification information is adjusted to obtain terminal device configuration information; Determining a plurality of target terminal devices corresponding to the terminal device configuration information; Acquire user datagram protocol data sent in real time by each of the target terminal devices; The user datagram protocol data is parsed in real time according to a preset network protocol.

2. The data analysis method according to claim 1, characterized in that: The step of adjusting the terminal device identification information according to the network scale to obtain the terminal device configuration information specifically includes: Establishing a configuration information list according to the terminal device identification information; According to the network scale, the configuration information list is adjusted to obtain terminal device configuration information.

3. The data analysis method according to claim 2, characterized in that: After the step of adjusting the configuration information list according to the network scale to obtain the terminal device configuration information, the method further includes: In response to a user's storage operation on the terminal device configuration information, the terminal device configuration information is format-converted to generate a terminal device configuration file, so as to store the terminal device configuration file.

4. The data analysis method according to claim 1, characterized in that: The step of obtaining the user datagram protocol data sent in real time by each of the target terminal devices specifically includes: Get the current network connection status of the target terminal device; When it is determined that the current network connection state is a connected state, extracting header format information from the data sent in real time by each of the target terminal devices; When it is determined that the header format information matches the user datagram protocol header format, the user datagram protocol data corresponding to the header format information is obtained.

5. The data analysis method according to claim 4, characterized in that: The step of obtaining the current network connection status of the target terminal device specifically includes: Sending a connection request command to the target terminal device according to a preset number of connection requests; Receive connection response information fed back by the target terminal device; the connection response information carries address information of the target terminal device, number of request response times, number of routing hops, and response time interval information; The request response number information, the routing hop number information and the response time interval information are parsed to obtain the current network connection status of the target terminal device.

6. The data analysis method according to claim 1, characterized in that: The step of performing real-time parsing of the user datagram protocol data according to the network protocol specifically includes: Identify the source address, destination address and data unit type of the user datagram protocol data according to the frame header information of the user datagram protocol data; When it is determined that the source address or the destination address is the address of the target terminal device, and the data unit type is a protocol data unit, a parsing protocol is obtained according to a network protocol corresponding to the data unit type; According to the parsing protocol, the user datagram protocol data is parsed in real time.

7. The data analysis method according to claim 6, characterized in that: The step of obtaining a parsing protocol according to the network protocol corresponding to the data unit type specifically includes: Performing base-to-base conversion on the user datagram protocol data to obtain converted byte data; Identifying the frame header byte of the converted byte data to obtain attribute confirmation information of the data unit; Determining data attributes of the data unit according to the attribute confirmation information; When it is determined that the data attribute is data link layer data, a data link layer protocol matching the data link layer data is queried to obtain a parsed protocol.

8. A data analysis device, characterized in that: include: A network scale and terminal device identification information acquisition module, which acquires network scale and terminal device identification information; A terminal device configuration information generating module adjusts the terminal device identification information according to the network scale to obtain terminal device configuration information; A target terminal device determining module, which determines a plurality of target terminal devices corresponding to the terminal device configuration information; A data real-time acquisition module, which acquires the user datagram protocol data sent in real time by each of the target terminal devices; as well as The data real-time parsing module performs real-time parsing on the user datagram protocol data according to a preset network protocol.

9. A data analysis system, characterized in that: The data analysis system includes the data analysis device according to claim 8, and a plurality of terminal devices and displays that communicate with the data analysis device.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.