UWB communication method and apparatus, storage medium and electronic device

By adjusting the reception sensitivity, transmission power and transmission rate of UWB devices, the problem of high power consumption of ultra-bandwidth audio transmission devices is solved, and a low-power UWB device is realized.

WO2025145427A1PCT designated stage expired Publication Date: 2025-07-10QUESTYLE AUDIO TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/070846
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-01-05
Publication Date
2025-07-10

AI Technical Summary

Technical Problem

Ultra-bandwidth, high sampling and low latency audio transmission devices provide excellent auditory experience, but consume high power.

Method used

By obtaining the distance between the main UWB device and the secondary UWB device, the reception sensitivity of the secondary UWB device is set, and the reception sensitivity, transmission power and transmission rate are adjusted according to the transmission success rate to optimize power consumption.

Benefits of technology

The power consumption of UWB devices is reduced, so that it can be in a low-power state for more time while ensuring data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024070846_10072025_PF_FP_ABST
    Figure CN2024070846_10072025_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a UWB communication method and apparatus, a storage medium and an electronic device. The UWB communication method comprises: when a main UWB device and an auxiliary UWB device are successfully paired, acquiring the distance between the main UWB device and the auxiliary UWB device; setting the receiving sensitivity of the auxiliary UWB device on the basis of the distance; acquiring the transmission success rate between the main UWB device and the auxiliary UWB device, and determining whether the transmission success rate satisfies a preset condition or not; if not, adjusting the receiving sensitivity on the basis of the transmission success rate, or adjusting both the receiving sensitivity and the transmission power of the main UWB device, and returning to execute the step of acquiring the transmission success rate between the main UWB device and the auxiliary UWB device; and if yes, adjusting the sending rate of the main UWB device on the basis of the receiving sensitivity and the transmission power of the main UWB device. The solution can reduce the power consumption of UWB devices.
Need to check novelty before this filing date? Find Prior Art

Description

UWB communication method, device, storage medium and electronic device Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a UWB communication method, device, storage medium and electronic device. Background Art

[0002] With the continuous evolution of smart device technology, audio transmission methods based on ultra-wideband (UWB) are showing great potential and can achieve important breakthroughs in achieving high-quality, low-latency audio transmission. As a wireless communication technology that uses ultra-short pulses or extremely wideband continuous waves for data transmission, UWB technology has high anti-interference capabilities, precise positioning capabilities, and excellent data transmission rates. In the field of smart devices, audio transmission methods based on UWB technology are gradually becoming a cutting-edge field of research and attention. In particular, ultra-wideband, high-sampling, and low-latency audio transmission devices are beginning to provide users with an excellent auditory experience.

[0003] However, although ultra-bandwidth, high sampling and low-latency audio transmission devices can bring users an excellent auditory experience, their power consumption is also high.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a UWB communication method, apparatus, storage medium, and electronic device, which can reduce the power consumption of UWB devices.

[0006] In a first aspect, an embodiment of the present application provides a UWB communication method, including:

[0007] When the primary UWB device is successfully paired with the secondary UWB device, obtaining the distance between the primary UWB device and the secondary UWB device;

[0008] setting the receiving sensitivity of the secondary UWB device according to the distance;

[0009] Obtaining a transmission success rate between the primary UWB device and the secondary UWB device, and determining whether the transmission success rate meets a preset condition;

[0010] If not, adjusting the receiving sensitivity according to the transmission success rate, or adjusting both the receiving sensitivity and the transmit power of the master UWB device, and returning to the step of obtaining the transmission success rate between the master UWB device and the slave UWB device;

[0011] If so, the transmission rate of the master UWB device is adjusted according to the receiving sensitivity and the transmission power of the master UWB device.

[0012] In the UWB communication method provided in an embodiment of the present application, obtaining the transmission success rate between the primary UWB device and the secondary UWB device includes:

[0013] When the master UWB device receives the confirmation information fed back by the slave UWB device, determining a first transmission success rate according to the confirmation information;

[0014] When the secondary UWB device receives the data packet sent by the primary UWB device, the secondary UWB device determines a second transmission success rate according to the data packet.

[0015] In the UWB communication method provided in an embodiment of the present application, after obtaining the transmission success rate between the primary UWB device and the secondary UWB device and before determining whether the transmission success rate meets a preset condition, the method further includes:

[0016] Determining whether the first transmission success rate and the second transmission success rate are both greater than a first threshold, or both less than the first threshold;

[0017] If so, the step of determining whether the transmission success rate meets a preset condition is executed.

[0018] In the UWB communication method provided in the embodiment of the present application, determining whether the transmission success rate meets a preset condition includes:

[0019] comparing the first transmission success rate and the second transmission success rate;

[0020] The smaller value between the first transmission success rate and the second transmission success rate is used as the target transmission success rate;

