Base station inspection method, device, equipment, medium and product

The inspection route is calculated through the base station data uploaded by the drone, which solves the time-consuming and labor-intensive problem of checking the working parameters of the base station antenna, improves the efficiency and accuracy of the inspection, and realizes the timely update of the antenna working parameters.

CN118803545APending Publication Date: 2024-10-18CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410595301.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, the verification of base station antenna working parameters is time-consuming, labor-intensive, and error-prone, and the antenna working parameters are not updated in time during network optimization, which affects the optimization effect.

Method used

Calculate the target flight distance and remaining flight distance through the base station data uploaded by the drone, generate an inspection route, control the drone to conduct inspection, obtain the base station inspection results, and improve the inspection efficiency and accuracy.

Benefits of technology

It realizes the planning of the best cruise route based on the endurance of the drone, improves the execution efficiency of base station inspection tasks and the accuracy and timeliness of verification of antenna working parameters, and reduces labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803545A_ABST
    Figure CN118803545A_ABST
Patent Text Reader

Abstract

The invention provides a base station inspection method, device and equipment, a medium and a product, and the method comprises the steps: after an inspection task of an unmanned plane for a target inspection base station in an inspection area is detected, based on base station data uploaded by the unmanned plane, performing inspection on the target inspection base station; calculating a target flight distance of the unmanned aerial vehicle from the current position to the corresponding stay base station through the target inspection base station; wherein the base station data is used for indicating position information of each stay base station of the unmanned aerial vehicle; comparing the target flight distance with the remaining flight distance of the unmanned aerial vehicle at the current moment to obtain a comparison result; and generating an inspection route of the unmanned aerial vehicle according to the comparison result, and controlling the unmanned aerial vehicle to inspect the inspection area according to the inspection route to obtain a base station inspection result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of communications, and in particular, to a base station inspection method, device, equipment, medium and product. Background Art

[0002] The antenna operating parameters of wireless base stations are the basis of wireless network optimization and can directly affect the quality and efficiency of subsequent network optimization. Therefore, the verification of antenna working parameter data is an important task for wireless network optimization personnel. In the existing technology, the operating parameters of base stations are mainly obtained by technicians using instruments to measure on site. The processing method of the existing technology is time-consuming, labor-intensive, and prone to errors.

[0003] In the later stage of network optimization, antenna operating parameters are usually adjusted but not updated in time, which will affect the optimization effect due to the use of wrong antenna operating parameters during network optimization. Summary of the invention

[0004] The embodiments of the present disclosure at least provide a base station inspection method, device, equipment, medium and product.

[0005] In a first aspect, an embodiment of the present disclosure provides a base station inspection method, including:

[0006] After detecting the inspection task of the drone to the target inspection base station in the inspection area, the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station is calculated based on the base station data uploaded by the drone; wherein the base station data is used to indicate the position information of each stop base station of the drone;

[0007] Compare the target flight distance with the remaining flight distance of the UAV at the current moment to obtain a comparison result;

[0008] An inspection route of the UAV is generated according to the comparison result, and the UAV is controlled to inspect the inspection area according to the inspection route to obtain a base station inspection result.

[0009] In an optional implementation, the stop base station is a charging base station; the calculation of the target flight distance between the drone flying from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone includes:

[0010] When it is determined that the target inspection base station is not the last base station to be inspected, determine the charging base station closest to the target inspection base station to obtain a first target charging base station;

[0011] Calculating a first distance between the current position and the target patrol base station, and calculating a second distance between the target patrol base station and the first target charging base station;

[0012] The target flight distance is determined according to the sum of the first distance and the second distance.

[0013] In an optional implementation manner, the calculating the first distance between the current position and the target inspection base station includes:

[0014] Determine, in the inspection area, the base station to be inspected that is closest to the current position as the target inspection base station;

[0015] The distance between the current position and the nearest base station to be inspected is determined as the first distance.

[0016] In an optional embodiment, when the target inspection base station is the first base station to be inspected, the first distance is the distance between the starting storage bin of the UAV and the base station to be inspected that is closest to the starting storage bin; when the target inspection base station is not the first base station to be inspected, the first distance is the distance between the completed base station of the UAV at the current moment and the base station to be inspected that is closest to the completed base station.

[0017] In an optional implementation, the stop base station is a terminal storage bin; the calculation of the target flight distance between the drone flying from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone includes:

[0018] When the target inspection base station is the last base station to be inspected, determining the terminal storage bin of the drone;

[0019] Calculating the distance between the current position and the target inspection base station to obtain a third distance;

[0020] The distance between the target inspection base station and the terminal storage bin is calculated to obtain a fourth distance, and the target flight distance is determined based on the distance between the third distance and the fourth distance.

[0021] In an optional implementation, generating the inspection route of the drone according to the comparison result includes:

[0022] In the case where it is determined that the remaining flight distance is greater than the target flight distance, a first inspection route is generated, wherein the first inspection route is used to instruct the UAV to fly from the current position to the target inspection base station;

[0023] When it is determined that the remaining flight distance is less than or equal to the target flight distance, a second inspection route is generated, wherein the second inspection route is used to instruct the drone to fly from the current position to a first charging base station, and then from the first charging base station to the target inspection base station, and the first charging base station is the charging base station closest to the current position of the drone.

[0024] In an optional implementation, after generating the inspection route of the drone according to the comparison result, and controlling the drone to inspect the inspection area according to the inspection route, and obtaining the base station inspection result, the method includes:

[0025] Determine a first target image of the inspection antenna of the target inspection base station based on the base station inspection result; wherein the first target image carries an identification identification area for indicating the current position of the inspection antenna;

