UWB technology-based adaptation method and apparatus, and storage medium

By using an adaptation method and device based on UWB technology, the problems of high latency and limited ecosystem expansion in wireless audio transmission have been solved, achieving efficient and lossless audio transmission that is suitable for various device types and scenarios.

WO2026241903A1PCT designated stage Publication Date: 2026-11-26QUESTYLE AUDIO TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/095974
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing wireless audio transmission technologies suffer from high latency, poor quality, and limited ecosystem expansion. In particular, Bluetooth, WiFi, and proprietary protocols are deficient in terms of transmission latency, complexity, and interference.

Method used

The system employs an adaptation method and device based on UWB technology, enabling plug-and-play, automatic discovery, and automatic connection between the first and second devices via an adapter. It supports unidirectional, bidirectional, one-to-one, and one-to-many transmission modes, utilizing the ultra-wide bandwidth, low latency, and anti-interference capabilities of UWB for wireless audio transmission.

Benefits of technology

It achieves high bandwidth, high sampling rate, low latency and lossless wireless audio transmission, adapts to various device types, and enhances user experience and ecosystem expansion capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025095974_26112026_PF_FP_ABST
    Figure CN2025095974_26112026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a UWB technology-based adaptation method and apparatus, and a storage medium. The adaptation method comprises: providing an adapter having a first protocol interface and a second protocol interface, wherein the second protocol interface is an interface configured to perform device search and data transmission on the basis of a UWB protocol; the adapter being plugged into a first device by means of the first protocol interface; the adapter finding a plurality of second devices on the basis of the UWB protocol, and on the basis of the type of each second device, determining a transmission mode between the adapter and the second device, wherein the transmission modes include a unidirectional transmission mode or a bidirectional transmission mode, and a one-to-one transmission mode or a one-to-many transmission mode; and the adapter performing relay interaction between the first device and the corresponding second device on the basis of the determined transmission mode. In this way, the present application can implement high-bandwidth, high-sampling-rate, low-latency and lossless wireless audio transmission, thereby providing good unidirectional and bidirectional audio experience, and being beneficial to ecological expansion of products.
Need to check novelty before this filing date? Find Prior Art

Description

UWB-based adaptation methods, adaptation devices, and storage media Technical Field

[0001] This application relates to the field of data transmission technology, specifically to an adaptation method, adaptation device, and storage medium based on UWB (Ultra Wide Band) technology. Background Technology

[0002] With the development of wireless communication technology, wireless audio transmission between devices (also known as between devices, such as between computers, mobile phones, or between mobile phones and computers) can now be achieved through communication technologies such as Bluetooth, Wi-Fi, and proprietary protocols (such as transmission protocols based on 2.4GHz / 5.8GHz). While people experience the convenience of wireless communication, it also leads to some inconveniences. For example, Bluetooth-based wireless audio transmission has narrow bandwidth, making it difficult to balance transmission latency and lossless performance; Wi-Fi-based wireless audio transmission can only be achieved in an environment with Wi-Fi network coverage, and it is not a point-to-point connection but rather a connection based on the Wi-Fi protocol. However, the complexity of the Wi-Fi protocol results in significant transmission latency, and setup and networking are also relatively troublesome; the frequency bands of wireless audio transmission based on proprietary protocols are used by many communication devices, making them susceptible to interference, which leads to degraded audio quality and high latency, such as 30-50ms. More importantly, proprietary protocols severely limit the ecosystem expansion of wireless audio transmission. Summary of the Invention

[0003] In view of this, this application provides an adaptation method, adaptation device, and storage medium based on UWB technology, which can improve the problems of high latency, easily degraded quality, and relatively limited ecosystem of wireless audio transmission.

[0004] This application provides an adaptation method based on UWB technology, including:

[0005] An adapter is provided with a first protocol interface and a second protocol interface, wherein the second protocol interface is an interface for performing device search and data transmission based on the UWB protocol;

[0006] The adapter is plugged into the first device based on the first protocol interface;

[0007] The adapter searches for several second devices based on the UWB protocol and determines the transmission mode between each second device according to the type of each second device. The transmission mode includes a one-way transmission mode or a two-way transmission mode, as well as a one-to-one transmission mode or a one-to-many transmission mode.

[0008] The adapter performs relay interaction between the first device and the corresponding second device according to the determined transmission mode.

[0009] Optionally, the method further includes:

