A method, device and electronic system for establishing connection

By detecting the position information in the action and the response information received by multiple antennas, the relative coordinates and direction of the Bluetooth device are determined, which solves the problem that the traditional Bluetooth connection method cannot determine the target device, realizes the pointing connection of electronic devices, and improves the user experience. and connection efficiency.

CN114302501BActive Publication Date: 2024-10-18LENOVO (BEIJING) LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111679113.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-10-18
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The traditional Bluetooth connection method cannot meet the high requirements of users for wireless communication interconnection in the complex Internet of Everything environment, and cannot effectively determine the target device that the user wants to connect to, resulting in poor user experience.

Method used

By detecting the location information in the action, determine the device with the corresponding tag, issue connection requests to multiple devices, determine the target device based on the response information and location information, use the phase difference received by multiple antennas to determine the relative coordinates of the device, and combine the actions The direction determines the target device and implements data connection.

Benefits of technology

It realizes the directional connection of electronic devices, improves user experience, enriches wireless connection methods, and can quickly and accurately connect to target devices to meet user needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114302501B_ABST
    Figure CN114302501B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and electronic system for establishing a connection, the method comprising: detecting a first action, the first action including location information; determining at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device; issuing connection requests to the at least one second device respectively; determining a target device according to the response information returned by each second device based on the received connection request and the location information, the target device being any one of the at least one second device; and establishing a data connection with the determined target device. The above implementation scheme can determine multiple second devices that the first device can connect to based on positioning technology, and then determine the target device that the user actually wants to connect to from multiple second devices in combination with the orientation information of the first action of the first device, thereby realizing pointed connection of electronic devices and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to wireless connection technology, and more specifically, to a method, device and electronic system for establishing a connection. Background Art

[0002] Currently, the application scope of Bluetooth technology is very wide, providing great convenience for the communication and interconnection of users. However, in the face of the increasingly complex application environment of the Internet of Everything, users have higher and higher requirements for wireless communication and interconnection, and the traditional Bluetooth connection method can no longer meet the needs of the majority of users. Summary of the invention

[0003] In view of this, this application provides the following technical solutions:

[0004] A method for establishing a connection, applied to a first device, comprising:

[0005] detecting a first action, the first action including location information;

[0006] Determining at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device;

[0007] Sending a connection request to the at least one second device respectively;

[0008] Determine a target device according to the response information returned by each second device based on the received connection request and the location information, the target device being any one of the at least one second device;

[0009] A data connection is established with the determined target device.

[0010] Optionally, the first device includes at least two antennas, and determining the target device according to the response information returned by each of the second devices based on the received connection request and the location information includes:

[0011] Determine the relative coordinates of the second device based on the phase difference of the response information of the same second device received by the at least two antennas, wherein the relative coordinates take the starting point of the first action as the origin;

[0012] A second device whose relative coordinates correspond to the location information is determined as a target device.

[0013] Optionally, the position information includes an action direction, and determining the second device whose relative coordinates correspond to the position information as the target device includes:

[0014] A second device whose direction of relative coordinates relative to the origin and corresponding to the action direction is determined as the target device, wherein the direction correspondence indicates that the directions are the same or the direction deviation is less than a set value.

[0015] Optionally, after determining the relative coordinates of the second device based on the phase difference of the response information of the same second device received by the at least two antennas, the method further includes:

[0016] determining a transformed coordinate of the second device based on the relative coordinate and the world coordinate of the second device;

[0017] A virtual scene of the second device is constructed based on the converted coordinates.

[0018] Optionally, also include:

[0019] The connection configuration is performed in advance in the wireless connection protocol layer, and the configuration content of the connection configuration includes the device name of the device to be connected and the connection requirement information, and the connection requirement information includes the orientation information.

[0020] Optionally, the determining at least one second device having the first tag includes:

[0021] searching to determine at least one second device having the first tag;

[0022] Or, at least one second device having the first tag is determined from the historical connection tag list.

