CN113259834B - Positioning method, WLAN device and storage medium - Google Patents

Positioning method, WLAN device and storage medium Download PDF

Info

Publication number
CN113259834B
CN113259834B CN202010085283.XA CN202010085283A CN113259834B CN 113259834 B CN113259834 B CN 113259834B CN 202010085283 A CN202010085283 A CN 202010085283A CN 113259834 B CN113259834 B CN 113259834B
Authority
CN
China
Prior art keywords
wlan device
wlan
measurement reference
antenna
uplink signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010085283.XA
Other languages
Chinese (zh)
Other versions
CN113259834A (en
Inventor
潘淳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010085283.XA priority Critical patent/CN113259834B/en
Publication of CN113259834A publication Critical patent/CN113259834A/en
Application granted granted Critical
Publication of CN113259834B publication Critical patent/CN113259834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/0202Channel estimation
    • H04L25/0224Channel estimation using sounding signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0048Allocation of pilot signals, i.e. of signals known to the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

Disclosed are a positioning method, WLAN equipment and a storage medium, relating to the technical field of positioning. The positioning method comprises the following steps: the WLAN equipment sends a trigger frame to the WLAN equipment to be positioned, wherein the trigger frame comprises an indication of the position of a midamble sent by the WLAN equipment to be positioned; the WLAN equipment changes an antenna subarray which receives an uplink signal in the WLAN equipment in a period when the WLAN equipment to be positioned sends a data part of the uplink signal based on the position of the midamble, wherein the data part is between two adjacent measurement reference codes in a plurality of measurement reference codes of the uplink signal, the plurality of measurement reference codes comprise preambles of the uplink signal and one or more midambles indicated by a trigger frame, and the positions of different antenna subarrays are different; and the WLAN equipment measures the positioning data of the WLAN equipment to be positioned based on different measurement reference codes received by different antenna sub-arrays before and after changing. The method and the device ensure the positioning precision of the WLAN equipment to be positioned.

Description

Positioning method, WLAN device and storage medium
Technical Field
The present application relates to the field of positioning technologies, and in particular, to a positioning method, a WLAN device, and a storage medium.
Background
The WLAN device to be located is located by using a Wireless Local Area Network (WLAN) technology, and the WLAN device may be used to receive an uplink signal sent by the WLAN device to be located, and then locate the WLAN device to be located according to the uplink signal. In addition, in order to ensure the positioning accuracy, the WLAN device generally needs to receive a plurality of uplink signals by using at least two antenna sub-arrays, and position the WLAN device to be positioned according to the plurality of uplink signals.
However, the accuracy of positioning according to the uplink signals is low due to unpredictable channel variations between different uplink signals.
Disclosure of Invention
The application provides a positioning method, a WLAN device, and a storage medium, which can solve the problem of low positioning accuracy according to multiple uplink signals in the related art, and the technical solution provided by the application is as follows:
in a first aspect, the present application provides a positioning method, including: the WLAN equipment sends a trigger frame to the WLAN equipment to be positioned, wherein the trigger frame comprises an indication of the position of one or more midambles sent by the WLAN equipment to be positioned; the WLAN device changes an antenna subarray in the WLAN device for receiving the uplink signal in a period when the WLAN device to be positioned transmits a data part in the uplink signal based on the position of one or more midambles, wherein the data part is between two adjacent measurement reference codes in a plurality of measurement reference codes of the uplink signal, the plurality of measurement reference codes comprise preambles of the uplink signal and one or more midambles indicated by a trigger frame, the WLAN device comprises at least two antenna subarrays, and the positions of the at least two antenna subarrays are different; and the WLAN equipment measures the positioning data of the WLAN equipment to be positioned based on different measurement reference codes in uplink signals received by different antenna sub-arrays before and after changing.
In the positioning method provided by the application, the WLAN device sends a trigger frame to the WLAN device to be positioned to indicate the position of one or more midambles in an uplink signal sent by the WLAN device to be positioned to the WLAN device, and in a period of time when the WLAN device to be positioned sends a data part in the uplink signal, an antenna subarray in the WLAN device for receiving the uplink signal is changed, so that the WLAN device can obtain a plurality of measurement reference codes by receiving one uplink signal.
In addition, because the uplink signal comprises a plurality of measurement reference codes, the total number of the uplink signals required to be sent when the WLAN equipment to be positioned is reduced, and the air interface overhead is effectively reduced.
As one implementation of a trigger frame indicating the location of the midamble, the trigger frame can indicate the length of the uplink signal and the spacing between adjacent midambles.
In one implementation manner, a WLAN device changes an implementation procedure of an antenna subarray in the WLAN device for receiving an uplink signal in a period in which a WLAN device to be positioned transmits a data portion in the uplink signal based on a position of one or more midambles, including: the WLAN equipment controls the electric connection state of the at least two antenna sub-arrays and the radio frequency circuit in a time sharing mode in a period when the WLAN equipment to be positioned sends a data part in an uplink signal based on the position of one or more midamble codes, so that when any measurement reference code is sent to the WLAN equipment, one antenna sub-array exists in the at least two antenna sub-arrays and is electrically connected with the radio frequency circuit.
By adjusting the electrical connection state of the at least two antenna sub-arrays and the radio frequency circuit according to the position of the midamble, part or all of the at least two antenna sub-arrays can share the radio frequency circuit.
In an implementation scenario, the WLAN device further includes a reference antenna, and in this case, the positioning method further includes: in the process that the WLAN equipment to be positioned sends uplink signals to the WLAN equipment, the WLAN equipment controls a reference antenna to receive a plurality of measurement reference codes; the WLAN device performs signal compensation on any measurement reference code received by an antenna sub-array of the at least two antenna sub-arrays based on any measurement reference code received by the reference antenna.
Correspondingly, the implementation process of the WLAN device measuring the positioning data of the WLAN device to be positioned based on different measurement reference codes in uplink signals received by different antenna sub-arrays before and after the change may include: and the WLAN equipment measures the positioning data of the WLAN equipment to be positioned based on the measurement reference code after signal compensation is carried out on the measurement reference code received by the at least two antenna sub-arrays.
By performing signal compensation on the measurement reference code, the influence of unstable performance of the transceiver on the phase of the measurement reference code received by the antenna subarray can be compensated, so that the measurement reference code after signal compensation can reflect the change of a channel more truly. When channel estimation is carried out according to the measurement reference code after signal compensation, the channel estimation result is closer to the real channel condition, and at the moment, when the positioning data of the WLAN equipment to be positioned is measured according to the channel estimation result, the positioning accuracy can be further improved.
Optionally, an implementation manner of performing signal compensation on any sounding reference code may include: and determining the phase difference between two adjacent measurement reference codes acquired by the reference antenna, and determining the weighted sum of the phase difference and the phase of any measurement reference code as the measurement reference code after signal compensation is carried out on any measurement reference code. Wherein, the arbitrary SRS is the SRS received by the referenced antenna in the two SRS.
In a second aspect, the present application provides a WLAN device, comprising: an antenna, a transceiver, and a processor. The transceiver is used for sending a trigger frame to the WLAN equipment to be positioned, wherein the trigger frame comprises an indication of the position of one or more midambles sent by the WLAN equipment to be positioned; the transceiver is further configured to change an antenna sub-array in an antenna used by the transceiver to receive the uplink signal in a period in which a WLAN device to be positioned transmits a data portion in the uplink signal based on a position of one or more midambles, wherein the data portion is between two adjacent measurement reference codes in a plurality of measurement reference codes of the uplink signal, the plurality of measurement reference codes include a preamble of the uplink signal and one or more midambles indicated by a trigger frame, the antenna includes at least two antenna sub-arrays, and the positions of the at least two antenna sub-arrays are different; the transceiver is also used for transmitting different measurement reference codes in uplink signals received by different antenna sub-arrays before and after changing to the processor; the processor is used for measuring the positioning data of the WLAN equipment to be positioned based on different measurement reference codes in uplink signals received by different antenna sub-arrays before and after changing.
Optionally, the trigger frame indicates a length of the uplink signal and an interval between adjacent midambles.
Optionally, the transceiver is specifically configured to: and based on the position of one or more middle guide codes, in the period of sending the data part in the uplink signal by the WLAN equipment to be positioned, the electric connection state of at least two antenna sub-arrays and the radio frequency circuit is controlled in a time-sharing manner, so that when any measurement reference code is sent to the WLAN equipment, one antenna sub-array in the at least two antenna sub-arrays is electrically connected with the radio frequency circuit.
Optionally, the antenna further comprises a reference antenna; the reference antenna is used for receiving a plurality of measurement reference codes and transmitting the plurality of measurement reference codes received by the reference antenna to the processor in the process that the WLAN equipment to be positioned sends uplink signals to the WLAN equipment.
At this time, the processor is further configured to perform signal compensation on any sounding reference code received by an antenna sub-array of the at least two antenna sub-arrays based on any sounding reference code received by the reference antenna.
Correspondingly, the processor is configured to measure the positioning data of the WLAN device to be positioned based on the measurement reference codes after performing signal compensation on the measurement reference codes received by the at least two antenna sub-arrays, when measuring the positioning data of the WLAN device to be positioned, and specifically, based on the measurement reference codes after performing signal compensation on the measurement reference codes received by the at least two antenna sub-arrays.
In a third aspect, the present application provides a storage medium, and when executed by a processor, the storage medium implements the positioning method provided in the first aspect.
In a fourth aspect, the present application provides a computer program product, which when run on a computing device, causes the computing device to perform the positioning method provided in the first aspect.
Drawings
Fig. 1 is a schematic diagram of an implementation environment related to a positioning method provided in an embodiment of the present application;
fig. 2 is a flowchart of a positioning method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of an uplink signal provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a positioning principle provided by an embodiment of the present application;
fig. 5 is a flowchart of another positioning method provided in an embodiment of the present application;
fig. 6 is a flowchart of a method for acquiring an uplink scheduling parameter by a WLAN device according to an embodiment of the present application;
fig. 7 is a schematic deployment diagram of another WLAN device and a WLAN device to be located according to an embodiment of the present application;
fig. 8 is a block diagram of a WLAN device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment related to a positioning method provided in an embodiment of the present application. As shown in fig. 1, the implementation environment may include: one or more WLAN devices 01 and a WLAN device 02 to be located. Each WLAN device 01 is connected to a WLAN device 02 to be located via a WLAN. The WLAN device 01 may perform uplink scheduling on the WLAN device 02 to be located. The WLAN device 02 to be positioned may send an uplink signal to the WLAN device 01 according to the uplink scheduling condition. The WLAN device 01 may measure the positioning data of the WLAN device 02 to be positioned according to the uplink signal sent to it by the WLAN device 02 to be positioned. Fig. 1 is a schematic diagram of the implementation environment including a WLAN device 01.
The positioning data of the WLAN device 02 to be positioned may be position data (e.g. coordinate values) of the WLAN device to be positioned, or may be intermediate data that can be used to calculate the position data of the WLAN device to be positioned. For example, the WLAN device 01 may measure a distance between the WLAN device 02 to be positioned and the WLAN device 01, which cannot directly indicate the position of the WLAN device 02 to be positioned, but may combine the measured distance with another WLAN device to obtain position data of the WLAN device 02 to be positioned (for example, by using a three-point positioning method). The distance between the WLAN device 02 and the WLAN device 01 to be located is thus part of the positioning data.
The positioning the WLAN device 02 to be positioned may include: angle estimation is performed on the WLAN device 02 to be positioned, or the distance from the WLAN device 02 to be positioned to the WLAN device 01 is measured (also referred to as WLAN device 02 ranging to be positioned), or ranging and angle estimation are performed on the WLAN device to be positioned.
WLAN device 01 may be a Wireless Access Point (WAP) or a portion of a wireless access point. The WAP can be a station device with a WLAN chip or a network device and the like. The WLAN device 02 to be positioned may be a Station (STA). For example: the STA may be a mobile phone, a tablet, a set-top box, a smart television, a smart wearable, a wireless access point, a vehicle communication device, a computer, and so on.
In this embodiment, the WLAN device 01 may send a trigger frame (trigger frame) to the WLAN device 02 to be located, so as to perform uplink scheduling on the WLAN device 02 to be located. The trigger frame includes an indication of the location of a midamble (midamble) in the uplink signal sent by the WLAN device 02 to be located. Since both the midamble and the preamble (preamble) in the uplink signal can be used to measure the positioning data of the WLAN device 02 to be positioned, for convenience of description, the midamble and the preamble are collectively referred to as a measurement reference code hereinafter.
After receiving the trigger frame, the WLAN device 02 to be positioned may send an uplink signal to the WLAN device 01 according to the trigger frame. In the process of sending the uplink signal by the WLAN device 02 to be positioned, the WLAN device 01 may change, based on the position of the measurement reference code in the uplink signal, an antenna subarray in an antenna used by a receiving component in the WLAN device 01 to receive the uplink signal in a period when the WLAN device 02 to be positioned sends a data portion in the uplink signal, so that the receiving component can use at least two antenna subarrays to respectively receive a plurality of measurement reference codes in the uplink signal, so that the WLAN device 01 measures positioning data of the WLAN device 02 to be positioned according to the plurality of measurement reference codes.
The receiving component is a component at least having an uplink signal receiving function. For example, the receiving component may be a receiver dedicated to receiving the upstream signal. Alternatively, the receiving module may have a function of transmitting a signal, and in this case, the receiving module is also referred to as a transmitting/receiving module. And the positions of the at least two antenna sub-arrays are different.
In this embodiment of the present application, the uplink signal includes one or more midambles, and in a period in which the WLAN device 02 to be positioned transmits a data portion in the uplink signal, an antenna subarray in an antenna used by the receiving component to receive the uplink signal may be changed, so that the WLAN device 01 may obtain a plurality of measurement reference codes by receiving one uplink signal, and then measure the positioning data of the WLAN device 02 to be positioned according to the plurality of measurement reference codes. Compared with the technology of positioning by receiving a plurality of uplink signals, because the sending intervals between different measurement reference codes are smaller than the sending intervals of different uplink signals, the probability of channel change in the sending intervals of the measurement reference codes of a channel is effectively reduced, and the influence of the channel change on the positioning precision is reduced, so that the precision of positioning the WLAN equipment to be positioned according to the measurement reference codes can be ensured.
In addition, because the uplink signal comprises a plurality of measurement reference codes, the total number of the uplink signals which need to be sent when the WLAN equipment to be positioned is reduced, and the air interface overhead is effectively reduced.
The following describes an implementation process of the positioning method provided in the embodiment of the present application. Fig. 2 is a flowchart of a positioning method according to an embodiment of the present application. As shown in fig. 2, the method may include:
step 201, the WLAN device sends a trigger frame to the WLAN device to be positioned, where the trigger frame includes an indication of a position of one or more midambles in an uplink signal sent by the WLAN device to be positioned to the WLAN device.
The WLAN equipment can perform uplink scheduling on the WLAN equipment to be positioned through the trigger frame, so that the WLAN equipment to be positioned sends an uplink signal to the WLAN equipment according to the trigger frame. The trigger frame may include an indication of a location of one or more midambles carried in the uplink signal, so that the WLAN device measures positioning data of the WLAN device to be positioned according to the one or more midambles transmitted by the WLAN device to be positioned.
In one implementation, the position of the midamble in the uplink signal can be represented by the length of the uplink signal and the spacing of adjacent midambles. Accordingly, the trigger frame may indicate the length of the uplink signal and the interval between adjacent midambles. For example, according to the 802.11.ax protocol, the trigger frame may carry a doppler (doppler) field, a frame length (UL length) field, and a midamble period (midamble period) field. The doppler field is used to define whether the uplink signal carries a midamble. The frame length field is used for defining the length of the uplink signal, and the length of the uplink signal refers to the length of valid data in the uplink signal. The midamble period field is used to define the spacing of adjacent midambles in the uplink signal.
For example, it is assumed that in a trigger frame sent by the WLAN device to be located, the doppler field indicates that the uplink signal carries a midamble, the frame length field indicates that the uplink signal includes 34 Orthogonal Frequency Division Multiplexing (OFDM) symbols, and the midamble period field indicates that 10 OFDM symbols are spaced between adjacent midambles in the uplink signal. Fig. 3 is a schematic diagram of an uplink signal transmitted according to the trigger frame. As shown in fig. 3, the uplink signal sequentially includes: 1 preamble, 10 OFDM symbols, 1 midamble, and 4 OFDM symbols.
Wherein, the preamble and the midamble are both used for channel estimation. When the uplink signal includes the preamble and the midamble, the WLAN device to be positioned may perform channel estimation on the wireless channel according to the received preamble and midamble, respectively, in the process of receiving the uplink signal. Because the sending interval between different measurement reference codes is smaller than that of different uplink signals, when channel estimation is carried out according to the measurement reference codes, the accuracy of the channel estimation can be improved, and the influence of the fast wireless channel fading on the accuracy of the channel estimation can be effectively reduced. Correspondingly, when the positioning data of the WLAN equipment to be positioned is measured according to the uplink signal containing the midamble, the accuracy of positioning according to the positioning data can be improved.
Step 202, the WLAN device changes an antenna subarray in the WLAN device for receiving the uplink signal in a period when the WLAN device to be positioned transmits the data portion in the uplink signal based on the position of the one or more midambles.
After receiving the trigger frame, the WLAN device to be positioned may send an uplink signal to the WLAN device based on the trigger frame. The uplink signal comprises a specified number of midambles, and a plurality of OFDM symbols are inserted between every two adjacent midambles in time sequence. Correspondingly, the WLAN device may change, in a period in which the WLAN device to be positioned transmits the data portion in the uplink signal, an antenna subarray in the WLAN device that receives the uplink signal based on the position of the one or more midambles indicated by the trigger frame, so as to respectively receive the multiple measurement reference codes in the uplink signal by using at least two antenna subarrays in the WLAN device. Wherein the data portion is between two adjacent Measure reference codes among the plurality of Measure reference codes of the uplink signal. The plurality of sounding reference codes includes a preamble of an uplink signal and one or more midambles. And the positions of the at least two antenna sub-arrays are different, so that after the at least two antenna sub-arrays respectively receive the plurality of measurement reference codes, the angle estimation can be performed on the WLAN equipment to be positioned according to the plurality of measurement reference codes.
In one implementation, a WLAN device includes one or more radio frequency circuits and at least two antenna sub-arrays. Accordingly, the implementation of step 202 may include: the WLAN equipment controls the electric connection states of the at least two antenna sub-arrays and the radio frequency circuit in a time-sharing mode in a period when the WLAN equipment to be positioned sends a data part in an uplink signal based on the position of one or more midamble codes, so that when any measurement reference code is sent to the WLAN equipment, one antenna sub-array exists in the at least two antenna sub-arrays and is electrically connected with the radio frequency circuit, and the at least two antenna sub-arrays respectively receive the plurality of measurement reference codes.
In one case, the total number of antenna sub-arrays in the WLAN device may be equal to the total number of radio frequency circuits, i.e., at least two antenna sub-arrays in the WLAN device correspond to a plurality of radio frequency circuits one to one. Correspondingly, when the WLAN device controls the electrical connection state of the at least two antenna sub-arrays and the radio frequency circuit in a time-sharing manner, different antenna sub-arrays can be respectively controlled to be electrically connected with the corresponding radio frequency circuit at different times.
In another case, the total number of antenna sub-arrays in the WLAN device may be greater than the total number of radio frequency circuits. Correspondingly, when the WLAN device controls the electrical connection state of the at least two antenna sub-arrays and the radio frequency circuit in a time-sharing manner, all or part of the at least two antenna sub-arrays may be controlled to be electrically connected with the same radio frequency circuit at different times.
For example, the WLAN device may be configured with a radio frequency circuit, and when the WLAN device controls the electrical connection state of the at least two antenna sub-arrays and the radio frequency circuit in a time-sharing manner, the radio frequency circuit may be controlled to be electrically connected with different antenna sub-arrays at different times. And the WLAN equipment may further include a switch, one end of the switch is electrically connected to the rf circuit, and the other end of the switch is electrically connected to the antenna subarray, so that the electrical connection state between the rf circuit and the antenna subarray may be controlled by turning on or off the switch.
For another example, assuming that a midamble is inserted every M OFDM symbols in the uplink signal, the WLAN device has seven antenna sub-arrays, and after the WLAN device sends a trigger frame to the WLAN device to be located, the WLAN device may control the first antenna sub-array to be electrically connected to the radio frequency circuit, so as to receive the preamble in the uplink signal using the first antenna sub-array. After the first antenna sub-array receives the preamble, in a period when the WLAN device to be positioned sends M OFDM symbols behind the preamble, the WLAN device may switch the antenna sub-array electrically connected to the radio frequency circuit to a second antenna sub-array, so as to receive the first midamble in the uplink signal using the second antenna sub-array. After the second antenna sub-array receives the first midamble, in a time period when the WLAN device to be positioned sends M OFDM symbols behind the first midamble, the WLAN device may switch the antenna sub-array electrically connected to the radio frequency circuit to a third antenna sub-array, so as to receive the second midamble in the uplink signal using the third antenna sub-array. And sequentially adjusting the antenna subarrays electrically connected with the radio frequency circuit according to the rule until all the midamble codes in the uplink signal are received.
It should be noted that, in the process of adjusting the electrical connection state between the antenna subarray and the radio frequency circuit, the WLAN device may compare the total number of times of adjusting the antenna subarray in the antenna with the total number of midambles indicated in the trigger frame, and when the total number of times of adjusting the antenna subarray in the antenna is equal to the total number of midambles indicated in the trigger frame, it is determined that reception of all midambles in the uplink signal is completed, and the antenna subarray used for receiving the uplink signal may not be adjusted any more.
By adjusting the electrical connection state of the at least two antenna sub-arrays and the radio frequency circuit according to the position of the measurement reference code, part or all of the at least two antenna sub-arrays can share the radio frequency circuit.
And in the time period when the WLAN equipment to be positioned sends the data part in the uplink signal, the antenna subarray used for receiving the uplink signal in the WLAN equipment is changed, so that the WLAN equipment can obtain a plurality of measurement reference codes by receiving one uplink signal.
It should be noted that the total number of antenna sub-arrays of the WLAN device can be adjusted according to application requirements. Moreover, when the WLAN device has a plurality of radio frequency circuits, in the process of adjusting the electrical connection state between the antenna sub-array and the radio frequency circuit, the radio frequency circuit electrically connected to the antenna sub-array may also be adjusted according to application requirements, which is not specifically limited in the embodiment of the present application. Meanwhile, the embodiment of the application also limits the types of the antenna sub-arrays in the WLAN equipment. For example, the antenna sub-arrays in a WLAN device may be a linear array, a uniform circular array, or a uniform planar array.
Step 203, in the process that the WLAN device to be positioned sends an uplink signal to the WLAN device, the WLAN device controls the reference antenna to receive the multiple measurement reference codes, and performs signal compensation on any measurement reference code received by the antenna sub-array based on any measurement reference code received by the reference antenna.
The WLAN device also includes a reference antenna. The position of the reference antenna is fixed and the channel can be considered to have the same effect on different measured reference codes received by the reference antenna. Moreover, since the phases of the sounding reference codes received by the antenna sub-arrays are affected not only by the channel but also by the performance of the transceiver, the phases of different sounding reference codes received by the reference antennas should be the same if the performance of the transceiver is stable. Accordingly, when the phases of different sounding reference codes received by the reference antenna are different, it can be determined that the performance of the transceiver is unstable.
And, because the setting positions of the at least two antenna sub-arrays are different, the influence of the channel on the phases of different measurement reference codes received by the at least two antenna sub-arrays is different. That is, under the condition that the performance of the transceiver is stable, the phases of the sounding reference codes received by different antenna sub-arrays may be different, and the phase difference of different sounding reference codes is caused by channel variation. However, if the performance of the transceiver is not stable, for example, the transceiver has crystal drift, the phase of the sounding reference code may also be affected by the performance of the transceiver.
Therefore, in the process of sending the uplink signal to the WLAN device by the WLAN device to be positioned, the WLAN device may control the reference antenna to be always in the receiving state, and receive the multiple measurement reference codes in the uplink signal by using the reference antenna. When a phase difference exists between two adjacent measurement reference codes in the time sequence acquired by the reference antenna, the performance of the transceiver can be determined to be unstable. At this time, the phase difference may be used to perform signal compensation on the post-timing sounding reference code in the two sounding reference codes acquired by the antenna sub-array, so as to compensate for the influence of the unstable performance of the transceiver on the phase of the sounding reference code received by the antenna sub-array.
Optionally, the implementation manner of performing signal compensation on any measurement reference code may include: and determining the phase difference between two adjacent measurement reference codes acquired by the reference antenna, and determining the weighted sum of the phase difference and the phase of any measurement reference code as the measurement reference code after signal compensation is carried out on any measurement reference code. Wherein, the arbitrary SRS is the SRS received by the referenced antenna in the two SRS. Moreover, the weight value of the phase difference and the weight value of the measurement reference code can be determined according to application requirements. For example, the weight value of the phase difference and the weight value of the measurement reference code may both be 1.
By performing signal compensation on the measurement reference code, the influence of unstable performance of the transceiver on the phase of the measurement reference code received by the antenna subarray can be compensated, so that the measurement reference code after signal compensation can reflect the change of a channel more truly. When the channel estimation is performed according to the measurement reference code after the signal compensation, the channel estimation result is closer to the real channel condition, and at this time, when the WLAN device to be positioned is positioned according to the channel estimation result, the positioning accuracy can be further improved.
It should be noted that, this step 203 is an optional step, and in the positioning process, it may be determined whether to execute the step 203 according to application requirements.
And step 204, the WLAN device measures the positioning data of the WLAN device to be positioned based on different measurement reference codes in uplink signals received by different antenna sub-arrays before and after changing.
The positioning the WLAN device to be positioned may include: and carrying out angle estimation on the WLAN equipment to be positioned. Or, ranging the WLAN device to be located. Or, determining the position data of the WLAN device to be positioned by using the WLAN ranging and angle estimation to be positioned.
Moreover, the operation of determining the position data of the WLAN device to be positioned may be performed by the WLAN device, or may be performed by the positioning server. When the operation of determining the position data of the WLAN device to be positioned is performed by the positioning server, the positioning data may be intermediate data used for calculating the position data of the WLAN device to be positioned, and the WLAN device may send the positioning data to the positioning server, so that the positioning server may determine the position data of the WLAN device to be positioned according to the positioning data.
When the operation of determining the position data of the WLAN device to be positioned is performed by the WLAN device, the positioning data may be the position data of the WLAN device to be positioned, or the positioning data may be intermediate data used for determining the position data of the WLAN device to be positioned, and the WLAN device may determine the position data of the WLAN device to be positioned according to the intermediate data. For example, when the WLAN device has an angle measurement capability, the intermediate data may be an angle of arrival of the WLAN device to be positioned with respect to the WLAN device, and time used for message transmission between the WLAN device and the WLAN device to be positioned, and the WLAN device may determine the location data of the WLAN device to be positioned according to the angle of arrival and the time. For example, when the WLAN device has ranging and angle measurement capabilities, the intermediate data may be an angle of arrival of the WLAN device to be positioned with respect to the WLAN device and a distance between the WLAN device and the WLAN device to be positioned, and the WLAN device may determine the position data of the WLAN device to be positioned according to the angle of arrival and the distance.
Due to the different arrangement positions of the at least two antenna sub-arrays, the receiving phases of the plurality of measurement reference codes received by the at least two antenna sub-arrays respectively are different. The receiving phases of the multiple measurement reference codes received by the antenna subarrays are used for reflecting the direction relation between the WLAN equipment to be positioned and the corresponding antenna subarrays. The WLAN device may determine a receiving phase difference between the antenna sub-arrays receiving the different sounding reference codes according to the receiving phase of the sounding reference code received by the different antenna sub-arrays. And, according to the receiving phase difference and the setting positions of the at least two antenna sub-arrays, an angle of arrival (AoA) of the WLAN device to be positioned relative to the WLAN device can be determined, that is, angle estimation of the WLAN device to be positioned is achieved.
And the distance between the WLAN equipment and the WLAN equipment to be positioned can be determined according to the time used for transmitting the message between the WLAN equipment and the WLAN equipment to be positioned, so that the distance measurement of the WLAN equipment to be positioned is realized. The time used for transmitting the message between the WLAN device and the WLAN device to be located may be: the method includes that the WLAN equipment to be positioned sends an uplink signal to the time of flight (ToF) of the WLAN equipment, or the WLAN equipment to be positioned sends the uplink signal to the WLAN equipment, and the WLAN equipment sends the uplink signal to the WLAN equipment to be positioned, wherein the uplink signal has Round Trip Time (RTT) in the signal sending process. Or, when at least three WLAN devices are used to locate the WLAN device to be located, the time used for transmitting the message between the WLAN device and the WLAN device to be located may be: when the WLAN device to be positioned sends a message to the at least three WLAN devices, respectively, an absolute time difference (i.e., time difference of arrival (TDoA)) between arrival times of the message at each two WLAN devices.
When the step 203 is selected to be executed in the positioning process, the implementation process of the step 204 may include: and the WLAN equipment measures the positioning data of the WLAN equipment to be positioned based on the measurement reference code after signal compensation is carried out on the measurement reference code received by the at least two antenna sub-arrays.
It should be noted that, before determining the angle of arrival and the distance according to the sounding reference code, the WLAN device may also be used to perform data preprocessing on the received sounding reference code. For example, the WLAN device may amplify and sample signals of a plurality of received measurement reference codes, perform analog-to-digital conversion on the measurement reference codes obtained by sampling, perform time-frequency synchronization on the measurement reference codes subjected to analog-to-digital conversion, identify a direct path signal in the measurement reference codes subjected to time-frequency synchronization, and determine an arrival angle and arrival time according to the identified direct path signal.
For example, as shown in fig. 4, assume that the distance between the AP1 and the AP2 is d0, the distance between the AP1 and the STA is d2, and the distance between the AP2 and the STA is d 1. The trigger frame transmitted by the AP1 at time T1 is heard by the AP2 at time T2. The uplink message sent by the STA according to the trigger frame is received by the AP2 at time T4 and is received by the AP1 at time T3. From the sending time and the receiving time (and the arrival time) of the trigger frame and the received time of the uplink signal, the following relationship can be obtained:
the duration T31 from the transmission of the trigger frame by the AP1 to the reception of the uplink signal transmitted by the STA by the AP1 is T3-T1 (d2/c) × 2+ T0. The t0 is a time difference between when the STA receives the trigger frame and when the STA sends out the uplink signal according to the trigger frame.
The time period from the reception of the trigger frame by the AP2 to the reception of the uplink signal transmitted by the STA by the AP2 is T42, (T4-T2), (d2/c + d1/c + T0), and (d 0/c).
Accordingly, the time difference of flight T42-T31+ d0/c of the signal (d1-d2)/c can be obtained. And, from the time-of-flight difference, the distance difference S1 between the STA to AP1 and AP2 is determined (T42-T31+ d0/c) × c is d1-d 2.
According to the principle of positioning hyperbolas, a hyperbola Q1 in which the focal points of the hyperbolas are AP1 and AP2 and the distance difference is the distance difference between a point on the hyperbola and the focal point can be obtained, that is, an STA on the hyperbola Q1 can be obtained.
Similarly, the AP3 may also be used to listen to the trigger frame transmitted by the AP1, and the AP3 may be used to receive the uplink signal transmitted by the STA. Furthermore, according to the time when the AP3 monitors the trigger frame, the time when the AP3 receives the uplink signal transmitted by the STA, and the time when the AP1 transmits the trigger frame and the time when the AP1 receives the uplink signal, the distance difference S2 between the STA and the AP1 and the AP3 can be obtained, the hyperbolic Q2 whose hyperbola is the focus of the AP1 and the AP3 and whose distance difference S2 is the distance difference from a point on the hyperbolic to the focus can be obtained, and the STA can be determined to be on the hyperbolic Q2. At this time, the intersection of hyperbola Q1 and hyperbola Q2 can be determined as the location of STA.
It should be noted that, before the WLAN device measures the positioning data of the WLAN device to be positioned based on different measurement reference codes in the uplink signals received by different antenna sub-arrays before and after the change, it is also necessary to decode the received uplink signals first. Furthermore, the WLAN device needs to decode the uplink signal according to the radio resource allocated to the WLAN device to be located.
In one implementation, the allocation of radio resources to the WLAN device to be located may be indicated by an uplink scheduling parameter. For example, the uplink scheduling parameter may indicate a subcarrier Resource Unit (RU) and a Spatial Stream (SS) allocated to the WLAN device to be located. And the uplink scheduling parameter may be an uplink scheduling parameter that is acquired by the WLAN device and sent by another WLAN device to the WLAN device to be located. The other WLAN device is associated with the WLAN device to be positioned, and the radio resource indicated by the uplink scheduling parameter may be a radio resource allocated to the WLAN device to be positioned by the other WLAN device.
Accordingly, the WLAN device may not necessarily be associated with the WLAN device to be located. And, when the WLAN device is associated with the WLAN device to be located, the WLAN device may not allocate radio resources to the WLAN device to be located. When the WLAN device is not associated with the WLAN device to be located and the another WLAN device is associated with the WLAN device to be located, the operation of sending the trigger frame to the WLAN device to be located in step 201 may be performed by the another WLAN device, at this time, the WLAN device may obtain an indication of the position of the one or more midambles in the uplink signal, determine the position of the one or more midambles according to the indication, and perform step 202 according to the position of the one or more midambles.
Fig. 5 is a flowchart of the positioning method when a WLAN device sends a trigger frame to a WLAN device to be positioned and acquires an uplink scheduling parameter sent by another WLAN device to the WLAN device to be positioned in the positioning method provided in the embodiment of the present application. As shown in fig. 5, on the basis of the positioning method shown in fig. 2, before step 204, the positioning method may further include:
step 205, the WLAN device acquires an uplink scheduling parameter sent by another WLAN device to the WLAN device to be located.
Wherein, the WLAN device and the other WLAN device can jointly locate one or more WLAN devices needing to be located. Alternatively, another WLAN device may perform uplink scheduling on one or more WLAN devices that need to be located, and the WLAN device may perform location on one or more WLAN devices that need to be located. The WLAN device to be located in the foregoing embodiments may be any one of the one or more WLAN devices that need to be located.
There are many possible implementations of this step 205, and the following two implementations are described as examples:
in a first implementation manner of step 205, the WLAN device may acquire the uplink scheduling parameter in a wireless listening manner. As shown in fig. 6, the implementation process of this step 205 may include:
step 2051a, the WLAN device monitors a trigger frame sent by another WLAN device to the WLAN device to be located.
The WLAN device may detect whether another WLAN device is sending a trigger frame. The WLAN device may acquire the trigger frame when detecting that another WLAN device sends the trigger frame.
In one implementation, a listening receiver may be configured in the WLAN device, and an operating channel of the listening receiver is the same as an operating channel of the other WLAN device. Therefore, the WLAN device may listen to a trigger frame transmitted by another WLAN device with the listening receiver. For example, the WLAN device may be configured with a receiver, and the receiver may monitor a trigger frame sent by another WLAN device, and may receive an uplink signal sent by the WLAN device to be located. For another example, at least two receivers may be configured in the WLAN device, where one receiver is a listening receiver, and the listening receiver may be configured to listen to a trigger frame sent by another WLAN device, where another receiver is configured to receive an uplink signal sent by the WLAN device to be located.
Also, the receiver is a component having at least a signal receiving function. For example, the receiver may be a receiver dedicated to receiving signals. Alternatively, the receiver may have a function of transmitting a signal, and in this case, the receiver is also referred to as a transceiver.
Step 2052a, the WLAN device extracts the uplink scheduling parameter from the trigger frame.
The format of the trigger frame is typically pre-agreed in the communication protocol. Therefore, after the WLAN device monitors a trigger frame sent by another WLAN device to the WLAN device to be located, the WLAN device may extract the uplink scheduling parameter from the specified field of the trigger frame according to the format of the pre-agreed trigger frame.
Illustratively, according to the 802.11.ax protocol, the user field of the trigger frame includes: a radio frequency resource unit allocation (resource unit allocation) field for indicating RU resources that can be used by the WLAN device to be located, and a spatial stream allocation (spatial stream allocation) field for indicating spatial streams that can be used by the WLAN device to be located. After the WLAN device monitors a trigger frame sent by another WLAN device to the WLAN device to be positioned, the WLAN device may extract content carried in the radio frequency resource unit allocation field to obtain radio frequency resources allocated to different WLAN devices to be positioned, and extract content carried in the spatial stream allocation field to obtain spatial streams allocated to different WLAN devices to be positioned.
It should be noted that, since the trigger frame may include: therefore, when the WLAN device is not associated with the WLAN device to be located and the another WLAN device is associated with the WLAN device to be located, after monitoring a trigger frame sent by the another WLAN device to the WLAN device to be located, the WLAN device may further extract an indication of the position of the one or more midambles sent by the WLAN device to be located from the trigger frame to determine the position of the one or more midambles in the uplink signal. At this time, this step 205 may be performed before step 202.
In a second implementation manner of step 205, the WLAN device and the another WLAN device both include a baseband circuit, and the baseband circuit of the WLAN device is connected to the baseband circuit of the another WLAN device through a wire, at this time, the baseband circuit of the WLAN device may obtain the uplink scheduling parameter sent by the another WLAN device to the WLAN device to be located through the wire connection with the baseband circuit of the another WLAN device. The implementation process of the 201 can include: and the baseband circuit of the WLAN equipment receives the uplink scheduling parameters sent by the baseband circuit of the other WLAN equipment by adopting wired connection between the two devices.
The WLAN device includes baseband circuitry and radio frequency circuitry. The baseband circuit is used for processing signals received and transmitted by the WLAN equipment. The radio frequency circuit is used for receiving and transmitting signals. In the embodiment of the present application, the baseband circuit and the radio frequency circuit in the WLAN device and the another WLAN device may both be deployed according to a radio remote architecture. That is, the baseband circuitry and the radio frequency circuitry of a WLAN device may be deployed separately, and the baseband circuitry and the radio frequency circuitry of another WLAN device may also be deployed separately. Also, the baseband circuitry of the WLAN device and the baseband circuitry of the other WLAN device may be wired. For example, the baseband circuitry of a WLAN device and the baseband circuitry of another WLAN device may be connected by a communication bus, and the communication bus may be a fiber optic or peripheral component interconnect express (PCIe) bus or the like. Also, the baseband circuitry of the WLAN device and the baseband circuitry of the other WLAN device may also be mounted in the same housing. Since a baseband circuit installed in the housing and a radio frequency circuit deployed in the remote manner jointly implement the function of a WLAN device, the overall structure including a baseband circuit in the housing and a radio frequency circuit deployed in the remote manner may be referred to as a WLAN device.
In the deployment mode, the baseband circuit of another WLAN device may send a signal carrying the uplink scheduling parameter to the radio frequency circuit of the another WLAN device, and the radio frequency circuit of the another WLAN device may send the signal carrying the uplink scheduling parameter to the WLAN device to be located, so as to schedule the uplink of the WLAN device to be located. And after sending the uplink scheduling parameter to the radio frequency circuit of the other WLAN device, the baseband circuit of the other WLAN device may also send the signal carrying the uplink scheduling parameter to the baseband circuit of the WLAN device through the wired connection with the WLAN device, so that the WLAN device can obtain the uplink scheduling parameter. Further, after receiving the signal carrying the uplink scheduling parameter, the baseband circuit of the WLAN device may also send the signal carrying the uplink scheduling parameter to the radio frequency circuit of the WLAN device, so that the radio frequency circuit of the WLAN device can obtain the uplink scheduling parameter.
Illustratively, as shown in fig. 7, another WLAN device includes a baseband circuit BBU0 and a radio frequency circuit RU0, and the WLAN device includes a baseband circuit BBU1 and a radio frequency circuit RU 1. After the baseband circuit BBU0 of another WLAN device sends a signal carrying uplink scheduling parameters to the radio frequency circuit RU0 of another WLAN device, the radio frequency circuit RU0 of another WLAN device may send the signal carrying uplink scheduling parameters to the WLAN device STA0 and STA2 to be located. And the baseband circuit BBU0 of the other WLAN device may further send the signal carrying the uplink scheduling parameter to the baseband circuit BBU1 of the WLAN device through a communication bus. After receiving the signal carrying the uplink scheduling parameter, the baseband circuit BBU1 of the WLAN device may send the signal carrying the uplink scheduling parameter to the radio frequency circuit RU1 of the WLAN device, so that the radio frequency circuit RU1 obtains the uplink scheduling parameter.
When the positioning method provided in the embodiment of the present application further includes step 205, the implementation process of step 204 includes step 206 in fig. 5: the WLAN equipment decodes based on the wireless resources of the WLAN equipment to be positioned indicated by the uplink scheduling parameters and the uplink signals received by different antenna sub-arrays, and measures the positioning data of the WLAN equipment to be positioned based on the measurement reference codes received by the different antenna sub-arrays obtained by decoding. For a process of implementing the measurement of the positioning data of the WLAN device to be positioned, please refer to the process of implementing step 204, which is not described herein again.
The WLAN equipment acquires the uplink scheduling parameter sent by the other WLAN equipment to the WLAN equipment to be positioned, so that the WLAN equipment does not need to send an uplink scheduling signal carrying the uplink scheduling parameter to the WLAN equipment to be positioned. In addition, the total number of uplink scheduling signals which need to be sent when the WLAN equipment to be positioned is subjected to uplink scheduling is reduced, so that the air interface overhead is effectively reduced.
In summary, in the positioning method provided in the embodiment of the present application, a WLAN device sends a trigger frame to a WLAN device to be positioned, to indicate the location of one or more midambles in an uplink signal transmitted by the WLAN device to be located to the WLAN device, and in the period of time when the WLAN equipment to be positioned sends the data part in the uplink signal, the antenna subarray which receives the uplink signal in the WLAN equipment is changed, the WLAN device can obtain multiple sounding reference codes by receiving one uplink signal, compared to the technology of positioning by receiving multiple uplink signals, because the sending interval between different measurement reference codes is smaller than the sending interval of different uplink signals, the probability of channel change between different measurement reference codes is effectively reduced, the influence of the channel change on the positioning precision is reduced, and the precision of positioning the WLAN equipment to be positioned according to the measurement reference codes is ensured.
In addition, the electrical connection state of the at least two antenna sub-arrays and the radio frequency circuit is adjusted according to the position of the measurement reference code, so that part or all of the at least two antenna sub-arrays can share the radio frequency circuit.
Furthermore, because the uplink signal includes a plurality of measurement reference codes, the total number of uplink signals required to be sent when the WLAN device to be positioned is reduced, and the air interface overhead is effectively reduced.
It should be noted that, the order of the steps of the positioning method provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be increased or decreased according to the circumstances, for example, whether to execute the step 203 may be selected according to the application requirements in the positioning process, or the execution order of the step 205 may be adjusted according to the application requirements, and any method that can be easily considered by those skilled in the art within the technical scope disclosed in the present application shall be included in the protection scope of the present application, and therefore, the details are not described again.
The following are embodiments of an apparatus of the present application that may be used to perform embodiments of the methods of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
The embodiment of the application also provides WLAN equipment. As shown in fig. 8, the WLAN device 800 includes: a processor 810, a transceiver 820, and an antenna 830. The transceiver 820 performs functions of transmitting and receiving signals using the antenna 830. The processor 810, transceiver 820 and antenna 830 are interconnected via a bus 840. Alternatively, the WLAN device may be a WAP or a part of a WAP. The WAP can be station equipment with a WLAN chip or network equipment and the like. The bus 840 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
The transceiver 820 is configured to transmit a trigger frame to the WLAN device to be located, the trigger frame including an indication of a location at which the WLAN device to be located transmits one or more midambles. The transceiver 820 is further configured to change an antenna sub-array of the antennas 830 used by the transceiver 820 to receive the uplink signal during a time period in which the WLAN device to be positioned transmits the data portion of the uplink signal based on the position of the one or more midambles. The data portion is between two adjacent sounding reference codes in a plurality of sounding reference codes of the uplink signal, the sounding reference codes include a preamble of the uplink signal and one or more midambles indicated by the trigger frame, the antenna 830 includes at least two antenna sub-arrays, and the positions of the at least two antenna sub-arrays are different. And, the transceiver 820 is further configured to transmit different sounding reference codes in uplink signals received by different antenna sub-arrays before and after the change to the processor 810. The processor 810 is configured to measure the positioning data of the WLAN device to be positioned based on different measurement reference codes in uplink signals received by different antenna sub-arrays before and after the change.
The processor 810 may include at least one of a baseband circuit and a signal processor, among others. When the processor 810 includes baseband circuitry, the function of measuring positioning data for a WLAN device to be positioned is performed by the baseband circuitry. When the processor 810 comprises a signal processor, the function of measuring positioning data of a WLAN device to be positioned is performed by the signal processor. When the processor 810 includes baseband circuitry and a signal processor, the function of measuring positioning data of a WLAN device to be positioned is performed by either of the baseband circuitry and the signal processor, or by the baseband circuitry and the signal processor in cooperation.
The signal processor may be a Digital Signal Processor (DSP) or the like that implements functions by software. Alternatively, the signal processor may be a hardware chip. For example, the hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
As shown in fig. 8, the WLAN device may further include: and a memory 850. The memory 850 is used to store the received uplink signal and the like. Also, when the signal processor implements functions by software, the memory 850 is also used to store program instructions, and the signal processor can implement the functions that the signal processor needs to implement by calling the program instructions stored in the memory 850. For example, the signal processor may measure the positioning data of the WLAN device to be positioned based on different measurement reference codes in uplink signals received by different antenna sub-arrays before and after the change by calling the program instructions stored in the memory 850.
Alternatively, memory 850 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 850 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD); the memory 850 may also comprise a combination of memories of the kind described above.
The trigger frame may indicate the length of the uplink signal and the interval between adjacent midambles, so as to indicate the positions of one or more midambles.
In one implementation, the transceiver 820 may further include: and (6) switching a switch. At this time, when the transceiver 820 is configured to change the antenna sub-array in the antenna 830 used by the transceiver 820 to receive the uplink signal in the time period when the WLAN device to be positioned transmits the data portion in the uplink signal based on the position of the one or more midambles, its implementation manner may include: based on the position of one or more midamble codes, in the period of sending the data part in the uplink signal by the WLAN equipment to be positioned, the electric connection state of at least two antenna sub-arrays and the radio frequency circuit is controlled in a time-sharing manner by controlling the change-over switch, so that when any measurement reference code is sent to the WLAN equipment, one antenna sub-array exists in the at least two antenna sub-arrays and is electrically connected with the radio frequency circuit.
Optionally, antenna 830 further comprises a reference antenna. The reference antenna is configured to receive multiple sounding reference codes and transmit the multiple sounding reference codes received by the reference antenna to the processor 810 in a process that the WLAN device to be positioned sends an uplink signal to the WLAN device. At this time, the processor 810 is further configured to perform signal compensation on any sounding reference code received by an antenna sub-array of the at least two antenna sub-arrays based on any sounding reference code received by the reference antenna. Correspondingly, the processor 810 is specifically configured to measure the positioning data of the WLAN device to be positioned based on the measurement reference code after performing signal compensation on the measurement reference code received by the at least two antenna sub-arrays.
In one implementation of signal compensation, the processor is specifically configured to: determining the phase difference between two adjacent measurement reference codes acquired by a reference antenna, wherein any measurement reference code is a measurement reference code received by the reference antenna in the two measurement reference codes; and determining a weighted sum of the phase difference and the phase of any one of the measurement reference codes as any one of the measurement reference codes after signal compensation.
Optionally, before the WLAN device measures the positioning data of the WLAN device to be positioned based on different measurement reference codes in the uplink signals received by different antenna sub-arrays before and after the change, it is further required to decode the received uplink signal first. Furthermore, the WLAN device needs to decode the uplink signal according to the radio resource allocated to the WLAN device to be located. In one implementation, the allocation of radio resources to the WLAN device to be located may be indicated by an uplink scheduling parameter.
The uplink scheduling parameter may be sent by the WLAN device to be positioned, or may be sent by another WLAN device to the WLAN device to be positioned and acquired by the WLAN device. At this time, the processor 810 is configured to obtain an uplink scheduling parameter sent by another WLAN device to the multiple WLAN devices to be positioned, where the uplink scheduling parameter is used to indicate a radio resource allocated to the multiple WLAN devices to be positioned. The transceiver 820 is used for receiving an uplink signal and transmitting the received uplink signal to the processor 810. The processor 810 is configured to measure positioning data of each of the plurality of WLAN devices to be positioned based on the received uplink signal and the radio resources of the plurality of WLAN devices to be positioned indicated by the uplink scheduling parameter.
In one implementation manner of obtaining the uplink scheduling parameter, the transceiver 820 is further configured to monitor a trigger frame sent by another WLAN device, extract the uplink scheduling parameter from the trigger frame, and transmit the uplink scheduling parameter to the processor 810. Correspondingly, the processor 810 is configured to, when acquiring the uplink scheduling parameter sent by another WLAN device to a plurality of WLAN devices to be located, specifically, receive the uplink scheduling parameter transmitted by the transceiver 820.
At this time, the transceiver 820 may include a listening receiver having an operating channel identical to that of another WLAN device.
In another implementation manner of obtaining the uplink scheduling parameter, the WLAN device and the another WLAN device both include a baseband circuit, and the baseband circuit of the WLAN device and the baseband circuit of the another WLAN device are connected by a wire. The baseband circuit of the WLAN device is configured to receive the uplink scheduling parameter transmitted by the baseband circuit of the other WLAN device, and transmit the uplink scheduling parameter to the processor 810. Correspondingly, the processor 810 is configured to, when acquiring the uplink scheduling parameter sent by another WLAN device to a plurality of WLAN devices to be located, specifically, receive the uplink scheduling parameter transmitted by the baseband circuit of the WLAN device.
In summary, in the WLAN device provided in the embodiment of the present application, the WLAN device sends a trigger frame to the WLAN device to be located, to indicate the location of one or more midambles in an uplink signal transmitted by the WLAN device to be located to the WLAN device, and in the period of time when the WLAN equipment to be positioned sends the data part in the uplink signal, the antenna subarray in the WLAN equipment for receiving the uplink signal is changed, the WLAN device can acquire multiple sounding reference codes by receiving one uplink signal, compared to the technology of positioning by receiving multiple uplink signals, because the sending interval between different measurement reference codes is smaller than that of different uplink signals, the probability of channel change between different measurement reference codes is effectively reduced, the influence of the channel change on the positioning precision is reduced, and the precision of positioning the WLAN equipment to be positioned according to the measurement reference codes is ensured.
In addition, the electric connection state of the at least two antenna sub-arrays and the radio frequency circuit is adjusted according to the position of the measurement reference code, so that part or all of the at least two antenna sub-arrays can share the radio frequency circuit.
Furthermore, because the uplink signal includes a plurality of measurement reference codes, the total number of uplink signals required to be sent when the WLAN device to be positioned is reduced, and the air interface overhead is effectively reduced.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the components such as the transceiver, the processor, the antenna, and the like described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Embodiments of the present application also provide a computer-readable storage medium, which may be a non-transitory readable storage medium, and when instructions in the computer-readable storage medium are executed by a computer, the computer is configured to perform the positioning method provided in the present application. The computer readable storage medium includes, but is not limited to, volatile memory such as random access memory, non-volatile memory such as flash memory, Hard Disk Drive (HDD), Solid State Drive (SSD).
The present application also provides a computer program product comprising computer instructions which, when executed by a computing device, the computing device performs the positioning method provided herein.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only an example of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the principles of the present application should be included in the scope of the present application.