[0021] It is determined whether a difference between the target transmission success rate and the first threshold is less than a second threshold.

[0022] In the UWB communication method provided in an embodiment of the present application, adjusting the receiving sensitivity according to the transmission success rate, or adjusting both the receiving sensitivity and the transmit power of the master UWB device, includes:

[0023] When both the first transmission success rate and the second transmission success rate are greater than a first threshold, reducing the receiving sensitivity, or reducing the receiving sensitivity and the transmitting power of the master UWB device;

[0024] When both the first transmission success rate and the second transmission success rate are less than a first threshold, the receiving sensitivity is increased, or the receiving sensitivity and the transmission power of the master UWB device are increased.

[0025] In the UWB communication method provided in an embodiment of the present application, when both the first transmission success rate and the second transmission success rate are greater than a first threshold, reducing the receiving sensitivity, or reducing the receiving sensitivity and the transmit power of the master UWB device, includes:

[0026] When both the first transmission success rate and the second transmission success rate are greater than the first threshold, and on the premise that the target transmission success rate is greater than the first threshold, reducing the receiving sensitivity according to a first preset step size;

[0027] When the receiving sensitivity decreases to the minimum value under the premise that the target transmission success rate is greater than the first threshold, and the difference between the target transmission success rate and the first threshold is still greater than the second threshold, the transmission power of the main UWB device is reduced according to a second preset step size.

[0028] In the UWB communication method provided in an embodiment of the present application, when both the first transmission success rate and the second transmission success rate are less than a first threshold, increasing the receiving sensitivity, or increasing the receiving sensitivity and the transmit power of the master UWB device, includes:

[0029] When both the first transmission success rate and the second transmission success rate are less than the first threshold, and on the premise that the target transmission success rate is less than the first threshold, increasing the receiving sensitivity according to a third preset step size;

[0030] When the receiving sensitivity increases to the maximum value under the premise that the target transmission success rate is less than the first threshold, and the difference between the target transmission success rate and the first threshold is still greater than the second threshold, the transmission power of the main UWB device is increased according to a fourth preset step size.

[0031] In a second aspect, an embodiment of the present application provides a UWB communication device, including:

[0032] a distance acquiring unit, configured to acquire the distance between the primary UWB device and the secondary UWB device when the primary UWB device is successfully paired with the secondary UWB device;

[0033] a sensitivity setting unit, configured to set the receiving sensitivity of the secondary UWB device according to the distance;

[0034] a condition judgment unit, configured to obtain a transmission success rate between the primary UWB device and the secondary UWB device, and to judge whether the transmission success rate satisfies a preset condition;

[0035] A first adjustment unit is configured to adjust the receiving sensitivity according to the transmission success rate, or adjust both the receiving sensitivity and the transmit power of the master UWB device, when the transmission success rate meets a preset condition, and return to the step of obtaining the transmission success rate between the master UWB device and the slave UWB device;

[0036] The second adjustment unit is configured to adjust the transmission rate of the master UWB device according to the receiving sensitivity and the transmitting power when the transmission success rate does not meet a preset condition.

[0037] In a third aspect, the present application provides a storage medium storing a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute any one of the above-mentioned UWB communication methods.

[0038] In a fourth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the above-described UWB communication methods when executing the computer program.

[0039] In summary, the UWB communication method provided by the embodiment of the present application includes: when the main UWB device and the secondary UWB device are successfully paired, obtaining the distance between the main UWB device and the secondary UWB device; setting the receiving sensitivity of the secondary UWB device according to the distance; obtaining the transmission success rate between the main UWB device and the secondary UWB device, and determining whether the transmission success rate meets a preset condition; if not, adjusting the receiving sensitivity according to the transmission success rate, or adjusting both the receiving sensitivity and the transmitting power of the main UWB device, and returning to the step of obtaining the transmission success rate between the main UWB device and the secondary UWB device; if so, adjusting the transmitting rate of the main UWB device according to the receiving sensitivity and the transmitting power of the main UWB device. This solution can adjust the transmitting rate of the main UWB device according to the receiving sensitivity and the transmitting power of the main UWB device, so that the main UWB device and the secondary UWB device will be in a low power consumption state more time, thereby greatly reducing the power consumption of the UWB device. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0041] FIG1 is a schematic diagram of the structure of a UWB communication system provided in an embodiment of the present application.

[0042] FIG2 is another schematic structural diagram of the UWB communication system provided in an embodiment of the present application.

[0043] FIG3 is a flow chart of the UWB communication method provided in an embodiment of the present application.

[0044] FIG4 is a schematic structural diagram of a UWB communication device provided in an embodiment of the present application.

[0045] FIG5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0047] It should be noted that, in this document, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0048] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0049] In the subsequent description, the use of suffixes such as "module", "component" or "unit" to represent elements is only for the purpose of facilitating the description of the present application and has no specific meaning. Therefore, "module", "component" or "unit" can be used interchangeably.

[0050] In the description of this application, it should be noted that the terms "upper," "lower," "left," "right," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of this application and simplify the description. They are not intended to indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, terms such as "first" and "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0051] In the field of smart devices, audio transmission methods based on UWB technology are gradually becoming a cutting-edge field of research and attention. In particular, audio transmission devices with ultra-wideband, high sampling, and low latency are beginning to provide users with an excellent auditory experience.

[0052] However, although ultra-bandwidth, high sampling and low-latency audio transmission devices can bring users an excellent auditory experience, their power consumption is also high.

[0053] Based on this, the embodiments of the present application provide a UWB communication method, device, storage medium and electronic device. Specifically, the UWB communication device can be integrated into an electronic device, which can be a server or a terminal; wherein the terminal can include a mobile phone, a wearable smart device, a tablet computer, a laptop computer, and a personal computer (PC); the server can be a single server or a server cluster composed of multiple servers, and can be a physical server or a virtual server.

[0054] For example, referring to Figure 1 , which is a schematic diagram of the structure of a UWB communication system provided by an embodiment of the present application, the UWB communication system may include a master UWB device 1000 and at least one slave UWB device 2000 .

[0055] The master UWB device 1000 may be connected to different slave UWB devices 2000 via a network. In this embodiment, the master UWB device 1000 and the slave UWB device 2000 may perform the UWB communication method provided in the embodiment of the present application.

[0056] For example, when a primary UWB device successfully pairs with a secondary UWB device, primary UWB device 1000 transmits a first ranging signal to secondary UWB device 2000. After receiving the first ranging signal from primary UWB device 1000, secondary UWB device 2000 transmits a second ranging signal to primary UWB device 1000. Secondary UWB device 2000 can then receive the first ranging signal and the time it sent the second ranging signal, determine its distance from primary UWB device 1000, and then set its own receiving sensitivity based on the distance. The primary UWB device then transmits a data packet to the secondary UWB device. After receiving the data packet, the secondary UWB device sends confirmation information back to the primary UWB device. Primary UWB device 1000 can determine a first transmission success rate based on the confirmation information sent back by secondary UWB device 2000, and secondary UWB device 2000 can determine a second transmission success rate based on the data packet sent by primary UWB device 1000. Then the main UWB device 1000 sends the first transmission success rate to the secondary UWB device 2000 (and\or the secondary UWB device 2000 sends the second transmission success rate to the main UWB device 1000), and the secondary UWB device 2000 (and\or the main UWB device 1000) determines whether the first transmission success rate and the second transmission success rate meet the preset conditions.

[0057] If not, the secondary UWB device 2000 adjusts its own receiving sensitivity according to the first transmission success rate and the second transmission success rate, or the secondary UWB device 2000 adjusts the receiving sensitivity and the main UWB device adjusts its own transmission power, and then returns to execute the above steps, so that the first transmission success rate and the second transmission success rate meet the preset conditions.

[0058] When the first transmission success rate and the second transmission success rate meet a preset condition, the master UWB device may adjust its own transmission rate according to the receiving sensitivity of the slave UWB device 2000 and its own transmission power.

[0059] It can be understood that when the determination of whether the first transmission success rate and the second transmission success rate meet the preset conditions is performed only in the master UWB device 1000 or the slave UWB device 2000 , the two can communicate the determination results to each other.

[0060] For another example, referring to Figure 2, which is another structural diagram of a UWB communication system provided in an embodiment of the present application, the UWB communication system may include a master UWB device 1000, at least one slave UWB device 2000, and a server 3000.

[0061] The master UWB device 1000 and the slave UWB device 2000 can be connected to the server 3000 via a network respectively. The master UWB device 1000 and the slave UWB device 2000 communicate indirectly via the server 3000.

[0062] In this embodiment, the UWB communication method provided in the embodiment of the present application can be executed by the server 3000. Specifically, when the main UWB device 1000 is successfully paired with at least one secondary UWB device 2000, the server 3000 obtains the distance between the main UWB device 1000 and the secondary UWB device 2000; the server 3000 sets the receiving sensitivity of the secondary UWB device 2000 according to the distance; the server 3000 obtains the transmission success rate between the main UWB device 1000 and the secondary UWB device 2000, and determines whether the transmission success rate meets the preset conditions; if not, the server 3000 adjusts the receiving sensitivity according to the transmission success rate, or adjusts both the receiving sensitivity and the transmission power of the main UWB device 1000, and returns to the step of obtaining the transmission success rate between the main UWB device 1000 and the secondary UWB device 2000; if so, the server 3000 adjusts the sending rate of the main UWB device 1000 according to the receiving sensitivity and the transmission power.

