Data interaction method, system, UWB device and medium

By using a dual-antenna design in the device to receive pulse signals, automatically determine the location relationship and establish a Bluetooth connection, it solves the problem of cumbersome data interaction processes between devices and realizes automatic connection and interaction.

CN114827971BActive Publication Date: 2025-01-21GOERTEK INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210445847.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-26
Publication Date
2025-01-21
Estimated Expiration
2042-04-26

AI Technical Summary

Technical Problem

In the prior art, when data interaction is required between devices, users need to operate to establish a Bluetooth connection, resulting in cumbersome process.

Method used

By using a dual-antenna design in the first device to receive the pulse signal sent by the second device, it is determined whether the relative position relationship between the two devices meets the preset trigger conditions. If so, a Bluetooth connection is automatically established and data interaction is performed.

Benefits of technology

It realizes automatic Bluetooth connection and data interaction between devices, simplifies the process and avoids manual operation by users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114827971B_ABST
    Figure CN114827971B_ABST
Patent Text Reader

Abstract

The present application discloses a data interaction method, system, UWB device and medium, the method is applied to a first device, the first device includes at least a first UWB module, the first UWB module includes at least a first antenna and a second antenna, the method includes the steps of: receiving a pulse signal sent by a second device based on the first antenna to obtain a first received signal, and receiving the pulse signal based on the second antenna to obtain a second received signal; at least based on the first received signal and the second received signal, determining whether the relative position relationship between the first device and the second device meets a preset trigger condition; if so, establishing a Bluetooth connection with the second device, and based on the Bluetooth connection, performing data interaction with the second device. The present application simplifies the process of data interaction between devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of device interaction, and in particular to a data interaction method, system, UWB device and medium. Background Art

[0002] With the development of intelligent devices, data interaction between devices is becoming more and more frequent.

[0003] Currently, if data needs to be exchanged between devices, users need to operate the devices to establish a Bluetooth connection between the two devices so as to exchange data. However, the process of establishing a Bluetooth connection is relatively cumbersome, resulting in a cumbersome process for data exchange between devices. Summary of the invention

[0004] The main purpose of this application is to provide a data interaction method, system, UWB device and medium, aiming to solve the existing technical problem of how to simplify the process of data interaction between devices.

[0005] To achieve the above object, the present application provides a data interaction method, which is applied to a first device, wherein the first device includes at least a first UWB module, and the first UWB module includes at least a first antenna and a second antenna. The data interaction method includes:

[0006] Receiving a pulse signal sent by a second device based on the first antenna to obtain a first received signal, and receiving the pulse signal based on the second antenna to obtain a second received signal;

[0007] Determining whether a relative position relationship between the first device and the second device satisfies a preset trigger condition based at least on the first received signal and the second received signal;

[0008] If so, a Bluetooth connection is established with the second device, and data is exchanged with the second device based on the Bluetooth connection.

[0009] Exemplarily, the relative position relationship includes a device distance and a device angle, and determining whether the relative position relationship between the first device and the second device satisfies a preset trigger condition based at least on the first received signal and the second received signal includes:

[0010] Calculating a device distance between the first device and the second device, and calculating a device angle between the first device and the second device based at least on the first received signal and the second received signal;

[0011] If the device distance is less than or equal to a preset device distance, and the device angle is less than or equal to a preset device angle, it is determined that a preset trigger condition is met.

[0012] Exemplarily, if the device distance is less than or equal to a preset device distance, and the device angle is less than or equal to a preset device angle, determining that a preset trigger condition is met includes:

[0013] If the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, then continuously receiving the pulse signal within a preset time;

[0014] Based on the continuously received pulse signals, calculate the new device distance and the new device angle;

[0015] If the new device distance and the new device angle do not change, it is determined that the preset trigger condition is met.

[0016] Exemplarily, before the step of receiving a pulse signal sent by a second device based on the first antenna to obtain a first received signal and receiving the pulse signal based on the second antenna to obtain a second received signal, the step includes:

[0017] Upon detecting a preset operation, controlling the first device to enter a device linkage mode;

[0018] The steps of receiving the pulse signal sent by the second device based on the first antenna to obtain a first received signal and receiving the pulse signal based on the second antenna to obtain a second received signal are performed only when the first device is in the device linkage mode.

[0019] Exemplarily, the first device is an AR device, the second device is a smart wearable device, and the data interaction with the second device based on the Bluetooth connection includes:

[0020] Based on the Bluetooth connection, receiving user data sent by the smart wearable device;

[0021] The user data is displayed so that the user can obtain the user data collected by the smart wearable device through the AR device.

[0022] In addition, to achieve the above-mentioned purpose, the present application also provides a data interaction method, which is applied to a second device, wherein the second device at least includes a second UWB module, and the second UWB module includes a third antenna. The data interaction method includes:

[0023] Based on the third antenna, a pulse signal is sent to the first device, so that the first device receives the pulse signal and determines, based on the pulse signal, whether the relative position relationship between the first device and the second device meets a preset trigger condition;

[0024] After the first device determines that the relative position relationship meets the preset trigger condition, establishing a Bluetooth connection with the first device;

[0025] Based on the Bluetooth connection, data is exchanged with the first device.

[0026] Exemplarily, the first device is a smart wearable device, the second device is an AR device, and the data interaction with the first device based on the Bluetooth connection includes:

[0027] Based on the Bluetooth connection, receiving user data sent by the smart wearable device;

[0028] The user data is displayed so that the user can obtain the user data collected by the smart wearable device through the AR device.

[0029] In addition, to achieve the above-mentioned purpose, the present application also provides a data interaction system, the system comprising a first device and a second device; the first device at least comprises a first UWB module, the first UWB module at least comprises a first antenna and a second antenna; the second device at least comprises a second UWB module, the second UWB module comprises a third antenna;

[0030] The first device is used to: receive a pulse signal sent by the second device based on the first antenna to obtain a first received signal, and receive the pulse signal based on the second antenna to obtain a second received signal; determine whether the relative position relationship between the first device and the second device meets a preset trigger condition based at least on the first received signal and the second received signal; if so, establish a Bluetooth connection with the second device, and exchange data with the second device based on the Bluetooth connection;

[0031] The second device is used to: send a pulse signal to the first device based on the third antenna, so that the first device receives the pulse signal and determines whether the relative position relationship between the first device and the second device meets the preset trigger condition based on the pulse signal; establish a Bluetooth connection with the first device after the first device determines that the relative position relationship meets the preset trigger condition; and interact with the first device based on the Bluetooth connection.

[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a UWB device, which includes a memory, a processor, and a data interaction program stored in the memory and executable on the processor, and the data interaction program, when executed by the processor, implements the steps of the data interaction method described above.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a data interaction program is stored, and when the data interaction program is executed by a processor, the steps of the data interaction method described above are implemented.

[0034] Compared with the prior art, since if data interaction is required between devices, the user needs to operate the device to establish a Bluetooth connection between the two devices, resulting in a cumbersome process for data interaction between devices, the present application interacts with the second device by determining that the relative position relationship between the first device and the second device in time meets a preset trigger condition based on at least the first received signal and the second received signal, wherein the first received signal is received by the first antenna in the first device and the second received signal is received by the second antenna in the first device. Thus, when the first device and the second device need to interact with data, the two devices can automatically establish a Bluetooth connection by themselves and interact with data through the Bluetooth connection. The entire process does not require user participation, that is, the user does not need to perform device connection operations, thereby simplifying the process of data interaction between devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flowchart of the first embodiment of the data interaction method of the present application;

[0036] Figure 2 is a schematic diagram of the angle of the measuring device involved in the first embodiment of the data interaction method of the present application;

[0037] Figure 3 It is a flowchart of the second embodiment of the data interaction method of the present application;

[0038] Figure 4 It is a structural diagram of the hardware operating environment involved in the embodiment of the present application.

[0039] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

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

[0041] This application provides a data interaction method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the data interaction method of the present application.

[0042] The embodiment of the present application provides an embodiment of the data interaction method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here. The data interaction method can be applied to a first device, the first device at least includes a first UWB (Ultra Wide Band) module, and the first UWB module includes at least a first antenna and a second antenna. It can be understood that the first device is a UWB device.

[0043] For ease of description, the following description of each step of the data interaction method is omitted. The data interaction method includes the following steps:

[0044] Step S10: receiving a pulse signal sent by a second device based on the first antenna to obtain a first received signal, and receiving the pulse signal based on the second antenna to obtain a second received signal.

[0045] The first antenna and the second antenna are both antennas in the first UWB module, that is, the first device adopts a dual-antenna design. In addition, the first device can also be a three-antenna design, a four-antenna design, etc., and accordingly, each antenna can independently receive the pulse signal to obtain a corresponding received signal.

[0046] Exemplarily, when the first device is a device for convenient data output, the first device includes AR devices, VR devices, smart TVs, smart speakers, etc., and the second device is a device for providing data, including smart wearable devices (smart watches, smart bracelets, etc.), smart speakers, smart TVs, etc.; when the second device is a device for convenient data output, the second device includes AR devices, VR devices, smart TVs, smart speakers, etc., and the first device is a device for providing data, including smart wearable devices (smart watches, smart bracelets, etc.), smart speakers, smart TVs, etc. This embodiment does not limit what kind of device the first device is, nor does it limit what kind of device the second device is. It can be understood that when the first device is a device for providing data, there is a need to display the data to the user through the second device; when the second device is a device for providing data, there is a need to display the data to the user through the first device.

[0047] Among them, the pulse signal is expressed as a curve with countless breakpoints on the plane coordinates, that is, it has some points periodically, and the limit of the point does not exist. The pulse signal includes rectangular waves, sawtooth waves, sharp pulses and step waves.

[0048] Exemplarily, before the step of receiving a pulse signal sent by a second device based on the first antenna to obtain a first received signal and receiving the pulse signal based on the second antenna to obtain a second received signal, the step includes:

[0049] Step a, detecting a preset operation, controlling the first device to enter a device linkage mode; when the first device is in the device linkage mode, executing the step of receiving a pulse signal sent by the second device based on the first antenna to obtain a first received signal, and receiving the pulse signal based on the second antenna to obtain a second received signal.

[0050] Exemplarily, the preset operation includes button operation, screen touch operation or voice operation, etc.

[0051] After the first device enters the device linkage mode, it can be determined that the user has a need to make the first device and the second device interact with each other. At this time, the first device receives the pulse signal sent by the second device. When the first device does not enter the device linkage mode, the first device does not receive the pulse signal, that is, the pulse signal sent by the second device is not for the first device, but for other devices, that is, the first device does not need to interact with the second device. It can be understood that by setting the device linkage mode, the first device avoids the wrong response to the pulse signal.

[0052] Step S20: Determine whether the relative position relationship between the first device and the second device meets a preset trigger condition based at least on the first received signal and the second received signal.

[0053] The preset trigger condition needs to meet at least two conditions, one of which is that the distance between the two devices meets the distance condition, and the other is that the angle between the two devices meets the angle condition. The distance and the angle are both calculated by the first received signal. When both conditions are met, it is determined that the relative position relationship meets the preset trigger condition; when at least one condition is not met, it is determined that the relative position relationship does not meet the preset trigger condition.

[0054] Exemplarily, the relative position relationship includes a device distance and a device angle, and determining whether the relative position relationship between the first device and the second device satisfies a preset trigger condition based at least on the first received signal and the second received signal includes:

[0055] Step b: calculating a device distance between the first device and the second device, and calculating a device angle between the first device and the second device based at least on the first received signal and the second received signal.

[0056] Exemplarily, the device distance may be calculated by TW-TOF (Two Way-Time Of Flight) or TOF (Time Of Flight).

[0057] Among them, when the device distance is calculated by TW-TOF: the third antenna transmits a pulse signal at the Ta1 moment of the first timestamp (the timestamp generated by the second device), which is received by the first antenna at the Tb1 moment of the second timestamp (the timestamp generated by the first device); the first antenna responds to the pulse signal, transmits a response signal at the Tb2 moment of the second timestamp, which is received by the third antenna at the Ta2 moment of the first timestamp, thereby calculating the first distance S=c×[(Ta2-Ta1)-(Tb2-Tb1)] between the third antenna and the first antenna, where c is the speed of light. It can be understood that the calculation process of the second distance between the third antenna and the second antenna is basically the same as the calculation process of the first distance between the third antenna and the first antenna, and will not be repeated here. For the device distance, the device distance can be the first distance, the second distance, or the average of the first distance and the second distance. It can be understood that since the first antenna and the second antenna are both in the first device, the difference between the first distance and the second distance is small, for example, 1 cm, and the first distance or the second distance represents the distance between the first device and the second device, which is the distance from the user's head (AR device worn on the head) to the wrist (smart wearable device worn on the wrist), which is generally about 50 cm. Therefore, the difference between the first distance and the second distance is much smaller than the first distance or the second distance, so that the first distance or the second distance can be directly used as the distance between the first device and the second device.

[0058] Among them, when the device distance is calculated by TOF: calculate the first time difference TTOT between the time when the third antenna sends a pulse signal and the time when the response of the first antenna is received; and calculate the second time difference TTAT between the time when the first antenna receives the pulse signal and the time when the response is sent to the third antenna. Thus, the first distance S=c×(TTOT-TTAT) / 2 between the third antenna and the first antenna can be calculated, where c is the speed of light. Accordingly, the calculation process of the second distance between the third antenna and the second antenna (or other antennas in the first device when the first device is a three-antenna design or a four-antenna design, etc.) is basically the same as the calculation process of the first distance between the third antenna and the first antenna, and will not be repeated here. Similarly, the specific implementation method corresponding to the device distance being the first distance or the second distance, etc., is basically the same as the specific implementation method corresponding to the device distance being the first distance or the second distance, etc. when the device distance is calculated by TW-TOF, and will not be repeated here.

[0059] For example, Figure 2 is a schematic diagram of a measuring device angle, such as Figure 2As shown, 201 is the third antenna of the second device, which is used to transmit a pulse signal; 202 and 203 are the first antenna and the second antenna respectively; 204 is the device angle α to be calculated; 205 is the path difference p from the third antenna to the first antenna and the second antenna, which is calculated by the phase difference between the first received signal and the second received signal; 206 is the antenna distance d between the first antenna and the second antenna, which is a fixed value. It can be understood that there is an inverse trigonometric function relationship between the device angle α, the path difference p and the antenna distance d, that is, the device angle α can be calculated by the following formula:

[0060]

[0061] It should be noted that, for the first device with three or four antennas, the final device angle can be obtained by first calculating the device angle corresponding to the two antennas, and then calculating the average of all device angles. The specific implementation of the device angle corresponding to the two antennas is basically the same as the specific implementation of the device angle corresponding to the first antenna and the second antenna, and will not be repeated here.

[0062] Step c: if the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, it is determined that the preset trigger condition is met.

[0063] Exemplarily, the preset device distance and the preset device angle can be set as needed, and can be determined based on the actual conditions of the first device and the second device (for example, the first device is an AR device and the second device is a smart bracelet, or the first device is a smart TV and the second device is a smart speaker).

[0064] For example, the first device is an AR device or a VR device, and the second device is a smart wearable device; or the first device is a smart wearable device, and the second device is an AR device or a VR device. It can be understood that the AR device or VR device is worn on the user's head when in use, and the distance between it and the smart wearable device is related to the user's height. The smart wearable device is worn on the user's wrist, and the distance between it and the AR device or VR device is related to the user's arm length. Therefore, the preset device distance can be set by the user's height and the user's arm length. For example, after the user raises his wrist, the device distance is measured to be 50cm (related to the user's height and the user's arm length), then the preset device distance can be set to 50cm, and the device angle is measured to be 20 degrees, then the preset device angle can be set to 20 degrees.

[0065] For example, the first device is a smart TV and the second device is a smart speaker; or the first device is a smart speaker and the second device is a smart TV. It is understandable that generally, smart TVs are fixedly installed and used, while smart speakers can be moved and used. The preset device distance can be set as needed, for example, the preset device distance is 10cm, 20cm, etc.; accordingly, the preset device angle can be 10 degrees, 9 degrees, etc., which is specifically set for the purpose of user convenience.

[0066] For example, the first device is a smart wearable device and the second device is a smart TV; or the first device is a smart TV and the second device is a smart wearable device. It can be understood that generally, smart TVs are fixedly installed and used, and smart wearable devices are worn on the user's wrist, so smart wearable devices can be used mobile, similar to smart TVs and smart speakers, and the preset device distance can be set as needed. For example, the preset device distance is 10cm, 20cm, etc.; accordingly, the preset device angle can be 10 degrees, 9 degrees, etc., which is specifically set for the purpose of facilitating user use.

[0067] Exemplarily, if the device distance is less than or equal to a preset device distance, and the device angle is less than or equal to a preset device angle, determining that a preset trigger condition is met includes:

[0068] Step c1, if the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, then continuously receiving the pulse signal within a preset time;

[0069] Step c2, based on the continuously received pulse signal, calculate the new device distance and the new device angle; if the new device distance and the new device angle have not changed, determine that the preset trigger condition is met.

[0070] The purpose of continuously receiving the pulse signal within the preset time is to avoid erroneous device responses. Specifically, the purpose of determining that the new device distance and the new device angle have not changed is to ensure that the user maintains a posture and maintains it for a preset time. It can be understood that when the user maintains a posture and maintains it for a preset time, it indicates that the user has a need to enable the first device and the second device to interact with data. For example, the user wears an AR device on the head and a smart wearable device on the wrist, and the user raises his wrist and looks at the smart wearable device for a period of time (up to the preset time), it is determined that the user has a need to enable the AR device and the smart wearable device to interact with data.

[0071] Exemplarily, the preset time can be set as needed, such as 2s, 3s, etc.

[0072] It should be noted that the specific implementation of calculating the new device distance and the new device angle is basically the same as the specific implementation of calculating the device distance and the device angle mentioned above, and will not be repeated here.

[0073] Step S30: If the conditions are met, a Bluetooth connection is established with the second device, and data is exchanged with the second device based on the Bluetooth connection.

[0074] If not, continue to receive pulse signals until it is satisfied.

[0075] Exemplarily, the first device is an AR device, the second device is a smart wearable device, and the data interaction with the second device based on the Bluetooth connection includes:

[0076] Step d, receiving user data sent by the smart wearable device based on the Bluetooth connection;

[0077] Step e: displaying the user data so that the user can obtain the user data collected by the smart wearable device through the AR device.

[0078] Exemplarily, user data includes sports health data and / or application data, etc. It can be understood that since the display effect of AR devices is much better than that of smart wearable devices (small screen), displaying user data collected by smart wearable devices through AR devices is significantly improved compared to directly displaying user data through smart wearable devices.

[0079] It should be noted that if it is determined that the relative position relationship does not meet the preset trigger condition, the pulse signal sent by the second device continues to be received through the first antenna and the second antenna, or other antennas receive the pulse signal sent by the second device until it is determined that the relative position relationship meets the preset trigger condition.

[0080] It can be understood that when the first device is an AR device and the second device is a smart wearable device, the AR device includes at least a first antenna and a second antenna, and the smart wearable device includes a third antenna; when the first device is a smart wearable device and the second device is an AR device, the AR device includes at least a first antenna and a second antenna, and the AR device includes a third antenna.

[0081] Correspondingly, for the case where the first device and the second device are other devices, the difference between the case where the first device is an AR device and the second device is a smart wearable device is that the data when data interaction occurs between the devices is different and the way of outputting the data is different. For example, if the first device is a smart speaker and the second device is a smart TV, the smart speaker receives the audio data of the smart TV and outputs the audio data as sound; in another case, if the first device is an AR device and the second device is a smart TV, its data and corresponding output method are basically the same as the data and corresponding output method of the first device being an AR device and the second device being a smart wearable device; in another case, if the first device is an AR device and the second device is a smart speaker, its data and corresponding output method are basically the same as the data and corresponding output method of the first device being a smart speaker and the second device being a smart TV.

[0082] Compared with the prior art, since if data interaction is required between devices, the user needs to operate the device to establish a Bluetooth connection between the two devices, resulting in a cumbersome process for data interaction between devices, the present application interacts with the second device by determining that the relative position relationship between the first device and the second device in time meets a preset trigger condition based on at least the first received signal and the second received signal, wherein the first received signal is received by the first antenna in the first device and the second received signal is received by the second antenna in the first device. Thus, when the first device and the second device need to interact with data, the two devices can automatically establish a Bluetooth connection by themselves and interact with data through the Bluetooth connection. The entire process does not require user participation, that is, the user does not need to perform device connection operations, thereby simplifying the process of data interaction between devices.

[0083] This application also provides a data interaction method, referring to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the data interaction method of the present application.

[0084] The embodiment of the present application provides an embodiment of the data interaction method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here. The data interaction method can be applied to a second device, the second device is an AR device or a smart wearable device, the second device includes at least a second UWB (Ultra Wide Band) module, and the second UWB module includes at least a third antenna. It can be understood that the second device is a UWB device.

[0085] For ease of description, the following description of each step of the data interaction method is omitted. The data interaction method includes the following steps:

[0086] Step A10: sending a pulse signal to the first device based on the third antenna, so that the first device receives the pulse signal and determines, based on the pulse signal, whether the relative position relationship between the first device and the second device meets a preset trigger condition;

[0087] Step A20, after the first device determines that the relative position relationship meets the preset trigger condition, establishing a Bluetooth connection with the first device;

[0088] Exemplarily, the first device is a smart wearable device, the second device is an AR device, and the data interaction with the first device based on the Bluetooth connection includes:

[0089] Step f, receiving user data sent by the smart wearable device based on the Bluetooth connection;

[0090] Step g: displaying the user data so that the user can obtain the user data collected by the smart wearable device through the AR device.

[0091] Step A30: interacting with the first device based on the Bluetooth connection.

[0092] In this embodiment, the execution subject is the second device, and the specific implementation method is basically the same as the specific method in which the execution subject is the first device, and will not be repeated here.

[0093] In addition, the present application also provides a data interaction system, the system comprising a first device and a second device; the first device comprises at least a first UWB module, the first UWB module comprises at least a first antenna and a second antenna; the second device comprises at least a second UWB module, the second UWB module comprises a third antenna;

[0094] The first device is used to: receive a pulse signal sent by the second device based on the first antenna to obtain a first received signal, and receive the pulse signal based on the second antenna to obtain a second received signal; determine whether the relative position relationship between the first device and the second device meets a preset trigger condition based at least on the first received signal and the second received signal; if so, establish a Bluetooth connection with the second device, and exchange data with the second device based on the Bluetooth connection;

[0095] The second device is used to: send a pulse signal to the first device based on the third antenna, so that the first device receives the pulse signal and determines whether the relative position relationship between the first device and the second device meets the preset trigger condition based on the pulse signal; establish a Bluetooth connection with the first device after the first device determines that the relative position relationship meets the preset trigger condition; and interact with the first device based on the Bluetooth connection.

[0096] The specific implementation of the data interaction system of the present application is basically the same as the various embodiments of the above-mentioned data interaction method, and will not be repeated here.

[0097] In addition, the present application also provides a data interaction device, which is applied to a first device, wherein the first device includes at least a first UWB module, and the first UWB module includes at least a first antenna and a second antenna, and the data interaction device includes:

[0098] a receiving module, configured to receive a pulse signal sent by a second device based on the first antenna to obtain a first received signal, and to receive the pulse signal based on the second antenna to obtain a second received signal;

[0099] a determination module, configured to determine whether a relative position relationship between the first device and the second device satisfies a preset trigger condition based at least on the first received signal and the second received signal;

[0100] A connection establishment module is used to establish a Bluetooth connection with the second device if the conditions are met, and to perform data exchange with the second device based on the Bluetooth connection.

[0101] Exemplarily, the relative position relationship includes a device distance and a device angle, and the determination module is specifically used to:

[0102] Calculating a device distance between the first device and the second device, and calculating a device angle between the first device and the second device based at least on the first received signal and the second received signal;

[0103] If the device distance is less than or equal to a preset device distance, and the device angle is less than or equal to a preset device angle, it is determined that a preset trigger condition is met.

[0104] Exemplarily, the determining module is specifically used for:

[0105] If the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, then continuously receiving the pulse signal within a preset time;

[0106] Based on the continuously received pulse signals, calculate the new device distance and the new device angle;

[0107] If the new device distance and the new device angle do not change, it is determined that the preset trigger condition is met.

[0108] Exemplarily, the data interaction device further includes:

[0109] The control module is used to detect a preset operation and control the first device to enter a device linkage mode; when the first device is in the device linkage mode, the steps of receiving a pulse signal sent by the second device based on the first antenna to obtain a first received signal and receiving the pulse signal based on the second antenna to obtain a second received signal are executed.

[0110] Exemplarily, the first device is an AR device, the second device is a smart wearable device, and the data interaction with the second device based on the Bluetooth connection includes:

[0111] Based on the Bluetooth connection, receiving user data sent by the smart wearable device;

[0112] The user data is displayed so that the user can obtain the user data collected by the smart wearable device through the AR device.

[0113] The specific implementation of the data interaction device of the present application is basically the same as the various embodiments of the above-mentioned data interaction method, and will not be repeated here.

[0114] In addition, the present application also provides a data interaction device, which is applied to a second device, wherein the second device at least includes a second UWB module, and the second UWB module includes a third antenna. The data interaction device includes:

[0115] a sending module, configured to send a pulse signal to the first device based on the third antenna, so that the first device receives the pulse signal and determines, based on the pulse signal, whether the relative position relationship between the first device and the second device meets a preset trigger condition;

[0116] A connection establishment module, configured to establish a Bluetooth connection with the first device after the first device determines that the relative position relationship satisfies the preset trigger condition;

[0117] An interaction module is used to perform data interaction with the first device based on the Bluetooth connection.

[0118] Exemplarily, the first device is a smart wearable device, the second device is an AR device, and the interaction module is specifically used for:

[0119] Based on the Bluetooth connection, receiving user data sent by the smart wearable device;

[0120] The user data is displayed so that the user can obtain the user data collected by the smart wearable device through the AR device.

[0121] The specific implementation of the data interaction device of the present application is basically the same as the various embodiments of the above-mentioned data interaction method, and will not be repeated here.

[0122] In addition, the present application also provides a data interaction system, the system comprising a first device and a second device; the first device comprises at least a first UWB module, the first UWB module comprises at least a first antenna and a second antenna; the second device comprises at least a second UWB module, the second UWB module comprises a third antenna;

[0123] The first device is used to: receive a pulse signal sent by the second device based on the first antenna to obtain a first received signal, and receive the pulse signal based on the second antenna to obtain a second received signal; determine whether the relative position relationship between the first device and the second device meets a preset trigger condition based at least on the first received signal and the second received signal; if so, establish a Bluetooth connection with the second device, and exchange data with the second device based on the Bluetooth connection;

[0124] The second device is used to: send a pulse signal to the first device based on the third antenna, so that the first device receives the pulse signal and determines whether the relative position relationship between the first device and the second device meets the preset trigger condition based on the pulse signal; establish a Bluetooth connection with the first device after the first device determines that the relative position relationship meets the preset trigger condition; and interact with the first device based on the Bluetooth connection.

[0125] The specific implementation of the data interaction system of the present application is basically the same as the various embodiments of the above-mentioned data interaction method, and will not be repeated here.

[0126] In addition, the present application also provides a UWB device, which is an AR device or a smart wearable device. Figure 4 As shown, Figure 4 It is a structural diagram of the hardware operating environment involved in the embodiment of the present application.

[0127] It should be noted that Figure 4 This is a structural diagram of the hardware operating environment of the UWB device.

[0128] like Figure 4As shown, the UWB device may include: a processor 4001, such as a CPU, a memory 4005, a user interface 4003, a network interface 4004, and a communication bus 4002. Among them, the communication bus 4002 is used to realize the connection and communication between these components. The user interface 4003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 4003 may also include a standard wired interface and a wireless interface. The network interface 4004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 4005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 4005 may optionally be a storage device independent of the aforementioned processor 4001.

[0129] Optionally, the UWB device may also include an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.

[0130] Those skilled in the art will understand that Figure 4 The UWB device structure shown in the figure does not constitute a limitation on the UWB device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0131] like Figure 4 As shown, the memory 4005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a data interaction program. The operating system is a program that manages and controls the hardware and software resources of the UWB device and supports the operation of the data interaction program and other software or programs.

[0132] exist Figure 4 In the UWB device shown, the user interface 4003 is mainly used to connect to the terminal and communicate data with the terminal, such as receiving a request sent by the terminal; the network interface 4004 is mainly used for the background server and communicates data with the background server; the processor 4001 can be used to call the data interaction program stored in the memory 4005 and execute the steps of the data interaction method as described above.

[0133] The specific implementation of the UWB device of the present application is basically the same as the above-mentioned data interaction method embodiments, and will not be repeated here.

[0134] In addition, an embodiment of the present application further proposes a computer-readable storage medium, on which a data interaction program is stored. When the data interaction program is executed by a processor, the steps of the data interaction method described above are implemented.

[0135] The specific implementation of the computer-readable storage medium of the present application is basically the same as the various embodiments of the above-mentioned data interaction method, and will not be repeated here.

[0136] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0137] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, device, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0139] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data interaction method, characterized in that: Applied to a first device, the first device includes at least a first UWB module, the first UWB module includes at least a first antenna and a second antenna, and the data interaction method includes: Determining that the user has a need to enable the first device to interact with the second device, and the first device receives a pulse signal sent by the second device; Receiving a pulse signal sent by a second device based on the first antenna to obtain a first received signal, and receiving the pulse signal based on the second antenna to obtain a second received signal; Determining whether a relative position relationship between the first device and the second device satisfies a preset trigger condition based at least on the first received signal and the second received signal; If the conditions are met, establishing a Bluetooth connection with the second device, and performing data exchange with the second device based on the Bluetooth connection; The relative position relationship includes a device distance and a device angle, and determining whether the relative position relationship between the first device and the second device meets a preset trigger condition based at least on the first received signal and the second received signal includes: Calculating a device distance between the first device and the second device, and calculating a device angle between the first device and the second device based at least on the first received signal and the second received signal; If the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, it is determined that the preset trigger condition is met; Before the first antenna receives a pulse signal sent by the second device to obtain a first received signal, and the second antenna receives the pulse signal to obtain a second received signal, the method includes: Upon detecting a preset operation, controlling the first device to enter a device linkage mode; The steps of receiving the pulse signal sent by the second device based on the first antenna to obtain a first received signal and receiving the pulse signal based on the second antenna to obtain a second received signal are performed only when the first device is in the device linkage mode.

2. The method according to claim 1, characterized in that If the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, determining that the preset trigger condition is met includes: If the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, then continuously receiving the pulse signal within a preset time; Based on the continuously received pulse signals, calculate the new device distance and the new device angle; If the new device distance and the new device angle do not change, it is determined that the preset trigger condition is met.

3. The method according to claim 1, characterized in that The first device is an AR device, the second device is a smart wearable device, and the data interaction with the second device based on the Bluetooth connection includes: Based on the Bluetooth connection, receiving user data sent by the smart wearable device; The user data is displayed so that the user can obtain the user data collected by the smart wearable device through the AR device.

4. A data interaction method, characterized in that: Applied to a second device, the second device at least includes a second UWB module, the second UWB module includes a third antenna, and the data interaction method includes: Based on the third antenna, a pulse signal is sent to the first device, so that the first device receives the pulse signal and determines, based on the pulse signal, whether the relative position relationship between the first device and the second device meets a preset trigger condition; The relative position relationship includes a device distance and a device angle, and sending a pulse signal to the first device based on the third antenna so that the first device receives the pulse signal and determines, based on the pulse signal, whether the relative position relationship between the first device and the second device meets a preset trigger condition, including: Based on the third antenna, a pulse signal is sent to the first device, so that the first device calculates the device distance between the first device and the second device and calculates the device angle between the first device and the second device based on the pulse signal; and the first device determines that a preset trigger condition is met when it is determined that the device distance is less than or equal to a preset device distance and the device angle is less than or equal to a preset device angle; After the first device determines that the relative position relationship meets the preset trigger condition, establishing a Bluetooth connection with the first device; Based on the Bluetooth connection, perform data interaction with the first device; Before the pulse signal is sent to the first device based on the third antenna so that the first device receives the pulse signal, the method includes: receiving a control sent by the first device based on the detected preset operation, and entering a device linkage mode; When in the device linkage mode, the step of sending a pulse signal to the first device based on the third antenna is performed so that the first device receives the pulse signal.

5. The method according to claim 4, characterized in that The first device is a smart wearable device, the second device is an AR device, and the data interaction with the first device based on the Bluetooth connection includes: Based on the Bluetooth connection, receiving user data sent by the smart wearable device; The user data is displayed so that the user can obtain the user data collected by the smart wearable device through the AR device.

6. A data interaction system, characterized in that: The system includes a first device and a second device; the first device includes at least a first UWB module, the first UWB module includes at least a first antenna and a second antenna; the second device includes at least a second UWB module, the second UWB module includes a third antenna; The first device is used to: determine that a user has a need to enable the first device to interact with the second device for data, and the first device receives a pulse signal sent by the second device; Receiving a pulse signal sent by a second device based on the first antenna to obtain a first received signal, and receiving the pulse signal based on the second antenna to obtain a second received signal; At least based on the first received signal and the second received signal, determine whether the relative position relationship between the first device and the second device meets the preset trigger condition; if so, establish a Bluetooth connection with the second device, and based on the Bluetooth connection, perform data interaction with the second device; the relative position relationship includes a device distance and a device angle, and the determining whether the relative position relationship between the first device and the second device meets the preset trigger condition at least based on the first received signal and the second received signal includes: calculating the device distance between the first device and the second device, and calculating the device angle between the first device and the second device based on at least the first received signal and the second received signal; if the device distance is less than or equal to the preset device distance, and the device angle is less than or equal to the preset device angle, determine that the preset trigger condition is met; before the first antenna receives the pulse signal sent by the second device to obtain the first received signal, and the second antenna receives the pulse signal to obtain the second received signal, the steps include: detecting a preset operation and controlling the first device to enter the device linkage mode; when the first device is in the device linkage mode, the steps of receiving the pulse signal sent by the second device based on the first antenna to obtain the first received signal, and receiving the pulse signal based on the second antenna to obtain the second received signal are performed; The second device is used to: send a pulse signal to the first device based on the third antenna, so that the first device receives the pulse signal and determines whether the relative position relationship between the first device and the second device meets a preset trigger condition based on the pulse signal; The relative position relationship includes a device distance and a device angle. The sending of a pulse signal to the first device based on the third antenna so that the first device receives the pulse signal and determines whether the relative position relationship between the first device and the second device meets a preset trigger condition based on the pulse signal, including: sending a pulse signal to the first device based on the third antenna so that the first device calculates the device distance between the first device and the second device and calculates the device angle between the first device and the second device based on the pulse signal; and when the first device determines that the device distance is less than or equal to a preset device distance and the device angle is less than or equal to a preset device angle, determines that the preset trigger condition is met; after the first device determines that the relative position relationship meets the preset trigger condition, establishes a Bluetooth connection with the first device; and exchanges data with the first device based on the Bluetooth connection; before the sending of a pulse signal to the first device based on the third antenna so that the first device receives the pulse signal, includes: receiving a control sent by the first device based on a detected preset operation to enter a device linkage mode; when in the device linkage mode, executing the step of sending a pulse signal to the first device based on the third antenna so that the first device receives the pulse signal.

7. A UWB device, characterized in that: The UWB device includes a memory, a processor, and a data interaction program stored in the memory and executable on the processor. When the data interaction program is executed by the processor, the steps of the data interaction method according to any one of claims 1 to 3 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a data interaction program, and when the data interaction program is executed by a processor, the steps of the data interaction method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Positioning apparatus and positioning method

    CN107677990A

  • Connection method, device and equipment and computer storage medium

    CN113015065A

  • Bluetooth connection method, electronic equipment and storage medium

    CN113347560A