Claims (10)

1.A method of positioning, the method comprising:
the method comprises the steps that the WLAN equipment sends a trigger frame to the WLAN equipment to be positioned, wherein the trigger frame comprises an indication of the position of one or more midambles sent by the WLAN equipment to be positioned;
the WLAN device changes an antenna subarray in the WLAN device for receiving an uplink signal in a period when the WLAN device to be positioned transmits a data part in the uplink signal based on the position of the one or more midambles, wherein the data part is between two adjacent measurement reference codes in a plurality of measurement reference codes of the uplink signal, the plurality of measurement reference codes comprise a preamble of the uplink signal and the one or more midambles indicated by the trigger frame, the WLAN device comprises at least two antenna subarrays, and the positions of the at least two antenna subarrays are different;
and the WLAN equipment measures the positioning data of the WLAN equipment to be positioned based on different measurement reference codes in the uplink signals received by different antenna sub-arrays before and after changing.
2. The method of claim 1, wherein the trigger frame indicates a length of the uplink signal and a spacing between adjacent midambles.
3. The method of claim 1 or 2, wherein the WLAN device changes an antenna subarray in the WLAN device that receives the uplink signal in a period when the WLAN device to be positioned transmits a data portion in the uplink signal based on the position of the one or more midambles, comprising:
and the WLAN equipment controls the electric connection states of the at least two antenna sub-arrays and the radio frequency circuit in a time-sharing manner in a period when the WLAN equipment to be positioned sends the data part in the uplink signal based on the position of the one or more midamble codes, so that when any measurement reference code is sent to the WLAN equipment, one antenna sub-array exists in the at least two antenna sub-arrays and is electrically connected with the radio frequency circuit.
4. The method of any of claims 1 to 3, wherein the WLAN device further comprises a reference antenna, the method further comprising:
in the process that the WLAN equipment to be positioned sends the uplink signal to the WLAN equipment, the WLAN equipment controls the reference antenna to receive the plurality of measurement reference codes;
the WLAN equipment performs signal compensation on any measurement reference code received by an antenna sub-array in the at least two antenna sub-arrays based on any measurement reference code received by the reference antenna;
the method for measuring the positioning data of the WLAN equipment to be positioned based on different measurement reference codes in the uplink signal received by different antenna sub-arrays before and after changing by the WLAN equipment comprises the following steps:
and the WLAN equipment measures the positioning data of the WLAN equipment to be positioned based on the measurement reference code after signal compensation is carried out on the measurement reference code received by the at least two antenna sub-arrays.
5. The method of claim 4, wherein the WLAN device performs signal compensation on any SRS code received by an antenna sub-array of the at least two antenna sub-arrays based on the any SRS code received by the reference antenna, comprising:
the WLAN equipment determines the phase difference between two adjacent measurement reference codes acquired by the reference antenna, wherein any measurement reference code is the measurement reference code received by the reference antenna in the two measurement reference codes;
and determining the weighted sum of the phase difference and the phase of any one of the measurement reference codes as the signal compensated measurement reference code.
6. A WLAN device, characterized in that the WLAN device comprises: an antenna, a transceiver, and a processor;
the transceiver is configured to send a trigger frame to a WLAN device to be positioned, the trigger frame including an indication of a location at which the WLAN device to be positioned is to send one or more midambles;
the transceiver is further configured to change an antenna sub-array in an antenna used by the transceiver to receive an uplink signal in a period when the WLAN device to be positioned transmits a data portion in the uplink signal based on a position of the one or more midambles, wherein the data portion is between two adjacent measurement reference codes in a plurality of measurement reference codes of the uplink signal, the plurality of measurement reference codes include a preamble of the uplink signal and the one or more midambles indicated by the trigger frame, the antenna includes at least two antenna sub-arrays, and positions of the at least two antenna sub-arrays are different;
the transceiver is further configured to transmit different measurement reference codes in the uplink signal received by different antenna sub-arrays before and after the change to the processor;
the processor is configured to measure the positioning data of the WLAN device to be positioned based on different measurement reference codes in the uplink signal received by different antenna sub-arrays before and after the change.
7. The WLAN device of claim 6, wherein the trigger frame indicates a length of the uplink signal and a spacing between adjacent midambles.
8. The WLAN device according to claim 6 or 7, wherein the transceiver is specifically configured to:
and based on the positions of the one or more midambles, in a period when the WLAN device to be positioned sends the data part in the uplink signal, time-sharing controlling the electrical connection state of the at least two antenna sub-arrays and the radio frequency circuit, so that when any measurement reference code is sent to the WLAN device, one antenna sub-array in the at least two antenna sub-arrays is electrically connected with the radio frequency circuit.
9. The WLAN device according to any one of claims 6 to 8, wherein the antenna further comprises a reference antenna;
the reference antenna is configured to receive the multiple measurement reference codes and transmit the multiple measurement reference codes received by the reference antenna to the processor in a process that the WLAN device to be positioned sends the uplink signal to the WLAN device;
the processor is further configured to perform signal compensation on any measurement reference code received by an antenna sub-array of the at least two antenna sub-arrays based on the any measurement reference code received by the reference antenna;
the processor is configured to, when measuring the positioning data of the WLAN device to be positioned based on the measurement reference codes obtained by performing signal compensation on the measurement reference codes received by the at least two antenna sub-arrays, specifically, measure the positioning data of the WLAN device to be positioned based on the measurement reference codes obtained by performing signal compensation on the measurement reference codes received by the at least two antenna sub-arrays.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor, implement the positioning method of any one of claims 1 to 5.
CN202010085283.XA 2020-02-10 2020-02-10 Positioning method, WLAN device and storage medium Active CN113259834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010085283.XA CN113259834B (en) 2020-02-10 2020-02-10 Positioning method, WLAN device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010085283.XA CN113259834B (en) 2020-02-10 2020-02-10 Positioning method, WLAN device and storage medium