[0010] The adapter obtains the current operating mode of the first device;

[0011] The adapter determines the transmission mode with the second device as either a one-way transmission mode or a two-way transmission mode based on the operating mode.

[0012] The step of determining the transmission mode between each second device according to the type of each second device includes: determining the corresponding transmission mode according to the type of the second device, including a one-to-one transmission mode or a one-to-many transmission mode, and a one-way transmission mode or a two-way transmission mode determined according to the operating mode.

[0013] Optionally, in response to the operating mode being a multi-user mode, the adapter determines the transmission mode with the second device as a unidirectional transmission mode or a bidirectional transmission mode based on the operating mode, including:

[0014] The adapter determines that the transmission mode between it and the second device is a bidirectional transmission mode.

[0015] Optionally, the method further includes:

[0016] The adapter obtains the current operating mode of the first device;

[0017] In response to the operating mode being a preset mode, determining the transmission mode with each second device based on the type of each second device includes:

[0018] From the searched second devices, identify the associated devices that are associated with the preset mode;

[0019] The primary and secondary equipment are determined according to the type of the associated equipment; and...

[0020] The transmission mode between the primary device and the secondary device is determined according to the preset mode, and the transmission mode between the secondary device is determined to include the reverse transmission mode.

[0021] Optionally, the preset mode includes a game mode, and the accessory device includes at least one of a gamepad, a UWB wireless mouse, and a UWB wireless keyboard.

[0022] Optionally, the first protocol interface includes any one of a USB series interface, a Lightning interface, and an HDMI (High Definition Multimedia Interface) interface.

[0023] Optionally, the adapter is equipped with a UWB antenna; after determining the primary device, the method further includes:

[0024] In response to the displacement of the primary device, the pointing of the UWB antenna is adjusted to adjust its core pulse direction until the angle between the connection between the adapter and the primary device and the core pulse direction is less than or equal to a preset threshold.

[0025] The method for obtaining the core pulse direction includes:

[0026] A reference plane is defined between the adapter and the primary device;

[0027] Obtain the pulse waveform of the UWB antenna on the reference plane;

[0028] The pulse waveform is divided into multiple main regions arranged in an array, and each of the main regions is divided into multiple sub-regions arranged in an array.

[0029] Multiple directions are determined, and the included angle between any two directions is equal. The sum of the signal strength of the sub-regions in each direction of the entire main region is obtained, and the weight of the included angle corresponding to each direction is determined according to the ratio of the sum of the signal strength in multiple directions.

[0030] The sum of the products of the included angles and their corresponding weights in each direction is taken as the core pulse direction.

[0031] Optionally, determining the reference plane between the adapter and the primary device includes:

[0032] A right triangle is established with the adapter and the primary device as the two vertices, and the two legs of the right triangle are parallel to the horizontal direction and the direction of gravity, respectively.

[0033] The plane containing the hypotenuse of the right triangle is used as the reference plane.

[0034] This application provides an adapter based on UWB technology, including a memory and a processor. The memory stores an adapter program, which, when executed by the processor, implements the corresponding steps of the UWB-based adapter method described above.

[0035] This application provides a storage medium storing an adapter program, which, when executed by a processor, represents the corresponding steps of the UWB-based adapter method described above.

[0036] As described above, this application uses an adapter with a first protocol interface and a second protocol interface (i.e., a UWB protocol interface) to realize relay interaction (e.g., wireless audio transmission) between a first device and a second device. This adapter can be plug-and-play with various types of first devices and can automatically discover and connect to various types of second devices, which is beneficial for the expansion of the product ecosystem. In addition, this adapter is based on UWB technology for relay interaction, such as wireless audio transmission. Given that UWB technology has the characteristics of ultra-wide bandwidth, low latency, strong anti-interference and low power consumption, it can realize high bandwidth, high sampling rate, low latency and lossless wireless audio transmission, with good one-way and two-way audio experience. Attached Figure Description

[0037] Figure 1 is a flowchart illustrating an adaptation method based on UWB technology according to an embodiment of this application;

[0038] Figure 2 is a schematic diagram of the adapter of this application being plugged into the first device;

[0039] Figure 3 is a schematic diagram of the adapter using unidirectional transmission mode and one-to-one transmission mode in music mode;

[0040] Figure 4 is a schematic diagram of a scenario where the adapter uses bidirectional transmission mode in game mode;

