UWB ranging methods, devices, equipment, media and systems for turnstile entry and exit.

By using UWB channels of different frequencies for ranging in the gate entry and exit stations, the problems of channel conflict and transaction interference in the existing technology are solved, and efficient ranging and transaction for seamless payment are realized.

CN116311566BActive Publication Date: 2025-11-14SHENZHEN GOODIX TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310245800.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2025-11-14
Estimated Expiration
2043-03-03

AI Technical Summary

Technical Problem

In UWB ranging at gate entrances and exits, existing technologies reduce the probability of ranging conflicts by using time-division multiplexing. However, the failure rate is high when there is a lot of air interface data, and the transaction process is easily interfered with, affecting the system's response timeliness and efficiency, especially when the entrance and exit distances are close.

Method used

Two different frequency UWB channels are used for ranging, depending on whether the current location of the TAG device is at the gate entrance or exit, to avoid interference between channels and improve ranging and transaction efficiency.

Benefits of technology

It achieves seamless payment during entry and exit, with no interference between channels, improving the ranging and transaction efficiency of gates, especially when the distance between entrances and exits is relatively short.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116311566B_ABST
    Figure CN116311566B_ABST
Patent Text Reader

Abstract

This application provides a UWB ranging method, apparatus, device, medium, and system for gate entry and exit. The method includes: if the current location of a TAG device belongs to a first location area where the gate's entrance is located, then performing a first ranging on the TAG device using a first UWB channel, and obtaining the passage payment fee for the TAG device based on the first ranging result; if the current location of the TAG device belongs to a second location area where the gate's exit is located, then performing a second ranging on the TAG device using a second UWB channel, and obtaining the passage payment fee for the TAG device based on the second ranging result; wherein the first UWB channel and the second UWB channel have different frequencies. This application uses channels of different frequencies to perform ranging on TAG devices entering and exiting the gate, and the channels for gate entry and exit do not interfere with each other, effectively improving the ranging and transaction efficiency of gate entry and exit, especially improving the ranging and transaction efficiency when the entrance and exit gates are close to each other.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of ranging technology, and in particular to a UWB ranging method, device, equipment, medium and system for gate entry and exit. Background Technology

[0002] Ultra Wide Band (UWB) technology is a wireless carrier communication technology. Based on UWB's precise ranging capabilities, UWB is currently widely used in various scenarios, such as in gate access payment scenarios, where UWB technology is used for ranging and transactions.

[0003] Due to the hardware characteristics of UWB devices, when one device sends data, multiple devices can receive it. However, when multiple devices send data simultaneously, air channel conflicts can occur, causing the receiving end to be unable to receive the data correctly.

[0004] Currently, the UWB ranging method for gate entry and exit mainly reduces the probability of ranging conflicts through time-division multiplexing. However, this method has a high failure rate when there is a large amount of air interface data, and it will basically fail. Furthermore, the ranging loop in time-division multiplexing is followed by the transaction loop, in which the transaction takes up a lot of time, usually requiring 300-500ms to complete the data transaction. This stage cannot be interfered with by other ranging messages or other transaction messages, otherwise it will lead to transaction failure or affect the system's response timeliness. This may result in delayed response to other ranging messages, and the ranging efficiency is very low. Summary of the Invention

[0005] This application provides a UWB ranging method, apparatus, equipment, medium, and system for gate entry and exit, to at least solve one of the above-mentioned technical problems.

[0006] According to a first aspect of this application, an ultra-wideband (UWB) ranging method for gate entry and exit is provided, comprising:

[0007] If the current location of the TAG device belongs to the first location area where the gate entrance is located, then the first distance is measured on the TAG device according to the first UWB channel, and the passage payment fee of the TAG device is obtained according to the first distance measurement result.

[0008] If the current location of the TAG device belongs to the second location area where the exit of the gate is located, then the second distance is measured on the TAG device according to the second UWB channel, and the passage payment fee of the TAG device is obtained according to the second distance measurement result.

[0009] The first UWB channel and the second UWB channel have different frequencies.

[0010] In one implementation, the first UWB channel is the CH5 channel, and the second UWB channel is the CH9 channel.

[0011] or,

[0012] The first UWB channel is the CH9 channel, and the second UWB channel is the CH5 channel.

[0013] In one embodiment, before performing a first ranging of the TAG device based on a first UWB channel, or a second ranging of the TAG device based on a second UWB channel, the method further includes:

[0014] Retrieve broadcast messages sent by TAG devices;

[0015] The RSSI signal strength indicator of the broadcast message identifies whether the current location area of ​​the TAG device is the first location area where the gate entrance is located;

[0016] If so, then perform a first ranging operation on the TAG device based on the first UWB channel, and obtain the passage payment fee of the TAG device based on the first ranging result;

[0017] or,

[0018] Based on the signal strength index (RSSI) of the broadcast message, it can be determined whether the current location area of ​​the TAG device belongs to the second location area where the exit of the turnstile is located.

[0019] If so, then perform a second ranging operation on the TAG device based on the second UWB channel, and obtain the passage payment fee of the TAG device based on the second ranging result.

[0020] In one embodiment, the method further includes:

[0021] If the current location area of ​​the TAG device does not belong to the first location area and the second location area, then a third ranging is performed on the TAG device based on the first UWB channel or the second UWB channel;

[0022] Based on the third ranging result, it is determined whether the driving direction of the TAG device is the first location area. If the driving direction of the TAG device is the first location area, a fourth ranging is performed on the TAG device based on the first UWB channel to obtain the passage payment fee of the TAG device according to the fourth ranging result.

[0023] or,

[0024] Based on the third ranging result, it is determined whether the driving direction of the TAG device is in the second location area. If the driving direction of the TAG device is in the second location area, a fifth ranging is performed on the TAG device based on the second UWB channel to obtain the passage payment fee of the TAG device according to the fifth ranging result.

[0025] In one implementation, it further includes:

[0026] Determine whether the broadcast message sent by the TAG device carries an entry / exit status flag, wherein the entry / exit status flag is generated by the TAG device based on the actual entry / exit situation or entry / exit requirements of the TAG device;

[0027] If the broadcast message of the TAG device carries an entry / exit status flag, then the corresponding entry / exit network is matched based on the entry / exit status flag;

[0028] The gate's entrance network includes the first UWB channel, and the gate's exit network includes the second UWB channel.

[0029] The TAG device is subjected to a sixth ranging test using the first UWB channel corresponding to the entrance network, and the passage payment fee of the TAG device is obtained based on the sixth ranging result; or, the TAG device is subjected to a seventh ranging test using the second UWB channel corresponding to the exit network, and the communication payment fee of the TAG device is obtained based on the seventh ranging result.

[0030] In one embodiment, the entrance of the turnstile includes a first BLE Bluetooth device, and the exit of the turnstile includes a second BLE Bluetooth device; then, the step of acquiring the broadcast message sent by the tag acquisition device includes:

[0031] The broadcast message sent by the tag device is obtained based on the first BLE Bluetooth device and / or the second BLE Bluetooth device.

[0032] In one embodiment, the first ranging of the TAG device based on the first UWB channel includes:

[0033] After the first BLE Bluetooth device establishes a link with the TAG device, the first BLE Bluetooth device at the entrance carries the first identification address of the entrance network, so that the TAG device can communicate using the first UWB channel corresponding to the entrance network based on the first identification address.

[0034] The ranging message of the TAG device is obtained based on the first UWB channel, and the first ranging is performed on the TAG device based on the ranging message.

[0035] or,

[0036] The second ranging of the TAG device based on the second UWB channel includes:

[0037] After the second BLE Bluetooth device establishes a link with the TAG device, the second BLE Bluetooth device carries the second identification address of the outbound network, so that the TAG device can communicate using the second UWB channel corresponding to the outbound network based on the second identification address.

[0038] The ranging message of the TAG device is obtained based on the second UWB channel, and a second ranging is performed on the TAG device based on the ranging message.

[0039] According to a second aspect of this application, a UWB ranging device for gate entry and exit is provided, comprising:

[0040] The first ranging and transaction module is configured to perform a first ranging on the TAG device based on the first UWB channel when the current location area of ​​the TAG device is located in the first location area of ​​the gate entrance, and obtain the passage payment fee of the TAG device based on the first ranging result.

[0041] The second ranging and transaction module is configured to perform a second ranging on the TAG device based on the second UWB channel when the current location area of ​​the TAG device belongs to the second location area where the exit of the gate is located, and obtain the passage payment fee of the TAG device based on the second ranging result.

[0042] The first UWB channel and the second UWB channel have different frequencies.

[0043] According to a third aspect of this application, an electronic device is provided, comprising: a processor, and a memory communicatively connected to the processor;

[0044] The memory stores computer-executed instructions;

[0045] The processor executes the computer execution instructions stored in the memory to implement the UWB ranging method for gate entry and exit.

[0046] According to a fourth aspect of this application, a computer-readable storage medium is provided, wherein computer-executable instructions are stored therein, which, when executed by a processor, are used to implement the UWB ranging method for gate entry and exit.

[0047] According to a fifth aspect of this application, a turnstile system is provided, including an entrance and an exit of the turnstile, wherein the entrance and / or the exit of the turnstile include a UWB device, the entrance of the turnstile includes a first BLE Bluetooth device and / or the exit of the turnstile includes a second BIL Bluetooth device.

[0048] The first BLE Bluetooth device and / or the second BLE Bluetooth device are used to scan the TAG devices in the target area of ​​the gate system, receive the broadcast messages sent by the TAG devices, and transmit them to the UWB device;

[0049] The UWB device is used to perform the UWB ranging method for gate entry and exit as described in any one of claims 1-8.

[0050] The UWB ranging method, apparatus, equipment, medium, and system for gate entry and exit provided in this application employ two different frequency UWB channels. When the current location of the TAG device belongs to the first location area of ​​the gate's entrance, a first ranging is performed on the TAG device using the first UWB channel, and the passage payment fee for the TAG device is obtained based on the first ranging result. Conversely, when the current location of the TAG device belongs to the second location area of ​​the gate's exit, a second ranging is performed on the TAG device using the second UWB channel, and the passage payment fee for the TAG device is obtained based on the second ranging result. In this process, the corresponding UWB channel is used for UWB ranging based on the current location of the TAG device, and the channels do not interfere with each other, thereby achieving the purpose of seamless payment for entry and exit. This effectively improves the ranging and transaction efficiency of gate entry and exit, especially when the distance between entrance and exit gates is short. Attached Figure Description

[0051] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0052] Figure 1 This is a schematic diagram of a possible scenario provided for an embodiment of this application;

[0053] Figure 2a This is one of the timing diagrams of block-based patterns in related technologies;

[0054] Figure 2b This is a schematic diagram of the structure of a ranging block in related technologies;

[0055] Figure 2c This is the second sequence diagram of a block-based pattern in related technologies;

[0056] Figure 3A flowchart illustrating a UWB ranging method for gate entry and exit provided in this application embodiment;

[0057] Figure 4a One of the flowcharts for another UWB ranging method for gate entry and exit provided in the embodiments of this application;

[0058] Figure 4b A second schematic flowchart of another UWB ranging method for gate entry and exit provided in this application embodiment;

[0059] Figure 5 A flowchart illustrating another UWB ranging method for gate entry and exit provided in this application embodiment;

[0060] Figure 6 A flowchart illustrating another UWB ranging method for gate entry and exit provided in this application embodiment;

[0061] Figure 7 A schematic diagram of the structure of a UWB ranging device for gate entry and exit provided in this application embodiment;

[0062] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0063] Figure 9 This is a schematic diagram of the structure of a gate system provided in an embodiment of this application;