Publications (2)

Publication Number Publication Date
CN113259834A CN113259834A (en) 2021-08-13
CN113259834B true CN113259834B (en) 2022-09-02

Family

ID=77219428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010085283.XA Active CN113259834B (en) 2020-02-10 2020-02-10 Positioning method, WLAN device and storage medium

Country Status (1)

Country Link
CN (1) CN113259834B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700624A (en) * 2005-07-12 2005-11-23 北京邮电大学 A code multiplexing scheme used for TD-SCDMA downlink
WO2008023919A1 (en) * 2006-08-21 2008-02-28 Samsung Electronics Co., Ltd. Method and apparatus for transmitting/receiving preamble of random access channel in a broadband wireless communication system
CN101163343A (en) * 2006-10-09 2008-04-16 索尼德国有限责任公司 Method and devices for transmitting and receiving signals in a wireless communication system with a special frame structure
CN104105200A (en) * 2013-04-07 2014-10-15 电信科学技术研究院 WLAN AP (wireless local area network access point) notification and scanning method and device
CN105051566A (en) * 2013-02-19 2015-11-11 英特尔Ip公司 Improved wireless network location techniques
CN107205266A (en) * 2016-03-17 2017-09-26 华为技术有限公司 A kind of method of locating terminal and relevant device
CN109728839A (en) * 2017-10-31 2019-05-07 华为技术有限公司 A kind of method and WLAN devices receiving uplink message
CN109844557A (en) * 2016-09-02 2019-06-04 马维尔国际贸易有限公司 Method and apparatus for determining the angle of arrival of wireless signal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9060281B2 (en) * 2012-09-18 2015-06-16 Trueposition, Inc. Overlay network-based location of E-UTRAN devices
US20140226740A1 (en) * 2013-02-13 2014-08-14 Magnolia Broadband Inc. Multi-beam co-channel wi-fi access point

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700624A (en) * 2005-07-12 2005-11-23 北京邮电大学 A code multiplexing scheme used for TD-SCDMA downlink
WO2008023919A1 (en) * 2006-08-21 2008-02-28 Samsung Electronics Co., Ltd. Method and apparatus for transmitting/receiving preamble of random access channel in a broadband wireless communication system
CN101163343A (en) * 2006-10-09 2008-04-16 索尼德国有限责任公司 Method and devices for transmitting and receiving signals in a wireless communication system with a special frame structure
EP2296294A1 (en) * 2006-10-09 2011-03-16 Sony Deutschland Gmbh Method and devices for transmitting and receiving signals in a wireless communication system with a special frame structure
CN105051566A (en) * 2013-02-19 2015-11-11 英特尔Ip公司 Improved wireless network location techniques
CN104105200A (en) * 2013-04-07 2014-10-15 电信科学技术研究院 WLAN AP (wireless local area network access point) notification and scanning method and device
CN107205266A (en) * 2016-03-17 2017-09-26 华为技术有限公司 A kind of method of locating terminal and relevant device
CN109844557A (en) * 2016-09-02 2019-06-04 马维尔国际贸易有限公司 Method and apparatus for determining the angle of arrival of wireless signal
CN109728839A (en) * 2017-10-31 2019-05-07 华为技术有限公司 A kind of method and WLAN devices receiving uplink message