[0041] Figures 5 and 6 are schematic diagrams of a scenario where the adapter uses a one-to-many transmission mode in music mode;

[0042] Figure 7 is a flowchart illustrating an adaptation method based on UWB technology according to another embodiment of this application;

[0043] Figure 8 is a flowchart illustrating an adaptation method based on UWB technology according to another embodiment of this application;

[0044] Figure 9 is a schematic diagram of the reference plane determined according to the adapter and the target device in this application;

[0045] Figure 10 is a schematic diagram of dividing the pulse waveform into multiple main regions and sub-regions in this application. Detailed Implementation

[0046] To address the aforementioned problems in the prior art, this application provides an adaptation method, adaptation device, and storage medium based on UWB technology. These protection subjects are based on the same concept, and the principles for solving the problems are basically the same or similar. The implementation methods of each protection subject can be referred to mutually, and repeated details will not be elaborated.

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly described below in conjunction with specific embodiments and corresponding drawings. Obviously, the embodiments described below are only a part of the embodiments of this application, and not all of them. Unless otherwise specified, the following embodiments and their technical features can be combined with each other, and also belong to the technical solutions of this application.

[0048] Figure 1 illustrates an adaptation method based on UWB technology provided in an embodiment of this application, which may be referred to simply as the "adaptation method" or "method" in some parts of this document. This application is applicable to scenarios including, but not limited to, wireless audio transmission scenarios and the Internet of Things (IoT). Taking the IoT as an example, multiple devices can be assembled to form an IoT system, and the number of devices can be adapted according to actual needs. Communication between the devices via UWB technology can include both one-to-one and one-to-many communication, but regardless of the type of communication, it includes point-to-point communication.

[0049] When performing different services, the role of the same device can change; that is, the same device can act as both a first device and a second device. For example, when a device is plugged into the adapter described below, it can act as the first device. The first device can be understood as the master device, and the second device can be understood as the slave device. The master device can be understood as playing the role of dispatcher and manager in a certain service. The master device and / or the adapter determine the second device to perform this service. Correspondingly, the slave device can be understood as playing the role of being dispatched and managed in this service. The specific forms of the first device and the second device include, but are not limited to, at least one of the following: smart terminals such as mobile phones; vehicle-mounted systems; communication devices or communication modules with UWB functionality. The adapter can cooperate with the first device to perform the method including the example in Figure 1. That is, the executing entity of the method of this application can be the adapter.

[0050] Please refer to Figure 1. The adaptation method includes at least the following S1 to S4.

[0051] S1: Provides an adapter with a first protocol interface and a second protocol interface, wherein the second protocol interface is an interface for performing device search and data transmission based on the UWB protocol.

[0052] Therefore, this second protocol interface can also be called the "UWB protocol interface" or the "UWB interface".

[0053] S2: The adapter is plugged into the first device based on the first protocol interface.

[0054] Referring to Figure 2, the adapter 20 can be a structural component with at least one plug 21. This structural component is an electronic device that can operate independently of the first device 10. The plug 21 is a first protocol interface that establishes a connection with the first device 10 using a first protocol. Taking a smartphone as an example, the plug 21 can be plugged into the charging port at the bottom of the smartphone, thereby enabling plug-and-play functionality between the adapter 20 and the first device 10. When the adapter 20 is not plugged into the first device 10, the first device 10 can independently perform existing functions other than those described in this application.

[0055] The specific form of the adapter 20 is not limited in this application. For example, it can be a knob-type or inverted T-shaped structure as shown in Figure 2. A wide main body is provided below the plug 21 to facilitate user grip and operation. The main electronic components of the adapter 20 are provided in the main body, such as a wireless transceiver that supports the UWB protocol and is implemented as a second protocol interface.

[0056] The first protocol interface includes, but is not limited to, any one of the following: USB series interfaces (such as USB 2.0 and Type-C interfaces), Lightning interface (i.e., Lightning interface), and HDMI interface. Taking the USB series interface as an example, the adapter 20 can also be called a "USB Dongle".

[0057] S3: The adapter searches for several second devices based on the UWB protocol and determines the transmission mode between each second device according to the type of each second device. The transmission mode includes unidirectional transmission mode or bidirectional transmission mode, as well as one-to-one transmission mode or one-to-many transmission mode.

[0058] In step S3, the transmission mode includes the following four cases:

[0059] Case 1: One-way transmission mode and one-to-one transmission mode;

