Network performance detection method and system, electronic equipment and storage medium

By obtaining the network communication protocol for data transmission between the monitoring center and the low-altitude aircraft, and generating and sending detection messages to determine the data transmission delay, the problem of low accuracy of network performance detection in the prior art is solved, and more accurate network performance detection is achieved.

CN119814620AInactive Publication Date: 2025-04-11GUANGDONG XINGZHI INTERNET TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510040291.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-04-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The accuracy of existing network performance detection methods is poor, especially when data transmission is carried out between the monitoring center and the low-altitude aircraft through a wireless network, the network path through which the ICMP protocol detection packets pass is inconsistent with the actual data transmission path, resulting in a deviation in the detection result.

Method used

A network performance detection method is proposed, by obtaining the network communication protocol used for data transmission between the monitoring center and the low-altitude aircraft, generating a detection message and recording the message transmission time stamp, sending a detection message through the target communication protocol, and determining the data transmission delay based on the message transmission time stamp and the reception time point.

Benefits of technology

It improves the accuracy of network performance detection, reduces the deviation between the detection results and the network performance data in actual applications, and ensures that the detection results are closer to the actual data transmission situation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814620A_ABST
    Figure CN119814620A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a network performance detection method and system, electronic equipment and a storage medium, and belongs to the technical field of network communication. According to the method, a target communication protocol is obtained by obtaining a network communication protocol used for data transmission between a monitoring center and a low-altitude aircraft, then a detection message is generated according to the target communication protocol, a message sending timestamp is recorded in the detection message, and then the detection message is sent to the monitoring center or the low-altitude aircraft through the target communication protocol. Then, receiving the detection message by the monitoring center or the low-altitude aircraft, and recording a message receiving time point; and finally, determining data transmission time delay according to the message sending timestamp and the message receiving time point. Therefore, network performance detection can be performed according to the actual network communication protocol for data transmission between the monitoring center and the low-altitude aircraft, the deviation between the network performance detection data and the network performance data in actual application is reduced, and the accuracy of network performance detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network communication technology, and in particular to a network performance testing method and system, electronic device, and storage medium. Background Technology

[0002] The monitoring center guides low-altitude aircraft to perform aerial monitoring tasks using remote control technology. During these tasks, the low-altitude aircraft needs to transmit collected images, videos, and sensor readings to the monitoring center and receive instructions. The quality of this data transmission directly impacts the efficiency and safety of the aerial monitoring mission. To ensure the reliability and efficiency of data transmission, network performance needs to be tested during the wireless network data transmission between the monitoring center and the low-altitude aircraft.

[0003] Current technologies for network performance testing primarily rely on network probing (PING) tools based on the Internet Control Message Protocol (ICMP) to calculate the round-trip network latency of probe packets. However, the actual network path traversed by data transmission between the monitoring center and the low-altitude aircraft varies depending on the data type and may differ from the network path traversed by ICMP probe packets. This leads to discrepancies between the network performance testing results obtained by the PIGN tool and actual network performance data in practical applications, resulting in poor accuracy of the network performance testing method. Therefore, improving the accuracy of network performance testing methods has become an urgent technical problem to be solved. Summary of the Invention

[0004] The main objective of this application is to provide a network performance testing method and system, electronic device, and storage medium, with the aim of improving the accuracy of the network performance testing method.

[0005] To achieve the above objectives, a first aspect of this application proposes a network performance detection method, which is applied to either a monitoring center or a low-altitude aircraft, and the method includes: Obtain the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, and obtain the target communication protocol; A probe message is generated according to the target communication protocol, and the message sending timestamp is recorded in the probe message; The detection message is sent to the monitoring center or the low-altitude aircraft through the target communication protocol; wherein the monitoring center or the low-altitude aircraft receives the detection message and records the message reception time. The data transmission delay is determined based on the message sending timestamp and the message receiving timestamp.

[0006] In some embodiments, obtaining the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, and obtaining the target communication protocol, includes: Determine the data type transmitted between the monitoring center and the low-altitude aircraft to obtain the target data type; The target communication protocol is determined based on the target data type.

[0007] In some embodiments, determining the target communication protocol based on the target data type includes: Extract candidate data types from candidate configuration files; Based on the target data type, a matching data type is retrieved from the candidate data types; wherein the matching data type is the same as the target data type; Select the target configuration file from the candidate configuration files based on the matching data type; Select the network communication protocol in the target configuration file as the target communication protocol.

[0008] In some embodiments, determining the data type transmitted between the monitoring center and the low-altitude aircraft to obtain the target data type includes: Obtain data transmission tasks from the monitoring center or the low-altitude aircraft; The target data to be transmitted between the monitoring center and the low-altitude aircraft is determined based on the data transmission task. The target data type is determined based on the target data.

[0009] In some embodiments, the monitoring center and the low-altitude aircraft each have local clocks, and the method further includes, before generating the probe message and recording the message transmission timestamp: The monitoring center or the low-altitude aircraft sends a clock synchronization request to the clock source. The monitoring center and the low-altitude aircraft respectively receive the configured time points sent by the clock source according to the clock synchronization request; A synchronization enable signal is generated based on the configured time point and the current time point of the local clock; The local clock timer is adjusted according to the synchronization enable signal to synchronize the local clock and the clock source.

[0010] In some embodiments, generating a probe message according to the target communication protocol and recording a message sending timestamp in the probe message includes: Test data is generated based on the amount of test data in the target configuration file and the target data type. The data transmission volume is determined according to the target communication protocol; The test data is split according to the data transmission volume to obtain at least two probe packets; Record the message sending timestamp in each of the probe messages according to the sending order of the probe messages.

[0011] In some embodiments, determining the data transmission delay based on the message sending timestamp and the message receiving timestamp includes: The message delay is obtained by the difference between the message sending timestamp and the message receiving timestamp for each of the probe messages; The total test latency is obtained by summing the latency of all the probe messages. The data transmission delay is obtained by dividing the total test delay by the total number of probe messages.

[0012] To achieve the above objectives, a second aspect of this application proposes a network performance detection system, the system comprising: The protocol acquisition module is used to acquire the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, and to obtain the target communication protocol. The message generation module is used to generate a probe message according to the target communication protocol and record the message sending timestamp in the probe message; The data transmission module is used to send the detection message to the monitoring center or the low-altitude aircraft through the target communication protocol; wherein the monitoring center or the low-altitude aircraft receives the detection message and records the message reception time. The delay calculation module is used to determine the data transmission delay based on the message sending timestamp and the message receiving time.

[0013] To achieve the above objectives, a third aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described in the first aspect.

[0014] To achieve the above objectives, a fourth aspect of the present application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect.

[0015] The network performance testing method, system, electronic device, and storage medium proposed in this application obtain the target communication protocol by acquiring the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission. Then, a probe message is generated based on the target communication protocol, and a message transmission timestamp is recorded in the probe message. The probe message is then sent to the monitoring center or the low-altitude aircraft via the target communication protocol. Next, the monitoring center or the low-altitude aircraft receives the probe message and records the message reception time. Finally, the data transmission delay is determined based on the message transmission timestamp and the message reception time. Therefore, the network performance testing method, system, electronic device, and storage medium proposed in this application can set the network communication protocol used by the monitoring center and the low-altitude aircraft in actual data transmission tasks as the target communication protocol for network performance testing. This allows for network performance testing based on the actual network communication protocol used for data transmission between the monitoring center and the low-altitude aircraft, reducing the deviation between the network performance testing data and the network performance data in actual applications, thereby improving the accuracy of network performance testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a schematic diagram of the data transmission network path provided in an embodiment of this application; Figure 2 This is a flowchart of the network performance detection method provided in the embodiments of this application; Figure 3 yes Figure 2 The flowchart of step S201 in the text; Figure 4 yes Figure 3 The flowchart of step S301 in the process; Figure 5 yes Figure 3 The flowchart of step S302 in the document; Figure 6 This is another implementable flowchart of the network performance detection method provided in the embodiments of this application; Figure 7 yes Figure 2 The flowchart of step S202 in the text; Figure 8 This is a schematic diagram illustrating a specific implementation of the network performance detection method provided in this application embodiment; Figure 9 yes Figure 2 The flowchart of step S204 in the process; Figure 10 This is another implementable flowchart of the network performance detection method provided in the embodiments of this application; Figure 11 This is another implementable flowchart of the network performance detection method provided in the embodiments of this application; Figure 12This is a schematic diagram of the network performance testing system provided in the embodiments of this application; Figure 13 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0018] It should be noted that although functional modules are divided in the system diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0020] like Figure 1As shown, when a low-altitude aircraft performs aerial monitoring missions, it needs to transmit collected images, videos, sensor readings, and other data to a monitoring center and receive instructions from the monitoring center. Different network transmission protocols are selected for different types of data, resulting in different network paths. For example, for data packet 1, the selected network transmission protocol is the Real-Time Streaming Protocol (RSTP), and the network path is path 1; for data packet 2, since the selected network transmission protocol is the Hypertext Transfer Protocol (HTTP), the network path is path 2; and for data packet 3, since the selected network transmission protocol is the ICMP protocol, the network path is path 3. However, when testing network performance, related technologies primarily use ICMP-based network probing (PING) tools to calculate the round-trip network latency of probe packets, i.e., performing network performance testing on path 3, rather than on paths 1 and 2. Because different network paths have varying data transmission delays, network performance data obtained by testing only on path 3 cannot accurately reflect the network performance status on paths 1 and 2; in other words, the accuracy of the network performance testing method is poor. Therefore, improving the accuracy of network performance testing methods has become an urgent technical problem to be solved.

[0021] Based on this, embodiments of this application provide a network performance testing method and system, electronic device, and storage medium, aiming to improve the accuracy of network performance testing.

[0022] The network performance testing method, system, electronic device, and storage medium provided in this application are specifically described through the following embodiments. First, the network performance testing method in this application is described.

[0023] The network performance testing method provided in this application relates to the field of network communication technology. This method can be applied to a terminal, a server in a monitoring center, or software running on either a terminal or a server. In some embodiments, the terminal can be a low-altitude aircraft, a smartphone, a tablet, a laptop, a desktop computer, etc.; the server can be configured as an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application implementing the network performance testing method, but is not limited to the above forms.

[0024] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0025] Figure 2 This is an optional flowchart of the network performance detection method provided in the embodiments of this application. Figure 2 The method described above can be applied to either a monitoring center or a low-altitude aircraft. The monitoring center manages and guides the specific operations of the low-altitude aircraft during missions. It typically possesses a low-altitude flight control system capable of receiving real-time sensor data, images, and video data from the low-altitude aircraft, including its position, speed, altitude, and environmental information. Simultaneously, it sends control commands to the low-altitude aircraft to guide its flight path and behavior. Low-altitude aircraft refer to aircraft that fly at relatively low altitudes, including various types such as drones, helicopters, and gliders. Low-altitude aircraft typically perform tasks such as agricultural monitoring, aerial photography, logistics delivery, and emergency rescue in the low-altitude region, requiring them to transmit collected images, videos, sensor readings, and other data to the monitoring center, and to receive control commands from the monitoring center. The method described above includes, but is not limited to, steps S201 to S204.

[0026] Step S201: Obtain the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, and obtain the target communication protocol; Step S202: Generate a probe message according to the target communication protocol and record the message sending timestamp in the probe message; Step S203: Send a detection message to the monitoring center or low-altitude aircraft through the target communication protocol; wherein the monitoring center or low-altitude aircraft receives the detection message and records the message reception time. Step S204: Determine the data transmission delay based on the message sending timestamp and message receiving timestamp.