[0064] Figure 10 This is a block diagram of a terminal device provided in an exemplary embodiment of this application.

[0065] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0066] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0067] The embodiments of this application will be explained below in conjunction with application scenarios. The method provided in the embodiments of this application can be applied to application scenarios of contactless payment for vehicles passing through turnstiles or other many-to-many ranging transaction scenarios. For example, the executing entity of the method provided in the embodiments of this application can be a terminal device of the turnstile for ranging and transaction, such as an ultra-wideband (UWB) device. In actual ranging, it can be one or multiple UWB devices. More specifically, the UWB device can be a UWB base station. The following description uses a UWB device as the executing entity of the method provided in the embodiments of this application.

[0068] Figure 1 This is a schematic diagram of a possible scenario provided for an embodiment of this application, such as... Figure 1 As shown, the system includes entrance and exit turnstiles, with a small distance between them, such as 5 meters or even less. Understandably, in contactless payment applications, UWB devices can be used for ranging and transaction processing. The ranging specifications for UWB devices follow the FIRA standard and the 802.15.4 standard. Due to the hardware characteristics of UWB devices, when one device transmits data, multiple devices can receive it. However, when multiple devices transmit data simultaneously, air channel collisions can occur, causing the receiving end to fail to receive data correctly. In situations such as... Figure 1 In certain application scenarios, when the entrance gate and exit gate are close to each other, the TAG device may simultaneously measure distances and conduct transactions on both the entrance and exit networks of the gate when entering or exiting the gate channel. This can lead to mutual interference between the two networks, causing the entire system to malfunction.

[0069] Combination Figures 2a-2c As shown, in related technologies, a time-series scheduling-based ranging method is used in the ranging round. All ranging devices are controlled by a controller to send different ranging frames or ranging result report frames at different times. In block-based mode, the time interval between two consecutive ranging rounds is constant. Figure 2a and Figure 2cAs shown, in the ranging and transaction process of UWB devices, multiple time slots are divided. The first few slots constitute the ranging phase, and the ranging method is a time-scheduled ranging loop based on block mode. After ranging is completed, the data transaction phase begins, which includes a wake-up selection phase, a data transaction phase, and a transaction termination phase. The wake-up selection phase involves selecting a device that matches the ranging distance from several external tags (e.g., TAG1, TAG2) for data transaction. The data transaction phase involves conducting a data transaction with the selected tag. The transaction termination phase involves sending a sleep command after the data transaction is completed, causing the tag to pause data transaction to save power.

[0070] Specifically, in the block-based ranging methods described above, a hopping mechanism is typically used to reduce the probability of ranging conflicts, which is achieved through time-division multiplexing. For example... Figure 2b As shown, the time is divided into several equal intervals, each block is divided into several rounds, and each round is divided into several slots; the starting point of each ranging measurement is aligned with the time node of the round. Figure 2b In this model, for 5 ranging blocks (index values ​​Index0, Index1, Index2, Index3, and Index4), each block is divided into 4 rounds (index values ​​Index0, Index1, Index2, and Index3), where the gray area represents the ranging rounds. In the hopping mechanism, a round is selected for ranging for each block, and different rounds can be selected for different blocks. This reduces conflicts with other networks to some extent. For example, ranging network NET1 uses 0, 1, 0, 3, 1, while NET2, which is also ranging, uses 2, 2, 2, 2, 2. In this case, the two ranging networks will not generate ranging data at the same time, avoiding overlap, and the probability of ranging conflicts in each round will be relatively reduced. However, when multiple NETs are ranging simultaneously, the probability of round conflicts will increase. According to the mathematical probability algorithm abstraction: among N rounds (1 to N), a random round is selected M times, where the cases with the same numbers represent network ranging conflicts. Therefore, the above ranging method has a high failure rate when there is a lot of air interface data, and it will basically fail. When the channel is congested, it is difficult to select an idle ranging time. When all rounds are occupied, channel conflicts between network communications will be unavoidable.

[0071] Furthermore, by integrating the UWB transaction process, the payment process for TAG devices is realized using a POS (Point of Sales) network. The POS network includes an inbound POS network and an outbound POS network. In this embodiment, the inbound network of the gate includes the inbound POS network, and the outbound network includes the outbound POS network. Figure 2c The diagram shows a timing diagram of a turnstile (such as an entrance turnstile). Assuming there are three TAG devices, under normal application conditions, data transactions are performed after distance measurement. The entire entrance POS will continuously send and receive data. If there is also an exit POS nearby, the exit POS will have virtually no idle time (the entrance POS has no idle time) available for distance measurement. For contactless payment projects, such as... Figure 2c Following the ranging round is the transaction round, which takes up a significant amount of time, typically 300-500ms to complete. This stage cannot be interfered with by other ranging or transaction messages (inbound POS cannot be interfered with by outbound POS), otherwise it will lead to transaction failure or affect the system's responsiveness. Clearly, the hopping mechanism is not suitable for contactless payment projects.

[0072] In view of this, this application proposes a UWB ranging method, apparatus, device, medium, and system to replace the time-division multiplexing method used in related technologies to reduce the probability of ranging conflicts. In this embodiment, two different frequency UWB channels are used. Depending on whether the current location of the TAG device is at the gate entrance or the gate exit, different UWB channels are used for UWB ranging. The channels do not interfere with each other, thereby achieving the purpose of seamless payment function for entering and exiting the station. This effectively improves the ranging and transaction efficiency of gate entry and exit, especially when the distance between the entrance and exit gates is relatively short.

[0073] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that these specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0074] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0075] Figure 3This is a flowchart illustrating a UWB ranging method for gate entry and exit provided in an embodiment of this application. This embodiment uses two different frequency UWB channels to achieve UWB ranging. Optionally, the first UWB channel is used in the gate's entry network, and the second UWB channel is used in the gate's exit network.

[0076] In this embodiment, the first UWB channel and the second UWB channel have different frequencies, that is, their wireless communication frequencies are different.

[0077] In one implementation, the first UWB channel uses the CH5 channel and the second UWB channel uses the CH8 channel. That is, the ranging transaction between the TAG device and the inbound network uses the CH5 channel, and the ranging transaction with the outbound network uses the CH9 channel. In another implementation, the first UWB channel uses the CH8 channel and the second UWB channel uses the CH5 channel. That is, the ranging transaction between the TAG device and the inbound network uses the CH9 channel, and the ranging transaction with the outbound network uses the CH5 channel.

[0078] Understandably, CH5 and CH8 are the channels that UWB devices can use for ranging. The frequency of CH5 is 2.432 GHz, and the frequency of CH8 is 2.447 GHz. The wireless communication frequencies of the two channels are quite different, so the two channels will not interfere with each other. The transmission and reception of data on one channel will not affect the other channel.

[0079] It should be noted that the specific forms of the first and second UWB channels described above are merely examples of this embodiment and not specific limitations. In addition to the CH5 and CH8 channels mentioned above, other channel resources can also be used as communication technology continues to develop.

[0080] like Figure 3 As shown, the method provided in this embodiment includes steps S301 and S302:

[0081] Step S301: If the current location area of ​​the TAG device belongs to the first location area where the gate entrance is located, then perform a first distance measurement on the TAG device according to the first UWB channel, and obtain the passage payment fee of the TAG device according to the first distance measurement result.

[0082] Step S302: If the current location area of ​​the TAG device belongs to the second location area where the exit of the gate is located, then the TAG device is subjected to a second ranging based on the second UWB channel, and the passage payment fee of the TAG device is obtained based on the second ranging result.

[0083] Combination Figure 1 As shown, Figure 1Location area A is the first location area where the entrance of the turnstile is located, location area B is the second location area where the exit of the turnstile is located, and location area C is any other location area that does not belong to the first or second location areas. In this embodiment, location area A is the location area close to the entrance of the turnstile, location area B is the location area close to the exit of the turnstile, and location area C is a location further away from the entrance and exit of the turnstile compared to location areas A and B, typically outside the location range of location areas A and B.

[0084] It should be noted that those skilled in the art can adapt the specific ranges of the first and second position areas by combining practical applications and existing technologies. For example, the first and second position areas can be set according to the specific locations of the gate's entrance and exit.

[0085] It is understood that in this embodiment, the first position area and the second position area do not overlap, that is, the first position area and the second position area are two different areas.

[0086] Compared to related technologies, the ranging methods for TAG devices at turnstiles, which use time-division multiplexing to reduce the probability of ranging conflicts, can easily lead to transaction failures or affect system response when there is a lot of air interface data. This embodiment uses two different frequency UWB channels. Depending on whether the TAG device is currently located at the turnstile entrance or exit, the corresponding UWB channel is used for UWB ranging. The channels do not interfere with each other, thereby achieving the purpose of seamless payment function for entering and exiting the turnstile. This effectively improves the ranging and transaction efficiency of turnstiles, especially when the distance between entrance and exit turnstiles is close.

[0087] Figure 4a and Figure 4b This is a flowchart illustrating another UWB ranging method for gate entry and exit provided in this application embodiment. Based on the above embodiment, this embodiment receives broadcast messages from TAG devices and identifies the current location area of ​​the TAG device according to the RSSI (Received Signal Strength Indicator) of the broadcast messages to accurately obtain the location of the TAG device, providing data support for UWB ranging. Specifically, in addition to steps S301 and S302, before step S301 performs a first ranging on the TAG device based on a first UWB channel, or step S302 performs a second ranging on the TAG device based on a second UWB channel, the method further includes steps S401 and S402 or step S402'.

[0088] Step S401: Obtain the broadcast message sent by the TAG device;

[0089] Step S402: Based on the Signal Strength Indication (RSSI) of the broadcast message, identify whether the current location area of ​​the TAG device belongs to the first location area where the gate's entrance is located; if so, execute step S301 to perform a first ranging on the TAG device based on the first UWB channel, and obtain the passage payment fee of the TAG device based on the first ranging result; otherwise, end the process, and the ranging can be further completed using existing technology.

[0090] or,

[0091] Step S402': Based on the signal strength indicator RSSI of the broadcast message, identify whether the current location area of ​​the TAG device belongs to the second location area where the exit of the gate is located. If so, execute step S302 to perform a second ranging on the TAG device according to the second UWB channel, and obtain the passage payment fee of the TAG device according to the second ranging result; otherwise, end the process, and the existing technology can be used to further complete the ranging.

[0092] In this embodiment, before using the first UWB channel or the second UWB channel for ranging, the TAG device will first broadcast. The UWB device can determine the distance between the signal point and the receiving point through the RSSI signal, that is, based on the strength of the received signal, and then perform positioning calculations based on the corresponding data. This method can more accurately identify the location area of ​​the TAG device.

[0093] In one embodiment, the gate's entrance includes a first BLE Bluetooth device and its exit includes a second BLE Bluetooth device; therefore, obtaining the broadcast message sent by the TAG device in step S401 may include the following steps:

[0094] The broadcast message sent by the tag device is obtained based on the first BLE Bluetooth device and / or the second BLE Bluetooth device.

[0095] Understandably, BLE (Bluetooth Low Energy) devices can significantly reduce power consumption and cost while maintaining the same communication range as ordinary Bluetooth devices.

[0096] In this embodiment, BLE Bluetooth devices are installed at the entrance and exit of the turnstile. The BLE Bluetooth devices communicate based on the BLE Bluetooth channel. It can be understood that the entrance network in this embodiment includes both UWB and Bluetooth channels.