[0023] Optionally, the first device is a wearable device, and the detecting the first action includes:

[0024] The first action is determined by detecting a posture sensor disposed on the wearable device.

[0025] Optionally, after determining the target device according to the response information returned by each second device based on the received connection request and the location information, the method further includes:

[0026] The connection between the target device and the other second devices is closed.

[0027] The present application also discloses a device for establishing a connection, which is applied to a first device and includes:

[0028] An action detection module, configured to detect a first action, wherein the first action includes position information;

[0029] A device determination module, configured to determine at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device;

[0030] A connection request module, configured to send a connection request to the at least one second device respectively;

[0031] a target determination module, configured to determine a target device according to the response information returned by each of the second devices based on the received connection request and the location information, wherein the target device is any one of the at least one second device;

[0032] The connection determination module is used to establish a data connection with the determined target device.

[0033] The present application also discloses an electronic system, comprising:

[0034] A first device, including a gesture sensor, a Bluetooth module and a processor;

[0035] at least one second device;

[0036] in:

[0037] The posture sensor is used to detect a first action of operating a first device, wherein the first action includes position information;

[0038] A Bluetooth module, configured to determine at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device;

[0039] Used to send a connection request to the at least one second device and receive response information respectively;

[0040] The second device sends response information to the first device based on the connection request;

[0041] The processor determines a target device based on the response information and the location information;

[0042] The target device is any one of the at least one second device;

[0043] The Bluetooth module is also used to establish a data connection with the determined target device.

[0044] It can be known from the above technical scheme that compared with the prior art, the embodiment of the present application discloses a method, device and electronic system for establishing a connection, the method comprising: detecting a first action, the first action including location information; determining at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device; issuing connection requests to the at least one second device respectively; determining a target device according to the response information returned by each second device based on the received connection request and the location information, the target device being any one of the at least one second device; establishing a data connection with the determined target device. The above implementation scheme can determine multiple second devices that the first device can connect to based on positioning technology, and then determine the target device that the user actually wants to connect to from multiple second devices in combination with the orientation information of the first action of the first device, thereby realizing pointed connection of electronic devices and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0046] Figure 1 A flowchart of a method for establishing a connection disclosed in an embodiment of the present application;

[0047] Figure 2 A flowchart for determining a target device disclosed in an embodiment of the present application;

[0048] Figure 3 A schematic diagram of the principle of determining a target device in a relative coordinate system disclosed in an embodiment of the present application;

[0049] Figure 4 A flowchart of another method for establishing a connection disclosed in an embodiment of the present application;

[0050] Figure 5 A schematic diagram of a specific implementation of a method for establishing a connection disclosed in an embodiment of the present application;

[0051] Figure 6 A schematic diagram of the structure of a device for establishing a connection disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] The embodiment of the present application can be applied to the first device. The present application does not limit the product form of the first device, which can include but is not limited to smartphones, tablet computers, wearable devices, smart watches, smart bracelets, smart rings, etc., which can be selected according to application requirements. The second device herein is an electronic device that can establish a wireless connection with the first device, and its product form also has various types, which can be but is not limited to smartphones, smart air conditioners, smart TVs, etc.

[0054] Figure 1 The present invention is a flowchart of a method for establishing a connection disclosed in an embodiment of the present application. Figure 1 The method is applied to a first device. Figure 1 As shown, the method of establishing a connection may include:

[0055] Step 101: A first action is detected, where the first action includes location information.

[0056] The first action refers to the first action of the first device. It is understandable that when the position or posture of the first device changes, a "first action" will occur. Here, when the position or posture of the first device changes, it can be detected by a detection module arranged on the first device, such as through a posture sensor, which can detect how the position and posture of the first device have changed. The first action is not an arbitrary action, but a pre-set action that meets certain conditions. For example, the first action is that the first device moves a certain distance in a certain direction; for example, the first action is that the first device satisfies a certain specific aerial moving posture, such as an arc trajectory greater than a predetermined radius.

[0057] It should be noted that the first action of the first device is not a dynamic result generated by the device itself, but a dynamic result generated by the user's manual operation or driving of the first device. For example, the first device is a wearable device, specifically an electronic ring; since the electronic ring is worn on the user's finger, when the user raises his arm and moves his hand from left to right for a certain distance, it is considered that the first electronic device has completed the first action, and its internal detection module will also detect the "first action".

[0058] The first action includes location information, and the location information may specifically include but is not limited to any of the information such as the starting position, end position, moving trajectory, and moving direction of the action. The present application does not impose a fixed restriction on this, and the corresponding configuration can be carried out based on the needs of the actual application scenario.

[0059] Step 102: Determine at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device.

[0060] The first device and the second device have multiple wireless connection methods, such as Bluetooth connection method. Before establishing a wireless connection, the first device needs to search for surrounding electronic devices that can be connected. In the era of electronic information, there are many types and quantities of electronic devices, and most electronic devices have wireless connection functions. Therefore, if the first device searches for all electronic devices, it will waste a very long time and resources. In this application, the first device can directly determine the second device to which it can connect through the first tag. The first tag here can exist in both the first device and the second device, that is, the first device needs to connect to the second device with the same tag as itself, such as electronic devices that need to be used in conjunction usually have the same device tag; or the first tag has a corresponding association relationship with the tag of the first device, such as different types of electronic devices produced by the same manufacturer, and their device tags will contain some of the same or related information.

[0061] Step 103: Send a connection request to the at least one second device respectively.

[0062] The second devices with the first tag all meet the connection condition of the first device. In actual situations, there may be multiple second devices that meet the connection condition of the first device within the search range of the first device, but the user actually wants to connect to only one of the fixed second devices. Therefore, it is necessary to determine the second device that the user actually wants to connect to from the multiple second devices.

[0063] In the embodiment of the present application, after determining at least one second device, a connection request is firstly sent to each second device respectively, so as to facilitate subsequent further identification processing based on the response information returned by each second device.

[0064] Step 104: Determine a target device according to the response information returned by each of the second devices based on the received connection request and the location information.

[0065] The target device is any one of the at least one second device.

[0066] Specifically, the relative position of the second device relative to the first device can be determined based on the response information returned by the second device. For example, the relative position of the second device can be determined by using Bluetooth positioning technology, namely Bluetooth AOA (Angle of Arrival) technology.

[0067] After the relative position of the second device is determined, combined with the position information of the first action, the target device that the user actually wants to connect to can be determined. The specific implementation will be described in detail in the following embodiments, and will not be described in detail here.

[0068] Step 105: Establish a data connection with the determined target device.

[0069] After the target device is determined, a data connection is established with the target device to achieve normal data communication.

[0070] The method for establishing a connection described in this embodiment can determine multiple second devices that the first device can connect to based on positioning technology, and then combine the orientation information of the first action of the first device to determine the target device that the user actually wants to connect to from the multiple second devices, thereby realizing pointed connection of electronic devices, that is, automatically connecting to the electronic device pointed by the user, thereby enriching the wireless connection methods between different devices and improving the user experience.

[0071] For details on how to determine the target device, see Figure 2 , Figure 2 This is a flow chart of determining a target device disclosed in an embodiment of the present application. In this implementation, the first device includes at least two antennas, combined with Figure 2 As shown, determining the target device according to the response information returned by each second device based on the received connection request and the location information may include:

[0072] Step 201: Determine the relative coordinates of the same second device based on the phase difference of the response information of the second device received by the at least two antennas, wherein the relative coordinates take the starting point of the first action as the origin.

[0073] The first device can be equipped with a Bluetooth array antenna as a receiver for Bluetooth AOA positioning, and the second device can be used as a transmitter for Bluetooth AOA positioning. For example, a wearable device connects two Bluetooth devices to obtain the relative coordinates of the devices; the array antenna deployed on the Bluetooth receiver of the wearable device can be understood as a combination of multiple antennas, so the difference between the same wave reaching different antennas will produce a phase difference. Using this phase difference, the angle from the second device - Bluetooth transmitter to the first device - Bluetooth receiver can be obtained; then the relative coordinates of the second device based on the origin can be obtained according to the triangulation positioning method.

[0074] Step 202: Determine a second device whose relative coordinates correspond to the location information as a target device.

[0075] The position information may represent the direction of the first action, that is, the orientation. After the relative coordinates of each second device are determined, the second device whose direction corresponds to the direction of the first action may be determined as the target device.

[0076] Specifically, the detection module in the first device can capture the first action, that is, the pointing action, and obtain a direction, that is, the pointing direction, from the starting point to the ending point in the relative coordinate system.

[0077] Based on the above, determining the second device corresponding to the relative coordinates and the position information as the target device may include: determining the second device corresponding to the direction of the relative coordinates relative to the origin and the action direction as the target device, wherein the direction correspondence represents the same direction or the direction deviation is less than a set value. Figure 3 This is a schematic diagram of the principle of determining the target device in the relative coordinate system disclosed in the embodiment of the present application, wherein the wearable device represents the first device, and device 1 and device 2 represent the second device. Figure 3 , two second devices, device 1 and device 2, are determined in the relative coordinate system. Combined with the direction of the first action, it can be determined that the wearable device needs to be connected to device 2.

[0078] In one implementation, after determining the relative coordinates of the second device based on the phase difference of the response information of the same second device received by the at least two antennas, it can also include: determining the transformation coordinates of the second device based on the relative coordinates and world coordinates of the second device; and constructing a virtual scene of the second device based on the transformation coordinates.

[0079] In this implementation, the first device is a virtual reality VR device, and the user can perform the first action by shaking his head, turning his head or shaking when wearing the VR device. In the process of using the VR device, some applications need to construct their virtual objects based on the second device existing in the actual environment. For example, in some applications of the virtual reality VR device, it is necessary to construct a virtual object of the second device existing in the environment, such as a smart air conditioner, and the display position of the constructed virtual object of the second device needs to be converted and determined based on the position information of the second device in the real world. Therefore, in this embodiment, after obtaining the relative coordinates of the second device, the real world coordinates of the second device can be further obtained, and then the conversion coordinates of the second device can be determined based on the relative coordinates and world coordinates of the second device, and then the virtual scene of the second device can be constructed based on the conversion coordinates, which meets the construction requirements of virtual scenes of some applications in the VR device.

[0080] In one implementation, the method for establishing a connection described in the aforementioned embodiment may further include, before implementation: performing connection configuration in the wireless connection protocol layer in advance, wherein the configuration content of the connection configuration includes the device name of the device to be connected and connection requirement information, and the connection requirement information includes location information.

[0081] The device name of the device to be connected can also be understood as a device tag, which can effectively characterize the device identity and / or device type, so that the device that can establish a wireless connection with it can quickly and accurately identify itself. In a specific implementation, after the initial installation of the driver, the electronic device can generate a device collaboration tag, which can be the basis for the first device to search for the second device to which it can connect.

[0082] In addition, the connection requirement information specifies what information needs to be obtained and what conditions need to be met to establish a connection. For example, in the traditional Bluetooth protocol, Bluetooth positioning information is required for different electronic devices to establish a Bluetooth connection; based on the disclosure of the embodiments of the present application, the Bluetooth protocol stipulates that different devices need not only Bluetooth positioning information but also orientation information to establish a Bluetooth connection. By combining the positioning information and orientation information, the target device that the user wants to connect to can be accurately determined to achieve a pointed connection. That is, wherever the user points the first device, the second device in the corresponding direction will be connected, and the second device in other directions will not be connected.

[0083] In this implementation, the positioning information and direction information are integrated together, and the data of the two are fused at the wireless connection protocol layer, realizing the directional connection between different devices. Moreover, for device positioning, the fusion of direction information can also greatly improve the positioning accuracy of the device. This implementation fits the user's real life habits, meets the user's needs for fast and accurate connection to the target device, and can greatly optimize the user experience.

[0084] In the foregoing, the first device may be a wearable device, and the detecting the first action may include: determining the first action by detecting a posture sensor disposed on the wearable device. The posture sensor may be, but is not limited to, a 6-axis or 9-axis posture sensor to provide high-precision posture detection data.

[0085] In the present application, determining the second device may be implemented in different ways. Specifically, determining at least one second device with the first tag may include: searching to determine at least one second device with the first tag; or determining at least one second device with the first tag from a historical connection tag list.

[0086] In one implementation, after detecting the first action, the first device may actively search for all second devices with the first tag within its identification range by searching.

[0087] In another implementation, the first device saves the device tags of all second devices it has connected to. Therefore, in this implementation, after detecting the first action, it can first detect whether there is a historical connection tag list. If so, a connection request is directly sent to the second device in the tag list, and subsequent related operations are continued.

[0088] It is understandable that the on-site search by the first device for the second device with the first tag takes more time than the method of directly determining the second device from the tag list. Therefore, in actual applications, after detecting the first action, it is possible to first determine whether there is a historical connection tag list. If so, the second device is directly determined from the historical connection tag list; if not, the search function is restarted to actively search for the second device with the first tag.

[0089] Figure 4 This is a flow chart of another method for establishing a connection disclosed in an embodiment of the present application. Figure 4 As shown, the method of establishing a connection may include:

[0090] Step 401: A first action is detected, where the first action includes location information.

[0091] Step 402: Determine at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device.

[0092] Step 403: Send a connection request to the at least one second device respectively.

[0093] Step 404: Determine a target device according to the response information returned by each of the second devices based on the received connection request and the location information.

[0094] Step 405: Establish a data connection with the determined target device.

[0095] Step 406: close the connection between the target device and the other second devices.

[0096] Since the first device has previously sent a connection request to each second device with the first tag and received response information from each second device, the first device has actually established a wireless connection with each second device. After the target device is determined, the wireless connection between the first device and other second devices other than the target device is not needed temporarily, so after the target device is determined, the connection between the first device and other second devices other than the target device can be closed. This not only saves resources of the first device, but also prevents signal interference between different wireless connection lines.

[0097] Figure 5This is a schematic diagram of a specific implementation of a method for establishing a connection disclosed in an embodiment of the present application. Figure 5 As shown, in a specific implementation, the first device is a wearable device. The 6-axis or 9-axis gesture algorithm of the wearable device captures the pointing action, searches for nearby Bluetooth devices with device collaboration tags, and initiates a connection request. After receiving the connection request, the driver on the device responds to the response. Through this connection, the relative three-dimensional coordinates of the device are obtained with the starting point of the pointing action of the wearable device as the origin. According to the orientation information provided by the pointing action at the protocol layer, the target device to be pointed at is determined. After acquiring the target device, the device driver automatically pairs with the target device to achieve pointing connection, and at the same time closes the wireless connection with other devices.

[0098] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0099] The method is described in detail in the embodiments disclosed in the above-mentioned application. The method of the application can be implemented by various forms of devices. Therefore, the application also discloses a device, and a specific embodiment is given below for detailed description.

[0100] Figure 6 A schematic diagram of the structure of a device for establishing a connection disclosed in an embodiment of the present application. Figure 6 The device shown is applied to the first device, see Figure 6 As shown, the means 60 for establishing a connection may include:

[0101] The action detection module 601 is used to detect a first action, where the first action includes position information.

[0102] The device determination module 602 is configured to determine at least one second device having a first tag, wherein the first tag is a tag corresponding to the first device.

[0103] The connection request module 603 is used to send a connection request to the at least one second device respectively.

[0104] The target determination module 604 is used to determine a target device according to the response information returned by each second device based on the received connection request and the location information, and the target device is any one of the at least one second device.

[0105] The connection determination module 605 is used to establish a data connection with the determined target device.

[0106] The device for establishing a connection described in this embodiment can determine multiple second devices that the first device can connect to based on positioning technology, and then combine the orientation information of the first action of the first device to determine the target device that the user actually wants to connect to from the multiple second devices, thereby realizing pointed connection of electronic devices, that is, automatically connecting to the electronic device pointed by the user, thereby enriching the wireless connection methods between different devices and improving the user experience.

[0107] In one implementation, the first device includes at least two antennas, and the target determination module includes: a coordinate determination module, used to determine the relative coordinates of the second device based on the phase difference of response information of the same second device received by the at least two antennas, and the relative coordinates take the starting point of the first action as the origin; a target determination submodule, used to determine the second device corresponding to the relative coordinates and the position information as the target device.

[0108] In one implementation, the position information includes the action direction, and the target determination submodule is specifically used to: determine a second device whose relative coordinates relative to the origin correspond to the action direction as the target device, wherein the direction correspondence represents that the directions are the same or the direction deviation is less than a set value.

[0109] In one implementation, the device for establishing a connection also includes: a coordinate processing module, used to determine the transformation coordinates of the second device based on the relative coordinates and world coordinates of the second device; and construct a virtual scene of the second device based on the transformation coordinates.

[0110] In one implementation, the device for establishing a connection also includes: a protocol configuration module, which is used to pre-configure the connection in the wireless connection protocol layer, and the configuration content of the connection configuration includes the device name of the device to be connected and connection requirement information, and the connection requirement information includes direction information.

[0111] In one implementation, the device determination module is specifically used to: search and determine at least one second device with the first tag; or determine at least one second device with the first tag from a historical connection tag list.

[0112] In one implementation, the first device is a wearable device, and the action detection module is specifically used to: determine the first action by detecting a posture sensor provided on the wearable device.

[0113] In one implementation, the device for establishing a connection also includes: a connection management module, which is used to close the connection between the second device other than the target device after the device determination module determines the target device based on the response information returned by each second device based on the received connection request and the location information.

[0114] Any one of the devices for establishing a connection in the above embodiments includes a processor and a memory. The action detection module, device determination module, connection request module, target determination module, connection determination module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to implement corresponding functions.

[0115] The processor includes a kernel, which retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of the access data can be realized by adjusting the kernel parameters.

[0116] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0117] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the method for establishing a connection described in the above embodiment is implemented.

[0118] An embodiment of the present application provides a processor, which is used to run a program, wherein the program executes the method for establishing a connection described in the above embodiment when running.

[0119] Furthermore, this embodiment provides an electronic device, including a processor and a memory, wherein the memory is used to store executable instructions of the processor, and the processor is configured to execute the method for establishing a connection described in the above embodiment by executing the executable instructions.

[0120] This embodiment also discloses an electronic system, including:

[0121] A first device, including a gesture sensor, a Bluetooth module and a processor;

[0122] at least one second device;

[0123] in:

[0124] The posture sensor is used to detect a first action of operating a first device, wherein the first action includes position information;

[0125] A Bluetooth module, configured to determine at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device;

[0126] Used to send a connection request to the at least one second device and receive response information respectively;

[0127] The second device sends response information to the first device based on the connection request;

[0128] The processor determines a target device based on the response information and the location information;

[0129] The target device is any one of the at least one second device;

[0130] The Bluetooth module is also used to establish a data connection with the determined target device.

[0131] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0132] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0133] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0134] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for establishing a connection, applied to a first device including a motion detection module, the method include: A first action is detected based on the action detection module, the first action includes position information, and the position information includes a direction of action; wherein the first action indicates that the position or posture of the first device changes; Determining at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device; Sending a Bluetooth connection request to the at least one second device respectively; Determine a target device according to the response information returned by each second device based on the received Bluetooth connection request and the action direction included in the location information, so as to achieve a directional connection from the first device to the target device, wherein the target device is any one of the at least one second device; A data connection is established with the determined target device.

2. The method for establishing a connection according to claim 1, wherein the first device comprises at least two antennas, and the target device is determined based on the response information returned by each second device based on the received Bluetooth connection request and the location information, include: Determine the relative coordinates of the second device based on the phase difference of the response information of the same second device received by the at least two antennas, wherein the relative coordinates take the starting point of the first action as the origin; A second device whose relative coordinates correspond to the location information is determined as a target device.

3. The method for establishing a connection according to claim 2, wherein the second device whose relative coordinates correspond to the location information is determined as the target device, include: A second device whose direction of relative coordinates relative to the origin and corresponding to the action direction is determined as the target device, wherein the direction correspondence indicates that the directions are the same or the direction deviation is less than a set value.

4. The method for establishing a connection according to claim 2, after determining the relative coordinates of the second device based on the phase difference of the response information of the same second device received by the at least two antennas, further comprising: include: determining a transformed coordinate of the second device based on the relative coordinate and the world coordinate of the second device; A virtual scene of the second device is constructed based on the converted coordinates.

5. The method for establishing a connection according to claim 1, further comprising: include: The connection configuration is performed in advance in the wireless connection protocol layer, and the configuration content of the connection configuration includes the device name of the device to be connected and the connection requirement information, and the connection requirement information includes the orientation information.

6. The method for establishing a connection according to claim 1, wherein the determining of at least one second device having a first tag, include: searching to determine at least one second device having the first tag; Or, at least one second device having the first tag is determined from the historical connection tag list.

7. The method for establishing a connection according to claim 1, wherein the first device is a wearable device, and the first action is detected. include: The first action is determined by detecting a posture sensor disposed on the wearable device.

8. The method for establishing a connection according to any one of claims 1 to 7, after determining the target device according to the response information returned by each second device based on the received Bluetooth connection request and the location information, further comprising: include: The connection between the target device and the other second devices is closed.

9. A device for establishing a connection, applied to a first device, include: an action detection module, configured to detect a first action, wherein the first action includes position information, and the position information includes an action direction; wherein the first action indicates that a position or posture of the first device changes; A device determination module, configured to determine at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device; A connection request module, configured to send a Bluetooth connection request to the at least one second device respectively; a target determination module, configured to determine a target device according to the response information returned by each second device based on the received Bluetooth connection request and the action direction included in the position information, so as to realize a directional connection from the first device to the target device, wherein the target device is any one of the at least one second device; The connection determination module is used to establish a data connection with the determined target device.

10. An electronic system, include: A first device, including a gesture sensor, a Bluetooth module and a processor; at least one second device; in: The posture sensor is used to detect a first action of operating a first device, the first action includes position information, and the position information includes a direction of action; wherein the first action indicates that the position or posture of the first device changes; A Bluetooth module, configured to determine at least one second device having a first tag, wherein the first tag is a tag having a corresponding relationship with the first device; Used to send a Bluetooth connection request to the at least one second device and receive response information respectively; The second device sends response information to the first device based on the Bluetooth connection request; The processor determines a target device based on the response information and the action direction included in the position information, so as to achieve a directional connection from the first device to the target device; The target device is any one of the at least one second device; The Bluetooth module is also used to establish a data connection with the determined target device.

Citation Information

Patent Citations

  • Visual attention driven communication connection establishment method

    CN104754497A

  • Target equipment determination method, device and user equipment

    CN106161737A

  • Bluetooth device connection method, equipment and device

    CN108769964A

  • Household appliance determination method and device, storage medium and electronic device

    CN113329335A

  • Advertising availability for ad-hoc networking based on stored device history

    US20070047435A1