[0060] Case 2: One-way transmission mode and one-to-many transmission mode;

[0061] Case 3: Two-way transmission mode and one-to-one transmission mode;

[0062] Case 4: Two-way transmission mode and one-to-many transmission mode.

[0063] The adapter finds all second devices that support UWB wireless transmission based on the UWB protocol. Therefore, the adapter can automatically establish a connection with all the second devices found and act as a relay device for this interaction, thereby automatically discovering and connecting to various types of second devices.

[0064] In practical scenarios, the adapter can obtain information about each found second device based on the UWB protocol. It can then directly determine the type, identifier, and distance to the adapter of each second device without requiring any response from any of the second devices. Of course, in other examples of this application, the adapter can select a subset of the second devices as the target device based on the aforementioned information. The method of selecting the target device is adaptable, and the adapter only interacts with the target device as an intermediary.

[0065] The so-called one-way transmission mode means that only the adapter is allowed to directly transmit data to the second device, or only the first device is allowed to indirectly transmit data to the second device through the adapter. However, neither of the second devices can transmit data to the adapter, nor can either of the second devices transmit data to the first device. It should be understood that the data transmitted here only includes substantive data such as audio files, and does not include traditional instruction data such as skipping tracks, next track, or pausing. For example, referring to the wireless audio transmission scenario shown in Figure 3, the first device 10 can transmit audio data unidirectionally to the headset 31 through the adapter 20 (i.e., using a unidirectional transmission mode). Alternatively, the first device 10 can transmit audio data unidirectionally to the speaker 32 through the adapter 20, including transmitting the left channel audio data unidirectionally to one speaker 32 and the right channel audio data unidirectionally to the other speaker 32, thereby achieving high sampling rate stereo music playback. Alternatively, the first device 10 can transmit the left and right channel audio data unidirectionally to only one speaker 32 through the adapter 20, so that one speaker 32 can transmit the corresponding channel audio data to the other speaker 32, and each speaker 32 can play the corresponding channel audio data, thereby also achieving high sampling rate stereo music playback.

[0066] The so-called bidirectional transmission mode refers to the ability for the adapter and the second device to transmit data to each other, including but not limited to multi-channel audio data. For example, referring to the wireless transmission scenario shown in Figure 4, when the first device 10 is running a game, i.e., when the current operating mode is game mode, any headset 31 can collect the voice of the corresponding wearer and transmit it to the adapter 20, thereby realizing bidirectional low-latency transmission of audio and voice dialogue; or, the adapter 20 can establish bidirectional transmission with second devices (not shown) of input types such as gamepads, UWB wireless mice, and UWB wireless keyboards.

[0067] The so-called one-to-one transmission mode refers to the adapter transmitting data (such as audio files) to only one second device in a single data transmission event, which can be regarded as point-to-point transmission. For example, referring to the wireless audio transmission scenario shown in Figure 3, the first device 10 transmits audio data to the headphones 31 one-to-one through the adapter 20 (i.e., using one-to-one transmission mode), or the first device 10 transmits audio data to the speaker 32 one-to-one through the adapter 20. It should be understood that the adapter 20 only transmits the audio file to one of the speakers 32, so that one of the speakers 32 retains the audio data of its own playable channel, and transmits the audio data of the other channel to the other speaker 32. Each speaker 32 plays the corresponding channel audio data, which is suitable for high sampling rate stereo music playback scenarios.

[0068] The so-called one-to-many transmission mode refers to the adapter synchronously transmitting data (such as audio files) to two or more second devices in a single data transmission event. For example, referring to the wireless audio transmission scenario shown in Figure 5, the first device 10 can transmit left and right channel audio data to two speakers 32 in a one-to-two manner through the adapter 20, or the first device 10 can transmit left and right channel audio data to two in-ear headphones of the TWS earphones 33 in a one-to-two manner through the adapter 20. For example, referring to the wireless audio transmission scenario shown in Figure 6, the first device 10 can transmit corresponding channel audio data to three speakers 32 in a one-to-three manner through the adapter 20, or the first device 10 can transmit corresponding channel audio data to four second devices in a one-to-four manner through the adapter 20.

[0069] This example can help the adapter determine the transmission mode best suited to the first device, avoiding potential conflicts during the interaction between the first device and various second devices, thereby ensuring transmission efficiency.

[0070] S4: The adapter performs relay interaction between the first device and the corresponding second device according to the determined transmission mode.