[0027] Steps S201 to S204 of this embodiment involve obtaining the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, obtaining the target communication protocol, generating a probe message based on the target communication protocol, recording the message transmission timestamp in the probe message, and then sending the probe message to the monitoring center or the low-altitude aircraft via the target communication protocol. Next, the monitoring center or the low-altitude aircraft receives the probe message and records the message reception time. Finally, the data transmission delay is determined based on the message transmission timestamp and the message reception time. Therefore, the network performance detection method proposed in this embodiment can set the network communication protocol used by the monitoring center and the low-altitude aircraft in the actual data transmission task as the target communication protocol for network performance detection. This allows for network performance detection based on the actual network communication protocol used for data transmission between the monitoring center and the low-altitude aircraft, reducing the deviation between the network performance detection data and the network performance data in actual applications, thereby improving the accuracy of network performance detection.

[0028] In step S201 of some embodiments, the target communication protocol defines how data flows between the low-altitude aircraft and the monitoring center, including processes such as data encapsulation, transmission, routing, and decapsulation. The target communication protocol can be any one of ICMP, Transmission Control Protocol (TCP), User Datagram Protocol (UDP), HTTP, Real-Time Transport Protocol (RTP), or RSTP, or other network communication protocols applicable to data transmission between the monitoring center and the low-altitude aircraft. It is obtained based on the actual network communication protocol used for data transmission between the monitoring center and the low-altitude aircraft. For example, if the monitoring center needs to send control commands such as play, pause, stop, fast forward, and rewind to the low-altitude aircraft for real-time streaming media data, the network communication protocol used for data transmission is RSTP, and the target communication protocol is also set to RSTP. Conversely, if the low-altitude aircraft needs to send sensor data to the monitoring center, the network communication protocol used for data transmission is UDP, and the target communication protocol is also set to UDP.

[0029] Please see Figure 3 In some embodiments, step S201 may include, but is not limited to, steps S301 to S302: Step S301: Determine the data type transmitted between the monitoring center and the low-altitude aircraft to obtain the target data type; Step S302: Determine the target communication protocol based on the target data type.

[0030] In steps S301 to S302 of some embodiments, when data is transmitted between the monitoring center and the low-altitude aircraft, a network communication protocol is typically selected based on the different data types to ensure data accuracy and transmission efficiency. For example, for sensor data or status information, the UDP protocol, which offers high real-time performance and low latency, is required during actual data transmission; while for non-real-time data or files, the TCP protocol, which offers high reliability, is needed. Therefore, when performing network performance testing, the data type of the data transmitted between the monitoring center and the low-altitude aircraft should also be considered as the target data type.

[0031] In step S302 of some embodiments, after determining the target data type, the target communication protocol can be determined based on the target data type. For example, for abnormal alarm data with high real-time requirements, the UDP protocol is selected because UDP provides connectionless, fast, and low-latency data transmission services, suitable for application scenarios with high transmission efficiency requirements. For data requiring reliable transmission, such as flight control commands, the TCP protocol is selected because TCP ensures stable and accurate data transmission in complex network environments through mechanisms such as connection management, reliable transmission, flow control, and congestion control. Furthermore, for response data to flight control commands, the HTTP protocol is selected to ensure the security of response data during transmission and to allow the monitoring center to monitor the execution status of control commands through request and response status codes.

[0032] Steps S301 to S302, as shown in the embodiments of this application, determine the data type transmitted between the monitoring center and the low-altitude aircraft to obtain the target data type, and determine the target communication protocol based on the target data type. The target communication protocol can be selected according to the data type of the actual data transmitted between the low-altitude aircraft and the monitoring center, so that the target communication protocol can be consistent with the network communication protocol for data transmission between the monitoring center and the low-altitude aircraft.

[0033] Please see Figure 4 In some embodiments, step S301 may include, but is not limited to, steps S401 to S403: Step S401: Obtain data transmission tasks from the monitoring center or low-altitude aircraft; Step S402: Determine the target data to be transmitted between the monitoring center and the low-altitude aircraft based on the data transmission task; Step S403: Determine the target data type based on the target data.

[0034] In step S401 of some embodiments, the data transmitted between the low-altitude aircraft and the monitoring center differs depending on whether the low-altitude aircraft is performing different tasks such as agricultural monitoring, aerial photography, logistics distribution, or emergency rescue. Therefore, it is necessary to obtain the data transmission task from either the monitoring center or the low-altitude aircraft. Specifically, when the monitoring center is the data sender, the data transmission task is obtained from the monitoring center; when the low-altitude aircraft is the data sender, the data transmission task is obtained from the low-altitude aircraft.

[0035] In step S402 of some embodiments, after obtaining the data transmission task, the specific target data transmitted between the monitoring center and the low-altitude aircraft can be determined based on the data transmission task. For example, if the low-altitude aircraft is conducting a boundary patrol mission, and the low-altitude aircraft acts as the data sender and the monitoring center acts as the data receiver, the data transmission task can be to transmit target data such as the real-time position, speed, heading, and boundary coordinates of the low-altitude aircraft to the monitoring center. In this case, the target data can be determined from the data transmission task as: the real-time position, speed, heading, and boundary coordinates of the low-altitude aircraft.

[0036] In step S403 of some embodiments, after determining the target data, the target data type can be determined based on the target data. For example, if the monitoring center acts as the data sender and the low-altitude aircraft acts as the data receiver, the target data could be a real-time video stream acquisition start command sent by the monitoring center to the low-altitude aircraft, in which case the target data type could be determined to be a "control command".

[0037] Steps S401 to S403 of the embodiments of this application involve obtaining the data transmission task of the monitoring center or the low-altitude aircraft, then determining the target data transmitted between the monitoring center and the low-altitude aircraft based on the data transmission task, and determining the target data type based on the target data. This enables the network performance testing method of the embodiments of this application to accurately determine the target data type based on the actual data transmission task of the monitoring center or the low-altitude aircraft, so as to accurately determine the target communication protocol used for network performance testing. Furthermore, the test data is transmitted and network performance is tested based on the target communication protocol, thereby improving the accuracy of the network performance testing data.

[0038] Please see Figure 5 In some embodiments, step S302 may include, but is not limited to, steps S501 to S504: Step S501: Extract candidate data types from candidate configuration files; Step S502: Retrieve a matching data type from the candidate data types based on the target data type; wherein the matching data type is the same as the target data type; Step S503: Select the target configuration file from the candidate configuration files according to the matching data type; Step S504: Select the network communication protocol in the target configuration file as the target communication protocol.

[0039] In step S501 of some embodiments, for each data type transmitted between the monitoring center and the low-altitude aircraft, there is a corresponding candidate configuration file describing how to generate test data for that data type and how to transmit network performance testing data between the low-altitude aircraft and the monitoring center. The candidate configuration file contains candidate data types identical to the target data type. Furthermore, the candidate configuration file also contains at least the following configuration information required for data transmission between the monitoring center and the low-altitude aircraft: network interface type, source IP address, destination IP address, test data volume, and network communication protocol. Therefore, candidate data types can be extracted from each candidate configuration file, and based on this, a matching data type identical to the target data type can be found from all candidate data types.

[0040] In step S502 of some embodiments, a matching data type identical to the target data type can be retrieved from the candidate data types. Specifically, the target data type and candidate data types may include, but are not limited to, at least one of the following type parameters: type description information or data transmission format. For example, the specific values ​​of the type description information may be "video stream," "control command," and "sensor data stream," etc., and the specific values ​​of the data transmission format may be "JSON," "XML," "JPG," and "MP4," etc. By comparing the specific values ​​of each type parameter in the target data type and candidate data types one by one, a matching data type identical to the target data type can be determined.

[0041] In step S503 of some embodiments, after determining the matching data type, the candidate configuration file with the matching data type can be used as the target configuration file to generate and transmit test data according to the configuration information in the target configuration file, ensuring that the configuration of the test data transmission is completely consistent with the actual transmission data requirements, thereby improving the reliability of network performance testing.

[0042] In step S504 of some embodiments, the network communication protocol in the target configuration file can be selected as the target communication protocol. For example, if the target configuration file is a configuration file designed for real-time video stream data transmission and specifies the use of the RTP protocol as the network communication protocol, then the target communication protocol is set to the RTP protocol.

[0043] Steps S501 to S504 of this embodiment first extract candidate data types from candidate configuration files, and then search for matching data types among the candidate data types based on the target data type; wherein the matching data type and the target data type are the same. Then, a target configuration file is selected from the candidate configuration files based on the matching data type, and the network communication protocol in the target configuration file is selected as the target communication protocol. Therefore, the network performance detection method shown in this embodiment can determine the target configuration file used in network performance detection based on the data type of the actual data transmitted between the low-altitude aircraft and the monitoring center, so as to use the network communication protocol in the target configuration file as the target communication protocol, thereby maintaining the consistency between the target communication protocol and the network communication protocol for data transmission between the monitoring center and the low-altitude aircraft.

[0044] Please see Figure 6 In some embodiments, the monitoring center and the low-altitude aircraft each have a local clock, which is used to generate the message transmission timestamp and message reception timestamp of the probe message. Prior to step S202, the network performance detection method may also include, but is not limited to, steps S601 to S604: Step S601: The monitoring center or low-altitude aircraft sends a clock synchronization request to the clock source; In step S602, the monitoring center and the low-altitude aircraft respectively receive the configuration time points sent by the clock source according to the clock synchronization request; Step S603: Generate a synchronization enable signal based on the configured time point and the current time point of the local clock; Step S604: Adjust the timer of the local clock according to the synchronization enable signal to synchronize the local clock and the clock source.

[0045] In step S601 of some embodiments, the clock source is used to synchronize the local clocks of the low-altitude aircraft and the monitoring center to reduce the impact of time errors between the low-altitude aircraft and the monitoring center on the message transmission timestamp and message reception time during network performance testing. The clock source can be a GPS clock or other clocks such as a Network Time Protocol (NTP) server. Based on this, the monitoring center or the low-altitude aircraft sends a clock synchronization request to the clock source, whereby the clock synchronization request requests the clock source's configured time point. Specifically, the clock synchronization request is sent from the data sender to the clock source; for example, when the monitoring center is the data sender, the monitoring center sends the clock synchronization request to the clock source; when the low-altitude aircraft is the data sender, the low-altitude aircraft sends the clock synchronization request to the clock source.

[0046] In step S602 of some embodiments, the configured time point is a precise time point within the clock source, used for local clock synchronization between the monitoring center and the low-altitude aircraft. Based on this, upon receiving a clock synchronization request from the monitoring center or the low-altitude aircraft, the clock source sends the configured time point to both the monitoring center and the low-altitude aircraft according to the clock synchronization request, ensuring that the local clocks of both the monitoring center and the low-altitude aircraft can synchronize with the clock source, thereby guaranteeing local clock synchronization between the monitoring center and the low-altitude aircraft.

[0047] In step S603 of some embodiments, the synchronization enable signal is used to instruct the monitoring center and the low-altitude aircraft how to adjust their local clocks. Based on this, the synchronization enable signal can be generated according to the configured time point and the current time point of the local clock.

[0048] For example, the time difference is obtained by subtracting the current time of the local clock from the configured time point. Then, a synchronization enable signal is generated based on this time difference to adjust the local clock. When generating the synchronization enable signal based on the positive or negative value of the time difference, the synchronization enable signal can include: a first enable signal and a second enable signal. If the time difference is positive, it indicates that the configured time point is after the current time point. In this case, a first enable signal is generated based on the configured time point, and this first enable signal is used to set the configured time point as the current time point of the local clock. If the time difference is negative, it indicates that the configured time point is before the current time point. In this case, a second enable signal is generated based on the time difference, the configured time point, and the current time point. This second enable signal is used to adjust the timer of the local clock.

[0049] In step S604 of some embodiments, the timer of the local clock can be adjusted according to the synchronization enable signal to synchronize the local clock and the clock source. For example, if the synchronization enable signal is a first enable signal, the timer value of the local clock is reset according to the configured time point so that the configured time point is used as the current time point of the local clock; if the synchronization enable signal is a second enable signal, the timer rate of the local clock is determined or the timer is reset according to the second enable signal until the current time point of the local clock is synchronized with the configured time point.

[0050] In some embodiments, after acquiring the data transmission task at the data end, before generating the probe message according to the target communication protocol, the local clock and clock source are synchronized to ensure time synchronization between the low-altitude aircraft and the monitoring center.

[0051] In other embodiments, the local clock and clock source are synchronized again before the data terminal receives the probe message.

[0052] In other embodiments, the local clock and clock source can be synchronized according to a specific time period. For example, the local clock and clock source can be synchronized every 10 minutes, or the specific time period can be 1 hour or other specific values, which are not limited in this application. It should be noted that if the local clock and clock source are synchronized according to a specific time period, the clock source can send the configuration time point to the low-altitude aircraft and the monitoring center after receiving a clock synchronization request; alternatively, the clock source may not need to receive a clock synchronization request and can still send the configuration time point to the low-altitude aircraft and the monitoring center according to the time period.

[0053] Steps S601 to S604 of this embodiment first involve sending a clock synchronization request to the clock source via a monitoring center or low-altitude aircraft. The monitoring center and the low-altitude aircraft then receive the configured time points sent by the clock source according to the clock synchronization request. Next, a synchronization enable signal is generated based on the configured time points and the current time of the local clock. Finally, the timer of the local clock is adjusted according to the synchronization enable signal to synchronize the local clock with the clock source. Therefore, the network performance detection method shown in this embodiment can synchronize the local clocks of the low-altitude aircraft and the monitoring center according to the clock source, reducing errors between local clocks and making the message sending timestamps and message receiving timestamps generated based on different local clocks more accurate, thereby improving the accuracy of network performance detection.

[0054] In step S202 of some embodiments, the probe message can be transmitted between the low-altitude aircraft and the monitoring center to measure the network performance between the low-altitude aircraft and the monitoring center, particularly the latency and reliability of data transmission. Generating probe messages based on the target communication protocol can obtain probe messages similar to the actual data transmitted between the low-altitude aircraft and the monitoring center, thereby simulating the actual data transmission process in network performance testing and improving the similarity between the network performance testing results and the actual transmitted data.

[0055] Please see Figure 7 In some embodiments, step S202 includes, but is not limited to, steps S701 to S704: Step S701: Generate test data based on the amount of test data and the target data type in the target configuration file; Step S702: Determine the data transmission volume according to the target communication protocol; Step S703: Split the test data according to the data transmission volume to obtain at least two probe packets; Step S704: Record the message sending timestamp in each probe message according to the sending order of the probe messages.

[0056] In step S701 of some embodiments, the test data volume refers to the total size of the data to be transmitted, determined based on the actual data size during data transmission between the low-altitude aircraft and the monitoring center. Based on this, test data can be generated according to the test data volume and target data type in the target configuration file, ensuring that the test data has the same data type and similar total data volume as the actual transmitted data. This simulates the actual data transmission scenario during network performance testing, improving the accuracy of network performance testing. For example, if the target data type is a video stream, the test data will simulate video frame data packets, and the test data volume can be 500KB; if it is sensor data, the test data will include simulated sensor readings such as temperature and humidity, and the test data volume can be 4KB.

[0057] In step S702 of some embodiments, since different network communication protocols may have maximum size limitations on the amount of data transmitted in a single transmission, after generating the test data, it is necessary to determine the data transmission volume according to the target communication protocol, that is, the maximum amount of data that can be sent in each transmission, to ensure that the test data conforms to the actual working conditions of the network communication protocol during transmission. For example, since the data transmission volume of the TCP protocol is limited by the Maximum Transmission Unit (MTU), and the typical MTU is 1500 bytes, considering that the TCP header size is 20 bytes, the data transmission volume of the TCP protocol is 1480 bytes. In addition, the specific value of the data transmission volume can also be set according to the actual needs of those skilled in the art, such as setting it to 1000 bytes or 500 bytes, as long as it can meet the actual working conditions of the target communication protocol.

[0058] In step S703 of some embodiments, after determining the data transmission volume, the test data can be split according to the data transmission volume to obtain at least two probe messages. For example, if the data transmission volume is determined to be 1400 bytes, and 4KB of test data is to be transmitted, the test data needs to be split into 3 probe messages.

[0059] In other embodiments, since the actual data size during data transmission between the low-altitude aircraft and the monitoring center is lower than the maximum size limit of a single transmission by the target communication protocol, the number of probe packets can be set in the target configuration file. This number of probe packets is used to split the test data into a specific number of probe packets. For example, if the simulated control command generates 1200 bytes of test data, and TCP is selected as the target transmission protocol, the data transmission volume is 1480 bytes. Since the test data volume is lower than the data transmission volume, the number of probe packets can be extracted from the target configuration file. If the number of probe packets is 4, the test data is split into 4 probe packets; if the number of probe packets is 6, the test data is split into 6 probe packets. The number of probe packets can also be set to other values.

[0060] In step S704 of some embodiments, for each detection message, a message transmission timestamp is recorded in the detection message according to the transmission order of the detection messages. The message transmission timestamp is used to record the time when the detection message was sent from the low-altitude aircraft or the monitoring center.

[0061] It should be noted that in the actual process of generating and sending test messages, after the test data is split into a probe message according to the data transmission volume, the low-altitude aircraft or monitoring center will immediately send the probe message. Therefore, the generation order of probe messages can be regarded as the sending order of probe messages, and the difference between the time point of generating the probe message and the time point of sending the probe message can be ignored. The generation time point of the probe message can be converted into a message sending timestamp.

[0062] Steps S701 to S704 of this embodiment first generate test data based on the test data volume and target data type in the target configuration file, and determine the data transmission volume according to the target communication protocol. Then, the test data is split according to the data transmission volume to obtain at least two probe packets. Finally, the transmission timestamp of each probe packet is recorded in the transmission order of the probe packets. Therefore, the network performance testing method shown in this embodiment can generate probe packets by simulating the actual data packet generation process of low-altitude aircraft and monitoring centers, and record the transmission timestamp of the probe packets, thereby ensuring the accuracy and effectiveness of network performance testing.

[0063] In step S203 of some embodiments, the probe message can be sent to the monitoring center or low-altitude aircraft via a communication network using a pre-determined target communication protocol. Specifically, after generating the probe message, it can be sent one by one to the monitoring center or low-altitude aircraft via the communication network according to the sending order. (See also...) Figure 8 For example, when the data sender is a low-altitude aircraft and the data receiver is a monitoring center, and it is necessary to detect the network performance of the low-altitude aircraft transmitting real-time video streams unidirectionally to the monitoring center, if the RTP protocol is selected as the target transmission protocol, each probe message can be represented by RTP data packet 1 to RTP data packet n, and the low-altitude aircraft will send the probe message to the monitoring center via the communication network according to the RTP protocol.

[0064] In step S204 of some embodiments, the data transmission delay can be determined based on the message sending timestamp and message receiving timestamp of the probe message. Specifically, when performing one-way data transmission between the monitoring center and the low-altitude aircraft, it is necessary to record the message sending timestamp and message receiving timestamp of the data sending end at the data receiving end. Then, the message sending timestamp of each probe message is parsed out, and the message delay is obtained by subtracting the message sending timestamp and message receiving timestamp of each probe message. Finally, the data transmission delay is determined based on the total message delays. (Refer to...) Figure 8 For example, when a low-altitude aircraft is the data sender and the monitoring center is the data receiver, and it is necessary to detect the network performance of the unidirectional transmission of real-time video streams from the low-altitude aircraft to the monitoring center, the RTP protocol can be selected as the target transmission protocol. Each probe message is represented by RTP data packets 1 to n. The monitoring center records the message sending timestamps T1 to Tn and the message receiving timestamps ST1 to STn. Then, the message delay is obtained by subtracting the message sending timestamp and the message receiving timestamp for each RTP data packet. Until message delay And based on message delay Until message delay Determine the data transmission delay.

[0065] Please see Figure 9 In some embodiments, step S204 may include, but is not limited to, steps S901 to S903: Step S901: Obtain the message delay based on the difference between the message sending timestamp and the message receiving timestamp for each probe message; Step S902: Sum the message delays of all probe messages to obtain the total test delay; Step S903: Divide the total test delay by the total number of probe messages to obtain the data transmission delay.

[0066] Steps S901 to S903, as illustrated in this embodiment, firstly, the message delay is obtained based on the difference between the message sending timestamp and the message receiving timestamp of each probe message. Then, the total test delay is obtained by summing the message delays of all probe messages, and the data transmission delay is obtained by dividing the total test delay by the total number of probe messages. Therefore, by smoothing at least two probe messages, the average delay of the probe messages can be obtained, reducing the impact of delay jitter of a single message on network performance testing data and improving the accuracy of network performance testing.

[0067] In other embodiments, the data transmission task performed between the monitoring center and the low-altitude aircraft is not unidirectional but bidirectional. Therefore, a predetermined communication protocol can be used to perform bidirectional data transmission between the monitoring center and the low-altitude aircraft. For example, when the data sender is the monitoring center and the data receiver is the low-altitude aircraft, the monitoring center can first send the detection message to the low-altitude aircraft according to the target communication protocol, and then the low-altitude aircraft can send the received detection message back to the monitoring center according to the target communication protocol.

[0068] In other embodiments, when bidirectional data transmission occurs between the monitoring center and the low-altitude aircraft, the probe message from the data sender needs to be sent to the data receiver. The data receiver records the message reception time and generates a message reception timestamp based on the reception time. Then, the data receiver generates a feedback message based on the probe message, recording the feedback sending timestamp in the feedback message. Following the target communication protocol, the feedback message, message sending timestamp, message receiving timestamp, and feedback sending timestamp are sent back to the data sender. The data sender then records the feedback receiving time of the received feedback message. Finally, the data transmission delay is calculated based on the message sending timestamp, message receiving timestamp, feedback sending timestamp, and feedback receiving timestamp. The specific generation method of the feedback message is similar to that of the probe message generation embodiment, differing only in the specific message data, and will not be elaborated further in this application.

[0069] For example, when the monitoring center is the data sender and the low-altitude aircraft is the data receiver, and network performance testing is required for the monitoring center to send displacement control commands to the low-altitude aircraft and for the low-altitude aircraft to provide feedback on status response information, the following steps are taken: First, the monitoring center sends the generated probe message to the low-altitude aircraft via the target communication protocol, and the low-altitude aircraft records the message reception time. Then, a message reception timestamp is generated based on the message reception time. Next, the low-altitude aircraft generates a feedback message and a feedback sending timestamp based on the probe message, and again sends the feedback message, message sending timestamp, message receiving timestamp, and feedback sending timestamp back to the monitoring center via the target communication protocol. Finally, the monitoring center records the feedback receiving time and calculates the data transmission delay based on the message sending timestamp, message receiving timestamp, feedback sending timestamp, and feedback receiving timestamp. The type of the probe message is the same as the displacement control command, and the type of the feedback message is the same as the status response information.

