Network testing method and device, electronic equipment and storage medium
By adopting a U-shaped route planning method in low-altitude networks and using drones to collect network quality information, the problems of low accuracy and high cost of low-altitude network testing in existing technologies have been solved, efficient network testing and electromagnetic propagation model analysis have been achieved, supporting low-altitude network optimization and economic development.
Patent Information
- Application Number
- CN202510873263.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-26
- Publication Date
- 2025-09-09
AI Technical Summary
Existing ground network testing methods cannot be directly applied to low-altitude networks, resulting in low prediction accuracy of electromagnetic propagation models of low-altitude networks and high testing costs, which makes it difficult to meet the development needs of the low-altitude economy.
Using a U-shaped route planning method, the drone flies in a low-altitude environment to collect network quality information in the target base station coverage area, avoiding blind spots in network quality information collection and improving test accuracy and efficiency.
It improves the accuracy and efficiency of low-altitude network testing, reduces testing costs, provides strong support for low-altitude network planning and optimization, and promotes the development of the low-altitude economy.
Smart Images

Figure CN120614622A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a network testing method, device, electronic device, and storage medium. Background Art
[0002] At present, the low-altitude economy is regarded as a new engine for future economic growth, and the optimization of low-altitude network planning is a key link in the development of the low-altitude economy.
[0003] Since the terminal heights of low-altitude networks and ground networks are different, the test methods applicable to current ground networks are not applicable to low-altitude networks. Summary of the Invention
[0004] The present application provides a network testing method, device, electronic device and storage medium, which can be applied to low-altitude network testing scenarios and improve test accuracy.
[0005] To achieve the above objectives, this application adopts the following technical solutions:
[0006] In the first aspect, the present application provides a network testing method, which includes: determining the environmental type of the target base station coverage area; planning the flight route of a drone at each test height based on multiple test heights corresponding to the environmental type of the target base station coverage area, the flight route including at least one U-shaped route; controlling the drone to fly according to the flight route to collect network quality information of the target base station coverage area.
[0007] In combination with the first aspect above, in a possible implementation method, the flight route includes N U-shaped routes; based on multiple measured altitudes corresponding to the environmental type of the target base station coverage area, the flight route of the UAV at each measured altitude is planned, including: for each measured altitude, determining the starting position at each measured altitude, the starting position is located in a first preset direction of the target base station, and the distance between the starting position and the target base station is a first distance; based on the starting position at the measured altitude, determining the first U-shaped route at the measured altitude; based on the vertex of the i-1th U-shaped route at the measured altitude, determining the i-th U-shaped route at the measured altitude; wherein N is a positive integer; i is greater than or equal to 2, and i is less than or equal to N, and i is a positive integer.
[0008] In combination with the first aspect above, in a possible implementation method, based on the starting position at the height to be measured, determining the first U-shaped route at the height to be measured, including: based on the starting position at the height to be measured, determining the first coordinate point of the first U-shaped route, the first coordinate point is located at the second preset direction of the starting position at the height to be measured, and the distance between the first coordinate point and the starting position is the first distance; based on the first coordinate point of the first U-shaped route, determining the second coordinate point of the first U-shaped route, the second coordinate point is located at the third preset direction of the first coordinate point, and the distance between the second coordinate point and the first coordinate point is the second distance; based on the first coordinate point of the first U-shaped route, determining the second coordinate point of the first U-shaped route, the second coordinate point is located at the third preset direction of the first coordinate point, and the distance between the second coordinate point and the first coordinate point is the second distance. Two coordinate points, determine the third coordinate point of the first U-shaped route, the third coordinate point is located in the fourth preset direction of the second coordinate point, and the distance between the third coordinate point and the second coordinate point is the second distance; based on the third coordinate point of the first U-shaped route, determine the fourth coordinate point of the first U-shaped route, the fourth coordinate point is located in the first preset direction of the third coordinate point, and the distance between the fourth coordinate point and the third coordinate point is the second distance; with the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point of the first U-shaped route as the vertices of the U-shaped route, forming the first U-shaped route; wherein, the ratio of the second distance to the first distance is a first preset multiple.
[0009] In combination with the above-mentioned first aspect, in a possible implementation method, based on the vertex of the i-1th U-shaped route at the height to be measured, the i-th U-shaped route at the height to be measured is determined, including: based on the environment type and the height to be measured, determining the corresponding route spacing, the route spacing is used to indicate the spacing between two U-shaped test routes at the same height to be measured; obtaining the first coordinate point and the fourth coordinate point of the i-1th U-shaped route; based on the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, determining the starting point of the i-th U-shaped route, the starting point is located in a first preset direction of the midpoint between the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, and the distance between the starting point and the midpoint is the route spacing; based on the starting point of the i-th U-shaped route, determining the first coordinate point of the i-th U-shaped route, the first coordinate point is located in a second preset direction of the starting point, and the distance between the starting point and the midpoint is the route spacing; based on the starting point of the i-th U-shaped route, determining the first coordinate point of the i-th U-shaped route, the first coordinate point is located in a second preset direction of the starting point, and the distance between the starting point and the third distance; based on the i-th U-shaped route The first coordinate point of the line is used to determine the second coordinate point of the i-th U-shaped route, the second coordinate point is located in the third preset direction of the first coordinate point, and the distance between the second coordinate point and the first coordinate point is the fourth distance; based on the second coordinate point of the i-th U-shaped route, the third coordinate point of the i-th U-shaped route is determined, the third coordinate point is located in the fourth preset direction of the second coordinate point, and the distance between the third coordinate point and the second coordinate point is the fourth distance; based on the third coordinate point of the i-th U-shaped route, the fourth coordinate point of the i-th U-shaped route is determined, the fourth coordinate point is located in the first preset direction of the third coordinate point, and the distance between the fourth coordinate point and the third coordinate point is the fourth distance; with the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point of the i-th U-shaped route as the vertices of the U-shaped route, the i-th U-shaped route is constituted; wherein, the ratio between the third distance and the route spacing is the second preset multiple, and the ratio between the fourth distance and the route spacing is the third preset multiple.
[0010] In combination with the above-mentioned first aspect, in a possible implementation method, the process of determining the number of U-shaped routes includes: determining a fifth distance corresponding to the environment type and multiple measured heights, the fifth distance being used to indicate the farthest coverage distance of the signal of the target base station at the measured height; determining the difference between the fifth distance and the first distance, and taking the ratio between the difference and the route spacing as the number of U-shaped routes at the measured height.
[0011] In combination with the above-mentioned first aspect, in a possible implementation method, the network quality information includes a reference signal receiving power, and the method further includes: when the reference signal receiving power is less than or equal to the power threshold, controlling the UAV to terminate the flight at the measured altitude.
[0012] In the second aspect, the present application provides a network testing device, which includes: a determination unit for determining the environmental type of the target base station coverage area; a planning unit for planning the flight route of the drone at each test height based on multiple test heights corresponding to the environmental type of the target base station coverage area, the flight route including at least one U-shaped route; a control unit for controlling the drone to fly according to the flight route to collect network quality information of the target base station coverage area.
[0013] In combination with the above-mentioned second aspect, in a possible implementation method, the flight route includes N U-shaped routes; the planning unit is used to: for each altitude to be measured, determine the starting position at each altitude to be measured, the starting position is located in a first preset direction of the target base station, and the distance between the starting position and the target base station is a first distance; based on the starting position at the altitude to be measured, determine the first U-shaped route at the altitude to be measured; based on the vertex of the i-1th U-shaped route at the altitude to be measured, determine the i-th U-shaped route at the altitude to be measured; wherein N is a positive integer; i is greater than or equal to 2, and i is less than or equal to N, and i is a positive integer.
[0014] In combination with the above-mentioned second aspect, in a possible implementation method, the planning unit is used to: determine the first coordinate point of the first U-shaped route based on the starting position at the height to be measured, the first coordinate point is located in the second preset direction of the starting position at the height to be measured, and the distance between the first coordinate point and the starting position is the first distance; determine the second coordinate point of the first U-shaped route based on the first coordinate point of the first U-shaped route, the second coordinate point is located in the third preset direction of the first coordinate point, and the distance between the first coordinate point and the first coordinate point is the second distance; determine the third coordinate point of the first U-shaped route based on the second coordinate point of the first U-shaped route, the third coordinate point is located in the fourth preset direction of the second coordinate point, and the distance between the second coordinate point and the second distance; determine the fourth coordinate point of the first U-shaped route based on the third coordinate point of the first U-shaped route, the fourth coordinate point is located in the first preset direction of the third coordinate point, and the distance between the fourth coordinate point and the third coordinate point is the second distance; with the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point of the first U-shaped route as the vertices of the U-shaped route, the first U-shaped route is constituted; wherein, the ratio of the second distance to the first distance is a first preset multiple.
[0015] In combination with the above-mentioned second aspect, in a possible implementation method, the planning unit is used to: determine the corresponding route spacing based on the environment type and the height to be measured, the route spacing is used to indicate the spacing between two U-shaped test routes at the same height to be measured; obtain the first coordinate point and the fourth coordinate point of the i-1th U-shaped route; determine the starting point of the i-th U-shaped route based on the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, the starting point is located in the first preset direction of the midpoint between the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, and the distance between the starting point and the midpoint is the route spacing; determine the first coordinate point of the i-th U-shaped route based on the starting point of the i-th U-shaped route, the first coordinate point is located in the second preset direction of the starting point, and the distance between the starting point and the third distance is; determine the first coordinate point of the i-th U-shaped route based on the first coordinate point of the i-th U-shaped route The second coordinate point of the line, the second coordinate point is located in the third preset direction of the first coordinate point, and the distance between the second coordinate point and the first coordinate point is the fourth distance; based on the second coordinate point of the i-th U-shaped route, the third coordinate point of the i-th U-shaped route is determined, the third coordinate point is located in the fourth preset direction of the second coordinate point, and the distance between the third coordinate point and the second coordinate point is the fourth distance; based on the third coordinate point of the i-th U-shaped route, the fourth coordinate point of the i-th U-shaped route is determined, the fourth coordinate point is located in the first preset direction of the third coordinate point, and the distance between the fourth coordinate point and the third coordinate point is the fourth distance; with the first coordinate point, second coordinate point, third coordinate point and fourth coordinate point of the i-th U-shaped route as the vertices of the U-shaped route, the i-th U-shaped route is constituted; wherein, the ratio between the third distance and the route spacing is the second preset multiple, and the ratio between the fourth distance and the route spacing is the third preset multiple.
[0016] In combination with the above-mentioned second aspect, in a possible implementation method, the process of determining the number of U-shaped routes includes: determining a fifth distance corresponding to the environment type and multiple heights to be measured, the fifth distance being used to indicate the farthest coverage distance of the signal of the target base station at the height to be measured; determining the difference between the fifth distance and the first distance, and taking the ratio between the difference and the route spacing as the number of U-shaped routes at the height to be measured.
[0017] In combination with the above-mentioned second aspect, in one possible implementation method, the network quality information includes a reference signal receiving power, and the device also includes: a stop unit, which is used to control the UAV to terminate the flight at the measured height when the reference signal receiving power is less than or equal to the power threshold.
[0018] In a third aspect, the present application provides an electronic device comprising: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the network testing method described in the first aspect and any possible implementation of the first aspect.
[0019] In a fourth aspect, the present application provides a computer-readable storage medium storing instructions, which, when executed on a computer, enables the computer to execute the network testing method described in the first aspect and any possible implementation of the first aspect.
[0020] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the network testing method as described in the first aspect and any possible implementation of the first aspect.
[0021] In a sixth aspect, the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the network testing method described in the first aspect and any possible implementation of the first aspect.
[0022] Specifically, the chip provided in this application also includes a memory for storing computer programs or instructions.
[0023] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the device or separately from the processor of the device, and this application does not limit this.
[0024] In a seventh aspect, the present application provides a network testing system, comprising: an electronic device and a drone, wherein the electronic device is used to execute the network testing method as described in the first aspect and any possible implementation of the first aspect.
[0025] The descriptions of the second to seventh aspects of this application can refer to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second to seventh aspects can refer to the analysis of the beneficial effects of the first aspect, which will not be repeated here.
[0026] In this application, the names of the network testing devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they are within the scope of the claims of this application and their equivalents.
[0027] These and other aspects of the present application will become more readily apparent from the following description.
[0028] The above scheme brings at least the following beneficial effects: Based on the above technical scheme, the network testing method provided by this application can carry out network testing in low-altitude networks, proposes a new U-shaped route, avoids blind spots in network quality information collection, improves the accuracy of network testing, and can collect network quality information in base station coverage areas faster and more effectively, reduce testing costs, and facilitate better analysis of electromagnetic propagation models based on the network quality information obtained from the test, providing strong support for low-altitude network planning and optimization, and thereby promoting the vigorous development of the low-altitude economy. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the architecture of a network testing system provided in an embodiment of the present application;
[0030] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0031] Figure 3 A flowchart of a network testing method provided in an embodiment of the present application;
[0032] Figure 4 A schematic diagram of a first U-shaped route provided in an embodiment of the present application;
[0033] Figure 5 A schematic diagram of multiple U-shaped routes provided in an embodiment of the present application;
[0034] Figure 6 A flowchart of another network testing method provided in an embodiment of the present application;
[0035] Figure 7 A schematic diagram of the structure of a network testing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0037] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0038] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0039] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0040] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0041] In the description of the present application, unless otherwise specified, “plurality” means two or more.
[0042] On March 27, 2024, the Ministry of Industry and Information Technology, along with four other government departments, issued the "Implementation Plan for the Innovation and Application of General Aviation Equipment (2024-2030)." This plan explicitly calls for "creating a new model for the development of the general aviation industry with Chinese characteristics, providing strong support for fostering new growth poles in the low-altitude economy." In the current economic landscape, the low-altitude economy is already seen as a new engine for future economic growth. As a key component of low-altitude network planning and optimization, its importance is self-evident.
[0043] Low-altitude network planning and optimization face distinct challenges from conventional terrestrial mobile communications, primarily due to the issue of terminal height. In low-altitude environments, the significant difference between terminal height and ground level makes conventional network testing methods difficult to directly apply. Currently, virtually all electromagnetic propagation models on the market either have a terminal height range that does not match the low-altitude environment or are unsuitable for communication scenarios in low-altitude networks. Therefore, to ensure the accuracy of electromagnetic propagation model predictions, large-scale propagation model calibration training and testing are required to obtain high-quality training sample data. However, low-altitude network testing is characterized by high cost and wide coverage, further increasing the difficulty and complexity of testing.
[0044] Currently, low-altitude network testing often uses a "bow" testing method. This method primarily provides comprehensive evaluation of a single area, but electromagnetic propagation model testing requires full spatial coverage testing of a single station. Continuing to use this "bow" testing method requires not only determining the coverage range, but also the often uneven distribution of measurement points, which can negatively impact the accuracy of model training. Therefore, it is imperative to introduce a test route planning method that better aligns with the characteristics of the electromagnetic propagation model.
[0045] Current testing methods for terrestrial mobile communication networks typically involve traversal testing along roads, gradually completing the test task from near to far. However, unlike terrestrial testing, aerial testing is not restricted by roads. Therefore, it is necessary to combine relevant theories and methods of electromagnetic propagation models to propose a new route planning method suitable for aerial testing.
[0046] The network testing method provided in this application can carry out network testing in low-altitude networks, proposes a new U-shaped route, avoids blind spots in the collection of network quality information, improves the accuracy of network testing, and can collect network quality information in base station coverage areas faster and more effectively, reducing testing costs, so as to better analyze the electromagnetic propagation model based on the network quality information obtained from the test, provide strong support for the optimization of low-altitude network planning, and thus promote the vigorous development of the low-altitude economy.
[0047] The following will describe in detail the implementation of the embodiment of the present application in conjunction with the accompanying drawings.
[0048] Figure 1 This is a schematic diagram of the architecture of a network testing system provided in an embodiment of the present application. Figure 1 As shown, the architecture includes: an electronic device 101 and a drone 102.
[0049] The electronic device 101 may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal, a computer, an independent physical server, a server cluster consisting of multiple physical servers, or at least one of a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data or artificial intelligence platforms. The embodiments of the present application are not limited to this. Of course, the electronic device 101 can also include other functions to provide more comprehensive and diverse services.
[0050] In some embodiments, the electronic device 101 has a processing function. For example, the electronic device 101 can determine the environment type of the target base station coverage area and plan the flight path of the drone 102 at each of the multiple measured altitudes corresponding to the environment type of the target base station coverage area.
[0051] The flight route includes at least one U-shaped route.
[0052] In other embodiments, the electronic device 101 has a communication function. For example, the electronic device 101 can control the drone 102 to fly along the flight path at each measured altitude through communication with the drone 102 to collect network quality information of the target base station coverage area.
[0053] The electronic device 101 may be one or more, and this embodiment of the present application does not limit this. Figure 1 Only one is shown.
[0054] In some embodiments, the drone 102 has a communication function, for example, communication between the drone 102 and the electronic device 101.
[0055] In other embodiments, the drone 102 is equipped with multiple types of sensors. For example, the drone 102 can collect network quality information of the target base station coverage area through sensors.
[0056] The number of drones 102 may be one or more. For ease of understanding, Figure 1 Only one is shown.
[0057] The electronic device 101 and the drone 102 are connected via a communication link. The communication link can be a wired communication link or a wireless communication link, which is not limited in the present embodiment.
[0058] When implemented by hardware, the electronic device may be provided as follows Figure 2 The hardware structure shown, specifically, Figure 2 This is a hardware structure diagram of an electronic device provided in an embodiment of the present application. Figure 2 As shown, the electronic device includes at least one processor 201, a communication line 202, and at least one communication interface 204, and may further include a memory 203. The processor 201, the memory 203 and the communication interface 204 may be connected via the communication line 202.
[0059] The processor 201 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs).
[0060] The communication line 202 is used to transmit information between the above components.
[0061] The communication interface 204 is used to communicate with other devices or communication networks and can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.
[0062] The memory 203 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0063] In one possible design, the memory 203 can exist independently of the processor 201, that is, the memory 203 can be a memory external to the processor 201. In this case, the memory 203 can be connected to the processor 201 via the communication line 202, and is used to store execution instructions or application code, and the execution is controlled by the processor 201 to implement the network testing method provided in the following embodiments of this application. In another possible design, the memory 203 can also be integrated with the processor 201, that is, the memory 203 can be the internal memory of the processor 201. For example, the memory 203 is a high-speed cache that can be used to temporarily store some data and instruction information.
[0064] As a possible implementation, the processor 201 may include one or more CPUs, such as Figure 2 As another possible implementation, the electronic device may include multiple processors, such as Figure 2 As another possible implementation, the electronic device may further include an output device 205 and an input device 206.
[0065] It should be pointed out that the various embodiments of the present application can refer to each other, for example, the same or similar steps, method embodiments, system embodiments and device embodiments can refer to each other without limitation.
[0066] Figure 3 This is a flowchart of a network testing method provided in an embodiment of the present application. The method can be applied to Figure 2 In the electronic device shown. Figure 3 As shown, the method can be implemented through S301 to S303.
[0067] S301: The electronic device determines the environment type of the target base station coverage area.
[0068] The target base station is the base station whose network quality information is to be collected.
[0069] For example, the environment types of the target base station coverage area include urban areas and rural areas.
[0070] In a possible implementation, the electronic device determines the environment type by acquiring environment information of an area covered by a target base station.
[0071] Among them, environmental information includes the number of buildings, number of building floors, terrain, vegetation density, etc. in the target base station coverage area.
[0072] For example, when the environmental information shows that the number of buildings is greater than the building number threshold, the number of building floors is greater than the floor number threshold, the terrain is flat, and the vegetation density is less than or equal to the density threshold, the environment type is confirmed to be an urban area.
[0073] For another example, when the environmental information shows that the number of buildings is less than or equal to the building number threshold, the number of building floors is less than or equal to the floor number threshold, the terrain is hilly or low mountain, and the vegetation density is greater than the density threshold, then the environment type is confirmed to be rural.
[0074] For example, through on-site visits and surveys conducted by staff, environmental information about the target base station coverage area can be obtained. In addition, basic information about the target base station can also be obtained, such as the target base station's identity document (ID), the target base station's name, the target base station's longitude, the target base station's latitude, the elevation range, and the station height. The elevation range is the altitude of the target base station, and the station height is the height of the target base station.
[0075] Illustratively, Table 1 is a table of basic information of the target base station.
[0076] Table 1
[0077]
[0078] Illustratively, Table 2 is a table of environment types of target base stations.
[0079] Table 2
[0080]
[0081] It should be noted that in a low-altitude network, since the target base station is less affected by ground buildings, the embodiment of the present application takes the environment types including urban and rural areas as an example for description. The environment type may also include mountainous areas, etc.
[0082] S302: The electronic device plans a flight route of the UAV at each of the heights to be measured based on the multiple heights to be measured corresponding to the environment type of the target base station coverage area.
[0083] The flight route includes at least one U-shaped route.
[0084] For example, the multiple heights to be measured may be set at intervals of 100 m, that is, the heights to be measured may be 100 m, 200 m, 300 m, 400 m, 500 m, 600 m, or higher.
[0085] In one possible implementation, the electronic device calculates multiple coordinate points of the flight path of the drone at each altitude to be measured according to the environment type, wherein the multiple coordinate points form a U-shaped path.
[0086] It should be noted that each height to be measured includes at least one U-shaped route.
[0087] S303: The electronic device controls the drone to fly along the flight route to collect network quality information of the target base station coverage area.
[0088] For example, network quality information includes test point ID, test point longitude, test point latitude, base station ID connected to the test point, reference signal receiving power (RSRP), signal to interference plus noise ratio (SINR), etc. The test point is a point on the zigzag route.
[0089] For example, Table 3 is a table of network quality information.
[0090] Table 3
[0091]
[0092] The network testing method provided in this application can carry out network testing in low-altitude networks, proposes a new U-shaped route, avoids blind spots in the collection of network quality information, improves the accuracy of network testing, and improves test results. It can collect network quality information in the base station coverage area faster and more effectively, reduce testing costs, and facilitate better analysis of electromagnetic propagation models based on the network quality information obtained from the test, solving the problems of low accuracy and low convenience of current low-altitude electromagnetic propagation models, providing strong support for low-altitude network planning and optimization, and thus promoting the vigorous development of the low-altitude economy.
[0093] In addition, when the flight path includes N U-shaped paths, the above Figure 3 The process of planning the flight route of the UAV in S302 is described below. The above S302 can also be implemented by following steps 11 to 13.
[0094] Step 11: For each height to be measured, determine the starting position at each height to be measured.
[0095] The starting position is located in a first preset direction of the target base station, and the distance between the starting position and the target base station is a first distance.
[0096] For example, the first preset direction may be a magnetic north angle of 0°, that is, the first preset direction may be due north, that is, the starting position and the target base station are at the same longitude, and the starting position is north of the target base station.
[0097] For example, the first distance may be 200 m.
[0098] Step 12: Based on the starting position at the height to be measured, determine the first U-shaped route at the height to be measured.
[0099] Among them, the first U-shaped route is the U-shaped route closest to the target base station.
[0100] In a possible implementation, in the above step 12, the process of determining the first U-shaped route at the height to be measured can be implemented through the following steps 121 to 125.
[0101] Step 121: Based on the starting position at the height to be measured, determine a first coordinate point of the first U-shaped route, where the first coordinate point is located in a second preset direction of the starting position at the height to be measured, and the distance between the first coordinate point and the starting position is a first distance.
[0102] For example, the second preset direction may be due east, that is, the first coordinate point and the starting position are at the same latitude, and the first coordinate point is east of the starting position.
[0103] Step 122: Based on the first coordinate point of the first U-shaped route, determine a second coordinate point of the first U-shaped route, where the second coordinate point is located in a third preset direction of the first coordinate point and the distance between the second coordinate point and the first coordinate point is a second distance.
[0104] The ratio of the second distance to the first distance is a first preset multiple.
[0105] For example, the first preset multiple can be an integer or a fraction. This embodiment of the present application is not limited to this. For example, the ratio of the second distance to the second distance can be 2, that is, the second distance is 400m.
[0106] For example, the third preset direction may be due south, that is, the second coordinate point and the first coordinate point are at the same longitude, and the second coordinate point is south of the first coordinate point.
[0107] Step 123: Based on the second coordinate point of the first U-shaped route, determine a third coordinate point of the first U-shaped route, where the third coordinate point is located in a fourth preset direction of the second coordinate point and the distance between the third coordinate point and the second coordinate point is a second distance.
[0108] For example, the fourth preset direction may be due west, that is, the third coordinate point and the second coordinate point are at the same latitude, and the third coordinate point is west of the second coordinate point.
[0109] Step 124: Based on the third coordinate point of the first U-shaped route, determine a fourth coordinate point of the first U-shaped route, where the fourth coordinate point is located in a first preset direction of the third coordinate point and a second distance from the third coordinate point.
[0110] Step 125 : Using the first coordinate point, the second coordinate point, the third coordinate point, and the fourth coordinate point of the first U-shaped route as vertices of the U-shaped route to form the first U-shaped route.
[0111] For example, it is assumed that the first distance is 200 m and the second distance is 400 m. Figure 4 This is a schematic diagram of a first U-shaped route provided in an embodiment of the present application. Figure 4 As shown, O1 is the starting position, A1 is the first coordinate point of the first U-shaped route, B1 is the second coordinate point of the first U-shaped route, C1 is the third coordinate point of the first U-shaped route, and D1 is the fourth coordinate point of the first U-shaped route.
[0112] Assume that the latitude and longitude coordinates of the target base station are (x0, y0). Then the coordinates of O1 are (x0, y0+200); the coordinates of A1 are (x0+200, y0+200); the coordinates of B1 are (x0+200, y0-200); the coordinates of C1 are (x0-200, y0-200); and the coordinates of D1 are (x0-200, y0+200).
[0113] In this way, the method of determining the first U-shaped route and the calculation method of the coordinate points on the first U-shaped route can be clarified, thereby avoiding omissions during network testing and enabling uniform sampling at each height to be tested, thereby facilitating the subsequent calculation of the electromagnetic propagation model based on the collected network quality information.
[0114] Step 13: Based on the vertex of the (i-1) th U-shaped route at the height to be measured, determine the i th U-shaped route at the height to be measured.
[0115] Wherein, N is a positive integer; i is greater than or equal to 2, and i is less than or equal to N, and i is a positive integer.
[0116] The vertex of the (i-1) th U-shaped route can be understood as the first coordinate point, the second coordinate point, the third coordinate point or the fourth coordinate point of the (i-1) th U-shaped route.
[0117] In this way, by determining the starting position at each height to be tested, and then determining the first to Nth U-shaped routes at each height to be tested, the drone can collect data according to the determined U-shaped routes, thereby improving the effect of network testing.
[0118] In a possible implementation, in the above step 13, the process of determining the i-th U-shaped route at the height to be measured can be implemented through the following steps 131 to 138.
[0119] Step 131: Determine the corresponding route spacing based on the environment type and the height to be measured.
[0120] The route spacing is used to indicate the spacing between two U-shaped test routes at the same height to be tested.
[0121] For example, the electronic device stores a mapping table of environment type, height to be measured, and route distance, and determines the corresponding route distance by querying the table.
[0122] For example, Table 4 is a mapping table of environment type, height to be measured, and route spacing.
[0123] Table 4
[0124]
[0125]
[0126] Step 132: Obtain the first coordinate point and the fourth coordinate point of the (i-1)th U-shaped route.
[0127] Exemplarily, after determining each U-shaped route, the electronic device stores the vertex coordinates of each U-shaped route, and by querying the vertex of the (i-1)th U-shaped route, the first coordinate point and the fourth coordinate point of the (i-1)th U-shaped route can be obtained.
[0128] Step 133: Based on the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, determine the starting point of the i-th U-shaped route. The starting point is located in the first preset direction of the midpoint between the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, and the distance between the starting point and the midpoint is the route spacing.
[0129] Step 134: Based on the starting point of the i-th U-shaped route, determine a first coordinate point of the i-th U-shaped route, where the first coordinate point is located in a second preset direction from the starting point and a distance from the starting point is a third distance.
[0130] The ratio of the third distance to the route spacing is a second preset multiple.
[0131] For example, the second preset multiple can be an integer or a fraction. This embodiment of the present application is not limited to this. For example, the third distance can be the sum of n times the route spacing and the first distance. n is a positive integer.
[0132] Step 135: Based on the first coordinate point of the i-th U-shaped route, determine the second coordinate point of the i-th U-shaped route, where the second coordinate point is located in a third preset direction of the first coordinate point and the distance between the second coordinate point and the first coordinate point is a fourth distance.
[0133] The ratio of the fourth distance to the route spacing is a third preset multiple.
[0134] For example, the third preset multiple can be an integer or a fraction. This embodiment of the present application is not limited to this. For example, the fourth distance can be the sum of n+1 times the route spacing and the first distance. n is a positive integer.
[0135] Step 136: Based on the second coordinate point of the i-th U-shaped route, determine a third coordinate point of the i-th U-shaped route, where the third coordinate point is located in a fourth preset direction from the second coordinate point and a fourth distance from the second coordinate point.
[0136] Step 137: Based on the third coordinate point of the i-th U-shaped route, determine a fourth coordinate point of the i-th U-shaped route, where the fourth coordinate point is located in a first preset direction of the third coordinate point and a distance from the third coordinate point is a fourth distance.
[0137] Step 138: The first coordinate point, the second coordinate point, the third coordinate point, and the fourth coordinate point of the i-th U-shaped route are used as vertices of the U-shaped route to form the i-th U-shaped route.
[0138] It should be noted that the first preset direction of the i-th U-shaped route is the same as the first preset direction of the first U-shaped route; the second preset direction of the i-th U-shaped route is the same as the second preset direction of the first U-shaped route; the third preset direction of the i-th U-shaped route is the same as the third preset direction of the first U-shaped route; the fourth preset direction of the i-th U-shaped route is the same as the fourth preset direction of the first U-shaped route.
[0139] In this way, by determining the coordinate points of the i-th U-shaped route, network testing and planning for the entire area can be achieved.
[0140] For example, the flight path at each altitude to be measured includes N U-shaped paths. The flight path at each altitude to be measured includes the first U-shaped path, the second U-shaped path, ..., the i-th U-shaped path, ..., and the N-th U-shaped path. Where N is a positive integer; i is greater than or equal to 2, and i is a positive integer.
[0141] Figure 5 This is a schematic diagram of multiple U-shaped routes provided in an embodiment of the present application. Figure 5 As shown, O1 is the starting position, A1 is the first coordinate point of the first U-shaped route, B1 is the second coordinate point of the first U-shaped route, C1 is the third coordinate point of the first U-shaped route, D1 is the fourth coordinate point of the first U-shaped route, O2 is the starting point of the second U-shaped route, A2 is the first coordinate point of the second U-shaped route, B2 is the second coordinate point of the second U-shaped route, C2 is the third coordinate point of the second U-shaped route, and D2 is the fourth coordinate point of the second U-shaped route.
[0142] Assume that the latitude and longitude coordinates of the target base station are (x0, y0).
[0143] In the first U-shaped route, the coordinates of O1 are (x0, y0+200); the coordinates of A1 are (x0+200, y0+200); the coordinates of B1 are (x0+200, y0-200); the coordinates of C1 are (x0-200, y0-200); and the coordinates of D1 are (x0-200, y0+200).
[0144] In the second U-shaped route, the coordinates of O2 are (x0, y0+200+h); the coordinates of A2 are (x0+200+h, y0+200+h); the coordinates of B2 are (x0+200+h, y0-200-h); the coordinates of C2 are (x0-200-h, y0-200-h); and the coordinates of D2 are (x0-200-h, y0+200+h).
[0145] By analogy, in the i-th U-shaped route, the coordinates of Oi are (x0, y0+200+(i-1)×h); the coordinates of Ai are (x0+200+(i-1)×h, y0+200+(i-1)×h); the coordinates of Bi are (x0+200+(i-1)×h, y0-200-(i-1)×h); the coordinates of Ci are (x0-200-(i-1)×h, y0-200-(i-1)×h); and the coordinates of Di are (x0-200-(i-1)×h, y0+200+(i-1)×h).
[0146] Where h is the route spacing.
[0147] By combining the measured height of each coordinate point in the vertical direction, the three-dimensional coordinates of each coordinate point can be obtained.
[0148] In addition, the process of determining the number of the U-shaped routes can be implemented through the following steps 21 and 22.
[0149] Step 21: Determine a fifth distance corresponding to the environment type and a plurality of heights to be measured.
[0150] The fifth distance is used to indicate the farthest coverage distance of the signal of the target base station at the height to be measured.
[0151] Exemplarily, the electronic device stores a mapping table of the environment type, the height to be measured, the route distance, and the fifth distance, and determines the corresponding route distance by querying the table.
[0152] Illustratively, Table 5 is a mapping relationship table of environment type, height to be measured, route spacing, and the fifth distance.
[0153] Table 5
[0154] Environment Type Height to be measured / m Route spacing / m Fifth distance / m Remark urban area 100 300 4000 urban area 200 350 4500 urban area 300 400 5000 urban area 400 450 5500 urban area 500 500 6000 urban area 600 550 6500 rural 100 400 6000 rural 200 500 6500 rural 300 550 7000 rural 400 600 7500 rural 500 650 8000 rural 600 700 8500
[0155] It should be noted that the mapping relationship between the environment type, the height to be measured, the route spacing and the fifth distance can be determined by simulating data of different heights to be measured based on the data of existing network tests, while taking into account the requirements of the electromagnetic propagation model for network test data and the network test cost factors, and then determining different parameters.
[0156] Step 22: Determine the difference between the fifth distance and the first distance, and use the ratio of the difference to the route spacing as the number of U-shaped routes at the height to be measured.
[0157] In a possible implementation, the number of zigzag routes is determined based on the fifth distance, the first distance, the route spacing, and the following formula (1).
[0158]
[0159] In the formula, num represents the number of U-shaped routes; n represents the fifth distance; h represents the route spacing; m represents the first distance, and [] represents rounding up.
[0160] That is, the coordinate points of the num U-shaped routes obtained according to the above network testing method can be O1, A1, B1, C1, D1, O2, A2, B2, C2, D2...Onum, Anum, Bnum, Cnum, Dnum.
[0161] In this way, the number of U-shaped routes at each height to be tested can be clearly determined, and network testing can be performed within the farthest coverage distance of the target base station signal, avoiding testing in areas not covered by the target base station, avoiding resource waste, and improving network testing results.
[0162] In addition, in the case where the network quality information includes reference signal received power, the above method further includes the following step 31.
[0163] Step 31: When the reference signal received power is less than or equal to the power threshold, the UAV is controlled to terminate the flight at the measured altitude.
[0164] The reference signal received power may be obtained by collecting data from a drone at a certain test point, or the reference signal received power may be obtained by collecting data from a drone at multiple preset test points, and the average value of the reference signal received power may be obtained. This embodiment of the present application is not limited to this.
[0165] The power threshold is used to determine whether to terminate the flight of the drone at the measured altitude. For example, the power threshold may be 125dBm.
[0166] In a possible implementation, the reference signal received power is determined based on the following formula (2).
[0167]
[0168] Where r represents the reference signal received power, j represents the jth test point, and rsrp represents the reference signal received power at the jth test point. It should be noted that the reference signal received power represented by r is the average value of the reference signal received power.
[0169] As you can understand, during flight, the drone collects network quality information not only at the test points at the four vertices of the U-shaped route, but also at other test points along each U-shaped route. In this case, by analyzing and testing the real-time transmitted information, the average of the reference signal received power at the 1000 test points preceding the jth test point is taken as the reference signal received power.
[0170] Understandably, if the reference signal received power is less than or equal to the power threshold, it indicates that the network quality at that test point is already relatively poor. Further testing of a test point farther from the target base station also occurs under conditions of poor network quality, and the test results are no longer meaningful for reference. In other words, network testing is no longer necessary at that altitude. If the reference signal received power is not less than or equal to the power threshold, network quality information at the altitude to be tested is collected according to the planned flight route.
[0171] This can avoid meaningless network testing, waste of resources, and improve the usability of collected network quality information.
[0172] Figure 6 This is a flow chart of another network testing method provided in an embodiment of the present application. Figure 6 As shown, the method can be implemented through S601 to S608.
[0173] S601: Determine the environment type of the target base station coverage area.
[0174] S602: Determine a corresponding route spacing and a fifth distance based on the environment type and the height to be measured.
[0175] S603: For each height to be measured, determine a starting position at each height to be measured, where the starting position is located in a first preset direction of the target base station, and the distance between the starting position and the target base station is a first distance.
[0176] S604: Determine the difference between the fifth distance and the first distance, and use the ratio of the difference to the route spacing as the number of U-shaped routes at the height to be measured.
[0177] It should be noted that there is no strict order between the above-mentioned steps S603 and S604. Step S603 can be executed first and then step S604, or step S604 can be executed first and then step S603, or steps S603 and S604 can be executed at the same time. The embodiments of the present application do not make specific limitations on this.
[0178] S605: Plan a flight route for the UAV at each altitude to be measured, where the flight route includes at least one U-shaped route.
[0179] In which case, when the number of the U-shaped routes is 1, step S605 is to plan the first U-shaped route at each height to be measured.
[0180] When the number of the U-shaped routes is greater than or equal to 2, step S605 includes planning a first U-shaped route, a second U-shaped route, ..., and an N-th U-shaped route, where N is the number of the U-shaped routes.
[0181] S606: Control the UAV to fly along the flight route to collect network quality information of the target base station coverage area.
[0182] S607: Determine whether the reference signal received power is less than or equal to the power threshold. If so, execute S608.
[0183] S608: When the reference signal received power is less than or equal to the power threshold, control the UAV to terminate the flight at the altitude to be measured.
[0184] In the embodiment of the present application, the network testing device can be divided into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.
[0185] Figure 7 A structural schematic diagram of a network testing device 70 provided in an embodiment of the present application, wherein the network testing device 70 includes: a determination unit 701, used to determine the environmental type of the target base station coverage area; a planning unit 702, used to plan the flight route of the UAV at each measured height based on multiple measured heights corresponding to the environmental type of the target base station coverage area, the flight route including at least one U-shaped route; a control unit 703, used to control the UAV to fly according to the flight route to collect network quality information of the target base station coverage area.
[0186] In one possible implementation, the flight route includes N U-shaped routes; the planning unit 702 is used to: for each altitude to be measured, determine the starting position at each altitude to be measured, the starting position is located in a first preset direction of the target base station, and the distance between the starting position and the target base station is a first distance; based on the starting position at the altitude to be measured, determine the first U-shaped route at the altitude to be measured; based on the vertex of the i-1th U-shaped route at the altitude to be measured, determine the i-th U-shaped route at the altitude to be measured; wherein N is a positive integer; i is greater than or equal to 2, and i is less than or equal to N, and i is a positive integer.
[0187] In one possible implementation, the planning unit is used for 702: based on the starting position at the height to be measured, determining the first coordinate point of the first U-shaped route, the first coordinate point is located in the second preset direction of the starting position at the height to be measured, and the distance between the first coordinate point and the starting position is the first distance; based on the first coordinate point of the first U-shaped route, determining the second coordinate point of the first U-shaped route, the second coordinate point is located in the third preset direction of the first coordinate point, and the distance between the second coordinate point and the first coordinate point is the second distance; based on the second coordinate point of the first U-shaped route, determining the third coordinate point of the first U-shaped route, the third coordinate point is located in the fourth preset direction of the second coordinate point, and the distance between the second coordinate point and the second distance; based on the third coordinate point of the first U-shaped route, determining the fourth coordinate point of the first U-shaped route, the fourth coordinate point is located in the first preset direction of the third coordinate point, and the distance between the fourth coordinate point and the third coordinate point is the second distance; with the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point of the first U-shaped route as the vertices of the U-shaped route, forming the first U-shaped route; wherein, the ratio of the second distance to the first distance is a first preset multiple.
[0188] In one possible implementation, the planning unit 702 is used to: determine the corresponding route spacing based on the environment type and the height to be measured, where the route spacing is used to indicate the spacing between two U-shaped test routes at the same height to be measured; obtain the first coordinate point and the fourth coordinate point of the i-1th U-shaped route; determine the starting point of the i-1th U-shaped route based on the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, where the starting point is located in a first preset direction of the midpoint between the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, and the distance from the midpoint is the route spacing; determine the first coordinate point of the i-1th U-shaped route based on the starting point of the i-1th U-shaped route, where the first coordinate point is located in a second preset direction of the starting point, and the distance from the starting point is a third distance; determine the first coordinate point of the i-1th U-shaped route based on the first coordinate point of the i-1th U-shaped route Two coordinate points, the second coordinate point is located in the third preset direction of the first coordinate point, and the distance between the second coordinate point and the first coordinate point is the fourth distance; based on the second coordinate point of the i-th U-shaped route, the third coordinate point of the i-th U-shaped route is determined, the third coordinate point is located in the fourth preset direction of the second coordinate point, and the distance between the third coordinate point and the second coordinate point is the fourth distance; based on the third coordinate point of the i-th U-shaped route, the fourth coordinate point of the i-th U-shaped route is determined, the fourth coordinate point is located in the first preset direction of the third coordinate point, and the distance between the fourth coordinate point and the third coordinate point is the fourth distance; with the first coordinate point, second coordinate point, third coordinate point and fourth coordinate point of the i-th U-shaped route as the vertices of the U-shaped route, the i-th U-shaped route is constituted; wherein, the ratio between the third distance and the route spacing is the second preset multiple, and the ratio between the fourth distance and the route spacing is the third preset multiple.
[0189] In one possible implementation, the process of determining the number of U-shaped routes includes: determining a fifth distance corresponding to the environment type and multiple measured heights, the fifth distance being used to indicate the farthest coverage distance of the target base station signal at the measured height; determining the difference between the fifth distance and the first distance, and taking the ratio between the difference and the route spacing as the number of U-shaped routes at the measured height.
[0190] In one possible implementation, the network quality information includes a reference signal received power, and the device further includes: a stopping unit, configured to control the UAV to terminate flight at a measured altitude when the reference signal received power is less than or equal to a power threshold.
[0191] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0192] An embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is caused to execute the network testing method in the above method embodiment.
[0193] An embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the network testing method in the method flow shown in the above method embodiment.
[0194] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer-readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0195] Since the network testing device, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present application will not be repeated here.
[0196] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0197] The units described 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 to achieve the purpose of this embodiment according to actual needs.
[0198] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0199] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A network testing method, characterized in that: The method comprises: Determine the environment type of the target base station coverage area; Planning a flight path for the UAV at each of the measured heights based on a plurality of measured heights corresponding to the environment type of the target base station coverage area, wherein the flight path includes at least one U-shaped path; The UAV is controlled to fly along the flight route to collect network quality information of the target base station coverage area.
2. The method according to claim 1, characterized in that The flight route includes N zigzag routes; The step of planning a flight path of the UAV at each of the plurality of measured altitudes corresponding to the environment type of the target base station coverage area includes: For each of the heights to be measured, determining a starting position at each of the heights to be measured, where the starting position is located in a first preset direction of the target base station and a distance from the target base station is a first distance; Determining a first U-shaped route at the height to be measured based on the starting position at the height to be measured; Determine the i-th U-shaped route at the height to be measured based on the vertex of the i-1-th U-shaped route at the height to be measured; Wherein, N is a positive integer; i is greater than or equal to 2, and i is less than or equal to N, and i is a positive integer.
3. The method according to claim 2, characterized in that The determining, based on the starting position at the height to be measured, a first U-shaped route at the height to be measured, includes: Determine, based on the starting position at the height to be measured, a first coordinate point of the first U-shaped route, where the first coordinate point is located in a second preset direction of the starting position at the height to be measured, and the distance between the first coordinate point and the starting position is the first distance; Determine, based on the first coordinate point of the first U-shaped route, a second coordinate point of the first U-shaped route, wherein the second coordinate point is located in a third preset direction of the first coordinate point and is at a second distance from the first coordinate point; Determine a third coordinate point of the first U-shaped route based on the second coordinate point of the first U-shaped route, where the third coordinate point is located in a fourth preset direction of the second coordinate point and the distance between the third coordinate point and the second coordinate point is the second distance; Determine, based on the third coordinate point of the first U-shaped route, a fourth coordinate point of the first U-shaped route, wherein the fourth coordinate point is located in a first preset direction of the third coordinate point and the distance between the fourth coordinate point and the third coordinate point is the second distance; The first U-shaped route is formed by taking the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point of the first U-shaped route as vertices of the U-shaped route; Wherein, the ratio of the second distance to the first distance is a first preset multiple.
4. The method according to claim 2, characterized in that The step of determining the i-th U-shaped route at the height to be measured based on the vertex of the i-1-th U-shaped route at the height to be measured comprises: Determine a corresponding route spacing based on the environment type and the height to be measured, where the route spacing indicates the spacing between two U-shaped test routes at the same height to be measured; Obtain the first coordinate point and the fourth coordinate point of the (i-1)th U-shaped route; Determine a starting point of the i-th U-shaped route based on the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, where the starting point is located in a first preset direction of the midpoint between the first coordinate point and the fourth coordinate point of the i-1th U-shaped route, and the distance between the starting point and the midpoint is the route spacing; Determine, based on the starting point of the i-th U-shaped route, a first coordinate point of the i-th U-shaped route, where the first coordinate point is located in a second preset direction from the starting point and a distance from the starting point is a third distance; Determine, based on the first coordinate point of the i-th U-shaped route, a second coordinate point of the i-th U-shaped route, where the second coordinate point is located in a third preset direction of the first coordinate point and a distance from the first coordinate point is a fourth distance; Determine, based on the second coordinate point of the i-th U-shaped route, a third coordinate point of the i-th U-shaped route, where the third coordinate point is located in a fourth preset direction of the second coordinate point and a distance between the third coordinate point and the second coordinate point is the fourth distance; Determine, based on the third coordinate point of the i-th U-shaped route, a fourth coordinate point of the i-th U-shaped route, where the fourth coordinate point is located in a first preset direction of the third coordinate point and a distance between the fourth coordinate point and the third coordinate point is the fourth distance; The first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point of the i-th U-shaped route are used as vertices of the U-shaped route to form the i-th U-shaped route; The ratio of the third distance to the route spacing is a second preset multiple, and the ratio of the fourth distance to the route spacing is a third preset multiple.
5. The method according to claim 2, characterized in that The process of determining the number of the zigzag routes includes: Determine a fifth distance corresponding to the environment type and the multiple heights to be measured, the fifth distance being used to indicate a maximum coverage distance of a signal of the target base station at the height to be measured; A difference between the fifth distance and the first distance is determined, and a ratio between the difference and the route spacing is used as the number of U-shaped routes at the height to be measured.
6. The method according to claim 1, characterized in that The network quality information includes a reference signal received power, and the method further includes: When the reference signal received power is less than or equal to the power threshold, the UAV is controlled to terminate the flight at the altitude to be measured.
7. A network testing device, characterized in that: The device comprises: a determination unit, configured to determine an environment type of an area covered by a target base station; A planning unit, configured to plan a flight path of the UAV at each of the heights to be measured based on a plurality of heights to be measured corresponding to the environment type of the target base station coverage area, wherein the flight path includes at least one U-shaped path; A control unit is used to control the UAV to fly according to the flight route to collect network quality information of the target base station coverage area.
8. An electronic device, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is configured to run a computer program or instruction to implement the network testing method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions. When a computer executes the instructions, the computer executes the network testing method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to perform the network testing method according to any one of claims 1 to 6.