[0071] The relay interaction includes, but is not limited to, at least one of the following: transmitting audio data between devices, pushing audio or sending control commands from a mobile phone to a vehicle or other device, and providing push and subscription services between devices.

[0072] Based on the above, the adapter of this application can be plug-and-play with various types of first devices and can automatically discover and connect to various types of second devices, which is conducive to the expansion of the product ecosystem. In addition, the adapter is based on UWB technology for relay interaction such as wireless audio transmission. Given that UWB technology has the characteristics of ultra-wide bandwidth, low latency, strong anti-interference and low power consumption, it can realize high bandwidth, high sampling rate, low latency and lossless wireless audio transmission, and the one-way and two-way audio experience is good.

[0073] In another example of this application, the adapter can incorporate the operating mode of the first device into the determination of the transmission mode between the first device and the second device to perform the relay interaction. Specifically, as shown in FIG7, another embodiment of the method of this application includes the following steps S1 to S4.

[0074] S1: Provides an adapter with a first protocol interface and a second protocol interface, wherein the second protocol interface is an interface for performing device search and data transmission based on the UWB protocol;

[0075] S2: The adapter is plugged into the first device based on the first protocol interface;

[0076] S21: The adapter obtains the current operating mode of the first device;

[0077] S31: The adapter searches for several second devices based on the UWB protocol;

[0078] S312: The adapter determines the transmission mode with the second device as either a one-way transmission mode or a two-way transmission mode based on the operating mode.

[0079] S313: The adapter determines the corresponding transmission mode according to the type of the second device, including a one-to-one transmission mode or a one-to-many transmission mode, and a one-way transmission mode or a two-way transmission mode determined according to the operating mode.

[0080] S4: The adapter performs relay interaction between the first device and the corresponding second device according to the determined transmission mode.

[0081] For the same steps, this application uses the same step number to identify them. For the technical features of the steps with the same number, please refer to the foregoing, and will not be repeated here.

[0082] In this embodiment, the operating mode of the first device includes, but is not limited to, at least one of music mode and game mode. Taking the first device in music mode as an example, as shown in Figures 3, 5, and 6, step S312 can determine that the transmission mode between the adapter 20 and the second device is a unidirectional transmission mode. In the example of Figure 3, the transmission mode finally determined by step S313 is a unidirectional transmission mode and a one-to-one transmission mode. In the examples of Figures 5 and 6, the transmission mode finally determined by step S313 is a unidirectional transmission mode and a one-to-many transmission mode. Taking the first device in game mode as an example, as shown in Figure 4, step S312 can determine that the transmission mode between the adapter 20 and the second device (headphone 31) is a bidirectional transmission mode. Therefore, the transmission mode finally determined by step S313 is a bidirectional transmission mode and a one-to-one transmission mode.

[0083] In the example where the operating mode is multi-user participation mode, step S312 can determine that the transmission mode between the adapter and the second device is a bidirectional transmission mode to enable multi-user interaction, such as multi-user voice interaction.

[0084] Building upon the beneficial effects achievable by the method described in Figure 1, this embodiment allows the transmission mode between the (first device and) adapter and the second device to better match the current operating status of the first device. Thus, when the first device is in any mode, such as music mode or game mode, low-latency lossless wireless audio transmission can be achieved, resulting in a better user experience. For example, in game mode, bidirectional low-latency transmission of audio and voice dialogue can be achieved, while in music mode, unidirectional low-latency transmission of high-sampling-rate stereo music can be achieved.

[0085] Figure 8 is a flowchart illustrating an adaptation method according to another embodiment of this application. Referring to Figure 8, the adaptation method includes the following steps S1 to S4.

[0086] S1: Provides an adapter with a first protocol interface and a second protocol interface, wherein the second protocol interface is an interface for performing device search and data transmission based on the UWB protocol;

[0087] S2: The adapter is plugged into the first device based on the first protocol interface;

[0088] S21: The adapter obtains the current operating mode of the first device;

[0089] S31: The adapter searches for several second devices based on the UWB protocol;

[0090] S322: In response to the operating mode being a preset mode, determine the associated device associated with the preset mode from among the searched second devices;

[0091] S323: The adapter determines the primary and secondary devices based on the type of the associated device; and,

[0092] S324: The adapter determines the transmission mode with the primary device according to a preset mode, the transmission mode including a one-way transmission mode or a two-way transmission mode, and a one-to-one transmission mode or a one-to-many transmission mode, and determines the transmission mode with the auxiliary device including a reverse transmission mode.

[0093] The transmission mode between the primary device and the secondary device is determined according to the preset mode, which can be implemented according to the steps described in Figure 7 above. The reverse transmission mode means that the secondary device can transmit data to the adapter (and the primary device), including but not limited to traditional corresponding command data. In one example, unlike the aforementioned bidirectional transmission mode, this reverse transmission mode may only allow the secondary device to transmit data to the adapter (and the primary device), but the adapter cannot transmit data to the secondary device. In other examples, this reverse transmission mode can be understood as the aforementioned bidirectional transmission mode.

[0094] S4: The adapter performs relay interaction between the first device and the corresponding second device according to the determined transmission mode.

[0095] In one example, the preset mode includes a game mode, and the auxiliary device includes at least one of a gamepad, a UWB wireless mouse, and a UWB wireless keyboard. Thus, when the first device is in game mode, the adapter can connect to, in addition to the headset 31 shown in Figure 4 (i.e., the primary device) via the UWB protocol, also the gamepad, UWB wireless mouse, and UWB wireless keyboard.

[0096] Based on the beneficial effects that can be achieved by the methods described in Figures 1 and 7 above, this embodiment can realize one-way transmission mode or two-way transmission mode, as well as one-to-one transmission mode or one-to-many transmission mode in preset modes such as game mode. It can also connect to peripheral devices (i.e. auxiliary devices) and control the first device through the peripheral devices, which is more conducive to the ecological expansion of the product.

[0097] In the method of the embodiment described in Figure 8 above, the adapter is equipped with a UWB antenna to perform wireless communication functions of the second protocol interface. Since the UWB antenna is based on short-pulse signals for wireless communication, and the transmission strength of short-pulse signals varies in different directions, the adapter can select the direction with the highest transmission strength as the core pulse direction and use this core pulse direction for relay interaction with the second device, such as audio transmission. Specifically, after determining the primary device, the method further includes: in response to the primary device shifting, adjusting the direction of the UWB antenna to adjust its core pulse direction until the angle between the connection between the adapter and the primary device and the core pulse direction is less than or equal to a preset threshold. Thus, as long as the primary device is detected to be moving, the adapter can adjust the direction of the UWB antenna, ensuring good communication quality between the primary device and the adapter, consistently high transmission efficiency, and reduced latency.

[0098] The method for obtaining the core pulse direction includes:

[0099] First, a reference plane is determined between the adapter and the primary device, specifically for the adapter's UWB antenna. This reference plane can be determined as follows: Referring to Figure 9, a right-angled triangle is constructed with the adapter 20 and the second device 30 as its two vertices. The two legs of this right-angled triangle are parallel to the horizontal and gravitational directions, respectively. The plane containing the hypotenuse of this right-angled triangle is used as the reference plane. The core pulse direction corresponding to the UWB antenna changes with the orientation of the primary device and the adapter; correspondingly, when the adapter's position changes, the determined reference plane also changes.

[0100] Then, the pulse wave propagation pattern of the UWB antenna on the reference plane is obtained. For example, the pulse wave pattern of the corresponding type of UWB antenna in a real environment can be obtained through simulation testing, also known as the pulse wave propagation pattern. The simulation test obtains a 3D pulse wave propagation pattern, and then the pulse wave propagation direction on its reference plane is obtained, thus forming the pulse wave pattern. This pulse wave pattern includes not only the propagation direction of the short pulse signal but also its signal strength.

[0101] Next, the pulse waveform is divided into multiple main regions arranged in an array, and each main region is further divided into multiple sub-regions arranged in an array, as shown in Figure 10. Each main region and each sub-region is represented as a rectangular area. The shape and size of each main region are the same, and the number, shape, and size of the sub-regions divided by each main region are also the same. The number of main regions and sub-regions shown in the figure is only for illustrative purposes. Multiple directions are determined on the pulse waveform, and the included angle between any two of these directions is equal. For example, these include the horizontal direction, the vertical direction, and the two bisecting directions between the horizontal and vertical directions (referred to as the "first bisecting direction" and the "second bisecting direction," respectively). Further, based on the pulse waveform, the sum of the signal intensities of the sub-regions in each direction of all main regions is obtained, and the weight of the included angle corresponding to each direction is determined according to the ratio of the sum of the signal intensities in multiple directions. The sum of the products of the included angle and the corresponding weight of each direction is taken as the core pulse direction.

[0102] In a scenario where a UWB antenna transmits short pulse signals into three-dimensional space, other signal clutter interferes in any direction within that space. However, the degree of interference from these signal clutters varies across the main regions. If the core pulse direction is determined solely by weighting the signal strength of the main regions, the error will be significant. Therefore, this example further divides each main region into multiple sub-regions, which is equivalent to further refining the sampling area. This ensures that the interference from signal clutter is distributed as evenly as possible across all main regions, thereby ensuring that the obtained core pulse direction closely matches the actual transmission direction of the UWB antenna.

[0103] Referring to Figure 10, taking the pulse waveform of the adapter's UWB antenna as a rectangle, and considering multiple defined directions including the horizontal, vertical, and two bisecting directions between the horizontal and vertical directions, the sum of signal strength in all sub-regions in the horizontal direction (i.e., all sub-regions of the main region in this horizontal direction) is N1; the sum of signal strength in all sub-regions in the vertical direction (i.e., all sub-regions of the main region in this vertical direction) is N2; the sum of signal strength in all sub-regions in the first bisecting direction is N3; and the sum of signal strength in all sub-regions in the second bisecting direction is N4. Based on these signal strength sums N1... The ratios of N1, N2, N3, and N4 are used as the corresponding weights k1, k2, k3, and k4, and k1 + k2 + k3 + k4 = 1. The sum of the products of the angles corresponding to the horizontal direction, vertical direction, first bisector direction, and second bisector direction and their corresponding weights, S, is S = k1*S1 + k2*S2 + k3*S3 + k4*S4, where S is the core pulse direction of the adapter, and S1, S2, S3, and S4 represent the angles corresponding to the horizontal direction, vertical direction, first bisector direction, and second bisector direction, respectively. For example, S1 can be 180°, S2 can be 90°, S3 can be 45°, and S4 can be 135°.

[0104] Given that UWB technology can achieve positioning, optionally, for the searched second devices, step S3 may further include: displaying the relative positions of each searched second device to the first device on the first device. For example, the screen of the first device may display icons for the first device, the adapter, and the currently searched second devices. The specific representation of the icons can be determined according to the type of the second device obtained by the first device based on the UWB protocol. For example, if second device A is a speaker, it will display the icon corresponding to a speaker; if second device E is a vehicle of a certain brand, it will display the icon corresponding to that brand of vehicle; if second devices B, C, and D are mobile phones of a certain brand, they will display the icons corresponding to that brand of mobile phone. In this way, the user can intuitively obtain information such as the type of each second device from the first device.

[0105] Based on the posture information of the first device, such as orientation and tilt angle, this application can also change the posture information of the displayed icons of the first device and the adapter in real time, so that users can intuitively obtain relevant information.

[0106] This application also provides an adapter device based on UWB technology, including a memory and a processor. The memory stores an adapter program, which, when executed by the processor, implements the steps of the UWB-based adapter method described in any of the above examples. This adapter device can fulfill the role of the aforementioned adapter, and the specific form of the adapter device is not limited in this application.

[0107] This application embodiment also provides a storage medium storing an adapter program based on UWB technology. The adapter program is essentially a computer program, which, when executed by a processor, implements the steps of the adapter method as in any example.

[0108] The storage medium includes, but is not limited to, any one of read-only memory (ROM), random access memory (RAM), magnetic disk, and optical disk.

[0109] Since the adaptation program stored in the storage medium can execute the steps in the adaptation method of any embodiment provided in this application, the beneficial effects that the adaptation method of any of the foregoing embodiments can achieve can be realized. For details, please refer to the foregoing embodiments, which will not be repeated here.

[0110] This application also provides an electronic device or chip, including a memory and a processor. The memory stores an adapter program based on UWB technology. When executed by the processor, the adapter program implements the steps of the adapter method of any of the foregoing embodiments. Alternatively, the electronic device or chip may be provided with a storage medium as shown in the above example, and the processor loads the storage medium to execute the steps of the adapter method, thereby achieving the beneficial effects achievable by the adapter method of the corresponding example. The electronic device includes a device body (i.e., the aforementioned first device) and the aforementioned adapter. The device body may be a terminal such as a mobile phone.

[0111] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. For those skilled in the art, any equivalent structural transformations made using the content of this specification and drawings are similarly included within the patent protection scope of this application.

[0112] The use of step designations such as S1 and S2 in this document is intended to more clearly and concisely describe the corresponding content and does not constitute a substantial restriction on the order. In specific implementation, those skilled in the art may execute S2 first and then S1, etc., but these should all be within the protection scope of this application.

[0113] Although this document uses terms such as "first," "second," etc., to describe various types of information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. Furthermore, the singular forms "a," "an," and "the" are intended to also include the plural forms. The terms "or" and "and / or" are interpreted as inclusive, or meaning either one or any combination thereof. Exceptions to this definition only arise when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.

Claims

1. An adaptation method based on UWB technology, characterized in that, include: An adapter is provided with a first protocol interface and a second protocol interface, wherein the second protocol interface is an interface for performing device search and data transmission based on the UWB protocol; The adapter is plugged into the first device based on the first protocol interface; The adapter searches for several second devices based on the UWB protocol and determines the transmission mode between each second device according to the type of each second device. The transmission mode includes a one-way transmission mode or a two-way transmission mode, as well as a one-to-one transmission mode or a one-to-many transmission mode. The adapter performs relay interaction between the first device and the corresponding second device according to the determined transmission mode.

2. The method of claim 1, wherein, The method further includes: The adapter obtains the current operating mode of the first device; The adapter determines the transmission mode with the second device as either a one-way transmission mode or a two-way transmission mode based on the operating mode. The step of determining the transmission mode between each second device according to the type of each second device includes: determining the corresponding transmission mode according to the type of the second device, including a one-to-one transmission mode or a one-to-many transmission mode, and a one-way transmission mode or a two-way transmission mode determined according to the operating mode.

3. The method of claim 2, wherein, In response to the operating mode being a multi-user mode, the adapter determines the transmission mode with the second device as either a unidirectional transmission mode or a bidirectional transmission mode based on the operating mode, including: The adapter determines that the transmission mode between it and the second device is a bidirectional transmission mode.

4. The method of claim 1, wherein, The method further includes: The adapter obtains the current operating mode of the first device; In response to the operating mode being a preset mode, determining the transmission mode with each second device based on the type of each second device includes: From the searched second devices, identify the associated devices that are associated with the preset mode; The primary and secondary equipment are determined according to the type of the associated equipment; and... The transmission mode between the primary device and the secondary device is determined according to the preset mode, and the transmission mode between the secondary device is determined to include the reverse transmission mode.

5. The method of claim 4, wherein, The preset mode includes a game mode, and the auxiliary device includes at least one of a gamepad, a UWB wireless mouse, and a UWB wireless keyboard.

6. The method according to any one of claims 1 to 5, characterized in that, The first protocol interface includes any one of the following: USB series interface, Lightning interface, and HDMI interface.

7. The method of claim 4, wherein, The adapter is equipped with a UWB antenna; after determining the primary device, the method further includes: In response to the displacement of the primary device, the pointing of the UWB antenna is adjusted to adjust its core pulse direction until the angle between the connection between the adapter and the primary device and the core pulse direction is less than or equal to a preset threshold. The method for obtaining the core pulse direction includes: A reference plane is defined between the adapter and the primary device; Obtain the pulse waveform of the UWB antenna on the reference plane; The pulse waveform is divided into multiple main regions arranged in an array, and each of the main regions is divided into multiple sub-regions arranged in an array. Multiple directions are determined, and the included angle between any two directions is equal. The sum of the signal strength of the sub-regions in each direction of the entire main region is obtained, and the weight of the included angle corresponding to each direction is determined according to the ratio of the sum of the signal strength in multiple directions. The sum of the products of the included angles and their corresponding weights in each direction is taken as the core pulse direction.

8. The method of claim 7, wherein, Determining a reference plane between the adapter and the primary device includes: A right triangle is established with the adapter and the primary device as the two vertices, and the two legs of the right triangle are parallel to the horizontal direction and the direction of gravity, respectively. The plane containing the hypotenuse of the right triangle is used as the reference plane.

9. An adaptation device based on UWB technology, comprising a memory and a processor, characterized in that, The memory stores an adapter program, which, when executed by the processor, implements the UWB-based adaptation method as described in any one of claims 1 to 8.

10. A storage medium, characterized by The device stores an adapter program, which, when executed by a processor, implements the UWB-based adaptation method according to any one of claims 1 to 8.