[0070] The specific method for calculating the data transmission delay at the data sending end based on the message sending timestamp, message receiving timestamp, feedback sending timestamp, and feedback receiving timestamp is as follows: First, for each feedback message, calculate the difference between the message sending timestamp and the message receiving timestamp to obtain the message delay. Then, calculate the difference between the feedback sending timestamp and the feedback receiving timestamp to obtain the feedback delay. Finally, add the feedback delay and the message delay together to obtain the bidirectional delay. Finally, add the bidirectional delays of all feedback messages together to obtain the total test delay. Divide the total test delay by the total number of feedback messages to obtain the bidirectional data transmission delay.

[0071] Please see Figure 10 In some embodiments, prior to step S203, the network performance detection method illustrated in this application further includes steps S1001 to S1004: Step S1001: Initialize the probe configuration data according to the target configuration file; Step S1002: Initialize the packet sending and receiving objects, detectors, and analyzers according to the detection configuration data; Step S1003: After the packet sending and receiving objects, detectors, and analyzers are initialized, the detection resources and statistics resources are invoked; Step S1004: Perform message probing based on probe resources and statistical resources.

[0072] In step S1001 of some embodiments, probe configuration data can be initialized according to the target configuration file. Specifically, configuration information is extracted from the target configuration file and determined as probe configuration data.

[0073] In some embodiments, after step S1001, it is also necessary to obtain log printing information; wherein, the log printing information indicates whether the network performance detection progress needs to be displayed in real time or not. If the log printing information indicates that the network performance detection progress needs to be displayed in real time, the log printing function is enabled to display the network performance detection progress in real time, and then step S1002 is executed; if the network performance detection progress does not need to be displayed in real time, step S1002 is executed directly.

[0074] In step S1002 of some embodiments, the packet-sending object is used to perform packet-sending and receiving operations of probe messages during the process of sending probe messages to the monitoring center or low-altitude aircraft via the target communication protocol. For example, the packet-sending object can be a packet capture analysis library. Based on this, the packet-sending object, detector, and analyzer can be initialized according to the probe configuration data. Specifically, firstly, the packet capture analysis library is called according to the network interface type, source IP address, target IP address, and test data volume; then, the detector and analyzer to be called are determined according to the probe messages to be transmitted. Each detector and analyzer has data storage space and a bound CPU (Central Processing Unit).

[0075] In step S1003 of some embodiments, after the packet sending / receiving object, detector, and analyzer are initialized, detection resources and statistics resources can be invoked. Specifically, the detector and analyzer apply for the data storage space required for packet detection and statistics, and bind the detection process, statistics process, and CPU required during the packet detection process to avoid different processes competing for the CPU during data transmission, thereby improving the efficiency of packet detection.

[0076] In step S1004 of some embodiments, packet detection can be performed based on detection resources and statistical resources. Specifically, a data sender and a data receiver are first selected from the monitoring center and the low-altitude aircraft. Then, the packet capture process of the packet capture analysis library is started at the data sender and the data receiver, followed by the packet detection process. At the data sender, the packet capture analysis library is controlled to start packet transmission processing according to the packet capture command, and the detectors at the data sender and the data receiver detect the detection packets in the communication network. When the detector at the data sender or the data receiver detects a detection packet, the packet capture analysis library at the data sender or the data receiver performs packet reception processing, and the analyzer analyzes the detection packet.

[0077] In the embodiments of this application, steps S1001 to S1004 involve initializing the detection configuration data according to the target configuration file, initializing the packet sending and receiving objects, detectors, and analyzers according to the detection configuration data, and finally calling the detection resources and statistics resources after initialization, and performing message detection. This completes the preparation work before sending detection messages to the monitoring center or low-altitude aircraft, ensuring that the monitoring center and low-altitude aircraft can send and receive detection messages.

[0078] Please see Figure 11 In some embodiments, after step S203, the network performance detection method shown in this application embodiment further includes steps S1101 to S1103: Step S1101: After the monitoring center or low-altitude aircraft receives all the detection messages, release the detection resources. Step S1102: Count the total number of probe messages and the message sending timestamp and message receiving timestamp corresponding to each probe message; Step S1103: Release the occupied statistical resources.

[0079] In some embodiments, after step S1101, it is also necessary to obtain the log printing status, which describes whether the log printing function is enabled or disabled. If the log printing status indicates that the log printing function is enabled, log printing is turned off to stop the real-time display of network performance detection progress, and then step S1102 is executed; if the log printing status indicates that the log printing function is disabled, step S1102 is executed directly.

[0080] In the embodiments of this application, steps S1101 to S1103 involve first receiving all detection messages at the monitoring center or low-altitude aircraft, then releasing detection resources, and then counting the number of all detection messages and the message sending timestamp and message receiving time point corresponding to each detection message. After completing the counting, the occupied statistical resources are released. This timely release of detection and statistical resources improves the response speed and efficiency of the entire system. Furthermore, by counting the number of all detection messages and the message sending timestamp and message receiving time point corresponding to each detection message, the number of detection messages, as well as the message sending timestamp and message receiving time point of each detection message, can be quickly determined during the subsequent calculation of data transmission delay, thus improving the efficiency of determining data transmission delay.

[0081] Please see Figure 12 This application also provides a network performance testing system that can implement the above-described network performance testing method. The system includes: The protocol acquisition module 1201 is used to acquire the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, and obtain the target communication protocol. The message generation module 1202 is used to generate a probe message according to the target communication protocol and record the message sending timestamp in the probe message; The data transmission module 1203 is used to send detection messages to the monitoring center or low-altitude aircraft through the target communication protocol; wherein the monitoring center or low-altitude aircraft receives the detection messages and records the message reception time. The delay calculation module 1204 is used to determine the data transmission delay based on the message sending timestamp and message receiving time.

