Terminal positioning method, apparatus, device, and storage medium
By utilizing channel state information from directional and omnidirectional antennas in base station equipment, the direction and distance of the terminal are calculated, solving the problem of high cost in existing indoor positioning and achieving efficient and accurate indoor positioning.
Patent Information
- Application Number
- CN202310674737.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2043-06-06
AI Technical Summary
Existing indoor positioning technologies require the deployment of a large number of reference Bluetooth or WiFi devices, which is costly and inaccurate.
The base station equipment uses directional and omnidirectional antennas to send measurement request messages, receives channel state information fed back by the terminal, calculates the direction and distance of the terminal relative to the base station, and determines its relative position.
No additional equipment is required, reducing the cost of indoor positioning solutions and improving positioning accuracy.
Smart Images

Figure CN116614878B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, and in particular to a terminal positioning method and device, equipment and storage medium. BACKGROUND
[0002] With the rapid development of information society and the improvement of people's living standards, users' demand for positioning is also increasing, and location-based services appear in all aspects of people's life. Due to the popularity of GPS and Beidou positioning system in mobile terminals, outdoor positioning is more accurate, but once entering the indoor, the loss of satellite signal will lead to inaccurate positioning of mobile terminals or inability to use.
[0003] In related indoor terminal positioning methods, rough positioning is often performed through a 5th Generation Mobile Communication Technology (5G) network, and further precise positioning is performed in combination with Bluetooth technology, wireless network communication technology (WiFi) and other positioning technologies. However, due to the limited coverage of Bluetooth, a large number of reference Bluetooth devices need to be deployed for positioning based on Bluetooth; the penetration effect of WiFi signal in indoor transmission is poor, and the coverage ability is limited, that is, in order to achieve precise positioning in the indoor, a large number of reference Bluetooth devices or WiFi devices need to be additionally deployed, which is high in cost. SUMMARY
[0004] The present application provides a terminal positioning method, device, equipment and storage medium for positioning terminal devices in an indoor scene.
[0005] In order to achieve the above purpose, the present application adopts the following technical solutions:
[0006] In a first aspect, a terminal positioning method is provided, which is applied to a base station device and includes: the base station device sends a first measurement request message and a second measurement request message to a target terminal in response to a positioning request message sent by a positioning system; the positioning request message includes an identifier of the target terminal, and the measurement request message is used to request the terminal to measure channel state information and report; the first measurement request message is a measurement request message sent by the base station device based on a directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on an omnidirectional antenna. Further, the base station device receives first channel state information sent by the target terminal in response to the first measurement request message, and second channel state information sent by the target terminal in response to the second measurement request message; and determines a target direction of the target terminal relative to the base station device according to the first channel state information; and determines a target distance of the target terminal relative to the base station device according to the second channel state information. Further, the base station device determines a relative position of the target terminal relative to the base station device according to the target direction and the target distance.
[0007] In the terminal positioning method provided in the application, without adding additional equipment, the direction of the terminal relative to the base station device is determined based on the channel state information sent by the target terminal in response to the measurement request message sent by the directional antenna, the distance of the target terminal relative to the base station device is determined based on the channel state information sent by the target terminal in response to the measurement request message sent by the omnidirectional antenna, and the relative position of the terminal relative to the base station device in the indoor environment is further obtained based on the direction and the distance, thereby reducing the cost of the indoor positioning scheme.
[0008] In a possible design, the base station device is configured with multiple directional antennas, and each directional antenna in the multiple directional antennas has a different direction. The base station device sends a first measurement request message to the target terminal in response to a positioning request message sent by a positioning system, including: the base station device sends the first measurement request message to the target terminal based on each directional antenna in the multiple directional antennas, so that the target terminal receives multiple first measurement request messages. In this design, multiple directional antennas are provided to accurately determine the relative direction of the target terminal, so that the determined relative direction is more accurate.
[0009] In a possible design, the base station device receives first channel state information sent by the target terminal in response to the first measurement request message, including: the base station device receives multiple first channel state information corresponding to the multiple first measurement request messages sent by the target terminal in response to the multiple first measurement request messages.
[0010] In a possible design, the base station device determines the target direction of the target terminal relative to the base station device based on the first channel state information, including: the base station device determines a target directional antenna from the multiple directional antennas based on the multiple first channel state information, and the channel quality in the first channel state information corresponding to the target directional antenna is the highest. Further, the base station device determines a neighboring directional antenna adjacent to the target directional antenna, and determines the target direction based on the channel quality included in the first channel state information corresponding to the target directional antenna and the neighboring directional antenna. In this design, the relative direction of the target terminal is determined based on the channel state information received by the multiple directional antennas, and the accuracy of determining the position of the target terminal is improved.
[0011] In a possible design, the terminal positioning method further includes obtaining, by the base station device, a deployment position of the base station device. Further, the position of the target terminal is determined based on the deployment position of the base station device and the relative position of the target terminal relative to the base station device. In this design, after the relative position of the target terminal relative to the base station device is obtained, the position information of the target terminal is calculated based on the position information of the base station device, and the positioning of the target terminal is implemented.
[0012] In a possible design of the method, the terminal positioning method further includes: sending, by the base station device, the position of the target terminal to the positioning system.
[0013] In a second aspect, a terminal positioning apparatus is provided, which is deployed at a base station device and includes a sending unit, a receiving unit, and a determining unit. The sending unit is configured to send, in response to a positioning request message sent by a positioning system, a first measurement request message and a second measurement request message to a target terminal; the positioning request message includes an identifier of the target terminal, and the measurement request message is used to request the terminal to measure channel state information and report the same; the first measurement request message is a measurement request message sent by the base station device based on a directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on an omnidirectional antenna. The receiving unit is configured to receive first channel state information sent by the target terminal in response to the first measurement request message, and second channel state information sent by the target terminal in response to the second measurement request message. The determining unit is configured to determine a target direction of the target terminal relative to the base station device according to the first channel state information. The determining unit is further configured to determine a target distance of the target terminal relative to the base station device according to the second channel state information. The determining unit is further configured to determine a relative position of the target terminal relative to the base station device according to the target direction and the target distance.
[0014] In a possible design of the apparatus, the base station device is configured with multiple directional antennas, and each directional antenna of the multiple directional antennas is different in direction. The sending unit is further configured to send, based on each directional antenna of the multiple directional antennas, the first measurement request message to the target terminal, so that the target terminal receives multiple first measurement request messages.
[0015] In a possible design of the apparatus, the receiving unit is further configured to receive multiple first channel state information corresponding to the multiple first measurement request messages respectively, which are sent by the target terminal in response to the multiple first measurement request messages.
[0016] In a possible design of the apparatus, the determining unit is further configured to determine, according to the multiple first channel state information, a target directional antenna from the multiple directional antennas, the target directional antenna corresponding to first channel state information with the highest channel quality. The determining unit is further configured to determine a neighboring directional antenna adjacent to the target directional antenna. The determining unit is further configured to determine the target direction according to channel qualities included in the first channel state information corresponding to the target directional antenna and the neighboring directional antenna.
[0017] In a possible design of the apparatus, the terminal positioning apparatus further includes an obtaining unit. The obtaining unit is configured to obtain a deployment position of the base station device. The determining unit is further configured to determine the position of the target terminal according to the deployment position of the base station device and the relative position of the target terminal relative to the base station device.
[0018] In a possible design of the terminal positioning method, the sending unit is further configured to send the position of the target terminal to a positioning system.
[0019] In a third aspect, a base station device is provided. The base station device includes a memory and a processor. The memory and the processor are coupled, and the memory is configured to store computer program code including computer instructions. When the processor executes the computer instructions, the base station device performs the terminal positioning method provided in the first aspect or any possible design thereof.
[0020] In a fourth aspect, a computer readable storage medium is provided. The computer readable storage medium stores instructions. When the instructions are run on a base station device, the base station device performs the terminal positioning method provided in the first aspect or any possible implementation manner thereof.
[0021] In a fifth aspect, a computer program product is provided. The computer program product includes computer instructions. When the computer instructions are run on a base station device, the base station device is capable of performing the terminal positioning method provided in the first aspect or any possible implementation manner thereof.
[0022] In the terminal positioning method provided in the present application, no additional device needs to be added, and the direction and distance of the terminal relative to the base station device are obtained. Further, the relative position of the terminal relative to the base station device in an indoor scene is obtained according to the direction and distance, thereby reducing the cost of the indoor positioning scheme. BRIEF DESCRIPTION OF DRAWINGS
[0023] Figure 1 A terminal positioning system structure schematic diagram provided for an embodiment of the present application;
[0024] Figure 2 A base station device signal coverage area schematic diagram provided for an embodiment of the present application;
[0025] Figure 3 A terminal positioning method flowchart provided for an embodiment of the present application Figure 1 ;
[0026] Figure 4 A terminal positioning method flowchart provided for an embodiment of the present application Figure 2 ;
[0027] Figure 5 A terminal positioning method flowchart provided for an embodiment of the present application Figure 3 ;
[0028] Figure 6 A terminal positioning method flowchart provided for an embodiment of the present application Figure 4 ;
[0029] Figure 7 A terminal positioning device structure schematic diagram provided for an embodiment of the present application;
[0030] Figure 8 A base station device structure schematic diagram provided for an embodiment of the present application Figure 1 ;
[0031] Figure 9 A base station device structure schematic diagram provided for an embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0032] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
[0033] In the embodiments of the present application, the words such as “exemplary” or “for example” are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or advantageous than other embodiments or design solutions. In fact, the words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
[0034] In the description of the present application, unless otherwise specified, “ / ” means “or”, for example, A / B can mean A or B. “And / or” in this document is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can mean that A exists alone, A and B exist together, and B exists alone. In addition, “at least one” “multiple” means two or more. “First”, “second”, and the like do not limit the quantity and execution order, and “first”, “second”, and the like do not necessarily mean different.
[0035] In the related indoor terminal positioning method, coarse positioning is often performed through a 5G network, and further precise positioning is performed in combination with Bluetooth technology and WiFi positioning technology. However, because the coverage range of Bluetooth is limited, a large number of reference Bluetooth devices need to be deployed to realize positioning based on Bluetooth; the penetration effect of WiFi signals in indoor transmission is poor, and the coverage ability is limited, that is, in order to realize precise positioning indoors, a large number of reference Bluetooth devices or WiFi devices need to be additionally deployed, which is high in cost.
[0036] To solve the above problems, the application provides a terminal positioning method, device and equipment and storage medium, the method is applied to a base station device, and includes the following steps: the base station device sends a first measurement request message and a second measurement request message to a target terminal in response to a positioning request message sent by a positioning system; the positioning request message includes an identifier of the target terminal, and the measurement request message is used for requesting the terminal to measure channel state information and report; the first measurement request message is a measurement request message sent by the base station device based on a directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on an omnidirectional antenna. Further, the base station device receives first channel state information sent by the target terminal in response to the first measurement request message and second channel state information sent by the target terminal in response to the second measurement request message; and determines a target direction of the target terminal relative to the base station device according to the first channel state information; and determines a target distance of the target terminal relative to the base station device according to the second channel state information. Further, the base station device determines a relative position of the target terminal relative to the base station device according to the target direction and the target distance.
[0037] In this way, in the terminal positioning method provided by the application, without adding additional equipment, by sending measurement request messages based on different antennas by the base station device, and then determining the direction of the terminal relative to the base station device according to the channel state information sent by the target terminal in response to the measurement request message sent by the directional antenna, determining the distance of the terminal relative to the base station device according to the channel state information sent by the target terminal in response to the measurement request message sent by the omnidirectional antenna, and further determining the relative position of the terminal relative to the base station device in the indoor environment according to the direction and the distance, the cost of the indoor positioning scheme is reduced.
[0038] Figure 1 An indoor terminal positioning system is shown, and the terminal positioning method provided by the embodiments of the application can be applied to the indoor terminal positioning system shown in Figure 1 As shown in Figure 2 The indoor terminal positioning system 10 includes a base station device 11, a terminal 12 and a positioning system 13.
[0039] The base station device 11 is connected with the terminal 12 and the positioning system 13 respectively, and the connection relationship can be wired connection or wireless connection, which is not limited in the embodiments of the application.
[0040] The positioning system 13 can be used to generate a positioning request message in response to the operation of a user and send the positioning request message to the base station device 11.
[0041] The positioning request message includes an identifier of the terminal 12.
[0042] The base station device 11 can be configured to send a first measurement request message and a second measurement request message to the terminal 12 in response to a positioning request message sent by the positioning system 13.
[0043] The measurement request message is used to request the terminal to measure and report channel state information. The first measurement request message is a measurement request message sent by the base station device 11 based on a directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on an omnidirectional antenna.
[0044] The terminal 12 can be configured to measure the channel provided by the directional antenna in response to the first measurement request message, and report the obtained first channel state information, and can also be configured to measure the channel provided by the omnidirectional antenna in response to the second measurement request message, and report the obtained second channel state information.
[0045] It should be noted that the channel state information is contained in the channel state information reference signal (CSI-RS) generated by the terminal in response to the measurement request message, which includes channel quality indicator (CQI), CSI-RS resource indicator (CRI), rank indicator (RI), and precoder matrix indicator (PMI).
[0046] Correspondingly, the base station device 11 can also be configured to receive the first channel state information and the second channel state information sent by the terminal 12.
[0047] The base station device 11 can also be configured to determine the target direction of the terminal 12 relative to the base station device 11 according to the first channel state information, and can also be configured to determine the target distance of the terminal 12 relative to the base station device 11 according to the second channel state information.
[0048] It should be noted that the base station device 11 has a mapping relationship between channel quality and direction and a mapping relationship between channel quality and distance pre-stored therein, and thus the target direction and the target distance of the terminal 12 relative to the base station device 11 are determined according to the channel quality included in the channel state information.
[0049] The base station device 11 can also be configured to determine the relative position of the terminal 12 relative to the base station device 11 according to the target direction and the target distance.
[0050] In some embodiments, as shown in FIG. 1, Figure 2 Figure 2 A top view of a signal coverage area of a base station device is shown. The base station device 11 is configured with multiple directional antennas, C1-1, C1-2, …, C1-n, and an omnidirectional antenna C2. The signal coverage areas of the directional antennas and the omnidirectional antenna are shown as examples in Figure 3 .
[0051] It should be noted that the directional antenna can be configured to transmit a carrier in a similar manner to the directional transmission of a log-periodic antenna, and the omnidirectional antenna can be configured to transmit a carrier in an omnidirectional manner.
[0052] It should be noted that after the base station device 11 is installed and deployed, the directions of the directional antennas are adjusted. For example, if the base station device 11 is configured with eight directional antennas, the eight directional antennas C1-1, C1-2, …, C1-8 can be deployed in the directions of east, southeast, south, southwest, west, northwest, north, and northeast, respectively, and the included angle between two adjacent directional antennas is 45°, so as to determine the coverage direction of each directional antenna.
[0053] Figure 1 A flowchart of a terminal positioning method according to some example embodiments is shown. In some embodiments, the terminal positioning method can be applied to the base station device 11 in the indoor terminal positioning system 10 as shown in Figure 3 . Hereinafter, the terminal positioning method is described by taking the terminal positioning method applied to the base station device 11 as an example.
[0054] As shown in Figure 4 , the terminal positioning method provided by the embodiments of the present application includes the following S201-S205.
[0055] S201, the base station device sends a first measurement request message and a second measurement request message to a target terminal in response to a positioning request message sent by a positioning system.
[0056] The positioning request message includes the identification of the target terminal, and the measurement request message is used to request the terminal to measure the channel state information and report. The first measurement request message is a measurement request message sent by the base station device based on a directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on an omnidirectional antenna.
[0057] As a possible implementation, the positioning system generates a positioning request message containing the identification of the target terminal in response to the operation of a user on the positioning system, and requests to position the target terminal.
[0058] Correspondingly, the base station device, in response to the positioning request message sent by the positioning system, sends a first measurement request message to the target terminal based on the directional antenna after the target terminal enters the signal coverage area of the base station device, and sends a second measurement request message to the target terminal based on the omnidirectional antenna.
[0059] In some embodiments, the base station device is configured with multiple directional antennas, and each directional antenna in the multiple directional antennas is different in direction. Based on this, the above-mentioned base station device, in response to the positioning request message sent by the positioning system, sends the first measurement request message to the target terminal, comprising:
[0060] The base station device, in response to the positioning request message sent by the positioning system, sends the first measurement request message to the target terminal based on each directional antenna in the multiple directional antennas, so that the target terminal receives multiple first measurement request messages.
[0061] As a possible implementation, the base station device first determines multiple target directional antennas from the multiple directional antennas, wherein the target terminal is within the signal coverage area of the target directional antennas. Further, the base station device sends the first measurement request message to the target terminal based on each target antenna in the multiple target antennas.
[0062] For example, if the multiple directional antennas of the base station device are C1-1, C1-2, C1-3, C1-4, C1-5, C1-6, C1-7, and C1-8 respectively. In the case where the base station device determines that the target terminal is located in the signal coverage areas of C1-3, C1-4, C1-5, and C1-6, the base station device sends the first measurement request message to the target terminal based on C1-3, C1-4, C1-5, and C1-6 respectively.
[0063] S202, the base station device receives the first channel state information sent by the target terminal in response to the first measurement request message, and the second channel state information sent by the target terminal in response to the second measurement request message.
[0064] As a possible implementation, the target terminal, in response to the first measurement request message, tests the channel carrying the first measurement request message to obtain the first channel state information corresponding to the channel carrying the first measurement request message. Further, the target terminal sends the CSI-RS carrying the first channel state information to the base station device through the channel carrying the first measurement request message.
[0065] Correspondingly, the base station device receives the CSI-RS sent by the target terminal based on the channel carrying the first measurement request message, and obtains the first channel state information.
[0066] The target terminal, in response to the second measurement request message, tests the channel carrying the second measurement request message to obtain second channel state information corresponding to the channel carrying the second measurement request message. Further, the target terminal sends, to the base station device, CSI-RS carrying the second channel state information through the channel carrying the second measurement request message.
[0067] Correspondingly, the base station device receives the CSI-RS sent by the target terminal based on the channel carrying the second measurement request message to obtain the second channel state information.
[0068] In some embodiments, the base station device is configured with multiple directional antennas, each directional antenna in the multiple directional antennas has a different direction, and the base station device sends the first measurement request message to the target terminal based on the multiple directional antennas. Based on this, the above-mentioned base station device receives the first channel state information sent by the target terminal in response to the first measurement request message, including:
[0069] The base station device receives multiple first channel state information sent by the target terminal in response to multiple first measurement request messages.
[0070] As a possible implementation, after the base station device sends the first measurement request message to the target terminal based on the multiple directional antennas in step S201, the target terminal measures each channel carrying the first measurement request message in response to each received first measurement request message to obtain the channel state information corresponding to each channel. Further, the target terminal sends, to the base station device, CSI-RS carrying the corresponding first channel state information through the channel carrying each first measurement request message.
[0071] Correspondingly, the base station device receives the CSI-RS sent by the target terminal based on each channel carrying the first measurement request message to obtain the first channel state information corresponding to the multiple channels carrying each first measurement request message.
[0072] For example, if the multiple directional antennas of the base station device are C1-1, C1-2, C1-3, C1-4, C1-5, C1-6, C1-7, and C1-8. After the base station device sends the first measurement request message to the target terminal based on C1-3, C1-4, C1-5, and C1-6, the target terminal measures the channels corresponding to C1-3, C1-4, C1-5, and C1-6, respectively, and generates CSI-RS carrying the first channel state information C1-3 , CSI-RS C1-4 , CSI-RS C1-5 , CSI-RS C1-6, the C1-3, C1-4, C1-5, C1-6 corresponding channel is reported to the base station device.
[0073] S203, the base station device determines the target direction of the target terminal relative to the base station device according to the first channel state.
[0074] As a possible implementation, the base station device determines the channel quality corresponding to the channel provided by the directional antenna for the current position of the target terminal based on the first channel state information obtained in the above step S202. Further, the base station device determines the target direction of the target terminal relative to the base station device based on the preset mapping relationship between channel quality and direction.
[0075] It should be noted that the preset mapping relationship between channel quality and direction can be set in the base station device by the operation and maintenance personnel of the indoor terminal positioning system when configuring the directional antenna for the base station device, and the present application embodiment does not make specific limitation.
[0076] It should be noted that in the case where the base station device is configured with multiple directional antennas, the specific implementation of the base station device determining the target direction of the target terminal relative to the base station device according to the first channel state can refer to the description of subsequent embodiments of the present application, which will not be repeated here.
[0077] S204, the base station device determines the target distance of the target terminal relative to the base station device according to the second channel state information.
[0078] As a possible implementation, the base station device determines the channel quality corresponding to the channel provided by the omnidirectional antenna for the current position of the target terminal based on the second channel state information obtained in the above step S202. Further, the base station device determines the target distance of the target terminal relative to the base station device based on the preset mapping relationship between channel quality and distance.
[0079] It should be noted that the preset mapping relationship between channel quality and distance can be set in the base station device by the operation and maintenance personnel of the indoor terminal positioning system when configuring the omnidirectional antenna for the base station device, and the present application embodiment does not make specific limitation.
[0080] S205, the base station device determines the relative position of the target terminal relative to the base station device according to the target direction and the target distance.
[0081] As a possible implementation, the base station device determines the relative position of the target terminal relative to the base station device based on the target direction determined in the above step S203 and the target distance determined in the above step S204.
[0082] It can be understood that, in the terminal positioning method provided in the present application, without adding additional equipment, by sending a measurement request message based on different antennas by the base station device, and then determining the direction of the terminal relative to the base station device according to the channel state information sent by the target terminal in response to the measurement request message sent by the directional antenna, determining the distance of the target terminal relative to the base station device according to the channel state information sent by the target terminal in response to the measurement request message sent by the omnidirectional antenna, and further determining the relative position of the terminal relative to the base station device in the indoor environment according to the direction and distance, the cost of the indoor positioning scheme is reduced.
[0083] In one design, in order to make the positioning of the target terminal more accurate, the base station device is configured with multiple directional antennas for determining the target direction of the target terminal relative to the base station device, and the terminal positioning method provided in the embodiments of the present application further includes S301-S303 as shown in the following table. Figure 5
[0084] S301, the base station device determines a target directional antenna from the multiple directional antennas according to multiple first channel state information.
[0085] Among them, the first channel state information corresponding to the target directional antenna has the highest channel quality.
[0086] As a possible implementation manner, the base station device determines the first channel state information with the highest channel quality from the received multiple first channel state information, and further determines the directional antenna corresponding to the channel carrying the first channel state information as the target directional antenna.
[0087] For example, if the multiple directional antennas of the base station device are C1-1, C1-2, C1-3, C1-4, C1-5, C1-6, C1-7, and C1-8, and the channel quality corresponding to each directional antenna is A C1-1 , A C1-2 , A C1-3 , A C1-4 , A C1-5 , A C1-6 , A C1-7 , A C1-8 , and A C1-5 is the largest, the base station device determines the target directional antenna as C1-5.
[0088] S302, the base station device determines a neighboring directional antenna adjacent to the target directional antenna.
[0089] As a possible implementation manner, the base station device determines the neighboring directional antenna adjacent to the target directional antenna according to the pre-stored deployment position of the directional antenna and the target directional antenna.
[0090] It should be noted that the deployment position of the directional antenna can be pre-set in the base station equipment by the operation and maintenance personnel of the indoor terminal positioning system, and the embodiments of the present application do not specifically limit this.
[0091] For example, if the directional antenna deployment positions pre-stored in the base station device are C1-1, C1-2, C1-3, C1-4, C1-5, C1-6, C1-7, and C1-8 in a clockwise order, then after the base station device determines that C1-5 is the target directional antenna, it can determine that C1-4 and C1-6 are adjacent directional antennas adjacent to the target directional antenna C1-5.
[0092] S303: The base station device determines a target direction according to the channel qualities included in the first channel state information corresponding to the target directional antenna and the adjacent directional antennas.
[0093] As one possible implementation, the base station device first determines whether the target terminal is located within the signal coverage direction of the target directional antenna relative to the base station device. Furthermore, because within the signal coverage area provided by the target directional antenna, locations with the same channel quality exist on both sides of the direction indicated by the target directional antenna, the base station device determines the target adjacent directional antenna for which the channel quality has been changed based on the channel quality included in the first channel state information corresponding to the adjacent directional antenna.
[0094] Furthermore, the base station device determines a location corresponding to the channel quality in the first channel state information corresponding to the target directional antenna within the region between the direction indicated by the target directional antenna and the direction indicated by the adjacent target directional antenna. Furthermore, the base station device determines a direction connecting its own location and the determined location as the target direction.
[0095] It can be understood that in the terminal positioning method provided in the above-mentioned embodiment of the present application, based on the multiple directional antennas configured on the base station device, after determining that the target terminal is connected to the target directional antenna of the base station device, the target direction of the target terminal relative to the base station device is determined based on the adjacent directional antennas on both sides of the target directional antenna, so as to improve the accuracy of positioning the position of the target terminal.
[0096] In one design, in order to determine the location of the target terminal, the terminal positioning method provided in the embodiment of the present application is as follows: Figure 6 As shown, it also includes S401-S402.
[0097] S401: A base station device obtains a deployment location of the base station device.
[0098] As a possible implementation manner, the base station device obtains the deployment location of the base station device itself based on pre-stored deployment information.
[0099] It should be noted that the deployment information of the base station device can be set in the base station device in advance by an operation and maintenance personnel of the indoor terminal positioning system. For example, the deployment information includes the deployment position, the frequency band supported by the base station device, the home operator, and the like. The embodiments of the present application do not make a specific limitation in this regard.
[0100] S402, the base station device determines the position of the target terminal according to the deployment position of the base station device and the relative position of the target terminal relative to the base station device.
[0101] The deployment position can be longitude and latitude information.
[0102] As a possible implementation manner, the base station device calculates the longitude and latitude information of the target terminal based on the deployment position of the base station device itself and in combination with the relative position of the target terminal relative to the base station device, and determines the calculated longitude and latitude information as the position of the target terminal.
[0103] In some embodiments, after determining the position of the target terminal, the base station device sends the position of the target terminal to the positioning system, so that the positioning system feeds back the position of the terminal to the user.
[0104] It can be understood that in the terminal positioning method provided by the above embodiments of the present application, after obtaining the relative position of the target terminal relative to the base station device, the base station device calculates the position information of the target terminal according to the position information of the base station device itself, thereby realizing the positioning of the target terminal.
[0105] In one design, in the terminal positioning method provided by the above embodiments of the present application, as shown in Figure 6 After obtaining the channel state information sent by the target terminal, the base station device can feed back to the positioning system, and the positioning system performs the positioning of the target terminal in the subsequent process.
[0106] In the flow as shown in Figure 7 The positioning system initiates a positioning request of the target terminal to the base station device, and the base station device sends measurement messages to the target terminal through a directional carrier (C1) and an omnidirectional carrier (C2) respectively in response to the positioning request, so that the target terminal feeds back channel state information in response to the measurement messages. Further, the base station device feeds back positioning information to the positioning system after receiving the channel state information, so that the positioning system matches the direction parameter model of C1 after receiving the channel state information reported by the target terminal in the C1 measurement, calculates the direction between the target terminal and the base station device, and matches the attenuation model of C2 after receiving the channel state information reported by the target terminal in the C2 measurement, calculates the distance between the target terminal and the base station device. Further, the positioning system determines the position of the target terminal according to the direction and the distance, thereby realizing the positioning of the target terminal in the indoor scene.
[0107] It should be noted that the specific implementation of the positioning system determining the position of the target terminal according to the channel state information can refer to the implementation of the base station device determining the position of the target terminal in the above-mentioned embodiments of the present application, and details are not repeated here.
[0108] Figure 7 A structural schematic diagram of a terminal positioning apparatus provided by an embodiment of the present application is shown in FIG. 5. The terminal positioning apparatus is used to execute the terminal positioning method described above. As shown in FIG. 5, the terminal positioning apparatus 50 includes a sending unit 501, a receiving unit 502, and a determining unit 503. Figure 3
[0109] The sending unit 501 is configured to send a first measurement request message and a second measurement request message to the target terminal in response to a positioning request message sent by the positioning system. The positioning request message includes the identification of the target terminal, and the measurement request message is used to request the terminal to measure and report the channel state information. The first measurement request message is a measurement request message sent by the base station device based on the directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on the omnidirectional antenna. For example, as shown in FIG. 6, the sending unit 501 can be configured to execute S201. Figure 3
[0110] The receiving unit 502 is configured to receive first channel state information sent by the target terminal in response to the first measurement request message, and second channel state information sent by the target terminal in response to the second measurement request message. For example, as shown in FIG. 7, the receiving unit 502 can be configured to execute S202. Figure 3
[0111] The determining unit 503 is configured to determine the target direction of the target terminal compared to the base station device according to the first channel state information. For example, as shown in FIG. 8, the determining unit 503 can be configured to execute S203. Figure 3
[0112] The determining unit 503 is further configured to determine the target distance of the target terminal compared to the base station device according to the second channel state information. For example, as shown in FIG. 9, the determining unit 503 can be configured to execute S204. Figure 3
[0113] The determining unit 503 is further configured to determine the relative position of the target terminal relative to the base station device according to the target direction and the target distance. For example, as shown in FIG. 10, the determining unit 503 can be configured to execute S205. Figure 7
[0114] Optionally, as shown in FIG. 11, in the terminal positioning apparatus 50 provided by the embodiment of the present application, the base station device is configured with multiple directional antennas, and each directional antenna in the multiple directional antennas is different in direction. Figure 7
[0115] The sending unit 501 is further configured to send, based on each of the plurality of directional antennas, a first measurement request message to the target terminal, so that the target terminal receives a plurality of first measurement request messages.
[0116] Optionally, as shown in Figure 7 the terminal positioning apparatus 50 provided by the embodiments of the present application, the receiving unit 502 is further configured to receive a plurality of first channel state information corresponding to the plurality of first measurement request messages, which are sent by the target terminal in response to the plurality of first measurement request messages.
[0117] Optionally, as shown in Figure 7 the terminal positioning apparatus 50 provided by the embodiments of the present application, the determining unit 503 is further configured to determine, from the plurality of directional antennas, a target directional antenna according to the plurality of first channel state information, the target directional antenna corresponding to the first channel state information with the highest channel quality.
[0118] The determining unit 503 is further configured to determine a neighboring directional antenna adjacent to the target directional antenna.
[0119] The determining unit 503 is further configured to determine the target direction according to the channel quality included in the first channel state information corresponding to the target directional antenna and the neighboring directional antenna.
[0120] Optionally, as shown in Figure 7 the terminal positioning apparatus 50 provided by the embodiments of the present application, the terminal positioning apparatus 50 further comprises an obtaining unit 504.
[0121] The obtaining unit 504 is configured to obtain a deployment position of the base station device.
[0122] The determining unit 503 is further configured to determine the position of the target terminal according to the deployment position of the base station device and the relative position of the target terminal relative to the base station device.
[0123] Optionally, as shown in Figure 8 the terminal positioning apparatus 50 provided by the embodiments of the present application, the sending unit 501 is further configured to send the position of the target terminal to a positioning system.
[0124] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiments of the present application provide a possible structural diagram of a base station device. The base station device is configured to perform the terminal positioning method performed by the terminal positioning apparatus in the above-mentioned embodiments. As shown in Figure 8 the base station device 60 comprises a processor 601, a memory 602 and a bus 603. The processor 601 and the memory 602 can be connected through the bus 603.
[0125] The processor 601 is the control center of the base station device, and can be one processor or a combination of multiple processing elements. For example, the processor 601 can be a general central processing unit (CPU), or other general-purpose processor.
[0126] As an embodiment, the processor 601 can include one or more CPUs, such as the CPU 0 and the CPU 1 shown in FIG. 6. Figure 8
[0127] The memory 602 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this.
[0128] As a possible implementation, the memory 602 can exist independently of the processor 601, and the memory 602 can be connected to the processor 601 through the bus 603, for storing instructions or program code. When the processor 601 invokes and executes the instructions or program code stored in the memory 602, the terminal positioning method provided in the embodiments of the present application can be implemented.
[0129] In another possible implementation, the memory 602 can also be integrated with the processor 601.
[0130] The bus 603 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 8 In FIG. 6, only one thick line is used to represent the bus, but this does not mean that there is only one bus or only one type of bus.
[0131] It should be noted that, Figure 8 The illustrated structure does not constitute a limitation on the base station device 60. In addition to the illustrated components, the base station device 60 can include more or fewer components than those shown, or combine some components, or have a different arrangement of components. Figure 8 The illustrated structure does not constitute a limitation on the base station device 60. In addition to the illustrated components, the base station device 60 can include more or fewer components than those shown, or combine some components, or have a different arrangement of components. Figure 7 The illustrated structure does not constitute a limitation on the base station device 60. In addition to the illustrated components, the base station device 60 can include more or fewer components than those shown, or combine some components, or have a different arrangement of components.
[0132] As an example, the functions implemented by the sending unit 501, the receiving unit 502, the determining unit 503, and the obtaining unit 504 in the terminal positioning apparatus 50 are the same as the functions of the processor 601 in the terminal positioning apparatus 50. Figure 8 Figure 8 The illustrated structure does not constitute a limitation on the base station device 60. In addition to the illustrated components, the base station device 60 can include more or fewer components than those shown, or combine some components, or have a different arrangement of components.
[0133] Optionally, as shown in the base station device provided in the embodiments of the present application can further include a communication interface 604. Figure 9 The communication interface 604 is used to connect with other devices through a communication network. The communication network can be an Ethernet, a wireless access network, a wireless local area network (WLAN), etc. The communication interface 604 can include an obtaining unit for receiving data, and a sending unit for sending data.
[0134] In one design, the communication interface in the base station device provided in the embodiments of the present application can be integrated in the processor.
[0135]
[0136] Another hardware structure of the base station device in the embodiments of the present application is shown. As shown in the base station device 70 can include a processor 701 and a communication interface 702. The processor 701 is coupled with the communication interface 702. Figure 9 Figure 9 The functions of the processor 701 can refer to the description of the processor 601 above. In addition, the processor 701 also has a storage function, which can refer to the functions of the memory 602 above.
[0137] The communication interface 702 is used to provide data for the processor 701. The communication interface 702 can be an internal interface of the base station device, or an external interface of the base station device (equivalent to the communication interface 604).
[0138] The illustrated structure does not constitute a limitation on the base station device 60. In addition to the illustrated components, the base station device 60 can include more or fewer components than those shown, or combine some components, or have a different arrangement of components.
[0139] The illustrated structure does not constitute a limitation on the base station device 60. In addition to the illustrated components, the base station device 60 can include more or fewer components than those shown, or combine some components, or have a different arrangement of components. Figure 9 The illustrated structure does not constitute a limitation on the base station device 60. In addition to the illustrated components, the base station device 60 can include more or fewer components than those shown, or combine some components, or have a different arrangement of components.
[0140] Those skilled in the art can clearly understand the technical personnel in the art that, for the convenience and brevity of description, only the above-mentioned functional units are divided by way of example. In actual application, the above-mentioned functions can be completed by different functional units according to the needs, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
[0141] The embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores instructions. When a computer executes the instructions, the computer executes each step in the method flow shown in the method embodiment.
[0142] The embodiment of the application provides a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the terminal positioning method in the method embodiment.
[0143] The computer readable storage medium may, for example, be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any other suitable combination of the above, or any other form of computer readable storage medium. An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). In the embodiment of the application, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus.
[0144] Since the device, the equipment computer readable storage medium, the computer program product in the embodiment of the application can be applied to the above method, the technical effects that can be obtained thereby can also be referred to the above method embodiment, and the embodiment of the application will not be repeated here.
[0145] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A terminal positioning method characterized by comprising: The method is applied to a base station device, the base station device stores a mapping relationship between channel quality and direction and a mapping relationship between channel quality and distance, and the method comprises the following steps: In response to a positioning request message sent by a positioning system, a first measurement request message is sent to a target terminal through a directional carrier, and a second measurement request message is sent to the target terminal through an omnidirectional carrier; the positioning request message comprises an identifier of the target terminal, and the measurement request message is used for requesting the terminal to measure channel state information and report; the first measurement request message is a measurement request message sent by the base station device based on a directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on an omnidirectional antenna; Channel state information reference signals carrying first channel state information sent by the target terminal in response to the first measurement request message and channel state information reference signals carrying second channel state information sent by the target terminal in response to the second measurement request message are received; wherein the target terminal is used for testing channels carrying the first measurement request message and the second measurement request message; The channel quality corresponding to the channel provided by the directional antenna for the current position of the target terminal is determined according to the first channel state information, and the target direction of the target terminal relative to the base station device is determined based on the mapping relationship between channel quality and direction; The channel quality corresponding to the channel provided by the omnidirectional antenna for the current position of the target terminal is determined according to the second channel state information, and the target distance of the target terminal relative to the base station device is determined based on the mapping relationship between channel quality and distance; The relative position of the target terminal relative to the base station device is determined according to the target direction and the target distance.
2. The terminal positioning method according to claim 1, characterized by, The base station device is configured with a plurality of directional antennas, and each directional antenna in the plurality of directional antennas is different in direction; The first measurement request message is sent to the target terminal in response to the positioning request message sent by the positioning system, comprising: The first measurement request message is sent to the target terminal based on each directional antenna in the plurality of directional antennas, so that the target terminal receives a plurality of first measurement request messages.
3. The terminal positioning method according to claim 2, characterized by, The first channel state information sent by the target terminal in response to the first measurement request message is received, comprising: A plurality of first channel state information corresponding to the first measurement request message is sent by the target terminal in response to a plurality of first measurement request messages.
4. The terminal positioning method according to claim 3, characterized by, The target direction of the target terminal relative to the base station device is determined according to the first channel state information, comprising: The target directional antenna is determined from the plurality of directional antennas according to a plurality of first channel state information, the channel quality in the first channel state information corresponding to the target directional antenna is the highest; An adjacent directional antenna adjacent to the target directional antenna is determined; The target direction is determined according to the channel quality included in the first channel state information corresponding to the target directional antenna and the adjacent directional antenna.
5. The terminal positioning method according to any one of claims 1 to 4, characterized by, The method further comprises: obtaining a deployment position of the base station device; determining the position of the target terminal according to the deployment position of the base station device and the relative position of the target terminal relative to the base station device.
6. The terminal positioning method according to claim 5, characterized by, The method further comprises: sending the position of the target terminal to the positioning system.
7. A terminal positioning apparatus characterized by comprising: deployed at a base station device, the base station device storing a mapping relationship between channel quality and direction and a mapping relationship between channel quality and distance, comprising a sending unit, a receiving unit and a determining unit; The sending unit is configured to send a first measurement request message to the target terminal through a directional carrier and a second measurement request message to the target terminal through an omnidirectional carrier in response to a positioning request message sent by a positioning system; the positioning request message comprises an identifier of the target terminal, and the measurement request message is used for requesting the terminal to measure channel state information and report; the first measurement request message is a measurement request message sent by the base station device based on a directional antenna, and the second measurement request message is a measurement request message sent by the base station device based on an omnidirectional antenna; The receiving unit is configured to receive channel state information reference signals carrying first channel state information sent by the target terminal in response to the first measurement request message and channel state information reference signals carrying second channel state information sent by the target terminal in response to the second measurement request message; wherein the target terminal is configured to test channels carrying the first measurement request message and the second measurement request message; The determining unit is configured to determine the channel quality corresponding to the channel provided by the directional antenna for the current position of the target terminal according to the first channel state information, and determine a target direction of the target terminal relative to the base station device based on the mapping relationship between channel quality and direction; The determining unit is further configured to determine the channel quality corresponding to the channel provided by the omnidirectional antenna for the current position of the target terminal according to the second channel state information, and determine a target distance of the target terminal relative to the base station device based on the mapping relationship between channel quality and distance; The determining unit is further configured to determine the relative position of the target terminal relative to the base station device according to the target direction and the target distance.
8. The terminal positioning apparatus according to claim 7, characterized by The base station device is configured with a plurality of directional antennas, each directional antenna in the plurality of directional antennas having a different direction; The sending unit is further configured to send the first measurement request message to the target terminal based on each directional antenna in the plurality of directional antennas, so that the target terminal receives a plurality of the first measurement request messages.
9. The terminal positioning apparatus according to claim 8, characterized by The receiving unit is further configured to receive a plurality of the first channel state information corresponding to the plurality of the first measurement request messages sent by the target terminal in response to the plurality of the first measurement request messages.
10. The terminal positioning apparatus according to claim 9, characterized by The determining unit is further configured to determine a target directional antenna from the plurality of directional antennas according to a plurality of the first channel state information, the target directional antenna corresponding to the highest channel quality in the first channel state information; The determining unit is further configured to determine an adjacent directional antenna adjacent to the target directional antenna. The determining unit is further configured to determine the target direction according to channel qualities included in the first channel state information corresponding to the target directional antenna and the adjacent directional antenna.
11. A terminal positioning apparatus according to any one of claims 7 to 10, characterized in that, The terminal positioning apparatus further includes an obtaining unit; The obtaining unit is configured to obtain a deployment position of the base station device; The determining unit is further configured to determine the position of the target terminal according to the deployment position of the base station device and a relative position of the target terminal relative to the base station device.
12. The terminal positioning apparatus according to claim 11, characterized by The sending unit is further configured to send the position of the target terminal to the positioning system.
13. A base station device, characterized in that: comprising a memory and a processor; The memory and the processor are coupled; The memory is configured to store computer program code, the computer program code comprising computer instructions; When the processor executes the computer instructions, the base station device performs the terminal positioning method according to any one of claims 1-6.
14. A computer-readable storage medium having stored therein instructions, the computer-readable storage medium comprising: When the instructions run on the base station device, the base station device performs the terminal positioning method according to any one of claims 1-6.
Citation Information
Patent Citations
Indoor positioning system
CN114114152A