WO2023226325A1 - Uwb communication method, and chip and device - Google Patents

Uwb communication method, and chip and device Download PDF

Info

Publication number
WO2023226325A1
WO2023226325A1 PCT/CN2022/132297 CN2022132297W WO2023226325A1 WO 2023226325 A1 WO2023226325 A1 WO 2023226325A1 CN 2022132297 W CN2022132297 W CN 2022132297W WO 2023226325 A1 WO2023226325 A1 WO 2023226325A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
ranging
communication
wake
uwb
Prior art date
Application number
PCT/CN2022/132297
Other languages
French (fr)
Chinese (zh)
Inventor
王大耀
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Publication of WO2023226325A1 publication Critical patent/WO2023226325A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the embodiments of the present application relate to the field of communication technology, and more specifically, to a UWB (Ultra Wide Band) communication method, chip and device.
  • UWB Ultra Wide Band
  • UWB ultra-wideband technology is a wireless carrier communication technology that does not use sinusoidal carrier waves, but uses nanosecond-level non-sinusoidal narrow pulses to transmit data, so it occupies a wide spectrum range.
  • UWB technology has the advantages of low system complexity, low transmit signal power spectrum density, insensitivity to channel fading, and high positioning accuracy. It is especially suitable for high-speed wireless access in densely populated places such as indoors.
  • the current relevant standards and specifications of UWB only stipulate the use of UWB for distance measurement. Therefore, how to transmit transaction data through UWB technology has become a problem that needs to be solved.
  • Embodiments of the present application provide a UWB communication method, chip and equipment to solve the problem in the existing technology that transaction communication cannot be performed through UWB technology.
  • a UWB communication method which is applied to ranging equipment.
  • the method includes:
  • the ranging device performs UWB ranging communication with the device under test
  • the ranging device After the ranging communication ends, the ranging device generates a transaction wake-up message based on the ranging communication results, and sends a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake; and,
  • the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • the ranging device sends a transaction wake-up message to the ranging device within the transaction wake-up time to keep it awake, and communicates through the transaction contained in the message.
  • Parameters communicate with the device under test via UWB.
  • the ranging device can directly transmit transaction data with the device under test through UWB after the ranging phase, realizing transaction communication under UWB technology, without the need to conduct transactions through other wireless communication technologies, ensuring The consistency and reliability of data interaction greatly improve the efficiency and success rate of transactions and save hardware costs.
  • the transaction wake-up message includes the transaction device address
  • the ranging device generates a transaction wake-up message based on the ranging communication results, and sends a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake, including:
  • the ranging device When the distance between the device under test and the ranging device is less than or equal to the preset distance threshold and is the closest to the ranging device, the ranging device adds the address of the device under test as the transaction device address to the transaction wake-up message, and in Send the transaction wake-up message within the transaction wake-up time;
  • the method After sending a transaction wake-up message to the device under test within the transaction wake-up time, the method includes:
  • the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then remains awake.
  • the transaction communication parameters include: transaction duration; after the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
  • the ranging device enters the ranging protection time after the transaction time and remains silent.
  • the transaction communication parameters include: response timeout duration and the number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
  • the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
  • the ranging device determines whether the transaction duration has expired. If not, it sends a transaction message to the device under test. If so, it suspends sending transaction messages to the device under test;
  • the method includes:
  • the ranging device performs the next UWB ranging communication with the device to be tested, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the ranging device continues to communicate with the device to be tested. The test device sends transaction messages.
  • the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
  • the ranging device will not perform UWB ranging communication and continue to conduct transaction communication with the device under test;
  • the method includes:
  • the ranging device sends a transaction end notification to the device under test so that the device under test enters a low power consumption state.
  • the ranging device enters the low power consumption state and communicates with the device under test when the ranging interval expires. Next time UWB ranging communication.
  • a UWB communication method is provided and applied to the device under test.
  • the method includes:
  • the device under test conducts UWB ranging communication with the ranging device
  • the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and remains awake; the transaction wake-up message is generated by the ranging device based on the ranging communication result; and ,
  • the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time to remain awake, and communicates through the transaction contained in the message.
  • Parameters and ranging devices communicate via UWB.
  • the device under test can directly transmit transaction data with the ranging device through UWB after the ranging stage, realizing transaction communication under UWB technology, without the need to conduct transactions through other wireless communication technologies, ensuring The consistency and reliability of data interaction greatly improve the efficiency and success rate of transactions and save hardware costs.
  • the transaction wake-up message includes the transaction device address
  • the method Before the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, the method includes:
  • the ranging device After the ranging communication ends, when the distance between the device under test and the ranging device is less than or equal to the preset distance threshold and the distance to the ranging device is the closest, the ranging device adds the address of the device under test as the transaction device address to in the transaction wake-up message and send the transaction wake-up message within the transaction wake-up time;
  • the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and remains awake, including:
  • the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then remains awake.
  • the transaction communication parameters include: transaction duration; after the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
  • the device under test enters the ranging protection time after the transaction time and remains silent.
  • the transaction communication parameters include: response timeout duration and the number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
  • the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
  • the device under test determines whether the transaction duration has expired. If not, it sends transaction data to the ranging device. If so, it suspends sending transaction data to the ranging device;
  • the method includes:
  • the device under test conducts the next UWB ranging communication with the ranging device, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the device under test continues to send signals to the ranging device. Ranging devices send transaction data.
  • the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
  • the device under test will not perform UWB ranging communication and continue to conduct transaction communication with the ranging device;
  • the method includes:
  • the device under test enters a low power consumption state after receiving the transaction end notification sent by the ranging device, and conducts the next UWB ranging communication with the ranging device when the ranging interval expires.
  • a UWB chip for use in ranging equipment.
  • the chip includes:
  • Communication module used for UWB ranging communication with the device under test
  • An operation module configured to generate a transaction wake-up message based on the ranging communication result after the ranging communication ends, and send a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake;
  • the communication module is also used to conduct transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • a UWB chip is provided and applied to the device under test.
  • the chip includes:
  • Communication module used for UWB ranging communication with ranging equipment
  • An operation module configured to receive a transaction wake-up message sent by the ranging device within the transaction wake-up time after the ranging communication ends and maintain the awake state; the transaction wake-up message is generated by the ranging device based on the ranging communication result; as well as,
  • the communication module is also used to conduct transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • a fifth aspect provides a UWB ranging device, which includes the UWB chip according to the third aspect.
  • a sixth aspect provides a UWB device under test, which includes a UWB chip according to the fourth aspect, and a security element.
  • Figure 1 is a schematic flowchart of a UWB communication method according to an embodiment of the present application.
  • Figure 2 is a schematic diagram of equipment timing status according to the embodiment of the present application.
  • Figure 3 is a schematic diagram of another device timing status according to an embodiment of the present application.
  • Figure 4 is another device timing status diagram according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another UWB communication method according to an embodiment of the present application.
  • Figure 6 is a schematic structural diagram of a UWB chip according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another UWB chip according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another UWB chip according to an embodiment of the present application.
  • Figure 9 is a schematic structural diagram of a UWB ranging device provided by an embodiment of the present application.
  • Figure 10 is a schematic structural diagram of a UWB device under test provided by an embodiment of the present application.
  • UWB-related standards organizations stipulate specifications for using UWB for ranging. Through these specifications, high-precision distance measurement, target positioning, etc. under UWB technology can be achieved. Especially in more complex environments, UWB technology can be used in Outperforms other technologies in terms of accuracy, power consumption, robustness and security of RF signal connections.
  • UWB devices need to send data within a time slot (slot), and other UWB devices can receive the data. To avoid collisions, only one UWB device can send data within a time slot.
  • UWB devices In order to reduce power consumption, UWB devices cannot be in the sending and receiving state at all times. Therefore, when the device does not need data interaction, it is in a low power consumption state (IDLE state). In this state, the device cannot send and receive data. The device can enter the receiving or sending state through scheduled wake-up. . For example, during the ranging phase, the UWB device is in the transmitting and receiving state. In the non-ranging phase after the ranging is completed, the device is usually in a low power consumption state and cannot perform ranging communication until the agreed time point.
  • the above-mentioned UWB equipment generally includes ranging equipment and equipment under test.
  • the ranging device needs to send different ranging frames in different time slots and receive response messages returned by the device under test to complete UWB ranging.
  • some daily transaction scenarios such as access control card swiping, bus and subway card swiping, or POS machine consumption scenarios, it is usually necessary for the ranging device and the device to be tested to perform ranging first, and then conduct transactions when the ranging data reaches a certain value range.
  • the specification only defines a time slot-based solution in the ranging phase, and does not provide a corresponding communication mechanism for how to conduct transactions through UWB technology after ranging.
  • embodiments of the present application provide a UWB communication solution that can realize transaction communication under UWB technology.
  • FIG. 1 shows a schematic flowchart of a UWB communication method 100 according to an embodiment of the present application.
  • the method 100 can be applied to the above ranging device, that is, it can be executed by the ranging device.
  • the ranging device may be an access control device, a gate, a POS terminal device, or other card reading device with UWB function.
  • the device to be tested can specifically be various types of chip cards (such as bus cards, access cards, bank cards, etc.), mobile terminal devices, wearable devices, tablets or other card simulation devices with UWB functions, etc.
  • SE Secure Element
  • these devices under test generally have SE (Secure Element), which stores transaction-related applications (such as bus apps or payment apps) and transaction information. During the specific transaction communication process, these applications can use UWB technology Interaction of transaction information with ranging devices.
  • the method includes the following steps:
  • Step 110 The ranging device performs UWB ranging communication with the device under test.
  • the ranging device may communicate with the ranging device for UWB ranging.
  • the ranging device broadcasts the ranging message in a time slot, it will receive the ranging message returned by each device under test. Response message, based on which the ranging device can accurately determine the distance between the device to be measured and the ranging device.
  • Figure 2 is a schematic diagram of equipment timing status provided by an embodiment of the present application.
  • the ranging device can perform 5 time slot ranging communications with the device under test as shown in the figure.
  • the specific number of ranging communication time slots will vary with the number of devices under test and the ranging method and is not fixed.
  • the ranging device and the device under test conduct UWB ranging communication required by the specification every certain ranging interval.
  • Figure 2 shows two ranging intervals. In actual applications, there may be more ranging intervals.
  • the ranging interval can be flexibly determined by the application layer according to actual conditions, and the specific time range can be from 100ms to several seconds, which is not limited in this application.
  • Step 120 After the ranging communication ends, the ranging device generates a transaction wake-up message according to the ranging communication result, and sends the transaction wake-up message to the device under test within the transaction wake-up time to keep it awake.
  • the transaction wake-up message may include a transaction device address, which is used to identify the target device under test that requires transaction communication.
  • the ranging device adds the address of the device under test as the transaction device address to the transaction wake-up message, and in the transaction Send the transaction wake-up message within the wake-up time.
  • the above preset distance threshold can be flexibly set according to the application scenario. For example, it can be larger when paying by swiping a card at a subway gate, and smaller when paying at a POS machine.
  • the specific value can be 0.1m-2m. This application There are no restrictions on this.
  • the above transaction wake-up time is two time slots immediately after the ranging communication stage.
  • the number of time slots included in the transaction wake-up time can be set flexibly. Generally speaking, one time slot is enough.
  • the above-mentioned transaction wake-up time can be set to multiple time slots. , a preferred number is 2-4 time slots. This can avoid the problem that once the target device under test fails to wake up in one time slot, it must wake up at the next transaction wake-up time, resulting in a decrease in transaction communication efficiency.
  • the transaction wake-up message can include transaction communication parameters, which can be flexibly configured by the application layer (such as a bus app or payment app) according to actual conditions.
  • This parameter includes but is not limited to: response timeout length, number of retransmissions, etc.
  • the response timeout period is used to specify how long a response message must be received from the peer device after sending data or control messages to the peer device, otherwise the data or control message will be deemed to have failed to be sent.
  • the number of retransmissions indicates the number of times the message needs to be sent again when the data or control message fails to be sent.
  • the transaction communication parameters may include: data packet size, which is used to specify the maximum data packet size carried in a data message sent at one time.
  • the transaction communication parameters may include: transaction duration.
  • the transaction duration is the length of the transaction communication time shown in the figure. Since the ranging device and the device under test are in a one-to-one communication state during the transaction communication time, the transaction duration does not need to follow the provisions of the standard time slot and can be set flexibly. However, the ranging communication time, transaction wake-up time and transaction The sum of the durations cannot exceed the ranging interval duration. Of course, the transaction duration is not necessary.
  • the application layer can set the transaction communication priority to be higher than the ranging communication priority. In this way, the ranging communication can be performed after the transaction communication is completed at one time. The details will be described below.
  • the target device for transaction communication after receiving the above-mentioned transaction wake-up message within the transaction wake-up time, it determines that the transaction device address in the transaction wake-up message matches its own address, and then remains awake. state. Transaction data can be sent and received with the ranging device at a later stage.
  • the target device for transaction communication after receiving the above-mentioned transaction wake-up message within the transaction wake-up time, it is determined that the transaction device address in the transaction wake-up message does not match its own address, and then enters a low power consumption state.
  • the above transaction wake-up message further includes a channel switching instruction, which is used to instruct the device under test to use a new channel to communicate with the ranging device during subsequent transaction communication times.
  • the device under test uses the new channel to conduct transaction communication with the ranging device within the transaction communication time.
  • the ranging device uses channel 5 to communicate with the device under test during the ranging communication phase.
  • the ranging device senses that channel 5 is interfered by other signals and the communication quality decreases.
  • the quality of channel 9 is better, so it sends a signal to the device under test.
  • a channel switching instruction is added to the transaction wake-up message to instruct the device under test to use channel 9 to communicate with it in the next transaction communication phase.
  • Step 130 The ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • the ranging device sends the transaction data message or control message of the application layer to the device under test through UWB technology according to the transaction communication parameters, or receives the transaction data message or control message sent by the device under test. For example, if the transaction data message or control message sent by the ranging device does not receive a response from the device under test within the response timeout period, the transaction data message or control message can be resent according to the number of retransmissions. The amount of transaction data sent by the ranging device each time needs to be configured according to the data packet size parameter. Transaction data messages or control messages can be in APDU (Application Protocol Data Unit) format.
  • the specific transaction communication process can refer to the transaction communication process of similar application scenarios under NFC (Near Field Communication), Bluetooth or Wi-Fi and other technologies.
  • a response message sent by the device under test to the above transaction wake-up message may be received at the beginning of the transaction communication time in FIG. 2 .
  • the response message is used to confirm to the ranging device that the device under test has received the transaction wake-up message, accepted transaction communication parameters, and is in a wake-up state for transaction communication.
  • the ranging device can send a transaction end notification to the device under test, so that the device under test can enter a low power consumption state in time and save device power.
  • the ranging device does not receive a response from the device under test to the transaction wake-up message, it can also enter a low-power state.
  • step 130 further includes:
  • Step 140 The ranging device enters the ranging protection time after the above transaction time and remains silent.
  • the ranging device enters the ranging protection time.
  • the length of the ranging protection time is similar to the transaction duration and can be set flexibly. It is not necessary to follow the The time slot is specified and set.
  • the ranging protection time length is the response timeout length multiplied by the number of retransmissions. The reason for this setting is that during the transaction communication process, if a device believes that the message sent to the peer device needs to be resent, it must allow enough time to resend and wait for the other party's response.
  • the ranging protection time is set, the sum of ranging communication time, transaction wake-up time, transaction duration and ranging protection time cannot exceed the above ranging interval.
  • the above silent state means that neither the ranging device nor the device under test will send new transaction communication-related messages, such as transaction data messages or control messages.
  • step 130 further includes:
  • Step 131 The ranging device determines whether the above transaction duration has expired. If not, it sends a transaction message to the device under test. If so, it suspends sending transaction messages to the device under test.
  • the ranging device sends transaction messages (such as transaction data messages or control messages) to the device under test within the transaction duration. If the transaction duration expires, the sending of transaction messages is suspended to avoid affecting subsequent ranging communications.
  • transaction messages such as transaction data messages or control messages
  • the method of this embodiment may further include:
  • Step 150 The ranging device performs the next UWB ranging communication with the device to be tested, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the ranging device continues to send data to the device to be measured. The test device sends transaction messages.
  • the ranging device can send a transaction wake-up message to the device under test, so that the device under test continues to conduct transaction communications with the ranging device during the next transaction communication time.
  • the new transaction wake-up message includes the address of the device under test and transaction communication parameters.
  • the value of the transaction communication parameters may be consistent with or different from the last setting, which is specifically configured by the application layer.
  • the above implementation method essentially means that the priority of ranging communication is higher than the priority of transaction communication.
  • the application layer may set the transaction communication priority to be higher than the ranging communication priority.
  • the transaction communication process does not need to be limited to the ranging interval of UWB ranging communication. That is to say, the transaction communication parameters set by the application layer do not include the transaction duration, and transaction communication can continue until the end of the transaction. That is, the arrival of each ranging cycle will not interrupt the ongoing UWB transaction communication. Therefore, step 130 of this embodiment may specifically include:
  • Step 132 During the transaction communication process, when the ranging interval expires, the ranging device does not perform UWB ranging communication and continues to conduct transaction communication with the device under test.
  • FIG. 4 is another device timing status schematic diagram provided by an embodiment of the present application. The transaction communication times in the figure are across multiple ranging intervals. In addition, when the transaction communication priority is higher than the ranging communication priority, the ranging protection time does not need to be set.
  • the method of this embodiment may further include:
  • Step 160 The ranging device sends a transaction end notification to the device under test so that the device under test enters a low power consumption state.
  • the ranging device enters a low power consumption state and communicates with the device under test when the above ranging interval expires.
  • the device performs the next UWB ranging communication.
  • the ranging device sends a transaction end notification message to the device under test. After receiving the message, the device under test returns a response and enters a low power consumption state. The ranging device also enters a low power consumption state after receiving the response message from the device under test. When the above ranging interval timer expires, the ranging device conducts the next UWB ranging communication with each surrounding device to be measured.
  • the application layer sets the transaction communication priority to be higher than the ranging communication priority, so that UWB transaction communication can be completed at one time, ensuring the integrity of transaction data interaction, and further improving the efficiency of UWB transaction communication.
  • the ranging device sends a transaction wake-up message to the ranging device within the transaction wake-up time to keep it awake, and communicates through the transaction contained in the message.
  • Parameters communicate with the device under test via UWB.
  • the ranging device can directly transmit transaction data with the device under test through UWB after the ranging phase, realizing transaction communication under UWB technology, without the need to go through wireless communication such as NFC, Bluetooth or Wi-Fi. Communication technology for transactions ensures the consistency and reliability of data interaction, greatly improves the efficiency and success rate of transactions, and saves hardware costs.
  • FIG. 5 shows a schematic flowchart of another UWB communication method 500 according to an embodiment of the present application.
  • the method 500 can be applied to the above-mentioned device under test, that is, it can be executed by the device under test. It can be understood that this embodiment is a method flow on the device side under test corresponding to the above method embodiment, and the same or similar technical details will not be described again. As shown in Figure 1, the method includes the following steps:
  • Step 510 The device under test conducts UWB ranging communication with the ranging device.
  • the device under test can perform ranging communication with the ranging device for 5 time slots as shown in Figure 2, and can perform ranging communication again after a certain ranging interval.
  • Step 520 After the ranging communication ends, the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and remains awake; the transaction wake-up message is generated by the ranging device based on the above ranging communication results.
  • the transaction wake-up message may include the transaction device address.
  • the method in this embodiment includes: when the distance between the device to be tested and the distance measuring device is less than or equal to a preset distance threshold and is the closest to the distance measuring device, the distance measuring device The address is added to the transaction wake-up message as the transaction device address, and the transaction wake-up message is sent within the transaction wake-up time.
  • step 520 may specifically include: the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then maintains the awake state. Transaction data can be sent and received with the ranging device at a later stage.
  • the device under test receives the transaction wake-up message within the transaction wake-up time of 2 time slots.
  • the specific number of time slots included in the transaction wake-up time can be flexibly set. Setting multiple time slots can avoid the problem that once the target device under test fails to wake up in one time slot, it must wake up at the next transaction wake-up time, resulting in a decrease in transaction communication efficiency.
  • the above transaction wake-up message may include transaction communication parameters, such as transaction duration, response timeout duration, number of retransmissions and/or data packet size, etc.
  • transaction communication parameters such as transaction duration, response timeout duration, number of retransmissions and/or data packet size, etc.
  • Step 530 The device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • the device under test sends the transaction data message or control message of the application layer to the ranging device through UWB technology according to the transaction communication parameters, or receives the transaction data message or control message sent by the ranging device.
  • the device under test sends the transaction data message or control message of the application layer to the ranging device through UWB technology according to the transaction communication parameters, or receives the transaction data message or control message sent by the ranging device.
  • the device under test can send a response message to the ranging device to the above transaction wake-up message.
  • the response message is used to confirm to the ranging device that the device under test has received the transaction wake-up message, accepted transaction communication parameters, and is in a wake-up state for transaction communication.
  • the device under test can receive the transaction end notification sent by the ranging device, and enter the low power consumption state in time to save the device power.
  • step 530 may include: after receiving the channel switching instruction, the device under test uses a new channel to conduct transaction communication with the ranging device within the transaction communication time.
  • step 530 further includes:
  • Step 540 The device under test enters the ranging protection time after the above-mentioned transaction time and remains silent.
  • the device under test enters the ranging protection time.
  • the ranging protection time length is the response timeout length multiplied by the number of retransmissions.
  • step 530 further includes:
  • Step 531 The device under test determines whether the above transaction duration has expired. If not, it sends transaction data to the ranging device. If so, it suspends sending transaction data to the ranging device.
  • the method of this embodiment may further include:
  • Step 550 The device under test conducts the next UWB ranging communication with the ranging device, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the device under test continues to communicate with the measuring device. Transaction data is sent from the device.
  • the device under test can receive a new transaction wake-up message sent by the ranging device, so that the device under test can continue to conduct transactions with the ranging device during the next transaction communication time. communication.
  • the new transaction wake-up message includes the address of the device under test and transaction communication parameters.
  • the value of the transaction communication parameters may be consistent with or different from the last setting, which is specifically configured by the application layer.
  • the application layer may set a higher priority for transaction communications than for ranging communications.
  • the transaction communication parameters set by the application layer do not include the transaction duration. The transaction communication can continue until the end of the transaction. The arrival of each ranging period will not interrupt the ongoing UWB transaction communication. Therefore, step 530 in this embodiment may specifically include:
  • Step 532 During the transaction communication process, when the ranging interval expires, the device under test will not perform UWB ranging communication and continue to conduct transaction communication with the ranging device.
  • the transaction communication time of the device under test spans multiple ranging intervals.
  • the method of this embodiment may further include:
  • Step 560 The device under test enters a low power consumption state after receiving the transaction end notification sent by the ranging device, and conducts the next UWB ranging communication with the ranging device when the above ranging interval expires.
  • the device under test After receiving the transaction end notification message sent by the ranging device, the device under test returns a response and enters a low power consumption state.
  • the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time to remain awake, and communicates through the transaction contained in the message.
  • Parameters and ranging devices communicate via UWB.
  • the device under test can directly transmit transaction data with the ranging device through UWB after the ranging stage, realizing transaction communication under UWB technology, without the need to go through wireless communication such as NFC, Bluetooth or Wi-Fi.
  • Communication technology for transactions ensures the consistency and reliability of data interaction, greatly improves the efficiency and success rate of transactions, and saves hardware costs.
  • FIG. 6 shows a schematic structural diagram of a UWB chip according to an embodiment of the present application.
  • the UWB chip 60 can be applied to ranging equipment.
  • the UWB chip 60 can specifically include: a communication module 61 and an operation module 62.
  • the communication module 61 is used to perform UWB ranging communication with the device under test; the operation module 62 is used to generate a transaction wake-up message according to the ranging communication result after the ranging communication is completed, and send a transaction wake-up message to the device under test within the transaction wake-up time. message to keep it awake; the communication module 61 is also configured to conduct transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • the transaction wake-up message includes the address of the transaction device; the operation module 62 is also configured to: when the distance between the device to be tested and the ranging device is less than or equal to a preset distance threshold and is The closest distance, add the address of the device under test as the transaction device address to the transaction wake-up message, and send the transaction wake-up message within the transaction wake-up time.
  • the transaction communication parameters include: transaction duration; the operation module 62 is also configured to cause the ranging device to enter the ranging protection time and maintain a silent state after the transaction duration.
  • the transaction communication parameters include: response timeout duration and the number of retransmissions; the above ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
  • the above-mentioned communication module 61 is also used to determine whether the transaction duration has expired, and if not, send a transaction message to the device under test, and if so, suspend sending transaction messages to the device under test; and the above-mentioned communication Module 61 is also configured to conduct the next UWB ranging communication with the device under test, enter the next transaction wake-up time after the next UWB ranging communication, and continue to send transactions to the device under test after the next transaction wake-up time. information.
  • the above-mentioned communication module 61 is also configured to, during the transaction communication process, when the ranging interval expires, do not perform UWB ranging communication and continue transaction communication with the device under test; and The above-mentioned communication module 61 is also used to send a transaction end notification to the device under test so that the device under test enters a low power consumption state, and the ranging device enters a low power consumption state, and when the ranging interval expires , conduct the next UWB ranging communication with the device under test.
  • the above-mentioned UWB chip 60 is based on the same concept as the UWB communication method 100 provided in the embodiment of the present application.
  • FIG. 7 shows a schematic structural diagram of another UWB chip according to an embodiment of the present application.
  • the UWB chip 70 can be applied to the device under test. As shown in FIG. 7 , the UWB chip 70 can specifically include: a communication module 71 and an operation module 72 .
  • the communication module 71 is used to perform UWB ranging communication with the ranging device; the operation module 72 is used to receive the transaction wake-up message sent by the ranging device within the transaction wake-up time after the ranging communication ends and maintain the wake-up state; The transaction wake-up message is generated by the ranging device according to the ranging communication result; the communication module 71 is also used to conduct transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
  • the transaction wake-up message includes a transaction device address; the operation module 72 is also configured to receive a transaction wake-up message sent by the ranging device within the transaction wake-up time, and determine the transaction device address in the transaction wake-up message. If it matches its own address, it will remain awake.
  • the above-mentioned transaction communication parameters include: transaction duration; the operation module 72 is also configured to enter the ranging protection time after the transaction duration and maintain a silent state.
  • the above transaction communication parameters include: response timeout duration and number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
  • the communication module 71 is also used to determine whether the transaction duration has expired, and if not, send transaction data to the ranging device, and if so, suspend sending transaction data to the ranging device; and the above-mentioned communication module 71 It is also used to conduct the next UWB ranging communication with the ranging device, enter the next transaction wake-up time after the next UWB ranging communication, and continue to send transaction data to the ranging device after the next transaction wake-up time.
  • the communication module 71 is also configured to not perform UWB ranging communication when the ranging interval expires during the transaction communication process, but to continue transaction communication with the ranging device; and The above-mentioned communication module 71 is also used to enter a low power consumption state after receiving the transaction end notification sent by the ranging device, and to conduct the next UWB ranging communication with the ranging device when the ranging interval expires.
  • the above-mentioned UWB chip 70 is based on the same concept as the UWB communication method 500 provided in the embodiment of the present application.
  • the description in the above-mentioned UWB communication method 500 embodiment please refer to the description in the above-mentioned UWB communication method 500 embodiment, and will not be described again here.
  • FIG. 8 shows a schematic structural diagram of yet another UWB chip 80 provided by an embodiment of the present application.
  • the UWB chip 80 includes: a memory 81 and a processor 82; the memory 81 is used to store a computer program, and the processor 82 is used to call the computer program.
  • the computer program is executed by the processor 82, such that The UWB chip 80 executes the UWB communication method in any of the above embodiments.
  • An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • the computer program executes the UWB communication method in any of the above embodiments.
  • An embodiment of the present application also provides a computer program product containing instructions, which when executed by a computer causes the computer to perform the UWB communication method in any of the above embodiments.
  • FIG. 9 shows a schematic structural diagram of a UWB ranging device 90 provided by an embodiment of the present application.
  • the UWB ranging device 90 may include the above-mentioned UWB chip 60 or UWB chip 80 .
  • the ranging device 90 may be an access control device, a gate, a POS terminal device, or other card reading device with UWB function.
  • FIG. 10 shows a schematic structural diagram of a UWB device to be tested 1000 provided by an embodiment of the present application.
  • the UWB device under test 1000 may include the above-mentioned UWB chip 70 or UWB chip 80 .
  • the device under test 1000 also includes SE1100, which stores transaction-related applications (such as bus app or payment app) and transaction information.
  • the application in the SE can communicate with the SE1100 through the above-mentioned UWB chip. Ranging equipment interacts with transaction information.
  • the device under test 1000 can be various chip cards (such as bus cards, access cards, bank cards, etc.), mobile terminal devices, wearable devices, tablets or other card simulation devices with UWB functions. wait.
  • the wearable devices include devices that are full-featured, large in size, and can realize complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to cooperate with other devices such as smartphones.
  • Equipment used such as various types of smart bracelets, smart jewelry and other equipment for physical sign monitoring.
  • the systems, devices and methods disclosed in the embodiments of this application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed.
  • the device embodiments described above are only illustrative, and the division of units is only a logical function division. In actual implementation, there may be other divisions, and multiple units or components may be combined or integrated into another system.
  • the coupling between units or the coupling between components may be direct coupling or indirect coupling, and the above-mentioned coupling includes electrical, mechanical or other forms of connection.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided in the present application are a UWB communication method, and a chip and a device. The method can be applied to a ranging device, and comprises: a ranging device performing UWB ranging communication with a device to be subjected to ranging; after the ranging communication is finished, the ranging device generating a transaction wake-up message according to a ranging communication result, and sending, within a transaction wake-up time, the transaction wake-up message to the device to be subjected to ranging, so as to keep same in an awake state; and according to a transaction communication parameter comprised in the transaction wake-up message, the ranging device performing, by means of a UWB, transaction communication with the device to be subjected to ranging. In the technical solution, after a ranging stage, the ranging device can directly transmit, by means of the UWB, transaction data to the device to be subjected to ranging, such that transaction communication based on UWB technology is realized, and there is no need to make a transaction by means of other wireless communication technology, thereby greatly improving the efficiency and success rate of a transaction; in addition, a user does not need to cause the device to be subjected to ranging to physically approach the ranging device, such that rapid unconscious payment or card swiping can be realized, thereby greatly improving user experience.

