CN116600384B - Multi-base station positioning method, device, storage medium and system - Google Patents
Multi-base station positioning method, device, storage medium and system Download PDFInfo
- Publication number
- CN116600384B CN116600384B CN202310868633.3A CN202310868633A CN116600384B CN 116600384 B CN116600384 B CN 116600384B CN 202310868633 A CN202310868633 A CN 202310868633A CN 116600384 B CN116600384 B CN 116600384B
- Authority
- CN
- China
- Prior art keywords
- base station
- latitude
- longitude
- candidate
- distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000005259 measurement Methods 0.000 claims abstract description 32
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 14
- 238000004364 calculation method Methods 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 20
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/0009—Transmission of position information to remote stations
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a multi-base station positioning method, a device, a storage medium and a system, wherein the multi-base station positioning method, the device, the storage medium and the system improve the positioning accuracy of a terminal by acquiring the longitude and latitude of a service base station and a candidate base station, then utilizing the RSRP information of the base station to estimate the distance between the base station and the terminal and obtaining the position of the terminal through an inverse distance weighting algorithm; further, the multi-base station positioning method, the device, the storage medium and the system provided by the invention also acquire more base station information as much as possible by acquiring network measurement information for many times, so that the influence of frequent switching of base stations on positioning is reduced, and the stability of terminal positioning is improved.
Description
Technical Field
The present invention relates to the field of base station positioning technologies for acquiring information of multiple base stations through a mobile terminal, and in particular, to a method, an apparatus, a computer readable storage medium and a system for positioning multiple base stations.
Background
In the presence of shadows or bad weather, such as in tunnels, stormy weather, the terminal may be affected to receive satellite signals, thereby affecting the speed and accuracy of positioning. In this case, base station positioning is an effective supplementary means. The base station positioning is to obtain relevant information of the base station by using a base station tower of an operator, a mobile phone is accessed to the network, the longitude and latitude coordinates of the base station can be obtained by inquiring a base station database by using identification parameters in the base station information, and then the positioning information of a user can be roughly obtained according to the signal intensity of the base station. In order to ensure communication quality, mobile terminals are often located within the signal coverage of multiple base stations. Once a base station is connected, the base station becomes a serving base station, and the base stations that are scanned but not connected are called candidate base stations. When the mobile terminal scans surrounding base station information, information of the serving base station and candidate base stations is acquired. Although the candidate base station is not connected to the mobile terminal, it is still considered as potential positioning assistance information, which may provide a higher positioning accuracy for the mobile terminal. For example, in 2G base station positioning, identification information of the serving base station and the candidate base station may be obtained through network measurement information: MCC (mobile country code), MNC (MobileNetwork Code, mobile network number), LAC (location area code), CI (Cell Identifier), these four parameters are identification information of the 2G base station, and the base station database is queried through these four identification information to obtain longitude and latitude of the base station, and in addition, signal intensity of the base station received by the terminal is obtained, and the relative location information between the terminal and the base station can be calculated. The position information of the terminal can be estimated through the longitude and latitude of the base station and the relative position information between the terminal and the base station.
In the prior art, as the number of 2G base stations decreases, the density of the 2G base stations decreases, and the positioning accuracy also decreases. However, with the continuous development of communication technology, the number of 4G/5G base stations is continuously increasing, and the density of base stations is gradually increasing.
However, the prior art still has the following drawbacks: satellite positioning methods such as Beidou or GPS have weak signals in a shielded or severe environment, so that positioning is inaccurate. In this case, base station positioning is an effective supplementary means. However, the 4G/5G technology does not allow the mobile terminal to acquire the unique identification parameter information of the candidate base station, only the information of a single serving base station can be used, only the longitude and latitude of the single base station can be acquired by using the original base station database, and the positioning error is large.
Accordingly, there is a need for a multi-base station positioning method, apparatus, computer readable storage medium, and system that overcomes the above-identified deficiencies in the prior art.
Disclosure of Invention
The embodiment of the invention provides a multi-base station positioning method, a multi-base station positioning device, a computer readable storage medium and a system, so that the accuracy of terminal positioning is improved.
An embodiment of the present invention provides a multi-base station positioning method, including: acquiring network measurement information of a terminal to be positioned; the network measurement information comprises first base station information of a service base station and second base station information of a candidate base station; correspondingly acquiring the first longitude and latitude of the service base station and the second longitude and latitude of the candidate base station from the base station database according to the first base station information and the second base station information; and calculating the position of the terminal to be positioned according to a preset inverse distance weighting algorithm, the first longitude and latitude and the second longitude and latitude.
As an improvement of the above solution, according to the first base station information and the second base station information, the obtaining, from the base station database, the first longitude and latitude of the serving base station and the second longitude and latitude of the candidate base station correspondingly includes: acquiring a first longitude and latitude of the service base station from the base station database according to the tracking area code and the cell identification number in the first base station information; according to the absolute radio frequency channel number and the physical cell identification in the second base station information, acquiring the candidate longitude and latitude of the candidate base station from the base station database, and judging whether the number of the candidate longitude and latitude is one or more; outputting the candidate longitude and latitude as a second longitude and latitude if the number of the candidate longitude and latitude is one; if the number of the candidate longitudes and latitudes is multiple, respectively calculating the base station distance between each candidate longitudes and latitudes and the service base station according to a preset first distance calculation formula, and outputting the first candidate longitudes and latitudes corresponding to the minimum value of the base station distance as the second longitudes and latitudes.
As an improvement of the above solution, before acquiring the network measurement information of the terminal to be located, the multi-base station location method further includes: setting a scanning frequency threshold and scanning interval time, and scanning by taking the scanning interval time as an interval to continuously acquire network measurement information until the scanning frequency reaches the scanning frequency threshold.
As an improvement of the above solution, calculating the position of the terminal to be located according to a preset inverse distance weighting algorithm, the first longitude and latitude, and the second longitude and latitude specifically includes: according to the reference signal receiving power, the first longitude and latitude, the second longitude and latitude and a preset second distance calculation formula, calculating a first distance between the terminal to be positioned and the service base station and a second distance between the terminal to be positioned and a candidate base station; solving a first reciprocal of the first distance and a second reciprocal of the second distance, and respectively normalizing the first reciprocal and the second reciprocal to correspondingly obtain a weighted value; and according to the weighted value, correspondingly carrying out weighted summation on the first longitude and the second latitude, and calculating to obtain the position of the terminal to be positioned.
As an improvement of the above solution, before acquiring the network measurement information of the terminal to be located, the multi-base station location method further includes: and collecting the mobile country number, the absolute radio frequency channel number, the physical cell identification, the mobile network number, the tracking area code, the cell unique identification and the longitude and latitude coordinates of the base station of each base station.
As an improvement of the above solution, the first distance calculation formula includes a manhattan distance calculation formula, a chebyshev distance calculation formula, and an euclidean distance calculation formula.
The invention further provides a multi-base station positioning device correspondingly, which comprises an information acquisition unit, a longitude and latitude acquisition unit and a distance calculation unit, wherein the information acquisition unit is used for acquiring network measurement information of a terminal to be positioned; the network measurement information comprises first base station information of a service base station and second base station information of a candidate base station; the longitude and latitude acquisition unit is used for correspondingly acquiring the first longitude and latitude of the service base station and the second longitude and latitude of the candidate base station from the base station database according to the first base station information and the second base station information; the distance calculating unit is used for calculating the position of the terminal to be positioned according to a preset inverse distance weighting algorithm, the first longitude and latitude and the second longitude and latitude.
As an improvement of the above-described aspect, the warp and weft obtaining unit is configured to: acquiring a first longitude and latitude of the service base station from the base station database according to the tracking area code and the cell identification number in the first base station information; according to the absolute radio frequency channel number and the physical cell identification in the second base station information, acquiring the candidate longitude and latitude of the candidate base station from the base station database, and judging whether the number of the candidate longitude and latitude is one or more; outputting the candidate longitude and latitude as a second longitude and latitude if the number of the candidate longitude and latitude is one; if the number of the candidate longitudes and latitudes is multiple, respectively calculating the base station distance between each candidate longitudes and latitudes and the service base station according to a preset first distance calculation formula, and outputting the first candidate longitudes and latitudes corresponding to the minimum value of the base station distance as the second longitudes and latitudes.
As an improvement of the above-described aspect, the distance calculating unit is configured to: according to the reference signal receiving power, the first longitude and latitude, the second longitude and latitude and a preset second distance calculation formula, calculating a first distance between the terminal to be positioned and the service base station and a second distance between the terminal to be positioned and a candidate base station; solving a first reciprocal of the first distance and a second reciprocal of the second distance, and respectively normalizing the first reciprocal and the second reciprocal to correspondingly obtain a weighted value; and according to the weighted value, correspondingly carrying out weighted summation on the first longitude and the second latitude, and calculating to obtain the position of the terminal to be positioned.
As an improvement of the above solution, the multi-base station positioning device further includes a database reconstruction unit configured to: and collecting the mobile country number, the absolute radio frequency channel number, the physical cell identification, the mobile network number, the tracking area code, the cell unique identification and the longitude and latitude coordinates of the base station of each base station.
Another embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where the computer program when executed controls a device in which the computer readable storage medium is located to perform a multi-base station positioning method as described above.
Another embodiment of the present invention provides a multi-base station positioning system comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a multi-base station positioning method as described above when executing the computer program.
Compared with the prior art, the technical scheme has the following beneficial effects:
the invention provides a multi-base station positioning method, a device, a computer readable storage medium and a system, which are used for estimating the distance between a base station and a terminal by acquiring the longitude and latitude of a service base station and a candidate base station and then utilizing the RSRP information of the base station and obtaining the position of the terminal through an inverse distance weighting algorithm.
Further, the multi-base station positioning method, the multi-base station positioning device, the computer readable storage medium and the system provided by the invention can acquire more base station information as much as possible by acquiring network measurement information for many times, so that the influence of frequent switching of base stations on positioning is reduced, and the stability of terminal positioning is improved.
Drawings
Fig. 1 is a flow chart of a multi-base station positioning method according to an embodiment of the present invention;
FIG. 2 is a logic flow diagram of a method for reconstructing a base station database in accordance with an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a multi-base station positioning device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Detailed description of the preferred embodiments
The embodiment of the invention firstly describes a multi-base station positioning method. Fig. 1 is a flow chart of a multi-base station positioning method according to an embodiment of the present invention; fig. 2 is a logic flow diagram of a method for reconstructing a base station database in accordance with an embodiment of the present invention.
As shown in fig. 1, the vehicle location service analysis method includes:
s1, acquiring network measurement information of a terminal to be positioned.
The network measurement information includes first base station information of a serving base station and second base station information of a candidate base station.
In practical applications, in order to obtain latitude and longitude coordinates of a base station, a base station location database is required to be utilized. Currently, the base station database typically includes the following parameters MCC, MNC, TAC, CI, LAT Latitude), LON (Longitude).
Wherein MCC is a mobile country number, which consists of 3 digits, and MCC in China is 460; MNC is mobile network number, composed of 2-3 digits, chinese Mobile is 00, chinese Unicom is 01; TAC is a tracking area code, is self-distributed by an operator and mainly plays a role in positioning unique identification of a mobile user; CI is a cell unique identifier, and mainly plays a role in positioning the unique identifier of a mobile user; LAT and LON are latitude and longitude coordinates of the base station. MCC, MNC, TAC and CI parameters in the network measurement information can be used for database query to obtain longitude and latitude information of the base station. The mobile terminal can only acquire the TAC and the CI of the service base station, but can not acquire the TAC and the CI of the candidate base station. Therefore, only the latitude and longitude of the serving base station can be obtained, and the latitude and longitude of the candidate base station cannot be obtained, so that the potential positioning auxiliary information of the candidate base station cannot be utilized.
The 4G/5G network measurement information has two important parameters besides MCC, MNC, TAC, CI: PCI is physical cell identification used for distinguishing wireless signals of different cells, and ensuring that the same physical cell identification does not exist in the coverage area of the related cells; ARFCN is an absolute radio frequency channel number, a code used in wireless communications to identify the transmit and receive reference frequencies. Operators are prone to PCI conflicts if they do not have a reasonable configuration of the PCI and ARFCN. There are two types of PCI collisions-PCI collisions and PCI confusion. If two neighboring cells in a mobile communication network use the same frequency and PCI, problems of signal synchronization and decoding may occur when the terminal is in the signal overlap area of the two cells. This situation is known as a PCI collision. When a serving cell and a measurement cell in a mobile communication network meet a handover threshold condition and neighboring cells of the two cells use the same frequency and physical cell identification code (PCI), a problem may occur that a user equipment cannot correctly identify the serving cell and the measurement cell, and thus handover failure or call drop may occur, which is called PCI confusion.
In order to avoid PCI collision, the configuration of the neighboring cell is limited during the configuration of the base station: avoiding PCI collision problems: any two adjacent co-frequency cells cannot use the same PCI; avoiding PCI confusion problems: among all the neighbor cells, there cannot be two neighbor cells using the same frequency to employ the same PCI. In summary, in the candidate cell, the ARFCN and PCI are not repeated, and then the ARFCN and PCI can be used as the base station identification information in the candidate cell.
In this embodiment, the step of reconstructing the base station database takes advantage of this property, and takes ARFCN and PCI as a new identification information, and these two fields can be added on the basis of the original base station database. In order to maintain the network connection quality, the terminal may be connected to different base stations when it moves. When the number of the mobile terminals increases, the acquisition speed of the base station data can be increased, and the reconstruction of the base station database can be realized faster.
In one embodiment, before acquiring the network measurement information of the terminal to be located, the multi-base station location method further includes: and collecting the mobile country number, the absolute radio frequency channel number, the physical cell identification, the mobile network number, the tracking area code, the cell unique identification and the longitude and latitude coordinates of the base station of each base station.
In one embodiment, before acquiring the network measurement information of the terminal to be located, the multi-base station location method further includes: setting a scanning frequency threshold and scanning interval time, and scanning by taking the scanning interval time as an interval to continuously acquire network measurement information until the scanning frequency reaches the scanning frequency threshold.
S2, correspondingly acquiring the first longitude and latitude of the service base station and the second longitude and latitude of the candidate base station from the base station database according to the first base station information and the second base station information.
In one embodiment, according to the first base station information and the second base station information, the method includes correspondingly obtaining, from the base station database, a first longitude and latitude of the serving base station and a second longitude and latitude of the candidate base station, and specifically includes: acquiring a first longitude and latitude of the service base station from the base station database according to the tracking area code and the cell identification number in the first base station information; according to the absolute radio frequency channel number and the physical cell identification in the second base station information, acquiring the candidate longitude and latitude of the candidate base station from the base station database, and judging whether the number of the candidate longitude and latitude is one or more; outputting the candidate longitude and latitude as a second longitude and latitude if the number of the candidate longitude and latitude is one; if the number of the candidate longitudes and latitudes is multiple, respectively calculating the base station distance between each candidate longitudes and latitudes and the service base station according to a preset first distance calculation formula, and outputting the first candidate longitudes and latitudes corresponding to the minimum value of the base station distance as the second longitudes and latitudes.
In one embodiment, the first distance calculation formula includes a manhattan distance calculation formula, a chebyshev distance calculation formula, and an euclidean distance calculation formula.
And S3, calculating the position of the terminal to be positioned according to a preset inverse distance weighting algorithm, the first longitude and latitude and the second longitude and latitude.
In one embodiment, calculating the position of the terminal to be located according to a preset inverse distance weighting algorithm, the first longitude and latitude, and the second longitude and latitude specifically includes: according to the reference signal receiving power, the first longitude and latitude, the second longitude and latitude and a preset second distance calculation formula, calculating a first distance between the terminal to be positioned and the service base station and a second distance between the terminal to be positioned and a candidate base station; solving a first reciprocal of the first distance and a second reciprocal of the second distance, and respectively normalizing the first reciprocal and the second reciprocal to correspondingly obtain a weighted value; and according to the weighted value, correspondingly carrying out weighted summation on the first longitude and the second latitude, and calculating to obtain the position of the terminal to be positioned.
The embodiment of the invention describes a multi-base station positioning method, which comprises the steps of obtaining the longitude and latitude of a service base station and a candidate base station, then utilizing the RSRP information of the base station to estimate the distance between the base station and a terminal, and obtaining the position of the terminal through an inverse distance weighting algorithm; furthermore, the multi-base station positioning method described by the embodiment of the invention also obtains more base station information as much as possible by obtaining network measurement information for a plurality of times, thereby reducing the influence of frequent switching of the base stations on positioning and further improving the stability of positioning of the terminal.
Second embodiment
In addition to the above method, the embodiment of the invention also discloses a multi-base station positioning device. Fig. 3 is a schematic structural diagram of a multi-base station positioning device according to an embodiment of the present invention.
As shown in fig. 3, the multi-base station positioning device includes an information acquisition unit 11, a longitude and latitude acquisition unit 12, and a distance calculation unit 13.
The information acquisition unit 11 is configured to acquire network measurement information of a terminal to be located; the network measurement information includes first base station information of a serving base station and second base station information of a candidate base station. Wherein the second base station information includes absolute radio frequency channel numbers of candidate base stations and physical cell identities.
The longitude and latitude acquiring unit 12 is configured to correspondingly acquire, from the base station database, a first longitude and latitude of the serving base station and a second longitude and latitude of the candidate base station according to the first base station information and the second base station information.
In one embodiment, the warp and weft obtaining unit 12 is configured to: acquiring a first longitude and latitude of the service base station from the base station database according to the tracking area code and the cell identification number in the first base station information; according to the absolute radio frequency channel number and the physical cell identification in the second base station information, acquiring the candidate longitude and latitude of the candidate base station from the base station database, and judging whether the number of the candidate longitude and latitude is one or more; outputting the candidate longitude and latitude as a second longitude and latitude if the number of the candidate longitude and latitude is one; if the number of the candidate longitudes and latitudes is multiple, respectively calculating the base station distance between each candidate longitudes and latitudes and the service base station according to a preset first distance calculation formula, and outputting the first candidate longitudes and latitudes corresponding to the minimum value of the base station distance as the second longitudes and latitudes.
The distance calculating unit 13 is configured to calculate the position of the terminal to be located according to a preset inverse distance weighting algorithm, the first longitude and latitude, and the second longitude and latitude.
In one embodiment, the distance calculating unit 13 is configured to: according to the reference signal receiving power, the first longitude and latitude, the second longitude and latitude and a preset second distance calculation formula, calculating a first distance between the terminal to be positioned and the service base station and a second distance between the terminal to be positioned and a candidate base station; solving a first reciprocal of the first distance and a second reciprocal of the second distance, and respectively normalizing the first reciprocal and the second reciprocal to correspondingly obtain a weighted value; and according to the weighted value, correspondingly carrying out weighted summation on the first longitude and the second latitude, and calculating to obtain the position of the terminal to be positioned.
In one embodiment, the multi-base station positioning device further comprises a database reconstruction unit for: and collecting the mobile country number, the absolute radio frequency channel number, the physical cell identification, the mobile network number, the tracking area code, the cell unique identification and the longitude and latitude coordinates of the base station of each base station.
Wherein the units integrated by the multi-base station positioning device can be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as independent products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by instructing related hardware by a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of each of the method embodiments described above when executed by a processor. Another embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where the computer program when executed controls a device in which the computer readable storage medium is located to perform a multi-base station positioning method as described above.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the units indicates that the units have communication connection, and the connection relation can be specifically realized as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The embodiment of the invention describes a multi-base station positioning device and a computer readable storage medium, wherein the multi-base station positioning device and the computer readable storage medium improve the positioning accuracy of a terminal by acquiring the longitude and latitude of a service base station and a candidate base station, then utilizing the RSRP information of the base station to estimate the distance between the base station and the terminal and obtaining the position of the terminal through an inverse distance weighting algorithm; further, the multi-base station positioning device and the computer readable storage medium described in the embodiments of the present invention further acquire more base station information as much as possible by acquiring network measurement information multiple times, so as to reduce the influence of frequent switching of base stations on positioning, thereby improving the stability of terminal positioning.
Detailed description of the preferred embodiments
In addition to the above method and apparatus, the embodiment of the present invention also describes a multi-base station positioning system.
The multi-base station positioning system comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, which processor, when executing the computer program, implements the multi-base station positioning method as described above.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is the control center of the device, connecting the various parts of the overall device using various interfaces and lines.
The memory may be used to store the computer program and/or modules, and the processor may implement various functions of the apparatus by running or executing the computer program and/or modules stored in the memory, and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
The embodiment of the invention describes a multi-base station positioning system, which obtains the longitude and latitude of a service base station and a candidate base station, then utilizes the RSRP information of the base station to estimate the distance between the base station and a terminal, and obtains the position of the terminal through an inverse distance weighting algorithm, thereby improving the positioning accuracy of the terminal; furthermore, the multi-base station positioning system described in the embodiment of the invention also obtains more base station information as much as possible by obtaining network measurement information for a plurality of times, thereby reducing the influence of frequent switching of base stations on positioning and further improving the stability of terminal positioning.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.
Claims (5)
1. A multi-base station positioning method, characterized in that the multi-base station positioning method comprises:
acquiring network measurement information of a terminal to be positioned; the network measurement information comprises first base station information of a service base station and second base station information of a candidate base station; the second base station information comprises an absolute radio frequency channel number and a physical cell identifier;
before the network measurement information of the terminal to be positioned is acquired, the multi-base station positioning method further comprises the following steps:
setting a scanning frequency threshold and scanning interval time, and scanning by taking the scanning interval time as an interval to continuously acquire network measurement information until the scanning frequency reaches the scanning frequency threshold;
correspondingly acquiring the first longitude and latitude of the service base station and the second longitude and latitude of the candidate base station from a base station database according to the first base station information and the second base station information;
the step of correspondingly acquiring the first longitude and latitude of the service base station and the second longitude and latitude of the candidate base station from the base station database according to the first base station information and the second base station information specifically includes:
acquiring a first longitude and latitude of the service base station from the base station database according to the tracking area code and the cell identification number in the first base station information;
according to the absolute radio frequency channel number and the physical cell identification in the second base station information, acquiring the candidate longitude and latitude of the candidate base station from the base station database, and judging whether the number of the candidate longitude and latitude is one or more;
outputting the candidate longitude and latitude as a second longitude and latitude if the number of the candidate longitude and latitude is one;
if the number of the candidate longitudes and latitudes is multiple, respectively calculating the base station distance between each candidate longitudes and the service base station according to a preset first distance calculation formula, and outputting the first candidate longitudes and latitudes corresponding to the minimum value of the base station distance as second longitudes and latitudes; the first distance calculation formula comprises a Manhattan distance calculation formula, a Chebyshev distance calculation formula and an Euclidean distance calculation formula;
calculating the position of the terminal to be positioned according to a preset inverse distance weighting algorithm, the first longitude and latitude and the second longitude and latitude;
the calculating the position of the terminal to be positioned according to a preset inverse distance weighting algorithm, the first longitude and latitude and the second longitude and latitude specifically includes:
according to the reference signal receiving power, the first longitude and latitude, the second longitude and latitude and a preset second distance calculation formula, calculating a first distance between the terminal to be positioned and the service base station and a second distance between the terminal to be positioned and a candidate base station;
solving a first reciprocal of the first distance and a second reciprocal of the second distance, and respectively normalizing the first reciprocal and the second reciprocal to correspondingly obtain a weighted value;
and according to the weighted value, correspondingly carrying out weighted summation on the first longitude and the second latitude, and calculating to obtain the position of the terminal to be positioned.
2. The multi-base station positioning method according to claim 1, wherein before acquiring network measurement information of a terminal to be positioned, the multi-base station positioning method further comprises:
and collecting the mobile country number, the absolute radio frequency channel number, the physical cell identification, the mobile network number, the tracking area code, the cell unique identification and the longitude and latitude coordinates of the base station of each base station.
3. A multi-base station positioning device is characterized by comprising an information acquisition unit, a longitude and latitude acquisition unit and a distance calculation unit, wherein,
the information acquisition unit is used for acquiring network measurement information of the terminal to be positioned; the network measurement information comprises first base station information of a service base station and second base station information of a candidate base station;
the longitude and latitude acquisition unit is used for correspondingly acquiring the first longitude and latitude of the service base station and the second longitude and latitude of the candidate base station from a base station database according to the first base station information and the second base station information;
the longitude and latitude acquisition unit is used for acquiring the first longitude and latitude of the service base station from the base station database according to the tracking area code and the cell identification number in the first base station information; according to the absolute radio frequency channel number and the physical cell identification in the second base station information, acquiring the candidate longitude and latitude of the candidate base station from the base station database, and judging whether the number of the candidate longitude and latitude is one or more; outputting the candidate longitude and latitude as a second longitude and latitude if the number of the candidate longitude and latitude is one; if the number of the candidate longitudes and latitudes is multiple, respectively calculating the base station distance between each candidate longitudes and the service base station according to a preset first distance calculation formula, and outputting the first candidate longitudes and latitudes corresponding to the minimum value of the base station distance as second longitudes and latitudes; the first distance calculation formula comprises a Manhattan distance calculation formula, a Chebyshev distance calculation formula and an Euclidean distance calculation formula;
the distance calculating unit is used for calculating the position of the terminal to be positioned according to a preset inverse distance weighting algorithm, the first longitude and latitude and the second longitude and latitude;
the distance calculation unit is used for calculating a first distance between the terminal to be positioned and the service base station and a second distance between the terminal to be positioned and a candidate base station according to the reference signal receiving power, the first longitude and latitude, the second longitude and latitude and a preset second distance calculation formula; solving a first reciprocal of the first distance and a second reciprocal of the second distance, and respectively normalizing the first reciprocal and the second reciprocal to correspondingly obtain a weighted value; according to the weighted value, correspondingly carrying out weighted summation on the first longitude and the second latitude, and calculating to obtain the position of the terminal to be positioned;
the multi-base station positioning device further comprises a timing scanning unit, wherein the timing scanning unit is used for: setting a scanning frequency threshold and scanning interval time, and scanning by taking the scanning interval time as an interval to continuously acquire network measurement information until the scanning frequency reaches the scanning frequency threshold.
4. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform the multi-base station positioning method according to any one of claims 1 to 2.
5. A multi-base station positioning system, characterized in that it comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the multi-base station positioning method according to any of claims 1 to 2 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310868633.3A CN116600384B (en) | 2023-07-17 | 2023-07-17 | Multi-base station positioning method, device, storage medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310868633.3A CN116600384B (en) | 2023-07-17 | 2023-07-17 | Multi-base station positioning method, device, storage medium and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116600384A CN116600384A (en) | 2023-08-15 |
CN116600384B true CN116600384B (en) | 2023-12-19 |
Family
ID=87599514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310868633.3A Active CN116600384B (en) | 2023-07-17 | 2023-07-17 | Multi-base station positioning method, device, storage medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116600384B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080099940A (en) * | 2007-05-11 | 2008-11-14 | 주식회사 셀리지온 | Network based method of measuring the position of mobile station using the ratio of power strength of several base station and the system thereof |
WO2011012160A1 (en) * | 2009-07-30 | 2011-02-03 | Nokia Siemens Networks Oy | Identification of a network node by combining a first and a second information |
CN103249138A (en) * | 2012-02-03 | 2013-08-14 | 中国电信股份有限公司 | Positioning method and device |
EP3089528A1 (en) * | 2015-04-29 | 2016-11-02 | Baidu Online Network Technology (Beijing) Co., Ltd. | Base station positioning method and apparatus |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016142121A1 (en) * | 2015-03-10 | 2016-09-15 | Deutsche Telekom Ag | Improving overall network performance and/or overall quality of service of a mobile communication network by assigning a physical cell identifier information to a plurality of radio cells |
KR20210112664A (en) * | 2020-03-05 | 2021-09-15 | 삼성전자주식회사 | Method for determining a location and electronic device supporting the same |
-
2023
- 2023-07-17 CN CN202310868633.3A patent/CN116600384B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080099940A (en) * | 2007-05-11 | 2008-11-14 | 주식회사 셀리지온 | Network based method of measuring the position of mobile station using the ratio of power strength of several base station and the system thereof |
WO2011012160A1 (en) * | 2009-07-30 | 2011-02-03 | Nokia Siemens Networks Oy | Identification of a network node by combining a first and a second information |
CN103249138A (en) * | 2012-02-03 | 2013-08-14 | 中国电信股份有限公司 | Positioning method and device |
EP3089528A1 (en) * | 2015-04-29 | 2016-11-02 | Baidu Online Network Technology (Beijing) Co., Ltd. | Base station positioning method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN116600384A (en) | 2023-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10701612B2 (en) | Network search method and terminal device | |
US20210232610A1 (en) | Positioning method and apparatus, and offline fingerprint database generation method and apparatus | |
CN101785346B (en) | Accessibility of private base station | |
CN108966242B (en) | Coverage estimation method and device for narrow-band Internet of things | |
US11330481B2 (en) | Method and device for configuring measurement parameter | |
CN103582080A (en) | Method for searching for radio cell and mobile terminal | |
CN112203214A (en) | Terminal device positioning method and device, storage medium and electronic device | |
CN101965700B (en) | Carrier detection | |
CN116600384B (en) | Multi-base station positioning method, device, storage medium and system | |
CN112333741B (en) | Method, device and terminal for acquiring master information block MIB | |
CN110933741A (en) | Positioning method and device of user equipment | |
CN116074961B (en) | Signal transmission method, signal transmission device, electronic equipment and readable storage medium | |
CN116761193A (en) | Method and device for detecting neighbor cell miss-matching | |
CN110692265B (en) | Method for acquiring adjacent cell information, network equipment and user equipment | |
CN113659340B (en) | Millimeter wave antenna direction control method, millimeter wave antenna direction control device, terminal equipment and medium | |
US20140213248A1 (en) | Mobile device and method of scanning for channels | |
US11910264B2 (en) | Network reselection method and apparatus | |
CN114244467A (en) | Cell search method and device | |
CN114040426B (en) | Network optimization method, abnormal cell pushing method, device, terminal and server | |
CN111866968A (en) | Network mode switching method and device | |
CN113573371A (en) | System information transmission method, device, related equipment and storage medium | |
CN114363983B (en) | Method for directionally acquiring terminal information | |
WO2023150999A1 (en) | Devices, methods, apparatuses, and computer readable media for measurement mode interaction | |
CN113795048B (en) | Power processing method, communication device, chip and module equipment thereof | |
CN106793079B (en) | Positioning method and device based on cellular cell |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |