Method and system for judging entry and exit of personnel in field domain
By using a dual-polar antenna receiver and main console to determine the entry and exit of personnel, the problem of low positioning accuracy in the existing technology is solved, and the cost of hardware construction is reduced while accurately judging the movement direction and position of personnel.
Patent Information
- Application Number
- CN202410215022.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-02-02
- Filing Date
- 2024-02-27
- Publication Date
- 2025-08-05
AI Technical Summary
The existing indoor positioning system has high complexity and multi-path reflective interference, resulting in low positioning accuracy, which increases system installation and maintenance costs and may cause personnel management errors.
A receiver is adopted, equipped with a dual-polar antenna, which receives the signal strength indication and orientation information transmitted by the transmitter, and uses the main console to judge the entry and exit of the field of personnel, reducing the cost of hardware construction.
It realizes accurate judgment of the movement direction and position of personnel, reducing the cost of hardware construction.
Smart Images

Figure CN120428162A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a positioning analysis technology, and more particularly to a method and system for determining whether a person enters or exits a venue. Background Art
[0002] Current indoor positioning systems, regardless of the radio frequency technology they utilize (e.g., Wi-Fi, Bluetooth, iBeacon, ultra-wideband (UWB), radio-frequency identification (RFID)) or the wireless signal characteristics they utilize (e.g., received signal strength indication (RSSI), time of arrival (ToA), time difference of arrivals (TDoA), angle of arrival (AoA), angle of departure (AoD)), suffer from reduced accuracy due to their high complexity or susceptibility to interference from factors such as multipath reflections. This increases system installation and maintenance costs, and can also lead to numerous errors in personnel control and positioning due to inaccuracies.
[0003] Therefore, how to develop a technology that can more accurately determine whether people enter or exit a venue using a simple system has become a topic that those skilled in the art are working on. Summary of the Invention
[0004] The following disclosure is merely illustrative and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, other aspects, embodiments, and features will become apparent by reference to the accompanying drawings and the following detailed description. That is, the following disclosure is provided to introduce the concepts, key points, benefits, and novel and non-obvious technical advantages described herein. Selected, but not all, embodiments are described in further detail below. Therefore, the following disclosure is not intended to be essential features of the claimed subject matter, nor is it intended to determine the scope of the claimed subject matter.
[0005] Therefore, the main purpose of the present disclosure is to provide a method and system for determining whether a person enters or exits a venue. Only one receiver is needed to accurately determine the movement direction and position of a person, thereby reducing hardware construction costs.
[0006] The present disclosure proposes a method for determining whether a person enters or exits an area, comprising: receiving a measurement signal transmitted by a transmitter configured by a person using a receiver disposed above an entrance or exit of the area, wherein the receiver has a first receiving antenna and a second receiving antenna, and the first receiving antenna and the second receiving antenna are dual-polarized antennas; obtaining a received signal strength indication (RSSI) and orientation information of the transmitter based on the measurement signal using the receiver, wherein the orientation information includes a phase difference of the measurement signal and / or an angle of arrival (AoA) of the transmitter relative to the receiver; and receiving the signal strength indication and orientation information transmitted by the receiver using a main console, and determining whether the person has passed or not passed through the entrance or exit based on a preset number of the signal strength indications and orientation information.
[0007] In some embodiments, the receiver receives the measurement signal transmitted by the transmitter by alternately using the first receiving antenna and the second receiving antenna in an I / Q (In-phase / Quadrature) sampling mode.
[0008] In some embodiments, the step of judging whether the person has passed through the entrance and exit based on the preset number of signal strength indications and the azimuth information also includes: obtaining the phase difference average value and the phase difference standard deviation of the first receiving antenna and the second receiving antenna according to each arrival angle; filtering the phase difference standard deviation; obtaining a first weighted phase difference average value based on the filtered phase difference standard deviation; averaging a first number of the first weighted phase difference average values and the signal strength indications to obtain a second weighted phase difference average value and a signal strength indication average value; and judging whether the person has passed through the entrance and exit based on a second number of the second weighted phase difference average values and the signal strength indication average value.
[0009] In some embodiments, the step of judging whether the person has passed through the entrance or exit based on the second number of second weighted phase difference average values and the signal strength indication average value also includes: when conditions (1) to (3) are all met, judging that the person has passed through the entrance or exit; wherein the above condition (1) is that the absolute value of at least one of the second weighted phase difference average values of the above second number is less than a first preset value; the above condition (2) is that the second weighted phase difference average values of the above second number undergo a positive or negative change; and the above condition (3) is that a maximum value minus a minimum value of the signal strength indication average values of the above second number is between a second preset value and a third preset value.
[0010] In some embodiments, when the positive-negative change is from positive to negative, the main console determines that the transmitter passes through the entrance and exit from inside the field to outside the field; and when the positive-negative change is from negative to positive, the main console determines that the transmitter passes through the entrance and exit from outside the field to inside the field.
[0011] In some embodiments, the step of judging whether the person has passed through the entrance and exit based on the preset number of signal strength indications and the direction information also includes: obtaining the arrival angle average value and the arrival angle standard deviation of the first receiving antenna and the second receiving antenna based on each arrival angle; filtering the arrival angle standard deviation; obtaining a first weighted arrival angle average value based on the filtered arrival angle standard deviation; averaging a first number of the first weighted arrival angle average values and the signal strength indications to obtain a second weighted arrival angle average value and a signal strength indication average value; and judging whether the person has passed through the entrance and exit based on a second number of the second weighted arrival angle average values and the signal strength indication average value.
[0012] In some embodiments, the step of judging whether the person has passed through the entrance and exit based on the second weighted average values of the second number of arrival angles and the average value of the signal strength indication further includes: judging whether the person has passed through the entrance and exit when all conditions (1) to (3) are met; wherein the condition (1) is that the absolute value of at least one of the second weighted average values of the second number of arrival angles is less than a first preset value; the condition (2) is that the second weighted average values of the second number of arrival angles undergo a positive or negative change; and the condition (3) is that a maximum value minus a minimum value of the second number of signal strength indication average values is between a second preset value and a third preset value.
[0013] In some embodiments, when the positive-negative change is from positive to negative, the main console determines that the transmitter passes through the entrance and exit from inside the field to outside the field; and when the positive-negative change is from negative to positive, the main console determines that the transmitter passes through the entrance and exit from outside the field to inside the field.
[0014] The present disclosure proposes a system for determining whether a person enters or exits an area, comprising: a receiver, disposed above an entrance or exit of the area, and having a first receiving antenna and a second receiving antenna, wherein the first receiving antenna and the second receiving antenna are dual-polarized antennas; and a main console, coupled to the receiver; wherein the receiver receives a measurement signal transmitted by a transmitter configured by a person, and obtains a signal strength indication (RSSI) and orientation information of the transmitter based on the measurement signal, wherein the orientation information includes a phase difference of the measurement signal and / or an angle of arrival (AoA) of the transmitter relative to the receiver; the main console receives the signal strength indication and the orientation information transmitted from the receiver, and determines whether the person has passed or not passed through the entrance or exit based on a preset number of the signal strength indications and the orientation information. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 The present invention shows a system for determining whether a person enters or exits a venue according to an embodiment of the present disclosure.
[0016] Figure 2 FIG. 4 is a detailed structural diagram showing a receiver, a main console, and a transmitter according to an embodiment of the present disclosure.
[0017] Figure 3A FIG. 2 is a diagram showing the principle of angle of arrival (AoA) estimation according to an embodiment of the present disclosure.
[0018] Figure 3B 2 is a diagram showing the internal structure of a receiver according to an embodiment of the present disclosure.
[0019] Figure 4 The present invention is a flowchart showing a method for determining whether a person enters or exits a venue according to an embodiment of the present invention.
[0020] Figure 5 An exemplary operating environment for implementing embodiments of the present invention is shown.
[0021]
Explanation of symbols
[0022] 100: System
[0023] 110: Receiver
[0024] 111: Power module
[0025] 112: Identity recognition module
[0026] 113: Signal receiving module
[0027] 114: Input / Output Module
[0028] 115: Antenna array module
[0029] 116: Time synchronization module
[0030] 117:AoA angle measurement module
[0031] 118: RSSI measurement module
[0032] 120: Main console
[0033] 121: Power module
[0034] 122: Input / Output Module
[0035] 123: RSSI analysis module
[0036] 124:AoA analysis module
[0037] 125: Historical Record Analysis Module
[0038] 126: Time synchronization module
[0039] 127: Entry and exit event judgment module
[0040] 130: Transmitter
[0041] 131: Power module
[0042] 132: Identity recognition module
[0043] 133:Signal transmission module
[0044] 134: Antenna module
[0045] 135: Time synchronization module
[0046] 140: Entrance and Exit
[0047] 150: Personnel
[0048] 160: Main sensing area
[0049] 310: Receiver
[0050] 312: First receiving antenna
[0051] 3122:Horizontally polarized antenna
[0052] 3124: Vertically polarized antenna
[0053] 314: Second receiving antenna
[0054] 3142:Horizontally polarized antenna
[0055] 3144: Vertically polarized antenna
[0056] 330: Transmitter
[0057] 340: Entrance and Exit
[0058] 350: Personnel
[0059] 400: Flowchart
[0060] S405, S410, S415: Steps
[0061] 500: Electronic devices
[0062] 510: Bus
[0063] 512: Memory
[0064] 514: Processor
[0065] 516: Display element
[0066] 518: I / O port
[0067] 520:I / O components
[0068] 522: Power supply DETAILED DESCRIPTION
[0069] Various aspects of the present disclosure will be described more fully below with reference to the accompanying drawings. However, the present disclosure can be embodied in many different forms and should not be construed as being limited to any specific structure or function presented throughout the present disclosure. On the contrary, providing these aspects will make the present disclosure comprehensive and complete, and the present disclosure will fully convey the scope of the present disclosure to those skilled in the art. Based on what is taught herein, those skilled in the art will appreciate that the scope of the present disclosure is intended to cover any aspect disclosed herein, whether implemented alone or in combination with any other aspect of the present disclosure. For example, any number of devices or execution methods proposed herein may be used to implement the disclosure. In addition, in addition to the various aspects of the present disclosure proposed herein, the scope of the present disclosure is further intended to cover devices or methods implemented using other structures, functions, or structures and functions. It should be understood that any aspect disclosed herein may be embodied by one or more elements of the claims.
[0070] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any aspect of the disclosure or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects of the disclosure or design. Additionally, like numbers refer to like elements throughout the several figures, and the articles "a," "an," and "above" include plural references unless the description dictates otherwise.
[0071] It will be understood that when an element is referred to as being "connected" or "coupled" to another element, the element can be directly connected or coupled to the other element or there may be intervening elements. Conversely, when the element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements. Other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between" versus "directly between," "adjacent" versus "directly adjacent," etc.).
[0072] The embodiments of the present disclosure provide a method for determining whether a person enters or exits a venue. Only one receiver needs to be deployed to accurately detect the direction of travel of a person wearing a transmitter, thereby effectively reducing the cost of hardware maintenance.
[0073] Figure 1 FIG. 1 is a diagram showing a system 100 for determining whether a person enters or exits a field according to an embodiment of the present disclosure. Figure 1 In the embodiment, the system 100 for determining whether a person enters or exits a venue may be formed by at least a receiver 110 and a main console 120 .
[0074] Receiver 110 is disposed above a doorway 140 and is configured to receive a measurement signal transmitted by a transmitter 130 worn by a person 150 within a primary sensing area 160. Receiver 110 obtains a received signal strength indication (RSSI) of transmitter 130 and an angle of arrival (AoA) of transmitter 130 relative to receiver 110 based on the measurement signal, and transmits the RSSI and AoA to console 120. In one embodiment, receiver 110 is an AoA receiver.
[0075] The console 120 can be of any type, ranging from a small handheld device (e.g., a mobile phone / portable computer) to a large mainframe system (e.g., a mainframe computer). Examples of portable computers include personal digital assistants (PDAs), notebook computers, and the like. The console 120 can be connected to the receiver 110 via a network, wherein the network can be any type of network familiar to those skilled in the art, and can support data communication using any of a variety of communication protocols, including but not limited to TCP / IP, etc. For example, the network can be a local area network (LAN) such as an Ethernet network, a virtual network including but not limited to a virtual private network (VPN), the Internet, a wireless network, and / or any combination of these and / or other networks.
[0076] The main console 120 can receive the signal strength indicator and position information transmitted from the receiver 110 and obtain a location of the person 150 based on the signal strength indicator and position information. The main console 120 can then determine whether the person 150 has passed through the entrance 140 or not based on a predetermined number of signal strength indicators and arrival angles.
[0077] In one embodiment, the receiver 110 and the console 120 are integrated into one device or mounted on the same chip or the same platform.
[0078] The following will describe the receiver 110, the main control station 120 and the transmitter 130 in more detail. Figure 2 shown.
[0079] The main console 120 may include a power module 121 , an input / output module 122 , an RSSI analysis module 123 , an AoA analysis module 124 , a history analysis module 125 , a time synchronization module 126 , and an entry / exit event determination module 127 .
[0080] The power module 121 is used to power the console 120. The input / output module 122 is used to receive and transmit control signals and data between the console 120 and the receiver 110. In one embodiment, the input / output module 122 may be a wired interface with power supply, such as a Universal Serial Bus (USB) or Power over Ethernet (PoE) device, or a wireless interface, such as Wi-Fi or Bluetooth.
[0081] The RSSI analysis module 123 may execute an algorithm to analyze the RSSI value and determine the distance between the transmitter 130 and the receiver 110. The AoA analysis module 124 may execute an algorithm to analyze the spatial orientation angle of the transmitter 130 relative to the receiver 110, ie, the AoA value.
[0082] The entry / exit event determination module 127 can execute a determination mechanism or algorithm to determine whether the transmitter 130 has moved based on the RSSI value and the AoA value. The time synchronization module 126 can provide system time synchronization to mark the time when the transmitter 130 has moved. The history analysis module 125 records the location of the transmitter 130 determined by the entry / exit event determination module 127 and the time when the transmitter 130 has moved as marked by the time synchronization module 126, and can also provide other historical query functions.
[0083] The transmitter 130 may include a power module 131 , an identification module 132 , a signal transmission module 133 , an antenna module 134 and a time synchronization module 135 .
[0084] The power module 131 is configured to power the transmitter 130. The identification module 132 is configured to record identification information including the unique identifier (ID) of the transmitter 130. The identification information is entrained (modulated) in an RF signal and transmitted by the transmitter 130. The antenna module 134 is configured to transmit the RF signal. The signal transmission module 133 is configured to modulate the identification information into an RF signal that complies with the AoA specification. The RF signal includes the identification information and a constant tone extension (CTE). This CTE signal causes the RSSI and AoA angle information obtained by the receiver 110 when demodulating the RF signal to vary depending on the location of the transmitter 130. The time synchronization module 135 is configured to synchronize the system 100 with time. If the system 100 only requires synchronization between the receiver 110 and the console 120, the time synchronization module 135 is not required.
[0085] The receiver 110 may include a power module 111 , an identification module 112 , a signal receiving module 113 , an input / output module 114 , an antenna array module 115 , a time synchronization module 116 , an AoA angle measurement module 117 , and an RSSI measurement module 118 .
[0086] The power module 111 is configured to power the receiver 110. The time synchronization module 116 is configured to synchronize time with the main console 120. The antenna array module 115 is configured to receive RF signals from the transmitter 130 that comply with the AoA specification. The antenna array module 115 includes a first receiving antenna and a second receiving antenna. The first receiving antenna and the second receiving antenna form a straight line perpendicular to the entrance and are positioned downward above the entrance to generate a radio path difference for the receiver 110, thereby enabling the acquisition of AoA angle information. The signal receiving module 113 is configured to demodulate the RF signal. The identification module 112 obtains and identifies the identification information of the transmitter 130 from the signal demodulated by the signal receiving module 113. The RSSI measurement module 118 obtains the signal strength indicator (RSSI) of the RF signal emitted by the transmitter 130 from the signal demodulated by the signal receiving module 113. The AoA angle measurement module 117 obtains the AoA angle information contained in the RF signal transmitted by the transmitter 130 from the demodulated signal received by the signal receiving module 113. The input / output module 114 transmits the transmitter 130's identification information, time information, and the transmitter 130's spatial location (including the AoA angle information and RSSI) to the main control station 120. This identification information, time information, and the transmitter 130's spatial location are used by the RSSI analysis module 123, AoA analysis module 124, and entry / exit event determination module 127 within the main control station 120 to determine whether the transmitter 130 has moved in spatial location and record this information in the main control station 120's historical records.
[0087] It should be understandable. Figure 1 and Figure 2 The receiver 110 , the console 120 , and the transmitter 130 shown are examples of the architecture of the system 100 for determining whether a person enters or exits an area. Figure 1 and Figure 2 Each device shown can be implemented via any type of electronic device, such as Figure 5 The electronic device 500 described, such as Figure 5 shown.
[0088] Figure 3A : is a schematic diagram showing the principle of AoA estimation according to an embodiment of the present disclosure. Figure 3A In FIG, the straight line formed by the first receiving antenna 312 and the second receiving antenna 314 of the receiver 310 is perpendicular to the entrance 340. The first receiving antenna 312 and the second receiving antenna 314 are dual-polarized antennas, wherein the first receiving antenna 312 may include a horizontally polarized antenna 3122 and a vertically polarized antenna 3124, and the second receiving antenna 314 may include a horizontally polarized antenna 3142 and a vertically polarized antenna 3144. Figure 3B shown.
[0089] In I / Q (In-Phase / Quadrature) sampling mode, the first receiving antenna 312 and the second receiving antenna 314 continuously switch in a specified switching pattern to receive measurement signals transmitted by a transmitter 330 worn by a person 350. When one of the receiving antennas is in the sampling period, the received measurement signal remains unchanged. By switching the I / Q sampling values obtained by the two receiving antennas, the phase difference, average phase difference, and standard deviation of the measurement signals received by the horizontally polarized antenna 3122 and vertically polarized antenna 3124 of the first receiving antenna 312 and the horizontally polarized antenna 3142 and vertically polarized antenna 3144 of the second receiving antenna 314 can be calculated. The receiver 310 can then determine the angle of arrival of the transmitter 330 relative to the receiver 310 based on the phase difference of any measurement signal received by different receiving antennas.
[0090] Figure 4 400 is a flowchart showing a method for determining whether a person enters or exits a field according to an embodiment of the present disclosure. Figure 1 and Figure 2 The system 100 shown in FIG. 1 is used to determine whether a person enters or exits a site.
[0091] In step S405, a receiver positioned above a site entrance receives a measurement signal transmitted by a transmitter worn by a person. The receiver comprises a first receiving antenna and a second receiving antenna. The first and second receiving antennas form a line perpendicular to the site entrance and are positioned downwardly above the site entrance. In one embodiment, the first and second receiving antennas are dual-polarized antennas.
[0092] In step S410, the receiver obtains a received signal strength indication (RSSI) and orientation information of the transmitter based on the measurement signal, wherein the orientation information includes a phase difference of the measurement signal and / or an angle of arrival (AoA) of the transmitter relative to the receiver.
[0093] In step S415 , a main control station receives the signal strength indication and the position information transmitted from the receiver, and determines whether the person has passed through the entrance or exit based on a predetermined number of signal strength indications and position information.
[0094] To explain in more detail, when the azimuth information received by the main console includes the phase difference of the above-mentioned measurement signal, the main console can obtain the average phase difference and the standard deviation of the phase difference between the horizontally polarized antenna and the vertically polarized antenna in the first receiving antenna and the horizontally polarized antenna and the vertically polarized antenna in the second receiving antenna based on each phase difference transmitted by the receiver.
[0095] For example, if Figure 3B As shown, the first receiving antenna 312 includes a horizontally polarized antenna 3122 and a vertically polarized antenna 3124, and the second receiving antenna 314 includes a horizontally polarized antenna 3142 and a vertically polarized antenna 3144. The receiver can receive measurement signals via different polarized antennas according to a predetermined switching sequence. Assume that the switching sequence is a cyclic sequence of horizontally polarized antenna 3122, vertically polarized antenna 3124, horizontally polarized antenna 3142, and vertically polarized antenna 3144. When measurement signal 1 is received via horizontally polarized antenna 3122 in the current time slot, measurement signal 2 is received via vertically polarized antenna 3124 in the next time slot, and so on. After receiving the measurement signals, the first receiving antenna 312 and the second receiving antenna 314 can obtain corresponding I / Q data based on the measurement signals to determine the phase difference between the transmitter and the receiver, where I (in-phase) represents in-phase and Q (quadrature) represents quadrature. The main control station then obtains the phase difference average value and phase difference standard deviation of the horizontal polarization antenna and the vertical polarization antenna in the first receiving antenna and the horizontal polarization antenna and the vertical polarization antenna in the second receiving antenna according to each phase difference transmitted by the receiver.
[0096] Next, the console filters the phase difference standard deviation. A high phase difference standard deviation indicates poor signal quality, while a low phase difference standard deviation indicates good signal quality. If the phase difference standard deviation of the horizontally polarized antenna and the vertically polarized antenna exceeds a certain value (e.g., 20), the corresponding phase difference standard deviation will not be used. In other words, the console filters out poor-quality measurement signals and retains higher-quality measurement signals.
[0097] The main control station assigns weights corresponding to the average phase difference values of the horizontally polarized antenna and the vertically polarized antenna based on the filtered phase difference standard deviation to obtain a first weighted average phase difference value. The formula for the first weighted average phase difference value is as follows:
[0098]
[0099] Among them H Avg and V Avg are the average phase differences of the horizontally polarized antenna and the vertically polarized antenna, H Dev and V Dev are the standard deviations of the phase differences of the horizontally polarized antenna and the vertically polarized antenna after filtering, respectively.
[0100] The main control station obtains a first number of first weighted phase difference average values and a first number of signal strength indicators and averages them to obtain a second weighted phase difference average value and a signal strength indicator average value. In one embodiment, the first number is 6. For example, the main control station obtains six first weighted phase difference average values and six signal strength indicators corresponding to six filtered measurement signals, and averages the six first weighted phase difference average values and the six signal strength indicators to obtain a second weighted phase difference average value and a signal strength indicator average value.
[0101] The main control station determines whether the person has passed through the entrance or exit based on a second number of second weighted phase difference average values and signal strength indicator average values. In one embodiment, the second number is 9. In some embodiments, a first-in-first-out (FIFO) data queue management structure can be used to manage the second number of second weighted phase difference average values and signal strength indicator average values. For example, the main control station will sequentially obtain the second weighted phase difference average values and signal strength indicator average values for the first to ninth records in the first instance, and the second number of second weighted phase difference average values and signal strength indicator average values for the second to tenth records in the second instance, and so on.
[0102] To explain in more detail, the main control station will determine whether conditions (1) to (3) are met, wherein condition (1) is that the absolute value of at least one of the second weighted phase difference average values of the second number is less than a first preset value (for example, the first preset value is 15); condition (2) is that the second weighted phase difference average values of the second number undergo a positive or negative change; and condition (3) is that the maximum value minus the minimum value of the second number of signal strength indicator average values is between a second preset value and a third preset value (for example, the second preset value is 10 and the third preset value is 30). When conditions (1) to (3) are all met, the main control station determines that the above-mentioned person has passed through the above-mentioned entrance and exit.
[0103] In condition (2), it is assumed that when more than half of the second weighted phase difference average values are greater than the fourth preset value (for example, the fourth preset value is 10), the main control station judges it as positive; conversely, when more than half of the second weighted phase difference average values are less than the fifth preset value (for example, the fifth preset value is -10), the main control station judges it as negative. When less than half of the second weighted phase difference average values are greater than the fourth preset value or less than half of the second weighted phase difference average values are less than the fifth preset value, the main control station judges the positive or negative based on the previous judgment. For example, when the previous judgment was positive, the main control station judges this time as positive. When the previous judgment was negative, the main control station judges this time as negative. The main control station continuously monitors the second number of second weighted phase difference average values. When the positive or negative change is from positive to negative, the main control station judges that the transmitter has passed through the entrance and exit from the field to the outside of the field. When the positive or negative change is from negative to positive, the main control station judges that the transmitter has passed through the above-mentioned entrance and exit from the outside of the field to the field.
[0104] In another embodiment, when the azimuth information received by the main control station includes the above-mentioned arrival angle, the main control station can obtain the average arrival angle and the standard deviation of the arrival angle of the horizontally polarized antenna and the vertically polarized antenna in the first receiving antenna and the horizontally polarized antenna and the vertically polarized antenna in the second receiving antenna based on each arrival angle transmitted by the receiver.
[0105] Next, the control center filters the angle of arrival standard deviation. A high angle of arrival standard deviation indicates poor signal quality, while a low angle of arrival standard deviation indicates good signal quality. If the angle of arrival standard deviation for a horizontally polarized antenna and a vertically polarized antenna exceeds a certain value (for example, 15), the corresponding angle of arrival standard deviation will not be used. In other words, the control center filters out poor-quality measurement signals and retains higher-quality measurement signals.
[0106] The main control station assigns weights corresponding to the average values of the horizontally polarized antenna and the vertically polarized antenna according to the filtered arrival angle standard deviation to obtain a first weighted arrival angle average value. The formula for the first weighted arrival angle average value is as follows:
[0107]
[0108] Among them H Avg and V Avg are the average arrival angles of the horizontally polarized antenna and the vertically polarized antenna, H Dev and V Dev are the standard deviations of the angle of arrival of the horizontally polarized antenna and the vertically polarized antenna after filtering, respectively.
[0109] The control station obtains a first number of first weighted average angles of arrival and a first number of signal strength indicators and averages them to obtain a second weighted average angle of arrival and an average signal strength indicator. In one embodiment, the first number is six. For example, the control station obtains six first weighted average angles of arrival and six signal strength indicators based on six filtered measurement signals, and averages the six first weighted average angles of arrival and the six signal strength indicators to obtain a second weighted average angle of arrival and an average signal strength indicator.
[0110] The main control station determines whether the person has passed through the entrance or exit based on a second number of second weighted average angles of arrival and average signal strength indicators. In one embodiment, the second number is 9. In some embodiments, a first-in, first-out (FIFO) data queue management structure can be used to manage the second number of second weighted average angles of arrival and average signal strength indicators. For example, the main control station will first obtain the second weighted average angles of arrival and average signal strength indicators of the first to ninth records in sequence, and a second time, it will obtain the second weighted average angles of arrival and average signal strength indicators of the second to tenth records in sequence, and so on.
[0111] To explain in more detail, the main control station will determine whether conditions (1) to (3) are met, wherein condition (1) is that the absolute value of at least one of the second weighted arrival angle average values of the second number is less than a first preset value (for example, the first preset value is 15); condition (2) is that the second weighted arrival angle average values of the second number undergo a positive or negative change; and condition (3) is that the maximum value minus the minimum value of the second number of signal strength indicator average values is between a second preset value and a third preset value (for example, the second preset value is 10 and the third preset value is 30). When conditions (1) to (3) are all met, the main control station determines that the above-mentioned person has passed through the above-mentioned entrance and exit.
[0112] In condition (2), it is assumed that when more than half of the second weighted arrival angle average values are greater than the fourth preset value (for example, the fourth preset value is 10), the main control station judges it as positive; conversely, when more than half of the second weighted arrival angle average values are less than the fifth preset value (for example, the fifth preset value is -10), the main control station judges it as negative. When less than half of the second weighted phase difference average values are greater than the fourth preset value or less than half of the second weighted phase difference average values are less than the fifth preset value, the main control station judges the positive or negative based on the previous judgment. For example, when the previous judgment was positive, the main control station judges this time as positive. When the previous judgment was negative, the main control station judges this time as negative. The main control station continuously monitors the second number of second weighted arrival angle average values. When the positive or negative change is from positive to negative, the main control station judges that the transmitter has passed through the entrance and exit from the field to the outside. When the positive or negative change is from negative to positive, the main control station judges that the transmitter has passed through the above-mentioned entrance and exit from the outside to the field.
[0113] As described above, the method and system for determining whether a person enters or exits a venue proposed in the present disclosure only requires one receiver to accurately determine the movement direction and position of the person, thereby reducing hardware construction costs.
[0114] It should be noted that Figure 2 Embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof. For example, all modules in the console 120, transmitter 130, and receiver 110 may each be implemented as computer program code configured to be executed in one or more processors. Alternatively, all modules in the console 120, transmitter 130, and receiver 110 may each be implemented as hardware logic / circuitry. For another example, all modules in the console 120, transmitter 130, and receiver 110 may each be implemented as computer program code configured to be executed in one or more processors. Alternatively, all modules in the console 120, transmitter 130, and receiver 110 may each be implemented as hardware logic / circuitry.
[0115] The embodiments described herein, including systems, methods / processes and / or apparatus, may utilize well-known servers / computers such as Figure 5 For example, the console 120, the transmitter 130, and the receiver 110 may be implemented using one or more electronic devices 500. For illustrative purposes, the electronic device 500 is described below.
[0116] Specific reference Figure 5 , Figure 55 shows an exemplary operating environment for implementing embodiments of the present disclosure, generally referred to as electronic device 500. Electronic device 500 is merely one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the present invention. Electronic device 500 should not be interpreted as having any dependency or requirement relating to any one or combination of illustrated elements.
[0117] The present invention may be implemented in the form of computer program code or machine-usable instructions. The instructions may be computer-executable instructions in the form of program modules, which are executed by a computer or other machine, such as a personal digital assistant or other portable device. Generally speaking, program modules include routines, programs, objects, components, data structures, etc. A program module is program code that performs a specific task or implements a specific abstract data type. The present invention may be implemented in a variety of system configurations, including portable devices, consumer electronics, general-purpose computers, more specialized computing devices, etc. The present invention may also be implemented in a distributed computing environment, processing devices connected by a communication network.
[0118] refer to Figure 5 Electronic device 500 includes a bus 510 that directly or indirectly couples the following devices: memory 512, one or more processors 514, one or more display elements 516, input / output (I / O) ports 518, input / output (I / O) elements 520, and an illustrative power supply 522. Bus 510 represents an element that can be one or more buses (e.g., an address bus, a data bus, or a combination thereof). Although Figure 5 For simplicity, the blocks are shown with lines. In practice, the boundaries of the components are not specific. For example, the presentation components of the display device may be considered as I / O components; and the processor may have a memory.
[0119] Electronic device 500 generally includes various computer-readable media. Computer-readable media can be any available media that can be accessed by electronic device 500, including both volatile and non-volatile media, removable and non-removable media. By way of example and not limitation, computer-readable media can include computer storage media and communication media. Computer-readable media includes both volatile and non-volatile media, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disk storage devices, magnetic disks, magnetic disks, magnetic disk storage devices or other magnetic storage devices, or any other medium that can be used to store the desired information and that can be accessed by the electronic device 500. Computer storage media itself does not include signals.
[0120] Communication media generally embodies computer-readable instructions, data structures, program modules, or other data in the form of a modular data signal such as a carrier wave or other transport mechanism, and includes any information delivery media. The term "modular data signal" refers to a signal that has one or more characteristics set or modified in such a manner as to encode information in the signal. By way of example, but not limitation, communication media includes wired media such as a wired network or direct wired connection, and wireless media such as audio, radio frequency, infrared, and other wireless media. Combinations of the above are included within the scope of computer-readable media.
[0121] Memory 512 includes computer storage media in the form of volatile and non-volatile memory. Memory can be removable, non-removable, or a combination of both. Exemplary hardware devices include solid-state memory, hard drives, optical drives, and the like. Electronic device 500 includes one or more processors that access data from various entities, such as memory 512 or I / O components 520. Display component 516 displays data indications to a user or other device. Exemplary display components include a display device, a speaker, a printing component, a vibrating component, and the like.
[0122] The I / O port 518 allows the electronic device 500 to be logically connected to other devices including the I / O element 520, some of which are built-in devices. Exemplary elements include microphones, joysticks, game consoles, satellite dish receivers, scanners, printers, wireless devices, etc. The I / O element 520 can provide a natural user interface for processing gestures, sounds, or other physiological inputs generated by the user. In some examples, these inputs can be transmitted to a suitable network element for further processing. The electronic device 500 can be equipped with a depth camera, such as a stereo camera system, an infrared camera system, an RGB camera system, and a combination of these systems, to detect and identify objects. In addition, the electronic device 500 can be equipped with a sensor (e.g., radar, lidar) that periodically senses the surrounding environment within a sensing range and generates sensor information indicating its association with the surrounding environment. Furthermore, the electronic device 500 can be equipped with an accelerometer or gyroscope for detecting motion. The output of the accelerometer or gyroscope can be provided to the electronic device 500 for display.
[0123] In addition, the processor 514 in the electronic device 500 may also execute the programs and instructions in the memory 512 to perform the actions and steps described in the above embodiments, or other descriptions in the specification.
[0124] Any specific order or hierarchy of steps in the disclosed procedures is provided by way of example only. Based on design preferences, it should be understood that any specific order or hierarchy of steps in the procedures may be rearranged within the scope of the disclosure herein. The accompanying method claims present elements of the various steps in a sample order and, therefore, should not be limited to the specific order or hierarchy presented.
[0125] The use of ordinal numbers such as "first", "second", and "third" to modify elements in the claims does not in itself imply any priority, precedence, or order of precedence between elements, or the order of steps performed in the method, but is only used as an identifier to distinguish different elements with the same name (but with different ordinal numbers).
[0126] Although the present disclosure has been disclosed as above by way of implementation examples, it is not intended to limit the present application. Those skilled in the art may make some changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the scope of protection of the present application shall be determined by the scope defined in the appended claims.
Claims
1. A method for determining whether a person enters or exits a venue, comprising: Receiving a measurement signal transmitted by a transmitter configured by a person via a receiver disposed above an entrance or exit of the field, wherein the receiver has a first receiving antenna and a second receiving antenna, and the first receiving antenna and the second receiving antenna are dual-polarized antennas; obtaining, by the receiver, a received signal strength indication (RSSI) and direction information of the transmitter based on the measurement signal, wherein the direction information includes a phase difference of the measurement signal and / or an angle of arrival (AoA) of the transmitter relative to the receiver; and The main console receives the signal strength indication and the position information transmitted from the receiver, and determines whether the person has passed through the entrance or exit based on a preset number of the signal strength indications and the position information.
2. The method for determining whether a person enters or exits an area as claimed in claim 1 , wherein the receiver receives the measurement signal transmitted by the transmitter by alternately using the first receiving antenna and the second receiving antenna in an I / Q (In-phase / Quadrature) sampling mode.
3. The method for determining whether a person enters or exits an area according to claim 1, wherein the step of determining whether the person has passed through or not passed through the entrance or exit based on the predetermined number of signal strength indicators and the position information further comprises: Obtaining an average phase difference and a standard deviation of the phase difference between the first receiving antenna and the second receiving antenna according to each phase difference; Filter the above phase difference standard deviation; Obtaining a first weighted average phase difference value according to the filtered phase difference standard deviation; Averaging a first number of the first weighted phase difference average values and the signal strength indicators to obtain a second weighted phase difference average value and a second signal strength indicator average value; and Whether the person has passed through the entrance or exit is determined based on a second number of second weighted phase difference average values and signal strength indication average values.
4. The method for determining whether a person enters or exits an area according to claim 3, wherein the step of determining whether the person has passed or not passed through the entrance or exit based on the second number of second weighted phase difference average values and signal strength indicator average values further comprises: When conditions (1) to (3) are all met, it is determined that the above-mentioned person passes through the above-mentioned entrance and exit of the above-mentioned field; The above condition (1) is that the absolute value of at least one of the second weighted phase difference average values in the above second number of second weighted phase difference average values is less than the first preset value; The above condition (2) is that the second weighted phase difference average value of the above second quantity changes in positive or negative; and The above condition (3) is that the maximum value minus the minimum value of the second number of signal strength indicator average values is between the second preset value and the third preset value.
5. The method for determining whether a person enters or exits an area according to claim 4, wherein when the positive-negative change is from positive to negative, the main console determines that the transmitter has exited the area through the entrance; and When the positive-negative change is from negative to positive, the main control station determines that the transmitter has entered the field from outside the field through the entrance and exit.
6. The method for determining whether a person enters or exits an area according to claim 1, wherein the step of determining whether the person has passed or not passed through the entrance or exit based on the predetermined number of signal strength indicators and the position information further comprises: Obtaining an average value and a standard deviation of the arrival angles of the first receiving antenna and the second receiving antenna according to each arrival angle; Filter the above arrival angle standard deviation; Obtaining a first weighted average value of the arrival angles according to the filtered arrival angle standard deviation; averaging a first number of the first weighted average angles of arrival and the first signal strength indicators to obtain a second weighted average angle of arrival and a second average signal strength indicator; and Whether the person has passed through the entrance or exit is determined based on a second number of second weighted arrival angle average values and signal strength indicator average values.
7. The method for determining whether a person enters or exits an area according to claim 6, wherein the step of determining whether the person has passed or not passed through the entrance or exit based on the second number of second weighted average values of the angle of arrival and the average value of the signal strength indicator further comprises: When conditions (1) to (3) are all met, it is determined that the above-mentioned person passes through the above-mentioned entrance and exit of the above-mentioned field; The above condition (1) is that the absolute value of at least one of the second weighted average values of the second number of second weighted average values of the angle of arrival is less than the first preset value; The above condition (2) is that the average value of the second weighted arrival angles of the second number changes positively or negatively; and The above condition (3) is that the maximum value minus the minimum value of the second number of signal strength indicator average values is between the second preset value and the third preset value.
8. The method for determining whether a person enters or exits an area according to claim 7, wherein when the positive-negative change turns from positive to negative, the main console determines that the transmitter has exited the area through the entrance; and When the positive-negative change is from negative to positive, the main control station determines that the transmitter has entered the field from outside the field through the entrance and exit.
9. A system for determining whether a person enters or exits a venue, comprising: A receiver is disposed above the entrance and exit of the field and has a first receiving antenna and a second receiving antenna, wherein the first receiving antenna and the second receiving antenna are dual-polarized antennas; as well as a main console coupled to the receiver; The receiver receives a measurement signal transmitted by a transmitter configured by a person, and obtains a received signal strength indication (RSSI) and azimuth information of the transmitter based on the measurement signal, wherein the azimuth information includes a phase difference of the measurement signal and / or an angle of arrival (AoA) of the transmitter relative to the receiver; the main console receives the signal strength indication and azimuth information transmitted from the receiver, and determines whether the person has passed through the entrance or exit based on a preset number of the signal strength indications and azimuth information.
10. The system for determining whether a person enters or exits an area as claimed in claim 9, wherein the receiver receives the measurement signal transmitted by the transmitter by alternately using the first receiving antenna and the second receiving antenna in an I / Q (In-phase / Quadrature) sampling mode.