Description

UWB通信方法、芯片及设备UWB communication method, chip and equipment
本申请要求申请日为2022年05月27日、申请号为“202210597534.1”、专利名称为“UWB通信方法、芯片及设备”的中国发明专利申请的优先权,其全部内容在此引入作为参考。This application claims priority for the Chinese invention patent application with the filing date of May 27, 2022, the application number "202210597534.1", and the patent name "UWB communication method, chip and equipment", the entire content of which is hereby incorporated by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,并且更具体地,涉及一种UWB(超宽带,Ultra Wide Band)通信方法、芯片及设备。The embodiments of the present application relate to the field of communication technology, and more specifically, to a UWB (Ultra Wide Band) communication method, chip and device.
背景技术Background technique
UWB超宽带技术是一种无线载波通信技术,它不采用正弦载波,而是利用纳秒级的非正弦波窄脉冲传输数据,因此其所占的频谱范围很宽。UWB技术具有系统复杂度低,发射信号功率谱密度低,对信道衰落不敏感,定位精度高等优点,尤其适用于室内等人员密集场所的高速无线接入。但目前UWB的相关标准规范仅规定了利用UWB进行距离测定,为此,如何通过UWB技术来进行交易数据传输,成为需要解决的问题。UWB ultra-wideband technology is a wireless carrier communication technology that does not use sinusoidal carrier waves, but uses nanosecond-level non-sinusoidal narrow pulses to transmit data, so it occupies a wide spectrum range. UWB technology has the advantages of low system complexity, low transmit signal power spectrum density, insensitivity to channel fading, and high positioning accuracy. It is especially suitable for high-speed wireless access in densely populated places such as indoors. However, the current relevant standards and specifications of UWB only stipulate the use of UWB for distance measurement. Therefore, how to transmit transaction data through UWB technology has become a problem that needs to be solved.
发明内容Contents of the invention
本申请实施例提供一种UWB通信方法、芯片及设备,用于解决现有技术中存在的无法通过UWB技术进行交易通信的问题。Embodiments of the present application provide a UWB communication method, chip and equipment to solve the problem in the existing technology that transaction communication cannot be performed through UWB technology.
第一方面,提供了一种UWB通信方法,应用于测距设备,该方法包括:In the first aspect, a UWB communication method is provided, which is applied to ranging equipment. The method includes:
测距设备与待测设备进行UWB测距通信;The ranging device performs UWB ranging communication with the device under test;
在测距通信结束后,该测距设备根据测距通信结果生成交易唤醒消息,在交易唤醒时间内向该待测设备发送交易唤醒消息使其保持唤醒状态;以及,After the ranging communication ends, the ranging device generates a transaction wake-up message based on the ranging communication results, and sends a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake; and,
测距设备根据该交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信。The ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
本申请实施例中,在测距设备和待测设备完成测距通信之后,测距设备在交易唤醒时间内向测距设备发送交易唤醒消息使其保持唤醒状态,并通过该消息中包含的交易通信参数与待测设备通过UWB进行交易通信。相比于传统的UWB测距,测距设备可以在测距阶段之后直接通过UWB与待测设备进行交易数据传输,实现UWB技术下的交易通信,无需再通过其他无线通信技术进行交易,保证了数据交互的一致性和可靠性,大大提高了交易的效率和成功率,节省了硬件成本。同时,由于UWB技术有相对较大的通信距离和较高的灵敏度,用户不必将待测设备物理接近于测距设备,从而可以实现快速无感支付或刷卡,大幅提升用户体验。In the embodiment of this application, after the ranging device and the device under test complete the ranging communication, the ranging device sends a transaction wake-up message to the ranging device within the transaction wake-up time to keep it awake, and communicates through the transaction contained in the message. Parameters communicate with the device under test via UWB. Compared with traditional UWB ranging, the ranging device can directly transmit transaction data with the device under test through UWB after the ranging phase, realizing transaction communication under UWB technology, without the need to conduct transactions through other wireless communication technologies, ensuring The consistency and reliability of data interaction greatly improve the efficiency and success rate of transactions and save hardware costs. At the same time, because UWB technology has a relatively large communication distance and high sensitivity, users do not have to physically bring the device under test close to the distance measuring device, thus enabling fast and non-sensitive payment or card swiping, which greatly improves the user experience.
在一种实现方式中,该交易唤醒消息包括交易设备地址;In one implementation, the transaction wake-up message includes the transaction device address;
测距设备根据测距通信结果生成交易唤醒消息,在交易唤醒时间内向该待测设备发送交易唤醒消息使其保持唤醒状态包括:The ranging device generates a transaction wake-up message based on the ranging communication results, and sends a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake, including:
当该待测设备与测距设备之间的距离小于等于预设距离阈值且与该测距设备距离最近,测距设备将该待测设备地址作为交易设备地址添加至交易唤醒消息中,并在交易唤醒时间内发送该交易唤醒消息;When the distance between the device under test and the ranging device is less than or equal to the preset distance threshold and is the closest to the ranging device, the ranging device adds the address of the device under test as the transaction device address to the transaction wake-up message, and in Send the transaction wake-up message within the transaction wake-up time;
在交易唤醒时间内向该待测设备发送交易唤醒消息之后,该方法包括:After sending a transaction wake-up message to the device under test within the transaction wake-up time, the method includes:
该待测设备在交易唤醒时间内接收测距设备发送的交易唤醒消息,判断该交易唤醒消息中的交易设备地址与自身地址相符,则保持唤醒状态。The device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then remains awake.
在一种实现方式中,该交易通信参数包括:交易时长;测距设备根据该交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信之后,该方法包括:In one implementation, the transaction communication parameters include: transaction duration; after the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
测距设备在交易时长之后进入测距保护时间,并保持静默状态。The ranging device enters the ranging protection time after the transaction time and remains silent.
在一种实现方式中,该交易通信参数包括:响应超时时长和重发次数;该测距保护时间长度为该响应超时时长乘以重发次数。In one implementation, the transaction communication parameters include: response timeout duration and the number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
在一种实现方式中,测距设备根据该交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信包括:In one implementation, the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
测距设备判断该交易时长是否到期,若否则向该待测设备发送交易消息,若是则暂停向该待测设备发送交易消息;The ranging device determines whether the transaction duration has expired. If not, it sends a transaction message to the device under test. If so, it suspends sending transaction messages to the device under test;
测距设备根据该交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信之后,该方法包括:After the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
测距设备与该待测设备进行下一次UWB测距通信,并在该下一次UWB测距通信之后进入下一个交易唤醒时间,在该下一个交易唤醒时间之后,该测距设备继续向该待测设备发送交易消息。The ranging device performs the next UWB ranging communication with the device to be tested, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the ranging device continues to communicate with the device to be tested. The test device sends transaction messages.
在一种实现方式中,测距设备根据该交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信包括:In one implementation, the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
在交易通信过程中,该测距设备在测距间隔时长到期时,不进行UWB测距通信,继续与该待测设备进行交易通信;During the transaction communication process, when the ranging interval expires, the ranging device will not perform UWB ranging communication and continue to conduct transaction communication with the device under test;
测距设备根据该交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信之后,该方法包括:After the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
测距设备向该待测设备发送交易结束通知以使该待测设备进入低功耗状态,该测距设备进入低功耗状态,并在该测距间隔时长到期时,与待测设备进行下一次UWB测距通信。The ranging device sends a transaction end notification to the device under test so that the device under test enters a low power consumption state. The ranging device enters the low power consumption state and communicates with the device under test when the ranging interval expires. Next time UWB ranging communication.
第二方面,提供了一种UWB通信方法,应用于待测设备,该方法包括:In the second aspect, a UWB communication method is provided and applied to the device under test. The method includes:
待测设备与测距设备进行UWB测距通信;The device under test conducts UWB ranging communication with the ranging device;
在该测距通信结束后,该待测设备在交易唤醒时间内接收该测距设备发送的交易唤醒消息并保持唤醒状态;该交易唤醒消息由该测距设备根据该测距通信结果生成;以及,After the ranging communication ends, the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and remains awake; the transaction wake-up message is generated by the ranging device based on the ranging communication result; and ,
该待测设备根据该交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信。The device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
本申请实施例中,在待测设备和测距设备完成测距通信之后,待测设备在交易唤醒时间内接收测距设备发送的交易唤醒消息保持唤醒状态,并通过该消息中包含的交易通信参数与测距设备通过UWB进行交易通信。相比于传统的UWB测距,待测设备可以在测距阶段之后直接通过UWB与测距设备进行交易数据传输,实现UWB技术下的交易通信,无需再通过其他无线通信技术进行交易,保证了数据交互的一致性和可靠性,大大提高了交易的效率和成功率,节省了硬件成本。同时,由于UWB技术有相对较大的通信距离和较高的灵敏度,用户不必将待测设备物理接近于测距设备,从而可以实现快速无感支付或刷卡,大幅提升用户体验。In the embodiment of this application, after the device under test and the ranging device complete the ranging communication, the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time to remain awake, and communicates through the transaction contained in the message. Parameters and ranging devices communicate via UWB. Compared with traditional UWB ranging, the device under test can directly transmit transaction data with the ranging device through UWB after the ranging stage, realizing transaction communication under UWB technology, without the need to conduct transactions through other wireless communication technologies, ensuring The consistency and reliability of data interaction greatly improve the efficiency and success rate of transactions and save hardware costs. At the same time, because UWB technology has a relatively large communication distance and high sensitivity, users do not have to physically bring the device under test close to the distance measuring device, thus enabling fast and non-sensitive payment or card swiping, which greatly improves the user experience.
在一种实现方式中,该交易唤醒消息包括交易设备地址;In one implementation, the transaction wake-up message includes the transaction device address;
该待测设备在交易唤醒时间内接收该测距设备发送的交易唤醒消息之前,该方法包括:Before the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, the method includes:
在测距通信结束后,当该待测设备与测距设备之间的距离小于等于预设距离阈值且与该测距设备距离最近,测距设备将该待测设备地址作为交易设备地址添加至该交易唤醒消息中,并在交易唤醒时间内发送该交易唤醒消息;After the ranging communication ends, when the distance between the device under test and the ranging device is less than or equal to the preset distance threshold and the distance to the ranging device is the closest, the ranging device adds the address of the device under test as the transaction device address to in the transaction wake-up message and send the transaction wake-up message within the transaction wake-up time;
待测设备在交易唤醒时间内接收该测距设备发送的交易唤醒消息并保持唤醒状态,包括:The device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and remains awake, including:
该待测设备在交易唤醒时间内接收该测距设备发送的交易唤醒消息,判断该交易唤醒消息中的交易设备地址与自身地址相符,则保持唤醒状态。The device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then remains awake.
在一种实现方式中,该交易通信参数包括:交易时长;待测设备根据该交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信之后,该方法包括:In one implementation, the transaction communication parameters include: transaction duration; after the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
该待测设备在交易时长之后进入测距保护时间,并保持静默状态。The device under test enters the ranging protection time after the transaction time and remains silent.
在一种实现方式中,该交易通信参数包括:响应超时时长和重发次数;该测距保护时间长度为该响应超时时长乘以重发次数。In one implementation, the transaction communication parameters include: response timeout duration and the number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
在一种实现方式中,该待测设备根据该交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信包括:In one implementation, the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
该待测设备判断交易时长是否到期,若否则向该测距设备发送交易数据,若是则暂停向该测距设备发送交易数据;The device under test determines whether the transaction duration has expired. If not, it sends transaction data to the ranging device. If so, it suspends sending transaction data to the ranging device;
该待测设备根据该交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信之后,该方法包括:After the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
该待测设备与该测距设备进行下一次UWB测距通信,并在该下一次UWB测距通信之后进入下一个交易唤醒时间,在该下一个交易唤醒时间之后,该待测设备继续向该测距设备发送交易数据。The device under test conducts the next UWB ranging communication with the ranging device, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the device under test continues to send signals to the ranging device. Ranging devices send transaction data.
在一种实现方式中,该待测设备根据该交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信包括:In one implementation, the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
在交易通信过程中,该待测设备在测距间隔时长到期时,不进行UWB测距通信,继续与该测距设备进行交易通信;During the transaction communication process, when the ranging interval expires, the device under test will not perform UWB ranging communication and continue to conduct transaction communication with the ranging device;
该待测设备根据该交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信之后,该方法包括:After the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
该待测设备收到该测距设备发送的交易结束通知之后进入低功耗状态,并在该测距间隔时 长到期时,与该测距设备进行下一次UWB测距通信。The device under test enters a low power consumption state after receiving the transaction end notification sent by the ranging device, and conducts the next UWB ranging communication with the ranging device when the ranging interval expires.
第三方面,提供了一种UWB芯片,应用于测距设备,该芯片包括:In the third aspect, a UWB chip is provided for use in ranging equipment. The chip includes:
通信模块,用于与待测设备进行UWB测距通信;Communication module, used for UWB ranging communication with the device under test;
操作模块,用于在该测距通信结束后,根据该测距通信结果生成交易唤醒消息,在交易唤醒时间内向该待测设备发送交易唤醒消息使其保持唤醒状态;以及,An operation module configured to generate a transaction wake-up message based on the ranging communication result after the ranging communication ends, and send a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake; and,
该通信模块,还用于根据该交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信。The communication module is also used to conduct transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
第四方面,提供了一种UWB芯片,应用于待测设备,该芯片包括:In the fourth aspect, a UWB chip is provided and applied to the device under test. The chip includes:
通信模块,用于与测距设备进行UWB测距通信;Communication module, used for UWB ranging communication with ranging equipment;
操作模块,用于在该测距通信结束后,在交易唤醒时间内接收该测距设备发送的交易唤醒消息并保持唤醒状态;该交易唤醒消息由该测距设备根据该测距通信结果生成;以及,An operation module, configured to receive a transaction wake-up message sent by the ranging device within the transaction wake-up time after the ranging communication ends and maintain the awake state; the transaction wake-up message is generated by the ranging device based on the ranging communication result; as well as,
该通信模块,还用于根据该交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信。The communication module is also used to conduct transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
第五方面,提供了一种UWB测距设备,该测距设备包括根据第三方面的UWB芯片。A fifth aspect provides a UWB ranging device, which includes the UWB chip according to the third aspect.
第六方面,提供了一种UWB待测设备,该待测设备包括根据第四方面的UWB芯片,以及安全元件。A sixth aspect provides a UWB device under test, which includes a UWB chip according to the fourth aspect, and a security element.
附图说明Description of the drawings
图1是本申请实施例的一种UWB通信方法的流程示意图。Figure 1 is a schematic flowchart of a UWB communication method according to an embodiment of the present application.
图2是本申请实施例的设备时序状态示意图。Figure 2 is a schematic diagram of equipment timing status according to the embodiment of the present application.
图3是本申请实施例的另一个设备时序状态示意图。Figure 3 is a schematic diagram of another device timing status according to an embodiment of the present application.
图4是本申请实施例的又一个设备时序状态示意图。Figure 4 is another device timing status diagram according to an embodiment of the present application.
图5是本申请实施例的另一种UWB通信方法的流程示意图。Figure 5 is a schematic flowchart of another UWB communication method according to an embodiment of the present application.
图6是本申请实施例的一种UWB芯片的结构示意图。Figure 6 is a schematic structural diagram of a UWB chip according to an embodiment of the present application.
图7是本申请实施例的另一种UWB芯片的结构示意图。Figure 7 is a schematic structural diagram of another UWB chip according to an embodiment of the present application.
图8是本申请实施例的又一种UWB芯片的结构示意图。Figure 8 is a schematic structural diagram of another UWB chip according to an embodiment of the present application.
图9是本申请实施例提供的一种UWB测距设备的结构示意图。Figure 9 is a schematic structural diagram of a UWB ranging device provided by an embodiment of the present application.
图10是本申请实施例提供的一种UWB待测设备的结构示意图。Figure 10 is a schematic structural diagram of a UWB device under test provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the accompanying drawings.
UWB相关的标准组织(如FiRa联盟)规定了利用UWB进行测距的规范,通过这些规范可以实现UWB技术下的高精度距离测定、目标定位等,特别是在较复杂的环境中,UWB技术在准确性、功耗、射频信号连接的稳健性和安全性方面优于其他技术。UWB-related standards organizations (such as the FiRa Alliance) stipulate specifications for using UWB for ranging. Through these specifications, high-precision distance measurement, target positioning, etc. under UWB technology can be achieved. Especially in more complex environments, UWB technology can be used in Outperforms other technologies in terms of accuracy, power consumption, robustness and security of RF signal connections.
按照规范要求,UWB设备需要在一个时隙(slot)内发送数据,其他UWB设备均可以接 收到该数据。为了避免冲突,在一个时隙内只有一个UWB设备可以发送数据。为了减少功耗,UWB设备不能时刻处于收发状态,因此设备无需数据交互的时候处于低功耗状态(IDLE状态),在此状态下设备不能收发数据,通过定时唤醒可使得设备进入接收或者发送状态。例如在测距阶段,UWB设备处于收发状态,在测距完成后的非测距阶段,设备通常处于低功耗状态,必须在约定的时间点后才能再进行测距通信。According to the specification requirements, UWB devices need to send data within a time slot (slot), and other UWB devices can receive the data. To avoid collisions, only one UWB device can send data within a time slot. In order to reduce power consumption, UWB devices cannot be in the sending and receiving state at all times. Therefore, when the device does not need data interaction, it is in a low power consumption state (IDLE state). In this state, the device cannot send and receive data. The device can enter the receiving or sending state through scheduled wake-up. . For example, during the ranging phase, the UWB device is in the transmitting and receiving state. In the non-ranging phase after the ranging is completed, the device is usually in a low power consumption state and cannot perform ranging communication until the agreed time point.
上述UWB设备一般包括测距设备和待测设备。测距设备需要在不同的时隙发送不同的测距帧,并接收待测设备返回的响应消息以完成UWB测距。在一些日常交易场景下,如在门禁刷卡、公交地铁刷卡或POS机消费场景中,通常需要测距设备和待测设备先进行测距,然后在测距数据到达一定数值范围内进行交易。但规范中仅仅定义了测距阶段的基于时隙的方案,对于如何在测距之后通过UWB技术进行交易没有给出相应通信机制。The above-mentioned UWB equipment generally includes ranging equipment and equipment under test. The ranging device needs to send different ranging frames in different time slots and receive response messages returned by the device under test to complete UWB ranging. In some daily transaction scenarios, such as access control card swiping, bus and subway card swiping, or POS machine consumption scenarios, it is usually necessary for the ranging device and the device to be tested to perform ranging first, and then conduct transactions when the ranging data reaches a certain value range. However, the specification only defines a time slot-based solution in the ranging phase, and does not provide a corresponding communication mechanism for how to conduct transactions through UWB technology after ranging.
为此,本申请实施例提供一种UWB通信的方案,能够实现UWB技术下的交易通信。To this end, embodiments of the present application provide a UWB communication solution that can realize transaction communication under UWB technology.
图1示出了本申请实施例的一种UWB通信方法100的流程示意图。该方法100可应用于上述测距设备,即可由测距设备执行。作为举例而非限定,该测距设备具体可以为门禁、闸机、POS终端设备或其他带有UWB功能的读卡设备等。相应的,待测设备具体可以为各类芯片卡(如公交卡、门禁卡、银行卡等)、移动终端设备、可穿戴设备、平板电脑或其他带有UWB功能的卡模拟设备等。这些待测设备中一般具有SE(Secure Element,安全元件),其中存储有交易相关的应用程序(如公交app或支付app)和交易信息,在具体交易通信过程中,这些应用程序可以通过UWB技术与测距设备进行交易信息的交互。如图1所示,该方法包括以下步骤:Figure 1 shows a schematic flowchart of a UWB communication method 100 according to an embodiment of the present application. The method 100 can be applied to the above ranging device, that is, it can be executed by the ranging device. As an example but not a limitation, the ranging device may be an access control device, a gate, a POS terminal device, or other card reading device with UWB function. Correspondingly, the device to be tested can specifically be various types of chip cards (such as bus cards, access cards, bank cards, etc.), mobile terminal devices, wearable devices, tablets or other card simulation devices with UWB functions, etc. These devices under test generally have SE (Secure Element), which stores transaction-related applications (such as bus apps or payment apps) and transaction information. During the specific transaction communication process, these applications can use UWB technology Interaction of transaction information with ranging devices. As shown in Figure 1, the method includes the following steps:
步骤110:测距设备与待测设备进行UWB测距通信。Step 110: The ranging device performs UWB ranging communication with the device under test.
具体应用场景中,可能有多个待测设备与测距设备进行UWB测距通信,如前所述,测距设备在一个时隙广播测距消息后会收到各待测设备返回的测距响应消息,据此测距设备可以精准确定各待测设备与测距设备的距离。In a specific application scenario, there may be multiple devices under test communicating with the ranging device for UWB ranging. As mentioned above, after the ranging device broadcasts the ranging message in a time slot, it will receive the ranging message returned by each device under test. Response message, based on which the ranging device can accurately determine the distance between the device to be measured and the ranging device.
图2为本申请实施例提供的设备时序状态示意图。测距设备可以按照图中所示与待测设备进行5个时隙的测距通信,当然,具体测距通信时隙的多少会随着待测设备数量及测距方法变化,并不固定。之后,测距设备和待测设备每隔一定测距间隔时长进行一次规范要求的UWB测距通信,图2示出了两个测距间隔,实际应用中可能会有更多的测距间隔。该测距间隔时长可以由应用层根据实际情况灵活确定,具体时间范围可以为100ms至数秒,本申请对此不做限定。Figure 2 is a schematic diagram of equipment timing status provided by an embodiment of the present application. The ranging device can perform 5 time slot ranging communications with the device under test as shown in the figure. Of course, the specific number of ranging communication time slots will vary with the number of devices under test and the ranging method and is not fixed. After that, the ranging device and the device under test conduct UWB ranging communication required by the specification every certain ranging interval. Figure 2 shows two ranging intervals. In actual applications, there may be more ranging intervals. The ranging interval can be flexibly determined by the application layer according to actual conditions, and the specific time range can be from 100ms to several seconds, which is not limited in this application.
步骤120:在测距通信结束后,测距设备根据所述测距通信结果生成交易唤醒消息,在交易唤醒时间内向该待测设备发送交易唤醒消息使其保持唤醒状态。Step 120: After the ranging communication ends, the ranging device generates a transaction wake-up message according to the ranging communication result, and sends the transaction wake-up message to the device under test within the transaction wake-up time to keep it awake.
具体的,该交易唤醒消息可以包括交易设备地址,该地址用于标识需要进行交易通信的目标待测设备。当上述待测设备与测距设备之间的距离小于等于预设距离阈值且与测距设备距离最近,测距设备将该待测设备地址作为交易设备地址添加至交易唤醒消息中,并在交易唤醒时间内发送该交易唤醒消息。可以理解的,上述预设距离阈值根据应用场景可以灵活设定,如在地铁闸机刷卡支付时可以大一点,在POS机消费支付时可以小一点,具体数值可以为0.1m-2m, 本申请对此不做限制。Specifically, the transaction wake-up message may include a transaction device address, which is used to identify the target device under test that requires transaction communication. When the distance between the device under test and the ranging device is less than or equal to the preset distance threshold and the distance to the ranging device is the closest, the ranging device adds the address of the device under test as the transaction device address to the transaction wake-up message, and in the transaction Send the transaction wake-up message within the wake-up time. It is understandable that the above preset distance threshold can be flexibly set according to the application scenario. For example, it can be larger when paying by swiping a card at a subway gate, and smaller when paying at a POS machine. The specific value can be 0.1m-2m. This application There are no restrictions on this.
如图2所示,上述交易唤醒时间为紧邻测距通信阶段之后的2个时隙。交易唤醒时间具体包括的时隙数量可以灵活设定,一般来讲设置一个时隙即可,但为了确保目标待测设备能够被正确唤醒进入交易状态,可以设置上述交易唤醒时间为多个时隙,一个优选的数量是2-4个时隙。这样可以避免一旦在一个时隙内对目标待测设备唤醒失败,必须在下一个交易唤醒时间进行唤醒,所造成的交易通信效率下降的问题。As shown in Figure 2, the above transaction wake-up time is two time slots immediately after the ranging communication stage. The number of time slots included in the transaction wake-up time can be set flexibly. Generally speaking, one time slot is enough. However, in order to ensure that the target device under test can be correctly awakened to enter the transaction state, the above-mentioned transaction wake-up time can be set to multiple time slots. , a preferred number is 2-4 time slots. This can avoid the problem that once the target device under test fails to wake up in one time slot, it must wake up at the next transaction wake-up time, resulting in a decrease in transaction communication efficiency.
具体的,该交易唤醒消息中可以包括交易通信参数,该参数可由应用层(如公交app或支付app)根据实际情况灵活配置。该参数包括但不限于:响应超时时长、重发次数等。响应超时时长用于规定在向对端设备发送数据或控制消息后,必须在多长时间范围内收到对端设备返回的响应消息,否则视为数据或控制消息发送失败。重发次数表明在数据或控制消息发送失败时,需要再次发送该消息的次数。进一步的,该交易通信参数可以包括:数据包大小,其用于规定一次发送的数据消息中最多携带的数据包大小。为了保证交易通信不影响规范规定的定时测距通信,该交易通信参数可以包括:交易时长。参见图2,该交易时长为图中所示交易通信时间的长度。由于在交易通信时间内测距设备与该待测设备处于一对一的通信状态,该交易时长可不必遵循规范时隙的规定,可以灵活设定,但是测距通信时间、交易唤醒时间与交易时长之和不能超过测距间隔时长。当然,该交易时长不是必须的,应用层可以设置交易通信优先级高于测距通信优先级,这样可以一次进行完交易通信后再进行测距通信,具体将在下文描述。Specifically, the transaction wake-up message can include transaction communication parameters, which can be flexibly configured by the application layer (such as a bus app or payment app) according to actual conditions. This parameter includes but is not limited to: response timeout length, number of retransmissions, etc. The response timeout period is used to specify how long a response message must be received from the peer device after sending data or control messages to the peer device, otherwise the data or control message will be deemed to have failed to be sent. The number of retransmissions indicates the number of times the message needs to be sent again when the data or control message fails to be sent. Further, the transaction communication parameters may include: data packet size, which is used to specify the maximum data packet size carried in a data message sent at one time. In order to ensure that transaction communication does not affect the timing and ranging communication specified in the specification, the transaction communication parameters may include: transaction duration. Referring to Figure 2, the transaction duration is the length of the transaction communication time shown in the figure. Since the ranging device and the device under test are in a one-to-one communication state during the transaction communication time, the transaction duration does not need to follow the provisions of the standard time slot and can be set flexibly. However, the ranging communication time, transaction wake-up time and transaction The sum of the durations cannot exceed the ranging interval duration. Of course, the transaction duration is not necessary. The application layer can set the transaction communication priority to be higher than the ranging communication priority. In this way, the ranging communication can be performed after the transaction communication is completed at one time. The details will be described below.
相应的,在该待测设备侧,其作为交易通信的目标设备,在交易唤醒时间内收到上述交易唤醒消息后,判断所述交易唤醒消息中的交易设备地址与自身地址相符,则保持唤醒状态。以在之后的阶段与测距设备进行交易数据的收发。参见图3,对于其他待测设备,在交易唤醒时间内收到上述交易唤醒消息后,判断所述交易唤醒消息中的交易设备地址与自身地址不相符,则进入低功耗状态。Correspondingly, on the side of the device under test, as the target device for transaction communication, after receiving the above-mentioned transaction wake-up message within the transaction wake-up time, it determines that the transaction device address in the transaction wake-up message matches its own address, and then remains awake. state. Transaction data can be sent and received with the ranging device at a later stage. Referring to Figure 3, for other devices under test, after receiving the above-mentioned transaction wake-up message within the transaction wake-up time, it is determined that the transaction device address in the transaction wake-up message does not match its own address, and then enters a low power consumption state.
可选的,上述交易唤醒消息进一步包括信道切换指令,该信道切换指令用于指示该待测设备在之后的交易通信时间使用新的信道与测距设备进行通信。相应的,该待测设备在收到该信道切换指令后,在交易通信时间内使用新的信道与该测距设备进行交易通信。Optionally, the above transaction wake-up message further includes a channel switching instruction, which is used to instruct the device under test to use a new channel to communicate with the ranging device during subsequent transaction communication times. Correspondingly, after receiving the channel switching instruction, the device under test uses the new channel to conduct transaction communication with the ranging device within the transaction communication time.
例如,测距设备在测距通信阶段使用信道5与待测设备通信,但测距设备感测到信道5受到其他信号干扰通信质量下降,同时信道9质量较好,则在向待测设备发送交易唤醒消息时添加信道切换指令,指示该待测设备在接下来的交易通信阶段使用信道9与其进行通信。通过该方式,可以提升UWB交易通信的质量,保证交易成功率。For example, the ranging device uses channel 5 to communicate with the device under test during the ranging communication phase. However, the ranging device senses that channel 5 is interfered by other signals and the communication quality decreases. At the same time, the quality of channel 9 is better, so it sends a signal to the device under test. A channel switching instruction is added to the transaction wake-up message to instruct the device under test to use channel 9 to communicate with it in the next transaction communication phase. Through this method, the quality of UWB transaction communication can be improved and the transaction success rate can be guaranteed.
步骤130:测距设备根据交易唤醒消息中包括的交易通信参数与该待测设备通过UWB进行交易通信。Step 130: The ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
具体的,测距设备根据交易通信参数将应用层的交易数据消息或控制消息通过UWB技术发送至该待测设备,或接收该待测设备发送的交易数据消息或控制消息。例如,如果测距设备发送的交易数据消息或控制消息在响应超时时长内没有收到该待测设备的响应则可以按照重发次数重新发送该交易数据消息或控制消息。测距设备每次发送的交易数据量需按照数据包大小参数配置。交易数据消息或控制消息可以采用APDU(应用协议数据单元,Application  Protocol Data Unit)格式。具体交易通信过程可以参照NFC(Near Field Communication,近场通信)、蓝牙或Wi-Fi等技术下的类似应用场景的交易通信流程。Specifically, the ranging device sends the transaction data message or control message of the application layer to the device under test through UWB technology according to the transaction communication parameters, or receives the transaction data message or control message sent by the device under test. For example, if the transaction data message or control message sent by the ranging device does not receive a response from the device under test within the response timeout period, the transaction data message or control message can be resent according to the number of retransmissions. The amount of transaction data sent by the ranging device each time needs to be configured according to the data packet size parameter. Transaction data messages or control messages can be in APDU (Application Protocol Data Unit) format. The specific transaction communication process can refer to the transaction communication process of similar application scenarios under NFC (Near Field Communication), Bluetooth or Wi-Fi and other technologies.
可选的,在图2中交易通信时间开始阶段可以接收该待测设备发送的对上述交易唤醒消息的响应消息。该响应消息用于向测距设备确认该待测设备收到交易唤醒消息,接受交易通信参数,并处于唤醒状态以进行交易通信。相应的,在交易数据交互完毕,交易通信结束时,测距设备可以向待测设备发送交易结束通知,以便该待测设备及时进入低功耗状态,节省设备电力。同样,如果测距设备没有接收到待测设备对于交易唤醒消息的响应,也可以进入低功耗状态。Optionally, a response message sent by the device under test to the above transaction wake-up message may be received at the beginning of the transaction communication time in FIG. 2 . The response message is used to confirm to the ranging device that the device under test has received the transaction wake-up message, accepted transaction communication parameters, and is in a wake-up state for transaction communication. Correspondingly, when the transaction data interaction is completed and the transaction communication ends, the ranging device can send a transaction end notification to the device under test, so that the device under test can enter a low power consumption state in time and save device power. Similarly, if the ranging device does not receive a response from the device under test to the transaction wake-up message, it can also enter a low-power state.
一般而言,在每次测距通信之前,待测设备需要提前处于接收状态以等待测距设备的测距消息,为了避免交易通信中的交易数据消息或控制消息与后续的测距通信中的测距消息产生冲突,测距设备可以在进入下一次测距通信之前,设置测距保护时间。可选的,步骤130之后进一步包括:Generally speaking, before each ranging communication, the device under test needs to be in a receiving state in advance to wait for the ranging message from the ranging device. In order to avoid the transaction data message or control message in the transaction communication being inconsistent with the subsequent ranging communication. If ranging messages conflict, the ranging device can set the ranging protection time before entering the next ranging communication. Optionally, step 130 further includes:
步骤140:测距设备在上述交易时长之后进入测距保护时间,并保持静默状态。Step 140: The ranging device enters the ranging protection time after the above transaction time and remains silent.
具体的,如图2所示,在交易通信时间结束后,即交易时长到期后,测距设备进入测距保护时间,该测距保护时间长度同交易时长类似,可以灵活设定,不必按照时隙规定设置,优选的,测距保护时间长度为所述响应超时时长乘以重发次数。之所以这么设置,是考虑到在交易通信过程中,如果一个设备认为向对端设备发送的消息需要进行重发时,必须留足重发和等待对方响应的时间。这样即便在交易通信时间最后时刻一个设备(测距设备或待测设备)需要向对端设备重发n次消息也不会与后续的测距通信中的测距消息相冲突。另外,如果设置了测距保护时间,则测距通信时间、交易唤醒时间、交易时长与测距保护时间之和不能超过上述测距间隔时长。Specifically, as shown in Figure 2, after the transaction communication time ends, that is, after the transaction duration expires, the ranging device enters the ranging protection time. The length of the ranging protection time is similar to the transaction duration and can be set flexibly. It is not necessary to follow the The time slot is specified and set. Preferably, the ranging protection time length is the response timeout length multiplied by the number of retransmissions. The reason for this setting is that during the transaction communication process, if a device believes that the message sent to the peer device needs to be resent, it must allow enough time to resend and wait for the other party's response. In this way, even if a device (ranging device or device under test) needs to resend n messages to the peer device at the last moment of the transaction communication time, it will not conflict with the ranging messages in subsequent ranging communications. In addition, if the ranging protection time is set, the sum of ranging communication time, transaction wake-up time, transaction duration and ranging protection time cannot exceed the above ranging interval.
上述静默状态是指测距设备或待测设备均不再发送新的交易通信相关的消息,如交易数据消息或控制消息。The above silent state means that neither the ranging device nor the device under test will send new transaction communication-related messages, such as transaction data messages or control messages.
通过设置测距保护时间,可以避免交易通信影响测距通信,提高与UWB测距通信的兼容性。By setting the ranging protection time, you can prevent transaction communications from affecting ranging communications and improve compatibility with UWB ranging communications.
一般而言,在一个测距间隔内,可以完成本次交易所需的数据交互,但如果交易相关的数据量较大,一个测距间隔即在一个交易时长之内无法完成全部交易数据交互。这时,为了不影响后续的测距通信,需要将本次交易涉及的数据分部在不同的测距间隔内交互。可选的,上述步骤130进一步包括:Generally speaking, within a ranging interval, the data interaction required for this transaction can be completed. However, if the amount of transaction-related data is large, a ranging interval cannot complete all transaction data interaction within a transaction duration. At this time, in order not to affect subsequent ranging communications, the data involved in this transaction needs to be divided and exchanged within different ranging intervals. Optionally, the above step 130 further includes:
步骤131:测距设备判断上述交易时长是否到期,若否则向该待测设备发送交易消息,若是则暂停向该待测设备发送交易消息。Step 131: The ranging device determines whether the above transaction duration has expired. If not, it sends a transaction message to the device under test. If so, it suspends sending transaction messages to the device under test.
具体的,测距设备在交易时长内向该待测设备发送交易消息(如交易数据消息或控制消息),如果交易时长到期,则暂停发送交易消息,以避免对后续的测距通信产生影响。Specifically, the ranging device sends transaction messages (such as transaction data messages or control messages) to the device under test within the transaction duration. If the transaction duration expires, the sending of transaction messages is suspended to avoid affecting subsequent ranging communications.
相应的,如图2所示,在步骤130或步骤140之后本实施例的方法可进一步包括:Correspondingly, as shown in Figure 2, after step 130 or step 140, the method of this embodiment may further include:
步骤150:测距设备与该待测设备进行下一次UWB测距通信,并在下一次UWB测距通信之后进入下一个交易唤醒时间,在下一个交易唤醒时间之后,所述测距设备继续向该待测设备发送交易消息。Step 150: The ranging device performs the next UWB ranging communication with the device to be tested, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the ranging device continues to send data to the device to be measured. The test device sends transaction messages.
具体的,同步骤120类似,在下一个交易唤醒时间内,测距设备可以向该待测设备发送交易唤醒消息,以使该待测设备在下一个交易通信时间内继续同测距设备进行交易通信。可以理解的,新的交易唤醒消息中包括该待测设备的地址以及交易通信参数,该交易通信参数取值可以与上一次的设置一致或不同,具体由应用层配置。Specifically, similar to step 120, during the next transaction wake-up time, the ranging device can send a transaction wake-up message to the device under test, so that the device under test continues to conduct transaction communications with the ranging device during the next transaction communication time. It can be understood that the new transaction wake-up message includes the address of the device under test and transaction communication parameters. The value of the transaction communication parameters may be consistent with or different from the last setting, which is specifically configured by the application layer.
上述实施方式,实质上是测距通信优先级高于交易通信优先级,通过将交易数据穿插于不同的测距间隔内交互,交易通信不会对标准规范规定的定时测距通信产生影响,保证了UWB交易通信与测距通信的兼容性。The above implementation method essentially means that the priority of ranging communication is higher than the priority of transaction communication. By interspersing transaction data with each other in different ranging intervals, transaction communication will not affect the timing ranging communication stipulated in the standard specification, ensuring that The compatibility of UWB transaction communication and ranging communication is improved.
在另一种实施方式中,应用层可以设置交易通信优先级高于测距通信优先级。这种情况下,交易通信过程不必受限于UWB测距通信的测距间隔,也就是说,应用层设置的交易通信参数中不包括交易时长,交易通信可以一直持续下去直到交易结束为止。即每一个测距周期的到来不会打断正在进行的UWB交易通信。因此,本实施例的步骤130具体可以包括:In another implementation, the application layer may set the transaction communication priority to be higher than the ranging communication priority. In this case, the transaction communication process does not need to be limited to the ranging interval of UWB ranging communication. That is to say, the transaction communication parameters set by the application layer do not include the transaction duration, and transaction communication can continue until the end of the transaction. That is, the arrival of each ranging cycle will not interrupt the ongoing UWB transaction communication. Therefore, step 130 of this embodiment may specifically include:
步骤132:在交易通信过程中,测距设备在测距间隔时长到期时,不进行UWB测距通信,继续与该待测设备进行交易通信。Step 132: During the transaction communication process, when the ranging interval expires, the ranging device does not perform UWB ranging communication and continues to conduct transaction communication with the device under test.
具体的,如果本次交易通信在一个测距间隔内结束,则测距设备在测距间隔定时器到期时正常触发UWB测距通信,但如果交易通信所需时间超过了测距间隔时长,测距间隔定时器到期并不会触发两端设备进行测距通信,而是继续进行交易通信,直到交易完成为止。图4为本申请实施例提供的又一个设备时序状态示意图。图中的交易通信时间是跨多个测距间隔的。另外,在交易通信优先级高于测距通信优先级的情况下,可以不设置测距保护时间。Specifically, if this transaction communication ends within a ranging interval, the ranging device will normally trigger UWB ranging communication when the ranging interval timer expires. However, if the time required for transaction communication exceeds the ranging interval, The expiration of the ranging interval timer will not trigger the devices at both ends to perform ranging communication, but will continue to conduct transaction communication until the transaction is completed. Figure 4 is another device timing status schematic diagram provided by an embodiment of the present application. The transaction communication times in the figure are across multiple ranging intervals. In addition, when the transaction communication priority is higher than the ranging communication priority, the ranging protection time does not need to be set.
相应的,在步骤130之后本实施例的方法可进一步包括:Correspondingly, after step 130, the method of this embodiment may further include:
步骤160:测距设备向该待测设备发送交易结束通知以使该待测设备进入低功耗状态,测距设备进入低功耗状态,并在上述测距间隔时长到期时,与待测设备进行下一次UWB测距通信。Step 160: The ranging device sends a transaction end notification to the device under test so that the device under test enters a low power consumption state. The ranging device enters a low power consumption state and communicates with the device under test when the above ranging interval expires. The device performs the next UWB ranging communication.
具体的,参见图4,该测距设备在本次交易数据交互完毕时,向该待测设备发送交易结束通知消息,该待测设备收到该消息后返回响应并进入低功耗状态。测距设备收到该待测设备的响应消息后也进入低功耗状态。在上述测距间隔定时器到期时,测距设备与周围各待测设备进行下一次UWB测距通信。Specifically, see Figure 4. When the transaction data interaction is completed, the ranging device sends a transaction end notification message to the device under test. After receiving the message, the device under test returns a response and enters a low power consumption state. The ranging device also enters a low power consumption state after receiving the response message from the device under test. When the above ranging interval timer expires, the ranging device conducts the next UWB ranging communication with each surrounding device to be measured.
上述实施方式,应用层设置交易通信优先级高于测距通信优先级,可以一次性完成UWB交易通信,保证了交易数据交互的完整性,进一步提高了UWB交易通信的效率。In the above embodiment, the application layer sets the transaction communication priority to be higher than the ranging communication priority, so that UWB transaction communication can be completed at one time, ensuring the integrity of transaction data interaction, and further improving the efficiency of UWB transaction communication.
本申请实施例中,在测距设备和待测设备完成测距通信之后,测距设备在交易唤醒时间内向测距设备发送交易唤醒消息使其保持唤醒状态,并通过该消息中包含的交易通信参数与待测设备通过UWB进行交易通信。相比于传统的UWB测距,测距设备可以在测距阶段之后直接通过UWB与待测设备进行交易数据传输,实现UWB技术下的交易通信,无需再通过NFC、蓝牙或Wi-Fi等无线通信技术进行交易,保证了数据交互的一致性和可靠性,大大提高了交易的效率和成功率,节省了硬件成本。同时,由于UWB技术有相对较大的通信距离和较高的灵敏度,用户不必将待测设备物理接近于测距设备,从而可以实现快速无感支付或刷卡,大幅提升用户体验。In the embodiment of this application, after the ranging device and the device under test complete ranging communication, the ranging device sends a transaction wake-up message to the ranging device within the transaction wake-up time to keep it awake, and communicates through the transaction contained in the message. Parameters communicate with the device under test via UWB. Compared with traditional UWB ranging, the ranging device can directly transmit transaction data with the device under test through UWB after the ranging phase, realizing transaction communication under UWB technology, without the need to go through wireless communication such as NFC, Bluetooth or Wi-Fi. Communication technology for transactions ensures the consistency and reliability of data interaction, greatly improves the efficiency and success rate of transactions, and saves hardware costs. At the same time, because UWB technology has a relatively large communication distance and high sensitivity, users do not have to physically bring the device under test close to the distance measuring device, thus enabling fast and non-sensitive payment or card swiping, which greatly improves the user experience.
图5示出了本申请实施例的另一种UWB通信方法500的流程示意图。该方法500可应用于上述待测设备,即可由待测设备执行。可以理解的是,本实施例是上述方法实施例相对应的待测设备侧的方法流程,相同或相似的技术细节不再赘述。如图1所示,该方法包括以下步骤:Figure 5 shows a schematic flowchart of another UWB communication method 500 according to an embodiment of the present application. The method 500 can be applied to the above-mentioned device under test, that is, it can be executed by the device under test. It can be understood that this embodiment is a method flow on the device side under test corresponding to the above method embodiment, and the same or similar technical details will not be described again. As shown in Figure 1, the method includes the following steps:
步骤510:待测设备与测距设备进行UWB测距通信。Step 510: The device under test conducts UWB ranging communication with the ranging device.
具体的,该待测设备可以按照图2所示与测距设备进行5个时隙的测距通信,并可在一定测距间隔时长后再次进行测距通信。Specifically, the device under test can perform ranging communication with the ranging device for 5 time slots as shown in Figure 2, and can perform ranging communication again after a certain ranging interval.
步骤520:在测距通信结束后,该待测设备在交易唤醒时间内接收测距设备发送的交易唤醒消息并保持唤醒状态;交易唤醒消息由测距设备根据上述测距通信结果生成。Step 520: After the ranging communication ends, the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and remains awake; the transaction wake-up message is generated by the ranging device based on the above ranging communication results.
具体的,该交易唤醒消息可以包括交易设备地址。在步骤520之前,本实施例方法包括:当该待测设备与所述测距设备之间的距离小于等于预设距离阈值且与所述测距设备距离最近,测距设备将该待测设备地址作为交易设备地址添加至所述交易唤醒消息中,并在交易唤醒时间内发送该交易唤醒消息。相应的,步骤520具体可以包括:该待测设备在交易唤醒时间内接收测距设备发送的交易唤醒消息,判断交易唤醒消息中的交易设备地址与自身地址相符,则保持唤醒状态。以在之后的阶段与测距设备进行交易数据的收发。Specifically, the transaction wake-up message may include the transaction device address. Before step 520, the method in this embodiment includes: when the distance between the device to be tested and the distance measuring device is less than or equal to a preset distance threshold and is the closest to the distance measuring device, the distance measuring device The address is added to the transaction wake-up message as the transaction device address, and the transaction wake-up message is sent within the transaction wake-up time. Correspondingly, step 520 may specifically include: the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then maintains the awake state. Transaction data can be sent and received with the ranging device at a later stage.
如图2所示,该待测设备在2个时隙的交易唤醒时间内接收该交易唤醒消息,交易唤醒时间具体包括的时隙数量可以灵活设定。设置为多个时隙可以避免一旦在一个时隙内对目标待测设备唤醒失败,必须在下一个交易唤醒时间进行唤醒,所造成的交易通信效率下降的问题。上述交易唤醒消息中可以包括交易通信参数,如交易时长、响应超时时长、重发次数和/或数据包大小等,具体配置方法可参见上述方法实施例步骤120中的描述。As shown in Figure 2, the device under test receives the transaction wake-up message within the transaction wake-up time of 2 time slots. The specific number of time slots included in the transaction wake-up time can be flexibly set. Setting multiple time slots can avoid the problem that once the target device under test fails to wake up in one time slot, it must wake up at the next transaction wake-up time, resulting in a decrease in transaction communication efficiency. The above transaction wake-up message may include transaction communication parameters, such as transaction duration, response timeout duration, number of retransmissions and/or data packet size, etc. For the specific configuration method, please refer to the description in step 120 of the above method embodiment.
步骤530:该待测设备根据交易唤醒消息中包括的交易通信参数与测距设备通过UWB进行交易通信。Step 530: The device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
具体的,待测设备根据交易通信参数将应用层的交易数据消息或控制消息通过UWB技术发送至该测距设备,或接收测距设备发送的交易数据消息或控制消息。具体可参照上述方法实施例步骤130中的描述。Specifically, the device under test sends the transaction data message or control message of the application layer to the ranging device through UWB technology according to the transaction communication parameters, or receives the transaction data message or control message sent by the ranging device. For details, reference may be made to the description in step 130 of the above method embodiment.
可选的,在图2中交易通信时间开始阶段待测设备可以向测距设备发送对上述交易唤醒消息的响应消息。该响应消息用于向测距设备确认该待测设备收到交易唤醒消息,接受交易通信参数,并处于唤醒状态以进行交易通信。相应的,在交易数据交互完毕,交易通信结束时,待测设备可以接收测距设备发送交易结束通知,以及时进入低功耗状态,节省设备电力。Optionally, at the beginning of the transaction communication time in Figure 2, the device under test can send a response message to the ranging device to the above transaction wake-up message. The response message is used to confirm to the ranging device that the device under test has received the transaction wake-up message, accepted transaction communication parameters, and is in a wake-up state for transaction communication. Correspondingly, when the transaction data interaction is completed and the transaction communication ends, the device under test can receive the transaction end notification sent by the ranging device, and enter the low power consumption state in time to save the device power.
可选的,上述交易唤醒消息进一步包括信道切换指令。相应的,步骤530可包括:该待测设备在收到该信道切换指令后,在交易通信时间内使用新的信道与该测距设备进行交易通信。Optionally, the above transaction wake-up message further includes a channel switching instruction. Correspondingly, step 530 may include: after receiving the channel switching instruction, the device under test uses a new channel to conduct transaction communication with the ranging device within the transaction communication time.
同样,为了避免交易通信中的交易数据消息或控制消息与后续的测距通信中的测距消息产生冲突,待测设备可以在进入下一次测距通信之前,设置测距保护时间。可选的,步骤530之后进一步包括:Similarly, in order to avoid conflicts between transaction data messages or control messages in transaction communications and ranging messages in subsequent ranging communications, the device under test can set a ranging protection time before entering the next ranging communication. Optionally, step 530 further includes:
步骤540:该待测设备在上述交易时长之后进入测距保护时间,并保持静默状态。Step 540: The device under test enters the ranging protection time after the above-mentioned transaction time and remains silent.
具体的,如图2所示,在交易通信时间结束后,即交易时长到期后,待测设备进入测距保护时间。优选的,该测距保护时间长度为所述响应超时时长乘以重发次数。通过设置测距保护 时间,可以避免交易通信影响测距通信,提高与UWB测距通信的兼容性。Specifically, as shown in Figure 2, after the transaction communication time ends, that is, after the transaction duration expires, the device under test enters the ranging protection time. Preferably, the ranging protection time length is the response timeout length multiplied by the number of retransmissions. By setting the ranging protection time, you can prevent transaction communications from affecting ranging communications and improve compatibility with UWB ranging communications.
同样,如果交易相关的数据量较大,为了不影响后续的测距通信,需要将本次交易涉及的数据分部在不同的测距间隔内交互。可选的,上述步骤530进一步包括:Similarly, if the amount of data related to the transaction is large, in order not to affect subsequent ranging communications, the data involved in this transaction needs to be divided and interacted within different ranging intervals. Optionally, the above step 530 further includes:
步骤531:该待测设备判断上述交易时长是否到期,若否则向测距设备发送交易数据,若是则暂停向测距设备发送交易数据。Step 531: The device under test determines whether the above transaction duration has expired. If not, it sends transaction data to the ranging device. If so, it suspends sending transaction data to the ranging device.
相应的,如图2所示,在步骤530或步骤540之后本实施例的方法可进一步包括:Correspondingly, as shown in Figure 2, after step 530 or step 540, the method of this embodiment may further include:
步骤550:该待测设备与测距设备进行下一次UWB测距通信,并在下一次UWB测距通信之后进入下一个交易唤醒时间,在下一个交易唤醒时间之后,该待测设备继续向所述测距设备发送交易数据。Step 550: The device under test conducts the next UWB ranging communication with the ranging device, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the device under test continues to communicate with the measuring device. Transaction data is sent from the device.
具体的,同步骤520类似,在下一个交易唤醒时间内,该待测设备可以接收测距设备发送的新的交易唤醒消息,以便该待测设备在下一个交易通信时间内继续同测距设备进行交易通信。可以理解的,新的交易唤醒消息中包括该待测设备的地址以及交易通信参数,该交易通信参数取值可以与上一次的设置一致或不同,具体由应用层配置。Specifically, similar to step 520, during the next transaction wake-up time, the device under test can receive a new transaction wake-up message sent by the ranging device, so that the device under test can continue to conduct transactions with the ranging device during the next transaction communication time. communication. It can be understood that the new transaction wake-up message includes the address of the device under test and transaction communication parameters. The value of the transaction communication parameters may be consistent with or different from the last setting, which is specifically configured by the application layer.
同样,在另一种实施方式中,应用层可以设置交易通信优先级高于测距通信优先级。这种情况下,应用层设置的交易通信参数中不包括交易时长,交易通信可以一直持续下去直到交易结束为止,每一个测距周期的到来不会打断正在进行的UWB交易通信。因此,本实施例的步骤530具体可以包括:Likewise, in another embodiment, the application layer may set a higher priority for transaction communications than for ranging communications. In this case, the transaction communication parameters set by the application layer do not include the transaction duration. The transaction communication can continue until the end of the transaction. The arrival of each ranging period will not interrupt the ongoing UWB transaction communication. Therefore, step 530 in this embodiment may specifically include:
步骤532:在交易通信过程中,该待测设备在测距间隔时长到期时,不进行UWB测距通信,继续与测距设备进行交易通信。Step 532: During the transaction communication process, when the ranging interval expires, the device under test will not perform UWB ranging communication and continue to conduct transaction communication with the ranging device.
具体的,如果交易通信所需时间超过了测距间隔时长,测距间隔定时器到期并不会触发两端设备进行测距通信,而是继续进行交易通信,直到交易完成为止。可参照图4所示,该待测设备的交易通信时间跨越了多个测距间隔。Specifically, if the time required for transaction communication exceeds the ranging interval, the expiration of the ranging interval timer will not trigger the devices at both ends to perform ranging communication, but will continue transaction communication until the transaction is completed. Referring to FIG. 4 , the transaction communication time of the device under test spans multiple ranging intervals.
相应的,步骤530之后本实施例的方法可进一步包括:Correspondingly, after step 530, the method of this embodiment may further include:
步骤560:该待测设备收到测距设备发送的交易结束通知之后进入低功耗状态,并在上述测距间隔时长到期时,与测距设备进行下一次UWB测距通信。Step 560: The device under test enters a low power consumption state after receiving the transaction end notification sent by the ranging device, and conducts the next UWB ranging communication with the ranging device when the above ranging interval expires.
具体的,该待测设备在收到测距设备发送的交易结束通知消息后,返回响应并进入低功耗状态。Specifically, after receiving the transaction end notification message sent by the ranging device, the device under test returns a response and enters a low power consumption state.
本申请实施例中,在测距设备和待测设备完成测距通信之后,待测设备在交易唤醒时间内接收测距设备发送的交易唤醒消息保持唤醒状态,并通过该消息中包含的交易通信参数与测距设备通过UWB进行交易通信。相比于传统的UWB测距,待测设备可以在测距阶段之后直接通过UWB与测距设备进行交易数据传输,实现UWB技术下的交易通信,无需再通过NFC、蓝牙或Wi-Fi等无线通信技术进行交易,保证了数据交互的一致性和可靠性,大大提高了交易的效率和成功率,节省了硬件成本。同时,由于UWB技术有相对较大的通信距离和较高的灵敏度,用户不必将待测设备物理接近于测距设备,从而可以实现快速无感支付或刷卡,大幅提升用户体验。In the embodiment of the present application, after the ranging device and the device under test complete the ranging communication, the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time to remain awake, and communicates through the transaction contained in the message. Parameters and ranging devices communicate via UWB. Compared with traditional UWB ranging, the device under test can directly transmit transaction data with the ranging device through UWB after the ranging stage, realizing transaction communication under UWB technology, without the need to go through wireless communication such as NFC, Bluetooth or Wi-Fi. Communication technology for transactions ensures the consistency and reliability of data interaction, greatly improves the efficiency and success rate of transactions, and saves hardware costs. At the same time, because UWB technology has a relatively large communication distance and high sensitivity, users do not have to physically bring the device under test close to the distance measuring device, thus enabling fast and non-sensitive payment or card swiping, which greatly improves the user experience.
图6示出了本申请实施例的一种UWB芯片的结构示意图。该UWB芯片60可应用于测 距设备,如图6所示,该UWB芯片60具体可以包括:通信模块61和操作模块62。Figure 6 shows a schematic structural diagram of a UWB chip according to an embodiment of the present application. The UWB chip 60 can be applied to ranging equipment. As shown in Figure 6, the UWB chip 60 can specifically include: a communication module 61 and an operation module 62.
其中,通信模块61用于与待测设备进行UWB测距通信;操作模块62用于在测距通信结束后,根据测距通信结果生成交易唤醒消息,在交易唤醒时间内向待测设备发送交易唤醒消息使其保持唤醒状态;通信模块61还用于根据交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信。Among them, the communication module 61 is used to perform UWB ranging communication with the device under test; the operation module 62 is used to generate a transaction wake-up message according to the ranging communication result after the ranging communication is completed, and send a transaction wake-up message to the device under test within the transaction wake-up time. message to keep it awake; the communication module 61 is also configured to conduct transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
在一种可选的方式中,该交易唤醒消息包括交易设备地址;该操作模块62还用于,当该待测设备与测距设备之间的距离小于等于预设距离阈值且与测距设备距离最近,将该待测设备地址作为交易设备地址添加至交易唤醒消息中,并在交易唤醒时间内发送该交易唤醒消息。In an optional manner, the transaction wake-up message includes the address of the transaction device; the operation module 62 is also configured to: when the distance between the device to be tested and the ranging device is less than or equal to a preset distance threshold and is The closest distance, add the address of the device under test as the transaction device address to the transaction wake-up message, and send the transaction wake-up message within the transaction wake-up time.
在一种可选的方式中,该交易通信参数包括:交易时长;该操作模块62还用于,在该交易时长之后使测距设备进入测距保护时间,并保持静默状态。In an optional manner, the transaction communication parameters include: transaction duration; the operation module 62 is also configured to cause the ranging device to enter the ranging protection time and maintain a silent state after the transaction duration.
在一种可选的方式中,该交易通信参数包括:响应超时时长和重发次数;上述测距保护时间长度为响应超时时长乘以重发次数。In an optional method, the transaction communication parameters include: response timeout duration and the number of retransmissions; the above ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
在一种可选的方式中,上述通信模块61还用于,判断交易时长是否到期,若否则向该待测设备发送交易消息,若是则暂停向该待测设备发送交易消息;并且上述通信模块61还用于,与该待测设备进行下一次UWB测距通信,并在下一次UWB测距通信之后进入下一个交易唤醒时间,在下一个交易唤醒时间之后,继续向所述待测设备发送交易消息。In an optional manner, the above-mentioned communication module 61 is also used to determine whether the transaction duration has expired, and if not, send a transaction message to the device under test, and if so, suspend sending transaction messages to the device under test; and the above-mentioned communication Module 61 is also configured to conduct the next UWB ranging communication with the device under test, enter the next transaction wake-up time after the next UWB ranging communication, and continue to send transactions to the device under test after the next transaction wake-up time. information.
在一种可选的方式中,上述通信模块61还用于,在交易通信过程中,在测距间隔时长到期时,不进行UWB测距通信,继续与该待测设备进行交易通信;并且上述通信模块61还用于,向该待测设备发送交易结束通知以使该待测设备进入低功耗状态,使该测距设备进入低功耗状态,并在该测距间隔时长到期时,与待测设备进行下一次UWB测距通信。In an optional manner, the above-mentioned communication module 61 is also configured to, during the transaction communication process, when the ranging interval expires, do not perform UWB ranging communication and continue transaction communication with the device under test; and The above-mentioned communication module 61 is also used to send a transaction end notification to the device under test so that the device under test enters a low power consumption state, and the ranging device enters a low power consumption state, and when the ranging interval expires , conduct the next UWB ranging communication with the device under test.
需要说明的是,上述UWB芯片60与本申请实施例提供的UWB通信方法100基于同一构思,详细内容及有益效果可参见上述UWB通信方法100实施例中的描述,此处不再赘述。It should be noted that the above-mentioned UWB chip 60 is based on the same concept as the UWB communication method 100 provided in the embodiment of the present application. For details and beneficial effects, please refer to the description in the above-mentioned embodiment of the UWB communication method 100 and will not be described again here.
图7示出了本申请实施例的另一种UWB芯片的结构示意图。该UWB芯片70可应用于待测设备,如图7所示,该UWB芯片70具体可以包括:通信模块71和操作模块72。Figure 7 shows a schematic structural diagram of another UWB chip according to an embodiment of the present application. The UWB chip 70 can be applied to the device under test. As shown in FIG. 7 , the UWB chip 70 can specifically include: a communication module 71 and an operation module 72 .
其中,通信模块71用于与测距设备进行UWB测距通信;操作模块72用于在测距通信结束后,在交易唤醒时间内接收该测距设备发送的交易唤醒消息并保持唤醒状态;该交易唤醒消息由测距设备根据测距通信结果生成;通信模块71还用于根据交易唤醒消息中包括的交易通信参数与该测距设备通过UWB进行交易通信。Among them, the communication module 71 is used to perform UWB ranging communication with the ranging device; the operation module 72 is used to receive the transaction wake-up message sent by the ranging device within the transaction wake-up time after the ranging communication ends and maintain the wake-up state; The transaction wake-up message is generated by the ranging device according to the ranging communication result; the communication module 71 is also used to conduct transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
在一种可选的方式中,该交易唤醒消息包括交易设备地址;该操作模块72还用于,在交易唤醒时间内接收测距设备发送的交易唤醒消息,判断交易唤醒消息中的交易设备地址与自身地址相符,则保持唤醒状态。In an optional manner, the transaction wake-up message includes a transaction device address; the operation module 72 is also configured to receive a transaction wake-up message sent by the ranging device within the transaction wake-up time, and determine the transaction device address in the transaction wake-up message. If it matches its own address, it will remain awake.
在一种可选的方式中,上述交易通信参数包括:交易时长;该操作模块72还用于,在交易时长之后进入测距保护时间,并保持静默状态。In an optional manner, the above-mentioned transaction communication parameters include: transaction duration; the operation module 72 is also configured to enter the ranging protection time after the transaction duration and maintain a silent state.
在一种可选的方式中,上述交易通信参数包括:响应超时时长和重发次数;该测距保护时间长度为响应超时时长乘以重发次数。In an optional manner, the above transaction communication parameters include: response timeout duration and number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
在一种可选的方式中,该通信模块71还用于,判断交易时长是否到期,若否则向测距设 备发送交易数据,若是则暂停向测距设备发送交易数据;并且上述通信模块71还用于,与测距设备进行下一次UWB测距通信,并在下一次UWB测距通信之后进入下一个交易唤醒时间,在下一个交易唤醒时间之后,继续向测距设备发送交易数据。In an optional manner, the communication module 71 is also used to determine whether the transaction duration has expired, and if not, send transaction data to the ranging device, and if so, suspend sending transaction data to the ranging device; and the above-mentioned communication module 71 It is also used to conduct the next UWB ranging communication with the ranging device, enter the next transaction wake-up time after the next UWB ranging communication, and continue to send transaction data to the ranging device after the next transaction wake-up time.
在一种可选的方式中,该通信模块71还用于,在交易通信过程中,在测距间隔时长到期时,不进行UWB测距通信,继续与该测距设备进行交易通信;并且上述通信模块71还用于,在收到测距设备发送的交易结束通知之后进入低功耗状态,并在测距间隔时长到期时,与测距设备进行下一次UWB测距通信。In an optional manner, the communication module 71 is also configured to not perform UWB ranging communication when the ranging interval expires during the transaction communication process, but to continue transaction communication with the ranging device; and The above-mentioned communication module 71 is also used to enter a low power consumption state after receiving the transaction end notification sent by the ranging device, and to conduct the next UWB ranging communication with the ranging device when the ranging interval expires.
需要说明的是,上述UWB芯片70与本申请实施例提供的UWB通信方法500基于同一构思,详细内容及有益效果可参见上述UWB通信方法500实施例中的描述,此处不再赘述。It should be noted that the above-mentioned UWB chip 70 is based on the same concept as the UWB communication method 500 provided in the embodiment of the present application. For details and beneficial effects, please refer to the description in the above-mentioned UWB communication method 500 embodiment, and will not be described again here.
图8示出了本申请实施例提供的又一种UWB芯片80的结构示意图。如图8所示,UWB芯片80包括:存储器81和处理器82;该存储器81用于存储计算机程序,该处理器82用于调用该计算机程序,当该计算机程序被处理器82执行时,使得UWB芯片80执行上述任一实施例中的UWB通信方法。FIG. 8 shows a schematic structural diagram of yet another UWB chip 80 provided by an embodiment of the present application. As shown in Figure 8, the UWB chip 80 includes: a memory 81 and a processor 82; the memory 81 is used to store a computer program, and the processor 82 is used to call the computer program. When the computer program is executed by the processor 82, such that The UWB chip 80 executes the UWB communication method in any of the above embodiments.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被计算机执行时使得,该计算机执行上述任一实施例中的UWB通信方法。An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a computer, the computer executes the UWB communication method in any of the above embodiments.
本申请实施例还提供一种包含指令的计算机程序产品,该指令被计算机执行时使得计算机执行上述任一实施例中的UWB通信方法。An embodiment of the present application also provides a computer program product containing instructions, which when executed by a computer causes the computer to perform the UWB communication method in any of the above embodiments.
图9示出了本申请实施例提供的一种UWB测距设备90的结构示意图。如图9所示,该UWB测距设备90可包括上述UWB芯片60或UWB芯片80。作为示例而非限定,该测距设备90可以为门禁、闸机、POS终端设备或其他带有UWB功能的读卡设备等。Figure 9 shows a schematic structural diagram of a UWB ranging device 90 provided by an embodiment of the present application. As shown in FIG. 9 , the UWB ranging device 90 may include the above-mentioned UWB chip 60 or UWB chip 80 . As an example and not a limitation, the ranging device 90 may be an access control device, a gate, a POS terminal device, or other card reading device with UWB function.
图10示出了本申请实施例提供的一种UWB待测设备1000的结构示意图。如图10所示,该UWB待测设备1000可包括上述UWB芯片70或UWB芯片80。可选的,该待测设备1000还包括SE1100,其中存储有交易相关的应用程序(如公交app或支付app)和交易信息,在交易通信过程中,SE中的应用程序可通过上述UWB芯片与测距设备进行交易信息的交互。Figure 10 shows a schematic structural diagram of a UWB device to be tested 1000 provided by an embodiment of the present application. As shown in FIG. 10 , the UWB device under test 1000 may include the above-mentioned UWB chip 70 or UWB chip 80 . Optionally, the device under test 1000 also includes SE1100, which stores transaction-related applications (such as bus app or payment app) and transaction information. During the transaction communication process, the application in the SE can communicate with the SE1100 through the above-mentioned UWB chip. Ranging equipment interacts with transaction information.
作为示例而非限定,该待测设备1000可以为各类芯片卡(如公交卡、门禁卡、银行卡等)、移动终端设备、可穿戴设备、平板电脑或其他带有UWB功能的卡模拟设备等。该可穿戴设备包括功能全、尺寸大、可不依赖智能手机实现完整或部分功能的设备,例如智能手表或智能眼镜等,以及包括只专注于某一类应用功能并且需要和其它设备如智能手机配合使用的设备,例如各类进行体征监测的智能手环、智能首饰等设备。As an example and not a limitation, the device under test 1000 can be various chip cards (such as bus cards, access cards, bank cards, etc.), mobile terminal devices, wearable devices, tablets or other card simulation devices with UWB functions. wait. The wearable devices include devices that are full-featured, large in size, and can realize complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to cooperate with other devices such as smartphones. Equipment used, such as various types of smart bracelets, smart jewelry and other equipment for physical sign monitoring.
需要说明的是,在不冲突的前提下,本申请描述的各个实施例和/或各个实施例中的技术特征可以任意的相互组合,组合之后得到的技术方案也应落入本申请的保护范围。It should be noted that, on the premise of no conflict, the various embodiments described in this application and/or the technical features in each embodiment can be combined with each other arbitrarily, and the technical solution obtained after the combination should also fall within the protection scope of this application. .
本申请实施例中所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的方法实施例的一些特征可以忽略或者不执行。以上所描述的装置实施例仅仅是示意性的,单元的划分仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,多个单元或组件可以结合或者可以集成到另一个系统。另外,各单元之间的耦合或各个组件之间的耦合可以是直接耦合,也可以是间接耦合,上述耦合包括电的、机械的或其它形式的连接。The systems, devices and methods disclosed in the embodiments of this application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed. The device embodiments described above are only illustrative, and the division of units is only a logical function division. In actual implementation, there may be other divisions, and multiple units or components may be combined or integrated into another system. In addition, the coupling between units or the coupling between components may be direct coupling or indirect coupling, and the above-mentioned coupling includes electrical, mechanical or other forms of connection.
本领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的装置和设备的具体工作过程以及产生的技术效果,可以参考前述方法实施例中对应的过程和技术效果,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes and technical effects produced by the above-described devices and equipment can be referred to the corresponding processes and technical effects in the foregoing method embodiments. Herein No longer.
应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请实施例,而非限制本申请实施例的范围,本领域技术人员可以在上述实施例的基础上进行各种改进和变形,而这些改进或者变形均落在本申请的保护范围内。It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art better understand the embodiments of the present application, but do not limit the scope of the embodiments of the present application. Those skilled in the art can use the above embodiments to Various improvements and deformations are made, and these improvements or deformations fall within the protection scope of the present application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (16)

  1. 一种UWB通信方法,其特征在于,应用于测距设备,所述方法包括:A UWB communication method, characterized in that it is applied to ranging equipment, and the method includes:
    所述测距设备与待测设备进行UWB测距通信;The ranging device performs UWB ranging communication with the device under test;
    在所述测距通信结束后,所述测距设备根据所述测距通信结果生成交易唤醒消息,在交易唤醒时间内向所述待测设备发送交易唤醒消息使其保持唤醒状态;以及,After the ranging communication ends, the ranging device generates a transaction wake-up message according to the ranging communication result, and sends a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake; and,
    所述测距设备根据所述交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信。The ranging device performs transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
  2. 根据权利要求1所述的通信方法,其特征在于,所述交易唤醒消息包括交易设备地址;The communication method according to claim 1, characterized in that the transaction wake-up message includes a transaction device address;
    所述测距设备根据所述测距通信结果生成交易唤醒消息,在交易唤醒时间内向所述待测设备发送交易唤醒消息使其保持唤醒状态包括:The ranging device generates a transaction wake-up message based on the ranging communication result, and sends a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake, including:
    当所述待测设备与所述测距设备之间的距离小于等于预设距离阈值且与所述测距设备距离最近,所述测距设备将所述待测设备地址作为交易设备地址添加至所述交易唤醒消息中,并在交易唤醒时间内发送所述交易唤醒消息;When the distance between the device to be measured and the ranging device is less than or equal to the preset distance threshold and is the closest to the ranging device, the ranging device adds the address of the device to be measured as a transaction device address to In the transaction wake-up message, the transaction wake-up message is sent within the transaction wake-up time;
    所述在交易唤醒时间内向所述待测设备发送交易唤醒消息之后,所述方法包括:After sending a transaction wake-up message to the device under test within the transaction wake-up time, the method includes:
    所述待测设备在交易唤醒时间内接收所述测距设备发送的交易唤醒消息,判断所述交易唤醒消息中的交易设备地址与自身地址相符,则保持唤醒状态。The device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then maintains the wake-up state.
  3. 根据权利要求1所述的通信方法,其特征在于,所述交易通信参数包括:交易时长;所述测距设备根据所述交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信之后,所述方法包括:The communication method according to claim 1, characterized in that the transaction communication parameters include: transaction duration; the ranging device communicates with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message. Following transaction communication, the method includes:
    所述测距设备在所述交易时长之后进入测距保护时间,并保持静默状态。The ranging device enters the ranging protection time after the transaction duration and remains silent.
  4. 根据权利要求3所述的通信方法,其特征在于,所述交易通信参数包括:响应超时时长和重发次数;所述测距保护时间长度为所述响应超时时长乘以重发次数。The communication method according to claim 3, characterized in that the transaction communication parameters include: response timeout duration and the number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
  5. 根据权利要求3或4所述的通信方法,其特征在于,所述测距设备根据所述交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信包括:The communication method according to claim 3 or 4, characterized in that, the ranging device performs transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
    所述测距设备判断所述交易时长是否到期,若否则向所述待测设备发送交易消息,若是则暂停向所述待测设备发送交易消息;The ranging device determines whether the transaction duration has expired, and if not, sends a transaction message to the device under test; if so, suspends sending transaction messages to the device under test;
    所述测距设备根据所述交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信之后,所述方法包括:After the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
    所述测距设备与所述待测设备进行下一次UWB测距通信,并在所述下一次UWB测距通信之后进入下一个交易唤醒时间,在所述下一个交易唤醒时间之后,所述测距设备继续向所述待测设备发送交易消息。The ranging device performs the next UWB ranging communication with the device to be tested, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the measurement device The remote device continues to send transaction messages to the device under test.
  6. 根据权利要求1或2所述的通信方法,其特征在于,所述测距设备根据所述交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信包括:The communication method according to claim 1 or 2, characterized in that, the ranging device performs transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
    在交易通信过程中,所述测距设备在测距间隔时长到期时,不进行UWB测距通信,继续与所述待测设备进行交易通信;During the transaction communication process, the ranging device does not perform UWB ranging communication when the ranging interval expires, and continues to conduct transaction communication with the device under test;
    所述测距设备根据所述交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信之后,所述方法包括:After the ranging device conducts transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
    所述测距设备向所述待测设备发送交易结束通知以使所述待测设备进入低功耗状态,所述测距设备进入低功耗状态,并在所述测距间隔时长到期时,与待测设备进行下一次UWB测距通信。The ranging device sends a transaction end notification to the device under test so that the device under test enters a low power consumption state. The ranging device enters the low power consumption state, and when the ranging interval expires , conduct the next UWB ranging communication with the device under test.
  7. 一种UWB通信方法,其特征在于,应用于待测设备,所述方法包括:A UWB communication method, characterized in that it is applied to a device under test, and the method includes:
    所述待测设备与测距设备进行UWB测距通信;The device under test performs UWB ranging communication with the ranging device;
    在所述测距通信结束后,所述待测设备在交易唤醒时间内接收所述测距设备发送的交易唤醒消息并保持唤醒状态;所述交易唤醒消息由所述测距设备根据所述测距通信结果生成;以及,After the ranging communication ends, the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and maintains the awake state; the transaction wake-up message is sent by the ranging device according to the measurement communication results are generated; and,
    所述待测设备根据所述交易唤醒消息中包括的交易通信参数与所述测距设备通过UWB进行交易通信。The device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
  8. 根据权利要求7所述的通信方法,其特征在于,所述交易唤醒消息包括交易设备地址;The communication method according to claim 7, characterized in that the transaction wake-up message includes a transaction device address;
    所述待测设备在交易唤醒时间内接收所述测距设备发送的交易唤醒消息之前,所述方法包括:Before the device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, the method includes:
    在所述测距通信结束后,当所述待测设备与所述测距设备之间的距离小于等于预设距离阈值且与所述测距设备距离最近,所述测距设备将所述待测设备地址作为交易设备地址添加至所述交易唤醒消息中,并在交易唤醒时间内发送所述交易唤醒消息;After the ranging communication ends, when the distance between the device to be measured and the ranging device is less than or equal to the preset distance threshold and is the closest to the ranging device, the ranging device will The measuring device address is added to the transaction wake-up message as the transaction device address, and the transaction wake-up message is sent within the transaction wake-up time;
    所述待测设备在交易唤醒时间内接收所述测距设备发送的交易唤醒消息并保持唤醒状态,包括:The device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time and maintains the wake-up state, including:
    所述待测设备在交易唤醒时间内接收所述测距设备发送的交易唤醒消息,判断所述交易唤醒消息中的交易设备地址与自身地址相符,则保持唤醒状态。The device under test receives the transaction wake-up message sent by the ranging device within the transaction wake-up time, determines that the transaction device address in the transaction wake-up message matches its own address, and then maintains the wake-up state.
  9. 根据权利要求7所述的通信方法,其特征在于,所述交易通信参数包括:交易时长;所述待测设备根据所述交易唤醒消息中包括的交易通信参数与所述测距设备通过UWB进行交易通信之后,所述方法包括:The communication method according to claim 7, characterized in that the transaction communication parameters include: transaction duration; the device under test communicates with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message. Following transaction communication, the method includes:
    所述待测设备在所述交易时长之后进入测距保护时间,并保持静默状态。The device under test enters the ranging protection time after the transaction duration and remains in a silent state.
  10. 根据权利要求9所述的通信方法,其特征在于,所述交易通信参数包括:响应超时时长和重发次数;所述测距保护时间长度为所述响应超时时长乘以重发次数。The communication method according to claim 9, characterized in that the transaction communication parameters include: response timeout duration and the number of retransmissions; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
  11. 根据权利要求9或10所述的通信方法,其特征在于,所述待测设备根据所述交易唤醒消息中包括的交易通信参数与所述测距设备通过UWB进行交易通信包括:The communication method according to claim 9 or 10, wherein the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, including:
    所述待测设备判断所述交易时长是否到期,若否则向所述测距设备发送交易数据,若是则暂停向所述测距设备发送交易数据;The device under test determines whether the transaction duration has expired, and if not, sends transaction data to the ranging device; if so, suspends sending transaction data to the ranging device;
    所述待测设备根据所述交易唤醒消息中包括的交易通信参数与所述测距设备通过UWB进行交易通信之后,所述方法包括:After the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
    所述待测设备与所述测距设备进行下一次UWB测距通信,并在所述下一次UWB测距通信之后进入下一个交易唤醒时间,在所述下一个交易唤醒时间之后,所述待测设备继续向所述测距设备发送交易数据。The device to be tested performs the next UWB ranging communication with the ranging device, and enters the next transaction wake-up time after the next UWB ranging communication. After the next transaction wake-up time, the device to be tested The measuring device continues to send transaction data to the ranging device.
  12. 根据权利要求7或8所述的通信方法,其特征在于,所述待测设备根据所述交易唤醒消息中包括的交易通信参数与所述测距设备通过UWB进行交易通信包括:The communication method according to claim 7 or 8, characterized in that, the device under test performing transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message includes:
    在交易通信过程中,所述待测设备在测距间隔时长到期时,不进行UWB测距通信,继续与所述测距设备进行交易通信;During the transaction communication process, the device under test does not perform UWB ranging communication when the ranging interval expires, and continues to conduct transaction communication with the ranging device;
    所述待测设备根据所述交易唤醒消息中包括的交易通信参数与所述测距设备通过UWB进行交易通信之后,所述方法包括:After the device under test conducts transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
    所述待测设备收到所述测距设备发送的交易结束通知之后进入低功耗状态,并在所述测距间隔时长到期时,与所述测距设备进行下一次UWB测距通信。The device under test enters a low power consumption state after receiving the transaction end notification sent by the ranging device, and when the ranging interval expires, performs the next UWB ranging communication with the ranging device.
  13. 一种UWB芯片,其特征在于,应用于测距设备,所述芯片包括:A UWB chip is characterized in that it is used in ranging equipment, and the chip includes:
    通信模块,用于与待测设备进行UWB测距通信;Communication module, used for UWB ranging communication with the device under test;
    操作模块,用于在所述测距通信结束后,根据所述测距通信结果生成交易唤醒消息,在交易唤醒时间内向所述待测设备发送交易唤醒消息使其保持唤醒状态;以及,An operation module configured to, after the ranging communication ends, generate a transaction wake-up message according to the ranging communication result, and send a transaction wake-up message to the device under test within the transaction wake-up time to keep it awake; and,
    所述通信模块,还用于根据所述交易唤醒消息中包括的交易通信参数与所述待测设备通过UWB进行交易通信。The communication module is also configured to conduct transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
  14. 一种UWB芯片,其特征在于,应用于待测设备,所述芯片包括:A UWB chip, characterized in that it is applied to a device under test, and the chip includes:
    通信模块,用于与测距设备进行UWB测距通信;Communication module, used for UWB ranging communication with ranging equipment;
    操作模块,用于在所述测距通信结束后,在交易唤醒时间内接收所述测距设备发送的交易唤醒消息并保持唤醒状态;所述交易唤醒消息由所述测距设备根据所述测距通信结果生成;以及,An operation module configured to, after the ranging communication ends, receive a transaction wake-up message sent by the ranging device within the transaction wake-up time and maintain the wake-up state; the transaction wake-up message is sent by the ranging device according to the measurement communication results are generated; and,
    所述通信模块,还用于根据所述交易唤醒消息中包括的交易通信参数与所述测距设备通过UWB进行交易通信。The communication module is also configured to conduct transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
  15. 一种UWB测距设备,其特征在于,所述测距设备包括:根据权13所述的UWB芯片。A UWB ranging device, characterized in that the ranging device includes: the UWB chip according to claim 13.
  16. 一种UWB待测设备,其特征在于,所述待测设备包括:根据权14所述的UWB芯片;以及安全元件。A UWB device to be tested, characterized in that the device to be tested includes: the UWB chip according to claim 14; and a security element.
PCT/CN2022/132297 2022-05-27 2022-11-16 Uwb communication method, and chip and device WO2023226325A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210597534.1 2022-05-27
CN202210597534.1A CN115002660B (en) 2022-05-27 2022-05-27 UWB communication method, chip and device

Publications (1)

Publication Number Publication Date
WO2023226325A1 true WO2023226325A1 (en) 2023-11-30

Family

ID=83029337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/132297 WO2023226325A1 (en) 2022-05-27 2022-11-16 Uwb communication method, and chip and device

Country Status (2)

Country Link
CN (1) CN115002660B (en)
WO (1) WO2023226325A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002660B (en) * 2022-05-27 2024-01-23 深圳市汇顶科技股份有限公司 UWB communication method, chip and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200028809A (en) * 2018-09-07 2020-03-17 삼성전자주식회사 Method for uwb transaction and electronic device therefor
CN113643020A (en) * 2018-01-05 2021-11-12 华为终端有限公司 Electronic transaction method and terminal
WO2022092918A1 (en) * 2020-10-30 2022-05-05 삼성전자 주식회사 Payment method and device using ultra-wideband communication
CN115002660A (en) * 2022-05-27 2022-09-02 深圳市汇顶科技股份有限公司 UWB communication method, chip and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033981A (en) * 2015-03-12 2016-10-19 上海申达自动防范系统工程有限公司 Ultra-wide-band target positioning system and ultra-wide-band digital tag
EP3419862B1 (en) * 2016-02-26 2021-04-07 HUF Hülsbeck & Fürst GmbH & Co. KG Method for an activation of at least one safety function of a safety system of a vehicle
CN107787029B (en) * 2016-08-30 2020-07-21 华为技术有限公司 Method and device for transmitting wake-up frame in wireless local area network
CN107959575B (en) * 2016-10-14 2020-11-17 华为技术有限公司 Method and device for transmitting wake-up frame
KR102192979B1 (en) * 2017-02-13 2020-12-21 텔레호낙티에볼라게트 엘엠 에릭슨(피유비엘) Wake-up signal with frequency information
US11184845B2 (en) * 2017-12-29 2021-11-23 Intel Corporation Apparatus, system and method of a wake-up radio (WUR)
WO2021112380A1 (en) * 2019-12-06 2021-06-10 삼성전자 주식회사 Operation method and apparatus of device for transmitting/receiving data through ultra wideband (uwb)
CN113223215B (en) * 2021-05-21 2022-11-01 歌尔股份有限公司 Awakening method of intelligent door lock, terminal equipment and intelligent door lock
CN114157981A (en) * 2021-11-29 2022-03-08 歌尔科技有限公司 Distance safety detection method and wearable device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113643020A (en) * 2018-01-05 2021-11-12 华为终端有限公司 Electronic transaction method and terminal
KR20200028809A (en) * 2018-09-07 2020-03-17 삼성전자주식회사 Method for uwb transaction and electronic device therefor
WO2022092918A1 (en) * 2020-10-30 2022-05-05 삼성전자 주식회사 Payment method and device using ultra-wideband communication
CN115002660A (en) * 2022-05-27 2022-09-02 深圳市汇顶科技股份有限公司 UWB communication method, chip and device