[0026] Calculate the azimuth and elevation angle of the patrol antenna based on the first target image; wherein the azimuth is used to indicate the signal coverage range of the patrol antenna in the horizontal direction, and the elevation angle is used to indicate the signal coverage range of the patrol antenna in the vertical direction;

[0027] The working state of the inspection antenna is determined according to the azimuth angle and the elevation angle.

[0028] In an optional implementation, calculating the azimuth angle of the inspection antenna based on the first target image includes:

[0029] Determining edge points of the identification area in the first target image;

[0030] Calculating target coordinates of the edge point in the first target image;

[0031] A target angle of the identification area in a specified reference direction is calculated according to the target coordinates, and the target angle is determined as the azimuth.

[0032] In an optional implementation, calculating the pitch angle of the inspection antenna based on the first target image includes:

[0033] Calculating a target aspect ratio of the identification area in the first target image;

[0034] The quotient of the target aspect ratio and the standard aspect ratio of the marker recognition area is calculated, and the pitch angle is determined according to the quotient.

[0035] In a second aspect, an embodiment of the present disclosure provides a base station inspection device, including:

[0036] A first processing unit is used to calculate the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone after detecting the inspection task of the drone to the target inspection base station in the inspection area, wherein the base station data is used to indicate the position information of each stop base station of the drone;

[0037] A second processing unit is used to compare the target flight distance with the remaining flight distance of the UAV at a current moment to obtain a comparison result;

[0038] A generating unit is used to generate an inspection route of the UAV according to the comparison result, and control the UAV to inspect the inspection area according to the inspection route to obtain a base station inspection result.

[0039] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps in the above-mentioned first aspect are performed.

[0040] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned first aspect are executed.

[0041] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps in the first aspect above.

[0042] In an embodiment of the present application, first, after detecting the inspection task of the drone to the target inspection base station in the inspection area, the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station is calculated based on the base station data uploaded by the drone, and then the target flight distance is compared with the remaining flight distance of the drone at the current moment to obtain a comparison result, and finally, the inspection route of the drone is generated according to the comparison result, and the drone is controlled to inspect the inspection area according to the inspection route to obtain the base station inspection result.

[0043] In the above implementation, by determining the target flight distance of the UAV and comparing the target flight distance with the remaining flight distance of the UAV, and generating the inspection route of the UAV according to the comparison result, it is possible to plan the optimal cruise route of the UAV according to the UAV's endurance. Through this processing method, the execution efficiency of the base station industrial parameter inspection task can be improved, and the accuracy and timeliness of the antenna working parameter verification can be improved.

[0044] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0046] Figure 1 A flow chart of a base station inspection method provided by an embodiment of the present disclosure is shown;

[0047] Figure 2 A schematic diagram of an inspection route provided by an embodiment of the present disclosure is shown;

[0048] Figure 3 A schematic diagram of an identification tag provided by an embodiment of the present disclosure is shown;

[0049] Figure 4 A schematic diagram showing a pitch angle calculation process provided by an embodiment of the present disclosure;

[0050] Figure 5 An overall flow chart of a base station inspection process provided by an embodiment of the present disclosure is shown;

[0051] Figure 6 A schematic diagram of a base station inspection device provided by an embodiment of the present disclosure is shown;

[0052] Figure 7 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0054] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0055] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0056] Research has found that the antenna operating parameters of wireless base stations are the basis of wireless network optimization and can directly affect the quality and efficiency of subsequent network optimization. Therefore, the verification of antenna working parameter data is an important task for wireless network optimization personnel. In the existing technology, the operating parameters of base stations are mainly obtained by technicians using instruments to measure on-site at the site. The processing method of the existing technology is time-consuming, labor-intensive, and prone to errors.

[0057] In the later stage of network optimization, antenna operating parameters are usually adjusted but not updated in time, which will affect the optimization effect due to the use of wrong antenna operating parameters during network optimization.

[0058] Based on the above research, the present disclosure provides a base station inspection method, device, equipment, medium and product. In an embodiment of the present application, first, after detecting the inspection task of the drone to the target inspection base station in the inspection area, based on the base station data uploaded by the drone, the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station is calculated, and then the target flight distance is compared with the remaining flight distance of the drone at the current moment to obtain a comparison result, and finally, the inspection route of the drone is generated according to the comparison result, and the drone is controlled to inspect the inspection area according to the inspection route to obtain the base station inspection result.

[0059] In the above implementation, by determining the target flight distance of the UAV and comparing the target flight distance with the remaining flight distance of the UAV, and generating the inspection route of the UAV according to the comparison result, it is possible to plan the optimal cruise route of the UAV according to the UAV's endurance. Through this processing method, the execution efficiency of the base station industrial parameter inspection task can be improved, and the accuracy and timeliness of the antenna working parameter verification can be improved.

[0060] To facilitate understanding of this embodiment, a base station inspection method disclosed in an embodiment of the present disclosure is first introduced in detail. The execution subject of the base station inspection method provided in the embodiment of the present disclosure is generally an electronic device with certain computing capabilities, and the electronic device includes, for example, a terminal device or a server or other processing device. In some possible implementations, the base station inspection method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0061] See also Figure 1 FIG. 1 is a flowchart of a base station inspection method provided by an embodiment of the present disclosure, wherein the method includes steps S101 to S103, wherein:

[0062] Step S101: After detecting the inspection task of the drone to the target inspection base station in the inspection area, based on the base station data uploaded by the drone, calculate the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station; wherein the base station data is used to indicate the location information of each stop base station of the drone.

[0063] Here, the target inspection base station can be understood as the base station to be inspected at the current moment. The inspection task can be understood as the task of the drone to inspect the target inspection base station that needs to be inspected in the inspection area.

[0064] Before performing an inspection task, the starting storage bin and the end storage bin of the drone can be pre-set. The starting storage bin can be understood as the starting point of the drone's flight, and the end storage bin can be understood as the end point of the drone's flight. After the drone departs from the starting storage bin, it can inspect each inspection base station in the inspection area in turn, and after completing the inspection task for each inspection base station, the drone can land in the end storage bin.

[0065] Here, the base station data is used to indicate the location information of each base station where the drone stops, and also includes the base station information of the base station to be inspected, the charging base station corresponding to the base station to be inspected, and the storage base station, such as the base station identification, longitude and latitude information, base station name, base station height, and inspection antenna height. Among them, the storage base station includes the starting storage bin and the end storage bin.

[0066] In the disclosed embodiment, the distance between any two base stations can be calculated through base station data, for example, the distance between the inspection base station and the charging base station, the distance between the charging base station and the storage base station, and the distance between the inspection base station and the storage base station.

[0067] Here, the stop base station can be a charging base station or a terminal storage bin of the drone. For example, the stop base station of the drone can be understood as the charging base station closest to the target inspection base station. Among them, the type of the stop base station is associated with the inspection order of the target inspection base station.

[0068] For example, when the target inspection base station is not the last base station to be inspected, the stop base station is a charging base station; when the target inspection base station is the last base station to be inspected, the stop base station is a terminal storage bin.

[0069] Here, the target flight distance will change according to the current position of the UAV and the inspection order of the target inspection base station by the UAV, and is used to indicate the distance of the UAV from the current position passing through the target inspection base station to the stop base station corresponding to the target inspection base station.

[0070] In an embodiment of the present application, the drone can first collect base station data of various types of base stations, and then the cloud platform determines the base station information in the inspection area based on the base station data, and sets the starting storage bin of the drone and the end storage bin of the drone in the inspection area based on the base station information. Next, the target inspection base station that needs to be inspected can be selected to generate the inspection task of the drone in the inspection area. After that, the distance between any two base stations can be calculated based on the base station data, and the target flight distance can be determined based on the distance, that is, the distance from the current position of the drone to the target inspection base station, and then to the stop base station (for example, a charging base station) corresponding to the target inspection base station.

[0071] Step S102: Compare the target flight distance with the remaining flight distance of the UAV at the current moment to obtain a comparison result.

[0072] In the disclosed embodiment, the remaining flight distance is used to indicate the maximum flight distance of the drone under the current power. The drone can be monitored for power in real time, so as to monitor the remaining power value of the drone in different time periods, and then the remaining flight distance of the drone can be determined according to the remaining power value.

[0073] Here, the comparison result includes that the target flight distance is less than the remaining flight distance. At this time, it can be determined that the drone can fly from the current position to the target inspection base station; the comparison result also includes that the target flight distance is greater than the remaining flight distance. At this time, it can be determined that the drone cannot fly from the current position to the target inspection base station.

[0074] In the embodiment of the present application, after the target flight distance is calculated based on the base station data, the remaining flight distance of the drone at the current moment can be determined, and the remaining flight distance is compared with the target flight distance to obtain a comparison result. Finally, based on the comparison result, it is determined whether the drone can fly from the current position to the next target inspection base station.

[0075] Step S103: Generate an inspection route for the drone according to the comparison result, and control the drone to inspect the inspection area according to the inspection route to obtain a base station inspection result.

[0076] Here, the inspection route is used to indicate the best cruising route of the drone for the current remaining power, that is, the best cruising route for the drone to fly from the current position to the target inspection base station under the current remaining power.

[0077] Here, the base station inspection result is used to indicate that after the drone inspects the inspection area, the drone collects data information of each base station to be inspected in the inspection area. For example, the operating status, signal strength and quality of the received signal of the base station to be inspected, and the inspection image of the base station to be inspected; wherein, according to the inspection image, it is determined whether the inspection antenna of the base station to be inspected is damaged.

[0078] In an embodiment of the present application, the cloud platform can generate an inspection route for the drone to pass through each base station to be inspected based on the comparison results. The cloud platform can send the inspection route to the drone. The drone can inspect the inspection area according to the inspection route, obtain the base station inspection results, and upload the base station inspection results to the cloud platform.

[0079] In the above implementation, by determining the target flight distance of the UAV and comparing the target flight distance with the remaining flight distance of the UAV, and generating the inspection route of the UAV according to the comparison result, it is possible to plan the optimal cruise route of the UAV according to the UAV's endurance. Through this processing method, the execution efficiency of the base station industrial parameter inspection task can be improved, and the accuracy and timeliness of the antenna working parameter verification can be improved.

[0080] In an optional embodiment, when the stop base station is a charging base station, the above steps calculate the target flight distance between the drone flying from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone, including:

[0081] Step S21: when it is determined that the target inspection base station is not the last base station to be inspected, determine the charging base station closest to the target inspection base station to obtain a first target charging base station;

[0082] Step S22: calculating a first distance between the current position and the target patrol base station, and calculating a second distance between the target patrol base station and the first target charging base station;

[0083] Step S23: determining the target flight distance according to the sum of the first distance and the second distance.

[0084] Here, the distance between any two base stations to be inspected in the inspection area can be calculated, where the spherical distance formula: S = Rarccos[cosβ1cosβ2cos(α1-α2)+sinβ1sinβ2] can be used to calculate the distance, where S is the spherical distance between the two positions, and R is used to indicate the radius of the sphere, that is, the radius of the earth. If the distance between base station A and base station B is calculated, β1 is the latitude angle of base station A, α1 is the longitude angle of base station A, β2 is the latitude angle of base station B, and α2 is the longitude angle of base station B. The latitude angle and longitude angle can be obtained through the above-mentioned base station data.

[0085] Among them, if the latitude angle between the two base stations is the same, that is, β1=β2=β, then the above spherical distance formula can be expressed as: S=Rarccos[cosβcosβcos(α1-α2)+sinβsinβ].

[0086] If the longitude angle between the two base stations is the same, that is, α1=α2=α, the above spherical distance formula can be expressed as: S=Rarccos[cosβ1cosβ2+sinβ1sinβ2]=Rarccoscos(β1-β2).

[0087] Here, the first distance is used to indicate the spherical distance between the current position of the drone and the target inspection base station, which can be calculated using the above spherical distance formula. The second distance is used to indicate the spherical distance between the target inspection base station and the first target charging base station, which can be calculated using the above spherical distance formula. The first target charging base station is the charging base station closest to the target inspection base station.

[0088] If the target inspection base station is not the last base station to be inspected, the distance between the first base station to be inspected and the first target charging base station is the second distance.

[0089] In an embodiment of the present application, when the target inspection base station is not the last base station to be inspected, the target inspection base station closest to the current position of the drone can be determined, and the charging base station closest to the target inspection base station can be determined to obtain the first target charging base station; then, the first distance between the current position and the target inspection base station is calculated, and the second distance between the target inspection base station and the first target charging base station is calculated, so as to determine the target flight distance based on the sum of the first distance and the second distance.

[0090] In an optional implementation, the calculating the first distance between the current position and the target inspection base station includes:

[0091] Step S31: determining in the inspection area the base station to be inspected that is closest to the current position as the target inspection base station;

[0092] Step S32: Determine the distance between the current position and the nearest base station to be inspected as the first distance.

[0093] In an embodiment of the present application, the base station to be inspected that is closest to the current position of the drone can be determined in the inspection area, thereby obtaining the target inspection base station; thereafter, the distance between the current position of the drone and the target inspection base station can be calculated, and the distance can be determined as the first distance.

[0094] Through the method described above, the calculated target flight distance of the UAV is the minimum flight distance of the UAV, thereby minimizing the UAV's driving path. While ensuring the normal driving of the UAV, the inspection efficiency of the UAV can be improved to meet the inspection scenarios with high real-time requirements.

[0095] Here, for the case where the target inspection base station is the first base station to be inspected and the case where the target inspection base station is not the first base station to be inspected, the manner of determining the first distance is different.

[0096] When the target inspection base station is the first base station to be inspected, the first distance is the distance between the starting storage bin of the drone and the base station to be inspected that is closest to the starting storage bin.

[0097] When the target inspection base station is not the first base station to be inspected, the first distance is the distance between the completed base station of the drone at the current moment and the base station to be inspected that is closest to the completed base station.

[0098] For example, if the target inspection base station is the first base station to be inspected, the distance between the starting storage bin S1 and the first base station to be inspected C1 is the first distance, where C1 is the base station to be inspected closest to S1. If the drone completes the inspection of the first base station to be inspected C1, the base station to be inspected closest to C1 is set to C2, that is, C1 is the completed base station at the current moment, and the distance between the completed base station C1 and the base station to be inspected C2 is the first distance.

[0099] By analogy, the base station to be inspected that is closest to C2 can be set as C3, and the distance between C2 and C3 is determined as the first distance after the drone completes the inspection of C2. In the case where the target base station to be inspected is not the first base station to be inspected, the first distance between each completed base station and the base station to be inspected that is closest to the completed base station can be calculated according to the above method.

[0100] In an embodiment of the present application, the above method can be used to calculate the first distance between the current position of the drone and the target inspection base station in different inspection orders of the target inspection base station, so as to facilitate the subsequent generation of the drone's inspection route based on the first distance.

[0101] In an optional embodiment, the stop base station is a terminal storage bin; the calculation of the target flight distance between the drone flying from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone includes:

[0102] Step S51: when the target inspection base station is the last base station to be inspected, determining the terminal storage bin of the drone;

[0103] Step S52: Calculate the distance between the current position and the target inspection base station to obtain a third distance;

[0104] Step S53: Calculate the distance between the target inspection base station and the terminal storage bin to obtain a fourth distance, and determine the target flight distance based on the distance between the third distance and the fourth distance.

[0105] If the target inspection base station is the last base station to be inspected Cn, the current position of the drone is the second to last base station to be inspected C(n-1), where C(n-1) is the base station to be inspected closest to Cn, and the distance d(n-1) between Cn and C(n-1) is the third distance, which can be calculated using the above spherical distance formula.

[0106] Here, the terminal storage bin S2 is the storage bin closest to the last base station Cn to be inspected, and the distance dn between the terminal storage bin S2 and Cn can be calculated by the spherical distance formula, where dn is the fourth distance.

[0107] In an embodiment of the present application, when the target inspection base station is the last base station to be inspected Cn, the distance d(n-1) between the current position and Cn is calculated to obtain the third distance, and the distance dn between Cn and the terminal storage bin S2 is calculated to obtain the fourth distance. The sum of the distances between the third distance and the fourth distance is determined as the target flight distance, that is, d(n-1)+dn is the target flight distance.

[0108] In an optional implementation, generating the inspection route of the drone according to the comparison result includes:

[0109] Step S61: when it is determined that the remaining flight distance is greater than the target flight distance, generating a first inspection route, wherein the first inspection route is used to instruct the UAV to fly from the current position to the target inspection base station;

[0110] Step S62: When it is determined that the remaining flight distance is less than or equal to the target flight distance, a second inspection route is generated, wherein the second inspection route is used to instruct the UAV to fly from the current position to the first charging base station, and then from the first charging base station to the target inspection base station, and the first charging base station is the charging base station closest to the current position of the UAV.

[0111] like Figure 2 As shown, the inspection area of ​​the drone includes the starting storage bin S1, multiple charging base stations (i.e. Figure 2 A1-A8 in the figure), multiple base stations to be inspected (i.e. Figure 2 According to the inspection order of the drone, the target inspection base station can be divided into the first base station to be inspected C1, other base stations to be inspected, and the last base station to be inspected Cn. Here, other base stations to be inspected are base stations to be inspected that are not the first base station to be inspected and not the last base station to be inspected, that is, Figure 2 C2-C6 in.

[0112] When the target inspection base station is the first base station to be inspected C1, the current position of the drone is the starting storage bin S1, and the target flight distance of the drone is d1+d2, where d1 is the distance between S1 and C1, and d2 is the distance between C1 and the charging base station A2 closest to C1.

[0113] If the remaining flight distance determined by the drone when it starts in storage bin S1 is f1, then when the remaining flight distance is greater than the target flight distance (i.e., f1>d1+d2), a first inspection route is generated, that is, the drone can fly from S1 to C1; when the remaining flight distance is less than or equal to the target flight distance (i.e., f1≤d1+d2), a second inspection route is generated, that is, the drone first flies from S1 to the charging base station A1 closest to S1, and then flies from A1 to C1.

[0114] When the target inspection base station is the inspection base station C2 which is closest to C1, the current position of the drone is C1, and the target flight distance of the drone is d3+d4, where d3 is the distance between C1 and C2, and d4 is the distance between C2 and the charging base station A3 which is closest to C2.

[0115] If the remaining flight distance of the UAV after completing the inspection of the first base station C1 to be inspected is f2, then when the remaining flight distance is greater than the target flight distance (i.e., f2>d3+d4), a first inspection route is generated, that is, the UAV can fly from C1 to C2; when the remaining flight distance is less than or equal to the target flight distance (i.e., f2≤d3+d4), a second inspection route is generated, that is, the UAV first flies from C1 to A2, and then from A2 to C2.

[0116] When the target inspection base station is the last base station to be inspected Cn (i.e. Figure 2 In the case of C7 in FIG. 1 , the current position of the drone is C6, and the target flight distance of the drone is d5+d6, where d5 is the distance between C6 and C7, and d6 is the distance between C7 and the terminal storage bin S2.

[0117] If the remaining flight distance of the drone after completing the inspection of C6 is f3, then when the remaining flight distance is greater than the target flight distance (i.e., f3>d5+d6), a first inspection route is generated, that is, the drone can fly from C6 to C7; when the remaining flight distance is less than or equal to the target flight distance (i.e., f3≤d5+d6), a second inspection route is generated, that is, the drone first flies from C6 to A7, the charging base station closest to C6, and then flies from A7 to C7.

[0118] In the embodiment of the present application, the inspection order of the drone for multiple target inspection base stations can be determined first, and the target flight distance corresponding to the current position of the drone is calculated according to the inspection order, and the remaining flight distance of the drone at the current moment is detected. If the remaining flight distance is greater than the target flight distance, a first inspection route is generated; if the remaining flight distance is less than or equal to the target flight distance, a second inspection route is generated, and the inspection route of the drone is determined according to the first inspection route and the second inspection route.

[0119] Through the above processing method, a more reasonable inspection route can be obtained, which can complete the base station inspection task as soon as possible while ensuring the normal driving of the drone.

[0120] In an optional embodiment, after generating the inspection route of the drone according to the comparison result, and controlling the drone to inspect the inspection area according to the inspection route, and obtaining the base station inspection result, the method includes:

[0121] Step S71: determining a first target image of the inspection antenna of the target inspection base station based on the base station inspection result; wherein the first target image carries an identification area for indicating the current position of the inspection antenna;

[0122] Step S72: Calculate the azimuth and elevation of the patrol antenna based on the first target image; wherein the azimuth is used to indicate the signal coverage of the patrol antenna in the horizontal direction, and the elevation is used to indicate the signal coverage of the patrol antenna in the vertical direction;

[0123] Step S73: Determine the working state of the inspection antenna according to the azimuth angle and the elevation angle.

[0124] Here, the first target image is used to indicate the image of the inspection antenna collected by the drone during the inspection process of the inspection route. Here, the cloud platform can determine the height of each inspection antenna according to the base station data, and control the drone to take pictures of the inspection antenna of each target inspection base station at the corresponding height to obtain the first target image.

[0125] The first target image may include an identification tag and an identification QR code, wherein the identification tag is as follows: Figure 3 As shown, the identification tag includes a marking identification area (i.e. Figure 3 The gray area in the figure can be used to calculate the azimuth and elevation angle of the inspection antenna according to the identification area. The identification QR code is used to indicate the first target image and the corresponding inspection antenna. The identification QR code can be read through the code library to obtain the ID of the inspection antenna, and the corresponding first target image can be found according to the ID.

[0126] The code library may be a Python library, and the Python library includes an OpenCV library and a PyZbar library. The imread function in the OpenCV library is first used to filter out the identification QR code in the first target image, and then the PyZbar library or the ZBar library in the PyZbar library is used to identify the identification QR code to obtain the ID of the inspection antenna.

[0127] Here, the first target image can also be converted into an image color space and binarized through the OpenCV library to obtain a target image with two pixel values, and the target image can be firstly segmented into a color image, and then the bitwise_and function in the Python library can be used to perform mask protection on the target image to obtain a label recognition image, that is, the identification area in the first target image.

[0128] Here, the azimuth angle and the elevation angle are antenna working parameters of the patrol antenna. The working state of the patrol antenna, for example, the pointing accuracy, signal coverage and signal quality of the patrol antenna can be determined according to the azimuth angle and the elevation angle. The azimuth angle and the elevation angle can also be used to evaluate whether the patrol antenna points to the predetermined service area, thereby determining whether the patrol antenna needs to be adjusted to optimize the signal quality.

[0129] In the above implementation manner, the UAV can perform inspections along the inspection route, and photograph the inspection antenna during the inspection process to obtain a first target image, and calculate the azimuth and pitch angle of the inspection antenna through the identification area in the first target image, thereby realizing automatic inspection of the antenna working parameters. The operation of the UAV is simple, thereby reducing labor costs and improving the efficiency of antenna inspections.

[0130] In an optional implementation, the calculating the azimuth angle of the inspection antenna based on the first target image includes:

[0131] Step S81: determining edge points of the identification area in the first target image;

[0132] Step S82: calculating the target coordinates of the edge point in the first target image;

[0133] Step S83: Calculate the target angle of the identification area in the specified reference direction according to the target coordinates, and determine the target angle as the azimuth.

[0134] Here, the edge point is used to indicate the boundary or outline of the identification area, and can also be used to indicate the location point of the brightness change in the first target image. The first target image can be smoothed by a Gaussian filter algorithm, and then the edge detection algorithm is used to perform edge detection on the identification area to obtain the edge point.

[0135] Here, the Hough Lines function can be used to search for a straight line passing through each edge point in the first target image. If multiple edge points are mapped to the same straight line, the straight line is the edge straight line of the identification recognition area.

[0136] From the above description, it can be seen that the code library can be used to process the first target image to obtain a label recognition map. Then, an indicator coordinate system is constructed with any corner point in the label recognition map as the coordinate origin, and the distance between the edge line and the coordinate origin is calculated to obtain the extreme length ρ. After that, the angle between the edge line and the positive direction of the x-axis in the indicator coordinate system is calculated to obtain the angle θ. Finally, the coordinates of the corresponding edge point in the edge line in the first target image are calculated based on the extreme length ρ and the angle θ, thereby obtaining the target coordinates.

[0137] Among them, in the Hough transform, a straight line passing through each edge point in the first target image can also be searched by a step radius of 1 and a step angle of π / 180. This application does not make specific requirements on the step radius and step angle.

[0138] Here, the specified reference direction can be the north direction of the first target image, or the specified reference direction can be adjusted according to the service area of ​​the inspection antenna, which is not required by this application. The target angle is used to indicate the angle of the edge straight line of the identification area in the specified reference direction, which can be calculated based on the above target coordinates.

[0139] In an embodiment of the present application, an edge detection algorithm can be used to detect the identification area to obtain edge points, and the straight line passing through each edge point in the first target image is searched through Hough transform. The straight line passing through multiple edge points is determined as the edge straight line of the identification area, and the angle of the edge straight line in the specified reference direction is calculated to obtain the azimuth.

[0140] In an optional implementation, the calculating the pitch angle of the inspection antenna based on the first target image includes:

[0141] Step S91: calculating the target aspect ratio of the identification area in the first target image;

[0142] Step S92: Calculate the quotient of the target aspect ratio and the standard aspect ratio of the identification area, and determine the pitch angle according to the quotient.

[0143] In the embodiment of the present application, when the identification tag is tilted, the width of the identification area in the identification tag will become smaller. At this time, the target aspect ratio can be calculated based on the edge points of the identification area, and the elevation angle of the inspection antenna can be calculated based on the target aspect ratio and the standard aspect ratio of the identification area.

[0144] like Figure 4 As shown, when the identification area does not tilt (i.e. Figure 4 The standard length of the identification area is a, and the standard width is b, that is, the standard aspect ratio is b / a. If the identification area in the first target image is tilted (i.e. Figure 4The target length of the identification area is a, and the target width is c, that is, the target aspect ratio is c / a. The cosine value of the pitch angle is cos((c / a) / (b / a))=cos(c / b), and the pitch angle A=arccos(c / b).

[0145] Combine the following Figure 5 The above base station inspection process is described, and the specific process is described as follows:

[0146] S501: The drone collects base station data of each stop base station.

[0147] S502: Calculate the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station.

[0148] S503: Compare the target flight distance with the remaining flight distance of the UAV to obtain a comparison result, and generate an inspection route of the UAV according to the comparison result.

[0149] S504: The UAV performs inspection according to the inspection route and obtains the base station inspection result.

[0150] S505: Determine a first target image of the inspection antenna based on the base station inspection result.

[0151] S506: Calculate the azimuth angle and elevation angle of the inspection antenna according to the first target image.

[0152] The process of calculating the azimuth angle is shown in S507-S508, and the process of calculating the elevation angle is shown in S509-S510.

[0153] S507: Perform edge detection on the marked identification area in the first target image to obtain edge points.

[0154] S508: Calculate the azimuth angle according to the edge point.

[0155] S509: Calculate the target aspect ratio of the marked recognition area in the first target image.

[0156] S510: Calculate the pitch angle according to the target aspect ratio and the standard aspect ratio of the marker recognition area.

[0157] It can be seen from the above description that the technical solution disclosed in the present invention has the following advantages:

[0158] (1) The optimal flight route of the drone is calculated through the base station data uploaded by the drone, thereby reducing the time of the drone's automatic inspection, saving the drone's power consumption, and improving the drone's inspection efficiency.

[0159] (2) By taking photos with a drone directly above the inspection antenna, the antenna operating parameters of the inspection antenna can be calculated. The shooting requirements of the drone are relatively low, and there is no need for manual control for precise shooting, thus ensuring the accuracy and timeliness of the antenna working parameters.

[0160] (3) In different environments, drones can automatically collect antenna information of inspection antennas and verify antenna working parameters based on the antenna information, thus reducing the manpower cost of verification.

[0161] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0162] Based on the same inventive concept, a base station inspection device corresponding to the base station inspection method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned base station inspection method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0163] Reference Figure 6 FIG. 1 is a schematic diagram of a base station inspection device provided by an embodiment of the present disclosure, wherein the device comprises: a first processing unit 60, a second processing unit 61, and a generating unit 62; wherein:

[0164] A first processing unit is used to calculate the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone after detecting the inspection task of the drone to the target inspection base station in the inspection area, wherein the base station data is used to indicate the position information of each stop base station of the drone;

[0165] A second processing unit is used to compare the target flight distance with the remaining flight distance of the UAV at a current moment to obtain a comparison result;

[0166] A generating unit is used to generate an inspection route of the UAV according to the comparison result, and control the UAV to inspect the inspection area according to the inspection route to obtain a base station inspection result.

[0167] In a possible implementation manner, the device is also used for:

[0168] When it is determined that the target inspection base station is not the last base station to be inspected, determine the charging base station closest to the target inspection base station to obtain a first target charging base station;

[0169] Calculating a first distance between the current position and the target patrol base station, and calculating a second distance between the target patrol base station and the first target charging base station;

[0170] The target flight distance is determined according to the sum of the first distance and the second distance.

[0171] In a possible implementation manner, the device is also used for:

[0172] Determine, in the inspection area, the base station to be inspected that is closest to the current position as the target inspection base station;

[0173] The distance between the current position and the nearest base station to be inspected is determined as the first distance.

[0174] In a possible implementation manner, the device is also used for:

[0175] When the target inspection base station is the first base station to be inspected, the first distance is the distance between the starting storage bin of the UAV and the base station to be inspected that is closest to the starting storage bin; when the target inspection base station is not the first base station to be inspected, the first distance is the distance between the completed base station of the UAV at the current moment and the base station to be inspected that is closest to the completed base station.

[0176] In a possible implementation manner, the device is also used for:

[0177] When the target inspection base station is the last base station to be inspected, determining the terminal storage bin of the drone;

[0178] Calculating the distance between the current position and the target inspection base station to obtain a third distance;

[0179] The distance between the target inspection base station and the terminal storage bin is calculated to obtain a fourth distance, and the target flight distance is determined based on the distance between the third distance and the fourth distance.

[0180] In a possible implementation manner, the device is also used for:

[0181] In the case where it is determined that the remaining flight distance is greater than the target flight distance, a first inspection route is generated, wherein the first inspection route is used to instruct the UAV to fly from the current position to the target inspection base station;

[0182] When it is determined that the remaining flight distance is less than or equal to the target flight distance, a second inspection route is generated, wherein the second inspection route is used to instruct the drone to fly from the current position to a first charging base station, and then from the first charging base station to the target inspection base station, and the first charging base station is the charging base station closest to the current position of the drone.

[0183] In a possible implementation manner, the device is also used for:

[0184] Determine a first target image of the inspection antenna of the target inspection base station based on the base station inspection result; wherein the first target image carries an identification identification area for indicating the current position of the inspection antenna;

[0185] Calculate the azimuth and elevation angle of the patrol antenna based on the first target image; wherein the azimuth is used to indicate the signal coverage range of the patrol antenna in the horizontal direction, and the elevation angle is used to indicate the signal coverage range of the patrol antenna in the vertical direction;

[0186] The working state of the inspection antenna is determined according to the azimuth angle and the elevation angle.

[0187] In a possible implementation manner, the device is also used for:

[0188] Determining edge points of the identification area in the first target image;

[0189] Calculating target coordinates of the edge point in the first target image;

[0190] A target angle of the identification area in a specified reference direction is calculated according to the target coordinates, and the target angle is determined as the azimuth.

[0191] In a possible implementation manner, the device is also used for:

[0192] Calculating a target aspect ratio of the identification area in the first target image;

[0193] The quotient of the target aspect ratio and the standard aspect ratio of the marker recognition area is calculated, and the pitch angle is determined according to the quotient.

[0194] For descriptions of the processing flow of each unit in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0195] Corresponds to Figure 1 The base station inspection method in the present disclosure also provides an electronic device 70, such as Figure 7FIG. 1 is a schematic diagram of the structure of an electronic device 70 provided in an embodiment of the present disclosure, including:

[0196] Processor 71, memory 72, and bus 73; memory 2 is used to store execution instructions, including memory 721 and external memory 722; the memory 721 here is also called internal memory, which is used to temporarily store the operation data in the processor 71 and the data exchanged with the external memory 722 such as a hard disk. The processor 71 exchanges data with the external memory 722 through the memory 721. When the electronic device 70 is running, the processor 71 communicates with the memory 72 through the bus 73, so that the processor 71 executes the following instructions:

[0197] After detecting the inspection task of the drone to the target inspection base station in the inspection area, the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station is calculated based on the base station data uploaded by the drone; wherein the base station data is used to indicate the position information of each stop base station of the drone;

[0198] Compare the target flight distance with the remaining flight distance of the UAV at the current moment to obtain a comparison result;

[0199] An inspection route of the UAV is generated according to the comparison result, and the UAV is controlled to inspect the inspection area according to the inspection route to obtain a base station inspection result.

[0200] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the base station inspection method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0201] The present disclosure also provides a computer program product that carries a program code. The program code includes instructions that can be used to execute the steps of the base station inspection method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0202] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0203] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

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

[0205] In addition, each functional unit in each embodiment of the present disclosure 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.

[0206] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0207] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A base station inspection method, It is characterized in that include: After detecting the inspection task of the drone to the target inspection base station in the inspection area, the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station is calculated based on the base station data uploaded by the drone; wherein the base station data is used to indicate the position information of each stop base station of the drone; Compare the target flight distance with the remaining flight distance of the UAV at the current moment to obtain a comparison result; An inspection route of the UAV is generated according to the comparison result, and the UAV is controlled to inspect the inspection area according to the inspection route to obtain a base station inspection result.

2. The method according to claim 1, It is characterized in that The stop base station is a charging base station; the calculation of the target flight distance between the drone flying from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone includes: When it is determined that the target inspection base station is not the last base station to be inspected, determine the charging base station closest to the target inspection base station to obtain a first target charging base station; Calculating a first distance between the current position and the target patrol base station, and calculating a second distance between the target patrol base station and the first target charging base station; The target flight distance is determined according to the sum of the first distance and the second distance.

3. The method according to claim 2, It is characterized in that The calculating a first distance between the current position and the target inspection base station includes: Determine, in the inspection area, the base station to be inspected that is closest to the current position as the target inspection base station; The distance between the current position and the nearest base station to be inspected is determined as the first distance.

4. The method according to claim 2, It is characterized in that When the target inspection base station is the first base station to be inspected, the first distance is the distance between the starting storage bin of the drone and the base station to be inspected that is closest to the starting storage bin; In the case where the target inspection base station is not the first base station to be inspected, the first distance is the distance between the completed base station of the drone at the current moment and the base station to be inspected that is closest to the completed base station.

5. The method according to claim 1, It is characterized in that The stop base station is a terminal storage bin; the calculation of the target flight distance between the drone flying from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone includes: When the target inspection base station is the last base station to be inspected, determining the terminal storage bin of the drone; Calculating the distance between the current position and the target inspection base station to obtain a third distance; The distance between the target inspection base station and the terminal storage bin is calculated to obtain a fourth distance, and the target flight distance is determined based on the distance between the third distance and the fourth distance.

6. The method according to claim 1, It is characterized in that Generating the inspection route of the drone according to the comparison result includes: In the case where it is determined that the remaining flight distance is greater than the target flight distance, a first inspection route is generated, wherein the first inspection route is used to instruct the UAV to fly from the current position to the target inspection base station; When it is determined that the remaining flight distance is less than or equal to the target flight distance, a second inspection route is generated, wherein the second inspection route is used to instruct the drone to fly from the current position to a first charging base station, and then from the first charging base station to the target inspection base station, and the first charging base station is the charging base station closest to the current position of the drone.

7. The method according to claim 1, It is characterized in that After generating the inspection route of the drone according to the comparison result, and controlling the drone to inspect the inspection area according to the inspection route, and obtaining the base station inspection result, the method includes: Determine a first target image of the inspection antenna of the target inspection base station based on the base station inspection result; wherein the first target image carries an identification identification area for indicating the current position of the inspection antenna; Calculate the azimuth and elevation angle of the patrol antenna based on the first target image; wherein the azimuth is used to indicate the signal coverage range of the patrol antenna in the horizontal direction, and the elevation angle is used to indicate the signal coverage range of the patrol antenna in the vertical direction; The working state of the inspection antenna is determined according to the azimuth angle and the elevation angle.

8. The method according to claim 7, It is characterized in that The calculating the azimuth angle of the inspection antenna based on the first target image includes: Determining edge points of the identification area in the first target image; Calculating target coordinates of the edge point in the first target image; A target angle of the identification area in a specified reference direction is calculated according to the target coordinates, and the target angle is determined as the azimuth.

9. The method according to claim 7, It is characterized in that The calculating the pitch angle of the inspection antenna based on the first target image includes: Calculating a target aspect ratio of the identification area in the first target image; The quotient of the target aspect ratio and the standard aspect ratio of the marker recognition area is calculated, and the pitch angle is determined according to the quotient.

10. A base station inspection device, It is characterized in that include: A first processing unit is used to calculate the target flight distance of the drone from the current position through the target inspection base station to the corresponding stop base station based on the base station data uploaded by the drone after detecting the inspection task of the drone to the target inspection base station in the inspection area, wherein the base station data is used to indicate the position information of each stop base station of the drone; A second processing unit is used to compare the target flight distance with the remaining flight distance of the UAV at a current moment to obtain a comparison result; A generating unit is used to generate an inspection route of the UAV according to the comparison result, and control the UAV to inspect the inspection area according to the inspection route to obtain a base station inspection result.

11. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the base station inspection method as described in any one of claims 1 to 9 are performed.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the base station inspection method according to any one of claims 1 to 9 are executed.

13. A computer program product, It is characterized in that The computer program product is stored in a storage medium, and the program product is executed by at least one processor to implement the base station inspection method according to any one of claims 1 to 9.