[0082] The specific implementation of this network performance testing system is basically the same as the specific implementation of the network performance testing method described above, and will not be repeated here.

[0083] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned network performance detection method. This electronic device can be a monitoring center, or any intelligent terminal such as a host computer for a test ground station, a low-altitude aircraft, a tablet computer, or a vehicle-mounted computer.

[0084] Please see Figure 13 , Figure 13 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 1301 can be implemented using a general-purpose CPU, microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 1302 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1302 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1302 and is called and executed by the processor 1301 using the network performance detection method of the embodiments of this application. The input / output interface 1303 is used to implement information input and output; The communication interface 1304 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 1305 transmits information between various components of the device (e.g., processor 1301, memory 1302, input / output interface 1303, and communication interface 1304); The processor 1301, memory 1302, input / output interface 1303 and communication interface 1304 are connected to each other within the device via bus 1305.

[0085] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described network performance detection method.

[0086] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0087] The network performance testing method, system, electronic device, and storage medium provided in this application embodiment obtain the target communication protocol by acquiring the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission. Then, a probe message is generated based on the target communication protocol, and a message transmission timestamp is recorded in the probe message. The probe message is then sent to the monitoring center or the low-altitude aircraft via the target communication protocol. Next, the monitoring center or the low-altitude aircraft receives the probe message and records the message reception time. Finally, the data transmission delay is determined based on the message transmission timestamp and the message reception time. Therefore, the network performance testing method, system, electronic device, and storage medium proposed in this application embodiment can set the network communication protocol used by the monitoring center and the low-altitude aircraft in actual data transmission tasks as the target communication protocol for network performance testing. This allows for network performance testing based on the actual network communication protocol used for data transmission between the monitoring center and the low-altitude aircraft, reducing the deviation between network performance testing data and actual network performance data, thereby improving the accuracy of network performance testing.

[0088] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0089] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0090] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0091] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0092] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0093] It should be understood that in this application, "at least one" means one or more, and "more" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

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

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

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

[0097] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0098] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A network performance detection method, characterized in that: The method is applied to a monitoring center or a low-altitude aircraft, and the method comprises: Acquire the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, and obtain the target communication protocol; Generate a detection message according to the target communication protocol, and record a message sending timestamp in the detection message; Sending the detection message to the monitoring center or the low-altitude aircraft through the target communication protocol; wherein the monitoring center or the low-altitude aircraft receives the detection message and records the message receiving time point; The data transmission delay is determined according to the message sending timestamp and the message receiving time point.

2. The method according to claim 1, characterized in that The obtaining of the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission to obtain the target communication protocol includes: Determine the data type transmitted between the monitoring center and the low-altitude aircraft to obtain a target data type; The target communication protocol is determined according to the target data type.

3. The method according to claim 2, characterized in that The step of determining the target communication protocol according to the target data type includes: extracting candidate data types from the candidate profiles; Retrieving a matching data type from the candidate data types according to the target data type; wherein the matching data type is the same as the target data type; Selecting a target configuration file from the candidate configuration files according to the matching data type; The network communication protocol in the target configuration file is selected as the target communication protocol.

4. The method according to claim 2, characterized in that: The step of determining the data type transmitted between the monitoring center and the low-altitude aircraft to obtain the target data type includes: Acquire the data transmission task of the monitoring center or the low-altitude aircraft; Determining target data transmitted between the monitoring center and the low-altitude aircraft according to the data transmission task; The target data type is determined according to the target data.

5. The method according to claim 1, characterized in that The monitoring center and the low-altitude aircraft respectively have local clocks. Before generating the detection message and recording the message sending timestamp, the method further includes: The monitoring center or the low-altitude aircraft sends a clock synchronization request to a clock source; The monitoring center and the low-altitude aircraft respectively receive the configuration time point sent by the clock source according to the clock synchronization request; generating a synchronization enable signal according to the configuration time point and the current time point of the local clock; A timer of the local clock is adjusted according to the synchronization enable signal to synchronize the local clock with the clock source.

6. The method according to claim 3, characterized in that The step of generating a detection message according to the target communication protocol and recording a message sending timestamp in the detection message comprises: Generate test data according to the test data amount in the target configuration file and the target data type; determining a data transmission amount according to the target communication protocol; Splitting the test data according to the data transmission volume to obtain at least two detection messages; The message sending timestamp is recorded in each of the detection messages according to the sending order of the detection messages.

7. The method according to claim 6, characterized in that The determining the data transmission delay according to the message sending timestamp and the message receiving time point includes: Obtaining a message delay according to a difference between the message sending timestamp and the message receiving time point of each of the detection messages; Obtaining a total test delay by summing the message delays of all the detection messages; The data transmission delay is obtained by dividing the total test delay by the total number of detection messages.

8. A network performance detection system, characterized in that: The system comprises: A protocol acquisition module is used to acquire the network communication protocol used by the monitoring center and the low-altitude aircraft for data transmission, and obtain the target communication protocol; A message generation module, used to generate a detection message according to the target communication protocol, and record a message sending timestamp in the detection message; A data transmission module, used for sending the detection message to the monitoring center or the low-altitude aircraft through the target communication protocol; wherein the monitoring center or the low-altitude aircraft receives the detection message and records the message receiving time point; The delay calculation module is used to determine the data transmission delay according to the message sending timestamp and the message receiving time point.

9. An electronic device, characterized in that The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the network performance detection method according to any one of claims 1 to 7 when executing the computer program.

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

Citation Information

Patent Citations

  • Communication method, device and system and computer readable storage medium

    CN111601285A

  • Network detection method and device, and storage medium

    CN115811484A

  • Method for determining network delay and related device

    CN116599871A