Also Published As

Publication number Publication date
CN115002660A (en) 2022-09-02
CN115002660B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
US10645559B2 (en) Bluetooth connection method and terminal
US9332376B2 (en) Method and technical equipment for short range data transmission
US20220078079A1 (en) Electronic device for supporting access to wireless media using target wake time (twt) defined in ieee 802.11 standard
WO2023226325A1 (en) Uwb communication method, and chip and device
US20150304262A1 (en) Device Discovery Method, Apparatus and System
CN110475276A (en) Link evaluation method and user equipment in user equipment
CN104618996B (en) A kind of method and apparatus for the terminal for being used to wake up power save mode
CN110213020A (en) Data transmission method, terminal, system and device based on bluetooth peripheral hardware
TW202005464A (en) Communication between terminal and base station
WO2022078171A1 (en) Stylus switching method and system, and stylus
WO2019196715A1 (en) Method, device, and system for transmission of downlink control information
US11488141B2 (en) Command-based timer for wireless transactions
WO2024103928A1 (en) Ultra-wideband ranging method, apparatus and system
US20190089738A1 (en) Establishing a proprietary link layer connection with a proprietary device
US9088994B2 (en) Method and system for last gasp device detection
US11917543B2 (en) Bluetooth-based data transmission method and data receiving method, communicating apparatus and computer storage medium
Lindner et al. Low power wireless protocol for IoT appliances using CSMA/CA mechanism
Lattanzi et al. Hardware filtering of non–intended frames for energy optimisation in wireless sensor networks
CN115484576A (en) Online detection method and equipment based on heartbeat packet
WO2024113707A1 (en) Ultra-wideband ranging method, apparatus, and system
CN109121190A (en) Communication means, device, access point apparatus and the site apparatus of WLAN
CN115665714B (en) Near field communication method and device, master control equipment, NFC chip and NFC equipment
WO2024027746A1 (en) Information transmission method and apparatus, and receiving end and sending end
WO2024032489A1 (en) Prs receiving method and apparatus, and terminal
WO2023236826A1 (en) Access method and apparatus in backscatter communication, and terminal and network-side device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22943512

Country of ref document: EP

Kind code of ref document: A1