Base station position information correction verification method and device, server and storage medium
By using the latest national administrative division information to mark and correct base station location information, and verifying it in conjunction with the correction distance threshold, the problem of base station clustering and offset was solved, and the accuracy of base station location information and the precision of correction results were improved.
Patent Information
- Application Number
- CN202211573148.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2042-12-08
AI Technical Summary
In existing technologies, when correcting the location information of base stations, base stations in a certain area may exhibit clustered shifts, leading to inaccurate correction results.
By acquiring the latest national administrative division information, the original location information of the base station before correction is marked to obtain the original administrative division, and the location information after correction is marked to obtain the corrected administrative division. By comparing the original and corrected administrative divisions, valid base stations are filtered. The administrative division of the base station information is corrected according to the administrative division with absolute dominance, and preliminary verification is carried out in combination with the correction distance threshold to ensure the accuracy of the correction results.
This enables preliminary verification of the base station location information correction results, improves the accuracy of base station location information, avoids clustered offset of base stations, and ensures the accuracy of the correction results.
Smart Images

Figure CN116017684B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of mobile communication technology, in particular to a base station position information rectification verification method and device, a server and a storage medium. BACKGROUND
[0002] A base station is an entrance for mobile devices to access the Internet. Since the base station maintenance personnel will make mistakes, omissions or update not in time when filling in the base station position information, the base station position information inevitably has information errors.
[0003] In the prior art, the principle of rectifying the base station position information is to assume that the base stations accessed by the mobile devices in succession are adjacent base stations, and the position information of the target base station is rectified by calculating the connection times and distance between the target base station and the adjacent base stations.
[0004] However, the inventors have found that the prior art at least has the following technical problems: when there are many base station position deviations in a certain area, the base station rectification may obtain incorrect rectification information according to the adjacent base stations around the target base station, and finally cause the base stations in the area to deviate in groups. Therefore, there is an urgent need for a method for verifying the rectification results of the base station position information. SUMMARY
[0005] The present application provides a base station position information rectification verification method, device, server and storage medium to overcome the problem of base station deviation in groups in the base station rectification process.
[0006] In a first aspect, the present application provides a base station position information rectification verification method, comprising:
[0007] Obtaining the latest administrative division information nationwide, marking the original position information of the base stations in the region to be verified before rectification to obtain the original administrative division, and marking the rectification result position information of the base stations after rectification to obtain the rectification result administrative division;
[0008] Filtering the base stations by comparing the original administrative division, the rectification result administrative division and / or the base station information administrative division in the base station information to obtain the effective base stations;
[0009] Determining the absolute advantage administrative division in the region to be verified according to the original administrative division and the rectification result administrative division, and correcting the base station information administrative division according to the absolute advantage administrative division to obtain the corrected base station information administrative division, wherein the absolute advantage administrative division is the correct version of the administrative division in the region to be verified;
[0010] Preliminarily verifying the rectification result according to the rectification result administrative division, the corrected base station information administrative division and / or the rectification distance threshold.
[0011] In a possible design, the absolute dominant administrative division in the to-be-verified region is determined according to the original administrative division and the rectified administrative division, including: calculating the total number of records of each administrative division in the original administrative division and the rectified administrative division of the base station in the to-be-verified region; calculating the record mean value according to the total number of records and the total number of base stations; calculating the offset value of each administrative division according to the record mean value; comparing the offset value of each administrative division with a preset threshold value; if the offset value of an administrative division is greater than the preset threshold value, the administrative division is determined as the absolute dominant administrative division of the corresponding administrative region.
[0012] In a possible design, the rectified result is preliminarily verified according to the rectified administrative division, the corrected base station information administrative division and / or the rectified distance threshold value, including: if the corrected base station information administrative division is accurate to the county, the rectified administrative division is in the county of the corrected base station information administrative division, then the rectified result is determined to be valid; if the corrected base station information administrative division is accurate to the city, the rectified administrative division is in the city of the corrected base station information administrative division, and the rectified distance is less than the rectified distance threshold value, then the rectified result is determined to be valid; if the corrected base station information administrative division is accurate to the province, the rectified administrative division is in the province of the corrected base station information administrative division, and the rectified distance is less than the rectified distance threshold value, then the rectified result is determined to be valid; if the original administrative division is outside the province of the corrected base station information administrative division, the rectified administrative division is in the province of the corrected base station information administrative division, then the rectified result is determined to be valid; if the base station does not have the original administrative division, the rectified administrative division is consistent with the province of the corrected base station information administrative division, then the rectified result is determined to be valid.
[0013] In a possible design, the calculation formula of the rectified distance is as follows:
[0014]
[0015] In the formula, Dist i is the rectified distance, r is the radius of the earth, lat B and lon B are the longitude and latitude before rectification of the base station, lat i and lon i are the longitude and latitude after rectification of the base station, and the longitude and latitude are expressed in radians.
[0016] In a possible design, the calculation formula of the rectified distance threshold value is as follows:
[0017]
[0018] In the formula, Dist α is the rectified distance threshold value; m is the area of the administrative division, and α is the tolerance to the rectified distance, which is determined according to the population density of the administrative division.
[0019] In a possible design, the filtering of the base stations is performed by comparing the original administrative division, the rectified result administrative division, and / or the base station information administrative division in the base station information, to obtain effective base stations, including: filtering base stations whose original administrative division and rectified result administrative division are both outside the country or whose original administrative division and rectified result administrative division are inconsistent with the province to which the base station information administrative division belongs; filtering base stations that have no location information in the base station information, whose rectified result administrative division is outside the country, or whose rectified result administrative division is inconsistent with the province to which the base station information administrative division belongs; and filtering base stations that do not have rectification conditions and whose original administrative division is inconsistent with the province to which the base station information administrative division in the base station information belongs.
[0020] In a possible design, after the preliminary verification of the rectified result is performed according to the rectified result administrative division, the corrected base station information administrative division, and / or the rectification distance threshold, the method further includes: performing classification on the base stations whose base station information administrative division is incorrect, according to the rectified result location information, to obtain a classification result, where the base stations whose base station information administrative division is incorrect are base stations whose rectified result administrative division is different from the corrected base station information administrative division; correcting the administrative division of the base stations whose base station information administrative division is incorrect, according to the rectified result administrative division that is accurate to the county level; and determining that the rectified result is valid if the rectified result administrative division of the base stations whose base station information administrative division is incorrect is within the administrative division accurate to the county level.
[0021] In a second aspect, the present application provides a base station location information rectification verification device, including:
[0022] The marking module is configured to obtain the latest administrative division information nationwide, mark the original location information of the base stations in the to-be-verified region before rectification to obtain an original administrative division, and mark the rectified result location information of the base stations after rectification to obtain a rectified result administrative division.
[0023] The filtering module is configured to filter the base stations by comparing the original administrative division, the rectified result administrative division, and / or the base station information administrative division in the base station information, to obtain effective base stations.
[0024] The correction module is configured to determine an absolute advantage administrative division in the to-be-verified region according to the original administrative division and the rectified result administrative division, and correct the base station information administrative division according to the absolute advantage administrative division to obtain a corrected base station information administrative division, where the absolute advantage administrative division is a correct version of the administrative division in the to-be-verified region.
[0025] The verification module is configured to perform preliminary verification of the rectified result according to the rectified result administrative division, the corrected base station information administrative division, and / or a rectification distance threshold.
[0026] In a third aspect, the present application provides a server, comprising: at least one processor and a memory;
[0027] The memory stores computer-executable instructions;
[0028] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the base station position information rectification verification method as described in the first aspect and various possible designs of the first aspect.
[0029] In a fourth aspect, the present application provides a computer storage medium, which stores computer-executable instructions, and when a processor executes the computer-executable instructions, the base station position information rectification verification method as described in the first aspect and various possible designs of the first aspect is implemented.
[0030] The base station position information rectification verification method, device, server and storage medium provided by the present application mark the position information of the base stations in the to-be-verified region before and after rectification according to the latest administrative division information in the country to obtain the original administrative division and the rectification result administrative division, determine the absolute advantage administrative division in the to-be-verified region according to the original administrative division and the rectification result administrative division of the filtered effective base stations, and correct the base station information administrative division according to the absolute advantage administrative division. According to the rectification result administrative division, the corrected base station information administrative division and / or the rectification distance threshold, the preliminary verification of the rectification result is realized. BRIEF DESCRIPTION OF DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0032] Figure 1 The application scenario diagram of the base station position information rectification verification method provided by the present application is shown.
[0033] Figure 2 The base station position information rectification verification method flowchart provided by one embodiment of the present application is shown.
[0034] Figure 3 The base station position information rectification verification method flowchart provided by another embodiment of the present application is shown.
[0035] Figure 4 The structure diagram of the base station position information rectification verification device provided by the present application is shown.
[0036] Figure 5A hardware structure schematic diagram of a server provided by an embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in connection with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0038] To address the problem that regional base stations may form a group and deviate in the base station deviation correction process, the embodiments of the present application propose the following technical solutions: obtaining the latest administrative division of the whole country, correcting the administrative division of base station information, and then performing preliminary verification on the deviation correction result according to the administrative division of the deviation correction result, the corrected administrative division of the base station information, and / or a deviation correction distance threshold. The following detailed embodiments are used for detailed description.
[0039] Figure 1 An application scenario schematic diagram of the base station position information deviation correction verification method provided by an embodiment of the present application is shown in the figure. Figure 1 As shown in the figure, the application scenario includes a server 101 and a display terminal 102. The server 101 performs deviation correction verification on base station position information and sends the verification result to the display terminal 102 for display.
[0040] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail in the following specific embodiments. The following several specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described below in connection with the accompanying drawings.
[0041] Figure 2 A base station position information deviation correction verification method flowchart provided by an embodiment of the present application is shown in the figure. The execution subject of the embodiment can be the server in the embodiment shown in the figure, or any computing device, which is not particularly limited here in the embodiment. As shown in the figure, Figure 1 The method includes the following steps. Figure 2
[0042] S201: Obtain the latest administrative division information of the whole country, mark the original position information of the base stations in the region to be verified before deviation correction to obtain the original administrative division, and mark the deviation correction result position information of the base stations after deviation correction to obtain the deviation correction result administrative division.
[0043] The position information of the base station is longitude and latitude information of the base station.
[0044] Specifically, according to the latest administrative division information of the country, the original longitude and latitude information of the base station in the to-be-verified region before rectification is marked to obtain the original administrative division, and the rectified result longitude and latitude information of the base station after rectification is marked to obtain the rectified result administrative division.
[0045] S202: Filtering the base station by comparing the original administrative division, the rectified result administrative division and / or the base station information administrative division in the base station information to obtain the effective base station.
[0046] Specifically, the original administrative division and the rectified result administrative division are both in the overseas or the original administrative division and the rectified result administrative division are inconsistent with the province to which the base station information administrative division belongs; the base station information has no position information, the rectified result administrative division is in the overseas or the rectified result administrative division is inconsistent with the province to which the base station information administrative division belongs; the base station does not have rectification conditions, and the original administrative division is inconsistent with the province to which the base station information administrative division belongs in the base station information.
[0047] In summary, by filtering the base station, the effective base station is obtained, so that the base station rectification result is more accurate.
[0048] S203: Determining the absolute advantage administrative division in the to-be-verified region according to the original administrative division and the rectified result administrative division, and correcting the base station information administrative division according to the absolute advantage administrative division to obtain the corrected base station information administrative division, wherein the absolute advantage administrative division is the correct version of the administrative division in the to-be-verified region.
[0049] Specifically, the absolute advantage administrative division in the to-be-verified region is determined according to the original administrative division and the rectified result administrative division, including S2031-S2035:
[0050] S2031: Calculating the total number of records of each administrative division in the original administrative division and the rectified result administrative division of the base station in the to-be-verified region.
[0051] Specifically, the total number of records of each county administrative division, city administrative division and province administrative division is recorded.
[0052] The calculation formula of the total number of records is as follows:
[0053]
[0054] In the formula, N is the total number of records, m is the number of types of various county divisions, city administrative divisions and province administrative divisions, and n is the number of records of each administrative division. i
[0055] S2032: Calculating the record average according to the total number of records and the total number of base stations.
[0056] The calculation formula of the record average is as follows:
[0057]
[0058] In the formula, u is the record average, and a is the total number of base stations in the administrative division of the base station information.
[0059] S2033: Calculate the offset value of each administrative division according to the record average.
[0060] The calculation formula of the offset value is as follows:
[0061]
[0062] In the formula, β i is the offset value of each administrative division.
[0063] S2034: Compare the offset value of each administrative division with a preset threshold value. If the offset value of an administrative division is greater than the preset threshold value, perform S2035.
[0064] In this embodiment, the preset threshold value can be a positive number less than 1, such as 0.8, 0.9, etc.
[0065] S2035: Determine the administrative division as the absolute advantage administrative division corresponding to the attribute.
[0066] Specifically, the administrative division of the base station information is modified to the absolute advantage administrative division, and the modified base station is marked as correct.
[0067] In summary, by calculating the record total number of each administrative division in the original administrative division of the base station in the to-be-verified region and the rectification result administrative division, the offset value of each administrative division is obtained, the absolute advantage administrative division is determined according to the comparison result of the offset value of each administrative division and the preset threshold value, and the base station information administrative division is modified according to the absolute advantage administrative division. The base station information administrative division can be obtained more accurately.
[0068] S204: According to the rectification result administrative division, the modified base station information administrative division, and / or the rectification distance threshold value, the rectification result is preliminarily verified.
[0069] Specifically, if the corrected base station information administrative division is accurate to the county, the correction result administrative division is within the county of the corrected base station information administrative division, it is determined that the correction result is valid; if the corrected base station information administrative division is accurate to the city, the correction result administrative division is within the city of the corrected base station information administrative division, and the correction distance is less than the correction distance threshold, it is determined that the correction result is valid; if the corrected base station information administrative division is accurate to the province, the correction result administrative division is within the province of the corrected base station information administrative division, and the correction distance is less than the correction distance threshold, it is determined that the correction result is valid; if the original administrative division is outside the province of the corrected base station information administrative division, the correction result administrative division is within the province of the corrected base station information administrative division, it is determined that the correction result is valid; if the base station does not have the original administrative division, the correction result administrative division is consistent with the corrected base station information administrative division province, it is determined that the correction result is valid.
[0070] In summary, by preliminary verification of the correction result according to the correction result administrative division, the corrected base station information administrative division and / or the correction distance threshold, a more accurate correction result is obtained.
[0071] Wherein, the correction distance formula is as follows:
[0072] And latitude, lat i , lon i are the longitude and latitude of the base station after correction, and the longitude and latitude are expressed in radians.
[0073] Wherein, the calculation formula of the correction distance threshold is as follows:
[0074]
[0075] In the formula, Dist α is the correction distance threshold; m is the area of the administrative division, and a is the tolerance of the correction distance, which is determined according to the population density of the administrative division.
[0076] For example, a is divided into three grades: sparsely populated administrative areas, densely populated administrative areas and other administrative areas.
[0077] In summary, the base station position information correction verification method provided in the embodiment marks the position information of the base station before and after correction in the to-be-verified region according to the latest administrative division information in the country to obtain the original administrative division and the correction result administrative division, determines the absolute dominant administrative division in the to-be-verified region according to the original administrative division and the correction result administrative division of the filtered effective base station, and corrects the base station information administrative division according to the absolute dominant administrative division, and realizes the preliminary verification of the correction result according to the correction result administrative division, the corrected base station information administrative division and / or the correction distance threshold.
[0078] Figure 3 The base station position information rectification verification method flowchart is provided for another embodiment of the present application. The embodiment of the present application rectifies the base station position information according to the base station information and the latest administrative division information of the country, and verifies the rectified result. Figure 2 Based on the provided embodiment, the specific implementation method of the verification of the rectified base station information after S204 is described in detail. As shown in Figure 3 The method comprises the following steps:
[0079] S301: According to the rectified result position information, a classification algorithm is used to classify the base station information administrative division error base station, and a classification result is obtained, wherein the base station information administrative division error base station is the base station whose rectified result administrative division is different from the corrected base station information administrative division.
[0080] The rectified result position information is the rectified result latitude and longitude.
[0081] In the embodiment, the classification algorithm can be a KNN (K-Nearest Neighbor) classification algorithm or a minimum clustering algorithm.
[0082] S302: According to the classification result, the administrative division of the base station information administrative division error base station is corrected according to the rectified result administrative division accurate to the county.
[0083] S303: If the rectified result administrative division of the base station information administrative division error base station is within the administrative division accurate to the county, it is determined that the rectified result is valid.
[0084] In summary, the base station position information rectification verification method provided by the embodiment corrects the administrative division of the base station information according to the classification result of the base station information administrative division error base station, and verifies the corrected base station information administrative division, thereby realizing further verification of the base station rectification result.
[0085] Figure 4 The structure diagram of the base station position information rectification verification device provided by the embodiment of the present application is shown in the figure. As shown in Figure 4 The base station position information rectification verification device comprises a marking module 401, a filtering module 402, a correction module 403 and a preliminary verification module 404.
[0086] The marking module 401 is used to obtain the latest administrative division information of the country, mark the original position information of the base station in the verification area before rectification to obtain the original administrative division, and mark the rectified result position information of the base station after rectification to obtain the rectified result administrative division.
[0087] The filtering module 402 is used to filter the base station by comparing the original administrative division, the rectified result administrative division and / or the base station information administrative division in the base station information, and obtain the effective base station.
[0088] The correction module 403 is configured to determine an absolute dominant administrative division in the to-be-verified region according to the original administrative division and the rectified administrative division, and correct the base station information administrative division according to the absolute dominant administrative division, to obtain a corrected base station information administrative division. The absolute dominant administrative division is a correct version of the administrative division of the to-be-verified region.
[0089] The verification module 404 is configured to preliminarily verify the rectification result according to the rectified administrative division, the corrected base station information administrative division, and / or a rectification distance threshold.
[0090] In a possible implementation, the filtering module 402 is specifically configured to filter the base stations that meet the following conditions: the original administrative division and the rectified administrative division are both outside the country, or the original administrative division and the rectified administrative division are inconsistent with the province to which the base station information administrative division belongs; the base station information does not include location information, the rectified administrative division is outside the country, or the rectified administrative division is inconsistent with the province to which the base station information administrative division belongs; and the base station does not meet the rectification condition, and the original administrative division is inconsistent with the province to which the base station information administrative division belongs.
[0091] In a possible implementation, the correction module 403 is specifically configured to calculate the total number of records of each administrative division of the base stations in the to-be-verified region in the original administrative division and the rectified administrative division; calculate a record mean value according to the total number of records and the total number of base stations; calculate a deviation value of each administrative division according to the record mean value; compare the deviation value of each administrative division with a preset threshold value; and determine that the administrative division is the absolute dominant administrative division of the corresponding administrative region if the deviation value of the administrative division is greater than the preset threshold value.
[0092] In a possible implementation, the verification module 404 is specifically configured to determine that the rectification result is valid if the corrected base station information administrative division is accurate to the county level and the rectified administrative division is within the county of the corrected base station information administrative division; determine that the rectification result is valid if the corrected base station information administrative division is accurate to the city level, the rectified administrative division is within the city of the corrected base station information administrative division, and the rectification distance is less than the rectification distance threshold; determine that the rectification result is valid if the corrected base station information administrative division is accurate to the province level, the rectified administrative division is within the province of the corrected base station information administrative division, and the rectification distance is less than the rectification distance threshold; determine that the rectification result is valid if the original administrative division is outside the province of the corrected base station information administrative division and the rectified administrative division is within the province of the corrected base station information administrative division; and determine that the rectification result is valid if the base station does not have the original administrative division, and the rectified administrative division is consistent with the province of the corrected base station information administrative division.
[0093] In a possible implementation, the base station position information rectification verification apparatus further includes a re-verification module 405, which is specifically configured to: according to the rectified position information, use a classification algorithm to classify the base stations with administrative division errors of base station information, to obtain a classification result, wherein the base stations with administrative division errors of base station information are base stations with different administrative divisions between the rectified administrative division and the corrected administrative division of base station information; according to the classification result, correct the administrative division of the base stations with administrative division errors of base station information according to the rectified administrative division accurate to a county; and if the rectified administrative division of the base stations with administrative division errors of base station information is within the administrative division accurate to a county, determine that the rectified result is valid.
[0094] The apparatus provided in the embodiment can be used to execute the technical solutions of the method embodiments, and has similar implementation principles and technical effects, which will not be described here again.
[0095] Figure 5 A hardware structure schematic diagram of a server provided in the embodiment is shown in the figure. Figure 5 As shown in the figure, the server in the embodiment includes a processor 501 and a memory 502.
[0096] The memory 502 is configured to store computer execution instructions.
[0097] The processor 501 is configured to execute the computer execution instructions stored in the memory, to implement each step executed by the server in the above embodiments. For details, refer to the related description in the foregoing method embodiments.
[0098] Optionally, the memory 502 can be independent or integrated with the processor 501.
[0099] When the memory 502 is independently arranged, the server further includes a bus 503, configured to connect the memory 502 and the processor 501.
[0100] The embodiment of the application further provides a computer storage medium, which stores computer execution instructions, and when the processor executes the computer execution instructions, the base station position information rectification verification method is implemented.
[0101] The embodiment of the application further provides a computer program product, which includes a computer program, and when the computer program is executed by the processor, the abnormal repeater identification method is implemented.
[0102] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other manners. For example, the embodiments of the device described above are merely schematic. For example, the division of the modules is merely logical function division. There can be another division manner for the actual implementation. For example, a plurality of modules or a function can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or modules, and can be electrical, mechanical or in other forms.
[0103] The modules illustrated as separated components can or can not be physically separated, and the components illustrated as modules can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Part or all of the modules can be selected according to actual needs to implement the embodiments of the present application.
[0104] In addition, each function module in the embodiments of the present application can be integrated in one processing unit, or each module can be a physical unit, or two or more modules can be integrated in one unit. The unit formed by the above modules can be realized in the form of hardware, or in the form of hardware and software function unit.
[0105] The integrated module realized in the form of software function module can be stored in a computer readable storage medium. The software function module stored in the storage medium includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute part of the steps of the embodiments of the present application.
[0106] It should be understood that the processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor. The steps of the disclosed method can be directly embodied as the execution of the hardware processor, or the combination of the hardware and software modules in the processor.
[0107] The memory can include a high-speed RAM memory, and can also include a non-volatile storage NVM, such as at least one disk memory, and can also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0108] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.
[0109] The storage medium described above can be realized by any type of volatile or nonvolatile storage devices or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic storage, a flash memory, a magnetic disk, or an optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0110] An exemplary storage medium is coupled to the processor so that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can be part of the processor. The processor and the storage medium can be located in an application specific integrated circuits (ASIC). Of course, the processor and the storage medium can exist as discrete components in the electronic device or host device.
[0111] Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by relevant hardware instructed by programs. The foregoing programs can be stored in a computer readable storage medium. When the programs are executed, the steps of the above-mentioned method embodiments are executed; and the foregoing storage medium includes various media that can store program codes, such as ROM, RAM, magnetic disks, or optical disks.
[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for verifying a correction of base station location information, characterized in that, Applied to a server, comprising: Obtaining the latest administrative division information nationwide, marking the original location information of the base station in the region to be verified before rectification to obtain the original administrative division, and marking the rectified result location information after rectification of the base station to obtain the rectified result administrative division; the location information is the longitude and latitude information of the base station; Filtering the base station whose original administrative division and rectified result administrative division are both outside the country or whose original administrative division and rectified result administrative division are inconsistent with the province to which the base station information administrative division belongs; filtering the base station whose base station information has no location information, whose rectified result administrative division is outside the country or inconsistent with the province to which the base station information administrative division belongs; filtering the base station which does not have rectification conditions and whose original administrative division is inconsistent with the province to which the base station information administrative division belongs; Calculating the total number of records of each administrative division in the original administrative division and the rectified result administrative division of the base station in the region to be verified; calculating the record mean value according to the total number of records and the total number of base stations; calculating the offset value of each administrative division according to the record mean value; comparing the offset value of each administrative division with the preset threshold value; if the offset value of an administrative division is greater than the preset threshold value, determining that the administrative division is the absolute dominant administrative division of the corresponding territory, and correcting the base station information administrative division according to the absolute dominant administrative division to obtain the corrected base station information administrative division, wherein the absolute dominant administrative division is the correct version of the administrative division of the territory in the region to be verified; If the corrected base station information administrative division is accurate to the county, and the rectified result administrative division is within the county of the corrected base station information administrative division, it is determined that the rectified result is valid; if the corrected base station information administrative division is accurate to the city, and the rectified result administrative division is within the city of the corrected base station information administrative division, and the rectified distance is less than the rectified distance threshold value, it is determined that the rectified result is valid; if the corrected base station information administrative division is accurate to the province, and the rectified result administrative division is within the province of the corrected base station information administrative division, and the rectified distance is less than the rectified distance threshold value, it is determined that the rectified result is valid; if the original administrative division is outside the province of the corrected base station information administrative division, and the rectified result administrative division is within the province of the corrected base station information administrative division, it is determined that the rectified result is valid; if the base station does not have the original administrative division, and the rectified result administrative division is consistent with the province of the corrected base station information administrative division, it is determined that the rectified result is valid.
2. The method of claim 1, wherein, The calculation formula of the rectified distance is as follows: In the formula, is the correction distance, is the radius of the earth, , is the longitude and latitude of the base station before correction, , are the longitude and latitude of the base station after correction, and the longitude and latitude are expressed in radians.
3. The method of claim 1, wherein, The calculation formula of the rectified distance threshold value is as follows: In the formula, is a threshold value for the correction distance; is an area of the administrative division, is a tolerance for the correction distance, determined according to the population density of the administrative division.
4. The method according to any one of claims 1 to 3, characterized in that, After the preliminary verification of the rectified result according to the rectified result administrative division, the corrected base station information administrative division, and / or the rectified distance threshold value, further comprising: According to the rectified result location information, using a classification algorithm to classify the base station with incorrect base station information to obtain a classification result, wherein the base station with incorrect base station information is the base station whose rectified result administrative division is different from the corrected base station information administrative division; According to the classification result, the administrative division of the base station information is corrected according to the correction result administrative division of the correction result administrative division of the base station information administrative division error base station; If the correction result administrative division of the base station information administrative division error base station is in the administrative division accurate to the county, it is determined that the correction result is effective.
5. A base station position information correction verification device, characterized by comprising: Comprise: The marking module is used for obtaining the latest administrative division information of the whole country, marking the original position information of the base station in the to-be-verified region before correction to obtain the original administrative division, and marking the correction result position information of the base station after correction to obtain the correction result administrative division; the position information is the longitude and latitude information of the base station; The filtering module is used for filtering the base station whose original administrative division and correction result administrative division are both in the overseas or whose original administrative division and correction result administrative division are inconsistent with the province to which the base station information administrative division belongs; The filtering module is used for filtering the base station without position information in the base station information, the correction result administrative division in the overseas or the correction result administrative division inconsistent with the province to which the base station information administrative division belongs; The filtering module is used for filtering the base station without correction condition and inconsistent with the province to which the base station information administrative division belongs in the base station information; The correction module is used for calculating the total number of records of each kind of administrative division in the original administrative division and the correction result administrative division of the base station in the to-be-verified region; According to the record average value, the offset value of each kind of administrative division is calculated; the offset value of each kind of administrative division is compared with the preset threshold value; if the offset value of one kind of administrative division is greater than the preset threshold value, it is determined that the administrative division is the absolute advantage administrative division of the corresponding territory, and the base station information administrative division is corrected according to the absolute advantage administrative division to obtain the corrected base station information administrative division, wherein the absolute advantage administrative division is the correct version administrative division of the territory in the to-be-verified region; If the corrected base station information administrative division is accurate to the county, the correction result administrative division is in the county of the corrected base station information administrative division, it is determined that the correction result is effective; If the corrected base station information administrative division is accurate to the city, the correction result administrative division is in the city of the corrected base station information administrative division, and the correction distance is less than the correction distance threshold value, it is determined that the correction result is effective; If the corrected base station information administrative division is accurate to the province, the correction result administrative division is in the province of the corrected base station information administrative division, and the correction distance is less than the correction distance threshold value, it is determined that the correction result is effective; If the original administrative division is outside the province of the corrected base station information administrative division, the correction result administrative division is in the province of the corrected base station information administrative division, it is determined that the correction result is effective; If the base station does not have the original administrative division, the correction result administrative division is consistent with the province of the corrected base station information administrative division, it is determined that the correction result is effective.
6. A server, characterized by Comprise: At least one processor and memory; The memory stores computer execution instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the base station position information correction verification method according to any one of claims 1 to 4.
7. A computer storage medium, characterized in that The computer storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the base station position information correction verification method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Cell base station longitude and latitude data correction method based on KNN (K Nearest Neighbor)
CN109548139A
Base station position information checking method, device and equipment and computer storage medium
CN111935733A