Terminal positioning method and apparatus, computer device, and storage medium

By detecting the signal strength information of the downlink signal of mobile communication, and using decision tree model and base station location information to correct Bluetooth positioning, the problem of poor signal stability of Bluetooth positioning in indoor scenarios is solved, and positioning accuracy is improved.

CN117082614BActive Publication Date: 2025-12-12CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310891224.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-19
Publication Date
2025-12-12
Estimated Expiration
2043-07-19

AI Technical Summary

Technical Problem

Bluetooth positioning is easily interfered with in indoor scenarios, resulting in poor signal stability and low positioning accuracy.

Method used

By detecting the signal strength information of the downlink signal of mobile communication, especially the signal-to-noise ratio and the reference signal received power, a decision tree model is used for matching. When the signal strength meets the preset conditions, the initial location information of Bluetooth positioning is corrected using the base station location information.

Benefits of technology

It improves the accuracy of terminal positioning, avoids the impact of Bluetooth signal interference, requires no modification to Bluetooth positioning standards and procedures, and does not involve 5G communication protocols, enabling rapid deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117082614B_ABST
    Figure CN117082614B_ABST
Patent Text Reader

Abstract

The application relates to a terminal positioning method and device, computer equipment and a storage medium. The method comprises the following steps: in the case that a preset mobile communication downlink signal exists in a terminal to be positioned, acquiring signal strength information of the mobile communication downlink signal; when the signal strength information meets a preset condition, correcting initial position information of the terminal to be positioned to obtain corrected position information; the initial position information is obtained by performing Bluetooth positioning on the terminal to be positioned; and the corrected position information is determined as a positioning result of the terminal to be positioned. The method introduces the mobile communication downlink signal, corrects the Bluetooth positioning result when the signal strength information meets the preset condition, and can improve the positioning result precision of the terminal to be positioned.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of indoor positioning, and in particular to a terminal positioning method and device, a computer device, a storage medium and a computer program product. BACKGROUND

[0002] Positioning technology is currently widely used in various intelligent service scenarios, such as the metaverse and intelligent driving. In outdoor scenarios, satellite navigation systems can solve most positioning problems, but in indoor scenarios, due to the influence of buildings on satellite signals, it is difficult to accurately position. Therefore, positioning technology for indoor scenarios needs to be specially studied.

[0003] At present, the positioning technology for indoor scenarios is commonly various radio frequency signal-based positioning systems, such as mobile base station positioning, Bluetooth positioning, WIFI positioning, and ultra-wideband positioning. Among them, the Bluetooth positioning scheme usually uses Bluetooth beacons, Angle of Arrival (AOA), and Time Difference of Arrival (TDOA) methods. Bluetooth positioning has the advantages of high precision and low power consumption, but Bluetooth signals are easily disturbed and have poor signal stability, which affects the positioning accuracy.

[0004] Therefore, the existing Bluetooth positioning scheme has the problems of Bluetooth signals being easily disturbed and poor signal stability. SUMMARY

[0005] Therefore, it is necessary to provide a terminal positioning method, device, computer device, computer readable storage medium and computer program product to solve the technical problems of Bluetooth signals being easily disturbed and poor signal stability in the above Bluetooth positioning scheme.

[0006] In a first aspect, the present application provides a terminal positioning method. The method comprises:

[0007] In a case where it is detected that a preset mobile communication downlink signal exists for a terminal to be positioned, signal strength information of the mobile communication downlink signal is acquired;

[0008] When the signal strength information meets a preset condition, initial position information of the terminal to be positioned is corrected to obtain corrected position information; the initial position information is obtained by positioning the terminal to be positioned through Bluetooth;

[0009] The corrected position information is determined as a positioning result of the terminal to be positioned.

[0010] In one of the embodiments, when the signal strength information meets the preset condition, the initial position information of the terminal to be positioned is corrected to obtain the corrected position information, including:

[0011] When the signal strength information meets the preset condition, the position information of the base station corresponding to the mobile communication downlink signal is obtained;

[0012] The position information of the base station is used to replace the initial position information to obtain the corrected position information.

[0013] In one of the embodiments, the signal strength information includes signal-to-noise ratio and reference signal received power; the method further includes:

[0014] The priority of the signal-to-noise ratio and the reference signal received power is obtained;

[0015] According to the order from high to low of the priority, the signal-to-noise ratio and the reference signal received power are recursively queried in a predetermined decision tree model to obtain the matching result between the signal strength information and the preset condition; the decision tree model is determined based on a first threshold value corresponding to the signal-to-noise ratio and a second threshold value corresponding to the reference signal received power.

[0016] In one of the embodiments, the signal strength information includes signal-to-noise ratio and reference signal received power; the method further includes:

[0017] The first threshold value corresponding to the signal-to-noise ratio and the second threshold value corresponding to the reference signal received power are obtained;

[0018] When the signal-to-noise ratio is greater than the first threshold value and the reference signal received power is greater than the second threshold value, it is determined that the signal strength information of the mobile communication downlink signal meets the preset condition.

[0019] In one of the embodiments, the second threshold value corresponding to the reference signal received power is determined by the following way:

[0020] A calculation model used to represent the relationship between distance and signal strength is obtained; the distance represents the distance between the terminal to be positioned and the base station corresponding to the mobile communication downlink signal;

[0021] A preset distance range is determined, and a signal strength range is obtained according to the preset distance range and the calculation model;

[0022] Based on the signal strength range and the conversion relationship between signal strength and reference signal received power, the second threshold value is determined.

[0023] In one of the embodiments, the method further includes:

[0024] If it is detected that the to-be-positioned terminal does not exist the mobile communication downlink signal, or the signal strength information does not meet the preset condition, the initial position information is determined as the positioning result of the to-be-positioned terminal.

[0025] In one embodiment, the initial position information is determined by the following manner:

[0026] The modulated signal is sent to a base station; the base station is used to receive the modulated signal through an antenna array, and identify the angle of the to-be-positioned terminal relative to the base station according to the modulated signal, and determine the initial position information of the to-be-positioned terminal according to the angle;

[0027] The initial position information returned by the base station is received.

[0028] In a second aspect, the present application further provides a terminal positioning device. The device comprises:

[0029] The acquisition module is used to acquire the signal strength information of the mobile communication downlink signal when it is detected that the to-be-positioned terminal exists the preset mobile communication downlink signal;

[0030] The correction module is used to correct the initial position information of the to-be-positioned terminal when the signal strength information meets the preset condition, and obtain the corrected position information; the initial position information is obtained by performing Bluetooth positioning on the to-be-positioned terminal;

[0031] The positioning module is used to determine the corrected position information as the positioning result of the to-be-positioned terminal.

[0032] In a third aspect, the present application further provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0033] The signal strength information of the mobile communication downlink signal is acquired when it is detected that the to-be-positioned terminal exists the preset mobile communication downlink signal;

[0034] The initial position information of the to-be-positioned terminal is corrected when the signal strength information meets the preset condition, and the corrected position information is obtained; the initial position information is obtained by performing Bluetooth positioning on the to-be-positioned terminal;

[0035] The corrected position information is determined as the positioning result of the to-be-positioned terminal.

[0036] In a fourth aspect, the present application also provides a computer readable storage medium. The computer readable storage medium has a computer program stored thereon, and the computer program, when executed by a processor, implements the following steps:

[0037] In a case where it is detected that the preset mobile communication downlink signal exists for the terminal to be positioned, signal strength information of the mobile communication downlink signal is acquired;

[0038] When the signal strength information meets a preset condition, initial position information of the terminal to be positioned is corrected to obtain corrected position information; the initial position information is obtained by performing Bluetooth positioning on the terminal to be positioned;

[0039] The corrected position information is determined as the positioning result of the terminal to be positioned.

[0040] In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program, and the computer program, when executed by a processor, implements the following steps:

[0041] In a case where it is detected that the preset mobile communication downlink signal exists for the terminal to be positioned, signal strength information of the mobile communication downlink signal is acquired;

[0042] When the signal strength information meets a preset condition, initial position information of the terminal to be positioned is corrected to obtain corrected position information; the initial position information is obtained by performing Bluetooth positioning on the terminal to be positioned;

[0043] The corrected position information is determined as the positioning result of the terminal to be positioned.

[0044] The terminal positioning method, device, computer device, storage medium and computer program product described above acquire signal strength information of a mobile communication downlink signal in a case where it is detected that the preset mobile communication downlink signal exists for the terminal to be positioned, match the signal strength information with a preset condition, correct initial position information of the terminal to be positioned obtained by Bluetooth positioning when the two match, obtain corrected position information, and determine the corrected position information as the positioning result of the terminal to be positioned. This method introduces a mobile communication downlink signal as a basis, corrects a Bluetooth positioning result when the signal strength information meets a preset condition, and can improve the accuracy of the positioning result of the terminal to be positioned. Meanwhile, this method does not need to modify the original standard and process of Bluetooth positioning, only needs to use the result of Bluetooth positioning, does not involve a 5G communication protocol, only needs to read 5G signal measurement data of the current terminal, does not need to make special modifications to the terminal chip, and does not need to interact with the 5G network and the Bluetooth network, so the network and the terminal do not need to be modified and can be quickly deployed. BRIEF DESCRIPTION OF DRAWINGS

[0045] Figure 1 a flowchart of a terminal positioning method in an embodiment;

[0046] Figure 2 a schematic diagram of a decision tree model in an embodiment;

[0047] Figure 3 a schematic diagram of a principle of Bluetooth positioning of a terminal to be positioned in an embodiment;

[0048] Figure 4 a flowchart of a terminal positioning method in another embodiment;

[0049] Figure 5 a block diagram of a terminal positioning apparatus in an embodiment;

[0050] Figure 6 an internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0051] In order to make the purposes, technical solutions and advantages of the present application clearer, further detailed description will be made to the present application in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0052] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0053] In an embodiment, as shown in Figure 1 a terminal positioning method is provided, and the embodiment is exemplified by applying the method to a terminal. It should be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and can be realized through the interaction of the terminal and the server. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle-mounted device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server can be realized by an independent server or a server cluster composed of multiple servers. In the embodiment, the method includes the following steps:

[0054] In step S110, in a case where it is detected that the to-be-positioned terminal exists a preset mobile communication downlink signal, signal strength information of the mobile communication downlink signal is acquired.

[0055] The preset mobile communication downlink signal can be a 5G downlink signal.

[0056] The signal strength information can include a signal to interference plus noise ratio (SINR) and a reference signal receiving power (RSRP). The SINR refers to a ratio of a strength of a received useful signal to a strength of a received interference signal (noise and interference). The RSRP is an average of received signal powers on all REs (resource elements) carrying reference signals in a certain symbol.

[0057] In a specific implementation, at the beginning of indoor positioning, the to-be-positioned terminal can perform position initialization, that is, initial position information is acquired through Bluetooth positioning. Then, the to-be-positioned terminal can detect whether there is a 5G downlink signal at a regular time. If it is detected that there is a 5G downlink signal, signal strength information of the 5G downlink signal is acquired, so as to determine whether the to-be-positioned terminal is below a base station of the 5G downlink signal according to the signal strength information.

[0058] In step S120, when the signal strength information meets a preset condition, initial position information of the to-be-positioned terminal is corrected to obtain corrected position information. The initial position information is obtained by performing Bluetooth positioning on the to-be-positioned terminal.

[0059] The preset condition can be a condition that a signal strength representation parameter included in the signal strength information is greater than a threshold.

[0060] In a specific implementation, the initial position information of the to-be-positioned terminal obtained through Bluetooth positioning is corrected by the present application. Specifically, position information of a base station corresponding to a 5G downlink signal existing in the to-be-positioned terminal is used to correct the initial position information. More specifically, the position information of the base station is used to replace the initial position information, that is, the accurate position information of the base station is used to represent the position of the to-be-positioned terminal. Therefore, the to-be-positioned terminal cannot be too far away from the base station, otherwise the position information of the base station cannot be used to represent the position of the to-be-positioned terminal. Therefore, the to-be-positioned terminal can be set to be in a preset region directly below the base station, for example, when the to-be-positioned terminal is in a circular region with a center point directly below the base station and a preset distance as a radius, the position information of the base station can be used to replace the initial position information of the to-be-positioned terminal.

[0061] Further, in order to identify whether the terminal to be positioned is in the preset area, the signal strength information of the 5G downlink signal received by the terminal to be positioned is used as a basis to determine whether the terminal to be identified is in the preset area, and the initial position information of the terminal to be positioned is corrected according to the determination result. Specifically, when the signal strength information meets the preset condition, indicating that the terminal to be identified is in the preset area, the initial position information of the terminal to be positioned is corrected using the position information of the base station corresponding to the 5G downlink signal existing in the terminal to be positioned, to obtain the corrected position information. Conversely, when the signal strength information does not meet the preset condition, indicating that the terminal to be identified is not in the preset area, the initial position information of the terminal to be positioned cannot be corrected using the position information of the base station corresponding to the 5G downlink signal existing in the terminal to be positioned.

[0062] In step S130, the corrected position information is determined as the positioning result of the terminal to be positioned.

[0063] Specifically, after obtaining the corrected position information of the terminal to be positioned, since the position accuracy of the corrected position information is higher than that of the initial position information obtained by Bluetooth positioning, the corrected position information is determined as the final positioning result of the terminal to be positioned.

[0064] In the terminal positioning method described above, when it is detected that the terminal to be positioned exists in the preset mobile communication downlink signal, the signal strength information of the mobile communication downlink signal is obtained, the initial position information of the terminal to be positioned obtained by Bluetooth positioning is corrected when the signal strength information matches the preset condition, to obtain the corrected position information, and the corrected position information is determined as the positioning result of the terminal to be positioned. This method uses the mobile communication downlink signal as a basis, and corrects the Bluetooth positioning result when the signal strength information meets the preset condition, which can improve the accuracy of the positioning result of the terminal to be positioned. Moreover, this method does not need to modify the original standard and process of Bluetooth positioning, but only needs to use the result of Bluetooth positioning, and does not involve the 5G communication protocol, so it only needs to read the 5G signal measurement data of the current terminal without the need for special modification of the terminal chip. In addition, the 5G network and the Bluetooth network do not need to interact, so there is no need to modify the network and the terminal, and the method can be quickly deployed.

[0065] In an exemplary embodiment, when the signal strength information meets the preset condition, the initial position information of the terminal to be positioned is corrected to obtain the corrected position information, including: when the signal strength information meets the preset condition, the position information of the base station of the mobile communication downlink signal is obtained; and the initial position information is replaced with the position information of the base station to obtain the corrected position information. In an exemplary embodiment, when the signal strength information meets the preset condition, the initial position information of the terminal to be positioned is corrected to obtain the corrected position information, including: when the signal strength information meets the preset condition, the position information of the base station of the mobile communication downlink signal is obtained; and the initial position information is replaced with the position information of the base station to obtain the corrected position information.

[0066] In a specific implementation, when the signal strength information meets the preset condition, it indicates that the position of the terminal to be positioned is in the preset area directly below the base station, and the initial position information of the terminal to be positioned can be corrected by using the position information of the base station. Therefore, the position information of the base station receiving the mobile communication downlink signal can be obtained, the initial position information is replaced by the position information of the base station, and the corrected position information is obtained. That is, the position information of the base station is used as the corrected position information, which represents the positioning result of the terminal to be positioned.

[0067] In the embodiment, when the signal strength information meets the preset condition, that is, the terminal to be identified is in the preset area, the initial position information of the terminal to be positioned is corrected by using the position information of the base station corresponding to the 5G downlink signal of the terminal to be positioned. It can be ensured that the corrected position information can accurately represent the position of the terminal to be positioned, and the problem that the corrected position information has a large error with the actual position of the terminal to be positioned can be avoided. At the same time, the initial position information is replaced by the position information of the base station as the corrected position information of the terminal to be positioned, which can avoid the problems that the Bluetooth signal is easily disturbed and has poor signal stability in the Bluetooth positioning scheme.

[0068] In an example embodiment, the signal strength information includes a signal-to-noise ratio and a reference signal received power; and the identification method of whether the signal strength information of the mobile communication downlink signal meets the preset condition includes: obtaining priorities of the signal-to-noise ratio and the reference signal received power; performing recursive query on the signal-to-noise ratio and the reference signal received power in a pre-determined decision tree model in order from high to low priority, to obtain a matching result between the signal strength information and the preset condition; and the decision tree model is determined based on a first threshold corresponding to the signal-to-noise ratio and a second threshold corresponding to the reference signal received power.

[0069] It should be noted that, in addition to the signal-to-noise ratio and the reference signal received power, other parameters that can represent signal strength can also be used in actual applications.

[0070] In the embodiment, the priority of the signal-to-noise ratio is higher than that of the reference signal received power.

[0071] In a specific implementation, the signal strength is proportional to the signal-to-noise ratio, and the greater the signal strength, the greater the signal-to-noise ratio. The first threshold corresponding to the signal-to-noise ratio can be obtained by experiment. In the present application, the first threshold is greater than 25, and is preferably greater than 28. The signal strength is proportional to the reference signal received power, and the greater the signal strength, the greater the reference signal received power. The second threshold corresponding to the reference signal received power can also be obtained by experiment, and can also be obtained based on a calculation model representing the relationship between distance and signal strength. In the present application, the reference signal received power is greater than 30.

[0072] After the first threshold corresponding to the signal-to-noise ratio and the second threshold corresponding to the reference signal received power are determined, a decision tree model can be constructed based on the first threshold and the second threshold, and the decision tree model is used to determine whether the signal strength information of the mobile communication downlink signal meets the preset condition. Figure 2 As shown in the schematic diagram of the decision tree model shown in an embodiment, Figure 2 As shown in the schematic diagram of the decision tree model shown in an embodiment,

[0073] In this embodiment, the signal-to-noise ratio and the reference signal received power are used as the signal strength representation parameters of the mobile communication downlink signal to identify whether the signal strength information meets the preset condition, so that the initial position information of the terminal to be positioned can be accurately determined whether it can be corrected according to the identification result, and the accuracy of the identification result is ensured. At the same time, the signal-to-noise ratio and the reference signal received power are determined by the decision tree model, which can improve the determination rate.

[0074] In an exemplary embodiment, the signal strength information includes a signal-to-noise ratio and a reference signal received power; and the identification method of whether the signal strength information of the mobile communication downlink signal meets the preset condition includes: obtaining a first threshold corresponding to the signal-to-noise ratio and a second threshold corresponding to the reference signal received power; and determining that the signal strength information of the mobile communication downlink signal meets the preset condition when the signal-to-noise ratio is greater than the first threshold and the reference signal received power is greater than the second threshold.

[0075] The first threshold is used to identify whether the signal-to-noise ratio of the 5G downlink signal existing in the terminal to be positioned meets the requirement, and the second threshold is used to identify whether the reference signal received power of the 5G downlink signal existing in the terminal to be positioned meets the requirement.

[0076] In specific implementation, the first threshold value and the second threshold value can be determined by experiment, and the second threshold value can also be obtained based on a calculation model representing the relationship between distance and signal strength. In determining the first threshold value corresponding to the signal-to-noise ratio and the second threshold value corresponding to the reference signal receiving power, the actual acquired signal-to-noise ratio of the mobile communication downlink signal and the reference signal receiving power are compared with the corresponding first threshold value and second threshold value, respectively. If the signal-to-noise ratio is greater than the first threshold value and the reference signal receiving power is greater than the second threshold value, it indicates that the terminal to be positioned is in the preset area directly below the base station, and it can be determined that the signal strength information of the 5G downlink signal meets the preset condition, so that the initial position information of the terminal to be positioned can be corrected according to the position information of the base station. On the contrary, if the signal-to-noise ratio is less than or equal to the first threshold value, and / or the reference signal receiving power is less than or equal to the second threshold value, it indicates that the terminal to be positioned is not in the preset area directly below the base station, and it can be determined that the signal strength information of the 5G downlink signal does not meet the preset condition, so that the initial position information of the terminal to be positioned cannot be corrected according to the position information of the base station.

[0077] In the embodiment, the signal-to-noise ratio and the reference signal receiving power are taken as the signal strength representation parameters of the mobile communication downlink signal to identify whether the signal strength information meets the preset condition, so that whether the initial position information of the terminal to be positioned can be corrected can be accurately determined according to the identification result, ensuring the accuracy of the identification result, and the condition determination of the signal-to-noise ratio and the reference signal receiving power can improve the determination rate.

[0078] In an exemplary embodiment, the second threshold value corresponding to the reference signal receiving power is determined by: obtaining a calculation model representing the relationship between distance and signal strength; the distance represents the distance between the terminal to be positioned and the base station corresponding to the mobile communication downlink signal; determining a preset distance range, and obtaining a signal strength range according to the preset distance range and the calculation model; determining the second threshold value based on the signal strength range and the conversion relationship between the signal strength and the reference signal receiving power.

[0079] The calculation model representing the relationship between distance and signal strength can be represented as:

[0080]

[0081] Wherein, d is the distance, the unit is m; RSSI is the received signal strength indication, which is a negative number; A is the signal strength when the signal transmitting end and the signal receiving end are separated by 1 m; n is the environmental attenuation factor, which needs to be tested and corrected, and the best range is between 3.25-4.5.

[0082] Specifically, since the initial position information is replaced by the position information of the base station, the distance between the terminal to be positioned and the base station cannot be too far, otherwise there will be a positioning error. Therefore, the terminal to be positioned needs to be in the preset area directly below the base station, that is, the distance between the terminal to be positioned and the base station has a preset distance range. The boundary values of the distance range are input into the calculation model to obtain the signal strength range of the terminal to be positioned in the preset area directly below the base station. Further, the second threshold can be determined based on the signal strength range and the conversion relationship between the signal strength and the reference signal receiving power.

[0083] The conversion relationship between the signal strength and the reference signal receiving power can be expressed as:

[0084] RSRQ = N * RSRP / RSSI

[0085] Wherein, N is the measurement bandwidth of RSSI, RSRQ, which stands for Reference Signal Receiving Quality, represents the reference signal receiving quality, and has a preset value range.

[0086] After obtaining the signal strength range of RSSI according to the preset distance range and the calculation model, the boundary values corresponding to the range are substituted into the conversion relationship between the signal strength and the reference signal receiving power to obtain the second threshold.

[0087] In this embodiment, the calculation model representing the relationship between the distance and the signal strength is used to determine the second threshold corresponding to the reference signal receiving power, so as to determine whether the reference signal receiving power of the 5G downlink signal existing in the terminal to be positioned meets the requirements according to the second threshold, thereby determining whether the initial position information of the terminal to be positioned can be corrected.

[0088] In an exemplary embodiment, the terminal positioning method further comprises: if it is detected that the terminal to be positioned does not exist mobile communication downlink signal, or the signal strength information does not meet the preset condition, the initial position information is determined as the positioning result of the terminal to be positioned.

[0089] In a specific implementation, if it is detected that the signal received by the terminal to be positioned does not exist mobile communication downlink signal, or the signal strength information does not meet the preset condition, it indicates that the terminal to be positioned is in the preset area directly below the base station, that is, the terminal to be positioned is far away from the base station, so the initial position information of the terminal to be positioned cannot be corrected by the position information of the base station. Therefore, in this case, the initial position information of the terminal to be positioned determined by the Bluetooth positioning can be determined as the positioning result of the terminal to be positioned.

[0090] In the embodiment, if the signal received by the terminal to be positioned is not a mobile communication downlink signal, or the signal strength information does not meet the preset condition, the initial position information is determined as the positioning result of the terminal to be positioned, and the initial position information of the terminal to be positioned is not corrected by the position information of the base station, so as to avoid that the base station is far away from the terminal to be positioned, and the positioning error of the terminal to be positioned is increased.

[0091] In an exemplary embodiment, the initial position information is determined by the following manner: a modulated signal is sent to the base station; the base station is used to receive the modulated signal by the antenna array, and the angle of the terminal to be positioned relative to the base station is identified according to the modulated signal, and the initial position information of the terminal to be positioned is determined according to the angle; and the initial position information returned by the base station is received.

[0092] In a specific implementation, the principle of Bluetooth positioning of the terminal to be positioned is as shown in Figure 3 , first, the terminal to be positioned transmits a special modulated signal, the base station receives the modulated signal through the specially arranged antenna array, and then identifies the angle of the terminal to be positioned relative to the base station, so as to further determine the position of the terminal to be positioned relative to the base station, and combine the position information of the base station and the position of the terminal to be positioned relative to the base station to obtain the initial position information of the terminal to be positioned, then the base station can return the obtained initial position information to the terminal to be positioned, so that the terminal to be positioned can obtain the initial position information through Bluetooth positioning. When Bluetooth positioning is used, the terminal to be positioned needs to have the function of transmitting the specific modulated signal in the Bluetooth baseband, and the base station needs to have the switching and scanning function of the antenna array according to the received Bluetooth data.

[0093] In the embodiment, the terminal to be positioned determines the initial position information through Bluetooth positioning, and realizes position initialization, so that when the signal received by the terminal to be positioned is not a mobile communication downlink signal, or the signal strength information of the existing mobile communication downlink signal does not meet the preset condition, the initial position information can be determined as the positioning result of the terminal to be positioned.

[0094] In an embodiment, in order to facilitate those skilled in the art to understand the embodiments of the present application, the following will be described in combination with specific examples of the accompanying drawings. Referring to Figure 4 , a schematic diagram of the overall flow of a terminal positioning method is shown, which includes the following steps:

[0095] (1) At the beginning of indoor positioning, the initial position information of the terminal to be positioned is obtained through Bluetooth positioning.

[0096] (2) It is detected whether the terminal to be positioned has a 5G downlink signal. If not, the initial position information is taken as the positioning result of the terminal to be positioned.

[0097] (3) If there is a 5G downlink signal, collect the signal-to-noise ratio and reference signal received power and other state parameters of the terminal to be positioned as signal strength information.

[0098] (4) Condition matching is performed on the signal strength information. To speed up the determination, condition determination or decision tree method can be used for determination. First, determine whether the signal-to-noise ratio is greater than a first threshold. If not, the initial position information is used as the positioning result of the terminal to be positioned.

[0099] (5) If the signal-to-noise ratio is greater than the first threshold, determine whether the reference signal received power is greater than a second threshold. If not, the initial position information is used as the positioning result of the terminal to be positioned.

[0100] (6) If the reference signal received power is greater than the second threshold, the initial position information is optimized. Specifically, the position information of the base station corresponding to the 5G downlink signal is used to replace the initial position information, and the position information of the base station is used as the positioning result of the terminal to be positioned.

[0101] Compared with the prior art which only uses Bluetooth beacon or Bluetooth positioning method such as angle of arrival for positioning, the present application introduces the downlink signal of the 5G base station to correct the Bluetooth positioning, which has the following beneficial effects:

[0102] 1. No need to modify the original standard and process of the Bluetooth angle of arrival positioning method, only the result of the Bluetooth positioning is needed.

[0103] 2. No need to involve 5G communication protocol, only need to read the 5G signal measurement data of the current terminal, no need to make special changes to the terminal chip.

[0104] 3. 5G network and Bluetooth network do not need to interact, so there is no need to modify the network and terminal, which can be quickly deployed.

[0105] It should be understood that although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other order. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0106] Based on the same inventive concept, the embodiments of the present application further provide a terminal positioning device for implementing the terminal positioning method described above. The implementation scheme of the device for solving the problem is similar to the implementation scheme described in the above method, so the specific limitations in one or more terminal positioning device embodiments provided below can refer to the limitations of the terminal positioning method described above, which will not be described here.

[0107] In one embodiment, as shown in Figure 5 A terminal positioning device is provided, comprising: an acquisition module 510, a correction module 520 and a positioning module 530, wherein:

[0108] The acquisition module 510 is configured to acquire signal strength information of a mobile communication downlink signal when it is detected that the mobile communication downlink signal exists for a terminal to be positioned.

[0109] The correction module 520 is configured to correct initial position information of the terminal to be positioned to obtain corrected position information when the signal strength information meets a preset condition; the initial position information is obtained by performing Bluetooth positioning on the terminal to be positioned.

[0110] The positioning module 530 is configured to determine the corrected position information as a positioning result of the terminal to be positioned.

[0111] In one embodiment, the correction module 520 is further configured to acquire position information of a base station corresponding to the mobile communication downlink signal when the signal strength information meets the preset condition; and replace the initial position information with the position information of the base station to obtain the corrected position information.

[0112] In one embodiment, the signal strength information includes signal-to-noise ratio (SNR) and reference signal received power (RSRP); the device further comprises a condition matching module configured to acquire priorities of the SNR and the RSRP; perform recursive query on the SNR and the RSRP in a pre-determined decision tree model in order from high to low priority to obtain a matching result between the signal strength information and the preset condition; and determine the decision tree model based on a first threshold corresponding to the SNR and a second threshold corresponding to the RSRP.

[0113] In one embodiment, the signal strength information includes SNR and RSRP; and the condition matching module is further configured to acquire the first threshold corresponding to the SNR and the second threshold corresponding to the RSRP; and determine that the signal strength information of the mobile communication downlink signal meets the preset condition when the SNR is greater than the first threshold and the RSRP is greater than the second threshold.

[0114] In one embodiment, the above-mentioned device further includes a threshold determination module for obtaining a calculation model for characterizing the relationship between distance and signal strength; the distance represents the distance between the terminal to be located and the base station corresponding to the mobile communication downlink signal; a preset distance range is determined, and a signal strength range is obtained according to the preset distance range and the calculation model; a second threshold is determined based on the signal strength range and the conversion relationship between signal strength and reference signal received power.

[0115] In one embodiment, the positioning module 530 is further configured to determine the initial location information as the positioning result of the terminal to be positioned if it is detected that the terminal to be positioned does not have a mobile communication downlink signal, or if the signal strength information does not meet the preset conditions.

[0116] In one embodiment, the positioning module 530 is further configured to send a modulated signal to a base station; the base station is configured to receive the modulated signal through an antenna array, identify the angle of the terminal to be positioned relative to the base station based on the modulated signal, determine the initial position information of the terminal to be positioned based on the angle, and receive the initial position information returned by the base station.

[0117] Each module in the aforementioned terminal positioning device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0118] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a terminal positioning method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0119] Those skilled in the art will understand that Figure 6The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0120] In an embodiment, a computer device is also provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the steps in the above method embodiments when executing the computer program.

[0121] In an embodiment, a computer readable storage medium is provided, storing a computer program, and the computer program implementing the steps in the above method embodiments when executed by a processor.

[0122] In an embodiment, a computer program product is provided, including a computer program, and the computer program implementing the steps in the above method embodiments when executed by a processor.

[0123] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant national and regional laws, regulations and standards.

[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0125] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0126] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A terminal positioning method characterized by comprising: The method comprises: In the case where it is detected that a preset mobile communication downlink signal exists for a terminal to be positioned, signal strength information of the mobile communication downlink signal is acquired; the signal strength information comprises a signal-to-noise ratio and a reference signal received power; The priority of the signal-to-noise ratio and the reference signal received power is acquired; the signal-to-noise ratio and the reference signal received power are recursively queried in a predetermined decision tree model in order of priority from high to low, to obtain a matching result between the signal strength information and a preset condition; the decision tree model is determined based on a first threshold corresponding to the signal-to-noise ratio and a second threshold corresponding to the reference signal received power; When the signal strength information meets the preset condition, the position information of a base station corresponding to the mobile communication downlink signal is acquired; the position information of the base station is used to replace initial position information, to obtain corrected position information; the initial position information is obtained by performing Bluetooth positioning on the terminal to be positioned; The corrected position information is determined as the positioning result of the terminal to be positioned.

2. The method of claim 1, wherein, The method further comprises: The first threshold corresponding to the signal-to-noise ratio and the second threshold corresponding to the reference signal received power are acquired; When the signal-to-noise ratio is greater than the first threshold and the reference signal received power is greater than the second threshold, it is determined that the signal strength information of the mobile communication downlink signal meets the preset condition.

3. The method of claim 1, wherein, The second threshold corresponding to the reference signal received power is determined by the following method: A calculation model for representing the relationship between distance and signal strength is acquired; the distance represents the distance between the terminal to be positioned and a base station corresponding to the mobile communication downlink signal; A preset distance range is determined, and a signal strength range is obtained according to the preset distance range and the calculation model; Based on the signal strength range and the conversion relationship between signal strength and reference signal received power, the second threshold is determined.

4. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: If it is detected that the terminal to be positioned does not have the mobile communication downlink signal, or the signal strength information does not meet the preset condition, the initial position information is determined as the positioning result of the terminal to be positioned.

5. The method of claim 1, wherein, The initial position information is determined by the following method: A modulated signal is sent to a base station; the base station is used to receive the modulated signal through an antenna array, and identify the angle of the terminal to be positioned relative to the base station according to the modulated signal, to determine the initial position information of the terminal to be positioned according to the angle; The initial position information returned by the base station is received.

6. The method of claim 1, wherein, The priority of the signal-to-noise ratio is higher than the priority of the reference signal received power.

7. A terminal positioning apparatus characterized by comprising: The apparatus comprises: An acquisition module, configured to, in the case where it is detected that a preset mobile communication downlink signal exists for a terminal to be positioned, acquire signal strength information of the mobile communication downlink signal; the signal strength information comprises a signal-to-noise ratio and a reference signal received power; The condition matching module is configured to acquire priorities of the signal-to-noise ratio and the reference signal received power; and perform recursive query on the signal-to-noise ratio and the reference signal received power in a predetermined decision tree model in a descending order of the priorities to obtain a matching result between the signal strength information and a preset condition; the decision tree model is determined based on a first threshold corresponding to the signal-to-noise ratio and a second threshold corresponding to the reference signal received power; The correction module is configured to acquire position information of a base station corresponding to the mobile communication downlink signal when the signal strength information meets the preset condition; replace initial position information with the position information of the base station to obtain corrected position information; and the initial position information is obtained by performing Bluetooth positioning on the terminal to be positioned. The positioning module is configured to determine the corrected position information as a positioning result of the terminal to be positioned.

8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the terminal positioning method in any one of claims 1 to 6.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the terminal positioning method in any one of claims 1 to 6.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the terminal positioning method in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent evacuation system and method suitable for subway station fire alarm conditions

    CN111047814A

  • Positioning method and system and street lamp

    CN116068596A