Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Because the internet of things positioning is applied to urban scenes more and is easily influenced by multipath, the average precision of OTDOA positioning is only about 100 meters, and the requirements of most applications cannot be met. Theoretically, the accuracy of OTDOA positioning is related to the number of base stations measured by its terminal, and the higher the number of base stations, the higher the accuracy. The positioning accuracy under different numbers of base stations is estimated based on a Geometric precision factor (GDOP), the positioning accuracy required by application is about 50 meters, and the number of the base stations measured by the terminal of the internet of things is at least more than or equal to 7. However, when OTDOA positioning is performed by a plurality of base stations, adjacent cell interference and multipath interference between the base stations may have a large influence on positioning accuracy. The embodiment of the invention provides a method for positioning an internet of things terminal, and a plurality of embodiments are developed and introduced below.
Fig. 1 is a schematic flow diagram of a method for positioning an internet of things terminal according to an embodiment of the present invention, and as shown in fig. 1, an execution subject of the method is a current base station, and the current base station is any one base station in the internet of things, and the method for positioning an internet of things terminal includes:
and 110, acquiring the subframe at the current moment.
Here, the current time subframe refers to a subframe corresponding to the current time, and the current time is the time when step 110 is executed. It should be noted that each base station and each internet of things terminal in the internet of things are all in a frame synchronization state, that is, subframes at the current time obtained by each base station and each internet of things terminal in the internet of things at the same time are the same.
And 120, if the subframe at the current moment is the measurement subframe, acquiring the current number based on the measurement subframe.
Specifically, the measurement subframe is a subframe which is predetermined in advance in a frame and used for instructing the base station to send a positioning reference signal so as to realize positioning of the terminal of the internet of things. The measurement subframe may be a subframe in which a sequence number is fixed in one frame, for example, subframe 4 in one frame is used as the measurement subframe. The measurement subframe may also be a subframe in which one frame is selected from multiple frames and a plurality of sequence numbers are fixed in one frame, for example, subframe 4 and subframe 7 of a fourth frame in five frames are used as two measurement subframes, which is not specifically limited in this embodiment of the present invention.
And if the subframe at the current moment is judged and known to be the measuring subframe, the current base station acquires a current number based on the measuring subframe, wherein the current number is the number of the base station which is indicated by the measuring subframe and needs to execute the operation of sending the positioning reference signal. The current number may be a value of the measurement subframe, or a modulus of the measurement subframe, and the like, which is not specifically limited in this embodiment of the present invention.
And 130, if the current number is consistent with the base station number, sending a positioning reference signal, so that the terminal of the internet of things can perform positioning based on the positioning reference signal sent by each base station.
Specifically, the base station number is a number preset for each base station in the internet of things, and each base station number may correspond to one base station or a plurality of base stations. And when the current number is consistent with the base station number of the current base station, namely the base station which is indicated by the measurement subframe at the current moment and needs to execute the operation of sending the positioning reference signal comprises the current base station. The current base station transmits a Positioning Reference Signal (PRS).
For each base station in the internet of things, if each base station executes the internet of things terminal positioning method, the base station with the base station number consistent with the current number sends a positioning reference signal in the time period corresponding to the measurement subframe, and then the base stations can send the positioning reference signal in turn based on the measurement subframe. Correspondingly, the terminal of the internet of things receives the positioning reference signals sent by each base station in the internet of things within a period of time, and because the positioning reference signals of each base station are not sent in a centralized manner, the influence of multipath interference on the terminal of the internet of things during OTDOA positioning is weakened.
According to the method provided by the embodiment of the invention, the base stations are controlled to send the positioning reference signals based on the measurement subframes and the base station numbers, so that the base stations in the Internet of things can send the positioning reference signals in turn, the influence of multipath interference on the terminal of the Internet of things caused by the fact that a large number of base stations send the positioning reference signals in a concentrated manner at the same time is avoided, the number of the base stations which can receive the positioning reference signals and send the positioning reference signals is increased, and the positioning accuracy of the terminal of the Internet of things is.
Based on the above embodiment, step 120 further includes: and if the current number is not consistent with the base station number, keeping the silent state in the subframe at the current moment.
Specifically, after the current number is obtained, whether the current number is consistent with the base station number is judged. If the two are not consistent, that is, the base station which is indicated by the measurement subframe at the current time and needs to execute the operation of sending the positioning reference signal does not include the current base station, the current base station does not send the positioning reference signal in the time period corresponding to the subframe at the current time, and also needs to keep a silent state, and stops sending any signal. Therefore, in the time period corresponding to the measurement subframe, except for the base station specified by the measurement subframe, namely the base station with the base station number consistent with the current number, the positioning reference signal needs to be sent, and other base stations in the internet of things are in a silent state.
According to the method provided by the embodiment of the invention, only the base station with the base station number consistent with the current number sends the positioning reference signal in the time period corresponding to the measurement subframe, so that the interference of the serving cell on the positioning measurement of the terminal of the adjacent cell is solved.
Based on any of the above embodiments, step 130 specifically includes: and if the current number is consistent with the base station number, increasing the sending power of the positioning reference signal, and sending the positioning reference signal to the terminal of the Internet of things, so that the terminal of the Internet of things can perform positioning based on the positioning reference signal sent by each base station.
Specifically, after the current number is judged to be consistent with the basic number, the current base station needs to send a positioning reference signal to the internet terminal. When the positioning reference signal is sent, the sending power of the positioning reference signal is increased by the current base station, so that the terminal of the internet of things can receive the positioning reference signal with higher power, and the problem of omission of the terminal of the internet of things caused by too low positioning reference signal is avoided. Here, by increasing the transmission power of the positioning reference signal, the power of the remaining signals can be reduced, and the saved power can be supplemented to the positioning reference signal.
Based on any of the above embodiments, fig. 2 is a schematic view of a positioning scene of an internet of things terminal provided by an embodiment of the present invention, and referring to fig. 2, for any base station, the base station number of the base station is different from the base station number of a neighboring base station of the base station.
Specifically, the neighboring base station of any base station refers to a base station in a neighboring cell of a cell where any base station is located. In fig. 2, the hexagon in which the base station is located, i.e., the cell in which the base station is located, and the base station in the hexagon adjacent to any base station, i.e., the neighbor base station of the base station, for example, the neighbor base station of the base station a includes base station B, base station C, base station D, base station E, base station F, and base station G. To ensure that the base station number of any base station is different from the base station number of the neighboring base station of the base station, for the terminal positioning scenario of the internet of things shown in fig. 2, the base station number of each base station may be as shown in the following table:
preferably, the base station number may be modulo of the physical ID of the base station, and modulo 7 of the physical ID of the base station may be the base station number, for example.
According to the method provided by the embodiment of the invention, the positioning reference signal is sent by any base station and the base station of the adjacent region of the base station in different measurement subframes through setting the base station number, so that the problem of interference between the cell and the adjacent region is solved.
Based on any of the above embodiments, fig. 3 is a schematic flow chart of a method for positioning an internet of things terminal according to another embodiment of the present invention, and as shown in fig. 3, the method includes:
310, according to the site planning of the internet of things, the base station number and the measurement subframe of the current base station are determined, and then step 320 is executed. Here, the base station number of the current base station is modulo 7 of the base station physical ID, and the measurement subframe is fixed to subframe 4 in one frame. Fig. 4 is a schematic diagram of a measurement subframe according to an embodiment of the present invention, and the measurement subframe can be located in fig. 4.
320, judging whether the subframe at the current moment is a measurement subframe; if so, go to step 331; if not, step 332 is performed. Here, if the frame number of the current-time subframe is 4, the current-time subframe is determined to be the measurement subframe, otherwise, the current-time subframe is the normal subframe.
331, obtaining a current number based on the measurement subframe. Here, the current number is modulo 7 of the measurement subframe. Judging whether the current number is equal to the base station number of the current base station, if so, executing step 341; if not, step 342 is performed.
332, if the subframe at the current time is a normal subframe, the current base station operates in the normal signal transmission mode.
341, increasing the sending power of the positioning reference signal, and sending the positioning reference signal to the terminal of the internet of things, so that the terminal of the internet of things can perform positioning based on the positioning reference signal sent by each base station.
342, the current base station enters a silent state and does not send signals to the outside.
According to the method provided by the embodiment of the invention, the base stations are controlled to send the positioning reference signals based on the measurement subframes and the base station numbers, so that the base stations in the Internet of things can send the positioning reference signals in turn, the influence of multipath interference on the terminal of the Internet of things caused by the fact that a large number of base stations send the positioning reference signals in a concentrated manner at the same time is avoided, the number of the base stations which can receive the positioning reference signals and send the positioning reference signals is increased, and the positioning accuracy of the terminal of the Internet of things is.
Based on any of the above embodiments, fig. 5 is a schematic flow chart of a method for positioning an internet of things terminal according to another embodiment of the present invention, as shown in fig. 5, an execution subject of the method is the internet of things terminal, and the method for positioning the internet of things terminal includes:
510, receiving a positioning reference signal sent by any base station; the positioning reference signal is sent when the subframe of the base station at the current moment is a measurement subframe and the current number is consistent with the base station number of the base station; the current number is obtained based on the measurement subframe.
Specifically, the terminal of the internet of things receives positioning reference signals sent by each base station in the internet of things. Here, the positioning reference signal sent by any base station is sent when the current time subframe is a measurement subframe, and the base station acquires the current number through the measurement subframe and then judges that the current number is consistent with the base station number of the base station.
Here, the current-time subframe refers to a subframe corresponding to the current time, and each base station and each internet of things terminal in the internet of things are all in a frame synchronization state, that is, the current-time subframes acquired by each base station and each internet of things terminal in the internet of things at the same time are the same. The measurement subframe is a subframe predetermined in advance in one frame for instructing the base station to transmit the positioning reference signal. The current number is the number of the base station indicated by the measurement subframe and needing to perform the operation of sending the positioning reference signal. The current number may be a value of a measurement subframe or a modulus of the measurement subframe, the base station number is a number preset for each base station in the internet of things, and each base station number may correspond to one base station or a plurality of base stations.
And according to the measurement subframe and the base station number, each base station in the Internet of things sends a positioning reference signal in turn. Correspondingly, the terminal of the internet of things receives the positioning reference signals sent by each base station in the internet of things within a period of time, and because the positioning reference signals of each base station are not sent in a centralized manner, the influence of multipath interference on the terminal of the internet of things during OTDOA positioning is weakened.
And 520, positioning is carried out based on the positioning reference signals sent by each base station.
Specifically, after receiving positioning reference signals sent by a plurality of base stations, OTDOA positioning is performed based on the positioning reference signals.
According to the method provided by the embodiment of the invention, the base stations are controlled to send the positioning reference signals based on the measurement subframes and the base station numbers, so that the base stations in the Internet of things can send the positioning reference signals in turn, the influence of multipath interference on the terminal of the Internet of things caused by the fact that a large number of base stations send the positioning reference signals in a concentrated manner at the same time is avoided, the number of the base stations which can receive the positioning reference signals and send the positioning reference signals is increased, and the positioning accuracy of the terminal of the Internet of things is.
Based on any of the above embodiments, step 520 specifically includes: and positioning based on the time of receiving each positioning reference signal, the measurement subframe corresponding to each positioning reference signal and the position of the base station sending each positioning reference signal.
Specifically, for any positioning reference signal, the terminal of the internet of things obtains the sending time of the positioning reference signal through the measurement subframe corresponding to the positioning reference signal, and then obtains the transmission time of the positioning reference signal based on the time of receiving the positioning reference signal, so as to determine the distance between the terminal of the internet of things and the base station corresponding to the positioning reference signal. And after the distance between the terminal of the internet of things and the base station corresponding to each positioning reference signal is obtained based on the time of receiving each positioning reference signal and the measurement subframe corresponding to each positioning reference signal, positioning the terminal of the internet of things based on the position of the base station corresponding to each positioning reference signal. Here, the location of the base station may be pre-stored in the terminal of the internet of things, may also be obtained by downloading the terminal of the internet of things through a network, and may also be extracted from the positioning reference signal, which is not specifically limited in the embodiment of the present invention.
Based on any of the above embodiments, the measurement subframe is fixed as subframe 4 in one frame, and the current number is modulo 7 of the measurement subframe. Referring to the schematic view of the terminal positioning scene of the internet of things shown in fig. 2, the base stations of each base station in fig. 2 are numbered as follows:
at the same moment, each base station respectively judges whether the subframe at the current moment is a measurement subframe; if not, each base station normally operates; if so, each base station respectively obtains the module 7 of the measurement subframe, namely the current number of the measurement subframe, and judges whether the current number is consistent with the base station number of the base station.
If the current number is consistent with the base station number of the base station, the base station increases the power and sends a positioning reference signal to the terminal of the Internet of things; and if the current number is inconsistent with the base station number of the base station, the base station enters a silent state. For example, if the current number is 0, the base station a determines that the current number is consistent with the base station number, the base station a increases power to transmit a positioning reference signal to the terminal of the internet of things, and if the remaining base stations determine that the current number is inconsistent with the base station numbers of the base stations, the remaining base stations enter a silent state. For another example, if the current number is 5, the base station F determines that the current number is consistent with the base station number, increases the power of the base station F and transmits a positioning reference signal to the terminal of the internet of things, and if the remaining base stations determine that the current number is inconsistent with the base station number of the base station, the remaining base stations enter a silent state.
After the terminal of the internet of things receives the positioning reference signals sent by each base station at different time, the sending time of each positioning reference signal is obtained through the measuring subframe corresponding to each positioning reference signal, and the transmission time of each positioning reference signal is obtained based on the time of receiving each positioning reference signal, so that the distance between the terminal of the internet of things and the base station corresponding to each positioning reference signal is determined. On the basis, the terminal of the internet of things is positioned based on the position of the base station corresponding to each positioning reference signal.
According to the method provided by the embodiment of the invention, the base stations are controlled to send the positioning reference signals based on the measurement subframes and the base station numbers, so that the base stations in the Internet of things can send the positioning reference signals in turn, the influence of multipath interference on the terminal of the Internet of things caused by the fact that a large number of base stations send the positioning reference signals in a concentrated manner at the same time is avoided, the number of the base stations which can receive the positioning reference signals and send the positioning reference signals is increased, and the positioning accuracy of the terminal of the Internet of things is. In addition, only the base station with the base station number consistent with the current number sends the positioning reference signal in the time period corresponding to the measuring subframe, so that the interference of the serving cell on the positioning measurement of the neighboring cell terminal is solved. Furthermore, by increasing the sending power of the positioning reference signal, the terminal of the internet of things can receive the positioning reference signal with higher power, and the problem that the terminal of the internet of things is omitted due to too low positioning reference signal is avoided.
Based on any of the above embodiments, fig. 6 is a schematic structural diagram of an internet of things terminal positioning device according to an embodiment of the present invention, and as shown in fig. 6, the internet of things terminal positioning device includes a subframe obtaining unit 610, a number extracting unit 620, and a signal sending unit 630;
the subframe acquiring unit 610 is configured to acquire a subframe at a current time;
the number extracting unit 620 is configured to obtain a current number based on the measurement subframe if the subframe at the current time is the measurement subframe;
the signal sending unit 630 is configured to send a positioning reference signal to the terminal of the internet of things if the current number is consistent with the number of the base station, so that the terminal of the internet of things can perform positioning based on the positioning reference signal sent by each base station.
The device provided by the embodiment of the invention controls the base stations to send the positioning reference signals based on the measurement subframes and the base station numbers, so that the base stations in the Internet of things can send the positioning reference signals in turn, the influence of multipath interference on the terminal of the Internet of things caused by the concentrated sending of the positioning reference signals by a large number of base stations at the same time is avoided, the number of the base stations which can receive the positioning reference signals and send the positioning reference signals by the terminal of the Internet of things is increased, and the positioning accuracy of the terminal of the Internet of things.
Based on any of the above embodiments, the apparatus further comprises a muting unit; the silence unit is used for keeping a silence state in a subframe at the current moment if the current number is inconsistent with the base station number.
Based on any of the above embodiments, the signal sending unit 630 is specifically configured to: and if the current number is consistent with the base station number, increasing the sending power of the positioning reference signal, and sending the positioning reference signal to the terminal of the Internet of things, so that the terminal of the Internet of things can perform positioning based on the positioning reference signal sent by each base station.
Based on any of the embodiments described above, for any base station, the base station number of the base station is different from the base station number of the neighboring base station of the base station.
Based on any of the above embodiments, fig. 7 is a schematic structural diagram of a terminal positioning device of the internet of things according to another embodiment of the present invention, as shown in fig. 7, the terminal positioning device of the internet of things includes a receiving unit 710 and a positioning unit 720;
the receiving unit 710 is configured to receive a positioning reference signal sent by any base station; the positioning reference signal is sent when the subframe of the base station at the current moment is a measurement subframe and the current number is consistent with the base station number of the base station; the current number is extracted from the measurement subframe;
the positioning unit 720 is configured to perform positioning based on the positioning reference signal sent by each base station.
The device provided by the embodiment of the invention controls the base stations to send the positioning reference signals based on the measurement subframes and the base station numbers, so that the base stations in the Internet of things can send the positioning reference signals in turn, the influence of multipath interference on the terminal of the Internet of things caused by the concentrated sending of the positioning reference signals by a large number of base stations at the same time is avoided, the number of the base stations which can receive the positioning reference signals and send the positioning reference signals by the terminal of the Internet of things is increased, and the positioning accuracy of the terminal of the Internet of things.
Based on any of the above embodiments, the positioning unit 720 specifically includes: and positioning based on the time of receiving each positioning reference signal, the measurement subframe corresponding to each positioning reference signal and the position of the base station sending each positioning reference signal.
Fig. 8 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 8, the electronic device may include: a processor (processor)801, a communication Interface (Communications Interface)802, a memory (memory)803 and a communication bus 804, wherein the processor 801, the communication Interface 802 and the memory 803 complete communication with each other through the communication bus 804. The processor 801 may call a computer program stored on the memory 803 and operable on the processor 801 to execute the method for positioning the terminal of the internet of things provided by the foregoing embodiments, for example, the method includes: acquiring a subframe at the current moment; if the subframe at the current moment is a measurement subframe, acquiring a current number based on the measurement subframe; and if the current number is consistent with the base station number, sending a positioning reference signal so that the terminal of the Internet of things can perform positioning based on the positioning reference signal sent by each base station.
In addition, the processor 801 may also call a computer program stored on the memory 803 and executable on the processor 801 to execute the method for positioning the terminal of the internet of things provided by the foregoing embodiments, for example, including: receiving a positioning reference signal sent by any base station; the positioning reference signal is sent when the subframe of the base station at the current moment is a measurement subframe and the current number is consistent with the base station number of the base station; the current number is obtained based on the measurement subframe; and positioning is carried out based on the positioning reference signals sent by each base station.
In addition, the logic instructions in the memory 803 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to, when executed by a processor, perform the method for positioning a terminal of an internet of things provided in the foregoing embodiments, for example, the method includes: acquiring a subframe at the current moment; if the subframe at the current moment is a measurement subframe, acquiring a current number based on the measurement subframe; and if the current number is consistent with the base station number, sending a positioning reference signal so that the terminal of the Internet of things can perform positioning based on the positioning reference signal sent by each base station.
An embodiment of the present invention further provides another non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the method for positioning a terminal of an internet of things provided in the foregoing embodiments, for example, the method includes: receiving a positioning reference signal sent by any base station; the positioning reference signal is sent when the subframe of the base station at the current moment is a measurement subframe and the current number is consistent with the base station number of the base station; the current number is obtained based on the measurement subframe; and positioning is carried out based on the positioning reference signals sent by each base station.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on 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 the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.