METHOD FOR IDENTIFYING LINE OF SIGHT PATH AND WIRELESS DEVICE
20190313363 ยท 2019-10-10
Inventors
Cpc classification
H04W64/00
ELECTRICITY
H04W64/006
ELECTRICITY
G01S3/14
PHYSICS
H04W40/02
ELECTRICITY
International classification
H04W64/00
ELECTRICITY
Abstract
A method for identifying a line of sight path and a wireless device are disclosed. In the method, an access point (AP) receives radio signals sent by a to-be-identified terminal through a plurality of paths, and obtains an energy of the radio signal transmitted through each of the paths. When a ratio of an energy of the radio signal transmitted through a candidate path to a total energy of the radio signals transmitted through the plurality of paths is greater than a threshold, the AP determines that the candidate path of the plurality of paths is a line of sight path.
Claims
1. A method in a wireless device for identifying a line of sight path, comprising: receiving a signal comprising radio signals sent by a to-be-identified device through a plurality of paths; obtaining an energy of the radio signal transmitted through each of the plurality of paths; and determining that a candidate path of the plurality of paths is a line of sight path when a condition is met, wherein the condition comprises that a ratio of an energy of the radio signal transmitted through the candidate path to a total energy of the radio signals transmitted through the plurality of paths is greater than a threshold.
2. The method according to claim 1, wherein the method further comprises: checking only whether a ratio of an energy of a radio signal transmitted through an earliest-arrival path of the plurality of paths to the total energy of the radio signals transmitted through the plurality of paths is greater than the threshold.
3. The method according to claim 2, wherein there is only one earliest-arrival path.
4. The method according to claim 1, wherein the condition further comprises that the ratio of the energy of the radio signal transmitted through the candidate path to the total energy of the radio signals transmitted through the plurality of paths is continuously greater than the threshold.
5. The method according to claim 1, wherein the method further comprises: measuring an angle of arrival of the radio signal transmitted through the line of sight path.
6. A wireless device comprising an antenna and a processor; wherein the antenna is configured to receive a signal, wherein the signal comprises radio signals sent by a to-be-identified device through a plurality of paths; and the processor is configured to: obtain an energy of the radio signal transmitted through each of the plurality of paths; and determine that a candidate path of the plurality of paths is a line of sight path when a condition is met, wherein the condition comprises that a ratio of an energy of the radio signal transmitted through the candidate path to a total energy of the radio signals transmitted through the plurality of paths is greater than a threshold.
7. The device according to claim 6, wherein the processor is further configured to check only whether a ratio of an energy of a radio signal transmitted through an earliest-arrival path of the plurality of paths to the total energy of the radio signals transmitted through the plurality of paths is greater than the threshold.
8. The device according to claim 7, wherein there is only one earliest-arrival path.
9. The device according to claim 6, wherein the condition further comprises that the ratio of the energy of the radio signal transmitted through the candidate path to the total energy of the radio signals transmitted through the plurality of paths is continuously greater than the threshold.
10. The device according to claim 6, wherein the antenna comprises an antenna array; and the processor is further configured to measure an angle of arrival of the radio signal transmitted through the line of sight path.
11. A non-transitory computer readable medium, having instructions therein, that when executed by a processor in a wireless device, cause the wireless device to perform operations, comprising: receiving a signal comprising radio signals sent by a to-be-identified device through a plurality of paths; obtaining an energy of the radio signal transmitted through each of the plurality of paths; and determining that a candidate path of the plurality of paths is a line of sight path when a condition is met, wherein the condition comprises that a ratio of an energy of the radio signal transmitted through the candidate path to a total energy of the radio signals transmitted through the plurality of paths is greater than a threshold.
12. The computer-readable medium of claim 11, the operations further comprising: checking whether a ratio of an energy of a radio signal transmitted through an earliest-arrival path of the plurality of paths to the total energy of the radio signals transmitted through the plurality of paths is greater than the threshold.
13. The computer-readable medium of claim 12, wherein there is only one earliest arrival path.
14. The computer-readable medium of claim 11, wherein the condition further comprises that the ratio of the energy of the radio signal transmitted through the candidate path to the total energy of the radio signals transmitted through the plurality of paths is continuously greater than the threshold.
15. The computer-readable medium of claim 11, wherein the method further comprises: measuring an angle of arrival of the radio signal transmitted through the line of sight path.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
DESCRIPTION OF EMBODIMENTS
[0033] The technical solutions in embodiments of the present invention are further described in detail with reference to accompanying drawings and the embodiments as follows.
[0034] A communication method provided in this application is applied to a WLAN network shown in
[0035] In
[0036] In an angle-based positioning system, an angle of arrival (AoA) may accurately reflect a geometry relationship between a to-be-identified device (for example, a to-be-identified terminal) and a wireless device (for example, an AP). The to-be-identified device is another wireless device that needs to identify a LOS path. The AoA is an angle at which a radio signal of the to-be-identified terminal arrives at the AP. The LOS path has accurate angle information, and therefore the wireless device may determine a position of the to-be-identified device by measuring the AoA of a radio signal that is transmitted through the LOS path.
[0037] The following describes an example in which a to-be-identified device is a to-be-identified terminal and a wireless device is an AP.
[0038] In
[0039] Both a position change of the to-be-identified terminal and a distance change between the AP and the to-be-identified terminal affect an energy of the signal received by the AP. If there is a LOS path, a radio signal propagated along the LOS path is always a strongest radio signal among the radio signals propagated along all the paths. However, in all paths, a path through which a radio signal with the highest strength is transmitted is not necessarily a LOS path. This is because that there is definitely a path with the highest radio signal strength in all NLOS paths, even though no LOS path exists. If no LOS path exists, none of the NLOS paths has a radio signal much stronger than any other radio signals. Therefore, accuracy of determining the LOS path can be improved by using a ratio of an energy of a radio signal propagated along a single path to a total energy as a basis.
[0040]
[0041] Operation 510: An AP receives a signal, where the signal includes radio signals sent by a to-be-identified terminal through a plurality of paths.
[0042] The to-be-identified terminal sends the radio signal. The radio signal may be transmitted through a plurality of paths such as a direct path, a reflection path, or a scattering path, to arrive at an antenna of the AP. The radio signal transmitted through each path is a duplicate of the radio signal sent by the to-be-identified terminal. In other words, the signal received by the antenna of the AP includes a radio signal transmitted through a LOS path and/or a radio signal transmitted through an NLOS path. The plurality of paths means two or more paths.
[0043] The AP may use a clustering method or a training sequence-based identification method to distinguish between the plurality of paths through which the radio signal is transmitted.
[0044] The AP may use the clustering method to distinguish between the plurality of paths through which the radio signals are transmitted. The AP may collect a plurality of pieces of sample data, determine a LOS state of the to-be-identified terminal in the clustering manner, and determine the LOS path of the to-be-identified terminal. As shown in
[0045] It can be seen that in the clustering method, the plurality of paths through which the radio signals are transmitted are first identified, and then the LOS path is determined based on the dispersion degree of the clustered points. The LOS path cannot be identified accurately by using the clustering method, but the plurality of paths can be distinguished accurately. Therefore, the AP may use the clustering method to distinguish between the plurality of paths through which the radio signals are transmitted.
[0046] When using the clustering method to distinguish between the plurality of paths through which the radio signals are transmitted, the AP may configure a plurality of antennas (for example, three or four antennas) to improve clustering accuracy, so that an estimated AoA is relatively accurate, and the LOS path can be identified in a better manner. This reduces a possibility of energy superposition of the radio signals on the paths, which occurs because the AP cannot distinguish between two or more paths and incorrectly identifies the two or more paths as one path.
[0047] In a WLAN, by using a long training field (LTF) in a WLAN radio signal, the AP may distinguish between the plurality of paths through which the radio signal is transmitted.
[0048] The AP may receive the signal. The signal includes the radio signals sent by the to-be-identified terminal through the plurality of paths. The radio signal includes a first training sequence, and the signal is a superposition of a plurality of first training sequences transmitted through the plurality of paths. The AP matches the signal and a second training sequence stored in the AP to obtain time points at which the plurality of first training sequences transmitted through the plurality of paths are received. The first training sequence and the second training sequence have a same value. A training sequence has good autocorrelation in the time domain. Therefore, radio signals received at close time points can be distinguished between each other by using the training sequence to identify a time point at which the radio signal is received. In other words, a strong distinguishing capability in the time domain is provided.
[0049] The AP obtains distribution of the plurality of paths in the time domain based on distribution of time points of the plurality of first training sequences in the time domain, to distinguish between the plurality of paths through which the radio signal is transmitted.
[0050] Operation 520: The AP obtains, based on the received signal, an energy of the radio signal transmitted through each of the plurality of paths.
[0051] The signal received by the AP is a radio signal transmitted along each of the plurality of paths. The AP may obtain, based on the signal, the energy of the radio signal transmitted through each of the plurality of paths.
[0052] Operation 530: The AP determines a line of sight path based on an energy of a to-be-checked path of the plurality of paths.
[0053] Before performing operation 530, the AP may select the to-be-checked path from the plurality of paths. The to-be-checked path is at least one path possibly including the LOS path.
[0054] The AP may select all the paths as the to-be-checked paths. The AP checks whether all the paths meet a determining condition, and determines that a to-be-checked path meeting the condition is the LOS path, to reduce complexity of LOS path identification software or hardware.
[0055] The LOS path may be a shortest transmission path between the AP and the to-be-identified terminal, and therefore a radio signal transmitted through the LOS path arrives at the AP earliest.
[0056] Based on this, the AP selects at least one path of the earliest-arrived radio signal as the to-be-checked path. It can be understood that, if there is an LOS path between the AP and the to-be-identified terminal, one or more paths through which the radio signal that arrives earliest is transmitted definitely include the LOS path. In other words, the to-be-checked paths definitely include the LOS path. The AP checks whether each of the to-be-checked paths meets a determining condition, and determines that a to-be-checked path meeting the condition is the LOS path, to simplify a process of identifying the LOS path.
[0057] If the AP has a sufficiently high distinguishing capability, the AP can determine a unique path through which the radio signal that arrives earliest (first) is transmitted as the to-be-checked path. The AP checks whether the to-be-checked path meets the determining condition, and if the to-be-checked path meets the condition, the AP determines that the to-be-checked path is the LOS path. In other words, the AP checks whether an energy of the one radio signal meets the foregoing condition.
[0058] It can be seen that the path through which the radio signal that arrives earliest is selected as the to-be-checked path, greatly reducing a quantity of to-be-checked paths and shortening a time for determining the LOS path by the AP.
[0059] The AP performs determining on each to-be-checked path based on an energy of each of the to-be-checked paths of the plurality of paths. The determining method may be as follows: determining whether a ratio of an energy of a radio signal transmitted through the to-be-checked path to a total energy of the radio signals transmitted through the plurality of paths is greater than a threshold.
[0060] When there is a to-be-checked path, and a ratio of an energy of a radio signal transmitted through the to-be-checked path to a total energy of the radio signals transmitted through a plurality of paths is greater than a threshold, the AP determines that the to-be-checked path is the LOS path.
[0061] When a ratio of an energy of a radio signal transmitted through any to-be-checked path to the total energy of the radio signals transmitted through the plurality of paths is less than the threshold, the AP determines that no LOS path exists.
[0062] It is assumed that there are T paths in total, and the threshold is E.sub.G. A condition for a ratio of an energy of a radio signal transmitted through a to-be-checked path to the total energy of the radio signals transmitted through the T paths may be expressed as: E.sub.i/E.sub.T>E.sub.G. E.sub.i represents an energy of a radio signal transmitted through an i.sup.th to-be-checked path, and E.sub.T represents the total energy of the radio signals transmitted through the T paths. T is a positive integer greater than or equal to 2, and i is a positive integer less than or equal to T. The AP separately compares E.sub.i/E.sub.T of each of to-be-checked paths with E.sub.G, to identify a to-be-checked path whose energy ratio is greater than the threshold, and determines that the to-be-checked path is the LOS path.
[0063] The expression of the condition for the ratio of the energy of the radio signal transmitted through the to-be-checked path to the total energy of the radio signals transmitted through the T paths is not unique, for example, 10 log.sub.10(E.sub.i/E.sub.T)>10 log.sub.10E.sub.G, E.sub.i/(E.sub.TE.sub.i)>E.sub.G/(1E.sub.G), or 10 log.sub.10(E.sub.i/(E.sub.TE.sub.i))>10 log.sub.10(E.sub.G/(1E.sub.G)).
[0064] All values in a computer are discrete. Therefore, that the energy ratio is greater than the threshold may be determined based on that the energy ratio is greater than the threshold or that the energy ratio is greater than or equal to another value, where the another value is a discrete value greater than the threshold, and there are no other discrete values between the discrete value and the threshold.
[0065] As a position of the to-be-identified terminal changes, a to-be-checked path between the to-be-identified terminal and the AP may change accordingly. As shown in
[0066] When the position of the to-be-identified terminal does not change, no obstruction stands on two dashed-line paths between the to-be-identified terminal and an AP1 and between the to-be-identified terminal and an AP2. In this case, the two dashed-line paths are to-be-checked paths of the AP1 and the AP2, and both meet that an energy ratio of an energy of a radio signal transmitted through the to-be-checked path to a total energy of the radio signals transmitted through a plurality of paths is greater than a threshold. As shown in
[0067] In a position change process of the to-be-identified terminal, no obstruction stands between the to-be-identified terminal and the AP1, and the dashed-line path still meets the condition that the energy ratio of the energy of the radio signal transmitted through the dashed-line path to the total energy of the radio signals transmitted through the plurality of paths is greater than the threshold. Therefore, there is a LOS path between the to-be-identified terminal and the AP1, as shown in
[0068] Based on this, the AP may also use a determining method that a ratio of an energy of a radio signal transmitted through the to-be-checked path to a total energy of the radio signals transmitted through a plurality of paths is continuously greater than a threshold, to determine whether a to-be-checked path is a LOS path. Continuous may mean a continuous time or a quantity of consecutive times.
[0069] For example, if the AP determines that a ratio of an energy of a radio signal transmitted through a to-be-checked path to a total energy of the radio signals transmitted through a plurality of paths is continuously greater than a threshold within a preset time period (for example, one second), the AP determines that the to-be-checked path is a LOS path.
[0070] For another example, if the AP determines that a ratio of an energy of a radio signal transmitted through a to-be-checked path to a total energy of the radio signals transmitted through a plurality of paths is continuously greater than a threshold within a preset quantity of times (for example, three times), the AP determines that the to-be-checked path is a LOS path.
[0071] In the foregoing determining method, an energy ratio of a to-be-checked path is continuously compared with a threshold, thereby improving accuracy of identifying a LOS path.
[0072] It can be seen that according to the method for identifying a line of sight path provided in this embodiment of the present invention, the AP receives the radio signals sent by the to-be-identified terminal through the plurality of paths, and obtains, based on the radio signals sent by the to-be-identified terminal through the plurality of paths, an energy of the radio signal transmitted through each of the paths. When the ratio of the energy of the radio signal transmitted through the to-be-checked path to the total energy of the radio signals transmitted through the plurality of paths is greater than the threshold, the AP determines that the to-be-checked path of the plurality of paths is the line of sight path. This method improves accuracy of determining the line of sight path by the AP.
[0073]
[0074] The wireless device includes at least a receiving unit 1010 and a processing unit 1020.
[0075] The receiving unit 1010 is configured to receive a signal. The signal includes radio signals sent by a terminal through a plurality of paths.
[0076] The processing unit 1020 is configured to obtain, based on the signal received by the receiving unit 1010, an energy of the radio signal transmitted through each of the plurality of paths.
[0077] When a condition is met, the processing unit 1020 is further configured to determine that a candidate path of a to-be-checked path of the plurality of paths is a line of sight path. The condition includes that a ratio of an energy of the radio signal transmitted through the candidate path to a total energy of the radio signals transmitted through the plurality of paths is greater than a threshold.
[0078] The processing unit 1020 may be further configured to check whether a ratio of an energy of a radio signal that arrives earliest through a to-be-checked path to the total energy of the radio signals transmitted through the plurality of paths is greater than the threshold. The earliest-arrival path is one or more paths, of the plurality of paths, used to transmit the radio signal that arrives earliest.
[0079] There may be one earliest-arrival path.
[0080] The condition may further include that the ratio of the energy of the radio signal transmitted through the candidate path of the to-be-checked paths to the total energy of the radio signals transmitted through the plurality of paths is continuously greater than the threshold.
[0081] The processing unit 1020 may be further configured to measure an angle of arrival of the radio signal transmitted through the line of sight path, to determine a position of the to-be-measured terminal.
[0082] Functions of functional units of the wireless device can be implemented by performing the operations in the foregoing embodiments. Therefore, a specific working process of the wireless device provided in this embodiment of the present invention is not described herein.
[0083]
[0084] The wireless device includes at least a processor 1110, an antenna 1120, and a network interface 1150.
[0085] The wireless device may further include a memory 1130 and/or a power supply 1140.
[0086] The processor 1110 may be a central processing unit (CPU) or a combination of a CPU and a hardware chip. 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 generic array logic (GAL), or any combination thereof. The processor 1110 is configured to control the entire network device and signal processing. The processor 1110 may include a modem 1111.
[0087] The modem 1111 is configured to module/demodulate a WLAN signal. The modem 1111 is connected to the antenna 1120, to receive and transmit a WLAN signal.
[0088] The network interface 1150 is connected to a peripheral device (for example, a server), to perform data transmission with the peripheral device.
[0089] The memory 1130 may include a volatile memory, for example, a random-access memory (RAM). The memory 1130 may also include a non-volatile memory, for example, a read-only memory (ROM), a flash memory, a hard disk drive, or a solid-state drive. The memory 1130 may also include a combination of the foregoing types of memories. The memory 1130 is configured to store various applications, operating systems, and data. The memory 1130 may transmit the stored data to the processor 1110.
[0090] It can be understood that the memory 1130 may be integrated into the processor 1110 or may exist independently.
[0091] The antenna 1120 is configured to receive a signal. The signal includes radio signals sent by a to-be-identified terminal through a plurality of paths. The antenna 1120 may include an antenna array.
[0092] The processor 1110 is configured to obtain, based on the signal received by the antenna 1120, an energy of the radio signal transmitted through each of the plurality of paths.
[0093] When a condition is met, the processor 1110 is further configured to determine that a candidate path of the plurality of paths is a line of sight path. The condition includes that a ratio of an energy of the radio signal transmitted through the candidate path to a total energy of the radio signals transmitted through the plurality of paths is greater than a threshold.
[0094] For problem-resolving implementations of components of the wireless device and beneficiary effects in the foregoing embodiment, refer to method implementations and beneficiary effects shown in
[0095] Operations of methods or algorithms described in the disclosed embodiments may be implemented by hardware, a software module executed by a processor, or a combination thereof. A software instruction may include a corresponding software module. The software module may be stored in a random access memory, a flash memory, a read-only memory, an erasable programmable read only memory (EPROM), an electrically erasable programmable read only memory (EEPROM), a hard disk, an optical disc, or any other form of storage medium well-known in the art. For example, a storage medium is coupled to a processor, so that the processor can read information from the storage medium or write information into the storage medium. The storage medium may be a component of the processor. The processor and the storage medium may exist in a user device as discrete components.
[0096] A person skilled in the art should be aware that in the foregoing one or more examples described in this application may be implemented by hardware, software, firmware, or any combination thereof. When the functions are implemented by the software and the firmware, these functions may be stored in a computer readable medium.
[0097] The objectives, technical solutions, and beneficiary effects of this application are further described in detail in the foregoing embodiments. It should be understood that the foregoing descriptions are embodiments of this application, but are not intended to limit the protection scope of this application. Any modification or improvement made based on the technical solutions of this application shall fall within the protection scope of this application.