A network base station position detection method and related device
By extracting PCI data clusters from network measurement data and applying clustering algorithms and triangular centroid positioning methods, the problem of difficulty in obtaining the location of 5G base stations in different networks was solved, and fast and accurate base station positioning was achieved.
Patent Information
- Application Number
- CN202611438608.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-16
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, the location of 5G base stations in different networks is difficult to obtain accurately, resulting in low efficiency in network planning and optimization.
By acquiring network measurement data, PCI data clusters are extracted using the modulo 3 principle, outliers are filtered out using a clustering algorithm, and the data is divided into three PCI sub-data clusters. The coverage center is calculated, the best and worst signal points are determined, and the base station location is located based on the centroid of the triangle.
It enables automatic identification of the location of 5G base stations on different networks, improving positioning speed and accuracy.
Smart Images

Figure CN123185657A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communications, and more specifically to a method and related equipment for detecting the location of a network base station. Background Technology
[0002] Currently, with the rapid deployment of 5G networks, competition among operators is intensifying, making it crucial to understand and master competitors' network deployments. Existing 5G network planning and management primarily rely on known base station location information. However, in actual operation, the specific locations of base stations on other networks are often confidential and difficult to obtain directly. Operators may not be able to obtain the accurate locations of all 5G base stations on other networks, posing significant challenges to network planning and optimization.
[0003] The location of 5G base stations across different networks is typically achieved manually or through information technology. During location tracking, on-site testing personnel usually use specialized equipment to manually measure the base station's location and signal strength. This equipment records signal strength, frequency, and PCI values at different locations, allowing data analysts to infer the base station's location; alternatively, it uses data such as MR data and simple algorithms (e.g., the centroid method) to estimate the base station's location. RSSI triangulation technology, on the other hand, measures the RSSI values at multiple known locations and uses changes in signal strength to calculate the location of unknown base stations.
[0004] In existing technologies, methods for obtaining the location of cross-network base stations through manual measurement or other indirect means suffer from problems such as inaccurate data and low efficiency. Summary of the Invention
[0005] In view of this, embodiments of the present invention provide a network base station location detection method and related equipment to quickly locate a target base station.
[0006] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions: A method for detecting the location of a network base station, comprising: Acquire network measurement data; PCI data clusters that meet preset conditions are extracted from the network measurement data. The preset conditions are the modulo 3 principle in mobile communication network planning. The PCI data clusters are clustered based on a clustering algorithm, and outliers are filtered out. The PCI data cluster is divided into three PCI sub-data clusters, and the coverage center of each PCI sub-data cluster is calculated. Obtain and determine whether there exists any two PCI sub-data clusters whose coverage centers are less than a preset distance. When the distance between the coverage centers of any two PCI sub-data clusters is less than the preset distance, obtain the best signal point and the worst signal point of the three PCI sub-data clusters; The signal source direction is determined based on the optimal and worst signal points corresponding to the three PCI sub-data clusters. Obtain the centroid of the triangle formed by the directions of the three signal sources, and use the centroid as the location of the target base station.
[0007] Optionally, in the above network base station location detection method, PCI data clusters that meet preset conditions are extracted from the network measurement data. These preset conditions are the modulo 3 principle in mobile communication network planning, including: Based on the frequency point information of neighboring cells in the network measurement data, frequency points of other networks are obtained by filtering. For each frequency point, duplicate latitude and longitude data are deduplicated, and RSRP and RSRQ data are retained using the median method. Extract PCI data clusters that meet preset conditions from the retained data.
[0008] Optionally, in the above-mentioned network base station location detection method, before clustering the PCI data clusters based on a clustering algorithm and filtering out outliers, the method further includes: The system iterates through the PCI data in each PCI data cluster and determines whether the number of samples in the PCI data cluster is greater than a preset value. If it is greater than the preset value, the PCI data cluster is retained and subsequent processing is performed based on the PCI data cluster. Otherwise, the system continues to iterate through the next PCI data cluster.
[0009] Optionally, in the above network base station location detection method, clustering the PCI data clusters based on a clustering algorithm includes: The DBSCAN algorithm is used to aggregate the retained PCI data clusters, and outliers are identified and filtered based on the aggregation results.
[0010] Optionally, in the above network base station location detection method, the PCI data cluster is divided into three PCI sub-data clusters, and the coverage center of each PCI sub-data cluster is calculated, including: The PCI data cluster is divided into three PCI sub-data clusters. The K-means clustering algorithm is used to re-cluster each PCI sub-data cluster to obtain the center of each re-clustered PCI sub-data cluster. This center is the coverage center of the cell of the target base station corresponding to the PCI sub-data cluster.
[0011] Optionally, in the above-mentioned network base station location detection method, when the distance between the coverage centers of any two PCI sub-data clusters is not less than a preset distance, a new PCI data cluster is selected from the PCI data clusters that meet the preset conditions, and the steps of clustering the PCI data clusters based on the clustering algorithm and subsequent steps are executed until it is detected that the distance between the coverage centers of any two PCI sub-data clusters is less than the preset distance.
[0012] Optionally, in the above network base station location detection method, obtaining the optimal and worst signal points of the three PCI sub-data clusters includes: The gradient algorithm is used to iteratively find the optimal and worst signal points of the three PCI sub-data clusters.
[0013] A network base station location detection device, comprising: The data acquisition unit is used to acquire network measurement data; The data cluster extraction unit is used to extract PCI data clusters that meet preset conditions from the network measurement data. The preset conditions are the modulo 3 principle in mobile communication network planning. Clustering unit, used to cluster the PCI data clusters based on clustering algorithms and filter out outliers; The data cluster center calculation unit is used to divide the PCI data cluster into three PCI sub-data clusters and calculate the coverage center of each PCI sub-data cluster. The data cluster filtering unit is used to obtain and determine whether there are any two PCI sub-data clusters whose coverage centers are less than a preset distance. The signal strength identification unit is used to obtain the best and worst signal points of three PCI sub-data clusters when the distance between the coverage centers of any two PCI sub-data clusters is less than a preset distance. The signal source direction calculation unit is used to determine the signal source direction based on the signal optimal point and signal worst point corresponding to the three PCI sub-data clusters; The base station positioning unit is used to obtain the centroid of the triangle formed by the directions of three determined signal sources, and to use the centroid as the location of the target base station.
[0014] A computer program product includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement any of the network base station location detection methods described above.
[0015] An electronic device includes at least one processing device and a storage device connected to the processing device, wherein: The storage device is used to store computer programs; The processing device is used to execute the computer program so that the electronic device can implement any of the network base station location detection methods described above.
[0016] The above-described solution provided in this embodiment of the invention, after acquiring network measurement data, extracts PCI data clusters from the network measurement data based on the modulo 3 principle, divides the PCI data clusters into three PCI sub-data clusters, calculates the coverage center of each PCI sub-data cluster, and when the distance between the coverage centers of any two PCI sub-data clusters is less than a preset distance, obtains the optimal and worst signal points of each PCI sub-data cluster, determines the signal source direction based on the optimal and worst signal points, identifies the centroid of the triangle formed by the three signal source directions corresponding to the three PCI sub-data clusters, and uses the centroid as the location of the target base station. This achieves automatic identification of the target base station location and improves the calculation speed of the target base station location. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating a network base station location detection method disclosed in an embodiment of this application; Figure 2 This is a schematic diagram showing the overall coverage area of a PCI data cluster corresponding to a certain inter-network base station, as well as the coverage areas of the three individual cells. Figure 3 This is a schematic diagram of the anomaly detection results; Figure 4 This is a schematic diagram illustrating the result of aggregating PCI data into clusters within a PCI data cluster. Figure 5 A schematic diagram of the cluster centers of PCI sub-data clusters; Figure 6 Schematic diagram of local optima and worst-case scenarios; Figure 7 A schematic diagram showing the centroid identification results of a triangle; Figure 8 A schematic diagram illustrating the principle of centroid recognition in a triangle; Figure 9 A schematic diagram illustrating the identification results of the optimal / worst points of the signal after Gaussian function processing; Figure 10 This is a schematic diagram of the network base station location detection device disclosed in the embodiments of this application; Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] First, let me explain some of the technical terms used in this application: 1. Density-based clustering algorithm (DBSCAN) Density-based clustering (DBSCAN) is a commonly used density-based spatial clustering algorithm. This algorithm discovers clusters of data points in high-density regions by defining two parameters (Eps and MinPts). Eps defines the maximum distance between data points, and MinPts defines the minimum number of data points a cluster must contain. DBSCAN can effectively identify clusters of arbitrary shapes and can automatically filter out noisy points. This algorithm is widely used in geographic information systems, market analysis, and image processing.
[0021] 2. K-means clustering algorithm
[0022] K-means is a classic clustering algorithm that divides data points into K clusters, such that data points within each cluster are as close as possible to the cluster center. The steps of the K-means algorithm include: randomly selecting K initial centroids, assigning data points to the nearest centroid, updating the centroid positions, and continuing until the cluster assignments no longer change or the maximum number of iterations is reached. The K-means algorithm is simple and efficient, suitable for cluster analysis of large-scale data, and has wide applications in image compression, pattern recognition, and market segmentation.
[0023] 3. Silhouette Score
[0024] The silhouette score is a metric used to evaluate the quality of clustering. It comprehensively considers the density of data points within clusters and the separation of data points between clusters. The silhouette score ranges from -1 to 1, with a higher value indicating better clustering performance. By calculating the silhouette score under different parameters, the optimal clustering parameter model can be selected. This metric plays an important role in the model selection and evaluation of clustering algorithms.
[0025] This application proposes a network base station location detection method based on network measurement report data. It utilizes network data reported by user terminals with terminal location tags (e.g., 4G MR data or 5G MDT (Minimum Road Test Data, which is not yet commercially available)). This data contains rich information, such as UE location, inter-system cell frequency, PCI (Physical Cell Identifier), RSRP (Received Signal Strength Indicator), and RSRQ (Received Signal Quality Indicator). Through deep data analysis and machine learning algorithms, unsupervised detection of inter-network base stations is performed. After necessary grouping and filtering of the data, a clustering method is used to group competing cells, and then the gradient extremum method is used to obtain the coverage direction of each cell. Finally, the center of the triangle formed by the coverage lines of co-station cells is obtained to determine the location of competing base stations.
[0026] See Figure 1 The network base station location detection method disclosed in this application includes: Step S101: Obtain network measurement data.
[0027] In this step, network measurement data is first collected within the cell to be measured. The network measurement data may include 4G MR (with location tag) / 5G MDT data. After obtaining the network measurement data, the data is cleaned to retain continuous PCI data of the same frequency across different networks.
[0028] Step S102: Extract PCI data clusters that meet preset conditions from the network measurement data. The preset conditions are the modulo 3 principle in mobile communication network planning.
[0029] In mobile communication networks, to identify the coordinates of a target base station, it is necessary to distinguish between the frequency points of the local network (the current operator's network) and other networks (other operators' networks) from the acquired network measurement data, specifically from the neighboring cell frequency point information. When the signal type of the network measurement data is a 4G or 5G signal, the neighboring cell data is filtered by pre-setting a local 4G / 5G frequency point list and an other network frequency point list to identify the other network frequency points in the acquired network measurement data. These other network frequency points are the frequency point information corresponding to the target base station. After obtaining the other network frequency points through filtering, the network measurement data with the same latitude and longitude under each frequency point are deduplicated, and the RSRP (Reference Signal Received Power) and RSRQ (Reference Signal Received Quality) are retained using the median method. Then, PCI data clusters that satisfy the modulo 3 principle in mobile communication network planning are extracted from the retained data (other network frequency points) obtained through filtering.
[0030] Any one of the PCI data points obtained from the inter-network same-frequency continuous PCI data (inter-network frequency points) is Then the PCI data of the other two cells within the same base station should be respectively +1 and +2, forming a continuous sequence. At the same time, to satisfy the condition of identical modulo 3, it is required that... mod 3=( +1) mod 3 = ( +2) mod 3, mathematically, this condition can be summarized as follows: Any PCI selected Satisfy 0≤ <1007 (based on the standard range of 5G PCI values globally). For three consecutive PCI values within the same base station. , +1, +2 is required. = +1= +2mod 3 is true.
[0031] For example, if you choose If 0 is chosen as the starting PCI, the resulting continuous PCI sequence with the same modulo 3 result is 0, 1, 2; if 0 is chosen as the starting PCI, the sequence is 0, 1, 2. If the value is 9, then the sequence is 9, 10, 11; and so on, we can obtain PCI combinations that meet the conditions, such as 126, 127, 128 or 102, 103, 104, etc. This planning strategy helps simplify network configuration and reduces potential interference by maintaining modulo 3 consistency. At the same time, by manually selecting only local network cell data within a small range, the scope of inter-network selection is indirectly narrowed, ensuring the uniqueness of PCI within this small range.
[0032] Each PCI data with the same modulo 3 is grouped to obtain the corresponding PCI data cluster, and a group identifier is established. By default, each PCI data cluster is tentatively defined as the PCI data corresponding to three cells at the same frequency and base station. After all PCI data clusters are constructed, the subsequent steps are performed.
[0033] Step S103: Cluster the PCI data clusters based on the clustering algorithm and filter out outliers.
[0034] The quantity of PCI data in the PCI data cluster directly affects the reliability of the calculation results. The more PCI data in the PCI data cluster, the more reliable the calculation results. Therefore, after obtaining multiple PCI data clusters constructed based on the same modulo 3 PCI data, this scheme can select a data group from these data clusters for subsequent processing. Specifically, it can traverse the PCI data in each obtained PCI data cluster and determine whether the number of samples in the traversed PCI data cluster is greater than a preset value (which can be 1000 or other values). If it is greater than the preset value, the PCI data cluster is retained and subsequent processing is performed based on the PCI data cluster. Otherwise, it continues to traverse the next PCI data cluster.
[0035] In wireless communication environments, each wireless cell under the same base station has a primary coverage direction, namely its main lobe direction, while also having non-main lobe areas and sporadic anomalous coverage. Therefore, the coverage area of a cell may be mainly concentrated in a certain space, but other spaces may also sporadically receive the cell's signal. Thus, this step can use the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm to aggregate and cluster PCI data in each PCI data cluster, while simultaneously identifying and distinguishing discrete points within the PCI data clusters. After filtering out anomalies, the main coverage area of the base station can be obtained.
[0036] Figure 2 This is a schematic diagram showing the overall coverage area of a PCI data cluster corresponding to a certain inter-network base station, as well as the coverage areas of the three individual cells. Depend on Figure 2 As can be seen, each cell's coverage area has a densely covered primary coverage area and non-primary coverage areas. Therefore, samples outside the primary coverage areas need to be marked as outliers and filtered out. DBSCAN outlier detection can quickly identify these outliers. Results Figure 3 As shown, Figure 3 The crosshairs identified are the outliers that need to be filtered out.
[0037] DBSCAN is a density-based clustering algorithm suitable for discovering clusters of arbitrary shapes and handling noise (i.e., outliers). DBSCAN defines clusters using eps(ε) and minPts, where eps(ε) represents the radius parameter, defining the neighborhood range around a point. minPts represents the minimum number of points required to form a cluster within the neighborhood. The basic idea of DBSCAN is: if the number of points in a point's neighborhood is greater than or equal to minPts, the point is called a "core point"; if the number of points in a point's neighborhood is less than minPts, but it lies within the neighborhood of a core point, the point is called a "boundary point"; if a point is neither a core point nor a boundary point, it is considered a noise point (outlier).
[0038] Specifically, the DBSCAN algorithm is used to aggregate and cluster PCI data in each PCI data cluster. The process includes: initializing the state of each PCI data point in the PCI data cluster to an unvisited state to ensure that each PCI data point in the PCI data cluster can be inspected and classified. Simultaneously, the parameters eps and minPts are configured, and the PCI data points in the PCI data cluster are traversed. It is checked whether there are at least minPts PCI data points within the eps neighborhood of a traversed PCI data point. If so, the point is marked as a core point. The core point can be... Figure 4 For point A in the cluster, for each core point, recursively add all density-reachable points to the cluster. This process involves checking the neighborhood points of the core point and adding them to the cluster, determining whether a neighborhood point is a core point, and if so, further expanding the cluster. If it is not a core point, it is marked as a boundary point, such as... Figure 4 In this scheme, points B and C are included in the clustering, and all core and boundary points are added to the cluster. If a point is neither a core point nor a boundary point, it is marked as an outlier. Figure 4 Point N in the middle.
[0039] After clustering PCI data in each PCI data cluster using the DBSCAN algorithm, the clustering effect can be verified using the silhouette coefficient method (silhouette_score). The silhouette coefficient method selects the optimal DBSCAN clustering parameters eps and minPts, along with their corresponding outlier groups. Specifically, in this process, the silhouette coefficient is calculated using the average intra-cluster distance (a) and average nearest cluster distance (b) of each PCI data cluster sample. The silhouette coefficient of a sample is (b - a) / max(a, b), where b is the distance between the sample and the nearest cluster to which the sample does not belong. The silhouette coefficient is defined only when the number of labels is 2 <= n_labels <= n_samples - 1. The best silhouette coefficient value is 1, and the worst value is -1. Values close to 0 indicate overlapping clusters. Negative values usually indicate that the sample was assigned to the wrong cluster. The clustering results of the DBSCAN algorithm are evaluated based on the silhouette coefficient.
[0040] Step S104: Divide the PCI data cluster into three PCI sub-data clusters and calculate the coverage center of each PCI sub-data cluster.
[0041] This application requires locating the target base station using triangulation. Therefore, the PCI data cluster needs to be divided into three PCI sub-data clusters based on the coverage area, with each PCI sub-data cluster serving as a cell. Then, each PCI sub-data cluster is re-clustered using the K-means clustering algorithm to obtain the center of each PCI sub-data cluster, which is the main coverage center of each cell in the base station at that frequency.
[0042] In this scheme, when calculating the location of the target base station, three PCI sub-data clusters are needed. The coverage center of these three PCI sub-data clusters, i.e., the centroid of the PCI sub-data clusters, needs to be calculated. After processing the PCI data clusters in step S103, the PCI data clusters are divided into three PCI sub-data clusters based on the coverage area. When calculating the coverage center of each PCI sub-data cluster, an initial cluster center is set for each PCI data cluster. The distance from each PCI data in the PCI data cluster to the initial cluster center is calculated, and the PCI data is assigned to the PCI sub-data cluster corresponding to the initial cluster center closest to it. After all PCI data are divided into corresponding PCI sub-data clusters, the cluster center of each PCI sub-data cluster is calculated. It is then determined whether the cluster center has converged. If it has converged, the cluster center is used as the coverage center of the PCI sub-data cluster. Thus, the coverage centers of the three PCI sub-data clusters can be obtained. If they have not converged, the calculated cluster center is used as the initial cluster center. The steps of calculating the distance from each PCI data in the PCI data cluster to the initial cluster center and subsequent steps are repeated until the calculated cluster center converges or the number of iterations reaches the preset number of iterations. The final cluster center is then used as the coverage center of the PCI sub-data cluster.
[0043] When calculating the cluster centers of each PCI sub-cluster, the SSE objective function (i.e., sum of squared errors) can be used. The specific formula for the SSE objective function is as follows:
[0044] Where k represents the k-th PCI sub-data cluster, and ui is the mean vector of the sub-cluster Ci, i.e., the centroid.
[0045]
[0046] When calculating the distance between each PCI data point and the centroid, the Euclidean distance method is usually used.
[0047]
[0048] If we define the center of the k-th PCI sub-cluster as Centerk, then its cluster center update method is as follows:
[0049] When the difference between two iterations of J is less than a certain threshold, i.e., ΔJ < δ, the iteration is terminated, and the resulting cluster centers are the final cluster centers. In this embodiment, the cluster centers of the three PCI sub-data clusters are as follows: Figure 5 As shown by the black dot.
[0050] Step S105: Obtain and determine whether there are any two PCI sub-data clusters whose coverage centers are less than a preset distance.
[0051] After calculating the coverage centers of the three PCI sub-data clusters, if any pairwise distance between the three coverage centers exceeds a preset distance, the coverage distance between the two cells corresponding to that distance is considered too far, which does not meet the purpose of coverage continuity for cells with the same base station and frequency. Therefore, it is necessary to repeat the step of extracting PCI data clusters that meet the preset conditions from the network measurement data, as well as subsequent steps, until it is determined that the distance between the coverage centers of any two PCI sub-data clusters is less than the preset distance.
[0052] Step S106: When the distance between the coverage centers of any two PCI sub-data clusters is less than the preset distance, obtain the optimal signal point and the worst signal point of the three PCI sub-data clusters.
[0053] In this step, when the distance between the coverage centers of any two PCI sub-data clusters is less than the preset distance, the theoretical extreme points of each PCI sub-data cluster are obtained. Specifically, the maximum (minimum) or convergent minimum (maximum) of the fitting objective function of each PCI sub-data cluster can be found through an iterative method using a gradient algorithm. The minimum and maximum values correspond to the above-mentioned optimal and worst points of the signal.
[0054] Gradient descent and gradient ascent are two commonly used optimization algorithms. Gradient descent is used to find local minima of a function, thus finding the worst point of the signal. Gradient ascent, on the other hand, is used to find local maxima, thus finding the optimal point of the signal. Therefore, the optimal and worst points of signal strength (RSRP) and signal quality (RSRQ) in each PCI sub-data cluster can be found using these two methods. Both gradient descent and gradient ascent are existing methods, and their basic principles are as follows: Gradient: The gradient is the directional derivative of a function at a point, indicating the direction in which the function value increases the most rapidly. In two dimensions, the gradient is a vector whose components are the partial derivatives of the objective function in the x and y directions.
[0055] The formula for calculating the gradient is:
[0056] Where x and y represent the coordinates of the current point. , These represent RSRP and RSRQ of the cell signal, respectively. and It is a weighting parameter used to adjust the relative importance of RSRP and RSRQ.
[0057] Gradient descent: Gradient descent gradually approaches the local minimum of a function by moving along the negative direction of the gradient. Its update formula is:
[0058] Where θ is the coordinate vector of the current point, and α is the learning rate, which controls the step size of each update.
[0059] Gradient Ascent: The gradient ascent method gradually approaches the local maximum of a function by moving along the positive direction of the gradient. Its update formula is:
[0060] Where θ is the coordinate vector of the current point, and α is the learning rate, which controls the step size of each update.
[0061] When applying gradient descent and gradient ascent methods to identify the best and worst signal points in a cell, the following methods can be used to find the local optima (best signal point) and worst signal point (worst signal point) in the spatial distribution of signal strength (RSRP) and signal quality (RSRQ): 1. Data Preparation: First, load the PCI data contained in each PCI sub-data cluster and extract the longitude, latitude, signal strength (RSRP), and signal quality (RSRQ) fields for each PCI data. Ensure the completeness and accuracy of the dataset, and handle any missing or outlier values.
[0062] 2. Initialization: An initial point is selected from each PCI sub-data cluster as the starting point of the algorithm. The initial point can be the average value of the PCI data in the PCI sub-data cluster, or it can be a randomly selected PCI data point. The choice of the initial point will affect the convergence speed and accuracy of the algorithm.
[0063] 3. Calculate the gradient: Calculate the gradients of RSRP and RSRQ of the PCI data in the latitude and longitude directions. For each PCI data point, calculate the partial derivatives of RSRP and RSRQ.
[0064] 4. Update position: Update the coordinates of the current PCI data point according to the update formulas of gradient descent and gradient ascent methods respectively.
[0065] 5. Check convergence: Repeat the steps of calculating the gradient and updating the position (steps 3 and 4) until the convergence condition is met. Typically, the convergence condition can be that the norm of the gradient is less than a certain threshold, or the update step size is less than a certain threshold.
[0066] A maximum number of iterations can be set to prevent the algorithm from getting stuck in an infinite loop. If the convergence condition is not met within the maximum number of iterations, the algorithm can be considered to have failed to find a local optimum or worst-case scenario.
[0067] 6. Record local optima and worst points as the optimal and worst points of the signal: When the algorithm converges, record the coordinates of the current point as the local optimum or worst point. Gradient descent and gradient ascent methods can be applied to all sample points respectively to find all local optima and worst points.
[0068] Ultimately, the local and global optimal or worst-case scenarios are found. The results are as follows: Figure 6 As shown: Step S107: Determine the signal source direction based on the optimal and worst signal points corresponding to the three PCI sub-data clusters.
[0069] In this step, after determining the signal optimal point and signal worst point of each PCI sub-data cluster, the direction of the line connecting the signal worst point to the signal optimal point is taken as the signal source direction. Based on the signal optimal point and signal worst point of the three PCI data clusters, three intersecting signal source directions can be obtained.
[0070] Step S108: Obtain the centroid of the triangle formed by the three determined signal source directions, and use the centroid as the location of the target base station.
[0071] The direction of a single signal source is determined based on the optimal and worst signal points corresponding to the three PCI sub-data clusters, as follows: Figure 7 Line 1, Line 2, and Line 3 in the diagram form a triangle at their intersection points. The coordinates of the intersection points are identified, and the centroid of the triangle is calculated based on these coordinates. This centroid is then used as the location of the target base station, which is also known as the inter-network base station.
[0072] This application can denote the three vertices of the triangle as A, B, and C, with coordinates of the three points as follows: , and Through formula Calculate the position of the centroid of the triangle. The calculated position of the centroid is as follows: Figure 8 As shown.
[0073] As can be seen from the above scheme, after obtaining network measurement data, this application extracts PCI data clusters from the network measurement data based on the modulo 3 principle, divides the PCI data clusters into three PCI sub-data clusters, calculates the coverage center of each PCI sub-data cluster, and when the distance between the coverage centers of any two PCI sub-data clusters is less than a preset distance, obtains the signal optimal point and signal worst point of each PCI sub-data cluster, determines the signal source direction based on the signal optimal point and signal worst point, identifies the centroid of the triangle formed by the three signal source directions corresponding to the three PCI sub-data clusters, and uses the centroid as the location of the target base station, thereby realizing the automatic identification of the target base station location and improving the calculation speed of the target base station location.
[0074] The Gaussian distribution is a common probability distribution widely used in statistics and signal processing, with the second-order Gaussian distribution being particularly suitable for smoothing data. In this embodiment, to make the calculated signal optimum and signal worst point of each PCI sub-data cluster more accurate, the signal optimum and signal worst point can be considered as a cluster. Since the latitude and longitude values of most PCI data in the cluster are Gaussian noise, Gaussian filtering is used to smooth the data and reduce the impact of this noise on the results. Gaussian filtering can be implemented by convolving the data using a Gaussian kernel function. A two-dimensional Gaussian kernel function is constructed for each point in the cluster. The parameters of the kernel function (such as the standard deviation) can be set according to the distribution characteristics of the data to obtain more accurate and reliable signal optimum and signal worst point. Specifically, this process may include: performing convolution operations on the PCI sub-data clusters with signal optimum and signal worst point as clusters using a Gaussian filtering formula to obtain smoothed data; wherein, the Gaussian filtering formula can be... σ represents the standard deviation, controlling the smoothness of the filter; x refers to the x-axis coordinate of the PCI data in the PCI sub-data cluster, and y refers to the y-axis coordinate of the PCI data in the PCI sub-data cluster. The mean of the smoothed data is calculated to obtain the center points of the PCI sub-data clusters, using the optimal and worst signal points as the cluster values. A weighted average is then performed on the PCI data in the clusters using the optimal and worst signal points as the cluster values to obtain the final optimal and worst signal points.
[0075] Specifically, the process includes: 1. Calculation of Gaussian weights; For each PCI data point ( ) and other PCI data points in its neighborhood ( ), calculate its Gaussian weights :
[0076] Here, σ is the standard deviation of the Gaussian distribution, which determines the size of the neighborhood.
[0077] 2. Weighted average; Calculate each PCI data point ( The weighted average of ) ,
[0078] The above formula yields the new coordinates of the smoothed PCI data. ).
[0079] 3. Determine the center location of the cluster; By performing a Gaussian weighted average on all PCI data points in the PCI sub-data cluster, which is clustered around the points with the best and worst signals, two center positions of the PCI sub-data cluster are obtained. This process can be understood as performing an overall weighted smoothing of the cluster latitude and longitude values, causing points affected by Gaussian noise to tend towards the center position of the cluster.
[0080] 4. Cluster center location; The center position of the cluster is obtained by taking the weighted average of the smoothed values of each PCI data point in the PCI sub-data cluster, with the best and worst signal points as the clusters. Figure 9 : , ; Where N is the number of PCI data points in the PCI sub-data clusters, which are clusters with the best and worst points of the signal.
[0081] 5. Determine the final optimal and worst signal points; The center positions of the two clusters obtained by the weighted average are taken as the final optimal and worst signal points.
[0082] This embodiment discloses a network base station location detection device. For the specific working content of each unit in the device, please refer to the content of the above method embodiment.
[0083] The network base station location detection device provided in the embodiments of the present invention is described below. The network base station location detection device described below can be referred to in correspondence with the network base station location detection method described above.
[0084] See Figure 10 The device may include: Data acquisition unit 10 is used to acquire network measurement data; The data cluster extraction unit 20 is used to extract PCI data clusters that meet preset conditions from the network measurement data. The preset conditions are the modulo 3 principle in mobile communication network planning. Clustering unit 30 is used to cluster the PCI data clusters based on a clustering algorithm and filter out outliers; The data cluster center calculation unit 40 is used to divide the PCI data cluster into three PCI sub-data clusters and calculate the coverage center of each PCI sub-data cluster. The data cluster filtering unit 50 is used to obtain and determine whether there are any two PCI sub-data clusters whose coverage centers are less than a preset distance. The signal strength identification unit 60 is used to obtain the best and worst signal points of three PCI sub-data clusters when the distance between the coverage centers of any two PCI sub-data clusters is less than a preset distance. The signal source direction calculation unit 70 is used to determine the signal source direction based on the signal optimal point and signal worst point corresponding to the three PCI sub-data clusters; The base station positioning unit 80 is used to obtain the centroid of the triangle formed by the directions of the three signal sources, and to use the centroid as the position of the target base station.
[0085] Corresponding to the above methods, this application also discloses a computer program product, including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the above-described network base station location detection methods.
[0086] Furthermore, this application also discloses an electronic device, which includes at least one processing device and a storage device connected to the processing device, wherein: the storage device is used to store a computer program; and the processing device is used to execute the computer program so that the electronic device can implement any of the above-described network base station location detection methods.
[0087] like Figure 11 As shown, Figure 11 This is a schematic diagram illustrating the specific structure of an electronic device according to an embodiment of this application. The electronic device may include a processing unit (e.g., a central processing unit) 601, which can perform various appropriate actions and processes based on a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. When the electronic device is powered on, the RAM 603 also stores various programs and data required for the operation of the electronic device. The processing unit 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0088] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, memory cards, hard drives, etc.; and communication devices 609. Communication device 609 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 11 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have instead.
[0089] For ease of description, the above system is described by dividing it into various modules based on their functions. Of course, in implementing this invention, the functions of each module can be implemented in one or more software and / or hardware components.
[0090] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0091] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0092] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0093] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0094] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for detecting the location of a network base station, characterized in that, include: Acquire network measurement data; PCI data clusters that meet preset conditions are extracted from the network measurement data. The preset conditions are the modulo 3 principle in mobile communication network planning. The PCI data clusters are clustered based on a clustering algorithm, and outliers are filtered out. The PCI data cluster is divided into three PCI sub-data clusters, and the coverage center of each PCI sub-data cluster is calculated. Obtain and determine whether there exists any two PCI sub-data clusters whose coverage centers are less than a preset distance. When the distance between the coverage centers of any two PCI sub-data clusters is less than the preset distance, obtain the best signal point and the worst signal point of the three PCI sub-data clusters; The signal source direction is determined based on the optimal and worst signal points corresponding to the three PCI sub-data clusters. Obtain the centroid of the triangle formed by the directions of the three signal sources, and use the centroid as the location of the target base station.
2. The network base station location detection method according to claim 1, characterized in that, PCI data clusters that meet preset conditions are extracted from the network measurement data. These preset conditions are based on the Modulo 3 principle in mobile communication network planning, including: Based on the frequency point information of neighboring cells in the network measurement data, frequency points of other networks are obtained by filtering. For each frequency point, duplicate latitude and longitude data are deduplicated, and RSRP and RSRQ data are retained using the median method. Extract PCI data clusters that meet preset conditions from the retained data.
3. The network base station location detection method according to claim 2, characterized in that, Before clustering the PCI data clusters based on the clustering algorithm and filtering out outliers, the following steps are also included: The system iterates through the PCI data in each PCI data cluster and determines whether the number of samples in the PCI data cluster is greater than a preset value. If it is greater than the preset value, the PCI data cluster is retained and subsequent processing is performed based on the PCI data cluster. Otherwise, the system continues to iterate through the next PCI data cluster.
4. The network base station location detection method according to claim 3, characterized in that, Clustering of the PCI data clusters based on a clustering algorithm includes: The DBSCAN algorithm is used to aggregate the retained PCI data clusters, and outliers are identified and filtered based on the aggregation results.
5. The network base station location detection method according to claim 1, characterized in that, The PCI data cluster is divided into three PCI sub-data clusters, and the coverage center of each PCI sub-data cluster is calculated, including: The PCI data cluster is divided into three PCI sub-data clusters. The K-means clustering algorithm is used to re-cluster each PCI sub-data cluster to obtain the center of each re-clustered PCI sub-data cluster. This center is the coverage center of the cell of the target base station corresponding to the PCI sub-data cluster.
6. The network base station location detection method according to claim 1, characterized in that, If the distance between the coverage centers of any two PCI sub-data clusters is not less than a preset distance, a new PCI data cluster is selected from the PCI data clusters that meet the preset conditions, and the steps of clustering the PCI data clusters based on the clustering algorithm and subsequent steps are executed until it is detected that the distance between the coverage centers of any two PCI sub-data clusters is less than the preset distance.
7. The network base station location detection method according to claim 1, characterized in that, The acquisition of the optimal and worst signal points of the three PCI sub-data clusters includes: The gradient algorithm is used to iteratively find the optimal and worst signal points of the three PCI sub-data clusters.
8. A network base station location detection device, characterized in that, include: The data acquisition unit is used to acquire network measurement data; The data cluster extraction unit is used to extract PCI data clusters that meet preset conditions from the network measurement data. The preset conditions are the modulo 3 principle in mobile communication network planning. Clustering unit, used to cluster the PCI data clusters based on clustering algorithms and filter out outliers; The data cluster center calculation unit is used to divide the PCI data cluster into three PCI sub-data clusters and calculate the coverage center of each PCI sub-data cluster. The data cluster filtering unit is used to obtain and determine whether there are any two PCI sub-data clusters whose coverage centers are less than a preset distance. The signal strength identification unit is used to obtain the best and worst signal points of three PCI sub-data clusters when the distance between the coverage centers of any two PCI sub-data clusters is less than a preset distance. The signal source direction calculation unit is used to determine the signal source direction based on the signal optimal point and signal worst point corresponding to the three PCI sub-data clusters; The base station positioning unit is used to obtain the centroid of the triangle formed by the directions of three determined signal sources, and to use the centroid as the location of the target base station.
9. A computer program product, characterized in that, It includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the network base station location detection method as described in any one of claims 1 to 7.
10. An electronic device, characterized in that, It includes at least one processing device and a storage device connected to the processing device, wherein: The storage device is used to store computer programs; The processing device is used to execute the computer program so that the electronic device can implement the network base station location detection method as described in any one of claims 1 to 7.
