Antenna abnormity identification method and device
By performing cluster analysis on the reference signal received power and antenna pixels of the indoor distribution system, antenna anomalies are automatically identified, solving the problems of low antenna anomaly identification accuracy and efficiency in the existing technology, and achieving accurate test path recording and analysis. position.
Patent Information
- Application Number
- CN202310985873.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-08-07
AI Technical Summary
In the existing technology, abnormal identification of indoor distribution system antennas relies on on-site array testing, which has low accuracy and efficiency. It is also difficult to accurately record test paths and results, which affects later analysis and positioning.
By obtaining the reference signal receiving power and antenna pixels of the indoor distribution system, mapping them to the preset coordinate system, performing cluster analysis to determine whether the antenna is abnormal, and achieving automatic identification.
It improves the accuracy and efficiency of antenna anomaly identification, can accurately find components in concealed projects and record test paths, and promotes subsequent analysis and positioning.
Smart Images

Figure CN118799601A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of antenna technology, and in particular to a method and device for identifying antenna abnormalities. Background Art
[0002] The indoor distribution system is a common network architecture used to improve the mobile communication environment in buildings. Its principle is to evenly distribute the signals of mobile communication base stations to every corner of the room by placing indoor antennas in various areas of the room, so as to ensure ideal signal coverage in the indoor area. The indoor distribution system is mainly composed of active devices, passive devices, antennas, and feeders. Since the end of the system is a passive device and an antenna, and there is no power supply unit for both, the upper devices of the two are usually monitored, and the antenna cannot be monitored independently, which makes it difficult to identify whether the antenna of the indoor distribution system is operating normally.
[0003] At present, the abnormal identification of antennas in indoor distribution systems mainly relies on on-site investigation of complaints, weak coverage problem detection, and then based on the optimization experience of on-site investigation testers. Since there may be hidden projects in indoor distribution systems, on-site investigation testers may not be able to accurately find the components of the distribution system. The accuracy and efficiency of abnormal identification based on on-site investigation results are low. In addition, since GPS positioning cannot be used indoors, on-site investigation tests need to be manually marked, and the specific test path and test results cannot be accurately recorded, which is not conducive to later analysis and positioning, and further reduces the accuracy and efficiency of abnormal identification. Summary of the invention
[0004] The embodiments of the present application provide a method and device for identifying an antenna anomaly, which are used to solve the technical problems of low accuracy and efficiency in identifying anomaly caused by on-site testing and identifying antenna anomalies.
[0005] In a first aspect, an embodiment of the present application provides a method for identifying an antenna abnormality, including:
[0006] Obtain the reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time length;
[0007] Acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area;
[0008] Mapping the sampling pixel point to a preset coordinate system; the preset coordinate system uses a first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses an absolute value of the reference signal received power as the vertical coordinate;
[0009] Clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters;
[0010] It is determined whether an antenna corresponding to a target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system.
[0011] In one embodiment, clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters includes:
[0012] Divide two sampling pixel points corresponding to the minimum distance value among all sampling pixel points into a close cluster, and determine the distance between the two sampling pixel points as a first distance to be processed;
[0013] Calculate the minimum distance between any sampling pixel point outside the similar cluster and the sampling pixel point within the similar cluster to obtain a second distance to be processed;
[0014] After adding any sampling pixel point to the close cluster, returning to the step of calculating the minimum distance between any sampling pixel point outside the close cluster and the sampling pixel point within the close cluster, until all sampling pixel points are added to the close cluster, and a plurality of second distances to be processed are obtained;
[0015] Determine the first to-be-processed distance and the plurality of second to-be-processed distances as second distances, and determine an optimal grouping method for the plurality of second distances according to a natural breakpoint method;
[0016] Clustering is performed on the sampling pixel points corresponding to the second distance in any small group in the optimal grouping method to obtain a plurality of clusters.
[0017] In one embodiment, the method of determining the optimal grouping method of the plurality of second distances according to the natural breakpoint method includes:
[0018] Obtaining a first sum of square deviations of the plurality of second distances according to the mean values of the plurality of second distances;
[0019] Grouping the multiple second distances according to different grouping methods to obtain multiple groups under any grouping method;
[0020] According to the mean of the second distance in any group under any grouping method, the second deviation sum of the second distance in any group is obtained;
[0021] Sum the sum of squares of the second deviations of all groups under any grouping method to obtain the sum of squares of deviations;
[0022] Obtaining the variance goodness of fit under any grouping method according to the first deviation square sum and the deviation square sum;
[0023] The grouping method corresponding to the maximum value of the variance goodness of fit under different grouping methods is determined as the optimal grouping method for the second distance.
[0024] In one embodiment, determining whether an antenna corresponding to a target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the plurality of clusters in the preset coordinate system includes:
[0025] If the minimum value of the cluster center ordinate of the multiple clusters in the preset coordinate system is less than the absolute value threshold of the received power, the number of sampling pixel points associated with any target antenna pixel point in the first cluster corresponding to the minimum value of the cluster center ordinate is obtained to obtain multiple first numbers;
[0026] Determine, among all the sampling pixel points, the sampling pixel points associated with the target antenna pixel point corresponding to the maximum value of the first number as a target sampling pixel point set;
[0027] The line connecting the sampling pixels in the target sampling pixel set is used as a positive anomaly segmentation line;
[0028] If the cluster center corresponding to the minimum vertical coordinate value of the cluster center of the plurality of second cluster clusters is located on the side of the positive abnormal segmentation line away from the vertical coordinate in the preset coordinate system, then the second cluster cluster corresponding to the minimum vertical coordinate value of the cluster center is determined to be a normal cluster cluster; the second cluster cluster is a cluster cluster other than the first cluster cluster among the plurality of cluster clusters;
[0029] Acquire the number of sampling pixel points associated with any target antenna pixel point in the normal cluster to obtain a plurality of second numbers;
[0030] Adding the sampling pixel points associated with the target antenna pixel point corresponding to the second maximum value among all the sampling pixel points to the target sampling pixel point set, and taking the normal cluster as the first cluster, returning to the step of taking the line connecting the sampling pixel points in the target sampling pixel point set as the positive abnormality segmentation line until all the clusters complete the positive abnormality judgment;
[0031] If the cluster center corresponding to the minimum vertical coordinate value of the cluster center of the plurality of second cluster clusters is located on the side of the positive abnormal segmentation line close to the vertical coordinate in the preset coordinate system, the second cluster cluster corresponding to the minimum vertical coordinate value of the cluster center is determined to be an abnormal cluster cluster;
[0032] Obtaining the number of sampling pixel points associated with any target antenna pixel point in the abnormal cluster to obtain a third number;
[0033] Obtaining the number of sampling pixel points associated with any target antenna pixel point among all sampling pixel points to obtain a fourth number;
[0034] If the ratio of the third number to the fourth number is greater than a ratio threshold, it is determined that the antenna corresponding to any one of the target antenna pixels is abnormal.
[0035] In one embodiment, determining whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system includes:
[0036] If the minimum value of the cluster center ordinate of the multiple clusters in the preset coordinate system is greater than or equal to the received power absolute value threshold, it is determined that the antennas corresponding to all target antenna pixels are abnormal.
[0037] In one embodiment, the step of acquiring antenna pixel points associated with the sampling pixel points on the target drawing to obtain target antenna pixel points includes:
[0038] If the minimum distance between the first sampling pixel point corresponding to the first sampling moment and all antenna pixel points is a unique value, the antenna pixel point corresponding to the unique value is determined as the target antenna pixel point corresponding to the first sampling pixel point;
[0039] If the minimum distance between the first sampling pixel point corresponding to the first sampling time and all antenna pixel points is not unique, determining the target antenna pixel point corresponding to the first sampling pixel point according to the second sampling pixel point corresponding to the second sampling time and the third sampling pixel point corresponding to the third sampling time;
[0040] The second sampling time is a previous sampling time of the first sampling time, and the third sampling time is a next sampling time of the first sampling time.
[0041] In one embodiment, determining the target antenna pixel point corresponding to the first sampling pixel point according to the second sampling pixel point corresponding to the second sampling moment and the third sampling pixel point corresponding to the third sampling moment includes:
[0042] If the target antenna pixel point corresponding to the second sampling pixel point is any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, the target antenna pixel point corresponding to the second sampling pixel point is determined as the target antenna pixel point corresponding to the first sampling pixel point;
[0043] If the target antenna pixel point corresponding to the second sampling pixel point is not any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, the target antenna pixel point corresponding to the third sampling pixel point is determined as the target antenna pixel point corresponding to the first sampling pixel point.
[0044] In a second aspect, an embodiment of the present application provides an antenna abnormality identification device, including:
[0045] The reference signal receiving power acquisition module is used to: obtain the reference signal receiving power of each test point in the target area collected at multiple sampling moments within any sampling time length;
[0046] The target antenna pixel point acquisition module is used to: acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area;
[0047] A coordinate system mapping module, used to: map the sampling pixel point to a preset coordinate system; the preset coordinate system uses a first distance between the sampling pixel point and the target antenna pixel point on the target drawing as a horizontal coordinate, and uses an absolute value of a reference signal received power as a vertical coordinate;
[0048] A clustering module, used to: cluster the sampled pixel points in the preset coordinate system to obtain a plurality of clusters;
[0049] The antenna abnormality identification module is used to determine whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system.
[0050] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, wherein when the processor executes the program, the steps of the antenna abnormality identification method described in the first aspect are implemented.
[0051] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the antenna abnormality identification method described in the first aspect.
[0052] The antenna anomaly identification method and device provided by the present application obtain the reference signal receiving power of each test point in the target area collected at multiple sampling times within any sampling time length, obtain the antenna pixel point associated with the sampling pixel point on the target drawing, obtain the target antenna pixel point, and map the sampling pixel point to a preset coordinate system; the preset coordinate system uses the first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses the absolute value of the reference signal receiving power as the vertical coordinate, clusters the sampling pixel points in the preset coordinate system, obtains multiple clustering clusters, and determines whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the vertical coordinates of the cluster centers of the multiple clustering clusters in the preset coordinate system. Each step of the present application is automatically run by the algorithm. By associating the test points and antenna position points with the target drawings, it is possible to accurately find the components in the hidden project and accurately record the specific test path and test results, which is conducive to subsequent analysis and positioning. The specific analysis and positioning method determines whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal based on the correlation between the sampling pixel point and the antenna pixel point, the relationship between the first distance corresponding to the sampling pixel point and the absolute value of the reference signal received power, cluster analysis, and the absolute value of the reference signal received power corresponding to the cluster center of the cluster cluster, which can effectively improve the accuracy and efficiency of antenna abnormality identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0054] Figure 1 This is one of the flow charts of the antenna abnormality identification method provided in the embodiment of the present application;
[0055] Figure 2 It is a schematic diagram of a preset coordinate system in the antenna anomaly identification method provided in an embodiment of the present application;
[0056] Figure 3 This is the second flow chart of the antenna abnormality identification method provided in the embodiment of the present application;
[0057] Figure 4 It is a schematic diagram of the second distance in the antenna abnormality identification method provided in an embodiment of the present application;
[0058] Figure 5 This is the third flow chart of the antenna abnormality identification method provided in the embodiment of the present application;
[0059] Figure 6It is a clustering diagram in the antenna anomaly identification method provided in an embodiment of the present application;
[0060] Figure 7 yes Figure 6 The corresponding cluster dendrogram;
[0061] Figure 8 This is a fourth flow chart of the antenna abnormality identification method provided in an embodiment of the present application;
[0062] Fig. 9 It is a schematic diagram of a positive abnormality segmentation line in the antenna abnormality identification method provided in an embodiment of the present application;
[0063] Fig.10 This is the fifth flow chart of the antenna abnormality identification method provided in the embodiment of the present application;
[0064] Fig.11 A schematic diagram of the structure of an antenna abnormality identification device provided in an embodiment of the present application;
[0065] Fig.12 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0067] Figure 1 This is one of the flow charts of the antenna abnormality identification method provided in the embodiment of the present application;
[0068] Figure 2 It is a schematic diagram of a preset coordinate system in the antenna anomaly identification method provided in an embodiment of the present application.
[0069] Reference Figure 1 , an embodiment of the present application provides a method for identifying an antenna abnormality, which may include:
[0070] 101. Obtain reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time period;
[0071] 102. Acquire antenna pixel points associated with the sampling pixel points on the target drawing to obtain target antenna pixel points;
[0072] The sampling pixel point is the pixel point on the target drawing mapped from the test point, the antenna pixel point is the pixel point corresponding to the antenna on the target drawing, and the target drawing is the indoor distribution system drawing of the target area;
[0073] 103. Mapping the sampled pixel points to a preset coordinate system;
[0074] The preset coordinate system uses the first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate and the absolute value of the reference signal received power as the vertical coordinate;
[0075] 104. Clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters;
[0076] 105. Determine whether an antenna corresponding to a target antenna pixel point associated with a sampling pixel point is abnormal according to the vertical coordinates of the cluster centers of the plurality of clusters in a preset coordinate system.
[0077] In step 101, indoor test equipment based on a micro-inertial navigation system may be used to obtain a reference signal receiving power at each test point, and each test point may be mapped onto a target drawing to obtain a sampling pixel point.
[0078] Micro-inertial navigation system, referred to as "micro-INS", is a miniature inertial navigation system based on micro-electromechanical system sensor technology. It does not rely on external information and does not radiate energy to the outside. The basic working principle is based on Newton's laws of mechanics. By measuring the acceleration of the carrier in the inertial reference system, integrating it over time and transforming it into the navigation coordinate system, it is possible to obtain information such as the speed, yaw angle and position of the measurement carrier in the navigation coordinate system.
[0079] In actual use, the test point data obtained by the indoor test equipment is not limited to the reference signal received power, as shown in the following table:
[0080] Table 1 Test point data table obtained by indoor test equipment (taking test points 1 and 2 as examples)
[0081] Test point data indicators Test point 1 Test point 2 Timestamp 1667290697756 1667290699768 The horizontal coordinate of the sampling pixel corresponding to the test point 570.7 574.1 The ordinate of the sampling pixel corresponding to the test point 1318.9 1281 Reference signal received power at the test point (dbm) -101 -103 Signal-to-noise ratio of the test point (db) 7 2 The unique identifier of the community where the test point is located 194544387 194544387 Physical cell identifier of the cell where the test point is located 304 304 Downlink carrier frequency number of the cell where the test point is located 38400 38400 Physical cell identifier of the neighboring cell 327 200 Downlink carrier frequency number of the neighboring cell 38950 38400 Neighboring cell reference signal received power -110 -112
[0082] It should be noted that the horizontal coordinates and vertical coordinates of the sampling pixel points in the table are both pixel coordinates on the target drawing.
[0083] In step 102, the relevant data of the antenna pixel points may be shown in the following table:
[0084] Table 2 Antenna pixel data table (taking antenna pixel 1 and 2 as an example)
[0085] Antenna pixel data indicators Antenna pixel 1 Antenna pixel 2 The unique identifier of the cell corresponding to the antenna pixel point 194544387 194544387 Antenna pixel points correspond to the floor where the antenna is located 10F 10F Antenna pixel points correspond to the antenna identification ANT6-10F ANT13-10F Antenna pixel horizontal coordinate 31314.99249 42262.75114 Antenna pixel ordinate 55824.10982 59692.96711
[0086] It should be noted that the antenna pixel point abscissa and the antenna pixel point ordinate in the table are both pixel coordinates on the target drawing.
[0087] In step 103, the associated data of the sampling pixel points corresponding to each test point and the target antenna pixel points associated therewith may be shown in the following table:
[0088] Table 3 Correlation data table between sampling pixels and target antenna pixels (taking test points 1 and 2 as examples)
[0089] Related data indicators Test point 1 Test point 2 Timestamp 1667290697756 1667290699768 The horizontal coordinate of the sampling pixel corresponding to the test point 570.7 574.1 The ordinate of the sampling pixel corresponding to the test point 1318.9 1281 Reference signal received power at the test point (dbm) -101 -103 Signal-to-noise ratio of the test point (db) 7 2 The unique identifier of the community where the test point is located 194544387 194544387 The target antenna pixel corresponds to the antenna identifier ANT6-10F ANT6-10F Target antenna pixel horizontal coordinate 471 471 Target antenna pixel ordinate 1200 1200 First distance 155.2 131.1
[0090] The first distance and the reference signal received power corresponding to each sampling pixel point can be obtained from Table 3, and the two are associated to generate a preset coordinate system, and then each sampling pixel point is mapped to the preset coordinate system.
[0091] Reference Figure 2 , where the horizontal axis D represents the first distance, and the vertical axis |RSRP| represents the absolute value of the reference signal received power. Since electromagnetic waves propagate at a loss in the air and other media, the relationship between the first distance and the reference signal received power will show that as the first distance increases, the reference signal received power gradually decreases. Since the reference signal received power is usually expressed as a negative number, its maximum value is 0, so it is reflected in Figure 2 In the preset coordinate system, as the first distance D of the sampling pixel point increases, the absolute value of the reference signal received power |RSRP| also gradually increases.
[0092] Figure 2 The preset coordinate system includes three sampling pixel points P i (X i ,Y i ), P j (X j ,Y j ) and P k (X k ,Y k ), D ij Characterization P i With P j The distance between ik Characterization P i With P k The distance between two sampling pixels represents the similarity between the two sampling pixels. The closer the distance between the two sampling pixels, the more similar the wireless environments of the test points corresponding to the two sampling pixels are. If one of the sampling pixels is a sampling pixel associated with the target antenna pixel corresponding to the normal antenna, the other sampling pixel is also a sampling pixel associated with the target antenna pixel corresponding to the normal antenna. Figure 2 In, D ijSignificantly smaller than D ik , if we assume that P i is the sampling pixel point associated with the target antenna pixel point corresponding to the normal antenna, then P j It is also the sampling pixel point associated with the target antenna pixel point corresponding to the normal antenna, and P k Since relative to P i The deviation distance is large, and P can be determined k It is the sampling pixel point associated with the target antenna pixel point corresponding to the abnormal antenna.
[0093] In step 105, it is determined whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the absolute values of the reference signal received powers corresponding to the cluster centers of the multiple clusters.
[0094] In an indoor distribution system, an abnormal antenna refers to a situation where the mobile phone reception signal is weak in the antenna coverage area. Possible reasons for this phenomenon are:
[0095] 1. There is a hardware problem with the antenna, passive components connected to the radio remote unit, or feeder.
[0096] 2. The actual position of the antenna is significantly different from the position planned on the indoor distribution drawing.
[0097] After determining that the antenna corresponding to a target antenna pixel point is abnormal, the above causes can be further investigated and repaired to improve the mobile phone signal reception.
[0098] The antenna anomaly identification method provided in the present embodiment obtains the reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time length, obtains the antenna pixel point associated with the sampling pixel point on the target drawing, obtains the target antenna pixel point, and maps the sampling pixel point to a preset coordinate system; the preset coordinate system uses the first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses the absolute value of the reference signal received power as the vertical coordinate, clusters the sampling pixel points in the preset coordinate system, obtains multiple clustering clusters, and determines whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the vertical coordinates of the cluster centers of the multiple clustering clusters in the preset coordinate system. All steps of this embodiment are automatically run by the algorithm. By associating the test points and antenna position points with the target drawings, the components in the concealed project can be accurately found, and the specific test path and test results can be accurately recorded, which is conducive to subsequent analysis and positioning. The specific analysis and positioning method determines whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal based on the correlation between the sampling pixel point and the antenna pixel point, the relationship between the first distance corresponding to the sampling pixel point and the absolute value of the reference signal received power, the cluster analysis and the absolute value of the reference signal received power corresponding to the cluster center of the cluster cluster, which can effectively improve the accuracy and efficiency of antenna abnormality identification.
[0099] In addition, this embodiment is not restricted by different operators or equipment manufacturers and has a wide range of applications.
[0100] Figure 3 This is the second flow chart of the antenna abnormality identification method provided in the embodiment of the present application;
[0101] Figure 4 This is a second distance schematic diagram of the antenna abnormality identification method provided in an embodiment of the present application.
[0102] Reference Figure 3 In one embodiment, clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters may include:
[0103] 301. Divide two sampling pixel points corresponding to the minimum distance value among all sampling pixel points into a close cluster, and determine the distance between the two sampling pixel points as a first distance to be processed;
[0104] 302. Calculate the minimum distance between any sampling pixel point outside the similar cluster and the sampling pixel point within the similar cluster to obtain a second distance to be processed;
[0105] 303. After adding any sampled pixel point to the similar cluster, return to step 302;
[0106] 304. If all sampled pixel points are added to similar clusters, multiple second distances to be processed are obtained;
[0107] 305. Determine the first distance to be processed and the plurality of second distances to be processed as second distances, and determine an optimal grouping method of the plurality of second distances according to a natural breakpoint method;
[0108] 306. Cluster the sampling pixel points corresponding to the second distance in any group in the optimal grouping method to obtain a plurality of clusters.
[0109] Reference Figure 4 , now assuming that the preset coordinate system includes four sampling pixel points a, b, c and d, the distance between each two of the four sampling pixel points can be calculated. For example, if the distance between a and b is the smallest, then the distance between a and b is the first distance to be processed, and a and b are divided into similar clusters. Then, the distances between c and a and c and b are calculated respectively. If the distance between c and a is the smallest, then the distance between c and a is a second distance to be processed, and c is added to the similar cluster of a and b. Then, the distances between d and a, d and b, and d and c are calculated respectively. If the distance between d and b is the smallest, then the distance between d and b is the second distance to be processed, and d is added to the similar cluster of a, b and c. At this point, all sampling pixel points are added to the similar clusters, and the first distance to be processed and the two second distances to be processed are determined as the second distance.
[0110] It should be noted that, according to the method of step 301 to step 305, multiple second distances can be obtained, but ultimately all the sampled pixels are divided into a similar cluster, and no classification effect is achieved. Therefore, the above method is only to obtain the second distance according to the degree of association between the sampled pixels outside the similar cluster and the current similar cluster, rather than classifying and clustering the sampled pixels.
[0111] This embodiment obtains similar clusters by the minimum distance between two sampling pixel points, and then obtains multiple second distances by using the degree of association between the sampling pixel points outside the cluster and the current similar cluster. The second distance can characterize the maximum degree of association between the sampling pixel points outside the cluster and the current similar cluster. The sampling pixel points are clustered according to the optimal grouping method of the second distance, which can make the sampling pixel points in the same cluster have a higher degree of association.
[0112] Figure 5 This is the third flow chart of the antenna abnormality identification method provided in the embodiment of the present application;
[0113] Figure 6 It is a clustering diagram in the antenna anomaly identification method provided in an embodiment of the present application;
[0114] Figure 7 yes Figure 6 The corresponding cluster dendrogram.
[0115] Reference Figure 5 In one embodiment, determining the optimal grouping method of multiple second distances according to the natural breakpoint method may include:
[0116] 501. Obtain a first sum of square deviations of the plurality of second distances according to the mean values of the plurality of second distances;
[0117] 502. Group the multiple second distances according to different grouping methods to obtain multiple groups under any grouping method;
[0118] 503. According to the mean of the second distance in any group under the grouping method, obtain the second deviation sum of squares of the second distance in the group;
[0119] 504. Sum the sum of squares of the second deviations of all groups under the grouping method to obtain a total sum of squares of deviations;
[0120] 505. Obtain the variance goodness of fit under the grouping method according to the first deviation square sum and the deviation square sum;
[0121] 506. Determine the grouping method corresponding to the maximum value of the variance goodness of fit under different grouping methods as the optimal grouping method for the second distance.
[0122] In step 501, it is assumed that the plurality of second distances are D T1 ,D T2 ,…,D Tn , where n is an integer greater than or equal to 2, the mean of the multiple second distances is:
[0123]
[0124] The sum of squares of the first deviations of multiple second distances is:
[0125]
[0126] In step 502, the plurality of second distances are divided into groups of different types, such as two groups, three groups, four groups, etc., which are not limited here. Assuming that the plurality of second distances are divided into two groups, the first grouping method can be D T1 ,D T2 ,…,D Tn Divided into [D T1 ] and [D T2 ,…,D Tn ] Two groups, the second method can be D T1 ,D T2 ,…,D Tn Divided into [D T1 ,D T2 ] and [D T3 ,…,D Tn] There are two groups. In addition, there are many ways of grouping when divided into two groups and many ways of grouping when divided into three or four groups, etc., which will not be repeated here.
[0127] In step 503, under the first grouping method [D T1 ]The mean of the group is:
[0128]
[0129] In the first grouping method [D T2 ,…,D Tn ]The mean of the group is:
[0130]
[0131] Then [D T1 ]The sum of squares of the second deviations of the second distances within the group is:
[0132] SDAM 11 =(D T1 -V avr_gp11 ) 2 ; (5-5)
[0133] The first grouping method [D T2 ,…,D Tn ]The sum of squares of the second deviations of the second distances within the group is:
[0134]
[0135] Similarly, we can get the second grouping method [D T1 ,D T2 ]The mean of the group is:
[0136]
[0137] In the second grouping method [D T3 ,…,D Tn ]The mean of the group is:
[0138]
[0139] Then the second grouping method [D T1 ,D T2 ]The sum of squares of the second deviations of the second distances within the group is:
[0140] SDAM 21 =(D T1 -V avr_gp21 ) 2 +(D T2 -V avr_gp21 ) 2; (5-9)
[0141] The second grouping method [D T3 ,…,D Tn ]The sum of squares of the second deviations of the second distances within the group is:
[0142]
[0143] Similarly, the sum of squares of the second deviations of the second distances within each group under other grouping methods is calculated.
[0144] In step 504, the sum of square deviations under the first grouping method is:
[0145] SDAM_ALL1=SDAM 11 +SDAM 12 ; (5-11)
[0146] The sum of squared deviations under the second grouping method is:
[0147] SDAM_ALL2=SDAM 21 +SDAM 22 ; (5-12)
[0148] Similarly, calculate the sum of squared deviations for other grouping methods.
[0149] In step 505, the variance goodness of fit under the first grouping method obtained according to formula (5-2) and formula (5-11) is:
[0150] GVF1=(SDAM-SDCM_ALL1) / SDAM; (5-13)
[0151] The variance goodness of fit under the second grouping method obtained according to formula (5-2) and formula (5-12) is:
[0152] GVF2=(SDAM-SDCM_ALL2) / SDAM; (5-14)
[0153] Similarly, the variance goodness of fit under other grouping methods is calculated.
[0154] In step 506, the value of GVF is between 0 and 1, 1 indicates an extremely good fit, and 0 indicates an extremely poor fit. The GVF closest to 1 is found, and the corresponding grouping method is the optimal grouping method.
[0155] It should be noted that here, the second distance is divided into two groups, three groups, four groups and other types of grouping methods for GVF comparison, and the optimal grouping method is selected.
[0156] Assuming that the second grouping method is the optimal grouping method, the second distance is divided into [D T1 ,D T2 ] and [D T3 ,…,D Tn ] two groups, then when clustering, D T1 The corresponding sampling pixel points and D T2 The corresponding sampling pixels are divided into one category, and D T3 To D Tn The corresponding sampled pixels are classified into one category, thereby dividing all sampled pixels into two clusters.
[0157] Specifically, assuming that there are four sampling pixels a, b, c, d and e, corresponding to four second distances, assuming that the optimal grouping method is to divide these four second distances into [D T1 ,D T2 ] and [D T3 ,D T4 ] Two groups, among which D T1 is the second distance between a and b, D T2 is the second distance between c and a, D T3 is the second distance between d and b, D T4 is the second distance between e and c, then a, b and c are classified into one category, and d and e are classified into one category.
[0158] Reference Figure 6 There are six sampling pixel points P1, P2, P3, P4, P5 and P6 in the preset coordinate system. According to the method of this embodiment, the six sampling pixel points are clustered, and the most reasonable clustering method is to cluster the six sampling points into two clusters, namely, cluster C1 composed of P1, P2 and P3, and cluster C2 composed of P4, P5 and P6.
[0159] Figure 7 yes Figure 6 The dendrogram of the second distance between the sampled pixels in Figure 7 It can be seen that the multiple second distances are the second distance D between P1 and P2 from small to large. 12 , the second distance D between P3 and P1 or P2 C13 , the second distance D between P4 and P5 45 , the second distance D between P6 and P4 or P5 C26 , the second distance D between any sampling pixel point among P1, P2 and P3 and any sampling pixel point among P4, P5 and P6 C1C2 , due to D C1C2The maximum indicates that the correlation between any sampling pixel point in P1, P2 and P3 and any sampling pixel point in P4, P5 and P6 is weak, while the correlation between P1, P2 and P3 is strong, and the correlation between P4, P5 and P6 is strong. Therefore, the most reasonable clustering method is to group P1, P2 and P3 into cluster C1, and group P4, P5 and P6 into cluster C2, forming two clusters in total, which is consistent with the clusters obtained by applying this embodiment.
[0160] Since the traditional clustering method does not have any restrictions on the second distance, the number of clusters ultimately formed needs to rely on manual judgment.
[0161] The natural breakpoint method of this embodiment obtains the variance fit goodness under each grouping method according to the second distance, and selects the optimal grouping method of the second distance according to the variance fit goodness, which can fully explore the similarity between the sampling pixel points. When the sampling pixel points are clustered according to the optimal grouping method, the sampling pixel points with the highest similarity can be clustered, and the number of clustering clusters can be automatically obtained and corresponding clustering clusters can be formed, thereby improving the accuracy and efficiency of clustering.
[0162] Figure 8 This is a fourth flow chart of the antenna abnormality identification method provided in an embodiment of the present application;
[0163] Fig. 9 It is a schematic diagram of the positive anomaly dividing line in the antenna anomaly identification method provided in an embodiment of the present application.
[0164] Reference Figure 8 In one embodiment, determining whether an antenna corresponding to a target antenna pixel point associated with a sampling pixel point is abnormal according to the cluster center ordinates of the plurality of clusters in a preset coordinate system may include:
[0165] 801. If the minimum value of the vertical coordinate of the cluster center of multiple clusters in the preset coordinate system is less than the absolute value threshold of the received power, the number of sampling pixel points associated with any target antenna pixel point in the first cluster corresponding to the minimum value of the vertical coordinate of the cluster center is obtained to obtain multiple first numbers;
[0166] In addition, if the minimum value of the cluster center ordinate of multiple clusters in the preset coordinate system is greater than or equal to the absolute value threshold of the received power, it is determined that the antennas corresponding to all target antenna pixels are abnormal;
[0167] 802. Determine, among all sampling pixel points, sampling pixel points associated with the target antenna pixel point corresponding to the maximum value of the first number as a target sampling pixel point set;
[0168] 803. Using a line connecting the sampling pixel points in the target sampling pixel point set as a positive anomaly segmentation line;
[0169] 804. If the cluster center corresponding to the minimum vertical coordinate value of the cluster center of the plurality of second clusters is located on the side of the positive abnormal segmentation line away from the vertical coordinate in the preset coordinate system, the second cluster corresponding to the minimum vertical coordinate value of the cluster center is determined to be a normal cluster;
[0170] The second cluster is a cluster other than the first cluster among the multiple clusters;
[0171] 805. Acquire the number of sampling pixel points associated with any target antenna pixel point in the normal cluster to obtain a plurality of second numbers;
[0172] 806. Add the sampling pixel points associated with the target antenna pixel point corresponding to the second maximum value among all the sampling pixel points to the target sampling pixel point set, and use the normal cluster as the first cluster, and then return to step 803;
[0173] 807. If all clusters have completed positive anomaly judgment, the process stops;
[0174] 808. If the cluster center corresponding to the minimum value of the vertical coordinate of the cluster center of the plurality of second clusters is located on the side of the positive abnormal segmentation line close to the vertical coordinate in the preset coordinate system, then the second cluster corresponding to the minimum value of the vertical coordinate of the cluster center is determined to be an abnormal cluster;
[0175] 809. Obtain the number of sampling pixel points associated with any target antenna pixel point in the abnormal cluster to obtain a third number;
[0176] 810. Obtain the number of sampling pixel points associated with any target antenna pixel point among all sampling pixel points to obtain a fourth number;
[0177] 811. If the ratio of the third number to the fourth number is greater than the ratio threshold, it is determined that the antenna corresponding to any target antenna pixel point is abnormal.
[0178] In step 801, the absolute value threshold of the received power may be set according to actual conditions. In this embodiment, the absolute value threshold of the received power may be 100 dBm.
[0179] In addition, the cluster center coordinates of any cluster can be calculated by the following formula;
[0180]
[0181] Among them, X center is the abscissa of the cluster center of any cluster, Y center is the vertical coordinate of the cluster center of the cluster, h is the number of sampled pixels in the cluster, P Q is any sampling pixel point in the cluster. is the sampling pixel point P QThe horizontal axis of is the sampling pixel point P Q The vertical coordinate of .
[0182] If the minimum value of the cluster center ordinate of all clusters in the preset coordinate system is greater than or equal to the absolute value threshold of the received power, it means that the antennas corresponding to all target antenna pixels have weak coverage problems, that is, the antennas corresponding to all target antenna pixels are abnormal.
[0183] If the minimum value of the cluster center ordinate of all cluster clusters in the preset coordinate system is less than the absolute value threshold of the received power, assuming that the cluster center ordinate of cluster C3 is the smallest among all cluster clusters, obtain the target antenna pixel points corresponding to the sampling pixel points P7, P8, P9 and P10 in C3, assuming that the target antenna pixel point corresponding to P7 is G1, the target antenna pixel point corresponding to P8 is G1, the target antenna pixel point corresponding to P9 is G2, and the target antenna pixel point corresponding to P10 is G3. Then the sampling pixel points associated with the target antenna pixel point G1 are P7 and P8, that is, the first number is 2, the sampling pixel point associated with the target antenna pixel point G2 is P9, that is, the first number is 1, and the sampling pixel point associated with the target antenna pixel point G3 is P10, that is, the first number is 1, and finally three first numbers are obtained.
[0184] In step 802, the maximum value of the first quantity obtained in step 801 is 2, and the corresponding target antenna pixel point is G1.
[0185] It should be noted that step 802 does not acquire sampling pixel points associated with G1 in cluster C3, but acquires sampling pixel points associated with G1 in all clusters, that is, all sampling pixel points, and determines these sampling pixel points as target sampling pixel points.
[0186] Reference Fig. 9 , we can see the positive anomaly segmentation line. It should be noted that the sampling pixels on the positive anomaly segmentation line all belong to a certain cluster. Fig. 9 In the figure, for the convenience of display, the clusters to which some sampling pixels on the positive anomaly segmentation line belong are not drawn.
[0187] In step 804, the cluster corresponding to the minimum vertical coordinate of the cluster center among the remaining clusters other than cluster C3 is obtained, referring to Fig. 9 , x in each cluster represents the cluster center, assuming it is C5. If the cluster center of C5 is located on the side of the positive anomaly segmentation line away from the ordinate, that is, on the right side of the positive anomaly segmentation line, then C5 is determined to be a normal cluster.
[0188] In steps 805 to 806, according to the methods of steps 801 and 802, the number of sampling pixel points associated with the same target antenna pixel point in C5 is obtained, the target antenna pixel point corresponding to the maximum number is determined, and then the sampling pixel points associated with the target antenna pixel point are obtained from all sampling pixel points, and added to the target sampling pixel point set to form a part of the positive anomaly segmentation line, thereby updating and extending the positive anomaly segmentation line.
[0189] It should be noted that, for the sampling pixel points in the target sampling pixel point set, if the horizontal coordinates in the preset coordinate system are the same, only the sampling pixel point with the largest vertical coordinate is retained.
[0190] After all clusters have completed the positive anomaly judgment, the corresponding positive anomaly segmentation lines are also drawn.
[0191] In step 808, the cluster corresponding to the minimum vertical coordinate of the cluster center among the remaining clusters other than cluster C3 is obtained, referring to Fig. 9 , assuming it is C6, if the cluster center of C6 is located on the side of the positive anomaly segmentation line close to the ordinate, that is, on the left side of the positive anomaly segmentation line, then C6 is determined to be an abnormal cluster.
[0192] In step 809, the number of sampling pixel points associated with a certain target antenna pixel point in C6 is obtained to obtain a third number;
[0193] In step 810, the number of sampling pixel points associated with the target antenna pixel point among all sampling pixel points is obtained to obtain a fourth number;
[0194] In step 811, the ratio threshold may be set according to actual conditions and is not limited here. In this embodiment, the ratio threshold may be 50%.
[0195] This embodiment first compares the minimum value of the ordinate of the cluster center of each cluster with the absolute value threshold of the received power. Since the smaller the absolute value of the received power, the stronger the antenna coverage capability, if the minimum value of the absolute value of the received power corresponding to the cluster center is greater than or equal to the absolute value threshold of the received power, it means that the received powers of all clusters are too small, thereby determining that all associated antennas are abnormal; when the minimum value of the absolute value of the received power corresponding to the cluster center is less than the absolute value threshold of the received power, all clusters are classified by drawing a positive anomaly segmentation line and the positive anomaly segmentation line is updated to complete the positive anomaly classification of all clusters, and finally, according to the ratio of the number of sampling pixel points associated with the target antenna pixel point in the abnormal cluster cluster and the number of sampling pixel points associated with the target antenna pixel point in all sampling pixel points, it is determined whether the antenna corresponding to the target antenna pixel point is abnormal. The method of this embodiment fully exploits the relationship between the cluster center and the reference signal receiving power, as well as the relationship between the sampling pixel points and the target antenna pixel points in the positive anomaly clustering cluster, and the relationship between all the sampling pixel points and the target antenna pixel points. It can find the target antenna pixel point that is most closely associated with the sampling pixel point and whose reference signal receiving power is questionable, and then determine whether the antenna corresponding to the target antenna pixel point is abnormal, thereby improving the accuracy and efficiency of antenna anomaly identification.
[0196] Fig.10 This is a flowchart of the antenna abnormality identification method provided in the embodiment of the present application; refer to Fig.10 In one embodiment, obtaining antenna pixel points associated with sampling pixel points on a target drawing to obtain target antenna pixel points may include:
[0197] 1001. If the minimum distance between the first sampling pixel point corresponding to the first sampling time and all antenna pixel points is not unique, determine whether the target antenna pixel point corresponding to the second sampling pixel point is any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points;
[0198] If the minimum value of the distance between the first sampling pixel point corresponding to the first sampling moment and all antenna pixel points is a unique value, the antenna pixel point corresponding to the unique value is determined as the target antenna pixel point corresponding to the first sampling pixel point;
[0199] 1002. If the target antenna pixel point corresponding to the second sampling pixel point is any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, determine the target antenna pixel point corresponding to the second sampling pixel point as the target antenna pixel point corresponding to the first sampling pixel point;
[0200] 1003. If the target antenna pixel point corresponding to the second sampling pixel point is not any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, determine the target antenna pixel point corresponding to the third sampling pixel point as the target antenna pixel point corresponding to the first sampling pixel point.
[0201] The second sampling time is a previous sampling time of the first sampling time, and the third sampling time is a next sampling time of the first sampling time.
[0202] Since the test point sampling is usually performed on a fixed sampling path rather than random sampling, on the sampling path, as time goes on, each sampling pixel point first approaches and then moves away from a certain antenna pixel point.
[0203] If the minimum distance between the first sampling pixel point corresponding to the first sampling moment and all antenna pixel points is a unique value, it means that the first sampling pixel point has found the antenna pixel point closest to it, and the antenna pixel point can be determined as the corresponding target antenna pixel point;
[0204] If the minimum value of the distance between the first sampling pixel point and all antenna pixel points corresponding to the first sampling moment is not a unique value, it means that the distances between the first sampling pixel point and the multiple antenna pixel points are all minimum. At this time, if the target antenna pixel point corresponding to the second sampling pixel point is any antenna pixel point corresponding to the minimum value of the distance between the first sampling pixel point and all antenna pixel points, it means that the second sampling pixel point and the first sampling pixel point have a high similarity with respect to the target antenna pixel point on the sampling path. Therefore, the target antenna pixel point corresponding to the second sampling pixel point can be determined as the target antenna pixel point corresponding to the first sampling pixel point.
[0205] If the minimum value of the distance between the first sampling pixel point and all antenna pixel points corresponding to the first sampling moment is not a unique value, it means that the distances between the first sampling pixel point and multiple antenna pixel points are all minimum. At this time, if the target antenna pixel point corresponding to the second sampling pixel point is not any antenna pixel point corresponding to the minimum value of the distance between the first sampling pixel point and all antenna pixel points, it means that the second sampling pixel point and the first sampling pixel point have a low similarity with respect to the target antenna pixel point on the sampling path. It can be determined that the first sampling pixel point has a high similarity with the third sampling pixel point at the next moment. Therefore, the target antenna pixel point corresponding to the third sampling pixel point can be determined as the target antenna pixel point corresponding to the first sampling pixel point.
[0206] This embodiment determines the position of a sampling pixel point at a certain moment relative to the antenna pixel point corresponding to the minimum distance value through the uniqueness of the minimum distance value between the sampling pixel point and all antenna pixel points. When the minimum distance value is unique, the antenna pixel point corresponding to the minimum distance value is used as the target antenna pixel point. When the minimum distance value is not unique, the similarity between the sampling pixel point at this moment and the sampling pixel point at the previous moment or the next moment is determined, and the target antenna pixel point corresponding to the adjacent moment with higher similarity is used, so that the most accurate target antenna pixel point can be found in combination with the target antenna pixel point at the previous moment or the next moment.
[0207] The antenna abnormality identification device provided in an embodiment of the present application is described below. The antenna abnormality identification device described below and the antenna abnormality identification method described above can be referenced to each other.
[0208] Fig.11 This is a schematic diagram of the structure of the antenna abnormality identification device provided in the embodiment of the present application. Fig.11 , an embodiment of the present application provides an antenna abnormality identification device, which may include:
[0209] The reference signal received power acquisition module 1101 is used to: acquire the reference signal received power of each test point in the target area collected at multiple sampling moments within any sampling time length;
[0210] The target antenna pixel point acquisition module 1102 is used to: acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area;
[0211] A coordinate system mapping module 1103 is used to: map the sampling pixel point to a preset coordinate system; the preset coordinate system uses the first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate and uses the absolute value of the reference signal received power as the vertical coordinate;
[0212] The clustering module 1104 is used to: cluster the sampled pixel points in the preset coordinate system to obtain a plurality of clusters;
[0213] The antenna abnormality identification module 1105 is used to determine whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the vertical coordinates of the cluster centers of the multiple clusters in the preset coordinate system.
[0214] The antenna abnormality identification device provided in this embodiment obtains the reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time length, obtains the antenna pixel point associated with the sampling pixel point on the target drawing, obtains the target antenna pixel point, and maps the sampling pixel point to a preset coordinate system; the preset coordinate system uses the first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses the absolute value of the reference signal received power as the vertical coordinate, clusters the sampling pixel points in the preset coordinate system, obtains multiple cluster clusters, and determines whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the vertical coordinates of the cluster centers of the multiple cluster clusters in the preset coordinate system. All steps of this embodiment are automatically run by the algorithm. By associating the test points and antenna position points with the target drawings, the components in the concealed project can be accurately found, and the specific test path and test results can be accurately recorded, which is conducive to subsequent analysis and positioning. The specific analysis and positioning method determines whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal based on the correlation between the sampling pixel point and the antenna pixel point, the relationship between the first distance corresponding to the sampling pixel point and the absolute value of the reference signal received power, the cluster analysis and the absolute value of the reference signal received power corresponding to the cluster center of the cluster cluster, which can effectively improve the accuracy and efficiency of antenna abnormality identification.
[0215] In addition, this embodiment is not restricted by different operators or equipment manufacturers and has a wide range of applications.
[0216] In one embodiment, the clustering module 1104 is specifically used to:
[0217] Divide two sampling pixel points corresponding to the minimum distance value among all sampling pixel points into a close cluster, and determine the distance between the two sampling pixel points as a first distance to be processed;
[0218] Calculate the minimum distance between any sampling pixel point outside the similar cluster and the sampling pixel point within the similar cluster to obtain a second distance to be processed;
[0219] After adding any sampling pixel point to the close cluster, returning to the step of calculating the minimum distance between any sampling pixel point outside the close cluster and the sampling pixel point within the close cluster, until all sampling pixel points are added to the close cluster, and a plurality of second distances to be processed are obtained;
[0220] Determine the first to-be-processed distance and the plurality of second to-be-processed distances as second distances, and determine an optimal grouping method for the plurality of second distances according to a natural breakpoint method;
[0221] Clustering is performed on the sampling pixel points corresponding to the second distance in any small group in the optimal grouping method to obtain a plurality of clusters.
[0222] In one embodiment, the clustering module 1104 is specifically used to:
[0223] Obtaining a first sum of square deviations of the plurality of second distances according to the mean values of the plurality of second distances;
[0224] Grouping the multiple second distances according to different grouping methods to obtain multiple groups under any grouping method;
[0225] According to the mean of the second distance in any group under any grouping method, the second deviation sum of the second distance in any group is obtained;
[0226] Sum the sum of squares of the second deviations of all groups under any grouping method to obtain the sum of squares of deviations;
[0227] Obtaining the variance goodness of fit under any grouping method according to the first deviation square sum and the deviation square sum;
[0228] The grouping method corresponding to the maximum value of the variance goodness of fit under different grouping methods is determined as the optimal grouping method for the second distance.
[0229] In one embodiment, the antenna abnormality identification module 1105 is specifically used to:
[0230] If the minimum value of the cluster center ordinate of the multiple clusters in the preset coordinate system is less than the absolute value threshold of the received power, the number of sampling pixel points associated with any target antenna pixel point in the first cluster corresponding to the minimum value of the cluster center ordinate is obtained to obtain multiple first numbers;
[0231] Determine, among all the sampling pixel points, the sampling pixel points associated with the target antenna pixel point corresponding to the maximum value of the first number as a target sampling pixel point set;
[0232] The line connecting the sampling pixels in the target sampling pixel set is used as a positive anomaly segmentation line;
[0233] If the cluster center corresponding to the minimum vertical coordinate value of the cluster center of the plurality of second cluster clusters is located on the side of the positive abnormal segmentation line away from the vertical coordinate in the preset coordinate system, then the second cluster cluster corresponding to the minimum vertical coordinate value of the cluster center is determined to be a normal cluster cluster; the second cluster cluster is a cluster cluster other than the first cluster cluster among the plurality of cluster clusters;
[0234] Acquire the number of sampling pixel points associated with any target antenna pixel point in the normal cluster to obtain a plurality of second numbers;
[0235] Adding the sampling pixel points associated with the target antenna pixel point corresponding to the second maximum value among all the sampling pixel points to the target sampling pixel point set, and taking the normal cluster as the first cluster, returning to the step of taking the line connecting the sampling pixel points in the target sampling pixel point set as the positive abnormality segmentation line until all the clusters complete the positive abnormality judgment;
[0236] If the cluster center corresponding to the minimum vertical coordinate value of the cluster center of the plurality of second cluster clusters is located on the side of the positive abnormal segmentation line close to the vertical coordinate in the preset coordinate system, the second cluster cluster corresponding to the minimum vertical coordinate value of the cluster center is determined to be an abnormal cluster cluster;
[0237] Obtaining the number of sampling pixel points associated with any target antenna pixel point in the abnormal cluster to obtain a third number;
[0238] Obtaining the number of sampling pixel points associated with any target antenna pixel point among all sampling pixel points to obtain a fourth number;
[0239] If the ratio of the third number to the fourth number is greater than a ratio threshold, it is determined that the antenna corresponding to any one of the target antenna pixels is abnormal.
[0240] In one embodiment, the antenna abnormality identification module 1105 is specifically used to:
[0241] If the minimum value of the cluster center ordinate of the multiple clusters in the preset coordinate system is greater than or equal to the received power absolute value threshold, it is determined that the antennas corresponding to all target antenna pixels are abnormal.
[0242] In one embodiment, the target antenna pixel point acquisition module 1102 is specifically used for:
[0243] If the minimum distance between the first sampling pixel point corresponding to the first sampling moment and all antenna pixel points is a unique value, the antenna pixel point corresponding to the unique value is determined as the target antenna pixel point corresponding to the first sampling pixel point;
[0244] If the minimum distance between the first sampling pixel point corresponding to the first sampling time and all antenna pixel points is not unique, determining the target antenna pixel point corresponding to the first sampling pixel point according to the second sampling pixel point corresponding to the second sampling time and the third sampling pixel point corresponding to the third sampling time;
[0245] The second sampling time is a previous sampling time of the first sampling time, and the third sampling time is a next sampling time of the first sampling time.
[0246] In one embodiment, the target antenna pixel point acquisition module 1102 is specifically used for:
[0247] If the target antenna pixel point corresponding to the second sampling pixel point is any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, the target antenna pixel point corresponding to the second sampling pixel point is determined as the target antenna pixel point corresponding to the first sampling pixel point;
[0248] If the target antenna pixel point corresponding to the second sampling pixel point is not any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, the target antenna pixel point corresponding to the third sampling pixel point is determined as the target antenna pixel point corresponding to the first sampling pixel point.
[0249] Fig.12 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.12 As shown, the electronic device may include: a processor 1210, a communication interface 1220, a memory 1230 and a communication bus 1240, wherein the processor 1210, the communication interface 1220, and the memory 1230 communicate with each other through the communication bus 1240. The processor 1210 may call a computer program in the memory 1230 to execute the steps of the antenna abnormality identification method, for example including:
[0250] Obtain the reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time length;
[0251] Acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area;
[0252] Mapping the sampling pixel point to a preset coordinate system; the preset coordinate system uses a first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses an absolute value of the reference signal received power as the vertical coordinate;
[0253] Clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters;
[0254] It is determined whether an antenna corresponding to a target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system.
[0255] In addition, the logic instructions in the above-mentioned memory 1230 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0256] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can perform the steps of the antenna abnormality identification method provided in the above embodiments, for example, including:
[0257] Obtain the reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time length;
[0258] Acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area;
[0259] Mapping the sampling pixel point to a preset coordinate system; the preset coordinate system uses a first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses an absolute value of the reference signal received power as the vertical coordinate;
[0260] Clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters;
[0261] It is determined whether an antenna corresponding to a target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system.
[0262] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is used to enable the processor to execute the steps of the methods provided in the above embodiments, for example, including:
[0263] Obtain the reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time length;
[0264] Acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area;
[0265] Mapping the sampling pixel point to a preset coordinate system; the preset coordinate system uses a first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses an absolute value of the reference signal received power as the vertical coordinate;
[0266] Clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters;
[0267] It is determined whether an antenna corresponding to a target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system.
[0268] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0269] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0270] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0271] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for identifying an antenna abnormality, characterized in that: include: Obtain the reference signal received power of each test point in the target area collected at multiple sampling times within any sampling time length; Acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area; Mapping the sampling pixel point to a preset coordinate system; the preset coordinate system uses a first distance between the sampling pixel point and the target antenna pixel point on the target drawing as the horizontal coordinate, and uses an absolute value of the reference signal received power as the vertical coordinate; Clustering the sampled pixel points in the preset coordinate system to obtain a plurality of clusters; It is determined whether an antenna corresponding to a target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system.
2. The antenna abnormality identification method according to claim 1, characterized in that: The clustering of the sampled pixel points in the preset coordinate system to obtain a plurality of clusters includes: Divide two sampling pixel points corresponding to the minimum distance value among all sampling pixel points into a close cluster, and determine the distance between the two sampling pixel points as a first distance to be processed; Calculate the minimum distance between any sampling pixel point outside the similar cluster and the sampling pixel point within the similar cluster to obtain a second distance to be processed; After adding any sampling pixel point to the close cluster, returning to the step of calculating the minimum distance between any sampling pixel point outside the close cluster and the sampling pixel point within the close cluster, until all sampling pixel points are added to the close cluster, and a plurality of second distances to be processed are obtained; Determine the first to-be-processed distance and the plurality of second to-be-processed distances as second distances, and determine an optimal grouping method for the plurality of second distances according to a natural breakpoint method; Clustering is performed on the sampling pixel points corresponding to the second distance in any small group in the optimal grouping method to obtain a plurality of clusters.
3. The antenna abnormality identification method according to claim 2, characterized in that: The method of determining the optimal grouping method of the plurality of second distances according to the natural breakpoint method comprises: Obtaining a first sum of square deviations of the plurality of second distances according to the mean values of the plurality of second distances; Grouping the multiple second distances according to different grouping methods to obtain multiple groups under any grouping method; According to the mean of the second distance in any group under any grouping method, the second deviation sum of the second distance in any group is obtained; Sum the sum of squares of the second deviations of all groups under any grouping method to obtain the sum of squares of deviations; Obtaining the variance goodness of fit under any grouping method according to the first deviation square sum and the deviation square sum; The grouping method corresponding to the maximum value of the variance goodness of fit under different grouping methods is determined as the optimal grouping method for the second distance.
4. The antenna abnormality identification method according to claim 1, characterized in that: The determining, according to the cluster center ordinates of the plurality of clusters in the preset coordinate system, whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal includes: If the minimum value of the cluster center ordinate of the multiple clusters in the preset coordinate system is less than the absolute value threshold of the received power, the number of sampling pixel points associated with any target antenna pixel point in the first cluster corresponding to the minimum value of the cluster center ordinate is obtained to obtain multiple first numbers; Determine, among all the sampling pixel points, the sampling pixel points associated with the target antenna pixel point corresponding to the maximum value of the first number as a target sampling pixel point set; The line connecting the sampling pixels in the target sampling pixel set is used as a positive anomaly segmentation line; If the cluster center corresponding to the minimum vertical coordinate value of the cluster center of the plurality of second cluster clusters is located on the side of the positive abnormal segmentation line away from the vertical coordinate in the preset coordinate system, then the second cluster cluster corresponding to the minimum vertical coordinate value of the cluster center is determined to be a normal cluster cluster; the second cluster cluster is a cluster cluster other than the first cluster cluster among the plurality of cluster clusters; Acquire the number of sampling pixel points associated with any target antenna pixel point in the normal cluster to obtain a plurality of second numbers; Adding the sampling pixel points associated with the target antenna pixel point corresponding to the second maximum value among all the sampling pixel points to the target sampling pixel point set, and taking the normal cluster as the first cluster, returning to the step of taking the line connecting the sampling pixel points in the target sampling pixel point set as the positive abnormality segmentation line until all the clusters complete the positive abnormality judgment; If the cluster center corresponding to the minimum vertical coordinate value of the cluster center of the plurality of second cluster clusters is located on the side of the positive abnormal segmentation line close to the vertical coordinate in the preset coordinate system, the second cluster cluster corresponding to the minimum vertical coordinate value of the cluster center is determined to be an abnormal cluster cluster; Obtaining the number of sampling pixel points associated with any target antenna pixel point in the abnormal cluster to obtain a third number; Obtaining the number of sampling pixel points associated with any target antenna pixel point among all sampling pixel points to obtain a fourth number; If the ratio of the third number to the fourth number is greater than a ratio threshold, it is determined that the antenna corresponding to any one of the target antenna pixels is abnormal.
5. The antenna abnormality identification method according to claim 1, characterized in that: The determining, according to the cluster center ordinates of the plurality of clusters in the preset coordinate system, whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal includes: If the minimum value of the cluster center ordinate of the multiple clusters in the preset coordinate system is greater than or equal to the received power absolute value threshold, it is determined that the antennas corresponding to all target antenna pixels are abnormal.
6. The antenna abnormality identification method according to claim 1, characterized in that: The step of acquiring antenna pixel points associated with the sampling pixel points on the target drawing to obtain target antenna pixel points includes: If the minimum value of the distance between the first sampling pixel point corresponding to the first sampling moment and all antenna pixel points is a unique value, the antenna pixel point corresponding to the unique value is determined as the target antenna pixel point corresponding to the first sampling pixel point; If the minimum distance between the first sampling pixel point corresponding to the first sampling time and all antenna pixel points is not unique, determining the target antenna pixel point corresponding to the first sampling pixel point according to the second sampling pixel point corresponding to the second sampling time and the third sampling pixel point corresponding to the third sampling time; The second sampling time is a previous sampling time of the first sampling time, and the third sampling time is a next sampling time of the first sampling time.
7. The antenna abnormality identification method according to claim 6, characterized in that: The determining, according to the second sampling pixel point corresponding to the second sampling moment and the third sampling pixel point corresponding to the third sampling moment, the target antenna pixel point corresponding to the first sampling pixel point includes: If the target antenna pixel point corresponding to the second sampling pixel point is any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, the target antenna pixel point corresponding to the second sampling pixel point is determined as the target antenna pixel point corresponding to the first sampling pixel point; If the target antenna pixel point corresponding to the second sampling pixel point is not any antenna pixel point corresponding to the minimum distance between the first sampling pixel point and all antenna pixel points, the target antenna pixel point corresponding to the third sampling pixel point is determined as the target antenna pixel point corresponding to the first sampling pixel point.
8. An antenna abnormality identification device, characterized in that: include: The reference signal receiving power acquisition module is used to: obtain the reference signal receiving power of each test point in the target area collected at multiple sampling moments within any sampling time length; The target antenna pixel point acquisition module is used to: acquire antenna pixel points associated with sampling pixel points on the target drawing to obtain target antenna pixel points; the sampling pixel points are pixel points mapped from the test points to the target drawing, the antenna pixel points are pixel points corresponding to the antenna on the target drawing, and the target drawing is an indoor distribution system drawing of the target area; A coordinate system mapping module, used to: map the sampling pixel point to a preset coordinate system; the preset coordinate system uses a first distance between the sampling pixel point and the target antenna pixel point on the target drawing as a horizontal coordinate, and uses an absolute value of a reference signal received power as a vertical coordinate; A clustering module, used to: cluster the sampled pixel points in the preset coordinate system to obtain a plurality of clusters; The antenna abnormality identification module is used to determine whether the antenna corresponding to the target antenna pixel point associated with the sampling pixel point is abnormal according to the cluster center ordinates of the multiple clusters in the preset coordinate system.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the antenna abnormality identification method according to any one of claims 1 to 7 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the antenna abnormality identification method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Indoor positioning method based on reception signal intensity clusterinf and reference point position clustering
CN105223546A
Map area determination method and device, equipment and storage medium
CN111275730A
Target positioning method and device in mobile scene
CN113177463A
Display method, device and equipment of community coverage area and computer storage medium
CN114390535A
Internet of things-based building operation device status monitoring and visual analysis system
WO2019114191A1
Cited By
Celestial body imaging method and device for very long baseline interference array data
CN119146932A