[0097] In this embodiment, BLE Bluetooth devices at the entrance and exit can scan TAG devices within Bluetooth communication range to obtain their broadcast messages. By initially filtering the RSSI of the TAG devices' Bluetooth broadcasts, basic location determination can be performed. Figure 1 In the A / B area, the initial determination is made through RSSI. If it is determined that the user has entered the A area, it means that the TAG device is near the entrance gate and the user may be about to enter the station. At this time, the UWB device uses the CH5 channel to communicate with the TAG device to complete the ranging and transaction.

[0098] Furthermore, in this embodiment, the addresses of the BLE Bluetooth devices corresponding to the entrance and exit gates respectively carry the identifier address of the entrance / exit network. After the TAG device establishes a connection with the BLE Bluetooth device, it can quickly identify whether the connection corresponds to an entrance gate or an exit gate based on the identifier address, and communicate with the UWB device using the corresponding UWB channel to complete ranging and transactions, thereby effectively improving ranging efficiency. Specifically, for the ranging method at the gate entrance, step S201, which performs a first ranging on the TAG device based on the first UWB channel, may include the following steps:

[0099] After the first BLE Bluetooth device establishes a link with the TAG device, the first BLE Bluetooth device at the entrance carries the first identification address of the entrance network, so that the TAG device can communicate using the first UWB channel corresponding to the entrance network based on the first identification address.

[0100] The ranging message of the TAG device is obtained based on the first UWB channel, and the first ranging is performed on the TAG device based on the ranging message.

[0101] Similarly, for the ranging method at the gate exit, the second ranging of the TAG device based on the second UWB channel in step S202 may include the following steps:

[0102] After the second BLE Bluetooth device establishes a link with the TAG device, the second BLE Bluetooth device carries the second identification address of the outbound network, so that the TAG device can communicate using the second UWB channel corresponding to the outbound network based on the second identification address.

[0103] In this embodiment, the ranging message of the TAG device is obtained based on the second UWB channel, and a second ranging is performed on the TAG device based on the ranging message. Whether the first BLE Bluetooth device and the second BLE Bluetooth device establish a link with the TAG device can be determined based on the identification result of the specific location area of ​​the TAG device. Specifically, during the first ranging or the second ranging process, the first BLE Bluetooth device links with the TAG device identified as being in the first location area, and the second BLE Bluetooth device links with the TAG device identified as being in the second location area.

[0104] In this embodiment, the first identifier address addr1 and the second identifier address adar2 can be fixed addresses, one of which represents the entry point and the other represents the exit point. In some embodiments, non-fixed addresses can also be used, that is, the first identifier address and the second identifier address have certain identifiable patterns to identify whether it is an entry point or an exit point.

[0105] Please refer to Figure 5 , Figure 5 This is a flowchart illustrating another UWB ranging method for gate entry and exit provided in this application embodiment. Based on the above embodiment, to further improve the accuracy of TAG device location identification, this embodiment pre-measures the distance and determines the location area of ​​the TAG device's travel direction before it enters area A / B, thus improving the accuracy of the TAG device's entry into area A / B. Specifically, in addition to steps S301 and S302 described above, the method provided in this embodiment also includes steps S501-S503.

[0106] Step S501: If the current location area of ​​the TAG device does not belong to the first location area and the second location area, then a third ranging is performed on the TAG device based on the first UWB channel or the second UWB channel.

[0107] Step S502: Based on the third ranging result, determine whether the driving direction of the TAG device is within the first location area. If the driving direction of the TAG device is within the first location area, perform a fourth ranging on the TAG device based on the first UWB channel to obtain the passage payment fee of the TAG device according to the fourth ranging result; or,

[0108] Step S503: Based on the third ranging result, determine whether the driving direction of the TAG device is in the second location area. If the driving direction of the TAG device is in the second location area, perform a fifth ranging on the TAG device based on the second UWB channel to obtain the passage payment fee of the TAG device according to the fifth ranging result.

[0109] In this embodiment, the third ranging method can be to randomly use either the first UWB channel or the second UWB channel to measure the distance to the TAG device.

[0110] In this embodiment, the driving direction of the TAG device is determined, that is, the displacement trend of the TAG device from its current position to its next position is determined, whether the displacement trend is moving towards the first position region or the second position region, or whether the displacement trend is moving closer to the first position region or the second position region, and then the corresponding UWB channel is used to measure the distance of the TAG device. For example, combined with Figure 1 As shown, the TAG device is in area C. The current TAG device may enter or leave the station. In this embodiment, the network can connect to it for both entry and exit and perform UWB ranging. The third ranging result provides feedback on whether its travel direction is closer to area A or area B. Compared with the above embodiment, the accuracy of entering area A / B is effectively increased by the pre-ranging ranging method, and the ranging efficiency is also effectively improved.

[0111] In another possible implementation, in addition to performing a fourth or fifth distance measurement in this embodiment, the first or second location area corresponding to the driving direction determined by the third distance measurement result can also be determined by the following method: randomly selecting a UWB channel or a second UWB channel to perform a third distance measurement on the TAG device. The distance measurement process may include continuously determining whether the TAG device has entered the first or second location area of ​​the gate entrance or exit. When it is determined that it has entered the first location area, the first distance measurement is performed on it using the first UWB channel and the payment fee is obtained. When it has entered the second location area, the second distance measurement is performed on it using the second UWB channel and the payment fee is obtained, so as to further increase the accuracy of the A / B area determination.

[0112] In summary, this embodiment effectively achieves automatic switching between CH5 and CH9 channels through BLE+UWB. Specifically, the RSSI signal strength indication information of the BLE Bluetooth device is used to identify the location area of ​​the TAG device, and the BLE Bluetooth address information or other information can be used to further assist the TAG device in distinguishing between the gate's entry and exit points, facilitating adaptive switching between CH5 and CH9 at the TAG end, and effectively improving the ranging and efficiency of UWB.

[0113] Please refer to Figure 6 , Figure 6This is a flowchart illustrating another UWB ranging method for gate entry and exit provided in this application embodiment. Based on the above embodiment, this embodiment aims to improve ranging speed and avoid problems such as inaccurate judgment by RSSI or other methods and lag caused by user movement. It determines whether the TAG device is entering or exiting the station by identifying the entry / exit status flag and performs ranging and transaction. Specifically, in addition to the above steps S301 and S302, the method also includes steps S601-S603.

[0114] Step S601: Determine whether the broadcast message sent by the TAG device carries an entry / exit status flag. The entry / exit status flag is generated by the TAG device based on the actual entry / exit situation or entry / exit requirements of the device. If the broadcast message of the TAG device carries an entry / exit status flag, then execute step S601; otherwise, execute step S301 or S302.

[0115] Step S602: Match the corresponding entrance / exit network based on the entrance / exit status flag; in this embodiment, the entrance network of the gate includes the first UWB channel, and the exit network of the gate includes the second UWB channel.

[0116] Step S603: Perform a sixth ranging on the TAG device according to the first UWB channel corresponding to the entrance network, and obtain the passage payment fee of the TAG device according to the sixth ranging result; or, Step S603': Perform a seventh ranging on the TAG device according to the second UWB channel corresponding to the exit network, and obtain the communication payment fee of the TAG device according to the seventh ranging result.

[0117] Specifically, for entry and exit TAG devices, their application status usually maintains the corresponding status. For example, applications such as Shenzhen Metro usually update their entry and exit status in the applet application, which can include the initial status, entry status, and exit status. If entry is successful, the latest status is the exit status. TAG devices can know the entry and exit status and can mark the current application's entry and exit status in broadcast messages.

[0118] In this embodiment, when a TAG broadcast message is detected, if the TAG device is in an entry state, it can be basically determined that the device is likely to enter the station next. Therefore, regardless of whether the TAG device is in area A, area B, or area C, the entry gate can prioritize connecting and waking it up for distance measurement. This method helps to improve the distance measurement speed, avoid lag caused by inaccurate RSSI judgment and user movement, and improve the judgment probability, further reducing the probability of false triggering of the gate when entering or leaving the station.

[0119] In a preferred embodiment, in conjunction with the content corresponding to the current location area of ​​the TAG device identified according to the signal strength indicator RSSI of the broadcast message in the above embodiments, step S601 can be performed before identifying the current location area of ​​the TAG device according to the signal strength indicator RSSI of the broadcast message. When it is determined that the broadcast message of the TAG device does not carry an entry / exit status flag, the current location area of ​​the TAG device is then identified according to the signal strength indicator RSSI of the broadcast message, thereby simplifying the ranging process. It should be noted that the ranging process described above in this embodiment, such as the fourth, fifth, and sixth ranging steps, can all be combined with the method of using the identification address of the BLE Bluetooth device mentioned in the above specification to complete the connection and ranging between the BLE device and the TAG device. Detailed explanations have been provided above and will not be repeated here.

[0120] According to a second aspect of this application, the embodiments of this application also provide a UWB ranging device for gate entry and exit, such as... Figure 7 As shown, the device includes:

[0121] The first ranging and transaction module 71 is configured to perform a first ranging on the TAG device based on the first UWB channel when the current location area of ​​the TAG device is in the first location area of ​​the gate entrance, and obtain the passage payment fee of the TAG device based on the first ranging result.

[0122] The second ranging and transaction module 72 is configured to perform a second ranging on the TAG device based on the second UWB channel when the current location area of ​​the TAG device belongs to the second location area where the exit of the gate is located, and obtain the passage payment fee of the TAG device based on the second ranging result; wherein the first UWB channel and the second UWB channel have different frequencies.

[0123] In one implementation, the first UWB channel is the CH5 channel, and the second UWB channel is the CH9 channel.

[0124] or,

[0125] The first UWB channel is the CH9 channel, and the second UWB channel is the CH5 channel.

[0126] In one embodiment, the device further includes:

[0127] The broadcast message acquisition module is configured to acquire broadcast messages sent by TAG devices;

[0128] The first location identification module is configured to identify whether the current location area of ​​the TAG device is a first location area belonging to the entrance of the gate, based on the signal strength indicator RSSI of the broadcast message.

[0129] The first ranging and transaction module 71 is specifically configured to, when the first location identification module identifies the location as a first location area, perform a first ranging on the TAG device according to the first UWB channel, and obtain the passage payment fee of the TAG device according to the first ranging result;

[0130] or,

[0131] The second location identification module is configured to identify, based on the signal strength index (RSSI) of the broadcast message, whether the current location area of ​​the TAG device belongs to the second location area where the exit of the turnstile is located.

[0132] The second ranging and transaction module 72 is specifically configured to perform a second ranging on the TAG device according to the second UWB channel when the second location identification module identifies it as a second location area, and obtain the passage payment fee of the TAG device according to the second ranging result.

[0133] In one embodiment, the device further includes:

[0134] The third ranging module is configured to perform a third ranging on the TAG device based on the first UWB channel or the second UWB channel when the current location area of ​​the TAG device does not belong to the first location area and the second location area.

[0135] The fourth ranging and transaction module is configured to determine whether the driving direction of the TAG device is the first location area based on the third ranging result, and if the driving direction of the TAG device is the first location area, perform a fourth ranging on the TAG device based on the first UWB channel to obtain the passage payment fee of the TAG device according to the fourth ranging result.

[0136] or,

[0137] The fifth ranging and transaction module is configured to determine whether the driving direction of the TAG device is in the second location area based on the third ranging result, and if the driving direction of the TAG device is in the second location area, perform a fifth ranging on the TAG device based on the second UWB channel to obtain the passage payment fee of the TAG device according to the fifth ranging result.

[0138] In one implementation, it further includes:

[0139] The flag determination module is configured to determine whether the broadcast message sent by the TAG device carries an entry / exit status flag, wherein the entry / exit status flag is generated by the TAG device based on the actual entry / exit situation or entry / exit requirements of the TAG device.