[0063] In the embodiment of the present application, the primary UWB device 1000 and the secondary UWB device 2000 may be electronic devices having computing hardware that can support and execute software products corresponding to multimedia. It should be noted that the network may be a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, Bluetooth, a 2G network, a 3G network, a 4G network, a 5G network, or the like.

[0064] It should be noted that adjusting the transmission rate of the main UWB device 1000 can specifically be to increase the transmission data packet of the main UWB device 1000, thereby reducing the number of data transmissions between the main UWB device 1000 and the secondary UWB device 2000, and increasing the data transmission time interval between the main UWB device 1000 and the secondary UWB device 2000, so that the main UWB device 1000 and the secondary UWB device 2000 will be in a low power consumption state for more time, greatly reducing the power consumption of the main UWB device 1000 and the secondary UWB device 2000.

[0065] The following will describe the technical solutions of this application in detail through specific embodiments. It should be noted that the order of description of the following embodiments does not limit the priority order of the embodiments.

[0066] Please refer to Figure 3, which is a flow chart of the UWB communication method provided by an embodiment of the present application. The specific flow of the UWB communication method can be as follows:

[0067] 101. When the primary UWB device is successfully paired with the secondary UWB device, obtain the distance between the primary UWB device and the secondary UWB device.

[0068] In the specific implementation process, when the primary UWB device and the secondary UWB device are successfully paired, the primary UWB device sends a first ranging signal to the secondary UWB device. After receiving the first ranging signal from the primary UWB device, the secondary UWB device sends a second ranging signal to the primary UWB device. Afterwards, the distance between the primary UWB device and the secondary UWB device can be obtained based on the time when the secondary UWB device receives the first ranging signal and sends the second ranging signal.

[0069] It should be noted that when the primary UWB device is successfully paired with the secondary UWB device, the transmission power and transmission rate of the primary UWB device remain at the default settings, wherein the default setting of the transmission rate is 31.2 Mbps.

[0070] 102. Set the receiving sensitivity of the secondary UWB device according to the distance.

[0071] To ensure data transmission stability and reliability between the primary and secondary UWB devices and minimize the power consumption of the secondary UWB device, in the embodiments of the present application, different distances between the primary and secondary UWB devices correspond to different receiving sensitivities. That is, there is a one-to-one correspondence between distance and receiving sensitivity, with different distance ranges corresponding to different receiving sensitivities.

[0072] 103. Obtain a transmission success rate between the primary UWB device and the secondary UWB device, and determine whether the transmission success rate meets a preset condition.

[0073] At this point, the first transmission test can be performed, with the primary UWB device sending a data packet to the secondary UWB device. After the secondary UWB device receives the data packet sent by the primary UWB device, it feeds back confirmation information to the primary UWB device. Specifically, when the primary UWB device receives the confirmation information fed back by the secondary UWB device, it determines a first transmission success rate based on the confirmation information; when the secondary UWB device receives the data packet sent by the primary UWB device, it determines a second transmission success rate based on the data packet.

[0074] It is understandable that the first transmission success rate and the second transmission success rate represent the packet loss rates of the secondary UWB device and the primary UWB device, respectively. When communication between the primary and secondary UWB devices is normal, the difference between the first and second transmission success rates is minimal. Based on this, the technical personnel of this application set a first threshold based on experience. When communication between the primary and secondary UWB devices is normal, the first and second transmission success rates are both greater than the first threshold, or both less than the first threshold.

[0075] Therefore, after obtaining the transmission success rate between the primary UWB device and the secondary UWB device, and before determining whether the transmission success rate meets the preset condition, the following steps are further included:

[0076] determining whether the first transmission success rate and the second transmission success rate are both greater than a first threshold, or both less than the first threshold;

[0077] If so, the step of determining whether the transmission success rate meets a preset condition is executed.

[0078] It is understood that when one of the first transmission success rate and the second transmission success rate is greater than the first threshold and the other is less than the first threshold, it indicates that the communication between the primary UWB device and the secondary UWB device is abnormal. In this case, the subsequent program execution can be interrupted to re-debug the primary UWB device and / or the secondary UWB device to determine whether the first transmission success rate and the second transmission success rate are both greater than the first threshold or both less than the first threshold, and then continue to execute the step of determining whether the transmission success rate meets the preset condition.

[0079] It should be noted that the preset condition in the embodiment of the present application refers to the difference between the smaller value of the first transmission success rate and the second transmission success rate and the first threshold being less than the second threshold. In other words, the step of "determining whether the transmission success rate meets the preset condition" may include:

[0080] comparing the first transmission success rate and the second transmission success rate;

[0081] The smaller value of the first transmission success rate and the second transmission success rate is used as the target transmission success rate;

[0082] It is determined whether a difference between the target transmission success rate and the first threshold is less than a second threshold.

[0083] It should be noted that, in the embodiment of the present application, the initial value of the second threshold is 0.05.

[0084] 104. If not, adjust the receiving sensitivity according to the transmission success rate, or adjust both the receiving sensitivity and the transmission power of the master UWB device, and return to the step of obtaining the transmission success rate between the master UWB device and the slave UWB device.

[0085] When both the first transmission success rate and the second transmission success rate are greater than a first threshold, the receiving sensitivity is reduced, or the receiving sensitivity and the transmission power of the master UWB device are reduced.

[0086] Specifically, when the first transmission success rate and the second transmission success rate are both greater than the first threshold, the receiving sensitivity can be reduced according to the first preset step size under the premise that the target transmission success rate is greater than the first threshold, so as to adjust the first transmission success rate and the second transmission success rate so that the first transmission success rate and the second transmission success rate meet the preset conditions.

[0087] In some embodiments, when the receiving sensitivity is reduced to the minimum value under the premise that the target transmission success rate is greater than the first threshold, and the difference between the target transmission success rate and the first threshold is still greater than the second threshold, the transmission power of the main UWB device can be reduced according to the second preset step size, thereby adjusting the first transmission success rate and the second transmission success rate so that the first transmission success rate and the second transmission success rate meet the preset conditions.

[0088] It should be noted that the first preset step size and the second preset step size can be set according to actual conditions, and the embodiments of the present application do not limit them.

[0089] When both the first transmission success rate and the second transmission success rate are less than a first threshold, the receiving sensitivity is increased, or the receiving sensitivity and the transmission power of the master UWB device are increased.

[0090] Specifically, when the first transmission success rate and the second transmission success rate are both less than the first threshold, on the premise that the target transmission success rate is less than the first threshold, the receiving sensitivity is increased according to the third preset step size, thereby adjusting the first transmission success rate and the second transmission success rate so that the first transmission success rate and the second transmission success rate meet the preset conditions.

[0091] In some embodiments, when the receiving sensitivity increases to the maximum value under the premise that the target transmission success rate is less than the first threshold, and the difference between the target transmission success rate and the first threshold is still greater than the second threshold, the transmission power of the main UWB device is increased according to the fourth preset step size, thereby adjusting the first transmission success rate and the second transmission success rate, so that the first transmission success rate and the second transmission success rate meet the preset conditions.

[0092] It should be noted that the third preset step size and the fourth preset step size can be set according to actual conditions, and are not limited in the embodiments of the present application.

[0093] It is understandable that, in a specific implementation, if the master UWB device is paired with multiple slave UWB devices, then after adjusting the transmit power of the UWB device, it is necessary to reset the receiving sensitivity for the other slave UWB devices according to the transmit power.

[0094] 105. If yes, adjust the transmission rate of the master UWB device according to the receiving sensitivity and the transmission power of the master UWB device.

[0095] In some embodiments, the number of data transmissions between the main UWB device and the secondary UWB device can be reduced by increasing the transmission data packet of the main UWB device, and the data transmission time interval between the main UWB device and the secondary UWB device can be increased, so as to achieve the purpose of adjusting the transmission rate of the main UWB device without affecting the data transmission efficiency between the main UWB device and the secondary UWB device, so that the main UWB device and the secondary UWB device will be in a low power consumption state for more time, greatly reducing the power consumption of the main UWB device and the secondary UWB device.

[0096] In order to maximize the data transmission time interval between the primary UWB device and the secondary UWB device, and minimize the power consumption of the primary UWB device and the secondary UWB device while ensuring data transmission efficiency, in another embodiment, the second threshold value may be reduced by a fifth preset step size at intervals of a preset time period, such as every 10 seconds, and after the second threshold value is reduced, a second transmission test, a third transmission test, a fourth transmission test, and so on may be performed in sequence.

[0097] It should be noted that the preset time period and the fifth preset step can be set according to actual circumstances, and the embodiments of the present application do not limit them.

[0098] It should be noted that, in actual application, when the second threshold is reduced according to the fifth preset step size, thereby adjusting the data transmission time interval between the main UWB device and the secondary UWB device, it is necessary to ensure that the power consumption reduced by the change in the data transmission time interval is greater than the power consumption increased by increasing the transmission power of the main UWB device and the receiving sensitivity of the secondary UWB device.

[0099] In summary, the UWB communication method provided by the embodiment of the present application includes obtaining the distance between the main UWB device and the secondary UWB device when the main UWB device and the secondary UWB device are successfully paired; setting the receiving sensitivity of the secondary UWB device according to the distance; obtaining the transmission success rate between the main UWB device and the secondary UWB device, and determining whether the transmission success rate meets a preset condition; if not, adjusting the receiving sensitivity according to the transmission success rate, or adjusting both the receiving sensitivity and the transmitting power of the main UWB device, and returning to the step of obtaining the transmission success rate between the main UWB device and the secondary UWB device; if so, adjusting the transmitting rate of the main UWB device according to the receiving sensitivity and the transmitting power of the main UWB device. This solution can adjust the transmitting rate of the main UWB device according to the receiving sensitivity and the transmitting power of the main UWB device, so that the main UWB device and the secondary UWB device will spend more time in a low-power state, thereby greatly reducing the power consumption of the UWB device.

[0100] To facilitate better implementation of the UWB communication method provided in the embodiment of the present application, the embodiment of the present application also provides a UWB communication device, wherein the meanings of the terms are the same as those in the above-mentioned UWB communication method, and the specific implementation details can be referred to the description in the method embodiment.

[0101] Please refer to Figure 4, which is a schematic diagram of the structure of the UWB communication device provided in an embodiment of the present application. The UWB communication device may include a distance acquisition unit 201, a sensitivity setting unit 202, a condition judgment unit 203, a first adjustment unit 204 and a second adjustment unit 205.

[0102] The distance acquisition unit 201 is configured to acquire the distance between the primary UWB device and the secondary UWB device when the primary UWB device is successfully paired with the secondary UWB device;

[0103] The sensitivity setting unit 202 is used to set the receiving sensitivity of the secondary UWB device according to the distance;

[0104] The condition judgment unit 203 is used to obtain the transmission success rate between the primary UWB device and the secondary UWB device, and to judge whether the transmission success rate meets a preset condition;

[0105] A first adjustment unit 204 is configured to adjust the receiving sensitivity according to the transmission success rate, or adjust both the receiving sensitivity and the transmit power of the primary UWB device, when the transmission success rate meets a preset condition, and return to the step of obtaining the transmission success rate between the primary UWB device and the secondary UWB device;

[0106] The second adjusting unit 205 is configured to adjust the transmission rate of the master UWB device according to the receiving sensitivity and the transmission power of the master UWB device when the transmission success rate does not meet a preset condition.

[0107] The specific implementation of each of the above units can be found in the above-mentioned embodiment of the UWB communication method, and will not be described in detail here.

[0108] To summarize, the UWB communication device provided in the embodiment of the present application can obtain the distance between the main UWB device and the secondary UWB device through the distance acquisition unit 201 when the main UWB device and the secondary UWB device are successfully paired; the sensitivity setting unit 202 sets the receiving sensitivity of the secondary UWB device according to the distance; the condition judgment unit 203 obtains the transmission success rate between the main UWB device and the secondary UWB device, and judges whether the transmission success rate meets the preset conditions; the first adjustment unit 204 adjusts the receiving sensitivity according to the transmission success rate when the transmission success rate meets the preset conditions, or adjusts the receiving sensitivity and the transmission power of the main UWB device, and returns to execute the step of obtaining the transmission success rate between the main UWB device and the secondary UWB device; the second adjustment unit 205 adjusts the sending rate of the main UWB device according to the receiving sensitivity and the transmission power of the main UWB device when the transmission success rate does not meet the preset conditions. This solution can adjust the transmission rate of the main UWB device according to the receiving sensitivity and the transmission power of the main UWB device, so that the main UWB device and the secondary UWB device will be in a low power consumption state more time, thereby greatly reducing the power consumption of the UWB device.

[0109] The present application also provides an electronic device, which may be integrated with the UWB communication device of the present application. As shown in FIG5 , it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application. Specifically:

[0110] The electronic device may include components such as a radio frequency (RF) circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. It will be understood by those skilled in the art that the electronic device structure shown in FIG5 does not limit the electronic device and may include more or fewer components than shown, or combine certain components, or arrange the components differently. Among them:

[0111] The RF circuit 601 can be used to receive and send signals during information transmission or calls. In particular, after receiving downlink information from the base station, it is handed over to one or more processors 608 for processing; in addition, uplink data is sent to the base station. Generally, the RF circuit 601 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 601 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0112] The memory 602 can be used to store software programs and modules. The processor 608 executes various functional applications and information processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device (such as audio data, a phone book, etc.). In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 with access to the memory 602.

[0113] The input unit 603 can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and function control. Specifically, in one embodiment, the input unit 603 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or touchpad, can detect user touch operations on or near it (for example, operations performed by a user using a finger, stylus, or any other suitable object or accessory on or near the touch-sensitive surface) and drive corresponding connected devices according to a pre-set program. Optionally, the touch-sensitive surface may include a touch detection device and a touch controller. The touch detection device detects the user's touch direction and detects signals generated by the touch operation, transmitting the signals to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 608. It can also receive and execute commands from the processor 608. In addition, touch-sensitive surfaces can be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface, the input unit 603 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0114] The display unit 604 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 604 may include a display panel. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 608 to determine the type of touch event. The processor 608 then provides a corresponding visual output on the display panel based on the type of touch event. Although in Figure 5, the touch-sensitive surface and the display panel are implemented as two independent components to implement input and output functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to implement input and output functions.

[0115] The electronic device may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the electronic device is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that the electronic device can also be configured with, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described in detail here.

[0116] Audio circuit 606, speakers, and microphones provide an audio interface between the user and the electronic device. Audio circuit 606 converts received audio data into electrical signals and transmits them to the speaker, which then converts them into sound signals for output. The microphone, on the other hand, converts collected sound signals into electrical signals, which are then received by audio circuit 606 and converted into audio data. The audio data is then processed by output processor 608 and transmitted via RF circuit 601 to, for example, another electronic device. Alternatively, the audio data is output to memory 602 for further processing. Audio circuit 606 may also include an earphone jack to allow communication between external headphones and the electronic device.

[0117] WiFi is a short-range wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through WiFi module 607, providing users with wireless broadband Internet access. Although FIG5 shows WiFi module 607, it is understood that it is not a required component of the electronic device and can be omitted as needed without changing the essence of the invention.

[0118] Processor 608 is the control center of the electronic device, connecting all parts of the phone using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 602 and accessing data stored in memory 602, it performs various functions of the electronic device and processes data, thereby providing overall monitoring of the phone. Optionally, processor 608 may include one or more processing cores; preferably, processor 608 may integrate an application processor and a modem processor, where the application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 608.

[0119] The electronic device also includes a power supply 609 (e.g., a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 608 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 609 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0120] Although not shown, the electronic device may further include a camera, a Bluetooth module, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 608 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 will run the application programs stored in the memory 602 to implement various functions, such as:

[0121] When the primary UWB device is successfully paired with the secondary UWB device, the distance between the primary UWB device and the secondary UWB device is obtained;

[0122] Set the receiving sensitivity of the secondary UWB device according to the distance;

[0123] Obtaining the transmission success rate between the primary UWB device and the secondary UWB device, and determining whether the transmission success rate meets the preset conditions;

[0124] If not, adjust the receiving sensitivity according to the transmission success rate, or adjust the receiving sensitivity and the transmission power of the master UWB device, and return to the step of obtaining the transmission success rate between the master UWB device and the slave UWB device;

[0125] If so, the transmission rate of the master UWB device is adjusted according to the receiving sensitivity and the transmission power of the master UWB device.

[0126] In summary, the electronic device provided in the embodiment of the present application obtains the distance between the main UWB device and the secondary UWB device when the main UWB device and the secondary UWB device are successfully paired; sets the receiving sensitivity of the secondary UWB device according to the distance; obtains the transmission success rate between the main UWB device and the secondary UWB device, and determines whether the transmission success rate meets the preset conditions; if not, adjusts the receiving sensitivity according to the transmission success rate, or adjusts the receiving sensitivity and the transmission power of the main UWB device, and returns to the step of obtaining the transmission success rate between the main UWB device and the secondary UWB device; if so, adjusts the transmission rate of the main UWB device according to the receiving sensitivity and the transmission power of the main UWB device. This solution can adjust the transmission rate of the main UWB device according to the receiving sensitivity and the transmission power of the main UWB device, so that the main UWB device and the secondary UWB device will be in a low power state more time, thereby greatly reducing the power consumption of the UWB device.

[0127] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of the UWB communication method above, and will not be repeated here.

[0128] It should be noted that, for the UWB communication method in the embodiment of the present application, those skilled in the art can understand that all or part of the process of implementing the UWB communication method in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, such as in the memory of the terminal, and executed by at least one processor in the terminal. During the execution process, it may include the process of the embodiment of the UWB communication method.

[0129] For the UWB communication device of the embodiment of the present application, its various functional modules can be integrated into a single processing chip, or each module can exist physically separately, or two or more modules can be integrated into a single module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

[0130] To this end, an embodiment of the present application provides a storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps of any one of the UWB communication methods provided in the embodiments of the present application. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), or the like.

[0131] The above is a detailed introduction to the UWB communication method, device, storage medium and electronic device provided by this application. Specific examples are used in this article to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the core idea of ​​this application. At the same time, for technical personnel in this field, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on this application.

Claims

