CN113015242A - Base station positioning method and system based on NB-IoT network - Google Patents

Base station positioning method and system based on NB-IoT network Download PDF

Info

Publication number
CN113015242A
CN113015242A CN202110259972.2A CN202110259972A CN113015242A CN 113015242 A CN113015242 A CN 113015242A CN 202110259972 A CN202110259972 A CN 202110259972A CN 113015242 A CN113015242 A CN 113015242A
Authority
CN
China
Prior art keywords
positioning
equipment
base station
information
virtual
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.)
Granted
Application number
CN202110259972.2A
Other languages
Chinese (zh)
Other versions
CN113015242B (en
Inventor
胡刚
颜睿陽
郭本伟
宋玉坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Sports Lottery Technology Development Co ltd
Original Assignee
China Sports Lottery Technology Development Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Sports Lottery Technology Development Co ltd filed Critical China Sports Lottery Technology Development Co ltd
Priority to CN202110259972.2A priority Critical patent/CN113015242B/en
Publication of CN113015242A publication Critical patent/CN113015242A/en
Application granted granted Critical
Publication of CN113015242B publication Critical patent/CN113015242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a base station positioning method and a base station positioning system based on an NB-IoT network, wherein the method comprises the following steps: connecting a base station positioning terminal with equipment, wherein the base station positioning terminal is accessed to an NB-IoT network; acquiring a virtual positioning position of equipment according to an equipment unique code sent by a base station positioning terminal; if the equipment is the first online equipment, calculating the virtual positioning position; when new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position does not exceed a set threshold value, recording that the actual position of the equipment is not changed; if the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, judging that the actual position of the equipment is changed, and calculating according to the actual positioning position and the virtual positioning position vector to obtain the direction and the distance of the change of the equipment position; and positioning the equipment according to the direction and the distance of the position change of the equipment.

Description

Base station positioning method and system based on NB-IoT network
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a base station positioning method and system based on an NB-IoT network.
Background
In the process of product sale, in many cases, the general position information of the mobile equipment needs to be known, and a base station positioning scheme is used on the premise that the position information is not required to be particularly accurate, namely, the unique code of the operator base station is acquired when a network is registered by a communication module and is transmitted to a server through the network of the operator, and then the association is carried out by contrasting the base station coordinates provided by the operator, so that the general position information of the equipment is confirmed.
For example, in the prior art, a positioning method and a positioning apparatus capable of correcting the positioning of a base station are proposed: the device mainly comprises a computing module (CPU), a storage module, a timing module (clock), a pedometer, a satellite positioning module (GPS chip), a base station positioning module (baseband chip) and a corresponding circuit and software system. FIG. 7 is a block diagram of the drawings.
In the specific method, when a satellite positioning signal exists, the device acquires position information by means of satellite positioning, and records and stores the system time in a latest period of time (such as 5 minutes) and the position, the movement direction and the step number of the pedometer acquired by the satellite positioning module at certain time intervals (such as 20 seconds, which are hereinafter referred to as recording time intervals). If the satellite positioning module does not return direction information, a null value is recorded.
When the satellite positioning signal is lost, the previously recorded data is retained for calculation of the estimated position until the satellite positioning is successfully performed again.
When the satellite positioning signal is lost and the base station positioning position is obtained, the time for obtaining the base station positioning position, the positioning position and the step number of the pedometer are recorded, and the distance between the finally obtained satellite positioning position and the newly obtained base station positioning position is calculated. If the distance between the two positions exceeds a preset threshold (such as 100 meters) of the system, the step length is multiplied by the step number recorded by the pedometer from the last satellite positioning to the latest base station positioning (obtained by subtracting the step number at the satellite positioning from the step number at the base station positioning), so as to calculate the estimated movement distance.
The estimated position can be calculated by taking the last satellite positioning position recorded by the device as a reference point, adding the estimated movement distance and assisting the movement direction information.
The motion direction information is obtained from satellite positioning information recorded by the device. If there is only one piece of recorded satellite positioning information and the piece of data does not contain the motion direction information, the direction (such as the true east) preset by the system is adopted. If the recorded satellite positioning data exceeds one piece and the latest piece of data does not contain the direction information, the direction information is calculated by using a connecting line of the satellite positioning positions in the latest two pieces of data.
If the estimated movement distance is much less (e.g., less than half) than the location distance of the latest satellite fix and the latest base station fix recorded by the device, the base station position information is deemed unreliable, and the estimated location is used as the position fix. And otherwise, if the estimated movement distance is not far less than the position distance between the satellite positioning and the base station positioning, the base station positioning result is adopted as the positioning position.
If the distance between the latest satellite positioning position recorded by the device and the latest base station positioning position does not exceed the preset threshold (such as 100 meters) of the system, the base station positioning result is not corrected.
The step size is obtained by dividing the distance between the last two satellite positions recorded by the device over the last period of time (e.g., 5 minutes) by the number of steps over that period of time. If the calculated step value is out of the normal range (for example, the step value is less than 0.2 m or greater than 1.5 m), or the step number in the period is 0, the step value preset by the system is adopted. If the device has no satellite positioning data or step number data for two times in the data stored in the last period of time (such as 5 minutes), the step value preset by the system is also adopted.
According to the technical scheme, a GPS auxiliary positioning method is adopted in the scheme for correcting the base station positioning. But due to the technical limitations of GPS itself, a large amount of power is required each time a position fix is invoked, and in an indoor environment, the position fix offset is large. Once the GPS positioning data is deviated or the GPS cannot realize positioning, the scheme cannot correct the positioning precision of the base station.
With the development of technology, compared with a traditional network, an NB-IoT network is a narrow-bandwidth network, and has started to enter a formal commercial stage, the national coverage of 850MHz NB-IoT network in 6 months in 2017 by china telecom, and after china mobility and national connectivity, the NB-IoT must become a new communication mode in internet of things communication.
In this regard, a base station positioning system based on an NB-IoT network is proposed in the prior art: the base station positioning terminal based on the NB-IoT network is placed on equipment or products, and due to the advantage of low power consumption of the NB-IoT network, the base station positioning terminal does not need an external power supply line, is powered by a lithium battery, has a small volume and is convenient to place and carry.
When the base station positioning terminal based on the NB-IoT network starts to use, firstly, an NB-IoT communication module in the base station positioning terminal registers the network with an operator NB-IoT base station, the operator NB-IoT base station returns information of the NB-IoT base station to the base station positioning terminal after receiving a request, the base station positioning terminal returns the received CID code, LAC code and module ID of the base station positioning terminal to the NB-IoT base station after receiving the information, the NB-IoT base station sends the received data to a user server through the NB-IoT network, the user server responds to the base station positioning terminal through the NB-IoT base station after receiving the data information, confirms that the data is successfully received, and simultaneously, the user server compares the received CID code and LAC code with an operator base station code and base station position corresponding table in a data analysis module, and obtaining the latitude and longitude information of the position of the base station positioning terminal, and storing the latitude and longitude information in the storage module.
The data analysis module can be arranged in a user server or provided by a third party, so that the longitude and latitude of the base station positioning terminal can be conveniently and correspondingly inquired.
When a client or a manufacturer needs to know the position of a product, the client is only required to be inquired on a user terminal interconnected with a user server, and the user terminal can be a computer or a mobile phone of the client or the manufacturer, so that the user can conveniently master the position information of the equipment at any time.
In summary, the NB-IoT network is used to acquire and transmit the base station information, which is limited by the capability of the network operator and the capacity of the NB-IoT network base station, and when there is a large amount of accesses within a range, the number of the accessed base stations is limited, so that some devices have slow communication speed, even cannot be accessed, and have a position drift phenomenon, which results in low positioning accuracy and cannot achieve the effect expected by practical application. Therefore, the prior art can only rely on positioning information data fed back by an operator, and cannot fundamentally solve the problem of low positioning accuracy before the capacity of the operator and the number of base stations are improved.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a base station positioning method and system based on an NB-IoT network, which can be used on the existing NB-IoT positioning equipment, correct positioning data through an algorithm, improve positioning accuracy, do not need to be externally connected with other auxiliary equipment, and effectively reduce equipment cost.
In a first aspect of the embodiments of the present invention, a base station positioning method based on an NB-IoT network is provided, where the method includes:
connecting a base station positioning terminal with equipment, wherein the base station positioning terminal is accessed to an NB-IoT network;
acquiring a virtual positioning position of the equipment according to the unique equipment code sent by the base station positioning terminal;
if the equipment is the first online equipment, calculating a virtual positioning position, wherein effective real-time positioning information is acquired for n times, the maximum offset distance is calculated by using the real-time positioning information of preset times and the preset position information of the equipment, and a maximum offset distance index is stored; according to the maximum offset distance index, calculating the longitude and latitude information in the real-time positioning information which is effective for n-1 times and is not the maximum offset distance to obtain the longitude and latitude dimension of the virtual positioning position;
when new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position does not exceed a set threshold value, recording that the actual position of the equipment is not changed; if the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, judging that the actual position of the equipment is changed, and calculating according to the actual positioning position and the virtual positioning position vector to obtain the direction and the distance of the change of the equipment position;
and positioning the equipment according to the direction and the distance of the position change of the equipment.
Further, obtaining n times of effective real-time positioning information, using the real-time positioning information of preset times and the preset position information of the device to calculate the maximum offset distance, and storing the maximum offset distance index, including:
and calculating the maximum offset distance by using the 5 times of real-time positioning information and the preset position information of the equipment.
Further, according to the maximum offset distance index, calculating the longitude and latitude information in the real-time positioning information which is valid for n-1 times and is not the maximum offset distance to obtain the longitude and latitude dimension of the virtual positioning position, including:
the calculated formula for calculating the dimensionality of the virtual positioning location is:
virtual positioning position dimension ═ latitusum/(n-1);
a virtual positioning location longitude ═ longitudeSUM/(n-1);
wherein, latitudeSUM and longtudeSUM are respectively the sum of longitude and latitude, and n is the number of effective real-time positioning information.
Further, the method comprises:
when the user initiates the device position request, the positioning information of the device is fed back to the user terminal.
In a second aspect of the embodiments of the present invention, a base station positioning system based on an NB-IoT network is provided, where the system includes: at least one NB-IoT network-based base station positioning terminal, an NB-IoT base station and a user server; wherein the content of the first and second substances,
the base station positioning terminal is connected with the equipment and accesses an NB-IoT network of the NB-IoT base station;
the user server comprises a data analysis module and a storage module;
the data analysis module is used for acquiring a virtual positioning position of the equipment according to the unique equipment code sent by the base station positioning terminal;
if the equipment is the first online equipment, calculating a virtual positioning position, wherein effective real-time positioning information is acquired for n times, the maximum offset distance is calculated by using the real-time positioning information of preset times and the preset position information of the equipment, and a maximum offset distance index is stored; according to the maximum offset distance index, calculating the longitude and latitude information in the real-time positioning information which is effective for n-1 times and is not the maximum offset distance to obtain the longitude and latitude dimension of the virtual positioning position;
when new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position does not exceed a set threshold value, recording that the actual position of the equipment is not changed; if the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, judging that the actual position of the equipment is changed, and calculating according to the actual positioning position and the virtual positioning position vector to obtain the direction and the distance of the change of the equipment position;
positioning the equipment according to the direction and the distance of the position change of the equipment;
the storage module is used for storing the positioning information of the equipment.
Further, the data analysis module is specifically configured to:
and calculating the maximum offset distance by using the 5 times of real-time positioning information and the preset position information of the equipment.
Further, the data analysis module calculates the calculated dimension of the virtual positioning location as:
virtual positioning position dimension ═ latitusum/(n-1);
a virtual positioning location longitude ═ longitudeSUM/(n-1);
wherein, latitudeSUM and longtudeSUM are respectively the sum of longitude and latitude, and n is the number of effective real-time positioning information.
Further, the user server is further configured to:
and when acquiring a device position request initiated by a user, feeding back the positioning information of the device stored in the storage module to the user terminal.
In a third aspect of the embodiments of the present invention, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the processor implements an NB-IoT network-based base station positioning method.
In a fourth aspect of embodiments of the present invention, a computer-readable storage medium is presented, which stores a computer program, which when executed by a processor, implements an NB-IoT network-based base station positioning method.
The base station positioning method and system based on the NB-IoT network can improve positioning accuracy by correcting positioning data through an algorithm, avoid the positioning drift phenomenon caused by the problems of the number of base stations, base station signals and the like, have strong universality in application, can keep low power consumption of a base station positioning function, do not need to be externally connected with other auxiliary equipment, and effectively reduce equipment cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a base station positioning method based on an NB-IoT network according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a base station positioning system based on an NB-IoT network according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a NB-IoT network-based base station location system according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a positioning process according to an embodiment of the invention.
Fig. 5 is a flowchart illustrating a multipoint virtual positioning location correction according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a base station positioning apparatus in the prior art.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a base station positioning method and a base station positioning system based on an NB-IoT network are provided.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Fig. 1 is a flowchart illustrating a base station positioning method based on an NB-IoT network according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S101, connecting a base station positioning terminal with equipment, wherein the base station positioning terminal is accessed to an NB-IoT network;
step S102, acquiring a virtual positioning position of the equipment according to the unique equipment code sent by the base station positioning terminal;
step S103, if the device is a first on-line device, calculating a virtual positioning position, wherein n times of effective real-time positioning information is obtained, calculating the maximum offset distance by using the preset times of real-time positioning information and the preset position information of the device, and storing the maximum offset distance index; according to the maximum offset distance index, calculating the longitude and latitude information in the real-time positioning information which is effective for n-1 times and is not the maximum offset distance to obtain the longitude and latitude dimension of the virtual positioning position;
step S104, when new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position does not exceed a set threshold value, recording that the actual position of the equipment is not changed; if the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, judging that the actual position of the equipment is changed, and calculating according to the actual positioning position and the virtual positioning position vector to obtain the direction and the distance of the change of the equipment position;
and step S105, positioning the equipment according to the direction and the distance of the position change of the equipment.
In step S103 of this embodiment, acquiring n times of valid real-time positioning information, performing maximum offset distance calculation using the preset times of real-time positioning information and the preset device location information, and storing a maximum offset distance index, includes:
and calculating the maximum offset distance by using the 5 times of real-time positioning information and the preset position information of the equipment.
In step S103 of this embodiment, calculating, according to the maximum offset distance index, a longitude and latitude information in the real-time positioning information that is valid n-1 times and is not the maximum offset distance to obtain a longitude and latitude dimension of the virtual positioning position, including:
the calculated formula for calculating the dimensionality of the virtual positioning location is:
virtual positioning position dimension ═ latitusum/(n-1);
a virtual positioning location longitude ═ longitudeSUM/(n-1);
wherein, latitudeSUM and longtudeSUM are respectively the sum of longitude and latitude, and n is the number of effective real-time positioning information.
Further, the method comprises:
when the user initiates the device position request, the positioning information of the device is fed back to the user terminal.
The technical scheme is reasonable in flow design, the base station positioning terminal is placed on equipment or products, the base station positioning terminal obtains the current position information of the module through unique codes CID and LAC of the NB-IoT base station acquired when the NB-IoT network is accessed, the unique codes are transmitted to a designated server through the NB-IoT network through a UDP protocol, and the base station codes and the base station position database provided by an operator are compared, so that the positioning purpose is achieved.
It should be noted that although the operations of the method of the present invention have been described in the above embodiments and the accompanying drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the operations shown must be performed, to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Having described the method of the exemplary embodiment of the present invention, the NB-IoT network-based base station positioning system of the exemplary embodiment of the present invention is next described with reference to fig. 2.
The implementation of the NB-IoT network-based base station positioning system can be referred to the implementation of the above method, and repeated details are omitted. The term "module" or "unit" used hereinafter may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Based on the same inventive concept, the present invention further provides a base station positioning system based on NB-IoT network, as shown in fig. 2, the system includes: at least one NB-IoT network-based base station positioning terminal, an NB-IoT base station and a user server; wherein the content of the first and second substances,
the base station positioning terminal is connected with the equipment and accesses an NB-IoT network of the NB-IoT base station;
the user server comprises a data analysis module and a storage module;
the data analysis module is used for acquiring a virtual positioning position of the equipment according to the unique equipment code sent by the base station positioning terminal;
if the equipment is the first online equipment, calculating a virtual positioning position, wherein effective real-time positioning information is acquired for n times, the maximum offset distance is calculated by using the real-time positioning information of preset times and the preset position information of the equipment, and a maximum offset distance index is stored; according to the maximum offset distance index, calculating the longitude and latitude information in the real-time positioning information which is effective for n-1 times and is not the maximum offset distance to obtain the longitude and latitude dimension of the virtual positioning position;
when new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position does not exceed a set threshold value, recording that the actual position of the equipment is not changed; if the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, judging that the actual position of the equipment is changed, and calculating according to the actual positioning position and the virtual positioning position vector to obtain the direction and the distance of the change of the equipment position;
positioning the equipment according to the direction and the distance of the position change of the equipment;
the storage module is used for storing the positioning information of the equipment.
In this embodiment, the data analysis module is specifically configured to:
and calculating the maximum offset distance by using the 5 times of real-time positioning information and the preset position information of the equipment.
In this embodiment, the data analysis module calculates the calculated formula of the virtual positioning location via the dimension:
virtual positioning position dimension ═ latitusum/(n-1);
a virtual positioning location longitude ═ longitudeSUM/(n-1);
wherein, latitudeSUM and longtudeSUM are respectively the sum of longitude and latitude, and n is the number of effective real-time positioning information.
In this embodiment, the user server is further configured to:
and when acquiring a device position request initiated by a user, feeding back the positioning information of the device stored in the storage module to the user terminal.
It should be noted that although several modules of the NB-IoT network-based base station positioning system are mentioned in the above detailed description, such partitioning is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module according to embodiments of the invention. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
For a clearer explanation of the base station positioning method based on the NB-IoT network, a specific embodiment is described below, but it should be noted that the embodiment is only for better explaining the present invention and is not to be construed as an undue limitation to the present invention.
Referring to fig. 3, a schematic diagram of a base station positioning system based on NB-IoT network according to an embodiment of the present invention is shown.
As shown in fig. 3, the system includes at least one base station positioning terminal based on NB-IoT network, an NB-IoT base station, and a user server, where the base station positioning terminal includes an NB-IoT communication module, an MCU control module, and a USB connection module, and all the modules are connected by a line;
the NB-IoT communication module is used for establishing communication with an NB-IoT base station;
the MCU control module is used for controlling the normal operation of each module;
and the USB connecting module is used for connecting with the base station positioning terminal and supplying power to each module. Due to the advantage of low power consumption of the NB-IoT network, the base station positioning terminal does not need an external power supply line.
The NB-IoT base station is used for being in communication connection with an NB-IoT communication module of the base station positioning terminal, and the communication coverage is wider based on the advantage of high coverage of an NB-IoT network;
the user server is used for accessing the base station positioning terminal through the NB-IoT base station, and information transmission is quicker due to the advantage of strong linking of the NB-IoT network.
The user server comprises a storage module used for storing received data information, the user server is connected with a plurality of user sides in a wired or wireless mode, and the user sides are used for accessing the information stored in the user server and allowing a plurality of users to find the position of the base station positioning terminal at any time.
The user server comprises a data analysis module, and the data analysis module calls an operator interface and is used for converting the base station codes into the longitude and latitude information of the position of the base station positioning terminal.
When the base station positioning terminal is used, the base station positioning terminal based on the NB-IoT network is connected to equipment or products through the USB interface, and the NB-IoT network has the advantage of low power consumption, so that the base station positioning terminal does not need to be additionally connected with a power supply circuit, is small in size and is convenient to place and carry.
Fig. 4 is a schematic diagram of a positioning process according to an embodiment of the present invention.
As shown in fig. 4, when the NB-IoT network-based base station locates the terminal to start using; firstly, the NB-IoT communication module in the base station positioning terminal registers a network with the operator NB-IoT base station, after the operator NB-IoT base station receives a request, the information of the NB-IoT base station is returned to the base station positioning terminal, which comprises CID code and LAC code, after the base station positioning terminal receives the information, then returning the received CID code, LAC code and module ID of the base station positioning terminal to the NB-IoT base station, the NB-IoT base station sending the received data to the user server through NB-IoT network, after the user server receives the data information, acknowledging, by the NB-IoT base station, to the base station location terminal, that the data has been successfully received, meanwhile, the user server calls an operator interface in the data analysis module by using the received positioning terminal information to obtain the longitude and latitude information of the position of the base station positioning terminal, and the longitude and latitude information is stored in the storage module.
Fig. 5 is a flowchart illustrating a multipoint virtual positioning location correction according to an embodiment of the present invention.
As shown in fig. 5, when the multipoint virtual positioning location is corrected, the unique code of the device, the virtual positioning location area corresponding to the device, and the real longitude and latitude corresponding to the device need to be set.
Firstly, a virtual positioning position of the equipment is obtained in a database according to the unique code of the equipment, and if the equipment is the first online equipment, the virtual positioning position is calculated. The method starts to acquire effective real-time positioning information for n times, calculates the maximum offset distance by using the real-time positioning information for 5 times and preset position information of equipment, and stores the maximum offset distance index. And then, respectively adding the longitude and the latitude of the real-time position which is valid for n-1 times and is not the maximum offset distance, calculating the sum of the longitude and the latitude, further calculating the average value to obtain the virtual longitude and the virtual latitude of the equipment, and recording.
And after the new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position accords with a set threshold value, determining that the actual position of the equipment is not changed. If the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, the actual position of the equipment is considered to be changed, and the changing direction and the distance are calculated by calculating the vector of the actual positioning position and the virtual positioning position.
And obtaining the actual position information of the positioning terminal through the correction of the multipoint virtual positioning position, and storing the actual position information to the storage module.
When a client or a manufacturer needs to know the position of a product, the client is only required to be inquired on a user terminal interconnected with a user server, and the user terminal can be a computer or a mobile phone of the client or the manufacturer, so that the user can conveniently master the position information of the equipment at any time.
Based on the aforementioned inventive concept, as shown in fig. 6, the present invention further provides a computer device 600, which includes a memory 610, a processor 620, and a computer program 630 stored on the memory 610 and executable on the processor 620, wherein the processor 620 executes the computer program 630 to implement the aforementioned NB-IoT network-based base station positioning method.
Based on the foregoing inventive concept, the present invention proposes a computer-readable storage medium storing a computer program which, when executed by a processor, implements the foregoing NB-IoT network-based base station positioning method.
The base station positioning method and system based on the NB-IoT network can improve positioning accuracy by correcting positioning data through an algorithm, avoid the positioning drift phenomenon caused by the problems of the number of base stations, base station signals and the like, have strong universality in application, can keep low power consumption of a base station positioning function, do not need to be externally connected with other auxiliary equipment, and effectively reduce equipment cost.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A base station positioning method based on NB-IoT network, the method comprising:
connecting a base station positioning terminal with equipment, wherein the base station positioning terminal is accessed to an NB-IoT network;
acquiring a virtual positioning position of the equipment according to the unique equipment code sent by the base station positioning terminal;
if the equipment is the first online equipment, calculating a virtual positioning position, wherein effective real-time positioning information is acquired for n times, the maximum offset distance is calculated by using the real-time positioning information of preset times and the preset position information of the equipment, and a maximum offset distance index is stored; according to the maximum offset distance index, calculating the longitude and latitude information in the real-time positioning information which is effective for n-1 times and is not the maximum offset distance to obtain the longitude and latitude dimension of the virtual positioning position;
when new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position does not exceed a set threshold value, recording that the actual position of the equipment is not changed; if the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, judging that the actual position of the equipment is changed, and calculating according to the actual positioning position and the virtual positioning position vector to obtain the direction and the distance of the change of the equipment position;
and positioning the equipment according to the direction and the distance of the position change of the equipment.
2. The NB-IoT network-based base station positioning method according to claim 1, wherein obtaining n times of valid real-time positioning information, performing maximum offset distance calculation using preset times of real-time positioning information and preset device location information, and storing a maximum offset distance index comprises:
and calculating the maximum offset distance by using the 5 times of real-time positioning information and the preset position information of the equipment.
3. The NB-IoT network-based base station positioning method according to claim 2, wherein the step of calculating the longitude and latitude information of the virtual positioning location according to the maximum offset distance index by using the longitude and latitude information in the real-time positioning information which is valid n-1 times and is not the maximum offset distance comprises:
the calculated formula for calculating the dimensionality of the virtual positioning location is:
virtual positioning position dimension ═ latitusum/(n-1);
a virtual positioning location longitude ═ longitudeSUM/(n-1);
wherein, latitudeSUM and longtudeSUM are respectively the sum of longitude and latitude, and n is the number of effective real-time positioning information.
4. The NB-IoT network-based base station positioning method of claim 1, wherein the method comprises:
when the user initiates the device position request, the positioning information of the device is fed back to the user terminal.
5. A base station location system based on NB-IoT network, the system comprising: at least one NB-IoT network-based base station positioning terminal, an NB-IoT base station and a user server; wherein the content of the first and second substances,
the base station positioning terminal is connected with the equipment and accesses an NB-IoT network of the NB-IoT base station;
the user server comprises a data analysis module and a storage module;
the data analysis module is used for acquiring a virtual positioning position of the equipment according to the unique equipment code sent by the base station positioning terminal;
if the equipment is the first online equipment, calculating a virtual positioning position, wherein effective real-time positioning information is acquired for n times, the maximum offset distance is calculated by using the real-time positioning information of preset times and the preset position information of the equipment, and a maximum offset distance index is stored; according to the maximum offset distance index, calculating the longitude and latitude information in the real-time positioning information which is effective for n-1 times and is not the maximum offset distance to obtain the longitude and latitude dimension of the virtual positioning position;
when new positioning of the equipment is obtained, comparing the new positioning with the virtual positioning position, and if the distance between the actual positioning position and the virtual positioning position does not exceed a set threshold value, recording that the actual position of the equipment is not changed; if the distance between the actual positioning position and the virtual positioning position exceeds a set threshold value, judging that the actual position of the equipment is changed, and calculating according to the actual positioning position and the virtual positioning position vector to obtain the direction and the distance of the change of the equipment position;
positioning the equipment according to the direction and the distance of the position change of the equipment;
the storage module is used for storing the positioning information of the equipment.
6. The NB-IoT network-based base station positioning system of claim 5, wherein the data analysis module is specifically configured to:
and calculating the maximum offset distance by using the 5 times of real-time positioning information and the preset position information of the equipment.
7. The NB-IoT network-based base station location system of claim 6, wherein the data analysis module calculates the dimensioned calculation of the virtual location position as:
virtual positioning position dimension ═ latitusum/(n-1);
a virtual positioning location longitude ═ longitudeSUM/(n-1);
wherein, latitudeSUM and longtudeSUM are respectively the sum of longitude and latitude, and n is the number of effective real-time positioning information.
8. The NB-IoT network-based base station location system of claim 5, wherein the user server is further configured to:
and when acquiring a device position request initiated by a user, feeding back the positioning information of the device stored in the storage module to the user terminal.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 4.
CN202110259972.2A 2021-03-10 2021-03-10 Base station positioning method and system based on NB-IoT network Active CN113015242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110259972.2A CN113015242B (en) 2021-03-10 2021-03-10 Base station positioning method and system based on NB-IoT network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110259972.2A CN113015242B (en) 2021-03-10 2021-03-10 Base station positioning method and system based on NB-IoT network

Publications (2)

Publication Number Publication Date
CN113015242A true CN113015242A (en) 2021-06-22
CN113015242B CN113015242B (en) 2022-07-22

Family

ID=76404019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110259972.2A Active CN113015242B (en) 2021-03-10 2021-03-10 Base station positioning method and system based on NB-IoT network

Country Status (1)

Country Link
CN (1) CN113015242B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206879102U (en) * 2017-06-16 2018-01-12 山东有人信息技术有限公司 A kind of architecture system based on NB IoT networks
CN108259582A (en) * 2017-12-29 2018-07-06 上海威惠智能科技有限公司 Alignment system and method
CN108966143A (en) * 2018-03-30 2018-12-07 山东有人信息技术有限公司 A kind of positioning system and method based on NB network and RF ad hoc network
US20190094377A1 (en) * 2017-09-22 2019-03-28 Qualcomm Incorporated Method and apparatus for optimizing gnss search with wireless wide area networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206879102U (en) * 2017-06-16 2018-01-12 山东有人信息技术有限公司 A kind of architecture system based on NB IoT networks
US20190094377A1 (en) * 2017-09-22 2019-03-28 Qualcomm Incorporated Method and apparatus for optimizing gnss search with wireless wide area networks
CN108259582A (en) * 2017-12-29 2018-07-06 上海威惠智能科技有限公司 Alignment system and method
CN108966143A (en) * 2018-03-30 2018-12-07 山东有人信息技术有限公司 A kind of positioning system and method based on NB network and RF ad hoc network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董帝烺等: "基于OTDOA 的NB-IoT 定位功能研究及实现", 《邮电设计技术》 *

Also Published As

Publication number Publication date
CN113015242B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
WO2022156481A1 (en) Ephemeris forecasting method and apparatus
CN104202723B (en) Position enhancing data broadcast service system and method
CN112202484B (en) Satellite communication method, device, terminal equipment, satellite and readable storage medium
EP3859398A1 (en) Satellite differential auxiliary data transmission method, location method and apparatus
WO2008006041A2 (en) Geolocation-based addressing method for ipv6 addresses
CN110809317B (en) Multi-source dynamic grid network RTK positioning method, system, terminal and storage medium
RU2009131046A (en) METHOD AND DEVICE FOR USING NETWORK HISTORICAL INFORMATION TO DETERMINE APPROXIMATE POSITION
WO2022156480A1 (en) Clock error predicting method and device
CN111225441B (en) Dynamic grid network RTK positioning method, system, terminal and storage medium suitable for confidential environment
CN104348680A (en) Method and device for detecting network speed
CN103968855A (en) Movement locus detection method, mobile terminal and pedometer
CN113038599B (en) Base station triangulation method and system based on NB-IoT network
WO2021135714A1 (en) Base station sharing method and system for autonomous robots, and storage medium
CN105204046A (en) Positioning system, positioning apparatus, storage apparatus, and positioning method
CN113015242B (en) Base station positioning method and system based on NB-IoT network
WO2020244668A1 (en) Positioning processing method and apparatus, electronic device, and storage medium
CN110023778A (en) A kind of localization method and equipment
WO2022233211A1 (en) Ephemeris prediction method and ephemeris prediction apparatus
CN104703214B (en) A kind of positioning and monitoring method and device
TW201706623A (en) Satellite positioning device and electronic device
CN109041235A (en) A kind of Differential positioning data transmission method, the apparatus and system of differential position system
CN107462902B (en) positioning method and positioning equipment
JP6378562B2 (en) Information processing apparatus and information processing method
CN212275985U (en) Low-power-consumption sub-meter-level communication navigation positioning device based on narrowband Internet of things
CN106534371A (en) Method and device for obtaining terminal position information

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