WO2022100314A1 - IoT设备的控制方法、装置、控制系统及终端设备 - Google Patents
IoT设备的控制方法、装置、控制系统及终端设备 Download PDFInfo
- Publication number
- WO2022100314A1 WO2022100314A1 PCT/CN2021/121747 CN2021121747W WO2022100314A1 WO 2022100314 A1 WO2022100314 A1 WO 2022100314A1 CN 2021121747 W CN2021121747 W CN 2021121747W WO 2022100314 A1 WO2022100314 A1 WO 2022100314A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- uwb
- iot device
- target
- terminal device
- tag
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 105
- 238000004891 communication Methods 0.000 claims abstract description 207
- 238000013507 mapping Methods 0.000 claims description 43
- 230000006870 function Effects 0.000 claims description 34
- 230000004044 response Effects 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 8
- 230000001681 protective effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 28
- 230000008569 process Effects 0.000 description 22
- 101100327917 Caenorhabditis elegans chup-1 gene Proteins 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003542 behavioural effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 101150048216 tag-131 gene Proteins 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the embodiments of the present application relate to the technical field of UWB, and in particular, to a control method, apparatus, control system, and terminal device for an Internet of Things (Internet of Things, IoT) device.
- IoT Internet of Things
- Ultra Wide Band (UWB) technology is a wireless carrier communication technology. It does not use sinusoidal carriers, but uses nanosecond non-sinusoidal narrow pulses to transmit data, so it occupies a wide spectrum range, and Data transfer rates can reach hundreds of megabits per second or more.
- UWB technology has the advantages of low system complexity, low power spectral density of transmitted signals, insensitivity to channel fading, low interception capability, and high positioning accuracy. It is especially suitable for high-speed wireless access in dense multipath places such as indoors.
- Embodiments of the present application provide a control method, device, control system, and terminal device for an IoT device.
- the technical solution is as follows:
- an embodiment of the present application provides a method for controlling an IoT device, the method is used for a terminal device, and the method includes:
- an embodiment of the present application provides a method for controlling an IoT device.
- the method is used for a UWB tag, and the method includes:
- the terminal device determines the device information of the IoT device represented by the UWB label according to the data frame sent by the UWB tag, and establishes data with the IoT device according to the device information. communication connection, and control of the IoT device.
- a control module configured to establish a data communication connection with the IoT device according to the device information, and control the IoT device.
- an embodiment of the present application provides a control apparatus for an IoT device, and the apparatus includes:
- a data sending module is used to send a data frame to the terminal device, so that the terminal device determines the device information of the IoT device represented by the UWB label according to the data frame sent by the UWB label, and matches the device information with the device information according to the data frame sent by the UWB label.
- the IoT device establishes a data communication connection and controls the IoT device.
- an embodiment of the present application provides a control system for an IoT device, and the system includes a terminal device, a UWB tag, and an IoT device;
- the terminal device establishes UWB communication with the UWB tag, the UWB tag is used to represent the IoT device to be connected, and the UWB tag is independent of the IoT device;
- the UWB tag sends a data frame to the terminal device
- an embodiment of the present application provides a terminal device, where the terminal device includes: a processor, a memory, and a UWB component;
- the processor is electrically connected to the memory and the UWB component, respectively;
- the memory stores at least one instruction for execution by the processor to perform the following steps:
- an embodiment of the present application provides a computer-readable storage medium, where at least one piece of program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement the above aspects.
- FIG. 1 shows a schematic diagram of an implementation environment of an exemplary embodiment of the present application
- FIG. 5 shows a schematic diagram of a display control interface in a terminal device according to an exemplary embodiment of the present application
- FIG. 13 shows a structural block diagram of a terminal device provided by an exemplary embodiment of the present application.
- the terminal device 110 may establish UWB communication with the UWB tag 130 through the UWB component. That is, the terminal device 110 can receive the data frame sent by the UWB tag 130 through the UWB component, and determine the spatial position relationship between the terminal device 110 and the UWB tag 130 according to the data frame sent by the UWB tag 130 .
- the UWB component may be separated from the terminal device 110 , or the UWB component may be independent of the terminal device 110 . That is, the terminal device 110 has the function of establishing UWB communication with the UWB tag 130 when the UWB component is installed or worn; when the terminal device 110 does not carry or install the UWB component, the terminal device 110 may not be able to establish UWB with the UWB tag communication.
- the UWB component can be packaged as a terminal accessory, for example, the UWB component can be a terminal accessory such as a mobile phone case, a mobile phone protective cover, and a mobile phone ornament.
- the UWB component can also be set inside the terminal device 110, that is, the UWB component is set inside the terminal device 110, so that the terminal device 110 can establish UWB communication with the UWB tag 130 through the UWB component.
- the IoT device 120 is an electronic device that can establish a data communication connection function with the terminal device 110, which can be a smart TV 122, a smart speaker 121, a smart door lock 123, a smart refrigerator, a smart air conditioner, a smart lamp, a car air conditioner, and other devices.
- the above data communication connection means that the IoT device 120 and the terminal device 110 can exchange information through a data communication connection, and the data communication connection may be a WiFi connection, a Bluetooth connection, an infrared connection, etc., which is not limited in the embodiments of the present application.
- the UWB tag 130 sends a data frame to the terminal device 110, and the terminal device 110 determines the device information of the IoT device 120 represented by the UWB tag according to the received data frame, and establishes data communication with the IoT device 120 according to the device information. connect and control the IoT device 120.
- the target UWB tag determine the target device information of the target IoT device represented by the target UWB tag;
- IoT devices Establish data communication connections with IoT devices based on device information, and control IoT devices, including:
- the UWB tag pointed to by the terminal device is the target UWB tag, including:
- the terminal device According to the spatial positional relationship between the terminal device and each UWB tag, it is determined that the UWB tag pointed by the terminal device is the target UWB tag.
- the UWB label pointed by the terminal device is the target UWB label, including:
- a UWB tag whose horizontal direction angle with the terminal device is within the horizontal angle range and whose vertical direction angle with the terminal device is within the vertical angle range is determined as the target UWB tag.
- the target IoT device In response to the distance between the terminal device and the target IoT device being less than the distance threshold, establish a data communication connection with the target IoT device according to the target device information, and control the target IoT device.
- connection conditions corresponding to the target IoT device In response to satisfying the connection conditions corresponding to the target IoT device, establish a data communication connection with the target IoT device, and control the target IoT device;
- connection conditions include at least one of pointing duration conditions, gesture conditions, touch conditions, sensor conditions, and voice control conditions.
- the data frame sent by the UWB tag includes the device identifier and location information of the IoT device, and the terminal device is used to establish a data communication connection with the IoT device and perform control according to the device identifier and location information.
- the data frame sent by the UWB tag contains the device identifier of the IoT device, and the terminal device is used to establish a data communication connection with the IoT device and perform control according to the device identifier.
- the data frame sent by the UWB tag contains the tag identifier
- the terminal device stores the mapping relationship between the UWB tag and the IoT device.
- the terminal device is used to obtain the device identifier from the mapping relationship according to the The identification establishes and controls the data communication connection with the IoT device.
- mapping relationship indicated by the UWB tag is deleted.
- the current display screen of the terminal device is transmitted to the smart TV.
- a control interface corresponding to the smart home device is displayed, and the control interface includes function controls corresponding to the smart home device;
- the smart home device In response to the triggering operation on the function control in the control interface, the smart home device is controlled to execute the corresponding device function.
- UWB communication is established through the UWB component and the UWB tag, the UWB component and the terminal device can be separated, or the UWB component is set inside the terminal device.
- the UWB component receives the data frame in the working state, and does not send the data frame.
- the terminal device can determine the device information of the IoT device represented by the UWB tag according to the data frame sent by the UWB tag, establish a data communication connection with the IoT device according to the device information, and control the IoT device.
- the data frame sent by the UWB tag includes the device identifier and location information of the IoT device, and the terminal device is used to establish a data communication connection with the IoT device and perform control according to the device identifier and location information.
- the data frame sent by the UWB tag contains the device identifier of the IoT device, and the terminal device is used to establish a data communication connection with the IoT device and perform control according to the device identifier.
- the data frame sent by the UWB tag contains the tag identifier
- the terminal device stores the mapping relationship between the UWB tag and the IoT device.
- the terminal device is used to obtain the device identifier from the mapping relationship according to the The identification establishes and controls the data communication connection with the IoT device.
- the UWB tag sends data frames in the working state, and does not receive data frames
- Send data frames to terminal equipment including:
- the data frame is sent to the terminal device on the target channel.
- the UWB tag can be attached to the IoT device, or the UWB tag can be placed near the IoT device; the UWB tag can be placed far away from the IoT device.
- the location is not limiting.
- the UWB tag since the UWB tag is independent of the IoT device, in a possible implementation, the UWB tag may have an independent power supply.
- the label provides power.
- the UWB tag and the IoT device in the charging scenario, you can use a USB cable to connect the UWB tag and the IoT device.
- the UWB tag and the IoT device establish a charging connection relationship, and the IoT device only supplies power to the UWB tag, and there is no data communication connection between the UWB tag and the IoT device. .
- the above data communication connection means that the IoT device and the terminal device can exchange information through a data communication connection
- the data communication connection may be a WiFi connection, a Bluetooth connection, an infrared connection, etc., which is not limited in the embodiments of the present application.
- UWB tag can also be used to charge the UWB tag, such as a mobile power supply, a fixed power supply, and the like.
- the data frame may be broadcast in real time; or the data frame may be broadcast every preset time period, for example, the data frame may be broadcast every 30s; or The data frame is broadcast in real time within a preset time period, for example, the UWB tag broadcasts the data frame in real time in the time period from 8:00:00 in the morning to 8:00:00 in the evening.
- Step 203 the terminal device determines the device information of the IoT device represented by the UWB tag.
- the terminal device can determine the device information of the IoT device represented by the UWB tag according to the data frame broadcast by the UWB tag.
- the device identifier of the IoT device represented by the UWB tag is added to the data frame.
- the UWB tag adds the device identifier of the IoT device represented by the UWB tag to the data frame, and sends the data frame to the terminal device.
- the terminal device receives the data frame sent by the UWB tag, and extracts the device identifier of the IoT device represented by the UWB tag from the data frame.
- the tag identifier of the UWB tag is added to the data frame, and the mapping relationship between the UWB tag and the IoT device is stored in the terminal device.
- the UWB tag adds its own tag identifier to the data frame, and sends the data frame to the terminal device.
- the terminal device receives the data frame sent by the UWB tag, extracts the tag identifier corresponding to the UWB tag, and obtains the device identifier from the mapping relationship according to the tag identifier.
- the device identifier is the IoT device represented by the UWB tag. Equipment Identity.
- the device identification and location information of the IoT device represented by the UWB tag is added to the data frame.
- the UWB tag adds the device identification and location information to the data frame, and sends the data frame to the terminal device.
- the terminal device receives the data frame sent by the UWB tag, and obtains the device identification and location information of the IoT device represented by the UWB tag from the data frame.
- the device identifier and location information of the IoT device it represents are pre-stored in the UWB tag, so that when the UWB tag broadcasts the data frame, the device identifier and location information can be added to the data frame.
- the terminal device After the terminal device determines the device information of the IoT device represented by the UWB tag, it can directly establish a data communication connection with the corresponding IoT device according to the device information, and control the IoT device.
- the terminal device can determine the corresponding IoT device according to the device identifier, establish a data communication connection with the IoT device, and control the IoT device.
- the terminal device can establish UWB communication with the UWB tag to realize the IoT represented by the UWB tag.
- the device establishes a data communication connection and controls the IoT device. Due to the independence between UWB tags and IoT devices, there is no need for any operation between the terminal device and the IoT device before the data communication connection is established between the terminal device and the IoT device, which reduces the device power consumption of the IoT device, thereby improving the terminal equipment. Automation and ease of device control of IoT devices.
- FIG. 3 shows a flowchart of a method for controlling an IoT device provided by another exemplary embodiment of the present application.
- the embodiment of the present application is described by taking the method applied to the terminal device shown in FIG. Methods include:
- Step 302 according to the data frame sent by at least one UWB tag, determine that the UWB tag pointed by the terminal device is the target UWB tag.
- the terminal device Based on the user's need to control an IoT device through a terminal device, the terminal device is generally pointed to the IoT device. Therefore, based on this behavioral habit of the user, when the positional relationship between the terminal device and the UWB tag is set as a positive relationship, it is determined that the terminal device needs to establish a data communication connection with the IoT device represented by the UWB tag, that is, when determining When the terminal device points to a UWB tag, the UWB tag is determined as the target UWB tag, and the subsequent terminal device can establish a data communication connection with the target IoT device represented by the target UWB tag and control it.
- the terminal device In order to determine whether a terminal device points to a UWB tag, the terminal device needs to have the ability to perceive the spatial position relationship between the UWB tag and the UWB tag. Since the UWB tag can establish UWB communication with the terminal device, and UWB communication can realize the positioning function, so , in a possible implementation manner, when determining the spatial position relationship between the terminal device and the UWB tag, the positioning method in the UWB technology can be used, for example, the angle of arrival (Angle of Arrival, AOA) measurement: according to the data frame The angle of arrival determines the spatial position of the object; the phase difference of arrival (PDOA) of the signal is measured, and the spatial position of the object is determined according to the arrival phase difference of the data frame.
- AOA angle of arrival
- the embodiments of the present application do not limit the specific positioning principle used for determining the spatial position relationship.
- the UWB tag represents the situation of a single IoT device. If the user needs to control the IoT device, the terminal device can be directly aligned with the UWB tag corresponding to the IoT device. Correspondingly, the terminal device can receive the data frame sent by the UWB tag, and determine the IoT device represented by the UWB tag according to the data frame, thereby establishing a data communication connection with the IoT device, and then controlling the IoT device.
- UWB tags represent different IoT devices.
- the terminal device can receive data frames sent by multiple UWB tags, and determine the spatial position relationship between each UWB tag and the terminal device according to the data frames sent by at least one UWB tag, and filter out the spatial relationship between each UWB tag and the terminal device.
- the target UWB tag pointed by the terminal device thereby determining the target IoT device that the user needs to control.
- Step 303 Determine the target device information of the target IoT device represented by the target UWB label according to the data frame sent by the target UWB label.
- the terminal device determines the target UWB tag pointed to by the terminal device according to the received data frame, and the target UWB tag uniquely characterizes the target IoT device; the corresponding terminal device determines that the user wants to pass the terminal device Controlled target IoT device. Since the data frame is added with related content such as device information for determining the IoT device, the target device information of the target IoT device represented by the target UWB tag can be determined according to the data frame sent by the target UWB tag, and then according to the target device information and the target device information The target IoT device establishes a data communication connection and controls the target IoT device.
- the location information may be the location information of the UWB tag or the location information of the IoT device.
- the location information is the location information of the UWB tag.
- the UWB tag is placed at the same location as the IoT device it represents.
- the location information of the UWB tag can be used to replace the location information of the IoT device.
- the target device identification and target location information of the target IoT device may be carried in the data frame, or the target device identification of the target IoT device may be carried in the data frame, and the target location information of the target UWB tag.
- the terminal device when the terminal device receives the data frame sent by the target UWB tag, it can obtain the target device identifier and target location information of the target IoT device from the data frame, so as to obtain the target device identifier and target location information of the target IoT device according to the target device identifier and target location information.
- the location information establishes a data communication connection with the target IoT device to control the target IoT device.
- the data frame sent by the UWB tag contains the device identifier of the IoT device, and the terminal device is used to establish a data communication connection with the IoT device and perform control according to the device identifier.
- the UWB tag when the UWB tag sends the data frame, it carries the device identifier of the IoT device represented by the UWB tag.
- the terminal device receives the data frame sent by each UWB tag and can determine each The device identity of the IoT device represented by the UWB tag.
- the data frame sent by the UWB tag contains the tag identification, and the mapping relationship between the UWB tag and the IoT device is stored in the terminal device.
- the terminal device is used to obtain the device identification from the mapping relationship according to the tag identification.
- IoT devices establish data communication connections and control.
- a mapping relationship between each UWB tag and the IoT device represented by the UWB tag is pre-stored in the terminal device, and the mapping relationship may be a corresponding relationship between a tag identification and a device identification.
- mapping relationship between UWB tags and IoT devices can be as shown in Table 1:
- the UWB tag carries the tag identifier in the data frame.
- the terminal device After receiving the data frame sent by the UWB tag, the terminal device obtains the tag identification of the UWB tag from the data frame, thereby determining the device identification corresponding to the tag identification according to the mapping relationship, and then determining the UWB tag according to the device identification.
- the IoT device being characterized.
- the terminal device can obtain the tag identification of the target UWB tag from the data frame sent by the target UWB tag, and then obtain the target UWB tag based on the tag identification and the mapping relationship.
- the device identifier of the target IoT device represented by the tag and establishes a data communication connection with the IoT device based on the device identifier, thereby controlling the IoT device to perform a preset operation.
- the terminal needs to pre-store the mapping relationship between the UWB tag and the IoT device.
- the terminal stores the mapping relationship.
- the process can include the following steps:
- the terminal In order to enable the terminal to determine the IoT device represented by the UWB tag according to the tag identifier contained in the data frame, in a possible implementation manner, by performing a binding operation in the terminal device, the corresponding terminal device receives the binding operation , to obtain the tag ID of the UWB tag to be bound.
- IoT devices corresponding to different application scenarios may be pre-registered in the terminal device.
- room 1 corresponds to IoT devices A to C
- room 2 corresponds to IoT devices D to G.
- users can view IoT devices in different application scenarios on the terminal device.
- you can select an IoT device in the terminal device, and enter the tag identifier of the UWB tag bound to the IoT device.
- the terminal device when the terminal device receives the selection operation of the IoT device, it can bind the device identification and label identification of the IoT device, thereby establishing a mapping relationship between the UWB label and the IoT device represented by the terminal device.
- the user may also directly input the corresponding relationship between the label identifier and the device identifier into the terminal device, and correspondingly, the terminal device establishes a mapping relationship between the label identifier and the device identifier corresponding to the IoT device.
- the mapping relationship between UWB tags and IoT devices is not permanently bound, and users can modify or delete the mapping relationship between UWB tags and IoT devices according to their needs. For example, before modification, UWB tag 1 is used to characterize IoT device A, and after modification, UWB tag 1 is used to characterize IoT device D. Correspondingly, the user needs to delete the mapping relationship between the UWB tag 1 and the IoT device in the terminal device, and perform the binding operation between the UWB tag 1 and the IoT device D again.
- Step 304 Establish a data communication connection with the target IoT device according to the target device information, and control the target IoT device.
- the target device information is information that uniquely identifies the target IoT device.
- the target device information may be a target device identifier or target location information of the target IoT device.
- the terminal device after the terminal device determines the target device information, it can establish a data communication connection with the target IoT device indicated by the target device information, thereby realizing control of the target IoT device.
- the connection mode between the terminal device and the target IoT device may be a WiFi connection or a Bluetooth connection.
- the data communication connection between the terminal device and the target WiFi connection is established in different ways.
- the process of establishing a data communication connection between the terminal device and the target IoT device may include the following steps:
- the target IoT device and the terminal device are connected to the same WiFi, that is, the target IoT device and the terminal device are connected to the network through the same routing device.
- the terminal device needs to communicate with the target IoT device
- the device can establish a WiFi data communication connection with the target IoT device through the routing device according to the device identification of the target IoT device.
- the terminal device may establish a Bluetooth data communication connection with the target IoT device. That is to say, if the connection method between the target IoT device and the terminal device is a Bluetooth connection, the terminal device can establish a Bluetooth data communication connection with the target IoT device through the Bluetooth component according to the device identifier corresponding to the target IoT device.
- both the terminal device and the IoT device enable the Bluetooth function.
- the terminal device can receive the Bluetooth signal broadcast by other IoT devices, and the Bluetooth signal can carry the device identifier corresponding to each IoT device. to determine the target Bluetooth signal.
- the target Bluetooth signal is broadcast by the target IoT device, and a Bluetooth data communication connection is established with the target IoT device.
- the terminal device may also directly broadcast a Bluetooth connection instruction, where the Bluetooth connection instruction includes a device identifier corresponding to the target IoT device.
- the target IoT device determines that the device identification is consistent with its own device identification, and establishes a Bluetooth data communication connection with the terminal device.
- the terminal device after the terminal device determines the target IoT device that the user wants to control, it can establish a Bluetooth data communication connection or a WiFi data communication connection with the target IoT device, and control the target based on the established data communication connection. IoT devices.
- connection mode between the terminal device and the target IoT device may further include infrared connection, NFC connection, and the like.
- the terminal device and the target IoT device establish an invalid data communication connection, occupying the device resources of the target IoT device.
- a connection condition is set, that is, the terminal device needs to be allowed to establish a data communication connection with the target IoT device under the condition that the connection condition is satisfied.
- the terminal device determines the target IoT device, it continues to determine whether the terminal device satisfies the connection condition corresponding to the target IoT device, and if the connection condition corresponding to the target IoT device is satisfied, establishes data with the target IoT device Communication connection, and control the target IoT device; if the connection conditions corresponding to the target IoT device are not met, stop establishing a data communication connection with the target IoT device.
- connection conditions include at least one of pointing duration conditions, gesture conditions, touch conditions, sensor conditions, and voice control conditions.
- the terminal device determines that the duration of pointing to the target UWB tag exceeds the duration threshold, and determines that the user wants the terminal device to establish a data communication connection with the target IoT device represented by the target UWB tag.
- the duration threshold may be 5s, and the duration threshold is preset by the developer as a default value, or set by the user.
- the terminal device When the terminal device is determined to point to the target UWB tag within 5s (or the terminal device is determined to be in a positive relationship with the target UWB tag within 5s), it is determined that the terminal device meets the connection conditions corresponding to the target IoT device, and the target The IoT device establishes a data communication connection and controls the target IoT device; otherwise, the subsequent steps of establishing a data communication connection with the target IoT device are stopped.
- the pointing duration condition can be set by the user, and different pointing duration conditions can be set for different IoT devices.
- the pointing duration condition corresponding to IoT device A is 3 s
- the pointing duration condition corresponding to IoT device B is 5 s, which is not limited in this embodiment of the present application.
- the user can set different preset gestures for different IoT devices.
- the gesture condition corresponding to IoT device A is: a gesture of "OK" by the user is detected;
- the gesture condition corresponding to IoT device B is: it is detected that the user draws a preset pattern on the screen of the terminal device, etc.
- the touch condition is determined as the connection condition: when the terminal device detects that the user touches the preset position of the terminal, for example, the fingerprint recognition area, and detects that the fingerprint is the fingerprint that controls the terminal device to establish a data communication connection with the target IoT device; Or when the terminal detects that the user taps the screen of the terminal device, it establishes a data communication connection with the target IoT device; otherwise, if the terminal does not detect the preset touch operation, or the detected touch operation is different from the preset touch operation , the terminal device stops the subsequent establishment of a data communication connection with the target IoT device.
- the user can also set different touch conditions for different IoT devices to distinguish the data communication connection between the terminal device and different IoT devices, and improve the accuracy of the data communication connection between the terminal device and the IoT device.
- the terminal device may establish a data communication connection with the target IoT device when it detects that the user holds the terminal to perform a preset operation. For example, the terminal device detects that the user holds the terminal device to perform a "shake" operation, and establishes a data communication connection with the target IoT device.
- the user can also set different sensor conditions for different IoT devices.
- the voice control condition is used as the connection condition: when the terminal device determines the target IoT device, the voice detection function can be enabled, and when a voice command related to the target IoT device is detected, a data communication connection is established with the target IoT device.
- the voice control condition corresponding to the smart TV indicates that the preset voice command is "screen projection".
- the terminal device determines that the target IoT device is a smart TV and receives the screen projection command, the terminal device and the smart TV establish a data communication connection in advance. .
- the user can set different voice control conditions for devices that do not pass through the IoT.
- UWB tags are only used to characterize IoT devices, UWB tags and IoT devices may be located in different spaces.
- the UWB tag is located in room A
- the IoT device represented by the UWB tag is located in room B.
- the terminal device By pointing the terminal device to the target UWB tag, the user can pre-establish a data communication connection between the terminal device and the target IoT device to improve the subsequent control target.
- Efficiency of IoT devices In this application scenario, if the terminal device establishes a data communication connection with the target IoT device too early, it will obviously increase the power consumption of the connection between the terminal device and the target IoT device. Therefore, in a possible implementation manner, a distance condition is set, that is, the distance between the terminal device and the target IoT device needs to satisfy the distance condition, allowing the terminal device to establish a data communication connection with the target IoT device.
- the distance between the terminal device and the target IoT device generally adopts the principle of proximity.
- the terminal device determines the target IoT device, it obtains the distance between the terminal device and the target IoT device, and when it is determined that the distance is less than the distance threshold, establishes a relationship with the target IoT device according to the target device information Data communication connection and control of the target IoT device.
- the method of determining the distance between the terminal device and the target IoT device because the data frame sent by the UWB tag contains the location information corresponding to the IoT device, in a possible implementation, after the terminal device determines the target IoT device, The location information corresponding to the target IoT device can be obtained from the data frame sent by the target UWB tag, and the distance between the terminal device and the target IoT device can be determined based on the location information and its own location information.
- the distance threshold can be set by the user according to requirements, or the system default value can be adopted.
- the distance threshold may be 3m.
- the terminal device based on the user's behavioral habit of pointing the terminal device to the IoT device based on the user's desire to control the IoT device through the terminal device.
- the data frame sent by at least one UWB tag received by the terminal device it is determined that the UWB tag pointed by the terminal device is the target UWB tag, and the IoT device represented by the target UWB tag is determined as the target IoT device, and establishes data with the target IoT device.
- the target operations performed by the terminal device to control the IoT device are different.
- the terminal device when the terminal determines that the target IoT device is a smart TV, the terminal device can control the target IoT device to perform a screen projection operation, that is, the current display screen of the terminal device can be transmitted to the smart TV.
- FIG. 4 it shows a schematic diagram of a process of a terminal device controlling a target IoT device according to an exemplary embodiment of the present application.
- the target IoT device is a smart TV
- a video playback interface 411 is displayed in the terminal device 410.
- the terminal device determines that the target IoT device is a smart TV the current display screen of the terminal device 410 can be transmitted to the smart TV 420, and the corresponding , a video playback interface 421 is displayed on the smart TV 420 .
- a control interface corresponding to the smart home device may be displayed in the terminal device.
- the control interface includes function controls corresponding to the smart home devices; the user can click the function controls on the control interface as required, and the terminal device controls the smart home devices to perform corresponding device functions in response to triggering operations on the function controls in the control interface.
- the control interface displayed in the terminal device may include: volume adjustment controls, music progress adjustment controls, playback mode adjustment controls, etc.; if the target IoT device is a smart door lock, the control interface displayed in the terminal device may Including: password setting control, switch control, etc.; if the target IoT device is a smart curtain, the control interface displayed in the terminal device may include: curtain shading adjustment control, curtain switch control, etc.; if the target IoT device is a smart air conditioner, the terminal device The displayed control interface may include: temperature adjustment control, mode adjustment control, wind speed adjustment control, switch control, etc.; if the target IoT device is a smart lamp, the control interface displayed in the terminal device may include: lamp switch control, brightness adjustment control, color temperature Adjustment controls, etc.
- the terminal device needs to first determine the target UWB tag it points to, and then based on the representation relationship between the target UWB tag and the target IoT device, and the target The IoT device establishes a data communication connection and controls it. It can be seen that the terminal device determines the spatial position relationship of the target UWB tag, which is a prerequisite for the terminal device to accurately control the target IoT device. UWB communication. Therefore, in a possible implementation, the terminal device establishes UWB communication with the UWB tag through the UWB component, and realizes the determination of the spatial position relationship corresponding to the UWB tag through UWB interaction with the UWB tag.
- FIG. 6 shows a flowchart of a method for controlling an IoT device provided by another exemplary embodiment of the present application.
- the embodiment of the present application is described by taking the method applied to the terminal device shown in FIG. Methods include:
- Step 601 establishing UWB communication with the UWB tag through the UWB component.
- the UWB component can be separated from the terminal device, or the UWB component is set inside the terminal device.
- the UWB component when the UWB component is separable from the terminal device, the UWB component needs to establish a data communication connection with the terminal device in advance.
- the terminal device can establish UWB communication with the UWB tag through the UWB component.
- the data communication connection may include a WiFi connection, a Bluetooth connection, an infrared connection, a Near Field Communication (Near Field Communication, NFC) connection, and the like.
- the UWB tag sends the data frame
- the terminal device can receive the data frame sent by the UWB tag through the UWB component, and correspondingly, the terminal device can establish UWB communication with the UWB tag through the UWB component.
- the application scenario of the embodiment of the present application includes multiple UWB tags, and different UWB tags only transmit data frames in the working state, and do not receive data frames.
- the UWB tag when the UWB tag sends data frames to the terminal device, it needs to listen to the target channel in real time, and when the target channel is idle, send data to the target channel on the target channel. End devices send data frames.
- the UWB tag uses the Clear Channel Assessment (CCA) technology to detect the target channel, and when it is determined that the target channel is in an idle state, or when the received signal strength of the target channel is lower than the threshold value, it sends data through the target channel frame, to avoid the sending conflict of the data frame, which makes the subsequent measurement of the spatial position relationship impossible, thereby improving the capacity of the target channel.
- CCA Clear Channel Assessment
- the UWB tag detects that the target channel is in an occupied state at the first moment, the data frame is not broadcast at the first moment, and is randomly delayed to the second moment. Broadcast the data frame at the second moment, or continue to broadcast the data frame when it is detected that the target channel is in an idle state.
- the UWB tag can send the data frames by using the random access (ALOHA) protocol.
- Step 602 Determine the spatial positional relationship between the terminal device and the UWB tag according to the data frame sent by the same UWB tag, where the spatial positional relationship includes a horizontal direction angle and a vertical direction angle.
- the terminal device In order to determine the UWB tag pointed to by the terminal device, that is, to determine the spatial positional relationship between the terminal device and at least one UWB tag, it is not necessary to determine the specific position of the UWB tag to determine the spatial positional relationship, but only to determine the UWB tag relative to the terminal setting , whether it is facing the terminal device, therefore, in a possible application scenario, based on the spatial positioning principle in UWB technology, only the azimuth angle of the UWB tag relative to the terminal device needs to be determined, such as the horizontal azimuth and vertical azimuth. Angle, you can determine whether the terminal device points to the UWB tag by judging the azimuth angle.
- the first antenna group may be a horizontal antenna group
- the second antenna group may be a vertical antenna group.
- the horizontal antenna group includes a first antenna and a second antenna, and the first antenna and the second antenna are antennas arranged in the horizontal direction;
- the vertical antenna group includes a first antenna and a third antenna, and the first antenna and the third antenna are vertical antennas Antenna set in straight direction. That is, the UWB component includes three antennas, wherein the first antenna is a public antenna, which can be used to measure the horizontal direction and also participate in the measurement of the vertical angle.
- the final purpose is to determine whether the terminal points to the target UWB tag. Therefore, when the UWB component is set, in order to reduce the calculation amount of the terminal device, it can correspond to the horizontal and vertical directions of the terminal, that is, the horizontal antenna group of the UWB component is consistent with the horizontal direction of the terminal device, and the vertical antenna of the UWB component The group is aligned with the vertical orientation of the terminal device.
- the UWB component may also include four antennas, ie, a first antenna, a second antenna, a third antenna, and a fourth antenna.
- the first antenna and the second antenna are a horizontal antenna group
- the third antenna and the fourth antenna are a vertical direction group, which is not limited in this embodiment of the present application.
- FIG. 7 it shows a schematic structural diagram of an antenna in a UWB assembly according to an exemplary embodiment of the present application.
- the first antenna group includes a first antenna 701 and a second antenna 702
- the second antenna group includes a first antenna 701 and a third antenna 703, and the first antenna 701 and the second antenna 702 are connected with the first antenna 701
- the first antenna group and the second antenna are required.
- the group alternately receives at least one data frame broadcast by the UWB tag, that is, at the first moment, the data frame broadcast by the UWB tag is received through the first antenna group, and at the second moment, the first antenna group is switched to the second antenna group , the second antenna group receives the data frame broadcast by the UWB tag, and then determines the spatial position relationship between the terminal device and the UWB tag based on the data frame broadcast by the same UWB tag respectively received by the two antenna groups.
- determining the data frames sent by the same UWB tag may include the following steps:
- the data frame contains the tag identifier corresponding to the UWB tag.
- the tag identifier can be the number of different UWB tags in the application scenario. For example, if the number of the UWB tag is 3, the data frame broadcast by the UWB tag contains the tag identifier "3", or the machine code of different UWB tags can be used as Label identification, the embodiment of the present application does not limit the type of label identification.
- the terminal device Based on the characteristics of UWB tags broadcasting data frames in real time, the terminal device adds the tag identifier contained in the received data frame to the tag set in real time. If the tag set contains the tag identifier, it will not be added repeatedly. If the tag identifier does not exist in the tag set, continue adding the tag identifier to the tag set until the tag set stops changing. That is, no new tag identifiers are added to the tag set for a period of time, indicating that there may be no UWB tags other than the UWB tags corresponding to the existing tag identifiers in the tag set in this application scenario.
- the terminal device can control the UWB component to switch the antenna group for receiving data frames, such as switching from the first antenna group to the second antenna group, so as to continue to receive the data frames broadcast by the UWB tag when the second antenna group is in the working state.
- the terminal device when the terminal device is re-switched from the second antenna group to the first antenna group, it can also be determined according to the label set obtained when the first antenna group was in the receiving state in the last switching process to determine that the second antenna assembly should be re-switched.
- the timing of switching to the first antenna group In this way, it is possible to avoid missing to receive a data frame broadcast by a certain UWB tag, so that it is impossible to measure the spatial positions of all UWB tags in one antenna group switching process.
- FIG. 8 shows a working sequence diagram of a UWB component and a plurality of UWB tags shown in an exemplary embodiment of the present application.
- the UWB tags include UWB tags 1 to UWB tags 4 .
- each UWB tag When each UWB tag is in working state, it broadcasts data frames by listening to the channel state of the target channel. For example, UWB tag 1 detects that the target channel is idle at T1. After broadcasting the data frame at time T1, it continues to monitor the target channel. When the target channel is occupied, it continues to monitor the target channel until the target channel is in an idle state, that is, at time T2. Broadcast data frame.
- the data frame broadcast by each UWB tag is firstly received by the horizontal antenna group within the first time period. After it is determined that the data frame broadcast by each tag is received, the horizontal antenna group is switched to the vertical antenna group, and the data frame broadcast by each UWB tag is received through the vertical antenna group in the second time period.
- the terminal receives at least one data frame broadcast by a UWB tag through the UWB component, and divides the received data frame into different data frame groups according to the tag identification by using the tag identification contained in the data frame.
- the data frames included in the same data frame group are all broadcast by the same UWB tag, and correspondingly, the terminal device can determine the spatial position relationship between the terminal device and the UWB tag according to the same data frame group.
- the UWB component includes a first antenna group and a second antenna group, correspondingly, in the data frames broadcast according to the same UWB tag, there are data frames received by the first antenna group and data frames received by the second antenna group. Received data frame. Therefore, the horizontal direction angle between the terminal device and the UWB tag can be determined according to the data frame received by the first antenna group, and the vertical direction angle between the terminal device and the UWB tag can be determined according to the data frame received by the second antenna group .
- the spatial positional relationship between the terminal device and the UWB tag is determined by synthesizing the obtained horizontal direction angle and vertical direction angle.
- the horizontal direction angle between the terminal device and the UWB tag can be determined through the data frame received by the first antenna group.
- the first antenna group may be a horizontal antenna group.
- the principle of measuring the horizontal direction angle is described by taking PDOA as an example: since the horizontal antenna group includes the first antenna and the second antenna, when the horizontal antenna group is in the working state, due to the certain distance between the two antennas, it can be determined according to the The arrival phase difference between the arrival of the same data frame between the two antennas is used to calculate the horizontal direction angle between the UWB component and the UWB tag in the horizontal direction.
- ⁇ represents the angle (in this embodiment, it can represent the horizontal azimuth angle between the terminal device and the UWB tag), ⁇ represents the wavelength, ⁇ represents the arrival phase difference, and d represents the horizontal distance between the first antenna and the second antenna.
- the vertical distance between the UWB component and the UWB tag can be determined through the data frame received by the second antenna group. straight angle.
- the second antenna group may be a vertical antenna group.
- the vertical antenna group includes a first antenna and a third antenna.
- the terminal device and the third antenna can be calculated according to the arrival phase difference of the same data frame arriving at the first antenna and the third antenna.
- the principle of measuring the vertical direction angle according to the arrival phase difference is the same as the principle of measuring the horizontal direction angle.
- the application scenarios of the embodiments of the present application include multiple UWB tags.
- the terminal calculates the spatial positional relationship between different UWB tags and UWB components according to the data frames broadcast by different UWB tags. According to the spatial positional relationship, the target UWB tag that the terminal device is facing (pointing to) can be determined.
- the angular range that needs to be satisfied by the spatial positional relationship between the terminal device and the UWB tag is preset. Since the spatial position relationship includes horizontal and vertical angles, the horizontal angle between the corresponding terminal device and the UWB tag needs to meet the horizontal angle range, and the vertical direction angle needs to meet the vertical angle range.
- the terminal device points or faces the UWB tag
- the terminal device and the UWB tag should be located on the same horizontal plane.
- the horizontal angle range can be -10 degrees to 10 degrees
- the vertical angle range can be It is 0 degrees to 90 degrees, which is not limited in this embodiment of the present application.
- each spatial positional relationship can be displayed in the background of the terminal.
- UWB label A horizontal angle -30 degrees, vertical angle 10 degrees
- UWB label B horizontal angle -2 degrees, vertical angle 10 degrees
- UWB label C horizontal angle 35 degrees, The vertical angle is 5 degrees
- UWB label D the horizontal angle is 60 degrees
- the vertical angle is 20 degrees.
- the horizontal angle range can be -10 degrees to 10 degrees
- the vertical angle range can be 0 degrees to 90 degrees. Since the spatial positional relationship between the UWB tag B and the terminal device is within this angle range , then it is correspondingly determined that the terminal device points to the UWB tag B, that is, the UWB tag B is the target UWB tag.
- step 604 and step 605 For the implementation of step 604 and step 605, reference may be made to the above embodiments, and details are not described herein in this embodiment.
- the terminal device can measure the spatial positional relationship (angle in the horizontal direction and angle in the vertical direction) between the terminal device and the UWB tag by receiving the data frame in the UWB component.
- the tag identifier in the data frame broadcast by the UWB tag, in an application scenario with multiple UWB tags, it is possible to distinguish the data frames broadcast by different UWB tags.
- the confusion of data frames broadcast by different UWB tags is avoided, which is beneficial to improve the accuracy of measuring the spatial position relationship of UWB tags.
- the target UWB tag that the terminal device is facing (pointed to) is screened out, so that the terminal device can accurately match the UWB tag.
- the target IoT device represented by the target UWB tag establishes a data communication connection.
- the UWB component in the process of establishing a data communication connection between the terminal device and the target IoT device, the UWB component only receives data frames in the working state, and does not broadcast data frames, that is, the UWB component only receives the data broadcast by the UWB tag. frame.
- the UWB tag broadcasts the data frame in the working state, and does not receive the data frame. That is to say, when the UWB tag is in the working state, it only broadcasts the data frame, and does not receive the data frame, which can reduce the power consumption of the UWB tag; at the same time, when the UWB tag broadcasts the data frame, it can broadcast data based on the CCA and ALOHA protocols. frame, the collision of data frames can be avoided, thereby improving the capacity of the target channel.
- FIG. 11 shows a structural block diagram of an apparatus for controlling an IoT device provided by an embodiment of the present application.
- the apparatus has the function of implementing the function performed by the terminal device side in the above method embodiments, and the function may be implemented by hardware or by executing corresponding software by the hardware.
- the apparatus may include:
- a communication establishment module 1101 configured to establish UWB communication with a UWB tag, where the UWB tag is used to represent the IoT device to be connected, and the UWB tag is independent of the IoT device;
- the determining module 1102 includes:
- the control module 1103 includes:
- a control unit configured to establish a data communication connection with the target IoT device according to the target device information, and control the target IoT device.
- the first determining unit is further configured to:
- the terminal device According to the spatial positional relationship between the terminal device and each of the UWB tags, it is determined that the UWB tag pointed by the terminal device is the target UWB tag.
- a UWB tag whose horizontal direction angle with the terminal device is within a horizontal angle range and whose vertical direction angle with the terminal device is within a vertical angle range is determined as the target UWB tag.
- control unit is further used for:
- control unit is further used for:
- the data frame sent by the UWB tag includes the device identifier and location information of the IoT device, and the terminal device is configured to establish a data communication connection with the IoT device according to the device identifier and the location information. and control.
- the data frame sent by the UWB tag includes a tag identifier
- the terminal device stores a mapping relationship between the UWB tag and the IoT device, and the terminal device is used for converting from the tag identifier to the IoT device according to the tag identifier.
- a device identifier is obtained from the mapping relationship, and a data communication connection is established and controlled with the IoT device according to the device identifier.
- the device further includes:
- the device further includes:
- a deletion module configured to delete the mapping relationship indicated by the UWB tag in response to the unbinding operation.
- the current display screen of the terminal device is transmitted to the smart TV.
- control unit is further used for:
- the smart home device In response to a triggering operation on a function control in the control interface, the smart home device is controlled to perform a corresponding device function.
- a communication establishing unit configured to establish UWB communication with the UWB tag through a UWB component, where the UWB component is separable from the terminal device, or the UWB component is set inside the terminal device.
- the terminal device can establish UWB communication with the UWB tag to realize the IoT represented by the UWB tag.
- the device establishes a data communication connection and controls the IoT device. Due to the independence between UWB tags and IoT devices, there is no need for any operation between the terminal device and the IoT device before the data communication connection is established between the terminal device and the IoT device, which reduces the device power consumption of the IoT device, thereby improving the terminal equipment. Automation and ease of device control of IoT devices.
- FIG. 12 shows a structural block diagram of an apparatus for controlling an IoT device provided by an embodiment of the present application.
- the device has the function of implementing the function performed by the UWB tag side in the above method embodiments, and the function may be implemented by hardware or by executing corresponding software by hardware.
- the apparatus may include:
- a data sending module 1202 configured to send a data frame to the terminal device, so that the terminal device determines the device information of the IoT device represented by the UWB label according to the data frame sent by the UWB label, and according to the device information A data communication connection is established with the IoT device, and the IoT device is controlled.
- the data frame sent by the UWB tag includes the device identifier and location information of the IoT device, and the terminal device is configured to establish a data communication connection with the IoT device according to the device identifier and the location information. and control.
- the data frame sent by the UWB tag includes a device identifier of the IoT device, and the terminal device is configured to establish a data communication connection with the IoT device and perform control according to the device identifier.
- the data frame sent by the UWB tag includes a tag identifier
- the terminal device stores a mapping relationship between the UWB tag and the IoT device, and the terminal device is used to
- the identifier obtains the device identifier from the mapping relationship, and establishes a data communication connection with the IoT device according to the device identifier and performs control.
- the UWB tag sends data frames in a working state, and does not receive data frames
- the data sending module 1202 includes:
- a listening unit used to listen to the target channel
- a data sending unit configured to send the data frame to the terminal device on the target channel in response to the target channel being idle.
- the terminal device can establish UWB communication with the UWB tag to realize the IoT represented by the UWB tag.
- the device establishes a data communication connection and controls the IoT device. Due to the independence between UWB tags and IoT devices, there is no need for any operation between the terminal device and the IoT device before the data communication connection is established between the terminal device and the IoT device, which reduces the device power consumption of the IoT device, thereby improving the terminal equipment. Automation and ease of device control of IoT devices.
- the UWB component can be packaged as the internal antenna component of the terminal, the UWB component is electrically connected to the terminal device through the internal circuit board, and the corresponding terminal device can receive the data broadcast by the UWB tag through the UWB component frame.
- FIG. 13 shows a structural block diagram of a terminal device 1300 provided by an exemplary embodiment of the present application.
- the terminal device 1300 in this application may include one or more of the following components: a processor 1310, a memory 1320, and a UWB component 1330, wherein the processor 1310 is electrically connected to the memory 1320 and the UWB component 1330, respectively.
- Processor 1310 may include one or more processing cores.
- the processor 1310 uses various interfaces and lines to connect various parts of the entire terminal device 1300, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1320, and calling the data stored in the memory 1320.
- the processor 1310 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in a hardware form.
- the processor 1310 may integrate one or a combination of a CPU, a graphics processor (Graphics Processing Unit, GPU), a modem, and the like.
- the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing the content that needs to be displayed on the touch screen; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1310, and is implemented by a communication chip alone.
- the memory 1320 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory, ROM).
- RAM Random Access Memory
- ROM Read-Only Memory
- the memory 1320 includes a non-transitory computer-readable storage medium.
- Memory 1320 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
- the UWB component 1330 is configured to receive the data frame broadcast by the external UWB component, so that the terminal device 1300 can process the data frame through the processor, so as to realize the purpose of determining the spatial position of the IoT device according to the data frame.
- At least one instruction is stored in the memory 1320, and the at least one instruction is used to be executed by the processor 1310 to execute the method for controlling an IoT device as shown in the foregoing embodiments.
- the terminal device 1300 may further include a touch display screen, which may be a capacitive touch display screen, and the capacitive touch display screen is used to receive user touches on or near it using any suitable object such as a finger, a touch pen, etc. operations, as well as displaying the user interface of each application.
- the touch display screen is usually provided on the front panel of the terminal device 1300 .
- the touch screen can be designed as a full screen, a curved screen or a special-shaped screen.
- the touch display screen can also be designed to be a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of the present application.
- the structure of the terminal device 1300 shown in the above drawings does not constitute a limitation on the terminal device 1300, and the terminal may include more or less components than those shown in the drawings, or combinations thereof certain components, or different component arrangements.
- the terminal device 1300 further includes components such as radio frequency circuits, photographing components, sensors (excluding temperature sensors), audio circuits, Wireless Fidelity (WiFi) components, power supplies, and Bluetooth components, which will not be repeated here.
- the UWB component can be packaged as a terminal fitting, and the terminal fitting is independent of the terminal equipment.
- the terminal equipment and the terminal fitting are electrically connected through an interface circuit, This enables the terminal device to have the ability to perceive the spatial position; when the terminal device is not equipped with the terminal accessory, the terminal device does not have the ability to perceive the spatial position.
- FIG. 14 shows a structural block diagram of a terminal system 1400 provided by an exemplary embodiment of the present application.
- the terminal system 1400 in this application may include one or more of the following devices: a terminal device 1410 and a terminal accessory 1420 .
- the terminal device 1410 includes a memory and a processor, where the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the method for controlling an IoT device described in the foregoing embodiments.
- the terminal accessory 1420 includes a UWB component, the UWB component is used to receive the data frame broadcast by the external UWB component, and transmit the data frame to the terminal device 1410 through the interface circuit, so that the terminal device 1410 can perceive the spatial position relationship of the object according to the data frame.
- the terminal accessory 1420 may be a protective case of the terminal device 1410 , a terminal pendant, or other components that can be installed or worn on the terminal 1410 .
- the terminal device 1410 when the terminal device 1410 installs or wears the terminal accessory 1420, the terminal device 1410 can be electrically connected with the UWB component in the terminal accessory 1420; or the terminal device 1410 can perform wireless communication with the UWB component in the terminal accessory 1420.
- the terminal device 1410 can establish a data communication connection with the terminal accessory 1420 , so that the terminal device 1410 can perceive the spatial position relationship of the object through the terminal accessory 1420 .
- FIG. 15 it shows a schematic structural diagram of a terminal accessory 1500 shown in an exemplary embodiment of the present application.
- the terminal accessory 1500 includes a UWB component 1501 and an interface circuit 1502, and the UWB component 1501 transmits data frames to the terminal device through the interface circuit 1502; optionally, the terminal accessory 1500 further includes Universal Serial Bus Hub (Universal Serial Bus Hub, USB Hub), when the terminal accessory 1500 is worn by the terminal device, the terminal accessory 1500 can communicate with the terminal through the USB Hub; optionally, the terminal accessory 1500 also includes an infrared lamp, Terminal devices can control IoT devices through this infrared light.
- Universal Serial Bus Hub Universal Serial Bus Hub
- the terminal accessory 1500 also includes an infrared lamp, Terminal devices can control IoT devices through this infrared light.
- FIG. 16 shows a structural block diagram of a UWB component 1600 provided by an exemplary embodiment of the present application.
- the UWB assembly 1600 includes UWB antenna 1601 and interface circuit 1602 .
- the UWB antenna 1601 and the interface circuit 1602 are electrically connected.
- the UWB component may include two antenna groups, for example, a horizontal antenna group and a vertical antenna group , so that the horizontal direction angle of the UWB tag can be determined through the data frame received by the horizontal antenna group, and the vertical direction angle of the UWB tag can be determined through the data frame received by the vertical antenna group.
- the horizontal antenna group and the vertical antenna group may include different antennas, that is, the horizontal antenna group includes the first antenna and the second antenna, and the vertical antenna group includes the third antenna and the fourth antenna; optional Yes, in order to reduce the cost, the horizontal antenna group and the vertical antenna group can share some antennas.
- the horizontal antenna group includes the first antenna and the second antenna
- the vertical antenna group includes the first antenna and the third antenna. The group and the vertical antenna group share the first antenna.
- the UWB component 1600 is used to connect with the terminal device through the interface circuit 1602, so that the terminal device can establish UWB communication with the UWB tag and connect with the IoT device represented by the UWB tag.
- FIG. 17 shows a structural block diagram of a control system 1700 for an IoT device provided by an exemplary embodiment of the present application.
- the control system includes a mid-terminal device 1701 , a UWB tag 1702 and an IoT device 1703 .
- the terminal device 1701 establishes UWB communication with the UWB tag 1702, the UWB tag 1702 is used to represent the IoT device 1703 to be connected, and the UWB tag 1702 is independent of the IoT device 1703;
- the UWB tag 1702 sends a data frame to the terminal device 1701;
- the terminal device 1701 determines the device information of the IoT device 1703 represented by the UWB tag 1702 according to the data frame sent by the UWB tag 1702 , establishes a data communication connection with the IoT device 1703 according to the device information, and controls the IoT device 1703 .
- Embodiments of the present application further provide a computer-readable storage medium, where at least one piece of program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement the IoT device described in the various embodiments above. Control Method.
- a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
- the processor of the terminal device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal device executes the IoT device control methods provided in various optional implementation manners of the foregoing aspects.
- references herein to "a plurality” means two or more.
- "And/or" which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
- the character "/" generally indicates that the associated objects are an "or” relationship.
- the numbering of the steps described in this document only exemplarily shows a possible execution sequence between the steps. In some other embodiments, the above steps may also be executed in different order, such as two different numbers. The steps are performed at the same time, or two steps with different numbers are performed in a reverse order to that shown in the figure, which is not limited in this embodiment of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种IoT设备的控制方法、装置、控制系统及终端设备,属于UWB技术领域。本申请提供的方法,通过设置表征IoT设备的UWB标签,且UWB标签独立于IoT设备,终端设备可以通过与UWB标签建立UWB通信,实现对该UWB标签所表征IoT设备的控制,提高终端设备控制IoT设备的自动化和便捷性。
Description
本申请要求于2020年11月16日提交的申请号为202011282240.7、发明名称为“IoT设备的控制方法、装置、控制系统及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及UWB技术领域,特别涉及一种物联网(Internet of Things,IoT)设备的控制方法、装置、控制系统及终端设备。
超宽带(Ultra Wide Band,UWB)技术是一种无线载波通信技术,它不采用正弦载波,而是利用纳秒级的非正弦波窄脉冲传输数据,因此其所占的频谱范围很宽,且数据传输速率可以达到几百兆比特每秒以上。在应用场景中,UWB技术具有系统复杂度低,发射信号功率谱密度低,对信道衰落不敏感,截获能力低,定位精度高等优点,尤其适用于室内等密集多径场所的高速无线接入。
发明内容
本申请实施例提供了一种IoT设备的控制方法、装置、控制系统及终端设。所述技术方案如下:
一方面,本申请实施例提供了一种IoT设备的控制方法,所述方法用于终端设备,所述方法包括:
与UWB标签建立UWB通信,所述UWB标签用于表征待连接的IoT设备,且所述UWB标签独立于所述IoT设备;
确定所述UWB标签所表征IoT设备的设备信息;
根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
另一方面,本申请实施例提供了一种IoT设备的控制方法,所述方法用于UWB标签,所述方法包括:
与终端设备建立UWB通信;
向所述终端设备发送数据帧,使所述终端设备根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息,并根据所述设备信息与所述IoT设备建立数据通信连接,以及对所述IoT设备进行控制。
另一方面,本申请实施例提供了一种IoT设备的控制装置,所述装置包括:
通信建立模块,用于与UWB标签建立UWB通信,所述UWB标签用于表征待连接的IoT设备,所述UWB标签独立于所述IoT设备;
确定模块,用于确定所述UWB标签所表征IoT设备的设备信息;
控制模块,用于根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
另一方面,本申请实施例提供了一种IoT设备的控制装置,所述装置包括:
通信建立模块,用于与终端设备建立UWB通信;
数据发送模块,用于向所述终端设备发送数据帧,使所述终端设备根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息,并根据所述设备信息与所述IoT设备建立数据通信连接,以及对所述IoT设备进行控制。
另一方面,本申请实施例提供了一种IoT设备的控制系统,所述系统包括终端设备、UWB标签和IoT设备;
所述终端设备与所述UWB标签建立UWB通信,所述UWB标签用于表征待连接的IoT设备,且所述UWB标签独立于所述IoT设备;
所述UWB标签向所述终端设备发送数据帧;
所述终端设备根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息,根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
另一方面,本申请实施例提供了一种终端设备,所述终端设备包括:处理器、存储器和UWB组件;
所述处理器分别与所述存储器和所述UWB组件电性相连;
所述UWB组件用于与UWB标签建立UWB通信,并接收所述UWB标签发送的数据帧,所述UWB标签用于表征待连接的IoT设备,且所述UWB标签独立于所述IoT设备;
所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:
根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息;
根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
另一方面,本申请实施例提供了一种UWB组件,所述UWB组件包括:UWB天线和接口电路;
所述UWB天线和所述接口电路电性相连;
UWB组件用于通过所述接口电路与终端设备相连,以使得所述终端设备能够与UWB标签建立UWB 通信,并与所述UWB标签所表征IoT设备连接。
另一方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条程序代码,所述程序代码由处理器加载并执行以实现如上述方面所述的IoT设备的控制方法。
另一方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端设备执行上述方面的各种可选实现方式中提供的IoT设备的控制方法。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请一个示例性实施例的实施环境的示意图;
图2示出了本申请一个示例性实施例提供的IoT设备的控制方法的流程图;
图3示出了本申请另一个示例性实施例提供的IoT设备的控制方法的流程图;
图4示出了本申请一个示例性实施例示出的终端设备控制目标IoT设备的过程示意图;
图5示出了本申请一个示例性实施例示出的终端设备中显示控制界面的示意图;
图6示出了本申请另一个示例性实施例提供的IoT设备的控制方法的流程图;
图7示出了本申请一个示例性实施例的UWB组件中天线的结构示意图;
图8示出了本申请一个示例性实施例示出的UWB组件和多个UWB标签的工作时序图;
图9示出了本申请一个示例性实施例示出的水平天线组测量水平方向角度的过程示意图;
图10示出了本申请一个示例性实施例示出的确定终端设备和UWB标签空间位置关系的过程示意图;
图11示出了本申请一个实施例提供的IoT设备的控制装置的结构框图;
图12示出了本申请一个实施例提供的IoT设备的控制装置的结构框图;
图13示出了本申请一个示例性实施例提供的终端设备的结构方框图;
图14示出了本申请一个示例性实施例提供的终端系统的结构方框图;
图15示出了本申请一个示例性实施例示出的终端配件的结构示意图;
图16示出了本申请一个示例性实施例提供的UWB组件的结构方框图;
图17示出了本申请一个示例性实施例提供的IoT设备的控制系统的结构方框图。
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
请参考图1,其示出了本申请一个示例性实施例的实施环境的示意图,该实施环境中包括终端设备110、至少一个IoT设备120和UWB标签130。
终端设备110是具备空间位置感知能力的设备,空间位置感知能力指:终端设备110可以感知其与其他设备之间的空间位置关系。终端设备110可以是智能手机、平板电脑、智能遥控器、智能手表等便携式电子设备。
本申请实施例中,终端设备110可以通过UWB组件与UWB标签130建立UWB通信。也就是说,终端设备110可以通过UWB组件接收UWB标签130发送的数据帧,并根据UWB标签130发送的数据帧,确定终端设备110和UWB标签130之间的空间位置关系。
可选的,UWB组件与终端设备110可分离,或UWB组件独立于终端设备110。也就是说,终端设备110在安装或佩戴UWB组件时,具备与UWB标签130建立UWB通信的功能;当终端设备110未携带或未安装有UWB组件时,终端设备110可能无法与UWB标签建立UWB通信。在该应用场景下,UWB组件可以封装为终端配件,比如,UWB组件可以为手机壳、手机保护套、手机挂饰等终端配件。
可选的,UWB组件也可以设置在终端设备110内部,也就是说,在终端设备110内部设置UWB组件,使终端设备110可以通过UWB组件与UWB标签130建立UWB通信。
IoT设备120是可以与终端设备110建立数据通信连接功能的电子设备,其可以是智能电视122、智能音箱121、智能门锁123、智能冰箱、智能空调、智能灯具、车载空调等设备。上述数据通信连接是指:IoT设备120和终端设备110可以通过数据通信连接进行信息交互,该数据通信连接可以是WiFi连接、蓝牙连接、红外线连接等,本申请实施例对此不构成限定。
UWB标签130用于表征IoT设备120,也就是说,UWB标签130独立于IoT设备120。独立于意味 着,UWB标签130是独立于IoT设备120的装置,能够单独作为产品进行售卖,而并非作为IoT设备120的一部分集成于IOT设备120内,也不是IoT设备120的组成模块。并且当UWB标签130与IoT设备120绑定完成后,UWB标签130与IoT设备120不具备数据通信连接关系,仅具备映射关系,映射关系指可以通过UWB标签130确定其表征的IoT设备120。如图1所示,UWB标签131用于表征IoT设备121,UWB标签132用于表征IoT设备122,UWB标签132用于表征IoT设备123。
本申请实施例中,UWB标签130向终端设备110发送数据帧,终端设备110根据接收到的数据帧,确定UWB标签所表征IoT设备120的设备信息,并根据设备信息与IoT设备120建立数据通信连接,并对IoT设备120进行控制。
本申请实施例提供的应用于终端设备的IoT设备的控制方法包括:
与UWB标签建立UWB通信,UWB标签用于表征待连接的IoT设备,且UWB标签独立于IoT设备;
确定UWB标签所表征IoT设备的设备信息;
根据设备信息与IoT设备建立数据通信连接,并对IoT设备进行控制。
可选的,确定UWB标签所表征IoT设备的设备信息,包括:
根据至少一个UWB标签发送的数据帧,确定终端设备指向的UWB标签为目标UWB标签;
根据目标UWB标签发送的数据帧,确定目标UWB标签所表征目标IoT设备的目标设备信息;
根据设备信息与IoT设备建立数据通信连接,并对IoT设备进行控制,包括:
根据目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制。
可选的,根据至少一个UWB标签发送的数据帧,确定终端设备指向的UWB标签为目标UWB标签,包括:
根据同一UWB标签发送的数据帧,确定终端设备与UWB标签之间的空间位置关系,空间位置关系包括水平方向角度和竖直方向角度;
根据终端设备与各个UWB标签之间的空间位置关系,确定终端设备指向的UWB标签为目标UWB标签。
可选的,根据终端设备与各个UWB标签之间的空间位置关系,确定终端设备指向的UWB标签为目标UWB标签,包括:
将与终端设备之间的水平方向角度位于水平角度范围,且与终端设备之间的竖直方向角度位于竖直角度范围的UWB标签确定为目标UWB标签。
可选的,根据目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制,包括:
响应于终端设备与目标IoT设备之间的距离小于距离阈值,根据目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制。
可选的,根据目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制,包括:
响应于满足目标IoT设备对应的连接条件,与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制;
其中,连接条件包括指向时长条件、手势条件、触控条件、传感器条件和语音控制条件中的至少一种。
可选的,UWB标签发送的数据帧中包含IoT设备的设备标识以及位置信息,终端设备用于根据设备标识和位置信息与IoT设备建立数据通信连接并进行控制。
可选的,UWB标签发送的数据帧中包含IoT设备的设备标识,终端设备用于根据设备标识与IoT设备建立数据通信连接并进行控制。
可选的,UWB标签发送的数据帧中包含标签标识,且终端设备中存储有UWB标签与IoT设备之间的映射关系,终端设备用于根据标签标识从映射关系中获取设备标识,并根据设备标识与IoT设备建立数据通信连接并进行控制。
可选的,根据目标设备信息与目标IoT设备建立数据通信连接,包括:
若目标IoT设备与终端设备的连接方式为WiFi连接,根据目标IoT设备的设备标识,通过路由设备与目标IoT设备建立WiFi数据通信连接,其中,目标IoT设备与终端设备均接入路由设备。
可选的,根据目标设备信息与目标IoT设备建立数据通信连接,包括:
若目标IoT设备与终端设备的连接方式为蓝牙连接,根据目标IoT设备的设备标识,通过蓝牙组件与目标IoT设备建立蓝牙数据通信连接。
可选的,方法还包括:
响应于绑定操作,获取待绑定UWB标签的标签标识;
响应于对IoT设备的选择操作,建立标签标识与IoT设备对应设备标识之间的映射关系。
可选的,方法还包括:
响应于解绑操作,删除UWB标签所指示的映射关系。
可选的,对目标IoT设备进行控制,包括:
响应于目标IoT设备为智能电视,将终端设备的当前显示画面传输至智能电视。
可选的,对目标IoT设备进行控制,包括:
响应于目标IoT设备为智能家居设备,显示智能家居设备对应的控制界面,控制界面中包括智能家居设备对应的功能控件;
响应于对控制界面中功能控件的触发操作,控制智能家居设备执行对应的设备功能。
可选的,与UWB标签建立UWB通信,包括:
通过UWB组件与UWB标签建立UWB通信,UWB组件与终端设备可分离,或者,UWB组件设置在终端设备内部。
可选的,UWB组件在工作状态下接收数据帧,且不进行数据帧发送。
本申请实施例提供的应用于UWB标签的IoT设备的控制方法包括:
与终端设备建立UWB通信;
向终端设备发送数据帧,使终端设备根据UWB标签发送的数据帧,确定UWB标签所表征IoT设备的设备信息,并根据设备信息与IoT设备建立数据通信连接,以及对IoT设备进行控制。
可选的,UWB标签发送的数据帧中包含IoT设备的设备标识以及位置信息,终端设备用于根据设备标识和位置信息与IoT设备建立数据通信连接并进行控制。
可选的,UWB标签发送的数据帧中包含IoT设备的设备标识,终端设备用于根据设备标识与IoT设备建立数据通信连接并进行控制。
可选的,UWB标签发送的数据帧中包含标签标识,且终端设备中存储有UWB标签与IoT设备之间的映射关系,终端设备用于根据标签标识从映射关系中获取设备标识,并根据设备标识与IoT设备建立数据通信连接并进行控制。
可选的,UWB标签在工作状态下发送数据帧,且不进行数据帧接收;
向终端设备发送数据帧,包括:
侦听目标信道;
响应于目标信道空闲,在目标信道上向终端设备发送数据帧。
请参考图2,其示出了本申请一个示例性实施例提供的IoT设备的控制方法的流程图,本申请实施例以该方法应用于图1所示的终端设备和UWB标签为例进行说明,该方法包括:
步骤201,终端设备与UWB标签建立UWB通信,UWB标签用于表征待连接的IoT设备,且UWB标签独立于IoT设备。
在本申请实施例的应用场景中,UWB标签可以广播数据帧,终端设备可以接收UWB标签广播的数据帧。也就是说,终端设备与UWB标签建立UWB通信,或UWB标签与终端设备建立UWB通信。
其中,UWB标签用于表征待连接的IoT设备,也就是说,UWB标签独立于IoT设备。独立于意味着,UWB标签是独立于IoT设备的装置,能够单独作为产品进行售卖,而并非作为IoT设备的一部分集成于IOT设备内,也不是IoT设备的组成模块。并且当UWB标签与IoT设备绑定完成后,UWB标签与IoT设备不具备数据通信连接关系,仅具备映射关系,映射关系指可以通过UWB标签确定其表征的IoT设备。
基于UWB标签独立于IoT设备的关系,UWB标签可以粘贴在IoT设备上,或UWB标签可以放置在IoT设备附近;UWB标签可以放置在远离IoT设备的位置处,本申请实施例对UWB标签的设置位置不构成限定。
可选的,由于UWB标签独立于IoT设备,在一种可能的实施方式中,UWB标签可以具备独立电源,比如,UWB标签内部设置有纽扣电池,用于在UWB标签处于工作状态时,为UWB标签提供电源。
可选的,UWB标签设置有USB接口,通过该USB接口为UWB标签充电,以维持UWB标签的续航能力。
其中,在充电场景下,可以使用USB线连接UWB标签和IoT设备,对应的,UWB标签和IoT设备建立充电连接关系,且IoT设备仅为UWB标签供电,UWB标签和IoT设备无数据通信连接关系。
上述数据通信连接是指:IoT设备和终端设备可以通过数据通信连接进行信息交互,该数据通信连接可以是WiFi连接、蓝牙连接、红外线连接等,本申请实施例对此不构成限定。
可选的,在充电场景下,也可以使用其他设备为UWB标签充电,比如,移动电源、固定电源等。
步骤202,UWB标签向终端设备发送数据帧。
其中,UWB标签具备广播数据帧的功能。
针对UWB标签广播数据帧的方式,在一些可能的实施方式中,当UWB标签启动后,可以实时广播数据帧;或每隔预设时间段广播数据帧,比如,每隔30s广播数据帧;或在预设时间段内实时广播数据帧,比如,UWB标签在早上8:00:00到晚上8:00:00时间段内实时广播数据帧。
步骤203,终端设备确定UWB标签所表征IoT设备的设备信息。
基于UWB标签和其表征IoT设备之间的关系,终端设备可以根据UWB标签广播的数据帧,确定该UWB标签所表征IoT设备的设备信息。
其中,设备信息可以是唯一表示该IoT设备的信息,比如,设备信息可以是IoT设备的设备标识、设备名称、设备位置信息等。
针对终端确定UWB标签所表征IoT设备的设备信息的方式,以确定设备标识为例,可以包括以下几种情况:
1、数据帧中添加有UWB标签表征的IoT设备的设备标识。
在一种可能的实施方式中,UWB标签将其表征的IoT设备的设备标识添加至数据帧中,向终端设备发送数据帧。对应的,终端设备接收到UWB标签发送的数据帧,从中提取出该UWB标签所表征的IoT设备的设备标识。
2、数据帧中添加有UWB标签的标签标识,终端设备中存储有UWB标签和IoT设备之间的映射关系。
在另一种可能的实施方式中,UWB标签将自身标签标识添加至数据帧中,向终端设备发送数据帧。对应的,终端设备接收到UWB标签发送的数据帧,从中提取出该UWB标签对应的标签标识,并根据该标签标识从映射关系中获取设备标识,该设备标识就是该UWB标签所表征IoT设备的设备标识。
可选的,对于新增UWB标签与其所表征IoT设备之间的映射关系,用户可以直接在终端中输入UWB标签和IoT设备之间的映射关系;可选的,当UWB标签和IoT设备之间建立绑定关系时,UWB标签可以向终端发送绑定请求,该绑定请求中包含UWB标签的自身标签标识和IoT设备的设备标识,对应终端接收到UWB标签和IoT设备之间的绑定请求,建立UWB标签和IoT设备之间的映射关系。可选的,也可以由IoT设备向终端发送绑定请求。
3、数据帧中添加有UWB标签表征的IoT设备的设备标识和位置信息。
在另一种可能的实施方式中,UWB标签将设备标识和位置信息添加至数据帧中,向终端设备发送数据帧。则对应的,终端设备接收到UWB标签发送的数据帧,从中获取到该UWB标签所表征的IoT设备的设备标识和位置信息。
可选的,UWB标签中预先存储有其所表征的IoT设备的设备标识和位置信息,使得UWB标签在广播数据帧时,可以在数据帧中添加该设备标识和位置信息。
步骤204,终端设备根据设备信息与IoT设备建立数据通信连接,并对IoT设备进行控制。
在一种可能的实施方式中,当终端设备确定出UWB标签所表征的IoT设备的设备信息后,可以根据该设备信息直接与对应的IoT设备建立数据通信连接,并对IoT设备进行控制。
在一个示例性的例子中,若设备信息为设备标识,对应的,终端设备可以根据设备标识确定对应的IoT设备,与IoT设备建立数据通信连接,并对该IoT设备进行控制。
综上所述,本申请实施例中,通过设置可以表征IoT设备的UWB标签,且该UWB标签独立于IoT设备,终端设备可以通过与UWB标签建立UWB通信,实现与该UWB标签所表征的IoT设备建立数据通信连接,并对IoT设备进行控制。由于UWB标签和IoT设备之间的独立性,使得在终端设备与IoT设备建立数据通信连接之前,无需终端设备与IoT设备之间进行任意操作,降低了IoT设备的设备功耗,进而提高了终端设备控制IoT设备的自动化和便捷性。
请参考图3,其示出了本申请另一个示例性实施例提供的IoT设备的控制方法的流程图,本申请实施例以该方法应用于图1所示的终端设备为例进行说明,该方法包括:
步骤301,与UWB标签建立UWB通信,UWB标签用于表征待连接的IoT设备,且UWB标签独立于IoT设备。
本步骤的实施方式可以参考上文实施例,本实施例在此不做赘述。
步骤302,根据至少一个UWB标签发送的数据帧,确定终端设备指向的UWB标签为目标UWB标签。
基于用户需要通过终端设备控制某个IoT设备,一般都会将终端设备指向该IoT设备。因此,基于用户的这一行为习惯,设定终端设备与UWB标签的位置关系为正对关系时,确定终端设备需要与该UWB标签所表征的IoT设备建立数据通信连接,也就是说,当确定终端设备指向某个UWB标签时,将该UWB标签确定为目标UWB标签,后续终端设备可以与目标UWB标签所表征的目标IoT设备建立数据通信连接,并对其进行控制。
为了确定终端设备是否指向某个UWB标签,则终端设备需要具备可以感知UWB标签与其之间的空间位置关系的能力,由于UWB标签可以与终端设备建立UWB通信,而UWB通信可以实现定位功能,因此,在一种可能的实施方式中,在确定终端设备与UWB标签的空间位置关系时,可以采用UWB技术中的定位方式,比如,信号到达角度(Angle of Arrival,AOA)测量:根据数据帧的到达角度确定物体的空间位置;信号到达相位差(Phase Difference of Arrival,PDOA)测量,根据数据帧的到达相位差确定物体的空间位置。本申请实施例对确定空间位置关系所采用的具体定位原理不构成限定。
可选的,针对应用场景中包含终端设备和单个UWB标签,该UWB标签表征单个IoT设备的情况,若用户需要控制该IoT设备,可以直接将终端设备对准该IoT设备对应的UWB标签。对应的,终端设备可以接收到该UWB标签发送的数据帧,并根据该数据帧确定UWB标签表征的IoT设备,从而与该IoT设备建立数据通信连接,继而控制该IoT设备。
可选的,针对应用场景中包含终端设备和多个UWB标签,不同UWB标签表征不同IoT设备。当UWB标签处于工作状态时,终端设备可以接收多个UWB标签发送的数据帧,并根据至少一个UWB标签发送的数据帧,确定出各个UWB标签与终端设备之间的空间位置关系,从中筛选出终端设备指向的目标UWB标签,从而确定用户需要控制的目标IoT设备。
步骤303,根据目标UWB标签发送的数据帧,确定目标UWB标签所表征目标IoT设备的目标设备信息。
在一种可能的实施方式中,当终端设备根据接收到的数据帧,确定出终端设备指向的目标UWB标签,而目标UWB标签唯一表征目标IoT设备;对应终端设备确定出用户想要通过终端设备控制的目标IoT设备。由于数据帧中添加有用于确定IoT设备的设备信息等相关内容,因此,可以根据目标UWB标签发送的数据帧,确定目标UWB标签所表征目标IoT设备的目标设备信息,进而根据该目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制。
其中,UWB标签发送的数据帧中所包含的信息可以为:IoT设备的设备标识和位置信息、IoT设备的设备标识、UWB标签自身的标签标识,对应的,终端基于UWB标签发送的数据帧,与IoT设备建立数据通信连接的方式也可以包括以下三种情况:
1、UWB标签发送的数据帧中包含IoT设备的设备标识以及位置信息,终端设备用于根据设备标识和位置信息与IoT设备建立数据通信连接并进行控制。
其中,设备标识为UWB标签所表征IoT设备的设备标识。设备标识可以是唯一标识该IoT设备的标识。比如,设备标识可以是IoT设备的机器码、设备编号、设备名称等,本申请实施例对此不构成限定。
其中,位置信息可以是UWB标签的位置信息,也可以是IoT设备的位置信息。
针对位置信息是UWB标签的位置信息,在应用场景中,UWB标签与其表征的IoT设备放置在相同位置处,对应的,可以采用UWB标签的位置信息代替IoT设备的位置信息。
针对位置信息是IoT设备的位置信息,在应用场景中,UWB标签可以与其表征的IoT设备放置在相同位置处,UWB标签也可以与IoT设备放置在不同位置。
在一种可能的实施方式中,目标UWB标签在发送数据帧时,可以在数据帧中携带目标IoT设备的目标设备标识和目标位置信息,或在数据帧中携带目标IoT设备的目标设备标识,以及目标UWB标签的目标位置信息,对应的,终端设备接收到目标UWB标签发送的数据帧,可以从数据帧中获取目标IoT设备的目标设备标识和目标位置信息,从而根据该目标设备标识和目标位置信息与目标IoT设备建立数据通信连接,以实现对目标IoT设备进行控制。
2、UWB标签发送的数据帧中包含IoT设备的设备标识,终端设备用于根据设备标识与IoT设备建立数据通信连接并进行控制。
在另一种可能的实施方式中,UWB标签在发送数据帧时,携带UWB标签所表征的IoT设备的设备标识,则对应的,终端设备接收到各个UWB标签发送的数据帧,可以确定出各个UWB标签所表征的IoT设备的设备标识。
对应的,当终端设备确定出其指向的目标UWB标签后,可以从目标UWB标签发送的数据帧中,获取到目标UWB标签所表征目标IoT设备的目标设备标识,进而基于该目标设备标识与IoT设备建立数据通信连接,以实现对目标IoT设备进行控制。
3、UWB标签发送的数据帧中包含标签标识,且终端设备中存储有UWB标签与IoT设备之间的映射关系,终端设备用于根据标签标识从映射关系中获取设备标识,并根据设备标识与IoT设备建立数据通信连接并进行控制。
其中,标签标识可以是唯一标识UWB标签的信息,比如,UWB标签的标签编号、UWB标签的标签名称等。
在一种可能的实施方式中,终端设备中预先存储有各个UWB标签和其表征的IoT设备之间的映射关系,该映射关系可以是标签标识和设备标识的对应关系。
在一个示例性的例子中,UWB标签和IoT设备之间的映射关系可以如表一所示:
表一
标签标识 | 设备标识 |
UWB标签1 | IoT设备B |
UWB标签2 | IoT设备A |
UWB标签4 | IoT设备D |
在一种可能的实施方式中,UWB标签在数据帧中携带标签标识。对应的,终端设备接收到UWB标签发送的数据帧后,从数据帧中获取到UWB标签的标签标识,从而根据映射关系,确定出标签标识对应的设备标识,进而根据该设备标识确定出UWB标签所表征的IoT设备。
可选的,当终端设备确定出所指向的目标UWB标签后,即可以从目标UWB标签所发送的数据帧中,获取到目标UWB标签的标签标识,进而基于该标签标识与映射关系中国获取目标UWB标签所表征目标IoT设备的设备标识,并基于该设备标识与IoT设备建立数据通信连接,从而控制该IoT设备执行预设操作。
可选的,针对UWB标签发送的数据帧中仅携带标签标识的场景,终端中需要预先存储有UWB标签和IoT设备之间的映射关系,在一个示例性的例子中,终端中存储该映射关系的过程可以包括以下步骤:
一、响应于绑定操作,获取待绑定UWB标签的标签标识。
为了使得终端可以根据数据帧中包含的标签标识,确定UWB标签表征的IoT设备,在一种可能的实施方式中,通过在终端设备中进行绑定操作,则对应的终端设备接收到绑定操作,获取待绑定的UWB标签的标签标识。
二、响应于对IoT设备的选择操作,建立标签标识与IoT设备对应设备标识之间的映射关系。
在一种可能的实施方式中,终端设备中可以预先注册不同应用场景对应的IoT设备。比如,房间1对应IoT设备A~C,房间2对应IoT设备D~G,对应的,用户可以在终端设备中查看位于不同应用场景中的IoT设备,当用户需要将UWB标签和IoT设备绑定时,可以在终端设备中选择IoT设备,并输入与该IoT设备绑定的UWB标签的标签标识。对应的,终端设备接收到对IoT设备的选择操作,可以将IoT设备的设备标识和标签标识绑定,从而在终端设备中建立UWB标签和其表征的IoT设备的映射关系。
可选的,用户也可以直接将标签标识和设备标识的对应关系输入终端设备中,对应的,终端设备中建立标签标识与IoT设备对应设备标识之间的映射关系。
在另一种可能的应用场景中,UWB标签和IoT设备之间的映射关系并非是永久绑定的,用户可以根据需求,修改或删除UWB标签和IoT设备之间映射关系。比如,修改前,UWB标签1用于表征IoT设备A,修改后,UWB标签1用于表征IoT设备D。对应的,用户需要在终端设备中删除UWB标签1与IoT设备之间的映射关系,并重新进行UWB标签1和IoT设备D之间的绑定操作。
对应的,在一种可能的实施方式中,当终端设备接收到解绑操作,可根据解绑操作指示的UWB标签的标签标识,删除该标签标识与设备标识之间的对应关系,从而删除UWB标签所指示的映射关系。
步骤304,根据目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制。
其中,目标设备信息是唯一标识目标IoT设备的信息,比如,目标设备信息可以是目标设备标识或目标IoT设备的目标位置信息。
在一种可能的实施方式中,当终端设备确定出目标设备信息后,可以与该目标设备信息指示的目标IoT设备建立数据通信连接,进而实现对目标IoT设备的控制。
其中,终端设备与目标IoT设备之间连接方式可以为WiFi连接或蓝牙连接,不同连接方式下,终端设备与目标WiFi连接之间建立数据通信连接的方式并不相同。在一个示例性的例子中,终端设备与目标IoT设备建立数据通信连接的过程可以包括以下步骤:
一、若目标IoT设备与终端设备的连接方式为WiFi连接,根据目标IoT设备的设备标识,通过路由设备与目标IoT设备建立WiFi数据通信连接,其中,目标IoT设备与终端设备均接入路由设备。
在一种可能的应用场景中,目标IoT设备和终端设备连接有相同的WiFi,也就是说,目标IoT设备与终端设备均通过同一路由设备接入网络,对应的,当终端设备需要与目标IoT设备建立数据通信连接时,可以根据目标IoT设备的设备标识,通过该路由设备与目标IoT设备建立WiFi数据通信连接。
针对具体建立数据通信连接的方式,在一个示例性的例子中,终端设备可以向路由设备发送连接建立指令。其中,连接建立指令中包含目标IoT设备对应的设备标识,对应的,路由设备在接收到连接建立指令后,根据连接建立指令中携带的目标IoT设备的设备标识,向目标IoT设备发送连接建立指令,目标IoT设备接收到该连接建立指令,与终端设备建立WiFi数据通信连接。
二、若目标IoT设备与终端设备的连接方式为蓝牙连接,根据目标IoT设备的设备标识,通过蓝牙组件与目标IoT设备建立蓝牙数据通信连接。
在另一种可能的实施方式中,终端设备可以与目标IoT设备建立蓝牙数据通信连接。也就是说,若目标IoT设备与终端设备的连接方式为蓝牙连接,终端设备可以根据目标IoT设备对应的设备标识,通过蓝牙组件与目标IoT设备建立蓝牙数据通信连接。
针对具体建立蓝牙数据通信连接的方式,在一种可能的实施方式中,终端设备和IoT设备均开启蓝牙功能。其中,终端设备可以接收到其他IoT设备广播的蓝牙信号,该蓝牙信号中可以携带有各个IoT设备对应的设备标识,终端设备可以根据目标IoT设备对应的设备标识,从接收到的多个蓝牙信号中确定出目标蓝牙信号。其中,目标蓝牙信号是由目标IoT设备广播的,并与目标IoT设备建立蓝牙数据通信连接。
可选的,终端设备也可以直接广播包含蓝牙连接指令,该蓝牙连接指令中包含目标IoT设备对应的设备标识。当目标IoT设备接收到该蓝牙连接指令后,确定出设备标识与自身设备标识一致,与终端设备建立蓝牙数据通信连接。
在一种可能的实施方式中,当终端设备确定出用户想要控制的目标IoT设备后,可以与目标IoT设备建立蓝牙数据通信连接或WiFi数据通信连接,并基于建立好的数据通信连接控制目标IoT设备。
可选的,终端设备与目标IoT设备之间的连接方式还可以包括红外连接、NFC连接等。
为了避免用户误操作,导致终端设备与目标IoT设备建立无效数据通信连接,占用目标IoT设备的设备资源。在一种可能的实施方式中,设置有连接条件,也就是说,终端设备需要在满足该连接条件的情况下,允许与目标IoT设备建立数据通信连接。
其中,由于不同IoT设备的功能不同,针对不同IoT设备设置有不同的连接条件,使得用户针对不同IoT设备可以采用不同操作,进一步提高建立数据通信连接的准确性。比如,若IoT设备A对应的连接条件为触控条件,IoT设备B对应的连接条件为手势条件,当终端设备确定出目标IoT设备为IoT设备A。但是接收到用户的手势操作,显然,手势操作与IoT设备对应的触控条件不满足,可能是目标IoT设备的确定不准确,与用户期望不对应。此时,可以停止继续与IoT设备A建立数据通信连接,避免建立错误的数据通信连接。
在一种可能的实施方式中,当终端设备确定出目标IoT设备后,继续判断终端设备是否满足该目标IoT设备对应的连接条件,若满足目标IoT设备对应的连接条件,与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制;若不满足目标IoT设备对应的连接条件,则停止与目标IoT设备建立数据通信连接。
其中,连接条件包括指向时长条件、手势条件、触控条件、传感器条件和语音控制条件中的至少一种。
针对将指向时长条件确定为连接条件的场景:终端设备确定指向目标UWB标签的时长超过时长阈值,确定用户想要终端设备与目标UWB标签所表征的目标IoT设备建立数据通信连接。其中,时长阈值可以是5s,该时长阈值由开发人员预先设置,为默认值,或由用户自行设置。当终端设备确定在5s内均指向目标UWB标签(或终端设备确定在5s内,终端设备与该目标UWB标签均处于正向关系),则确定终端设备满足目标IoT设备对应的连接条件,与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制;反之,停止后续与目标IoT设备建立数据通信连接的步骤。
可选的,指向时长条件可以由用户自行设置,可以针对不同IoT设备设置不同的指向时长条件。比如,IoT设备A对应的指向时长条件为3s,IoT设备B对应的指向时长条件为5s,本申请实施例对此不构成限定。
针对将手势条件确定为连接条件的场景:但终端设备检测到用户进行目标IoT设备对应的预设手势,表示用户需要终端设备与目标IoT设备建立数据通信连接,预设手势可以是“比划OK的手势”,或“滑动终端屏幕”等;反之,若终端并未检测到预设手势,或者检测到的手势操作与预设手势不同,则终端设备停止后续与目标IoT设备建立数据通信连接。
可选的,用户可以为不同IoT设备设置不同的预设手势。比如,IoT设备A对应的手势条件为:检测到用户比划“OK”的手势;IoT设备B对应的手势条件为:检测到用户在终端设备屏幕上绘制预设图案等。
针对将触控条件确定为连接条件的场景:当终端设备检测到用户触摸终端预设位置,比如,指纹识别区域,且检测到该指纹为控制终端设备与目标IoT设备建立数据通信连接的指纹;或终端检测到用户轻触终端设备的屏幕时,与目标IoT设备建立数据通信连接;反之,若终端并未检测到预设触控操作,或者检测到的触控操作与预设触控操作不同,则终端设备停止后续与目标IoT设备建立数据通信连接。
可选的,用户也可以为不同IoT设备设置不同的触控条件,以区分终端设备与不同IoT设备之间建立数据通信连接,提高终端设备与IoT设备建立数据通信连接的准确性。
针对将传感器条件作为连接条件的场景:可以是终端设备检测到用户握持终端进行预设操作时,与目标IoT设备建立数据通信连接。比如,终端设备检测到用户手握持终端设备进行“摇一摇”操作,与目标IoT设备建立数据通信连接。
可选的,用户也可以为不同IoT设备设置不同传感器条件。
针对将语音控制条件作为连接条件的场景:终端设备在确定出目标IoT设备时,可以开启语音检测功能,当检测到与目标IoT设备相关的语音指令时,与目标IoT设备建立数据通信连接。比如,智能电视对应的语音控制条件中指示预设语音指令为“投屏”,当终端设备确定出目标IoT设备为智能电视,且接收到投屏指令,终端设备与智能电视预先建立数据通信连接。
可选的,用户可以为不通过IoT设备设置不同语音控制条件。
由于UWB标签仅用于表征IoT设备,UWB标签和IoT设备可能位于不同空间中。比如,UWB标签位于房间A,而UWB标签所表征的IoT设备位于房间B中,用户可以通过将终端设备指向目标UWB标签,预先令终端设备与目标IoT设备建立数据通信连接,以提高后续控制目标IoT设备的效率。在该应用场景下,若终端设备过早与目标IoT设备建立数据通信连接,显然会增加终端设备与目标IoT设备之间的 连接功耗。因此,在一种可能的实施方式中,设置有距离条件,也就是说,终端设备与目标IoT设备之间的距离需要满足距离条件,允许终端设备与目标IoT设备建立数据通信连接。
基于用户想要通过终端设备控制目标IoT设备进行目标操作时,终端设备与目标IoT设备之间的距离一般采取就近原则。在一种可能的实施方式中,当终端设备确定出目标IoT设备后,获取终端设备与目标IoT设备之间的距离,当确定出该距离小于距离阈值时,根据目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制。
其中,确定终端设备与目标IoT设备之间的距离的方式,由于UWB标签发送的数据帧中包含IoT设备对应的位置信息,在一种可能的实施方式中,终端设备确定出目标IoT设备后,可以从目标UWB标签发送的数据帧中获取目标IoT设备对应的位置信息,并根据该位置信息和自身位置信息,确定终端设备与目标IoT设备之间的距离。
可选的,距离阈值可以由用户根据需求自行设置,或采用系统默认值。比如,距离阈值可以是3m。
综上,在一种可能的实施方式中,当终端设备确定出目标IoT设备后,需要判断终端设备与目标IoT设备之间的距离是否小于距离阈值。若小于距离阈值,继续判断终端是否满足目标IoT设备对应的连接条件,并在满足连接条件后,与目标IoT设备建立数据通信连接并进行控制。
其中,距离判断过程和连接条件判断过程可以同时进行,或先进行距离判断过程,后进行连接条件判断过程;或先进行连接条件判断过程,后进行距离判断过程,本申请实施例对此不构成限定。
本实施例中,基于用户想要通过终端设备控制IoT设备,会将终端设备指向IoT设备的行为习惯。根据终端设备接收到的至少一个UWB标签发送的数据帧,确定出终端设备指向的UWB标签为目标UWB标签,并将目标UWB标签所表征的IoT设备确定为目标IoT设备,与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制,实现了通过UWB标签和终端设备之间的通信,控制目标IoT设备的目的;此外,通过设置连接条件,可以避免用户对终端设备误操作,导致终端设备与目标IoT设备建立无效数据通信连接,进而提高终端设备控制目标IoT设备的准确率。
在一种可能的应用场景中,对于不同的IoT设备,终端设备控制IoT设备所执行的目标操作并不相同。
针对目标IoT设备为智能电视的场景,当终端确定出目标IoT设备为智能电视,终端设备可以控制目标IoT设备执行投屏操作,也就是说,可以将终端设备的当前显示画面传输至智能电视。
在一个示例性的例子中,如图4所示,其示出了本申请一个示例性实施例示出的终端设备控制目标IoT设备的过程示意图。其中,目标IoT设备为智能电视,终端设备410中显示有视频播放界面411,当终端设备确定出目标IoT设备为智能电视后,可以将终端设备410的当前显示画面传输至智能电视420,对应的,智能电视420上显示视频播放界面421。
可选的,在终端设备将当前显示画面传输至智能电视之前,可以在终端设备的显示界面中显示操作确认控件,若用户需要进行投屏操作,可以点击该操作确认控件。对应的,终端设备接收到对操作确认控件的点击操作,可以将终端设备的当前显示画面传输至智能电视,以便用户可以通过智能电视继续观看显示内容。
可选的,若目标IoT设备为智能电视,在一种可能的实施方式中,终端设备中还可以显示智能电视对应的控制界面,且控制界面中还包括智能电视对应的功能控件。比如,视频进度调节控件,用户可以点击该视频进度调节控件,终端设备响应于对该视频进度调节控件的触发操作,控制智能电视调节当前视频播放进度。
针对目标IoT设备为智能家居设备的场景,在一种可能的实施方式中,当终端确定出目标IoT设备为智能家居设备,可以在终端设备中显示该智能家居设备对应的控制界面。其中,控制界面中包括智能家居设备对应的功能控件;用户可以根据需求点击控制界面的功能控件,终端设备响应于对控制界面中功能控件的触发操作,控制智能家居设备执行对应的设备功能。
其中,智能家居设备可以包括:智能冰箱、智能音箱、智能门锁、智能窗帘、智能灯具、智能空调等,本申请实施例对智能家居设备的种类不构成限定。
若目标IoT设备为智能音箱,终端设备中显示的控制界面可以包括:音量调节控件、音乐进度调节控件、播放模式调节控件等;若目标IoT设备为智能门锁,终端设备中显示的控制界面可以包括:密码设置控件、开关控件等;若目标IoT设备为智能窗帘,终端设备中显示的控制界面可以包括:窗帘遮光度调节控件、窗帘开关控件等;若目标IoT设备为智能空调,终端设备中显示的控制界面可以包括:温度调节控件、模式调节控件、风速调节控件、开关控件等;若目标IoT设备为智能灯具,终端设备中显示的控制界面可以包括:灯具开关控件、亮度调节控件、色温调节控件等。
在一个示例性的例子中,如图5所示,其示出了本申请一个示例性实施例示出的终端设备中显示控制界面的示意图。以目标IoT设备为智能空调为例,终端设备中显示有控制界面501,该控制界面501中显示有开关控件502、模式调节控件503、风速调节控件504、温度调节控件505、灯光控件506、上下扫风控件507以及左右扫风控件508。当用户点击模式调节控件503时,终端设备响应于对模式调节控件503 的触发操作,控制智能空调进行工作模式调节。比如,由制冷模式调节为制热模式。
在上文实施例中,终端设备对目标IoT设备进行控制的实现过程中,终端设备需要首先确定其所指向的目标UWB标签,进而基于目标UWB标签与目标IoT设备之间的表征关系,与目标IoT设备建立数据通信连接,进行对其进行控制,可见,终端设备确定目标UWB标签所处的空间位置关系,是实现终端设备准确控制目标IoT设备的前提条件,而由于终端设备与UWB标签建立有UWB通信。因此,在一种可能的实施方式中,终端设备通过UWB组件与UWB标签建立UWB通信,并通过与UWB标签之间的UWB交互,实现对UWB标签对应空间位置关系的确定。
请参考图6,其示出了本申请另一个示例性实施例提供的IoT设备的控制方法的流程图,本申请实施例以该方法应用于图1所示的终端设备为例进行说明,该方法包括:
步骤601,通过UWB组件与UWB标签建立UWB通信。
其中,UWB组件与终端设备可分离,或者,UWB组件设置在终端设备内部。
针对UWB组件与终端设备可分离的场景,UWB组件可以封装为终端配件,比如,手机保护套、手机挂饰等,当终端设备佩戴该终端配件时,终端设备可以通过UWB组件与UWB标签建立UWB通信。
可选的,当UWB组件与终端设备可分离时,UWB组件需要预先与终端设备建立数据通信连接,当建立数据通信连接后,终端设备可以通过UWB组件与UWB标签建立UWB通信。示意性的,该数据通信连接可以包括WiFi连接、蓝牙连接、红外线连接、近距离无线通信(Near Field Communication,NFC)连接等。
在一种可能的实施方式中,UWB标签发送数据帧,终端设备可以通过UWB组件接收UWB标签发送的数据帧,对应的,终端设备可以通过UWB组件与UWB标签建立UWB通信。
由于本申请实施例的应用场景中包含多个UWB标签,且不同UWB标签在工作状态下仅发送数据帧,不进行数据帧接收。为了避免不同UWB标签发送的数据帧的冲突问题,在一可能的实施方式中,UWB标签向终端设备发送数据帧时,需要实时侦听目标信道,并在目标信道空闲时,在目标信道上向终端设备发送数据帧。
其中,UWB标签采用空闲信道评估(Clear Channel Assessment,CCA)技术检测目标信道,并在确定目标信道处于空闲状态时,或目标信道的接收信号强度低于门限值时,通过该目标信道发送数据帧,避免数据帧的发送冲突导致后续无法进行空间位置关系测量,进而可以提高目标信道的容量。
可选的,若UWB标签在第一时刻侦听到目标信道处于占用状态,在第一时刻不广播数据帧,并随机延时至第二时刻。在第二时刻广播数据帧,或在侦听到目标信道处于空闲状态时,继续广播数据帧。其中,在检测到数据帧冲突时,UWB标签可以采用随机接入(ALOHA)协议发送数据帧。
步骤602,根据同一UWB标签发送的数据帧,确定终端设备与UWB标签之间的空间位置关系,空间位置关系包括水平方向角度和竖直方向角度。
为了确定终端设备所指向的UWB标签,也即确定终端设备与至少一个UWB标签之间的空间位置关系,而确定空间位置关系无需确定出UWB标签的具体位置,仅需要确定UWB标签相对于终端设置,是否正对于终端设备,因此,在一种可能的应用场景中,基于UWB技术中的空间定位原理,仅需要确定出UWB标签相对于终端设备的方位角,比如,水平方位角度和竖直方位角度,即可通过判断方位角,来确定出终端设备是否指向该UWB标签。
可选的,基于UWB技术中的空间定位原理,比如,PDOA、AOA等可知,若需要通过终端设备与UWB标签之间的UWB交互,测量终端设备与UWB标签之间的水平方向角度和竖直方向角度,UWB组件需要设置两个不同方向的天线组,每个天线组包含两根天线,用于分别测量水平方向角度和竖直方向角度。比如,第一天线组和第二天线组之间具备预设夹角,预设夹角可以是60度。
在一个示例性的例子中,第一天线组可以是水平天线组,第二天线组可以是竖直天线组。其中,水平天线组包括第一天线和第二天线,第一天线和第二天线为水平方向设置的天线;竖直天线组包括第一天线和第三天线,第一天线和第三天线为竖直方向设置的天线。也即UWB组件包括三根天线,其中,第一天线为公用天线,其既可以用于参与测量水平方向度,也可以参与用于测量竖直方向角度。
由于本申请实施例的应用场景中,最终是为了确定终端是否指向目标UWB标签。因此,UWB组件在设置时,为了减少终端设备的计算量,可以与终端的水平方向和竖直方向对应,即UWB组件的水平天线组与终端设备的水平方向一致,且UWB组件的竖直天线组与终端设备的竖直方向一致。
可选的,以水平天线组和竖直天线组为例,UWB组件也可以包括四根天线,即第一天线、第二天线、第三天线和第四天线。其中,第一天线和第二天线为水平天线组,第三天线和第四天线为竖直方向组,本申请实施例对此不构成限定。
在一个示例性的例子中,如图7所示,其示出了本申请一个示例性实施例的UWB组件中天线的结构示意图。其中,第一天线组包括第一天线701和第二天线702,第二天线组包括第一天线701和第三天线 703,且第一天线701和第二天线702的连线与第一天线701和第三天线703的连线存在预设夹角。
由于在确定终端设备与UWB标签的空间位置关系时,需要通过两组天线来实现,因此,在一种可能的实施方式中,终端设备在接收数据帧时,需要第一天线组和第二天线组交替接收至少一个UWB标签广播的数据帧,也就是说,在第一时刻,通过第一天线组接收UWB标签广播的数据帧,在第二时刻,将第一天线组切换为第二天线组,由第二天线组接收该UWB标签广播的数据帧,进而基于两个天线组分别接收到的同一UWB标签广播的数据帧,确定终端设备与该UWB标签的空间位置关系。
在一种可能的实施方式中,若需要确定UWB标签的空间位置,当UWB组件中的第一天线组处于接收状态时,接收UWB标签发送的数据帧,从而计算得到UWB标签与终端设备的水平方向角度;再将UWB组件由第一天线组切换至第二天线组,再次接收UWB标签发送的数据帧,从而计算得到UWB标签与终端设备的竖直方向角度。
本申请实施例的应用场景中可能包括多个UWB标签,且在测量空间位置关系的过程中,需要切换UWB组件中的天线组。为了避免在切换天线组时,终端设备并未全部接收该应用场景中全部UWB标签广播的数据帧,导致无法在一次天线组切换过程中实现对应用场景中所有UWB标签空间位置关系的测量,从而降低后续在比较和判断终端设备指向或正对的目标UWB标签的准确性。在一种可能的实施方式中,通过在UWB标签广播的数据帧中插入UWB标签的标签标识,使得终端可以通过在切换天线前,记录接收到的数据帧中包含的标签标识。由此,可以基于该标签标识来判断是否接收到该应用场景中可能包括的各个UWB标签广播的数据帧,提高天线组切换时机的准确性。
在一个示例性的例子中,确定同一UWB标签发送的数据帧可以包括以下步骤:
一、通过第一天线组接收至少一个UWB标签广播的数据帧,并根据数据帧中包含的标签标识构建标签集合。
其中,数据帧中包含UWB标签对应的标签标识。标签标识可以是该应用场景中不同UWB标签的编号,比如,UWB标签的编号为3,则该UWB标签广播的数据帧中即包含标签标识“3”,也可以采用不同UWB标签的机器码作为标签标识,本申请实施例对标签标识的类型不构成限定。
为了提高天线组切换时机的准确性,在一种可能的实施方式中,当终端设备通过第一天线组开始接收各个UWB标签广播的数据帧后,从该数据帧中获取到标签标识,并创建标签集合,将该标签标识添加至标签集合中。终端可以通过标签集合中标签标识的变化情况,来预判是否在UWB组件中的第一天线组处于接收状态时,已接收到当前应用场景中包含的各个UWB标签广播的数据帧。
在一个示例性的例子中,若标签标识为UWB标签的编号,则对应的标签集合可以为A={2,3,5},表示当UWB组件中的第一天线组处于接收状态时,已接收到UWB标签2、UWB标签3和UWB标签5广播的数据帧。
二、响应于标签集合停止变化,切换第二天线组接收至少一个UWB标签广播的数据帧。
基于UWB标签实时广播数据帧的特点,终端设备实时将接收到的数据帧中包含的标签标识添加至标签集合中,若标签集合中包含该标签标识,则不重复添加。若标签集合中不存在该标签标识,则继续在标签集合中添加标签标识,直至标签集合停止变化。即一段时间内标签集合中均未添加新的标签标识,表明该应用场景中可能不存在除标签集合中已有标签标识对应的UWB标签之外的UWB标签。则对应的,终端设备可以控制UWB组件切换接收数据帧的天线组,比如由第一天线组切换至第二天线组,以便在第二天线组处于工作状态时,继续接收UWB标签广播的数据帧。
可选的,当终端设备由第二天线组重新切换为第一天线组时,也可以根据上次切换过程中第一天线组处于接收状态时得到的标签集合,来确定由第二天线组件重新切换为第一天线组的时机。由此,可以避免遗漏接收某个UWB标签广播的数据帧,从而导致无法在一次天线组切换过程中对全部UWB标签的空间位置进行测量。
在一个示例性的例子中,若标签集合B={1,2,3,4},表示在UWB组件中的第一天线组处于工作状态时,接收到UWB标签1至4广播的数据帧。那么,为了实现对这四个UWB标签空间位置的测量,当UWB组件中的第二天线组处于工作状态时,需要保证接收到UWB标签1至4广播的数据帧,才可以重新切换至第一天线组。
如图8所示,其示出了本申请一个示例性实施例示出的UWB组件和多个UWB标签的工作时序图。其中,UWB标签包括UWB标签1~UWB标签4。当各个UWB标签处于工作状态时,通过侦听目标信道的信道状态广播数据帧。比如,UWB标签1在T1处侦听到目标信道空闲,在T1时刻广播数据帧后,继续监听目标信道,当目标信道被占用时,继续监听目标信道直至目标信道处于空闲状态,即在T2时刻广播数据帧。对应的,当UWB组件处于工作状态时,首先由水平天线组在第一时间段内接收各个UWB标签广播的数据帧。当确定接收到各个标签广播的数据帧后,由水平天线组切换至竖直天线组,并在第二时间段内通过竖直天线组接收各个UWB标签广播的数据帧。
在一种可能的实施方式中,终端通过UWB组件接收至少一个UWB标签广播的数据帧,并通过数据 帧中包含的标签标识,将接收到的数据帧按照标签标识划分为不同的数据帧组。同一数据帧组中包含的数据帧均由同一UWB标签广播,则对应的,终端设备可以根据同一数据帧组来确定该终端设备与UWB标签之间的空间位置关系。
由于本申请实施例中,UWB组件包括第一天线组和第二天线组,对应的,根据同一UWB标签广播的数据帧中,存在由第一天线组接收到的数据帧和由第二天线组接收到的数据帧。因此,可以根据第一天线组接收到的数据帧确定终端设备和UWB标签之间的水平方向角度,并根据第二天线组接收到的数据帧确定终端设备和UWB标签之间的竖直方向角度。综合得到的水平方向角度和竖直方向角度,确定终端设备与UWB标签之间的空间位置关系。
其中,确定空间位置关系的方法可以包括以下步骤:
一、根据第一天线组接收到的数据帧,确定终端设备与UWB标签之间的水平方向角度。
基于UWB技术中测量角度的原理,可以通过第一天线组接收到的数据帧,来确定终端设备与UWB标签之间的水平方向角度。
可选的,第一天线组可以是水平天线组。
其中,以PDOA为例描述测量水平方向角度的原理为:由于水平天线组包括第一天线和第二天线,当水平天线组处于工作状态时,由于两根天线之间存在一定的距离,可以根据同一数据帧到达两根天线之间的到达相位差,从而计算UWB组件与UWB标签之间在水平方向上的水平方向角度。
在一个示例性的例子中,如图9所述,其示出了本申请一个示例性实施例示出的水平天线组测量水平方向角度的过程示意图。UWB标签901相对于水平天线组的水平方向角度为α,根据几何关系可以得知该水平方向角度与角度θ相等。水平天线组902包括第一天线和第二天天线,第一天线和第二天线之间相距d,UWB标签901广播的数据帧,该数据帧到达水平天线组902中第一天线和第二天线时存在到达相位差,可以根据该到达相位差计算水平方向角度θ。
以图9所示,基于PDOA原理测量角度公式可以表示为:
其中,θ表示角度(本实施例里可以表示终端设备与UWB标签的水平方位角度),λ表示波长,Δφ表示到达相位差,d表示第一天线和第二天线之间的水平距离。
二、根据第二天线组接收到的数据帧,确定终端设备与UWB标签之间的竖直方向角度。
与上文测量水平方向角度类似,基于UWB技术中测量角度的原理和UWB组件中天线的位置分布情况,可以通过第二天线组接收到的数据帧,来确定UWB组件与UWB标签之间的竖直方向角度。
可选的,第二天线组可以是竖直天线组。
其中,以PDOA为例描述测量竖直方向角度的原理为:竖直天线组包括第一天线和第三天线。当竖直天线组处于工作状态(信号接收状态)时,由于两根天线之间存在预设距离,则可以根据同一数据帧到达第一天线和第三天线的到达相位差,来计算终端设备与UWB标签在竖直方向上的竖直方向角度。其根据到达相位差测量竖直方向角度的原理与测量水平方向角度的原理相同。
在一个示例性的例子中,如图10所示,其示出了本申请一个示例性实施例示出的确定终端设备和UWB标签空间位置关系的过程示意图。其中,该应用场景中包含终端设备1001和UWB标签1002,终端设备1001中设置有UWB组件。UWB标签1002通过目标信道广播数据帧,终端设备1001通过UWB组件接收UWB标签1002广播的数据帧。终端设备1001根据该数据帧,确定终端设备1001与UWB标签1002之间的水平方向角度θ,以及竖直方向角度φ。则对应的UWB标签1002位于终端设备1001水平方向角度+θ,竖直方向角度+φ的位置。
步骤603,根据终端设备与各个UWB标签之间的空间位置关系,确定终端设备指向的UWB标签为目标UWB标签。
在本申请实施例的应用场景中包含多个UWB标签。终端根据不同UWB标签广播的数据帧,分别计算出不同UWB标签与UWB组件之间的空间位置关系,根据该空间位置关系,进而可以确定出终端设备正对着(指向)的目标UWB标签。
其中,确定终端设备是否指向UWB标签,可以通过判断终端设备与UWB标签之间的空间位置关系是否偏离来确定,即确定终端设备与UWB标签之间的水平方向角度是否偏离预设水平角度范围,且终端设备与UWB标签之间的竖直方向角度是否偏离预设竖直角度范围来确定。
在一种可能的实施方式中,预设有终端设备正对(指向)UWB标签时,终端设备与UWB标签之间空间位置关系需要满足的角度范围。由于空间位置关系包含水平和竖直两个方向角度,则对应的终端设备与UWB标签之间的水平方向角度需要满足水平角度范围,且竖直方向角度需要满足竖直角度范围。
其中,当终端设备指向或正对着UWB标签时,终端设备与UWB标签应该位于同一水平平面,在允 许存在误差的情况下,水平角度范围可以是-10度~10度,竖直角度范围可以是0度~90度,本申请实施例在此不做限制。
在一个示例性的例子中,当终端确定出终端设备与各个UWB标签之间的空间位置关系后,各个空间位置关系可以在终端后台显示。举例而言:UWB标签A:水平方向角度-30度、竖直方向角度10度;UWB标签B:水平方向角度-2度、竖直方向角度10度;UWB标签C:水平方向角度35度、竖直方向角度5度;UWB标签D:水平方向角度60度、竖直方向角度20度。基于上文中终端确定指向的筛选条件:水平角度范围可以是-10度~10度,竖直角度范围可以是0度~90度,由于UWB标签B与终端设备的空间位置关系位于该角度范围内,则对应的确定出终端设备指向UWB标签B,即UWB标签B为目标UWB标签。
步骤604,根据目标UWB标签发送的数据帧,确定目标UWB标签所表征目标IoT设备的目标设备信息。
步骤605,根据目标设备信息与目标IoT设备建立数据通信连接,并对目标IoT设备进行控制。
步骤604和步骤605的实施方式可以参考上文实施例,本实施例在此不做赘述。
本实施例中,终端设备通过在UWB组件接收数据帧,实现对终端设备与UWB标签之间空间位置关系(水平方向角度和竖直方向角度)的测量。此外,通过在UWB标签广播的数据帧中携带标签标识,使得在具备多个UWB标签的应用场景中,可以实现对不同UWB标签广播的数据帧的区分。在实现同时对多个UWB标签空间位置关系测量的基础上,避免不同UWB标签广播的数据帧的混淆,有利于提高测量UWB标签空间位置关系的准确性。另外,通过预设水平角度范围和竖直角度范围,基于确定出的多个UWB标签的空间位置关系,从中筛选出终端设备正对(指向)的目标UWB标签,从而使得终端设备可以准确与该目标UWB标签表征的目标IoT设备建立数据通信连接。
由上文实施例可知,在终端设备与目标IoT设备建立数据通信连接的过程中,UWB组件在工作状态下仅接收数据帧,且不进行数据帧广播,即UWB组件仅接收UWB标签广播的数据帧。对应的,UWB标签在工作状态下广播数据帧,且不进行数据帧接收。也就是说,UWB标签在工作状态时,仅广播数据帧,并不会进行数据帧的接收,可以降低UWB标签的功耗;同时在UWB标签广播数据帧时,可以基于CCA和ALOHA协议广播数据帧,可以避免数据帧冲突,从而提高目标信道的容量。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参考图11,其示出了本申请一个实施例提供的IoT设备的控制装置的结构框图。该装置具有实现上述方法实施例中由终端设备侧执行的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。如图11所示,该装置可以包括:
通信建立模块1101,用于与UWB标签建立UWB通信,所述UWB标签用于表征待连接的IoT设备,所述UWB标签独立于所述IoT设备;
确定模块1102,用于确定所述UWB标签所表征IoT设备的设备信息;
控制模块1103,用于根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
可选的,所述确定模块1102,包括:
第一确定单元,用于根据至少一个所述UWB标签发送的数据帧,确定所述终端设备指向的UWB标签为目标UWB标签;
第二确定单元,用于根据所述目标UWB标签发送的数据帧,确定所述目标UWB标签所表征目标IoT设备的目标设备信息;
所述控制模块1103,包括:
控制单元,用于根据所述目标设备信息与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制。
可选的,所述第一确定单元,还用于:
根据同一所述UWB标签发送的数据帧,确定所述终端设备与所述UWB标签之间的空间位置关系,所述空间位置关系包括水平方向角度和竖直方向角度;
根据所述终端设备与各个所述UWB标签之间的空间位置关系,确定所述终端设备指向的UWB标签为所述目标UWB标签。
可选的,所述第一确定单元,还用于:
将与所述终端设备之间的所述水平方向角度位于水平角度范围,且与所述终端设备之间的所述竖直方向角度位于竖直角度范围的UWB标签确定为所述目标UWB标签。
可选的,所述控制单元,还用于:
响应于所述终端设备与所述目标IoT设备之间的距离小于距离阈值,根据所述目标设备信息与所述目 标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制。
可选的,所述控制单元,还用于:
响应于满足所述目标IoT设备对应的连接条件,与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制;
其中,所述连接条件包括指向时长条件、手势条件、触控条件、传感器条件和语音控制条件中的至少一种。
可选的,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识以及位置信息,所述终端设备用于根据所述设备标识和所述位置信息与所述IoT设备建立数据通信连接并进行控制。
可选的,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识,所述终端设备用于根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
可选的,所述UWB标签发送的数据帧中包含标签标识,且所述终端设备中存储有UWB标签与IoT设备之间的映射关系,所述终端设备用于根据所述标签标识从所述映射关系中获取设备标识,并根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
可选的,所述控制单元,还用于:
若所述目标IoT设备与所述终端设备的连接方式为WiFi连接,根据所述目标IoT设备的设备标识,通过路由设备与所述目标IoT设备建立WiFi数据通信连接,其中,所述目标IoT设备与所述终端设备均接入所述路由设备。
可选的,所述控制单元,还用于:
若所述目标IoT设备与所述终端设备的连接方式为蓝牙连接,根据所述目标IoT设备的设备标识,通过蓝牙组件与所述目标IoT设备建立蓝牙数据通信连接。
可选的,所述装置还包括:
获取模块,用于响应于绑定操作,获取待绑定UWB标签的标签标识;
创建模块,用于响应于对所述IoT设备的选择操作,建立所述标签标识与所述IoT设备对应设备标识之间的映射关系。
可选的,所述装置还包括:
删除模块,用于响应于解绑操作,删除所述UWB标签所指示的映射关系。
可选的,所述控制单元,还用于:
响应于所述目标IoT设备为智能电视,将所述终端设备的当前显示画面传输至所述智能电视。
可选的,所述控制单元,还用于:
响应于所述目标IoT设备为智能家居设备,显示所述智能家居设备对应的控制界面,所述控制界面中包括所述智能家居设备对应的功能控件;
响应于对所述控制界面中功能控件的触发操作,控制所述智能家居设备执行对应的设备功能。
可选的,所述通信建立模块,包括:
通信建立单元,用于通过UWB组件与所述UWB标签建立UWB通信,所述UWB组件与所述终端设备可分离,或者,所述UWB组件设置在所述终端设备内部。
可选的,所述UWB组件在工作状态下接收数据帧,且不进行数据帧发送。
综上所述,本申请实施例中,通过设置可以表征IoT设备的UWB标签,且该UWB标签独立于IoT设备,终端设备可以通过与UWB标签建立UWB通信,实现与该UWB标签所表征的IoT设备建立数据通信连接,并对IoT设备进行控制。由于UWB标签和IoT设备之间的独立性,使得在终端设备与IoT设备建立数据通信连接之前,无需终端设备与IoT设备之间进行任意操作,降低了IoT设备的设备功耗,进而提高了终端设备控制IoT设备的自动化和便捷性。
请参考图12,其示出了本申请一个实施例提供的IoT设备的控制装置的结构框图。该装置具有实现上述方法实施例中由UWB标签侧执行的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。如图12所示,该装置可以包括:
通信建立模块1201,用于与终端设备建立UWB通信;
数据发送模块1202,用于向所述终端设备发送数据帧,使所述终端设备根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息,并根据所述设备信息与所述IoT设备建立数据通信连接,以及对所述IoT设备进行控制。
可选的,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识以及位置信息,所述终端设备用于根据所述设备标识和所述位置信息与所述IoT设备建立数据通信连接并进行控制。
可选的,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识,所述终端设备用于根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
可选的,所述UWB标签发送的数据帧中包含标签标识,且所述终端设备中存储有所述UWB标签与 所述IoT设备之间的映射关系,所述终端设备用于根据所述标签标识从所述映射关系中获取设备标识,并根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
可选的,所述UWB标签在工作状态下发送数据帧,且不进行数据帧接收;
所述数据发送模块1202,包括:
侦听单元,用于侦听目标信道;
数据发送单元,用于响应于所述目标信道空闲,在所述目标信道上向所述终端设备发送所述数据帧。
综上所述,本申请实施例中,通过设置可以表征IoT设备的UWB标签,且该UWB标签独立于IoT设备,终端设备可以通过与UWB标签建立UWB通信,实现与该UWB标签所表征的IoT设备建立数据通信连接,并对IoT设备进行控制。由于UWB标签和IoT设备之间的独立性,使得在终端设备与IoT设备建立数据通信连接之前,无需终端设备与IoT设备之间进行任意操作,降低了IoT设备的设备功耗,进而提高了终端设备控制IoT设备的自动化和便捷性。
需要说明的是:上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
在一种可能的应用场景中,UWB组件可以封装为终端的内部天线组件,该UWB组件通过内部电路板与终端设备电性相连,则对应的终端设备可以通过该UWB组件接收UWB标签广播的数据帧。
请参考图13,其示出了本申请一个示例性实施例提供的终端设备1300的结构方框图。本申请中的终端设备1300可以包括一个或多个如下部件:处理器1310、存储器1320和UWB组件1330,其中,处理器1310分别与存储器1320和UWB组件1330电性相连。
处理器1310可以包括一个或者多个处理核心。处理器1310利用各种接口和线路连接整个终端设备1300内的各个部分,通过运行或执行存储在存储器1320内的指令、程序、代码集或指令集,以及调用存储在存储器1320内的数据,执行终端设备1300的各种功能和处理数据。可选地,处理器1310可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1310可集成CPU、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1310中,单独通过一块通信芯片进行实现。
存储器1320可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器1320包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1320可用于存储指令、程序、代码、代码集或指令集。存储器1320可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等,该操作系统可以是安卓(Android)系统(包括基于Android系统深度开发的系统)、苹果公司开发的IOS系统(包括基于IOS系统深度开发的系统)或其它系统。存储数据区还可以存储终端设备1300在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
UWB组件1330用于接收外部UWB组件广播的数据帧,使得终端设备1300可以通过处理器对数据帧进行处理,实现根据该数据帧确定IoT设备空间位置的目的。
本申请实施例中,存储器1320中存储有至少一条指令,该至少一条指令用于被处理器1310执行以执行如上述实施例中所示的IoT设备的控制方法。
可选的,终端设备1300还可以包括触摸显示屏,其可以为电容式触摸显示屏,该电容式触摸显示屏用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏通常设置在终端设备1300的前面板。触摸显示屏可被设计成为全面屏、曲面屏或异型屏。触摸显示屏还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本申请实施例对此不加以限定。
除此之外,本领域技术人员可以理解,上述附图所示出的终端设备1300的结构并不构成对终端设备1300的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端设备1300中还包括射频电路、拍摄组件、传感器(不包括温度传感器)、音频电路、无线保真(Wireless Fidelity,WiFi)组件、电源、蓝牙组件等部件,在此不再赘述。
在另一种可能的实施方式中,UWB组件可以封装为终端配件,该终端配件独立于终端设备,当终端设备装备有该终端配件时,终端设备与终端配件之间通过接口电路电性连接,使得终端设备可以具备空间位置感知能力;当终端设备未装备有该终端配件时,终端设备不具备空间位置感知能力。
请参考图14,其示出了本申请一个示例性实施例提供的终端系统1400的结构方框图。本申请中的终端系统1400可以包括一个或多个如下设备:终端设备1410和终端配件1420。
终端设备1410包括存储器和处理器,该存储器存储有至少一条指令,该至少一条指令用于被处理器执行以实现上述实施例所述的IoT设备的控制方法。
终端配件1420包括UWB组件,该UWB组件用于接收外部UWB组件广播的数据帧,并通过接口电路向终端设备1410传输数据帧,使得终端设备1410可以根据该数据帧感知物体的空间位置关系。
可选的,终端配件1420可以是终端设备1410的保护壳、终端挂坠等可以安装或佩戴在终端1410上的组件。
可选的,当终端设备1410安装或佩戴该终端配件1420时,终端设备1410可以与终端配件1420中的UWB组件电性相连;或终端设备1410可以与终端配件1420中的UWB组件之间进行无线通信,比如,终端设备1410可以与终端配件1420建立数据通信连接,使得终端设备1410可以通过终端配件1420感知物体的空间位置关系。
在一个示例性的例子中,如图15所示,其示出了本申请一个示例性实施例示出的终端配件1500的结构示意图。以终端配件1500为终端保护壳为例进行示例性说明,该终端配件包括UWB组件1501和接口电路1502,UWB组件1501通过接口电路1502向终端设备传输数据帧;可选的,终端配件1500还包括通用串行总线集线器(Universal Serial Bus Hub,USB Hub),当终端设备佩戴有该终端配件1500时,终端配件1500可以通过该USB Hub与终端通信;可选的,终端配件1500还包括红外灯,终端设备可以通过该红外灯控制IoT设备。
请参考图16,其示出了本申请一个示例性实施例提供的UWB组件1600的结构方框图。
UWB组件1600包括UWB天线1601和接口电路1602。其中,UWB天线1601和接口电路1602电性相连。本申请实施例中,为了可以通过终端设备与UWB标签之间的UWB交互,实现对UWB标签空间位置的感知,该UWB组件中可以包含两个天线组,比如,水平天线组和竖直天线组,使得可以通过水平天线组接收到的数据帧,确定UWB标签的水平方向角度,通过竖直天线组接收到的数据帧,确定UWB标签的竖直方向角度。
可选的,水平天线组和竖直天线组可以包含不同的天线,也就是说,水平天线组包含第一天线和第二天线,而竖直天线组包含第三天线和第四天线;可选的,为了降低成本,水平天线组和竖直天线组可以共用部分天线,比如,水平天线组包含第一天线和第二天线,而竖直天线组包含第一天线和第三天线,则水平天线组和竖直天线组共用第一天线。
UWB组件1600用于通过接口电路1602与终端设备相连,以使得终端设备能够与UWB标签建立UWB通信,并与UWB标签所表征IoT设备连接。
请参考图17,其示出了本申请一个示例性实施例提供的IoT设备的控制系统1700的结构方框图。该控制系统包括中终端设备1701、UWB标签1702和IoT设备1703。
本申请实施例中,终端设备1701与UWB标签1702建立UWB通信,UWB标签1702用于表征待连接的IoT设备1703,且UWB标签1702独立于IoT设备1703;
UWB标签1702向终端设备1701发送数据帧;
终端设备1701根据UWB标签1702发送的数据帧,确定UWB标签1702所表征IoT设备1703的设备信息,根据设备信息与IoT设备1703建立数据通信连接,并对IoT设备1703进行控制。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一条程序代码,所述程序代码由处理器加载并执行以实现如上各个实施例所述的IoT设备的控制方法。
根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端设备执行上述方面的各种可选实现方式中提供的IoT设备的控制方法。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。另外,本文中描述的步骤编号,仅示例性示出了步骤间的一种可能的执行先后顺序,在一些其它实施例中,上述步骤也可以不按照编号顺序来执行,如两个不同编号的步骤同时执行,或者两个不同编号的步骤按照与图示相反的顺序执行,本申请实施例对此不作限定。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (33)
- 一种IoT设备的控制方法,所述方法用于终端设备,所述方法包括:与UWB标签建立UWB通信,所述UWB标签用于表征待连接的IoT设备,且所述UWB标签独立于所述IoT设备;确定所述UWB标签所表征IoT设备的设备信息;根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
- 根据权利要求1所述的方法,其中,所述确定所述UWB标签所表征IoT设备的设备信息,包括:根据至少一个所述UWB标签发送的数据帧,确定所述终端设备指向的UWB标签为目标UWB标签;根据所述目标UWB标签发送的数据帧,确定所述目标UWB标签所表征目标IoT设备的目标设备信息;所述根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制,包括:根据所述目标设备信息与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制。
- 根据权利要求2所述的方法,其中,所述根据至少一个所述UWB标签发送的数据帧,确定所述终端设备指向的UWB标签为目标UWB标签,包括:根据同一所述UWB标签发送的数据帧,确定所述终端设备与所述UWB标签之间的空间位置关系,所述空间位置关系包括水平方向角度和竖直方向角度;根据所述终端设备与各个所述UWB标签之间的空间位置关系,确定所述终端设备指向的UWB标签为所述目标UWB标签。
- 根据权利要求3所述的方法,其中,所述根据所述终端设备与各个所述UWB标签之间的空间位置关系,确定所述终端设备指向的UWB标签为所述目标UWB标签,包括:将与所述终端设备之间的所述水平方向角度位于水平角度范围,且与所述终端设备之间的所述竖直方向角度位于竖直角度范围的UWB标签确定为所述目标UWB标签。
- 根据权利要求2所述的方法,其中,所述根据所述目标设备信息与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制,包括:响应于所述终端设备与所述目标IoT设备之间的距离小于距离阈值,根据所述目标设备信息与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制。
- 根据权利要求2所述的方法,其中,所述根据所述目标设备信息与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制,包括:响应于满足所述目标IoT设备对应的连接条件,与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制;其中,所述连接条件包括指向时长条件、手势条件、触控条件、传感器条件和语音控制条件中的至少一种。
- 根据权利要求2所述的方法,其中,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识以及位置信息,所述终端设备用于根据所述设备标识和所述位置信息与所述IoT设备建立数据通信连接并进行控制。
- 根据权利要求2所述的方法,其中,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识,所述终端设备用于根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
- 根据权利要求2所述的方法,其中,所述UWB标签发送的数据帧中包含标签标识,且所述终端设备中存储有UWB标签与IoT设备之间的映射关系,所述终端设备用于根据所述标签标识从所述映射关系中获取设备标识,并根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
- 根据权利要求7至9任一所述的方法,其中,所述根据所述目标设备信息与所述目标IoT设备建立数据通信连接,包括:若所述目标IoT设备与所述终端设备的连接方式为WiFi连接,根据所述目标IoT设备的设备标识,通过路由设备与所述目标IoT设备建立WiFi数据通信连接,其中,所述目标IoT设备与所述终端设备均接入所述路由设备。
- 根据权利要求7至9任一所述的方法,其中,所述根据所述目标设备信息与所述目标IoT设备建立数据通信连接,包括:若所述目标IoT设备与所述终端设备的连接方式为蓝牙连接,根据所述目标IoT设备的设备标识,通 过蓝牙组件与所述目标IoT设备建立蓝牙数据通信连接。
- 根据权利要求9所述的方法,其中,所述方法还包括:响应于绑定操作,获取待绑定UWB标签的标签标识;响应于对所述IoT设备的选择操作,建立所述标签标识与所述IoT设备对应设备标识之间的映射关系。
- 根据权利要求12所述的方法,其中,所述方法还包括:响应于解绑操作,删除所述UWB标签所指示的映射关系。
- 根据权利要求2所述的方法,其中,所述对所述目标IoT设备进行控制,包括:响应于所述目标IoT设备为智能电视,将所述终端设备的当前显示画面传输至所述智能电视。
- 根据权利要求2所述的方法,其中,所述对所述目标IoT设备进行控制,包括:响应于所述目标IoT设备为智能家居设备,显示所述智能家居设备对应的控制界面,所述控制界面中包括所述智能家居设备对应的功能控件;响应于对所述控制界面中功能控件的触发操作,控制所述智能家居设备执行对应的设备功能。
- 根据权利要求1所述的方法,其中,所述与UWB标签建立UWB通信,包括:通过UWB组件与所述UWB标签建立UWB通信,所述UWB组件与所述终端设备可分离,或者,所述UWB组件设置在所述终端设备内部。
- 根据权利要求16所述的方法,其中,所述UWB组件在工作状态下接收数据帧,且不进行数据帧发送。
- 一种IoT设备的控制方法,所述方法用于UWB标签,所述方法包括:与终端设备建立UWB通信;向所述终端设备发送数据帧,使所述终端设备根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息,并根据所述设备信息与所述IoT设备建立数据通信连接,以及对所述IoT设备进行控制。
- 根据权利要求18所述的方法,其中,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识以及位置信息,所述终端设备用于根据所述设备标识和所述位置信息与所述IoT设备建立数据通信连接并进行控制。
- 根据权利要求18所述的方法,其中,所述UWB标签发送的数据帧中包含所述IoT设备的设备标识,所述终端设备用于根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
- 根据权利要求18所述的方法,其中,所述UWB标签发送的数据帧中包含标签标识,且所述终端设备中存储有所述UWB标签与所述IoT设备之间的映射关系,所述终端设备用于根据所述标签标识从所述映射关系中获取设备标识,并根据所述设备标识与所述IoT设备建立数据通信连接并进行控制。
- 根据权利要求18所述的方法,其中,所述UWB标签在工作状态下发送数据帧,且不进行数据帧接收;所述向所述终端设备发送数据帧,包括:侦听目标信道;响应于所述目标信道空闲,在所述目标信道上向所述终端设备发送所述数据帧。
- 一种IoT设备的控制装置,所述装置包括:通信建立模块,用于与UWB标签建立UWB通信,所述UWB标签用于表征待连接的IoT设备,所述UWB标签独立于所述IoT设备;确定模块,用于确定所述UWB标签所表征IoT设备的设备信息;控制模块,用于根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
- 一种IoT设备的控制装置,所述装置包括:通信建立模块,用于与终端设备建立UWB通信;数据发送模块,用于向所述终端设备发送数据帧,使所述终端设备根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息,并根据所述设备信息与所述IoT设备建立数据通信连接,以及对所述IoT设备进行控制。
- 一种IoT设备的控制系统,所述系统包括终端设备、UWB标签和IoT设备;所述终端设备与所述UWB标签建立UWB通信,所述UWB标签用于表征待连接的IoT设备,且所述UWB标签独立于所述IoT设备;所述UWB标签向所述终端设备发送数据帧;所述终端设备根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息, 根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
- 一种终端设备,所述终端设备包括:处理器、存储器和UWB组件;所述处理器分别与所述存储器和所述UWB组件电性相连;所述UWB组件用于与UWB标签建立UWB通信,并接收所述UWB标签发送的数据帧,所述UWB标签用于表征待连接的IoT设备,且所述UWB标签独立于所述IoT设备;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:根据所述UWB标签发送的数据帧,确定所述UWB标签所表征IoT设备的设备信息;根据所述设备信息与所述IoT设备建立数据通信连接,并对所述IoT设备进行控制。
- 根据权利要求26所述的终端设备,其中,所述至少一条指令还用于被所述处理器执行以执行如下步骤:根据至少一个所述UWB标签发送的数据帧,确定所述终端设备指向的UWB标签为目标UWB标签;根据所述目标UWB标签发送的数据帧,确定所述目标UWB标签所表征目标IoT设备的目标设备信息;根据所述目标设备信息与所述目标IoT设备建立数据通信连接,并对所述目标IoT设备进行控制。
- 根据权利要求27所述的终端设备,其中,所述至少一条指令还用于被所述处理器执行以执行如下步骤:根据同一所述UWB标签发送的数据帧,确定所述终端设备与所述UWB标签之间的空间位置关系,所述空间位置关系包括水平方向角度和竖直方向角度;根据所述终端设备与各个所述UWB标签之间的空间位置关系,确定所述终端设备指向的UWB标签为所述目标UWB标签。
- 根据权利要求28所述的终端设备,其中,所述至少一条指令还用于被所述处理器执行以执行如下步骤:将与所述终端设备之间的所述水平方向角度位于水平角度范围,且与所述终端设备之间的所述竖直方向角度位于竖直角度范围的UWB标签确定为所述目标UWB标签。
- 一种UWB组件,所述UWB组件包括:UWB天线和接口电路;所述UWB天线和所述接口电路电性相连;UWB组件用于通过所述接口电路与终端设备相连,以使得所述终端设备能够与UWB标签建立UWB通信,并与所述UWB标签所表征IoT设备连接。
- 根据权利要求30所述的UWB组件,其中,所述UWB组件为所述终端设备的保护壳。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有至少一条程序代码,所述程序代码由处理器加载并执行以实现如权利要求1至17任一所述的IoT设备的控制方法,或,实现如权利要求18至22任一所述的IoT设备的控制方法。
- 一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现如权利要求1至17任一所述的IoT设备的控制方法,或,实现如权利要求18至22任一所述的IoT设备的控制方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011282240.7A CN114513771A (zh) | 2020-11-16 | 2020-11-16 | IoT设备的控制方法、装置、控制系统及终端设备 |
CN202011282240.7 | 2020-11-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022100314A1 true WO2022100314A1 (zh) | 2022-05-19 |
Family
ID=81546584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/121747 WO2022100314A1 (zh) | 2020-11-16 | 2021-09-29 | IoT设备的控制方法、装置、控制系统及终端设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114513771A (zh) |
WO (1) | WO2022100314A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117598012A (zh) * | 2022-06-16 | 2024-02-23 | 北京小米移动软件有限公司 | 一种超宽带连接的方法、装置及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493635A (zh) * | 2013-09-04 | 2016-04-13 | 皇家飞利浦有限公司 | 用于远程控制可控设备的系统 |
US20170008162A1 (en) * | 2015-05-26 | 2017-01-12 | Kabushiki Kaisha Toshiba | Electronic appliance control method and electronic appliance control device |
CN109995623A (zh) * | 2017-12-30 | 2019-07-09 | 成都标制文化创意有限公司 | 智能家居设备控制方法及智能家居系统 |
CN111107492A (zh) * | 2019-12-20 | 2020-05-05 | 上海有个机器人有限公司 | 基于uwb的多设备交互方法、介质、终端和系统 |
CN111413883A (zh) * | 2020-03-31 | 2020-07-14 | 广东美的制冷设备有限公司 | 家电设备的控制方法、控制装置及计算机存储介质 |
CN111885707A (zh) * | 2020-08-05 | 2020-11-03 | 济南浪潮高新科技投资发展有限公司 | 一种基于ar设备的物联网设备控制方法及系统 |
-
2020
- 2020-11-16 CN CN202011282240.7A patent/CN114513771A/zh active Pending
-
2021
- 2021-09-29 WO PCT/CN2021/121747 patent/WO2022100314A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493635A (zh) * | 2013-09-04 | 2016-04-13 | 皇家飞利浦有限公司 | 用于远程控制可控设备的系统 |
US20170008162A1 (en) * | 2015-05-26 | 2017-01-12 | Kabushiki Kaisha Toshiba | Electronic appliance control method and electronic appliance control device |
CN109995623A (zh) * | 2017-12-30 | 2019-07-09 | 成都标制文化创意有限公司 | 智能家居设备控制方法及智能家居系统 |
CN111107492A (zh) * | 2019-12-20 | 2020-05-05 | 上海有个机器人有限公司 | 基于uwb的多设备交互方法、介质、终端和系统 |
CN111413883A (zh) * | 2020-03-31 | 2020-07-14 | 广东美的制冷设备有限公司 | 家电设备的控制方法、控制装置及计算机存储介质 |
CN111885707A (zh) * | 2020-08-05 | 2020-11-03 | 济南浪潮高新科技投资发展有限公司 | 一种基于ar设备的物联网设备控制方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN114513771A (zh) | 2022-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12120596B2 (en) | Method and device for controlling connection to network | |
EP4020954A1 (en) | Method for transmitting information over short distances and electronic devices | |
WO2017024740A1 (zh) | 设备控制方法及装置 | |
JP2018503334A (ja) | スマート機器グルーピングシステム、方法および装置 | |
CN110049476B (zh) | 设备推送的方法、装置、移动终端以及存储介质 | |
KR20160049759A (ko) | 주변 기기 탐색 방법 및 그 전자 장치 | |
CN108701365B (zh) | 光点识别方法、装置以及系统 | |
CN108781410B (zh) | 一种扫描方法及设备 | |
KR102600894B1 (ko) | 전자 장치를 이용한 위치 측정 장치 및 방법 | |
US20110136441A1 (en) | Portable terminal and a control method of peripheral device using the same | |
CN109348067B (zh) | 一种调节屏幕显示亮度的方法、移动终端及计算机可读存储介质 | |
WO2019000411A1 (zh) | 一种无线通信连接建立的方法及设备 | |
CN114501119B (zh) | 互动显示方法、装置、电子设备、系统及存储介质 | |
EP3068150B1 (en) | Method and device for controlling device | |
CN104469673A (zh) | 一种终端定位方法及装置 | |
WO2018103584A1 (zh) | 一种小区确定的方法、相关设备以及系统 | |
KR20170038331A (ko) | 전자 장치 및 그의 무선 통신 수행 방법 | |
WO2022206786A1 (zh) | 一种显示第二电子设备控制窗口的方法及第一电子设备 | |
WO2020133467A1 (zh) | 智能家居设备接入网络的方法及相关设备 | |
WO2022100314A1 (zh) | IoT设备的控制方法、装置、控制系统及终端设备 | |
WO2022206751A1 (zh) | 一种输入设备复用的跨设备协同方法及电子设备 | |
AU2014315883A1 (en) | Method of controlling short-range wireless communication and apparatus supporting the same | |
EP3249999A1 (en) | Intelligent matching method for filter and terminal | |
WO2022247558A1 (zh) | 音频共享方法、装置、终端、音频设备及存储介质 | |
WO2022247561A1 (zh) | 音频共享方法、装置、终端、音频设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21890842 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21890842 Country of ref document: EP Kind code of ref document: A1 |