1. A UWB communication method, which includes: When the primary UWB device and the secondary UWB device are successfully paired, obtaining the distance between the primary UWB device and the secondary UWB device; Setting the receiving sensitivity of the secondary UWB device according to the distance; Obtaining the transmission success rate between the primary UWB device and the secondary UWB device, and determining whether the transmission success rate meets a preset condition; If not, adjusting the receiving sensitivity according to the transmission success rate, or adjusting both the receiving sensitivity and the transmission power of the primary UWB device, and returning to execute the step of obtaining the transmission success rate between the primary UWB device and the secondary UWB device; If so, adjusting the transmission rate of the primary UWB device according to the receiving sensitivity and the transmission power of the primary UWB device.

2. The UWB communication method according to claim 1, wherein, The obtaining the transmission success rate between the primary UWB device and the secondary UWB device includes: When the primary UWB device receives the confirmation information fed back by the secondary UWB device, determining the first transmission success rate according to the confirmation information; When the secondary UWB device receives the data packet sent by the primary UWB device, determining the second transmission success rate according to the data packet.

3. The UWB communication method according to claim 2, wherein, After obtaining the transmission success rate between the primary UWB device and the secondary UWB device and before determining whether the transmission success rate meets the preset condition, it further includes: Determining whether both the first transmission success rate and the second transmission success rate are greater than a first threshold or both are less than the first threshold; If so, executing the step of determining whether the transmission success rate meets the preset condition.

4. The UWB communication method according to claim 2, wherein, The determining whether the transmission success rate meets the preset condition includes: Comparing the first transmission success rate and the second transmission success rate; Taking the smaller value of the first transmission success rate and the second transmission success rate as the target transmission success rate; Determining whether the difference between the target transmission success rate and the first threshold is less than a second threshold.

5. The UWB communication method according to claim 4, wherein, The adjusting the receiving sensitivity according to the transmission success rate, or adjusting both the receiving sensitivity and the transmission power of the primary UWB device includes: When both the first transmission success rate and the second transmission success rate are greater than the first threshold, reducing the receiving sensitivity, or reducing both the receiving sensitivity and the transmission power of the primary UWB device; When both the first transmission success rate and the second transmission success rate are less than the first threshold, increasing the receiving sensitivity, or increasing both the receiving sensitivity and the transmission power of the primary UWB device.

6. The UWB communication method according to claim 5, wherein, The when both the first transmission success rate and the second transmission success rate are greater than the first threshold, reducing the receiving sensitivity, or reducing both the receiving sensitivity and the transmission power of the primary UWB device includes: When both the first transmission success rate and the second transmission success rate are greater than the first threshold, on the premise that the target transmission success rate is greater than the first threshold, reducing the receiving sensitivity at a first preset step size; When the receiving sensitivity is reduced to the minimum value on the premise that the target transmission success rate is greater than the first threshold, and the difference between the target transmission success rate and the first threshold is still greater than the second threshold, reduce the transmission power of the main UWB device according to the second preset step size.

7. The UWB communication method according to claim 5, wherein, When both the first transmission success rate and the second transmission success rate are less than the first threshold, increase the receiving sensitivity, or increase the receiving sensitivity and the transmission power of the main UWB device, including: When both the first transmission success rate and the second transmission success rate are less than the first threshold, increase the receiving sensitivity according to the third preset step size on the premise that the target transmission success rate is less than the first threshold; When the receiving sensitivity is increased to the maximum value on the premise that the target transmission success rate is less than the first threshold, and the difference between the target transmission success rate and the first threshold is still greater than the second threshold, increase the transmission power of the main UWB device according to the fourth preset step size.

8. A UWB communication device, comprising: A distance acquisition unit, configured to acquire the distance between the main UWB device and the secondary UWB device when the main UWB device and the secondary UWB device are successfully paired; A sensitivity setting unit, configured to set the receiving sensitivity of the secondary UWB device according to the distance; A condition judgment unit, configured to acquire the transmission success rate between the main UWB device and the secondary UWB device, and judge whether the transmission success rate meets a preset condition; A first adjustment unit, configured to, when the transmission success rate meets the preset condition, adjust the receiving sensitivity according to the transmission success rate, or adjust both the receiving sensitivity and the transmission power of the main UWB device, and return to execute the step of acquiring the transmission success rate between the main UWB device and the secondary UWB device; A second adjustment unit, configured to, when the transmission success rate does not meet the preset condition, adjust the transmission rate of the main UWB device according to the receiving sensitivity and the transmission power.

9. A storage medium, wherein, The storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the UWB communication method according to any one of claims 1-7.

10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, When the processor executes the computer program, it implements the UWB communication method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Output power adjusting method and device suitable for intercom equipment and intercom equipment

    CN111953369A

  • Apparatus and method for transmitting and receiving ultra wideband signals

    CN1543081A

  • Photovoltaic generator system with heating element and control method thereof

    KR102144290B1

  • Apparatus for communicating using UWB transmission

    US20070268958A1