[0140] The network matching module is configured to match the corresponding entrance / exit network based on the entrance / exit status flag when the entrance / exit status flag is carried in the broadcast message of the TAG device; the entrance network of the gate includes the first UWB channel, and the exit network of the gate includes the second UWB channel.

[0141] The sixth ranging and transaction module is configured to perform a sixth ranging on the TAG device based on the first UWB channel corresponding to the entrance network, and obtain the passage payment fee of the TAG device based on the sixth ranging result; or, the seventh ranging and transaction module is configured to perform a seventh ranging on the TAG device based on the second UWB channel corresponding to the exit network, and obtain the communication payment fee of the TAG device based on the seventh ranging result.

[0142] In one embodiment, the entrance of the turnstile includes a first BLE Bluetooth device, and the exit of the turnstile includes a second BLE Bluetooth device; then the broadcast message acquisition module is specifically configured to acquire broadcast messages sent by the tag device based on the first BLE Bluetooth device and / or the second BLE Bluetooth device.

[0143] In one embodiment, the first ranging and transaction module 71 is specifically configured to, after the first BLE Bluetooth device establishes a link with the TAG device, carry the first identification address of the entrance network, so that the TAG device communicates using the first UWB channel corresponding to the entrance network based on the first identification address; obtain the ranging message of the TAG device based on the first UWB channel, and perform a first ranging on the TAG device based on the ranging message.

[0144] or,

[0145] The second ranging and transaction module 72 is specifically configured such that, after the second BLE Bluetooth device establishes a link with the TAG device, the second BLE Bluetooth device carries the second identifier address of the outbound network, enabling the TAG device to communicate using the second UWB channel corresponding to the outbound network based on the second identifier address; the module obtains the ranging message of the TAG device based on the second UWB channel, and performs a second ranging on the TAG device based on the ranging message. Related explanations can be found in Figure 2-. Figure 6The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.

[0146] According to a third aspect of this application, embodiments of this application also provide an electronic device, such as... Figure 8 As shown, it includes: a processor 82, and a memory 81 communicatively connected to the processor 82;

[0147] The memory 81 stores computer-executed instructions;

[0148] The processor 82 executes the computer execution instructions stored in the memory 81 to implement the UWB ranging method for gate entry and exit.

[0149] For related explanations, please refer to Figure 2- Figure 6 The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.

[0150] According to a fourth aspect of this application, an embodiment of this application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the UWB ranging method for gate entry and exit.

[0151] For related explanations, please refer to Figure 2- Figure 6 The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.

[0152] According to the fifth aspect of this application, embodiments of this application also provide a gate system, such as... Figure 9 As shown, the gate includes an entrance and an exit (not shown). The entrance and / or exit of the gate include a UWB device 91, the entrance includes a first BLE Bluetooth device 92, and / or the exit includes a second BIL Bluetooth device 93.

[0153] The first BLE Bluetooth device 92 and / or the second BLE Bluetooth device 93 are used to scan the TAG devices in the target area of ​​the gate system, receive the broadcast messages sent by the TAG devices, and transmit them to the UWB device.

[0154] The UWB device 91 is used to perform the UWB ranging method for entering and exiting the gate.

[0155] For related explanations, please refer to Figure 2- Figure 6 The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.

[0156] This application also provides a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory to execute the UWB ranging method for gate entry and exit.

[0157] For related explanations, please refer to Figure 2- Figure 6 The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.

[0158] The computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0159] One embodiment of this application provides a computer program product, including a computer program that, when executed by a processor, implements Figure 2 of this application. Figure 6 The high-precision map height data processing method provided in any of the corresponding embodiments.

[0160] Figure 10 This is a block diagram illustrating an exemplary embodiment of the present application of a terminal device 800, which may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0161] The terminal device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.

[0162] Processing component 802 typically controls the overall operation of terminal device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0163] Memory 804 is configured to store various types of data to support operation on terminal device 800. Examples of this data include instructions for any application or method operating on terminal device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0164] Power supply component 806 provides power to various components of terminal device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal device 800.

[0165] Multimedia component 808 includes a screen that provides an output interface between terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When terminal device 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0166] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when terminal device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0167] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0168] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of terminal device 800. For example, sensor assembly 814 can detect the on / off state of terminal device 800, the relative positioning of components such as the display and keypad of terminal device 800, changes in the position of terminal device 800 or a component of terminal device 800, the presence or absence of user contact with terminal device 800, the orientation or acceleration / deceleration of terminal device 800, and temperature changes of terminal device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0169] Communication component 816 is configured to facilitate wired or wireless communication between terminal device 800 and other devices. Terminal device 800 can access wireless networks based on communication standards, such as WiFi, 3G, 4G, 5G, or other standard communication networks, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0170] In an exemplary embodiment, the terminal device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the functions described in Figure 2 of this application. Figure 6 The method provided in any of the corresponding embodiments.

[0171] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of a terminal device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0172] This application also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of a terminal device, enables the terminal device 800 to execute the above-described instructions in Figure 2- of this application. Figure 6 The method provided in any of the corresponding embodiments.

[0173] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0174] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0175] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for ultra-wideband (UWB) ranging for gate entry and exit, characterized in that, include: If the current location of the TAG device belongs to the first location area where the gate entrance is located, then the first distance is measured on the TAG device according to the first UWB channel, and the passage payment fee of the TAG device is obtained according to the first distance measurement result. If the current location of the TAG device belongs to the second location area where the exit of the gate is located, then the second distance is measured on the TAG device according to the second UWB channel, and the passage payment fee of the TAG device is obtained according to the second distance measurement result. The first UWB channel and the second UWB channel have different frequencies; Before performing a first ranging of the TAG device based on a first UWB channel, or a second ranging of the TAG device based on a second UWB channel, the method further includes: Retrieve broadcast messages sent by TAG devices; The RSSI signal strength indicator of the broadcast message identifies whether the current location area of ​​the TAG device is the first location area where the gate entrance is located; If so, then perform a first ranging operation on the TAG device based on the first UWB channel, and obtain the passage payment fee of the TAG device based on the first ranging result; or, Based on the signal strength index (RSSI) of the broadcast message, it can be determined whether the current location area of ​​the TAG device belongs to the second location area where the exit of the turnstile is located. If so, then perform a second ranging operation on the TAG device based on the second UWB channel, and obtain the passage payment fee of the TAG device based on the second ranging result.

2. The method according to any one of claims 1, characterized in that, The first UWB channel is the CH5 channel, and the second UWB channel is the CH9 channel; or, The first UWB channel is the CH9 channel, and the second UWB channel is the CH5 channel.

3. The method according to any one of claims 1-2, characterized in that, Also includes: If the current location area of ​​the TAG device does not belong to the first location area and the second location area, then a third ranging is performed on the TAG device based on the first UWB channel or the second UWB channel; Based on the third ranging result, it is determined whether the driving direction of the TAG device is the first location area. If the driving direction of the TAG device is the first location area, a fourth ranging is performed on the TAG device based on the first UWB channel to obtain the passage payment fee of the TAG device according to the fourth ranging result. or, Based on the third ranging result, it is determined whether the driving direction of the TAG device is in the second location area. If the driving direction of the TAG device is in the second location area, a fifth ranging is performed on the TAG device based on the second UWB channel to obtain the passage payment fee of the TAG device according to the fifth ranging result.

4. The method according to claims 1-2, characterized in that, Determine whether the broadcast message sent by the TAG device carries an entry / exit status flag, wherein the entry / exit status flag is generated by the TAG device based on the actual entry / exit situation or entry / exit requirements of the TAG device; If the broadcast message of the TAG device carries an entry / exit status flag, then the entry / exit network of the gate is matched based on the entry / exit status flag; The gate's entrance network includes the first UWB channel, and the gate's exit network includes the second UWB channel. The TAG device is subjected to a sixth ranging test using the first UWB channel corresponding to the entrance network, and the passage payment fee of the TAG device is obtained based on the sixth ranging result; or, the TAG device is subjected to a seventh ranging test using the second UWB channel corresponding to the exit network, and the communication payment fee of the TAG device is obtained based on the seventh ranging result.

5. The method according to claim 4, characterized in that, The entrance of the turnstile includes a first BLE Bluetooth device, and the exit of the turnstile includes a second BLE Bluetooth device; therefore, obtaining the broadcast message sent by the TAG device includes: The broadcast message sent by the TAG device is obtained based on the first BLE Bluetooth device and / or the second BLE Bluetooth device.

6. The method according to claim 5, characterized in that, The first ranging of the TAG device based on the first UWB channel includes: After the first BLE Bluetooth device establishes a link with the TAG device, the first BLE Bluetooth device carries the first identification address of the inbound port network, so that the TAG device can communicate using the first UWB channel corresponding to the inbound port network based on the first identification address. The ranging message of the TAG device is obtained based on the first UWB channel, and the first ranging is performed on the TAG device based on the ranging message. or, The second ranging of the TAG device based on the second UWB channel includes: After the second BLE Bluetooth device establishes a link with the TAG device, the second BLE Bluetooth device carries the second identification address of the outbound network, so that the TAG device can communicate using the second UWB channel corresponding to the outbound network based on the second identification address. The ranging message of the TAG device is obtained based on the second UWB channel, and a second ranging is performed on the TAG device based on the ranging message.

7. A UWB ranging device for gate entry and exit, characterized in that, include: The first ranging and transaction module is configured to perform a first ranging on the TAG device based on the first UWB channel when the current location area of ​​the TAG device is located in the first location area of ​​the gate entrance, and obtain the passage payment fee of the TAG device based on the first ranging result. The second ranging and transaction module is configured to perform a second ranging on the TAG device based on the second UWB channel when the current location area of ​​the TAG device belongs to the second location area where the exit of the gate is located, and obtain the passage payment fee of the TAG device based on the second ranging result. The first UWB channel and the second UWB channel have different frequencies; The broadcast message acquisition module is configured to acquire broadcast messages sent by TAG devices; The first location identification module is configured to identify whether the current location area of ​​the TAG device is a first location area belonging to the entrance of the gate, based on the signal strength indicator RSSI of the broadcast message. The first ranging and transaction module is specifically configured to perform a first ranging on the TAG device based on the first UWB channel when the first location identification module identifies it as a first location area, and obtain the passage payment fee of the TAG device based on the first ranging result. or, The second location identification module is configured to identify, based on the signal strength index (RSSI) of the broadcast message, whether the current location area of ​​the TAG device belongs to the second location area where the exit of the turnstile is located. The second ranging and transaction module is specifically configured to perform a second ranging on the TAG device based on the second UWB channel when the second location identification module identifies it as a second location area, and obtain the passage payment fee of the TAG device based on the second ranging result.

8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes the computer execution instructions stored in the memory to implement the UWB ranging method for gate entry and exit as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the UWB ranging method for gate entry and exit as described in any one of claims 1 to 6.

10. A turnstile system, characterized in that, The turnstile includes an entrance and an exit, wherein the entrance and / or exit of the turnstile include UWB devices, the entrance of the turnstile includes a first BLE Bluetooth device and / or the exit of the turnstile includes a second BLE Bluetooth device. The first BLE Bluetooth device and / or the second BLE Bluetooth device are used to scan TAG devices in the target area of ​​the gate system, receive broadcast messages sent by the TAG devices, and transmit them to the UWB device; The UWB device is used to perform the UWB ranging method for gate entry and exit as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Non-inductive payment method and device, electronic equipment and readable storage medium

    CN112418870A

  • Underground multi-scene identity detection positioning method and system and storage medium

    CN115412846A