Also Published As

Publication number Publication date
CN113259834A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN110857973B (en) Arrival angle estimation method and device
US11917494B2 (en) Positioning method and apparatus
KR102199523B1 (en) Apparatus and method for communication based on beam-forming in wireless communication system
CN111132307A (en) Positioning method and device
US20230029296A1 (en) Information acquisition method and apparatus, device, and storage medium
JP7297879B2 (en) Positioning Estimation for User Equipment in Wireless Networks with Base Stations Supporting Multi-Beam Operation
US11382059B2 (en) Method and device for sending positioning signal
CN109842890B (en) Signal measurement method, related device and system
US20150049679A1 (en) Method of enabling single chain ranging operations
KR20220046634A (en) Measurement reporting and reception methods, devices and instruments
US10531465B2 (en) Communication device, access node and methods thereof
JP2023512544A (en) Reference signal resource configuration method and apparatus
US11327146B2 (en) Method, device and computer-readable medium for determining location of communication device
CN110557212A (en) millimeter wave terminal testing system and method based on extended compact range testing
CN113259834B (en) Positioning method, WLAN device and storage medium
CN113260043B (en) Positioning method and device, WLAN (Wireless local area network) equipment and storage medium
US20220295570A1 (en) Rach-based tx beam refinement procedure
CN115550864A (en) 5G NR indoor positioning system and method based on UE uplink signal
CN114557066A (en) Access Point (AP) arrangement using Fine Time Measurements (FTM)
CN111819901B (en) Method, apparatus and computer readable medium for communication
WO2023098561A1 (en) Communication method and apparatus
WO2023212836A1 (en) Apparatus and method for discovering positioning reference user equipment on sidelink
US11949620B2 (en) Signal processing method and device
CN114698095A (en) Positioning method and equipment thereof
CN115278866A (en) Method and system for NLOS to determine and provide association between UL SRS resource and UE Tx TEG

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant