Network detection method and device and medium
Through the interactive data between mobile terminals and network devices, position deviations are obtained in real time, combined with geography and task scenarios, automated network problem diagnosis is achieved, solving the problem of insufficient real-time and accuracy of network detection in the existing technology, and improving network communication Quality and user experience.
Patent Information
- Application Number
- CN202411322187.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-09-20
AI Technical Summary
The existing network detection methods cannot effectively reflect the user's actual experience, cannot accurately monitor terminal equipment problems and specific application performance problems in real time, and the real-time and accuracy of monitoring based on the user side are insufficient.
Through mobile terminals (such as drones or vehicles) moving according to the planned path, interacting with the passing network devices, obtaining the actual location of the terminal in real time, and judging the network status of the network device based on the deviation between the location and the planned path, combining geographical scenarios and The task scenario acquisition allows deviation amplitude to realize automated network problem diagnosis and positioning.
It improves the real-time and accuracy of network problems, realizes automated network problem diagnosis and positioning, can more comprehensively evaluate deviation thresholds, and improves network communication quality and user experience.
Smart Images

Figure CN119071825A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure at least relates to the field of communication technology, and in particular to a network detection method,
[0002] A network detection device and a computer-readable storage medium. Background Art
[0003] The current network detection methods may be based on detecting network problems on the network side or on the user side. Both methods mainly collect parameters that can reflect network performance and then analyze network performance based on the parameters. Summary of the invention
[0004] The technical problem to be solved by the present disclosure is to provide a network detection method, a network detection device and a computer-readable storage medium in view of the above-mentioned shortcomings, so as to provide a new network detection method.
[0005] In a first aspect, the present disclosure provides a network detection method, the method comprising:
[0006] The following conditions are obtained: the mobile terminal moves according to the first planned path and exchanges data with the network devices passed by during the movement;
[0007] Acquire first location information actually reached by the mobile terminal, where the first location information is obtained based on interaction data between the mobile terminal and a network device passed through;
[0008] The network status of the network devices along the way is determined based on the deviation of the first location information from the first planned path.
[0009] Furthermore, the mobile terminal specifically includes a drone or a vehicle.
[0010] Furthermore, the mobile terminal moves according to the first planned path and exchanges data with the network devices passed by during the movement, specifically including:
[0011] The UAV flies according to a first planned path, the first planned path includes a planned channel centerline, and can locate the planned channel center points that should be reached at multiple time nodes in the planned channel centerline;
[0012] During the flight, the UAV controls the flight of the UAV by exchanging flight control data with the communication base stations along the way, so as to arrive near the center points of the N corresponding planned routes at the N first time nodes, or,
[0013] During the flight, the UAV arrives near the center points of N corresponding planned routes at N first time nodes, and exchanges time and position data with the communication base stations along the way at N first time nodes.
[0014] Further, obtaining first location information actually reached by the mobile terminal, the first location information being obtained according to interaction data between the mobile terminal and the network device passed through, specifically includes:
[0015] The communication base station passed by sends a sensing signal to the UAV at N first time nodes to obtain the current flight position data of the UAV. The flight of the UAV is controlled by exchanging flight control data with the communication base station passed by; or,
[0016] The UAV actively sends its current flight position data to the communication base station it passes through at N first time nodes, and the communication base station it passes through records the N second time nodes at which the current flight position data is received; or,
[0017] The communication base station passed by sends a request to obtain the current flight position data to the drone at N first time nodes, and the drone sends its own current flight position data to the communication base station passed by at N third time nodes based on the received acquisition request.
[0018] Further, judging the network status of the network device passed through according to the deviation of the first location information from the first planned path specifically includes:
[0019] Acquire a first network device that the mobile terminal is currently passing through, and acquire M planned channel center points in a first planned path of the mobile terminal within the coverage of the first network device;
[0020] Obtain M predicted position ranges corresponding to the M planned channel center points, where the predicted position range is a range around the corresponding planned channel center point that is smaller than a first allowable deviation range, where the first allowable deviation range is a deviation range caused by normal fluctuations when network devices transmit data;
[0021] In response to the K (K∈M) first location information deviating from the corresponding K predicted location ranges by more than a second allowable deviation range, the network status of the first network device is determined to be abnormal, and the second allowable deviation range is the deviation range caused by the current mobile scenario of the mobile terminal.
[0022] Further, obtaining M planned channel center points in the first planned path of the mobile terminal within the coverage of the first network device specifically includes:
[0023] In response to the flight of the UAV being controlled by exchanging flight control data with a communication base station along the way, and acquiring the current flight position data of the UAV by sending a perception signal to the UAV at M first time nodes through the communication base station, acquiring the M planned channel center points that should be reached by the M first time nodes in the first planned path; or,
[0024] In response to receiving the current flight position data of the drone itself actively sent at M first time nodes through the communication base station, and obtaining the M second time nodes recorded by the communication base station at which the current flight position data is received, obtaining the M planned channel center points that should be reached by the M second time nodes in the first planned path; or,
[0025] In response to receiving the current flight position data of the drone itself sent by the communication base station based on the M third time nodes receiving the acquisition request, and the acquisition request is sent by the communication base station to the drone at the M first time nodes, the M planned channel center points that should be reached by the M first time nodes in the first planned path are obtained.
[0026] Furthermore, before obtaining the M predicted position ranges corresponding to the M planned waterway center points that should be reached, the method further includes:
[0027] In response to the mobile terminal moving according to the second planned path, acquiring second location information of the mobile terminal and network status data of the network devices passed by;
[0028] In response to the network status data of the passed network device being normal, a first allowable deviation amplitude is acquired according to the second location information and the second planned path.
[0029] Further, in response to the K (K∈M) first position information deviating from the corresponding K predicted position ranges by more than a second allowable deviation amplitude, the method further includes:
[0030] The second allowable deviation range is obtained according to the geographical scenario, mission scenario, and environmental factors in which the mobile terminal is currently moving.
[0031] In a second aspect, the present disclosure provides a network detection device, the device comprising:
[0032] The condition acquisition module is used to acquire the following conditions: the mobile terminal moves according to the first planned path and exchanges data with the network devices passed by during the movement;
[0033] A location acquisition module, connected to the condition acquisition module, for acquiring first location information actually reached by the mobile terminal, the first location information being acquired based on data exchanged between the mobile terminal and the network devices passed through;
[0034] The deviation judgment module is connected to the position acquisition module and is used to judge the network status of the network equipment passed through according to the deviation of the first position information relative to the first planned path.
[0035] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the network detection method as described above is implemented.
[0036] The present disclosure provides a network detection method, a network detection device and a computer-readable storage medium. A mobile terminal moves along a planned path, exchanges data with network devices passed through during the movement, obtains the actual position of the mobile terminal through the exchanged data, and judges the network status of the network devices passed through according to the deviation between the actual position and the planned path. This is a new network detection method. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a flow chart of a network detection method according to an embodiment of the present disclosure;
[0038] Figure 2 is a schematic diagram of a position deviation of a mobile terminal according to an embodiment of the present disclosure;
[0039] Figure 3 It is a structural diagram of a network detection device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
[0041] It should be understood that the specific embodiments and drawings described herein are only used to explain the present disclosure rather than to limit the present disclosure.
[0042] It can be understood that, in the absence of conflict, the various embodiments of the present disclosure and the various features in the embodiments can be combined with each other.
[0043] It can be understood that, for the convenience of description, the drawings of the present disclosure only show parts related to the present disclosure, while parts irrelevant to the present disclosure are not shown in the drawings.
[0044] It can be understood that each module or unit involved in the embodiments of the present disclosure may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple modules or units may be integrated into one entity structure.
[0045] It will be understood that, in the absence of conflict, the functions and steps marked in the flowcharts and block diagrams of the present disclosure may occur in an order different from that marked in the drawings.
[0046] It is understood that the flowcharts and block diagrams of the present disclosure illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present disclosure. Each box in the flowchart or block diagram may represent a module, unit, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.
[0047] It can be understood that the modules and units involved in the embodiments of the present disclosure can be implemented by software or hardware, for example, the modules and units can be located in a processor.
[0048] In order to facilitate the understanding of the present disclosure, the main inventive concept and beneficial effects of the present disclosure are firstly explained by comparing two network detection methods in the prior art.
[0049] With the continuous development of communication networks, users have higher and higher requirements for network quality. However, traditional network optimization methods only consider the performance parameters of network equipment and cannot meet user needs well. In the process of network problem diagnosis, common mobile communication network problem diagnosis technologies include the following:
[0050] 1) Network problem detection based on the network side:
[0051] Based on the sensors, agents and monitors in the network, information about network status, performance and availability is collected in real time, and key performance parameters of the network are tracked, such as latency, packet loss rate, bandwidth utilization, signal strength, etc. The system analyzes the network operation status based on these data, detects problems and anomalies, and generates alarm notifications.
[0052] The specific steps are as follows: ① Deploy monitoring agents and sensors: Deploy monitoring agents and sensors at key locations in the network to monitor key performance parameters in real time; ② Data collection: Monitoring devices regularly collect performance data, such as measuring network latency, packet loss rate or traffic statistics; ③ Data analysis: The collected data is transmitted to the analysis system, and the system analyzes the data in real time to detect anomalies; ④ Generate alarms: If the system detects a problem or anomaly, an alarm notification will be generated to notify the network administrator.
[0053] There are the following disadvantages: ① Unable to reflect the actual user experience: The monitoring method based on the network side mainly focuses on the network infrastructure and performance parameters, but cannot directly reflect the actual user experience. The superiority of network parameters does not necessarily translate into user satisfaction; ② Unable to detect terminal device problems: If there is a problem with the user's device, it may affect their network experience, but this cannot be detected through network-side monitoring; ③ Unable to capture specific application performance problems: For example, in the case of video streaming freezes or VoIP (Voice over Internet Protocol) call quality issues, it is impossible to gain in-depth understanding of the performance problems of specific applications, which usually require user-side monitoring to be effectively discovered.
[0054] 2) Network problem detection based on the user side:
[0055] Through various measurement tools or applications, with terminal devices (e.g., smartphones, tablets) as agents, data related to network performance is collected regularly through network testing, road testing, etc. Or, with the voluntary participation of users in data collection (or with the permission of users), network data is collected proactively on the user side by installing software on the user side, implanting SDK (Software Development Kit), etc. Comprehensively analyze the collected data, conduct professional analysis on network connection speed, stability, delay, packet loss rate, application performance, etc., and detect network problems.
[0056] After the problem is discovered, the network is optimized through signal coverage optimization (such as optimizing the signal coverage range by adjusting the antenna direction, angle and height of the base station to ensure that the signal can cover the required area while avoiding excessive overlap and gaps of the signal), load balancing (for multi-base station networks, users are reasonably allocated to connect to each base station so that the load of each base station in the network is relatively balanced to avoid overloading of some base stations and affecting the overall performance), and capacity optimization (for high-load areas, measures are taken to expand network capacity, such as increasing the number of base stations, increasing the number of cells, introducing micro base stations, etc.).
[0057] There are the following disadvantages: ① Real-time performance cannot be guaranteed: When conducting network testing and road testing, a large amount of human resources are required, and due to the complexity of the roads, it is impossible to complete the network data collection of the entire network in a short time, and there are major problems in real-time performance; ② User participation is required: Some user-side monitoring methods require active user participation, but in large-scale networks, the user's active participation is limited, and accurate user-side data cannot be obtained. ③ May be restricted by applications and devices: Some applications may not be able to provide detailed performance information, or the device may be restricted and unable to accurately measure performance parameters, which will lead to inconsistency of user-side data and affect the subsequent network problem diagnosis results.
[0058] Based on this, the present disclosure provides a new method for network fault detection, which uses the accurate location of the mobile terminal, predicts the deviation distance of the terminal (predicted location), and calculates the deviation distance of the terminal through an algorithm, calculates the error between the deviation threshold, the actual location, and the predicted deviation distance, and determines the network problem area. By utilizing the timeliness of the terminal data, an efficient and comprehensive means of locating network problems is provided, which has broad application prospects in practical applications, is expected to further improve the quality of network communications and user experience, and contribute to the technical development of the mobile communications field.
[0059] The terminal used in the present disclosure is a mobile terminal, including but not limited to drones and vehicles. In the subsequent description, the drone terminal is the main research object. According to the actual flight arrival position of the drone during flight, it is judged that an error occurs if it is inconsistent with the scheduled flight route. The error may be caused by the inability to update the position in time due to poor network signals, and the drone flies at a high speed, resulting in errors. For example, in remote areas, vehicle navigation will produce errors due to poor signals.
[0060] Compared with the prior art, the present invention has the following advantages:
[0061] 1) Effective improvement of real-time performance: Traditional network optimization methods may have a trade-off problem between real-time performance and accuracy. However, the present invention obtains the physical data and interaction data of terminal devices in real time, predicts the predicted location of the terminal through modeling, and combines it with the real-time location, thereby combining real-time performance with accuracy, and can more accurately monitor and locate network problems.
[0062] 2) Automated diagnosis and improved accuracy: The present disclosure realizes automated diagnosis and location of network problems by calculating the deviation threshold. Moreover, the present disclosure not only considers a single geographical scenario, but also takes into account the task scenario indicators. By comprehensively analyzing multi-dimensional indicators, the deviation threshold can be evaluated more comprehensively, which is of great help in improving the accuracy.
[0063] Embodiment 1:
[0064] like Figure 1 As shown, the present disclosure provides a network detection method, the method comprising:
[0065] S1. Obtain the following conditions: the mobile terminal moves according to the first planned path and exchanges data with the network devices along the way during the movement;
[0066] S2, obtaining first location information actually reached by the mobile terminal, the first location information being obtained based on interaction data between the mobile terminal and a network device passed through;
[0067] S3. Determine the network status of the network devices along the route according to the deviation of the first location information from the first planned path.
[0068] In this embodiment, a mobile terminal moves along a planned path, and exchanges data with network devices along the way during the movement. The actual position of the mobile terminal is obtained through the interacted data, and the network status of the network devices along the way is judged based on the deviation between the actual position and the planned path. This is a new network detection method.
[0069] Combined with a specific scenario of drone implementation, this embodiment is described as follows:
[0070] like Figure 2 As shown, the flight path of the drone is first planned. The path has a clear channel center. In theory, the drone should fly according to the channel center, but there will be deviations in practice. Therefore, the main inventive idea of this embodiment is to obtain the real-time position c of the drone (the actual position reached by the drone), compare its deviation from the center point corresponding to the channel center, especially the deviation from the predicted positions a and b on both sides of the center point. When the deviation is greater than a certain threshold, it means that the data interacting with the network device during the flight of the drone affects the accuracy of the first position information, and it can be judged that the network status of the network device is abnormal.
[0071] In one embodiment, the mobile terminal specifically includes a drone or a vehicle.
[0072] In this embodiment, although a drone is used as an example for specific illustration, it is not difficult to understand that the method of this embodiment can also be implemented by using vehicle navigation, and this embodiment does not exclude the existence of other possible mobile terminal solutions.
[0073] In one implementation, in S1, the mobile terminal moves according to the first planned path and exchanges data with the network devices along the way during the movement, specifically including:
[0074] The UAV flies according to a first planned path, the first planned path includes a planned channel centerline, and can locate the planned channel center points that should be reached at multiple time nodes in the planned channel centerline;
[0075] During the flight, the UAV controls the flight of the UAV by exchanging flight control data with the communication base stations along the way, so as to arrive near the center points of the N corresponding planned routes at the N first time nodes, or,
[0076] During the flight, the UAV arrives near the center points of N corresponding planned routes at N first time nodes, and exchanges time and position data with the communication base stations along the way at N first time nodes.
[0077] In this embodiment, the first planned path can be Figure 2 As shown, Figure 2 A channel center point is shown in the figure. It is not difficult to understand that the planned path is formulated according to the actual mission of the UAV flight, which is more complicated than shown in the figure. Multiple channel center points can be selected as location reference points for network detection, and these points correspond to the network service coverage of the network equipment. The data exchanged between the UAV and the network equipment can be specifically interactive flight control data. If there is a network failure, such as a large network delay, uplink and downlink data congestion, etc., then the actual flight position of the UAV will be difficult to meet the planning requirements, and the deviation will indicate the network status; or the UAV itself controls itself to fly according to the plan, and can load the first planned path on itself, and configure the timing and positioning functions, etc. At this time, the UAV and the base station directly exchange the current UAV's time and position data. If the network is congested, the time difference between sending and receiving data between the base station and the UAV will become larger, which will lead to a deviation between the actual location data and the predicted location data.
[0078] In one implementation, S2, obtaining first location information actually reached by the mobile terminal, the first location information being obtained based on data exchanged between the mobile terminal and a network device passed through, specifically includes:
[0079] The communication base station passed by sends a sensing signal to the UAV at N first time nodes to obtain the current flight position data of the UAV. The flight of the UAV is controlled by exchanging flight control data with the communication base station passed by; or,
[0080] The UAV actively sends its current flight position data to the communication base stations it passes through at N first time nodes, and the communication base stations it passes through record the N second time nodes at which the current flight position data is received; or,
[0081] The communication base station passed by sends a request to obtain the current flight position data to the drone at N first time nodes, and the drone sends its own current flight position data to the communication base station passed by at N third time nodes based on the received acquisition request.
[0082] In this embodiment, in the scheme of controlling the flight of the drone through the base station, the base station can sense the position of the drone, and then obtain the deviation between the actual position of the drone and the expected position. In all schemes, the position data can be exchanged through direct communication between the drone and the base station. The time difference between the sending and receiving of the position data itself also reflects the quality of the network status to a certain extent. If the scheme is to control the flight of the drone through the base station, it also includes the impact of the network status quality on the flight of the drone during the control process. The exchange of position data between the drone and the base station can be initiated by the drone or by the base station. For example, when the drone arrives near the designated center point of the planned waterway at the specified time, it actively sends its current position to the base station, and the base station records the receiving time after receiving it.
[0083] In one implementation, S3, judging the network status of the network device passed through according to the deviation of the first location information from the first planned path, specifically includes:
[0084] Acquire a first network device that the mobile terminal is currently passing through, and acquire M planned channel center points in a first planned path of the mobile terminal within the coverage of the first network device;
[0085] Obtain M predicted position ranges corresponding to the M planned channel center points, where the predicted position range is a range around the corresponding planned channel center point that is smaller than a first allowable deviation range, where the first allowable deviation range is a deviation range caused by normal fluctuations when network devices transmit data;
[0086] In response to the K (K∈M) first location information deviating from the corresponding K predicted location ranges by more than a second allowable deviation range, the network status of the first network device is determined to be abnormal, and the second allowable deviation range is the deviation range caused by the current mobile scenario of the mobile terminal.
[0087] In this embodiment, when the deviation exceeds the allowable range, it is determined that the network status of the network device is abnormal. The allowable deviation range mainly comes from two aspects. On the one hand, the network device will have normal network fluctuations. On the other hand, the mobile terminal has specific mobile scenarios. For example, the flight of a drone will be affected by factors such as weather, and the driving of a vehicle will be affected by road traffic conditions, etc., so a certain deviation needs to be allowed. For the determination of abnormal network status of the same network device, multiple deviation results are combined to achieve it. The multiple deviation results can come from multiple measurements of a mobile terminal, or from measurements of multiple mobile terminals, so as to improve the accuracy of the judgment.
[0088] In one embodiment, obtaining M planned channel center points of a first planned path of a mobile terminal within the coverage area of a first network device specifically includes:
[0089] In response to the flight of the UAV being controlled by exchanging flight control data with a communication base station along the way, and acquiring the current flight position data of the UAV by sending a perception signal to the UAV at M first time nodes through the communication base station, acquiring the M planned channel center points that should be reached by the M first time nodes in the first planned path; or,
[0090] In response to receiving the current flight position data of the drone itself actively sent at M first time nodes through the communication base station, and obtaining the M second time nodes recorded by the communication base station at which the current flight position data is received, obtaining the M planned channel center points that should be reached by the M second time nodes in the first planned path; or,
[0091] In response to receiving the current flight position data of the drone itself sent by the communication base station based on the M third time nodes receiving the acquisition request, and the acquisition request is sent by the communication base station to the drone at the M first time nodes, the M planned channel center points that should be reached by the M first time nodes in the first planned path are obtained.
[0092] In this embodiment, if the flight of the drone is controlled by exchanging flight control data with the communication base station along the way, the deviation result may be closer to Figure 2 In the state shown, the real-time position c of the drone deviates to both sides of the range allowed by the planned route. If the main position deviation comes from the influence of time, it may be that the current position of the drone obtained lags behind the predicted position range.
[0093] In one embodiment, before obtaining the M predicted position ranges corresponding to the M planned waterway center points that should be reached, the method further includes:
[0094] In response to the mobile terminal moving according to the second planned path, acquiring second location information of the mobile terminal and network status data of the network devices passed by;
[0095] In response to the network status data of the passed network device being normal, a first allowable deviation amplitude is acquired according to the second location information and the second planned path.
[0096] In one embodiment, in response to the deviation of the K (K∈M) first position information from the corresponding K predicted position ranges exceeding a second allowable deviation range, the method further includes:
[0097] The second allowable deviation range is obtained according to the geographical scenario, mission scenario, and environmental factors in which the mobile terminal is currently moving.
[0098] In this embodiment, a complete and detailed implementation process of the new network fault detection method is given below:
[0099] 1) Obtain the physical data and interaction data of the terminal within a certain time interval. According to the terminal in the area within a certain time interval, the terminal physical data collected by the base station side and the service interaction data between the terminal and the base station are used to determine the historical data of the terminal. This step is performed to obtain the first allowable deviation range. Specifically, it is performed by collecting the terminal flying according to the second planned path and obtaining the physical data and interaction data during the flight, which are used as the basis for obtaining the following example. Figure 2 Historical data for the forecasted locations a and b are shown.
[0100] The physical data is divided into two parts: ① the terminal physical data determined by the base station through the sensing function of the terminal's position, posture (a general term for flight speed, flight altitude, flight direction, etc.) and other information, and ② the terminal's route planning data. The interactive data is the interactive data between the terminal and the base station during the use of the network when the base station provides network services to the terminal through the communication function.
[0101] Furthermore, the terminal physical data includes: the location, flight speed, flight altitude, flight direction, etc. of the terminal. The location may be in the form of longitude and latitude. The flight speed, flight altitude, and flight direction may be data obtained after the base station sends a perception signal to the target (the terminal), receives and processes the perception echo signal reflected by the target, and performs perception measurement and estimation. The route planning data is the terminal's artificial (or through an intelligent planning system) planning of the terminal's flight route before performing a task. The data (first location information) is represented in the form of a triple (A, B, C), where A, B, and C represent longitude, latitude, and altitude, respectively. The data is a plurality of triplets, which are sequentially connected to form a flight route. The interaction data is the network status data on the terminal side after the terminal accesses the base station network, mainly including key indicators such as network delay.
[0102] 2) Determine the terminal deviation data based on the physical data and interaction data of the terminal
[0103] In the physical data, the initial position of the terminal is the starting point, the flight direction is the starting direction, and the flight altitude is the starting altitude (take off before taking off, and start level flight after reaching the specified altitude).
[0104] When the terminal is flying at a constant speed, the base station will actively sense the terminal within a fixed time interval (for example, 1s) and determine the latest physical data of the terminal. If the network is in a normal state, the above time interval will remain fixed. If the network is in an abnormal state or there are network problems in the area where the terminal is located (for example, poor regional network coverage), the network delay will increase, causing the above time interval to change. The more obvious the network problem is, the longer the above time interval will be, and the corresponding physical data will be untimely updated.
[0105] Assuming that at the same altitude, when the terminal is flying at a constant speed, each position (X, Y, Z) of the terminal can be determined in turn according to the starting point and the flight direction, where X, Y, and Z represent the actual longitude, latitude, and altitude of the terminal, respectively. Furthermore, in the flight route determined by the route planning data (A, B, C), the error between the actual flight and the planned flight is calculated for each (X, Y, Z). The causes of the error include network problems, the most common of which is poor signal, and other problems, such as high load on the base station. It should be noted that when calculating the error, since the actual flight position (a drone position information located by the base station) is a point and the planned route is a line (that is, a straight line formed by the two planned route points closest to the flight position point), the error is the shortest distance from the point to the straight line.
[0106] In the process of calculating the distance, the coordinates of the foot of the perpendicular (A1, B1, C1) can be determined according to the calculation formula of the coordinates of the foot of the perpendicular from a point in space to a straight line. Furthermore, the shortest deviation data between the actual flight point (X1, Y1, Z1) and the planned route can be determined by calculating the distance between the two points. The calculation formula is as follows:
[0107]
[0108] During the flight of the terminal, the base station will update the above physical data in real time, and the corresponding (X n , Y n , Z n ) flight position points, thus generating D1, D2...D n Deviation data.
[0109] 3) Establishing a terminal position deviation prediction model based on the terminal's interaction data and deviation data, and predicting the real-time deviation data
[0110] According to the terminal's interactive data and deviation data during flight, a terminal position deviation prediction model is established, and the terminal's real-time deviation data is predicted. This step is to obtain the first allowable deviation range, that is, to obtain the possible predicted position range of the drone when the network status is normal, that is, the position of the maximum normal deviation.
[0111] For example, the terminal's network delay data is used as the model's input parameter x1, the terminal's network uplink rate is used as the model's input parameter x2, the terminal's network downlink rate is used as the model's input parameter x3, and the terminal's actual deviation is used as the model's input label y to establish a terminal position deviation prediction model. During the algorithm training process, after multiple rounds of algorithm iterations, the optimal parameters are selected as the model's final parameters, and the corresponding model is the terminal position deviation prediction model. The algorithm model can be a traditional tree model, such as XGBoost, Lightgbm, CatBoost, etc.
[0112] Specifically, x1 can be optimized according to the different degrees of influence of different network delays on the network in actual network scenarios. For example, when the network delay of x1 is less than 5ms (or 10ms or the like, adjusted according to the actual situation), it means that the network is in a normal state. At this time, x1 will not affect the terminal deviation, and x1 can be directly set to 5ms. If the network delay is too large, the drone may not fly as planned, or the drone may fly as planned, but the information fed back by the base station is too slow, resulting in the observed drone position deviation. The two descriptions are equivalent.
[0113] Correspondingly, x2 and x3 can also be adjusted according to the actual situation. A principle should be followed during the adjustment: after the indicator threshold under the current network status has been determined, if the indicator is less than / greater than the threshold (see the definition, the smaller the delay is, the better) and will not cause any impact on the terminal's network interaction, the indicator can be adjusted to the threshold size. On the contrary, if it will affect the terminal's network interaction, it cannot be adjusted. In addition, if the indicator is much smaller than / greater than the threshold, and any impact on the terminal's network interaction has no longer changed, for example, when the network delay is 500ms, the network has obvious problems at this time, and further increase will not cause a greater impact on the current status of network interaction. At this time, the indicator greater than 500ms can be adjusted to 500ms. The network indicators with the same network parameters in different scenarios may not be exactly the same, depending on the scenario and business conditions.
[0114] The logic here is: not limited to a fixed theoretical value, but the threshold should be adjusted according to the actual situation. The adjustment basis is the interaction between the terminal and the network, that is, the network experience of the user terminal. If the experience is good (that is, it will not cause any impact), it can be adjusted.
[0115] According to the above model, the current network delay, network uplink rate, and network downlink rate of the terminal are input into the model to predict the real-time deviation data of the terminal.
[0116] 4) Obtain the geographic scene data and terminal task data and determine the deviation threshold
[0117] Depending on the different tasks performed by the terminal and the different scenarios during the flight, the safe distance settings for flight are also different and can be calculated using the following formula:
[0118]
[0119] Where D is the deviation threshold in different scenarios, λ is the weight coefficient in different scenarios, and W z is the weight of the current terminal and load (unit: kg), W b is the standard weight of the terminal and its load (unit: kg), V is the theoretical flight speed of the terminal (i.e. the speed of normal uniform flight, unit: m / s), T is the safe flight time of the terminal under the 4 / 5G base station (unit: second), and α is the uniform deviation constant (i.e. the uniform value under different cities, different terminals, different altitudes, etc., which can be positive or negative).
[0120] Furthermore, the scenario is a geographical scenario during the flight of the terminal, including but not limited to: mountainous areas, parks, villages, cities, lakes, etc., and can also be a mission scenario performed by the terminal, including but not limited to: video shooting, live broadcast, monitoring patrol, emergency communication, etc. Due to different scenarios, the safety distance of the terminal will also be different. The corresponding deviation threshold will be determined according to the scenario. Specifically, the above D value can be multiplied by the corresponding weight coefficient.
[0121] Specifically, taking different geographical scenarios under a fixed task as an example, the corresponding weight coefficients under different scenarios are shown in Table 1 as follows:
[0122] Table 1 Examples of weight coefficients in different geographical scenarios
[0123]
[0124] Taking different mission scenarios under fixed geography as an example, the corresponding weight coefficients under the corresponding mission scenarios are shown in Table 2 as follows:
[0125] Table 2 Examples of weight coefficients in different task scenarios
[0126]
[0127] Among them, the weight coefficient can take an intermediate value according to the actual situation. For example, in the urban business district scenario, the weight coefficient is 0.4-0.6. If the business district is densely populated, the weight coefficient can take the minimum value of 0.4. If it is sparse, the weight coefficient can take the maximum value of 0.6. Similarly, in the emergency communication scenario, emergency tasks must be given priority, and the weight coefficient can be adjusted from 1 to 1.5 according to the urgency of the task.
[0128] 5) Based on the predicted deviation data and real-time location of the terminal, if the deviation threshold is exceeded, it is determined that the network has a fault
[0129] like Figure 2 As shown, the predicted position of the terminal is determined based on the predicted deviation data, with the planned flight path of the terminal as the reference. Under normal circumstances, if the direction is uncertain, there will be predicted positions a and b in the left and right directions. That is, it is equivalent to using predicted positions a and b to represent the edge of the predicted position range, that is, the possible maximum deviation position when only considering normal network fluctuations.
[0130] The real-time position of the terminal is c, with the real-time position c as the starting point and the deviation threshold as the radius R. If the predicted position a (or predicted position b) falls within the formed circle, the predicted deviation data will not be marked as a problem, indicating that the network status of the terminal real-time position is normal within the deviation threshold. Otherwise, the predicted deviation data will be marked as a problem point, indicating that the network status of the terminal real-time position exceeds the deviation threshold and is abnormal. Taking into account network fluctuations, positions within a certain range are counted as planned positions. In addition, the planned path defaults to the center of the waterway, but due to factors such as strong winds and thunderstorms, there will be certain deviations and it may not always be in the center of the waterway.
[0131] It should be noted that the predicted deviation data is a value, which indicates the distance from the most midpoint of the terminal's theoretical flight path to the predicted flight position; the terminal's real-time position is the position reported by the terminal during actual flight. The planned position is a theoretical value, i.e., the most midpoint of the terminal's theoretical flight path described in the text. There is an error between the predicted position and the theoretical value, i.e., the predicted deviation data mentioned in the text.
[0132] Furthermore, when three marked problem points appear consecutively in the predicted deviation data, that is, three consecutive real-time positions exceed the predicted positions by too much, it is determined that there is a problem with the network here, and network optimization personnel can be arranged to perform network detection and optimization on the base stations near this point.
[0133] In summary, this embodiment proposes a new method for network fault detection, which uses the network data and physical data of the terminal to establish a model to predict the deviation data of the terminal, and determines the network problem area by comparing the error between the predicted deviation data, the actual location data, and the deviation threshold data. By utilizing the timeliness of the terminal data, an efficient and comprehensive means of locating network problems is provided, which has broad application prospects in practical applications, is expected to further improve the quality of network communications and user experience, and contribute to the technological development in the field of mobile communications.
[0134] Embodiment 2:
[0135] like Figure 3 As shown, the present disclosure provides a network detection device, the device comprising:
[0136] The condition acquisition module 1 is used to acquire the following conditions: the mobile terminal moves according to the first planned path and exchanges data with the network devices passed by during the movement;
[0137] The location acquisition module 2 is connected to the condition acquisition module 1 and is used to acquire the first location information actually reached by the mobile terminal, where the first location information is acquired based on the interaction data between the mobile terminal and the network devices passed through;
[0138] The deviation judgment module 3 is connected to the position acquisition module 2 and is used to judge the network status of the network equipment passed through according to the deviation of the first position information relative to the first planned path.
[0139] In this embodiment, the device may specifically be: a computer device independently arranged outside the mobile terminal and the network device, a computer device arranged on the mobile terminal or the network device, or a whole consisting of a mobile terminal and a computer device arranged outside the mobile terminal, etc.
[0140] In one embodiment, the mobile terminal specifically includes a drone or a vehicle.
[0141] In one implementation, the condition acquisition module 1 specifically includes:
[0142] A planned flight unit is used for the UAV to fly according to a first planned path, the first planned path includes a planned channel centerline, and can locate the planned channel center points that should be reached by multiple time nodes in the planned channel centerline;
[0143] The data exchange unit is connected to the flight planning unit and is used to:
[0144] During the flight, the UAV controls the flight of the UAV by exchanging flight control data with the communication base stations along the way, so as to arrive near the center points of the N corresponding planned routes at the N first time nodes, or,
[0145] During the flight, the UAV arrives near the center points of N corresponding planned routes at N first time nodes, and exchanges time and position data with the communication base stations along the way at N first time nodes.
[0146] In one embodiment, the location acquisition module 2 specifically includes:
[0147] A position sensing unit is used for the communication base station passing by to send a sensing signal to the UAV at N first time nodes to obtain the current flight position data of the UAV, and the flight of the UAV is controlled by exchanging flight control data with the communication base station passing by; or,
[0148] A position receiving unit is used for the UAV to actively send its own current flight position data to the communication base station it passes through at N first time nodes, and the communication base station it passes through records the N second time nodes at which the current flight position data is received; or,
[0149] The position request unit is used for the communication base station passing by to send a request for obtaining the current flight position data to the drone at N first time nodes, and the drone sends its own current flight position data to the communication base station passing by at N third time nodes based on the received acquisition request.
[0150] In one embodiment, the deviation judgment module 3 specifically includes:
[0151] A waypoint acquisition unit, used to acquire a first network device that the mobile terminal is currently passing through, and to acquire M planned channel center points in a first planned path of the mobile terminal within the coverage of the first network device;
[0152] A prediction range unit, connected to the waypoint acquisition unit, is used to obtain M predicted position ranges corresponding to the M planned channel center points, where the predicted position range is a range around the corresponding planned channel center point that is smaller than a first allowable deviation range, where the first allowable deviation range is a deviation range caused by normal fluctuations when the network device transmits data;
[0153] An abnormality identification unit is connected to the prediction range unit and is used to determine that the network status of the first network device is abnormal in response to the deviation of K (K∈M) first position information from the corresponding K prediction position ranges exceeding a second allowable deviation range, where the second allowable deviation range is the deviation range caused by the current mobile scenario of the mobile terminal.
[0154] In one embodiment, the waypoint acquisition unit specifically includes:
[0155] A first waypoint acquisition unit is used to obtain M planned channel center points that should be reached by the M first time nodes in the first planned path in response to the fact that the flight of the UAV is controlled by exchanging flight control data with the communication base station passed by, and the communication base station sends a perception signal to the UAV at M first time nodes to obtain the current flight position data of the UAV; or,
[0156] A second waypoint acquisition unit is used to respond to receiving the current flight position data of the drone itself actively sent at the M first time nodes through the communication base station, and acquiring the M second time nodes recorded by the communication base station at which the current flight position data is received, and acquire the M planned channel center points that the M second time nodes in the first planned path should reach; or,
[0157] The third waypoint acquisition unit is used to respond to the current flight position data of the drone itself sent by the communication base station based on the M third time nodes receiving the acquisition request, and the acquisition request is sent by the communication base station to the drone at the M first time nodes, and obtain the M planned channel center points that should be reached at the M first time nodes in the first planned path.
[0158] In one embodiment, the prediction range unit further includes a history detection unit, which is used to:
[0159] In response to the mobile terminal moving according to the second planned path, acquiring second location information of the mobile terminal and network status data of the network devices passed by;
[0160] In response to the network status data of the passed network device being normal, a first allowable deviation amplitude is acquired according to the second location information and the second planned path.
[0161] In one embodiment, the abnormality identification unit further includes a moving scene unit, which is used to:
[0162] The second allowable deviation range is obtained according to the geographical scenario, mission scenario, and environmental factors in which the mobile terminal is currently moving.
[0163] Embodiment 3:
[0164] Embodiment 3 of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the network detection method as described in Embodiment 1 or the network detection device as described in Embodiment 2 is implemented.
[0165] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program elements or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
[0166] In addition, the present disclosure may also provide a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the network detection method as described in Example 1. The computer device may be the network detection device as described in Example 2.
[0167] The memory is connected to the processor, the memory may be a flash memory or a read-only memory or other memory, and the processor may be a central processing unit or a single-chip microcomputer.
[0168] Embodiments 1-3 of the present disclosure provide a network detection method, a network detection device, and a computer-readable storage medium. A mobile terminal moves along a planned path, exchanges data with network devices along the way during the movement, obtains the actual position of the mobile terminal through the exchanged data, and judges the network status of the network devices along the way based on the deviation between the actual position and the planned path. This is a new network detection method.
[0169] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.
Claims
1. A network detection method, characterized in that: The method comprises: The following conditions are obtained: the mobile terminal moves according to the first planned path and exchanges data with the network devices passed by during the movement; Acquire first location information actually reached by the mobile terminal, where the first location information is obtained based on interaction data between the mobile terminal and a network device passed through; The network status of the network devices along the way is determined based on the deviation of the first location information from the first planned path.
2. The method according to claim 1, characterized in that The mobile terminal specifically includes a drone or a vehicle.
3. The method according to claim 2, characterized in that The mobile terminal moves according to the first planned path and exchanges data with the network devices along the way during the movement, specifically including: The UAV flies according to a first planned path, the first planned path includes a planned channel centerline, and can locate the planned channel center points that should be reached at multiple time nodes in the planned channel centerline; During the flight, the UAV controls the flight of the UAV by exchanging flight control data with the communication base stations along the way, so as to arrive near the center points of the N corresponding planned routes at the N first time nodes, or, During the flight, the UAV arrives near the center points of N corresponding planned routes at N first time nodes, and exchanges time and position data with the communication base stations along the way at N first time nodes.
4. The method according to claim 3, characterized in that Acquiring first location information actually reached by the mobile terminal, where the first location information is obtained based on interaction data between the mobile terminal and the network device passed through, specifically including: The communication base station passed by sends a sensing signal to the UAV at N first time nodes to obtain the current flight position data of the UAV. The flight of the UAV is controlled by exchanging flight control data with the communication base station passed by; or, The UAV actively sends its current flight position data to the communication base station it passes through at N first time nodes, and the communication base station it passes through records the N second time nodes at which the current flight position data is received; or, The communication base station passed by sends a request to obtain the current flight position data to the drone at N first time nodes, and the drone sends its own current flight position data to the communication base station passed by at N third time nodes based on the received acquisition request.
5. The method according to any one of claims 1 to 4, characterized in that: Determining the network status of the network device along the path according to the deviation of the first location information from the first planned path specifically includes: Acquire a first network device that the mobile terminal is currently passing through, and acquire M planned channel center points in a first planned path of the mobile terminal within the coverage of the first network device; Obtain M predicted position ranges corresponding to the M planned channel center points, where the predicted position range is a range around the corresponding planned channel center point that is smaller than a first allowable deviation range, where the first allowable deviation range is a deviation range caused by normal fluctuations when network devices transmit data; In response to the K (K∈M) first location information deviating from the corresponding K predicted location ranges by more than a second allowable deviation range, the network status of the first network device is determined to be abnormal, and the second allowable deviation range is the deviation range caused by the current mobile scenario of the mobile terminal.
6. The method according to claim 5, characterized in that Acquiring M planned channel center points of a first planned path of a mobile terminal within the coverage area of a first network device specifically includes: In response to the flight of the UAV being controlled by exchanging flight control data with a communication base station along the way, and acquiring the current flight position data of the UAV by sending a perception signal to the UAV at M first time nodes through the communication base station, acquiring the M planned channel center points that should be reached by the M first time nodes in the first planned path; or, In response to receiving the current flight position data of the drone itself actively sent at M first time nodes through the communication base station, and obtaining the M second time nodes recorded by the communication base station at which the current flight position data is received, obtaining the M planned channel center points that should be reached by the M second time nodes in the first planned path; or, In response to receiving the current flight position data of the drone itself sent by the communication base station based on the M third time nodes receiving the acquisition request, and the acquisition request is sent by the communication base station to the drone at the M first time nodes, the M planned channel center points that should be reached by the M first time nodes in the first planned path are obtained.
7. The method according to claim 5, characterized in that Before obtaining the M predicted position ranges corresponding to the M planned waterway center points that should be reached, the method further includes: In response to the mobile terminal moving according to the second planned path, acquiring second location information of the mobile terminal and network status data of the network devices passed by; In response to the network status data of the passed network device being normal, a first allowable deviation amplitude is acquired according to the second location information and the second planned path.
8. The method according to claim 5, characterized in that In response to the K (K∈M) first position information deviating from the corresponding K predicted position ranges by more than a second allowable deviation amplitude, the method further includes: The second allowable deviation range is obtained according to the geographical scenario, mission scenario, and environmental factors in which the mobile terminal is currently moving.
9. A network detection device, characterized in that: The device comprises: The condition acquisition module is used to acquire the following conditions: the mobile terminal moves according to the first planned path and exchanges data with the network devices passed by during the movement; A location acquisition module, connected to the condition acquisition module, for acquiring first location information actually reached by the mobile terminal, the first location information being acquired based on data exchanged between the mobile terminal and the network devices passed through; The deviation judgment module is connected to the position acquisition module and is used to judge the network status of the network equipment passed through according to the deviation of the first position information relative to the first planned path.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the network detection method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Locomotive communication equipment monitoring method, device and system
CN113347566A
Flight control method and device, cloud platform and storage medium
CN115145302A
Path planning method and related device
CN117555340A
Network optimization method and device and readable storage medium
CN118075779A
Intelligent detection data acquisition method and device, electronic equipment and storage medium
CN118473092A
