CN115002660A - UWB communication method, chip and device - Google Patents
UWB communication method, chip and device Download PDFInfo
- Publication number
- CN115002660A CN115002660A CN202210597534.1A CN202210597534A CN115002660A CN 115002660 A CN115002660 A CN 115002660A CN 202210597534 A CN202210597534 A CN 202210597534A CN 115002660 A CN115002660 A CN 115002660A
- Authority
- CN
- China
- Prior art keywords
- transaction
- equipment
- communication
- ranging
- uwb
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 369
- 238000004891 communication Methods 0.000 title claims abstract description 358
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000012360 testing method Methods 0.000 claims description 38
- 238000005259 measurement Methods 0.000 claims description 31
- 230000004044 response Effects 0.000 claims description 25
- 238000005516 engineering process Methods 0.000 abstract description 22
- 230000001976 improved effect Effects 0.000 abstract description 14
- 238000013459 approach Methods 0.000 abstract description 6
- 230000001939 inductive effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 15
- 230000003993 interaction Effects 0.000 description 12
- 238000004590 computer program Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 5
- 238000005859 coupling reaction Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000035945 sensitivity Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000005562 fading Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a UWB communication method, chip and device. The method is applicable to a ranging device and comprises the following steps: the distance measuring equipment and the equipment to be measured carry out UWB distance measuring communication; after ranging communication is finished, the ranging equipment generates a transaction awakening message according to a ranging communication result, and transmits the transaction awakening message to the equipment to be tested within transaction awakening time to keep the equipment to be tested in an awakened state; and the distance measuring equipment carries out transaction communication with the equipment to be tested through UWB according to the transaction communication parameters included in the transaction awakening message. In the technical scheme, the distance measuring equipment can directly transmit transaction data with the equipment to be measured through the UWB after the distance measuring stage, transaction communication under the UWB technology is realized, transaction is not required through other wireless communication technologies, the efficiency and the success rate of transaction are greatly improved, meanwhile, a user does not need to physically approach the equipment to be measured to the distance measuring equipment, and therefore quick and non-inductive payment or card swiping can be realized, and user experience is greatly improved.
Description
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a UWB (Ultra Wide Band) communication method, a chip and equipment.
Background
The UWB technology is a wireless carrier communication technology, which does not adopt sine carrier, but uses nanosecond-level non-sine wave narrow pulse to transmit data, so that the occupied frequency spectrum range is wide. The UWB technology has the advantages of low system complexity, low power spectral density of transmitted signals, insensitivity to channel fading, high positioning accuracy and the like, and is particularly suitable for high-speed wireless access in indoor and other crowded places. However, the current relevant standard specification of UWB only stipulates distance measurement using UWB, and for this reason, how to transmit transaction data by UWB technology becomes a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a UWB communication method, a chip and equipment, which are used for solving the problem that the prior art cannot perform transaction communication through a UWB technology.
In a first aspect, a UWB communication method is provided and applied to a ranging apparatus, and the method includes:
the distance measuring equipment and the equipment to be measured carry out UWB distance measuring communication;
after ranging communication is finished, the ranging equipment generates a transaction awakening message according to a ranging communication result, and transmits the transaction awakening message to the equipment to be tested within transaction awakening time to keep the equipment to be tested in an awakened state; and the number of the first and second groups,
and the ranging equipment carries out transaction communication with the equipment to be tested through UWB according to the transaction communication parameters included in the transaction awakening message.
In the embodiment of the application, after the ranging device and the device to be tested finish ranging communication, the ranging device sends a transaction awakening message to the ranging device within transaction awakening time to keep the ranging device in an awakened state, and performs transaction communication with the device to be tested through UWB through transaction communication parameters contained in the message. Compare in traditional UWB range finding, range finding equipment can directly trade data transmission through UWB and the equipment that awaits measuring after the range finding stage, realizes the transaction communication under the UWB technique, need not rethread other wireless communication technique and trades, has guaranteed data interaction's uniformity and reliability, has improved the efficiency and the success rate of transaction greatly, has saved the hardware cost. Meanwhile, because the UWB technology has relatively large communication distance and high sensitivity, a user does not need to physically approach the equipment to be tested to the distance measuring equipment, so that quick non-inductive payment or card swiping can be realized, and the user experience is greatly improved.
In one implementation, the transaction wake-up message includes a transaction device address;
the distance measurement equipment generates a transaction awakening message according to the distance measurement communication result, and the step of sending the transaction awakening message to the equipment to be tested within the transaction awakening time to enable the equipment to be tested to keep an awakened state comprises the following steps:
when the distance between the equipment to be tested and the ranging equipment is smaller than or equal to a preset distance threshold value and is closest to the ranging equipment, the ranging equipment takes the address of the equipment to be tested as a transaction equipment address to be added into a transaction awakening message, and the transaction awakening message is sent within transaction awakening time;
after sending a transaction wake-up message to the device to be tested within the transaction wake-up time, the method includes:
the equipment to be tested receives a transaction awakening message sent by the distance measuring equipment within the transaction awakening time, and keeps an awakening state if the address of the transaction equipment in the transaction awakening message is judged to be consistent with the address of the equipment.
In one implementation, the transaction communication parameters include: a transaction duration; after the ranging device performs transaction communication with the device to be tested through the UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
the ranging device enters ranging protection time after the transaction duration and keeps silent state.
In one implementation, the transaction communication parameters include: responding to the timeout duration and the retransmission times; the ranging guard time length is the response timeout duration multiplied by the number of retransmissions.
In one implementation, the performing, by the ranging device, transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message includes:
the distance measuring equipment judges whether the transaction duration is due, if not, the distance measuring equipment sends a transaction message to the equipment to be tested, and if so, the distance measuring equipment suspends sending the transaction message to the equipment to be tested;
after the ranging device performs transaction communication with the device to be tested through the UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
the distance measuring equipment and the equipment to be measured carry out next UWB distance measuring communication, and enter next transaction awakening time after the next UWB distance measuring communication, and after the next transaction awakening time, the distance measuring equipment continues to send transaction information to the equipment to be measured.
In one implementation, the performing, by the ranging device, transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message includes:
in the transaction communication process, when the distance measurement interval duration expires, the distance measurement equipment does not carry out UWB distance measurement communication and continues to carry out transaction communication with the equipment to be measured;
after the ranging device performs transaction communication with the device to be tested through the UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
the distance measuring equipment sends a transaction ending notice to the equipment to be measured so that the equipment to be measured enters a low power consumption state, enters the low power consumption state, and carries out UWB distance measuring communication with the equipment to be measured next time when the distance measuring interval duration expires.
In a second aspect, a UWB communication method is provided, which is applied to a device under test, and the method includes:
the device to be tested and the ranging device carry out UWB ranging communication;
after the ranging communication is finished, the equipment to be tested receives a transaction awakening message sent by the ranging equipment in the transaction awakening time and keeps an awakening state; the transaction wake-up message is generated by the ranging device according to the ranging communication result; and (c) a second step of,
and the equipment to be tested carries out transaction communication with the ranging equipment through UWB according to the transaction communication parameters included in the transaction awakening message.
In the embodiment of the application, after the device to be tested and the ranging device complete ranging communication, the device to be tested receives a transaction awakening message sent by the ranging device within transaction awakening time to keep an awakening state, and performs transaction communication with the ranging device through UWB through transaction communication parameters contained in the message. Compare in traditional UWB range finding, the equipment that awaits measuring can directly trade data transmission through UWB and range finding equipment after the range finding stage, realizes the transaction communication under the UWB technique, need not rethread other wireless communication techniques and trades, has guaranteed data interaction's uniformity and reliability, has improved the efficiency and the success rate of transaction greatly, has saved the hardware cost. Meanwhile, because the UWB technology has relatively large communication distance and high sensitivity, a user does not need to physically approach the equipment to be tested to the distance measuring equipment, so that quick non-inductive payment or card swiping can be realized, and the user experience is greatly improved.
In one implementation, the transaction wake-up message includes a transaction device address;
before the device to be tested receives the transaction awakening message sent by the ranging device within the transaction awakening time, the method comprises the following steps:
after ranging communication is finished, when the distance between the equipment to be tested and the ranging equipment is smaller than or equal to a preset distance threshold and is closest to the ranging equipment, the ranging equipment takes the address of the equipment to be tested as a transaction equipment address to be added to the transaction awakening message, and the transaction awakening message is sent within transaction awakening time;
the equipment to be tested receives the transaction awakening message sent by the ranging equipment in the transaction awakening time and keeps the awakening state, and the method comprises the following steps:
the equipment to be tested receives the transaction awakening message sent by the ranging equipment within the transaction awakening time, and if the address of the transaction equipment in the transaction awakening message is judged to be consistent with the address of the equipment, the equipment to be tested keeps an awakening state.
In one implementation, the transaction communication parameters include: a transaction duration; after the device to be tested performs transaction communication with the ranging device through the UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
the equipment to be tested enters the ranging protection time after the transaction duration and keeps a silent state.
In one implementation, the transaction communication parameters include: responding to the timeout duration and the retransmission times; the ranging guard time length is the response timeout duration multiplied by the number of retransmissions.
In one implementation, the performing, by the device under test, transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message includes:
the equipment to be tested judges whether the transaction duration is due, if not, the equipment to be tested sends transaction data to the distance measuring equipment, and if so, the equipment to be tested stops sending the transaction data to the distance measuring equipment;
after the device to be tested performs transaction communication with the ranging device through the UWB according to the transaction communication parameters included in the transaction wake-up message, the method comprises the following steps:
the device to be tested and the ranging device carry out next UWB ranging communication, and enter next transaction awakening time after the next UWB ranging communication, and after the next transaction awakening time, the device to be tested continues to send transaction data to the ranging device.
In one implementation, the performing, by the device under test, transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message includes:
in the transaction communication process, when the distance measurement interval duration of the equipment to be tested expires, the UWB distance measurement communication is not carried out, and the equipment to be tested continues to carry out transaction communication with the distance measurement equipment;
after the device to be tested performs transaction communication with the ranging device through the UWB according to the transaction communication parameters included in the transaction wake-up message, the method includes:
and the equipment to be tested enters a low power consumption state after receiving the transaction end notification sent by the ranging equipment, and performs next UWB ranging communication with the ranging equipment when the ranging interval duration expires.
In a third aspect, there is provided a UWB chip applied to a ranging apparatus, the UWB chip comprising:
the communication module is used for carrying out UWB ranging communication with the equipment to be tested;
the operation module is used for generating a transaction awakening message according to the ranging communication result after the ranging communication is finished, and sending the transaction awakening message to the equipment to be tested within the transaction awakening time to keep the equipment to be tested in an awakened state; and (c) a second step of,
the communication module is further configured to perform transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
In a fourth aspect, a UWB chip is provided and applied to a device to be tested, the UWB chip comprising:
the communication module is used for carrying out UWB ranging communication with the ranging equipment;
the operation module is used for receiving the transaction awakening message sent by the ranging equipment within the transaction awakening time and keeping an awakening state after the ranging communication is finished; the transaction wake-up message is generated by the ranging device according to the ranging communication result; and the number of the first and second groups,
the communication module is further configured to perform transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message.
In a fifth aspect, there is provided a UWB ranging apparatus comprising the UWB chip according to the third aspect.
In a sixth aspect, there is provided a UWB device under test comprising a UWB chip according to the fourth aspect, and a secure element.
Drawings
Fig. 1 is a flowchart illustrating a UWB communication method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a device timing state according to an embodiment of the present application.
FIG. 3 is a schematic diagram of another device timing state according to an embodiment of the present application.
FIG. 4 is a schematic diagram of another device timing state according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating another UWB communication method according to an embodiment of the present application.
Fig. 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.
Fig. 9 is a schematic structural diagram of a UWB ranging apparatus according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a UWB device under test according to an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The UWB-related standards organization (such as the fia alliance) specifies the specifications for ranging using UWB, and through these specifications, high-precision distance measurement, target positioning, and the like under the UWB technology can be realized.
According to the specification, a UWB device needs to transmit data in one slot (slot), and other UWB devices can receive the data. To avoid collisions, only one UWB device may transmit data in one time slot. In order to reduce power consumption, the UWB device cannot be constantly in a transmitting/receiving state, and thus the device is in a low power consumption state (IDLE state) when data interaction is not required, in which the device cannot transmit/receive data, and the device can enter a receiving or transmitting state by waking up at a fixed time. For example, in a ranging phase, the UWB device is in a transceiving state, and in a non-ranging phase after ranging is completed, the device is usually in a low power consumption state, and ranging communication must be performed after a predetermined time point.
The UWB device generally includes a ranging device and a device under test. The ranging device needs to send different ranging frames in different time slots and receive a response message returned by the device to be tested to complete UWB ranging. In some daily transaction scenes, such as entrance guard card swiping, bus and subway card swiping or POS machine consumption scenes, distance measurement is generally required to be carried out on distance measurement equipment and equipment to be measured, and then transaction is carried out when distance measurement data reach a certain numerical value range. But the specification only defines a slot-based scheme for the ranging phase and no corresponding communication mechanism is given for how the transaction is performed via UWB technology after ranging.
Therefore, the embodiment of the application provides a scheme of UWB communication, which can realize transaction communication under UWB technology.
Fig. 1 is a flow chart illustrating a UWB communication method 100 according to an embodiment of the present application. The method 100 may be applied to, i.e. performed by, the above-described ranging apparatus. By way of example and not limitation, the distance measuring device may specifically be a gate, a POS terminal device, or other card reading device with UWB functionality. Correspondingly, the device to be tested can be various chip cards (such as bus cards, access cards, bank cards and the like), mobile terminal equipment, wearable equipment, tablet computers or other card simulation equipment with UWB functions and the like. Generally, the device under test has a Secure Element (SE), in which transaction-related application programs (such as a bus app or a payment app) and transaction information are stored, and in a specific transaction communication process, the application programs may interact with the ranging device through a UWB technology to perform transaction information. As shown in fig. 1, the method comprises the steps of:
step 110: and the distance measuring equipment and the equipment to be measured carry out UWB distance measuring communication.
In a specific application scenario, there may be multiple devices to be measured and ranging devices to perform UWB ranging communication, and as described above, the ranging devices may receive ranging response messages returned by the devices to be measured after broadcasting ranging messages in one time slot, and accordingly, the ranging devices may accurately determine the distance between each device to be measured and the ranging devices.
Fig. 2 is a schematic diagram of a device timing state according to an embodiment of the present application. The ranging device may perform ranging communication with the device to be tested for 5 time slots as shown in the figure, and of course, the number of the specific ranging communication time slots may vary with the number of the devices to be tested and the ranging method, and is not fixed. Then, UWB ranging communication required by the specification is performed between the ranging device and the device to be measured every a certain ranging interval duration, and fig. 2 shows two ranging intervals, which may have more ranging intervals in practical application. The distance measurement interval duration can be flexibly determined by the application layer according to actual conditions, the specific time range can be 100ms to several seconds, and the distance measurement interval duration is not limited in the application.
Step 120: after ranging communication is finished, the ranging equipment generates a transaction awakening message according to the ranging communication result, and transmits the transaction awakening message to the equipment to be tested within the transaction awakening time to keep the equipment to be tested in an awakened state.
Specifically, the transaction wake-up message may include a transaction device address, where the transaction device address is used to identify a target device under test that needs to perform transaction communication. And when the distance between the equipment to be tested and the ranging equipment is less than or equal to a preset distance threshold value and is closest to the ranging equipment, the ranging equipment takes the address of the equipment to be tested as the address of the transaction equipment to be added into the transaction awakening message, and sends the transaction awakening message within the transaction awakening time. It can be understood that the preset distance threshold may be flexibly set according to an application scenario, for example, the preset distance threshold may be larger when a subway gate card is swiped for payment and may be smaller when a POS machine consumes for payment, and a specific numerical value may be 0.1m to 2m, which is not limited in this application.
As shown in fig. 2, the transaction wakeup time is 2 slots immediately after the ranging communication phase. The number of time slots specifically included in the transaction wake-up time can be flexibly set, generally, one time slot is set, but in order to ensure that the target device to be tested can be correctly woken up to enter the transaction state, the transaction wake-up time can be set to be a plurality of time slots, and one preferable number is 2 to 4 time slots. Therefore, the problem that once the target device to be tested fails to be awakened in one time slot, the target device to be tested must be awakened in the next transaction awakening time, and the transaction communication efficiency is reduced can be solved.
Specifically, the transaction wake-up message may include transaction communication parameters, which may be flexibly configured by an application layer (e.g., a bus app or a payment app) according to actual situations. Such parameters include, but are not limited to: response timeout duration, number of retransmissions, etc. The response timeout duration is used for stipulating how long the response message returned by the opposite terminal equipment must be received after the data or the control message is sent to the opposite terminal equipment, otherwise, the data or the control message is considered to be failed to be sent. The number of retransmissions indicates the number of times the message needs to be retransmitted when transmission of data or control messages fails. Further, the transaction communication parameters may include: and the data packet size is used for specifying the size of the data packet carried in the data message sent at one time at most. To ensure that the transaction communication does not affect the timing ranging communication specified by the specification, the transaction communication parameters may include: the duration of the transaction. Referring to fig. 2, the transaction duration is the length of the transaction communication time shown in the figure. Because the distance measuring equipment and the equipment to be measured are in a one-to-one communication state in the transaction communication time, the transaction time length does not need to follow the regulation of the standard time slot and can be flexibly set, but the sum of the distance measuring communication time, the transaction awakening time and the transaction time length cannot exceed the distance measuring interval time length. Of course, the transaction duration is not required, and the application layer may set the transaction communication priority to be higher than the ranging communication priority, so that the ranging communication may be performed after the transaction communication is completed once, which will be described in detail below.
Correspondingly, the device side to be tested is used as a target device of transaction communication, and after receiving the transaction awakening message within the transaction awakening time, the transaction device address in the transaction awakening message is judged to be consistent with the address of the device, and then the device side to be tested is kept in an awakening state. To transmit and receive transaction data with the ranging device at a later stage. Referring to fig. 3, for other devices to be tested, after receiving the transaction wakeup message within the transaction wakeup time, determining that the address of the transaction device in the transaction wakeup message is not in accordance with the address of the transaction device, and entering a low power consumption state.
Optionally, the transaction wake-up message further includes a channel switching instruction, where the channel switching instruction is used to instruct the device to be tested to use a new channel to communicate with the ranging device at a later transaction communication time. Correspondingly, after receiving the channel switching instruction, the device to be tested uses a new channel to perform transaction communication with the ranging device within the transaction communication time.
For example, the ranging device uses the channel 5 to communicate with the device under test in the ranging communication stage, but the ranging device senses that the communication quality of the channel 5 is degraded due to interference of other signals, and meanwhile, the channel 9 has better quality, and adds a channel switching instruction when sending a transaction wake-up message to the device under test, so as to instruct the device under test to communicate with the device under test by using the channel 9 in the next transaction communication stage. Through the mode, the quality of UWB transaction communication can be improved, and the success rate of the transaction is ensured.
Step 130: and the ranging equipment carries out transaction communication with the equipment to be tested through UWB according to the transaction communication parameters included in the transaction awakening message.
Specifically, the ranging device sends a transaction data message or a control message of the application layer to the device to be tested through the UWB technology according to the transaction communication parameters, or receives the transaction data message or the control message sent by the device to be tested. For example, if the transaction data message or the control message sent by the ranging device does not receive the response of the device to be tested within the response timeout period, the transaction data message or the control message may be retransmitted according to the retransmission times. The transaction data volume sent by the ranging device each time needs to be configured according to the size parameter of the data packet. The transaction data message or the control message may be in an APDU (application protocol data unit) format. The specific transaction communication process may refer to a transaction communication flow in a similar application scenario in technologies such as NFC (near field communication), bluetooth, or Wi-Fi.
Optionally, in fig. 2, a response message to the transaction wake-up message sent by the device under test may be received at the beginning stage of the transaction communication time. The response message is used for confirming that the device to be tested receives the transaction awakening message to the ranging device, receiving the transaction communication parameters and being in an awakening state to carry out transaction communication. Correspondingly, when the transaction data interaction is finished and the transaction communication is finished, the distance measuring equipment can send a transaction finishing notification to the equipment to be tested, so that the equipment to be tested can enter a low power consumption state in time, and the electric power of the equipment is saved. Similarly, if the ranging device does not receive the response of the device to be tested to the transaction wake-up message, the ranging device may enter a low power consumption state.
Generally, before each ranging communication, the device to be tested needs to be in a receiving state in advance to wait for the ranging message of the ranging device, and in order to avoid collision between the transaction data message or the control message in the transaction communication and the ranging message in the subsequent ranging communication, the ranging device may set the ranging protection time before entering the next ranging communication. Optionally, step 130 is followed by further comprising:
step 140: and the ranging equipment enters ranging protection time after the transaction duration and keeps a silent state.
Specifically, as shown in fig. 2, after the transaction communication time is over, that is, after the transaction duration expires, the ranging device enters the ranging protection time, which has a length similar to the transaction duration and can be flexibly set without setting according to the time slot rule, and preferably, the ranging protection time is the response timeout duration multiplied by the retransmission times. This is arranged to take into account that if a device considers that a message sent to a peer device needs to be retransmitted during a transaction communication, it must take enough time for retransmission and waiting for the peer to respond. Thus, even if one device (ranging device or device to be tested) needs to retransmit the message to the opposite device n times at the last time of the transaction communication time, the message does not collide with the ranging message in the subsequent ranging communication. In addition, if the ranging protection time is set, the sum of the ranging communication time, the transaction wakeup time, the transaction duration and the ranging protection time cannot exceed the ranging interval duration.
The silent state refers to that the ranging device or the device to be tested does not send new information related to transaction communication, such as transaction data information or control information.
By setting the ranging protection time, the influence of transaction communication on ranging communication can be avoided, and the compatibility with UWB ranging communication is improved.
Generally speaking, data interaction required by the transaction can be completed within one ranging interval, but if the data volume related to the transaction is large, all transaction data interaction cannot be completed within one transaction duration within one ranging interval. In this case, in order not to affect the subsequent ranging communication, the data related to the current transaction needs to be exchanged in different ranging intervals. Optionally, the step 130 further includes:
step 131: and the distance measuring equipment judges whether the transaction duration is due, if not, the distance measuring equipment sends a transaction message to the equipment to be tested, and if so, the distance measuring equipment suspends sending the transaction message to the equipment to be tested.
Specifically, the ranging device sends a transaction message (such as a transaction data message or a control message) to the device to be tested within the transaction duration, and if the transaction duration expires, the sending of the transaction message is suspended to avoid affecting subsequent ranging communication.
Accordingly, as shown in fig. 2, the method of this embodiment after step 130 or step 140 may further include:
step 150: the distance measuring equipment and the equipment to be measured carry out next UWB distance measuring communication, and enter next transaction awakening time after the next UWB distance measuring communication, and after the next transaction awakening time, the distance measuring equipment continues to send transaction information to the equipment to be measured.
Specifically, in step 120, the ranging device may send a transaction wakeup message to the device under test during the next transaction wakeup time, so that the device under test continues to perform transaction communication 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 to be tested and the transaction communication parameter, and the value of the transaction communication parameter may be the same as or different from the last setting, and is specifically configured by the application layer.
The above embodiment is substantially higher in the priority of ranging communication than in the priority of transaction communication, and transaction data are interleaved in different ranging intervals for interaction, so that transaction communication does not affect timing ranging communication specified by a standard specification, and the compatibility of UWB transaction communication and ranging communication is ensured.
In another embodiment, the application layer may set the transaction communication priority to be higher than the ranging communication priority. In this case, the transaction communication process is not limited to the ranging interval of UWB ranging communication, that is, the transaction communication parameter set by the application layer does not include the transaction duration, and the transaction communication may continue until the transaction is completed. I.e. the arrival of each ranging cycle does not disrupt ongoing UWB transaction communications. Therefore, step 130 of this embodiment may specifically include:
step 132: in the transaction communication process, when the distance measurement interval duration expires, the distance measurement equipment does not perform UWB distance measurement communication and continues to perform transaction communication with the equipment to be tested.
Specifically, if the current transaction communication is ended within a ranging interval, the ranging device normally triggers UWB ranging communication when the ranging interval timer expires, but if the time required for the transaction communication exceeds the duration of the ranging interval, the ranging interval timer expires, and the two-terminal device is not triggered to perform ranging communication but continues to perform the transaction communication until the transaction is completed. Fig. 4 is a schematic diagram of another device timing state according to an embodiment of the present application. The transaction communication time in the figure is across multiple ranging intervals. In addition, in the case where the transaction communication priority is higher than the ranging communication priority, the ranging guard time may not be set.
Accordingly, after step 130, the method of this embodiment may further include:
step 160: the distance measuring equipment sends a transaction ending notice to the equipment to be measured so that the equipment to be measured enters a low power consumption state, the distance measuring equipment enters the low power consumption state, and UWB distance measuring communication is carried out with the equipment to be measured next time when the distance measuring interval duration expires.
Specifically, referring to fig. 4, when the data interaction of the current transaction is completed, the ranging device sends a transaction completion notification message to the device to be tested, and the device to be tested returns a response after receiving the message and enters a low power consumption state. And the ranging equipment also enters a low power consumption state after receiving the response message of the equipment to be tested. And when the ranging interval timer expires, the ranging equipment and surrounding equipment to be tested carry out next UWB ranging communication.
According to the embodiment, the transaction communication priority set by the application layer is higher than the ranging communication priority, so that UWB transaction communication can be completed at one time, the integrity of transaction data interaction is ensured, and the UWB transaction communication efficiency is further improved.
In the embodiment of the application, after the ranging device and the device to be tested finish ranging communication, the ranging device sends a transaction awakening message to the ranging device within transaction awakening time to keep the ranging device in an awakened state, and performs transaction communication with the device to be tested through UWB through transaction communication parameters contained in the message. Compared with the traditional UWB ranging, the ranging equipment can directly transmit transaction data with equipment to be tested through the UWB after the ranging stage, the transaction communication under the UWB technology is realized, the transaction is not required to be carried out through wireless communication technologies such as NFC, Bluetooth or Wi-Fi, the consistency and the reliability of data interaction are guaranteed, the transaction efficiency and the success rate are greatly improved, and the hardware cost is saved. Meanwhile, because the UWB technology has relatively large communication distance and high sensitivity, a user does not need to physically approach the equipment to be tested to the distance measuring equipment, so that quick non-inductive payment or card swiping can be realized, and the user experience is greatly improved.
Fig. 5 is a flow chart illustrating another UWB communication method 500 in accordance with an embodiment of the present application. The method 500 may be applied to the device under test described above, i.e., may be performed by the device under test. It can be understood that this embodiment is a method flow of the device under test side corresponding to the above method embodiment, and details of the same or similar techniques are not repeated. As shown in fig. 1, the method comprises the steps of:
step 510: and carrying out UWB ranging communication between the equipment to be tested and the ranging equipment.
Specifically, the device to be measured may perform ranging communication with the ranging device for 5 time slots as shown in fig. 2, and may perform ranging communication again after a certain ranging interval duration.
Step 520: after ranging communication is finished, the equipment to be tested receives a transaction awakening message sent by ranging equipment in transaction awakening time and keeps an awakening state; and the transaction awakening message is generated by the ranging equipment according to the ranging communication result.
In particular, the transaction wake-up message may include a transaction device address. Before step 520, the method of this embodiment includes: and when the distance between the equipment to be tested and the ranging equipment is smaller than or equal to a preset distance threshold and is closest to the ranging equipment, the ranging equipment takes the address of the equipment to be tested as a transaction equipment address and adds the transaction equipment address into the transaction awakening message, and the transaction awakening message is sent within the transaction awakening time. Correspondingly, step 520 may specifically include: the equipment to be tested receives the transaction awakening message sent by the ranging equipment within the transaction awakening time, and keeps an awakening state if the address of the transaction equipment in the transaction awakening message is judged to be consistent with the address of the equipment. To transmit and receive transaction data with the ranging device at a later stage.
As shown in fig. 2, the device to be tested receives the transaction wake-up message within the transaction wake-up time of 2 time slots, and the number of time slots specifically included in the transaction wake-up time can be flexibly set. The time slots are set to avoid the problem that once the target device to be tested fails to be awakened in one time slot, the target device to be tested must be awakened at the next transaction awakening time, so that the transaction communication efficiency is reduced. The transaction wake-up message may include transaction communication parameters, such as a transaction duration, a response timeout duration, a retransmission number and/or a data packet size, and the specific configuration method may refer to the description in step 120 of the foregoing method embodiment.
Step 530: and the equipment to be tested carries out transaction communication with the ranging equipment through UWB according to the transaction communication parameters included in the transaction awakening message.
Specifically, the device to be tested sends the transaction data message or the control message of the application layer to the ranging device through the UWB technology according to the transaction communication parameters, or receives the transaction data message or the control message sent by the ranging device. Reference may be made specifically to the description of step 130 of the above method embodiment.
Optionally, in fig. 2, the device under test may send a response message to the ranging device in response to the transaction wakeup message at the beginning of the transaction communication time. The response message is used for confirming that the device to be tested receives the transaction awakening message to the ranging device, receiving the transaction communication parameters and being in an awakening state to carry out transaction communication. Correspondingly, when the transaction data interaction is finished and the transaction communication is finished, the equipment to be tested can receive the transaction finishing notification sent by the distance measuring equipment and enter a low power consumption state, so that the electric power of the equipment is saved.
Optionally, the transaction wake-up message further includes a channel switching instruction. Accordingly, step 530 may include: and after receiving the channel switching instruction, the equipment to be tested uses a new channel to carry out transaction communication with the ranging equipment within the transaction communication time.
Similarly, in order to avoid collision between the transaction data message or the control message in the transaction communication and the ranging message in the subsequent ranging communication, the device under test may set the ranging protection time before entering the next ranging communication. Optionally, step 530 is further followed by:
step 540: and the equipment to be tested enters ranging protection time after the transaction duration and keeps a silent state.
Specifically, as shown in fig. 2, after the transaction communication time is over, that is, after the transaction duration expires, the device to be tested enters the ranging protection time. Preferably, the length of the ranging protection time is the response timeout duration multiplied by the number of retransmissions. By setting the ranging protection time, the influence of transaction communication on ranging communication can be avoided, and the compatibility with UWB ranging communication is improved.
Similarly, if the amount of data related to the transaction is large, in order not to affect the subsequent ranging communication, the data related to the transaction needs to be interacted in different ranging intervals. Optionally, the step 530 further includes:
step 531: and the equipment to be tested judges whether the transaction duration is due, if not, the equipment to be tested sends transaction data to the distance measuring equipment, and if so, the equipment to be tested stops sending the transaction data to the distance measuring equipment.
Accordingly, as shown in fig. 2, the method of this embodiment may further include, after step 530 or step 540:
step 550: the device to be tested and the ranging device carry out next UWB ranging communication, and enter next transaction awakening time after the next UWB ranging communication, and the device to be tested continues to send transaction data to the ranging device after the next transaction awakening time.
Specifically, in step 520, during the next transaction wake-up time, the device under test may receive a new transaction wake-up message sent by the ranging device, so that the device under test may continue to perform transaction communication 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 to be tested and the transaction communication parameter, and the value of the transaction communication parameter may be the same as or different from the last setting, and is specifically configured by the application layer.
Also, in another embodiment, the application layer may set the transaction communication priority to be higher than the ranging communication priority. In this case, the transaction communication parameters set by the application layer do not include the transaction duration, and the transaction communication may continue until the transaction is completed, and the ongoing UWB transaction communication is not interrupted by the arrival of each ranging period. Therefore, step 530 of this embodiment may specifically include:
step 532: in the transaction communication process, when the distance measurement interval duration expires, the device to be tested does not perform UWB distance measurement communication and continues to perform transaction communication with the distance measurement device.
Specifically, if the time required for transaction communication exceeds the time duration of the ranging interval, the expiration of the ranging interval timer does not trigger the two-terminal device to perform ranging communication, but continues transaction communication until the transaction is completed. As can be seen in fig. 4, the transaction communication time of the device under test spans multiple ranging intervals.
Correspondingly, after the step 530, the method of this embodiment may further include:
step 560: and the equipment to be tested enters a low power consumption state after receiving a transaction completion notification sent by the ranging equipment, and performs next UWB ranging communication with the ranging equipment when the ranging interval duration expires.
Specifically, after receiving a transaction end notification message sent by the ranging device, the device to be tested returns a response and enters a low power consumption state.
In the embodiment of the application, after the ranging communication between the ranging device and the device to be tested is completed, the device to be tested receives the transaction awakening message sent by the ranging device in the transaction awakening time to keep the awakening state, and performs the transaction communication with the ranging device through the UWB through the transaction communication parameters contained in the message. Compared with the traditional UWB ranging, the equipment to be measured can directly transmit transaction data with the ranging equipment through the UWB after the ranging stage, the transaction communication under the UWB technology is realized, the transaction is not required to be carried out through wireless communication technologies such as NFC, Bluetooth or Wi-Fi, the consistency and the reliability of data interaction are guaranteed, the transaction efficiency and the success rate are greatly improved, and the hardware cost is saved. Meanwhile, because the UWB technology has relatively large communication distance and high sensitivity, a user does not need to physically approach the equipment to be tested to the distance measuring equipment, so that quick non-inductive payment or card swiping can be realized, and the user experience is greatly improved.
Fig. 6 shows a schematic structural diagram of a UWB chip according to an embodiment of the present application. The UWB chip 60 may be applied to a ranging apparatus, as shown in fig. 6, and the UWB chip 60 may specifically include: a communication module 61 and an operation module 62.
The communication module 61 is used for performing UWB ranging communication with a device to be tested; the operation module 62 is configured to generate a transaction wake-up message according to a result of the ranging communication after the ranging communication is ended, and send the transaction wake-up message to the device to be tested within a transaction wake-up time to keep the device to be tested in a wake-up state; the communication module 61 is further configured to perform transaction communication with the device under test through UWB according to the transaction communication parameters included in the transaction wake-up message.
In an alternative, the transaction wake-up message includes a transaction device address; the operation module 62 is further configured to, when the distance between the device to be tested and the ranging device is less than or equal to the preset distance threshold and is closest to the ranging device, add the address of the device to be tested as the address of the transaction device to the transaction wakeup message, and send the transaction wakeup message within the transaction wakeup time.
In an alternative form, the transaction communication parameters include: a transaction duration; the operation module 62 is further configured to enable the ranging device to enter a ranging protection time after the transaction duration and maintain a silent state.
In an alternative form, the transaction communication parameters include: responding to the timeout duration and the retransmission times; the length of the ranging protection time is the response timeout duration multiplied by the number of retransmissions.
In an optional manner, the communication module 61 is further configured to determine whether the transaction duration expires, if not, send a transaction message to the device to be tested, and if so, suspend sending the transaction message to the device to be tested; and the communication module 61 is further configured to perform next UWB ranging communication with the device to be tested, enter next transaction wake-up time after the next UWB ranging communication, and continue to send a transaction message to the device to be tested after the next transaction wake-up time.
In an optional manner, the communication module 61 is further configured to, during a transaction communication process, when the distance measurement interval duration expires, not perform UWB distance measurement communication, and continue to perform transaction communication with the device to be tested; and the communication module 61 is further configured to send a transaction end notification to the device to be measured, so that the device to be measured enters a low power consumption state, so that the ranging device enters the low power consumption state, and perform next UWB ranging communication with the device to be measured when the ranging interval duration expires.
It should be noted that the UWB chip 60 and the UWB communication method 100 provided in the embodiment of the present application are based on the same concept, and details and beneficial effects thereof can be referred to the description in the embodiment of the UWB communication method 100, and are not described herein again.
Fig. 7 is a schematic diagram showing a structure of another UWB chip according to an embodiment of the present application. The UWB chip 70 may be applied to a device to be tested, as shown in fig. 7, the UWB chip 70 may specifically include: a communication module 71 and an operation module 72.
The communication module 71 is configured to perform UWB ranging communication with a ranging device; the operation module 72 is configured to receive a transaction wake-up message sent by the ranging device within a transaction wake-up time and keep a wake-up state after the ranging communication is ended; the transaction awakening message is generated by the ranging equipment according to a ranging communication result; the communication module 71 is further configured to perform transaction communication with the ranging device via UWB according to the transaction communication parameters included in the transaction wake-up message.
In an alternative approach, the transaction wake-up message includes a transaction device address; the operation module 72 is further configured to receive a transaction wakeup message sent by the ranging device within the transaction wakeup time, and if the address of the transaction device in the transaction wakeup message matches the address of the self-address, keep the wakeup state.
In an alternative form, the transaction communication parameters include: a transaction duration; the operation module 72 is further configured to enter a ranging guard time after the transaction duration and maintain a silence state.
In an alternative form, the transaction communication parameters include: responding to the overtime length and the retransmission times; the ranging guard time length is the response timeout duration multiplied by the number of retransmissions.
In an optional manner, the communication module 71 is further configured to determine whether the transaction duration expires, if not, send the transaction data to the distance measuring device, and if so, suspend sending the transaction data to the distance measuring device; the communication module 71 is further configured to perform next UWB ranging communication with the ranging device, enter a 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.
In an optional manner, the communication module 71 is further configured to, during the transaction communication, not perform UWB ranging communication when the duration of the ranging interval expires, and continue the transaction communication with the ranging device; and the communication module 71 is further configured to enter a low power consumption state after receiving a transaction end notification sent by the ranging device, and perform next UWB ranging communication with the ranging device when the ranging interval duration expires.
It should be noted that, the UWB chip 70 and the UWB communication method 500 provided in the embodiment of the present application are based on the same concept, and details and beneficial effects thereof can be referred to the description in the embodiment of the UWB communication method 500, and are not described herein again.
Fig. 8 shows a schematic structural diagram of another UWB chip 80 provided in the embodiment of the present application. As shown in fig. 8, the UWB chip 80 includes: a memory 81 and a processor 82; the memory 81 is used for storing a computer program, and the processor 82 is used for calling the computer program, and when the computer program is executed by the processor 82, the UWB chip 80 is caused to execute the UWB communication method in any of the above embodiments.
Embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored, where the computer program is executed by a computer, so that the computer executes the UWB communication method in any one of the above embodiments.
Embodiments of the present application also provide a computer program product containing instructions, which when executed by a computer, cause the computer to execute the UWB communication method in any of the above embodiments.
Fig. 9 shows a schematic structural diagram of a UWB ranging apparatus 90 provided in an embodiment of the present application. As shown in fig. 9, the UWB ranging apparatus 90 may include the UWB chip 60 or the UWB chip 80 described above. By way of example and not limitation, the distance measuring device 90 may be a door lock, gate, POS terminal device or other card reading device with UWB functionality.
Fig. 10 shows a schematic structural diagram of a UWB device under test 1000 according to an embodiment of the present application. As shown in fig. 10, the UWB device under test 1000 may include the UWB chip 70 or the UWB chip 80 described above. Optionally, the device under test 1000 further includes an SE1100, where transaction-related application programs (such as a bus app or a payment app) and transaction information are stored, and in a transaction communication process, the application programs in the SE may interact with the ranging device through the UWB chip to perform the transaction information.
By way of example and not limitation, the device under test 1000 may be various chip cards (such as a bus card, an access card, a bank card, etc.), mobile terminal devices, wearable devices, tablet computers or other card simulation devices with UWB functionality, and the like. The wearable device comprises devices which are full in function, large in size and capable of achieving complete or partial functions independently of a smart phone, such as a smart watch or smart glasses, and devices which are only concentrated on a certain application function and need to be matched with other devices such as the smart phone for use, such as various smart bracelets for monitoring physical signs, smart jewelry and the like.
It should be noted that, without conflict, the embodiments and/or technical features in the embodiments described in the present application may be arbitrarily combined with each other, and the technical solutions obtained after the combination also fall within the protection scope of the present application.
The system, apparatus and method disclosed in the embodiments of the present application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed. The above-described device embodiments are merely illustrative, the division of the unit is only one logical functional division, and there may be other divisions when the actual implementation is performed, and a plurality of units or components may be combined or may be integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling includes electrical, mechanical or other connections.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
It should be understood that the specific examples in the embodiments of the present application are for the purpose of promoting a better understanding of the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and that various modifications and variations can be made by those skilled in the art based on the above embodiments and fall within the scope of the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (16)
1. A UWB communication method applied to a ranging apparatus, the method comprising:
the distance measuring equipment and the equipment to be measured carry out UWB distance measuring communication;
after the ranging communication is finished, the ranging equipment generates a transaction awakening message according to the ranging communication result, and sends the transaction awakening message to the equipment to be tested within the transaction awakening time to keep the equipment to be tested in an awakened state; and the number of the first and second groups,
and the ranging equipment carries out transaction communication with the equipment to be tested through UWB according to the transaction communication parameters included in the transaction awakening message.
2. The communication method according to claim 1, wherein the transaction wake-up message comprises a transaction device address;
the distance measurement equipment generates a transaction awakening message according to the distance measurement communication result, and the step of sending the transaction awakening message to the equipment to be tested within the transaction awakening time to enable the equipment to be tested to keep an awakened state comprises the following steps:
when the distance between the equipment to be tested and the ranging equipment is smaller than or equal to a preset distance threshold and is closest to the ranging equipment, the ranging equipment takes the address of the equipment to be tested as a transaction equipment address and adds the transaction equipment address to the transaction awakening message, and the transaction awakening message is sent within the transaction awakening time;
after the transaction awakening message is sent to the device to be tested within the transaction awakening time, the method comprises the following steps:
and the equipment to be tested receives the transaction awakening message sent by the distance measuring equipment within the transaction awakening time, judges that the address of the transaction equipment in the transaction awakening message is consistent with the address of the equipment, and keeps an awakening state.
3. The communication method of claim 1, wherein the transaction communication parameters comprise: a transaction duration; after the distance measuring equipment carries out transaction communication with the equipment to be tested through UWB according to the transaction communication parameters included in the transaction awakening message, the method comprises the following steps:
and the ranging equipment enters ranging protection time after the transaction duration and keeps a silent state.
4. The communication method of claim 3, wherein the transaction communication parameters comprise: responding to the timeout duration and the retransmission times; the length of the ranging protection time is the response timeout duration multiplied by the number of retransmissions.
5. The communication method according to claim 3 or 4, wherein the performing transaction communication with the device under test through UWB by the ranging device according to the transaction communication parameters included in the transaction wake-up message comprises:
the distance measuring equipment judges whether the transaction duration is due, if not, the distance measuring equipment sends a transaction message to the equipment to be tested, and if so, the distance measuring equipment suspends sending the transaction message to the equipment to be tested;
after the distance measuring equipment carries out transaction communication with the equipment to be tested through UWB according to the transaction communication parameters included in the transaction awakening message, the method comprises the following steps:
the distance measuring equipment and the equipment to be measured carry out next UWB distance measuring communication, and enter next transaction awakening time after the next UWB distance measuring communication, and after the next transaction awakening time, the distance measuring equipment continues to send transaction information to the equipment to be measured.
6. The communication method according to claim 1 or 2, wherein the performing transaction communication with the device under test through UWB by the ranging device according to the transaction communication parameters included in the transaction wake-up message comprises:
in the transaction communication process, when the distance measurement interval duration expires, the distance measurement equipment does not perform UWB distance measurement communication and continues to perform transaction communication with the equipment to be measured;
after the ranging device carries out transaction communication with the device to be tested through UWB according to the transaction communication parameters included in the transaction awakening message, the method comprises the following steps:
the distance measuring equipment sends a transaction ending notice to the equipment to be measured so that the equipment to be measured enters a low power consumption state, enters the low power consumption state and carries out next UWB distance measuring communication with the equipment to be measured when the distance measuring interval duration expires.
7. A UWB communication method is applied to a device to be tested, and the method comprises the following steps:
the device to be tested and the ranging device carry out UWB ranging communication;
after the ranging communication is finished, the equipment to be tested receives a transaction awakening message sent by the ranging equipment in the transaction awakening time and keeps an awakening state; the transaction awakening message is generated by the ranging equipment according to the ranging communication result; and the number of the first and second groups,
and the equipment to be tested carries out transaction communication with the ranging equipment through UWB according to the transaction communication parameters included in the transaction awakening message.
8. The communication method according to claim 7, wherein the transaction wake-up message includes a transaction device address;
before the device to be tested receives the transaction awakening message sent by the ranging device within the transaction awakening time, the method comprises the following steps:
after the ranging communication is finished, when the distance between the equipment to be tested and the ranging equipment is smaller than or equal to a preset distance threshold and is closest to the ranging equipment, the ranging equipment adds the address of the equipment to be tested as a transaction equipment address to the transaction awakening message, and sends the transaction awakening message within the transaction awakening time;
the equipment to be tested receives the transaction awakening message sent by the ranging equipment in the transaction awakening time and keeps an awakening state, and the method comprises the following steps:
and the equipment to be tested receives the transaction awakening message sent by the distance measuring equipment within the transaction awakening time, judges that the address of the transaction equipment in the transaction awakening message is consistent with the address of the equipment, and keeps an awakening state.
9. The communication method of claim 7, wherein the transaction communication parameters comprise: the duration of the transaction; after the device to be tested performs transaction communication with the ranging device through the UWB according to the transaction communication parameters included in the transaction awakening message, the method comprises the following steps:
and the equipment to be tested enters ranging protection time after the transaction duration and keeps a silent state.
10. The communication method of claim 9, wherein the transaction communication parameters comprise: responding to the overtime length and the retransmission times; the ranging protection time length is the response timeout duration multiplied by the number of retransmissions.
11. The communication method according to claim 9 or 10, wherein the performing transaction communication between the device under test and the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message comprises:
the equipment to be tested judges whether the transaction duration is due, if not, the equipment to be tested sends transaction data to the distance measuring equipment, and if so, the equipment to be tested suspends from sending the transaction data to the distance measuring equipment;
after the device to be tested performs transaction communication with the ranging device through UWB according to the transaction communication parameters included in the transaction awakening message, the method comprises the following steps:
and the equipment to be tested and the ranging equipment perform next UWB ranging communication, enter next transaction awakening time after the next UWB ranging communication, and continuously send transaction data to the ranging equipment after the next transaction awakening time.
12. The communication method according to claim 7 or 8, wherein the performing transaction communication between the device under test and the ranging device through UWB according to the transaction communication parameters included in the transaction wake-up message comprises:
in the transaction communication process, when the distance measurement interval duration of the equipment to be tested expires, the UWB distance measurement communication is not carried out, and the equipment to be tested continues to carry out transaction communication with the distance measurement equipment;
after the device to be tested performs transaction communication with the ranging device through the UWB according to the transaction communication parameters included in the transaction awakening message, the method comprises the following steps:
and the equipment to be tested enters a low power consumption state after receiving the transaction end notification sent by the ranging equipment, and performs next UWB ranging communication with the ranging equipment when the ranging interval duration expires.
13. An UWB chip, for application to a ranging device, the chip comprising:
the communication module is used for carrying out UWB ranging communication with the equipment to be tested;
the operation module is used for generating a transaction awakening message according to the ranging communication result after the ranging communication is finished, and sending the transaction awakening message to the equipment to be tested within the transaction awakening time to keep the equipment to be tested in an awakened state; and the number of the first and second groups,
the communication module is further configured to perform transaction communication with the device to be tested through UWB according to transaction communication parameters included in the transaction wake-up message.
14. An UWB chip, characterized in that, be applied to the equipment under test, the chip includes:
the communication module is used for carrying out UWB ranging communication with the ranging equipment;
the operation module is used for receiving the transaction awakening message sent by the ranging equipment within the transaction awakening time and keeping an awakening state after the ranging communication is finished; the transaction wake-up message is generated by the ranging device according to the ranging communication result; and the number of the first and second groups,
the communication module is further configured to perform transaction communication with the ranging device through UWB according to transaction communication parameters included in the transaction wake-up message.
15. An UWB ranging apparatus, the ranging apparatus comprising: the UWB chip according to claim 13.
16. An UWB device under test, characterized in that the device under test comprises: the UWB chip of claim 14; and a security element.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210597534.1A CN115002660B (en) | 2022-05-27 | 2022-05-27 | UWB communication method, chip and device |
PCT/CN2022/132297 WO2023226325A1 (en) | 2022-05-27 | 2022-11-16 | Uwb communication method, and chip and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210597534.1A CN115002660B (en) | 2022-05-27 | 2022-05-27 | UWB communication method, chip and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115002660A true CN115002660A (en) | 2022-09-02 |
CN115002660B CN115002660B (en) | 2024-01-23 |
Family
ID=83029337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210597534.1A Active CN115002660B (en) | 2022-05-27 | 2022-05-27 | UWB communication method, chip and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115002660B (en) |
WO (1) | WO2023226325A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023226325A1 (en) * | 2022-05-27 | 2023-11-30 | 深圳市汇顶科技股份有限公司 | Uwb communication method, and chip and device |
Citations (9)
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 |
WO2017144349A1 (en) * | 2016-02-26 | 2017-08-31 | 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 |
WO2018040817A1 (en) * | 2016-08-30 | 2018-03-08 | 华为技术有限公司 | Transmission method and apparatus for wake-up packet in wireless local area network |
US20190110250A1 (en) * | 2017-12-29 | 2019-04-11 | Intel IP Corporation | Apparatus, system and method of a wake-up radio (wur) |
US20190246355A1 (en) * | 2016-10-14 | 2019-08-08 | Huawei Technologies Co., Ltd. | Wake-Up Frame Transmission Method and Device |
US20190373549A1 (en) * | 2017-02-13 | 2019-12-05 | Telefonaktiebolaget Lm Ericsson (Publ) | Wake-up signal with frequency information |
US20210173064A1 (en) * | 2019-12-06 | 2021-06-10 | Samsung Electronics Co., Ltd. | Method and apparatus for operating device for transmitting and receiving data through ultra-wideband (uwb) |
CN113223215A (en) * | 2021-05-21 | 2021-08-06 | 歌尔股份有限公司 | 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 |
Family Cites Families (4)
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 |
KR20230104650A (en) * | 2020-10-30 | 2023-07-10 | 삼성전자주식회사 | Payment method and device using ultra-wideband communication |
CN115002660B (en) * | 2022-05-27 | 2024-01-23 | 深圳市汇顶科技股份有限公司 | UWB communication method, chip and device |
-
2022
- 2022-05-27 CN CN202210597534.1A patent/CN115002660B/en active Active
- 2022-11-16 WO PCT/CN2022/132297 patent/WO2023226325A1/en unknown
Patent Citations (10)
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 |
WO2017144349A1 (en) * | 2016-02-26 | 2017-08-31 | 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 |
US20190156603A1 (en) * | 2016-02-26 | 2019-05-23 | Huf Hülsbeck & Fürst Gmbh & Co.Kg | Method for activating of at least one security function of a security system of a vehicle |
WO2018040817A1 (en) * | 2016-08-30 | 2018-03-08 | 华为技术有限公司 | Transmission method and apparatus for wake-up packet in wireless local area network |
US20190246355A1 (en) * | 2016-10-14 | 2019-08-08 | Huawei Technologies Co., Ltd. | Wake-Up Frame Transmission Method and Device |
US20190373549A1 (en) * | 2017-02-13 | 2019-12-05 | Telefonaktiebolaget Lm Ericsson (Publ) | Wake-up signal with frequency information |
US20190110250A1 (en) * | 2017-12-29 | 2019-04-11 | Intel IP Corporation | Apparatus, system and method of a wake-up radio (wur) |
US20210173064A1 (en) * | 2019-12-06 | 2021-06-10 | Samsung Electronics Co., Ltd. | Method and apparatus for operating device for transmitting and receiving data through ultra-wideband (uwb) |
CN113223215A (en) * | 2021-05-21 | 2021-08-06 | 歌尔股份有限公司 | 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 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023226325A1 (en) * | 2022-05-27 | 2023-11-30 | 深圳市汇顶科技股份有限公司 | Uwb communication method, and chip and device |
Also Published As
Publication number | Publication date |
---|---|
WO2023226325A1 (en) | 2023-11-30 |
CN115002660B (en) | 2024-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2241031B1 (en) | Switching between multiple coupling modes | |
EP3940419A1 (en) | Electronic device for performing ranging through uwb, and operation method for electronic device | |
JP4486126B2 (en) | Multifunctional device capable of short-range communication and operation method thereof | |
CN104702767A (en) | Method, subscriber identity module card and system used for sending messages | |
US9336418B2 (en) | System and method for polling NFC-A devices alongside RF barcode devices | |
CN107509240A (en) | User's identification card control method, mobile terminal and computer-readable recording medium | |
JP2880591B2 (en) | Device for remote conversation between a station and one or more portable objects | |
US8457024B2 (en) | Information processing device and program | |
CN115002660B (en) | UWB communication method, chip and device | |
EP3614570A1 (en) | Near filed communication (nfc) device and system | |
CN103533606A (en) | Information transmission method of wireless local-area network, terminal and access device | |
CN114428561B (en) | Touch pen switching method and system and touch pen | |
US11488141B2 (en) | Command-based timer for wireless transactions | |
CN113543090A (en) | Method, device and storage medium for reducing power consumption of Bluetooth receiving device | |
EP4287762A1 (en) | Ultra-wide band channel access-opportunistic reservation | |
CN115665714B (en) | Near field communication method and device, master control equipment, NFC chip and NFC equipment | |
CN111935691A (en) | Wireless low-power-consumption configuration method and device | |
CN107608723A (en) | One kind application alignment awakening method, terminal and computer-readable recording medium | |
US20230065013A1 (en) | Communication device and operating method thereof | |
JPH11102419A (en) | Reader/writer | |
CN110519781A (en) | RRC time limit method of adjustment and device, mobile terminal and readable storage medium storing program for executing | |
CN113784430A (en) | Self-organizing network mixed timing synchronization method and related equipment thereof | |
CN112040063A (en) | Bluetooth data information transmission method between mobile phone and OBU | |
CN107615672B (en) | NFC method and apparatus for communicating with improved power harvesting | |
CN110267205A (en) | The method and device of campus administration is carried out based on Internet of Things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |