Method for controlling electronic equipment by wearable equipment and communication system

文档序号:1845419 发布日期:2021-11-16 浏览:12次 中文

阅读说明:本技术 一种可穿戴设备控制电子设备的方法及通信系统 (Method for controlling electronic equipment by wearable equipment and communication system ) 是由 付颖科 于 2021-07-08 设计创作,主要内容包括:本申请提供一种可穿戴设备控制电子设备的方法及通信系统,可以识别出用户在佩戴可穿戴设备时的各种动作轨迹,并生成与该运动轨迹匹配的运动数据,从而根据运动数据生成并发送控制指令,实现对电子设备的控制。从而,用户可以在佩戴可穿戴设备的情况下做出不同的动作,即可实现对电子设备的不同功能的控制,简单方便,可以提升用户体验。该方法包括:可穿戴设备与电子设备建立绑定关系;响应于用户带动可穿戴设备运动的操作,可穿戴设备生成与可穿戴设备的运动轨迹匹配的运动数据;可穿戴设备确定运动数据对应的控制指令,并向电子设备发送控制指令;响应于接收到控制指令,电子设备从第一界面切换至第二界面。(The application provides a method and a communication system for controlling an electronic device by a wearable device, which can identify various motion tracks of a user when the user wears the wearable device and generate motion data matched with the motion tracks, so that a control instruction is generated and sent according to the motion data, and the electronic device is controlled. Therefore, the user can make different actions under the condition of wearing the wearable device, control over different functions of the electronic device can be achieved, simplicity and convenience are achieved, and user experience can be improved. The method comprises the following steps: the wearable device and the electronic device establish a binding relationship; responding to an operation that a user drives the wearable device to move, and generating motion data matched with a motion track of the wearable device by the wearable device; the wearable device determines a control instruction corresponding to the motion data and sends the control instruction to the electronic device; in response to receiving the control instruction, the electronic device switches from the first interface to the second interface.)

1. A method for a wearable device to control an electronic device is applied to a communication system comprising the wearable device and the electronic device, wherein the wearable device maintains a worn state, and the method comprises the following steps:

the wearable device and the electronic device establish a binding relationship; the binding relationship is used for indicating that the wearable device and the electronic device are bound through a preset account name and a preset password;

in response to an operation of a user bringing the wearable device into motion, the wearable device generates motion data matched with a motion trail of the wearable device;

the wearable device determines a control instruction corresponding to the motion data and sends the control instruction to the electronic device;

in response to receiving the control instruction, the electronic device switches from a first interface to a second interface; the second interface is displayed after the electronic device executes an operation corresponding to the control instruction on a first operation target, and the first operation target includes any one of a presentation, a video file, an audio file and a document.

2. The method of the wearable device controlling the electronic device of claim 1, further comprising:

in response to determining that the wearing state of the wearable device changes from the worn state to the detached state, the wearable device reestablishes a binding relationship with the electronic device.

3. The method for controlling the electronic device by the wearable device according to claim 1 or 2, wherein the wearable device establishes a binding relationship with the electronic device, and the method comprises the following steps:

the electronic equipment displays a first prompt box; the first prompt box is used for prompting a user to establish a binding relationship between the wearable device and the electronic device, and comprises a first option;

responding to the operation of the user on the first option, and displaying a second prompt box by the electronic equipment; the second prompt box is used for reminding a user of wearing the wearable device, and comprises a second option;

in response to a user wearing the wearable device, the wearable device sending wearing status information to the electronic device; wherein the wearing state information is used for indicating that the wearable device is in a worn state;

responding to the operation of the user on the second option and receiving the wearing state information, and displaying a password input prompt box by the electronic equipment; the password input prompt box comprises the preset account name;

responding to the operation that the user inputs the preset password in the password input prompt box, and establishing a binding relationship between the electronic equipment and the wearable equipment.

4. The method for controlling the electronic device by the wearable device according to any one of claims 1-3, wherein the operation corresponding to the control instruction comprises any one of page forward, page backward, maximizing, minimizing, increasing volume, and decreasing volume.

5. A method for a wearable device to control an electronic device is applied to a communication system comprising the wearable device and the electronic device, wherein the wearable device and the electronic device are connected to the same local area network, and the method comprises the following steps:

the wearable device establishes a communication connection with the electronic device;

in response to an operation of a user bringing the wearable device into motion, the wearable device generates motion data matched with a motion trail of the wearable device;

the wearable device determines a control instruction corresponding to the motion data and sends the control instruction to the electronic device;

in response to receiving the control instruction, the electronic device switches from a first state to a second state; the second state is a state where the electronic device is located after executing an operation corresponding to the control instruction, and the operation corresponding to the control instruction includes any one of starting up, shutting down, increasing volume, decreasing volume, switching channels forward, switching channels backward, increasing temperature, and decreasing temperature.

6. The method for controlling an electronic device by a wearable device according to claim 5, wherein if the wearable device is communicatively connected to at least two electronic devices, the method further comprises:

the wearable device determines a distance between the wearable device and the at least two electronic devices;

the wearable device determines the electronic device with the minimum distance as a device to be controlled;

the wearable device sends the control instruction to the device to be controlled;

and responding to the received control instruction, and executing the operation corresponding to the control instruction by the equipment to be controlled.

7. The method of the wearable device controlling the electronic device of claim 6, further comprising:

in response to determining that the device to be controlled is present, the wearable device displays a prompt; the prompt information is used for prompting a user to control the device to be controlled by utilizing the wearable device.

8. A communication system comprising a wearable device that performs the method of any of claims 1-7 and an electronic device that performs the method of any of claims 1-7.

9. A computer-readable storage medium comprising computer instructions;

when the computer instructions are run on a wearable device, cause the wearable device to perform the method of any of claims 1-7;

alternatively, the computer instructions, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-7.

Technical Field

The present application relates to the field of terminals, and in particular, to a method for controlling an electronic device by a wearable device and a communication system.

Background

With the development of science and technology, more and more electronic devices with different functions, such as mobile phones, computers, smart televisions, smart refrigerators and the like, appear in modern society. In the course of practical use of these electronic devices, there are often scenes in which close control of the electronic devices is required. For example, when in a meeting, a conference host can remotely control a computer by using a laser pen to realize page turning of the PPT. For another example, in the field of smart home, a user may utilize a mobile phone connected to the smart home device to control the smart home device.

However, when the laser pen is used for remotely controlling PPT page turning, a user needs to hold the laser pen all the time, and flexible demonstration in aspects of gesture explanation and the like of the user is prevented. Meanwhile, when the mobile phone is used for controlling the smart home device, a user is required to open an Application (APP) corresponding to the smart home device on the mobile phone, and the operation is complex.

Therefore, the existing method for performing close-range control on the electronic equipment is complicated and inconvenient.

Disclosure of Invention

The application provides a method and a communication system for controlling an electronic device by a wearable device, which can identify various motion tracks of a user when the user wears the wearable device and correspondingly control the electronic device according to the motion tracks.

In order to achieve the purpose, the technical scheme is as follows:

in a first aspect, the present application provides a method for a wearable device to control an electronic device, which is applied to a communication system including the wearable device and the electronic device, where the wearable device maintains a worn state, and the method includes: the wearable device and the electronic device establish a binding relationship; the binding relationship is used for indicating that the wearable device and the electronic device are bound through a preset account name and a preset password; responding to an operation that a user drives the wearable device to move, and generating motion data matched with a motion track of the wearable device by the wearable device; the wearable device determines a control instruction corresponding to the motion data and sends the control instruction to the electronic device; in response to receiving the control instruction, the electronic equipment is switched from the first interface to the second interface; the second interface is displayed after the electronic equipment executes the operation corresponding to the control instruction on the first operation target, and the first operation target comprises any one of a presentation, a video file, an audio file and a document.

Based on the method provided by the embodiment of the application, the user can perform the preset action under the condition of wearing the wearable device, and the wearable device can recognize the motion track of the user and generate the motion data matched with the motion track, so that the control instruction is generated and sent according to the motion data, and the control of the electronic device is realized. Therefore, the user can make different actions under the condition of wearing the wearable device, control over different functions of the electronic device can be achieved, simplicity and convenience are achieved, and user experience can be improved.

In an optional embodiment, the method further comprises: in response to determining that the wearing state of the wearable device changes from the worn state to the detached state, the wearable device reestablishes a binding relationship with the electronic device.

Based on the method provided by the embodiment of the application, the user can be verified again and the binding relationship can be established after the wearable device falls off. Therefore, the user can be ensured to have the authority to control the electronic equipment, and the situation that irrelevant users control the electronic equipment by using the wearable equipment is effectively avoided, so that the safety of the electronic equipment is ensured.

In an optional embodiment, the wearable device establishes a binding relationship with the electronic device, including: the electronic equipment displays a first prompt box; the first prompt box is used for prompting a user to establish a binding relationship between the wearable device and the electronic device, and comprises a first option; responding to the operation of the user on the first option, and displaying a second prompt box by the electronic equipment; the second prompt box is used for reminding the user of wearing the wearable device and comprises a second option; in response to a user wearing the wearable device, the wearable device sends wearing state information to the electronic device; the wearable state information is used for indicating that the wearable device is in a worn state; responding to the operation of the user on the second option and receiving the wearing state information, and displaying a password input prompt box by the electronic equipment; the password input prompt box comprises a preset account name; responding to the operation that a user inputs a preset password in the password input prompt box, and establishing a binding relationship between the electronic equipment and the wearable equipment.

Based on the method provided by the embodiment of the application, the wearable device can establish a binding relationship with the electronic device in a worn state, and authentication of a wearer of the wearable device is achieved.

In an alternative embodiment, the operation corresponding to the control instruction includes any one of page forward, page backward, maximizing, minimizing, increasing volume, and decreasing volume.

Based on the method provided by the embodiment of the application, the user can utilize the wearable device to perform various controls on the interface on the electronic device. For example, when the volume is increased and decreased, the electronic device may display a change in the volume value on the interface, thereby implementing the switching of the interface. The whole process is simple and convenient, the user does not need to operate on the electronic equipment, and the user can conveniently operate and explain in meetings and multimedia teaching.

In a second aspect, the present application further provides a method for a wearable device to control an electronic device, where the method is applied to a communication system including the wearable device and the electronic device, and the wearable device and the electronic device are connected to a same local area network, and the method includes: the wearable device establishes communication connection with the electronic device; responding to an operation that a user drives the wearable device to move, and generating motion data matched with a motion track of the wearable device by the wearable device; the wearable device determines a control instruction corresponding to the motion data and sends the control instruction to the electronic device; in response to receiving the control instruction, the electronic equipment is switched from the first state to the second state; the second state is a state where the electronic device is located after executing an operation corresponding to the control instruction, and the operation corresponding to the control instruction includes any one of starting up, shutting down, increasing the volume, decreasing the volume, switching channels forward, switching channels backward, increasing the temperature, and decreasing the temperature.

Based on the method provided by the embodiment of the application, the wearable device can also control electronic devices (such as a smart television, a refrigerator and the like) belonging to the same local area network. Further, the user can make different actions under the condition of wearing the wearable device to realize the control of different functions of the electronic device, so that the method is simple and convenient, and the user experience can be improved.

In an optional embodiment, if the wearable device is communicatively connected to at least two electronic devices, the method further comprises: the wearable device determines the distance between the wearable device and at least two electronic devices; the wearable device determines the electronic device with the minimum distance as a device to be controlled; the wearable device sends a control instruction to the device to be controlled; and responding to the received control instruction, and executing the operation corresponding to the control instruction by the equipment to be controlled.

Based on the method provided by the embodiment of the application, if the wearable device is in communication connection with at least two electronic devices, the wearable device may use the electronic device closest to the wearable device as the device to be controlled, and control the device to be controlled by different actions.

In an optional embodiment, the method further comprises: in response to determining the device to be controlled, the wearable device displays prompt information; the prompt information is used for prompting the user to control the device to be controlled by the wearable device.

Based on the method provided by the embodiment of the application, after the wearable device determines the device to be controlled, prompt information can be displayed, and a user can conveniently inform the device which can be controlled.

In a third aspect, the present application further provides a communication system, including a wearable device and an electronic device, where the wearable device performs the method according to any one of the first and second aspects, and the electronic device performs the method according to any one of the first and second aspects.

In a fourth aspect, the present application further provides a computer-readable storage medium comprising computer instructions; when the computer instructions are run on a wearable device, causing the wearable device to perform the method of any of the first and second aspects; alternatively, the computer instructions, when executed on the electronic device, cause the electronic device to perform the method of any of the first and second aspects.

In a fifth aspect, embodiments of the present application provide a chip system, which includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The chip system may be applied to an electronic device including a communication module and a memory. The interface circuit may read instructions stored in a memory in the wearable device and send the instructions to the processor. The instructions, when executed by the processor, may cause the wearable device to perform the method as in any of the first and second aspects. The interface circuit may also read instructions stored in a memory in the electronic device and send the instructions to the processor. The instructions, when executed by the processor, may cause the electronic device to perform the method of any of the first and second aspects.

It is to be understood that the communication system according to the third aspect, the computer-readable storage medium according to the fourth aspect, and the chip system according to the fifth aspect are all configured to execute the corresponding method provided above, and therefore, the beneficial effects achieved by the communication system according to the third aspect, the beneficial effects in the corresponding method provided above can be referred to, and are not repeated herein.

Drawings

Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application;

fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application;

fig. 3 is a schematic structural diagram of a wearable device provided in an embodiment of the present application;

FIG. 4 is a schematic diagram of a scenario;

FIG. 5A is a schematic diagram of an interface of a personal computer 401;

FIG. 5B is a schematic diagram of an interface of the personal computer 401;

FIG. 6A is a schematic diagram of an interface of a personal computer 401;

FIG. 6B is a schematic diagram of an interface of the personal computer 401;

FIG. 6C is a schematic diagram of an interface of the personal computer 401;

FIG. 7A is a schematic diagram of an interface of a personal computer 401;

FIG. 7B is a schematic diagram of an interface of the personal computer 401;

FIG. 8 is a schematic diagram of an interface of a personal computer 401;

FIG. 9 is a diagram of an application scenario;

FIG. 10 is a diagram of an application scenario;

FIG. 11A is a diagram illustrating an application scenario;

FIG. 11B is a diagram illustrating an application scenario;

fig. 12 is a flow chart of a method of a wearable device controlling an electronic device;

FIG. 13 is a schematic view of another scenario;

FIG. 14 is a schematic view of an interface of a mobile phone;

FIG. 15 is a schematic view of an interface of a mobile phone;

FIG. 16 is a schematic view of an interface of a mobile phone;

fig. 17A is a schematic diagram of relative positions of a home device and an intelligent bracelet;

FIG. 17B is a schematic interface diagram of a smart band 402;

FIG. 18A is a diagram illustrating an application scenario;

FIG. 18B is a diagram illustrating an application scenario;

FIG. 19A is a diagram illustrating an application scenario;

FIG. 19B is a diagram illustrating an application scenario;

fig. 20 is a schematic diagram of the relative positions of another household device and an intelligent bracelet;

FIG. 21A is a diagram illustrating an application scenario;

FIG. 21B is a diagram illustrating an application scenario;

FIG. 22A is a diagram illustrating an application scenario;

FIG. 22B is a diagram illustrating an application scenario;

fig. 23 is a flow chart of a method of a wearable device controlling an electronic device;

fig. 24 is a schematic structural diagram of a chip system.

Detailed Description

In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.

Embodiments of the present embodiment will be described in detail below with reference to the accompanying drawings.

Fig. 1 is a schematic diagram of a system according to an embodiment of the present disclosure. The system may include a home device, a server (e.g., a server corresponding to a glory cloud), a terminal device, and a wearable device. Wherein, install first application (for example, wisdom life application) in the terminal equipment. The server is a management server of the first application.

For example, the terminal device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like, in which the first application may be installed.

The household equipment provided by the embodiment of the application can be equipment which can be a large screen (television and television), a sound box, a camera, an air conditioner, a refrigerator, an intelligent curtain, a desk lamp, a pendant lamp, an electric cooker, security equipment (such as an intelligent electronic lock), a Personal Computer (PC) and the like and can be accessed into a household wireless local area network. In addition, the home equipment in the embodiment of the present application may also be a vehicle-mounted sound system, a vehicle-mounted air conditioner, and the like, and the specific form of the home equipment in the embodiment of the present application is not particularly limited. The household equipment can be provided with a wireless fidelity (WIFI) module so as to be connected to a home local area network.

The wearable device provided by the embodiment of the application can be a smart watch, a smart bracelet and the like.

Fig. 2 shows a schematic structural diagram of a terminal device. As shown in fig. 2, the terminal device 200 may include: the device comprises a processor 210, an external memory interface 220, an internal memory 221, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, a wireless communication module 250, a display screen 260, and the like.

It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the first electronic device. In other embodiments, the first electronic device may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

Processor 210 may include one or more processing units, such as: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.

The controller may be a neural center and a command center of the terminal device 200. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.

A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 210, thereby increasing the efficiency of the system.

In some embodiments, processor 210 may include one or more interfaces. The interface may include an I2C interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a USB interface, etc.

It should be understood that the interface connection relationship between the modules illustrated in the present embodiment is only an exemplary illustration, and does not constitute a limitation on the structure of the terminal device 200. In other embodiments, the terminal device 200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.

The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The charging management module 240 may also supply power to the electronic device through the power management module 241 while charging the battery 242.

The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charging management module 240, and provides power to the processor 210, the internal memory 221, the external memory, the display 260, the camera 293, and the wireless communication module 250. In some embodiments, the power management module 241 and the charging management module 240 may also be disposed in the same device.

The wireless communication module 250 may provide solutions for wireless communication applied to the terminal device 200, including WLAN (e.g., Wi-Fi), bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. For example, in the embodiment of the present application, the terminal device 200 may establish a bluetooth connection with a terminal device (e.g., the wireless headset 100) through the wireless communication module 250.

The wireless communication module 250 may be one or more devices integrating at least one communication processing module. The wireless communication module 250 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 250 may also receive a signal to be transmitted from the processor 210, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.

The terminal device 200 implements a display function by the GPU, the display screen 260, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to a display screen 260 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.

The display screen 260 is used to display images, video, and the like. The display screen 260 includes a display panel.

Fig. 3 shows a schematic structural diagram of a wearable device. As shown in fig. 3, the wearable device may include a wireless communication module 310, a motion sensor 320, a processor 330, an internal memory 340, a power management module 350, a battery 360, a charge management module 370, an antenna 3, and the like.

In some embodiments, the wireless communication module 310 may include an NFC chip, which may include a Device Host (DH) and an NFC controller (NFCC). The DH may be responsible for management of the NFCC, such as initialization, configuration, and power management. The NFCC may be responsible for physical transmission of data through the antennas. In addition, the NFC chip can be used for carrying out amplification, analog-to-digital conversion, digital-to-analog conversion, storage and other processing on signals.

The wireless communication function of the wearable device may be implemented by the antenna 3, the wireless communication module 310, and the like.

Further, processor 330 may include one or more processing units. For example: the processor 330 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc.

In some embodiments, processor 330 may include one or more interfaces. The interfaces may include an I2C interface, an I2S interface, a PCM interface, a UART interface, a MIPI, a GPIO interface, a SIM card interface, and/or a USB interface, among others. It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only an exemplary illustration, and does not form a structural limitation on the wearable device. In other embodiments of the present application, the wearable device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.

Internal memory 340 may be used to store one or more computer programs comprising instructions.

The motion sensor 320 may include an acceleration sensor, a gyroscope, and the like. When the wearable device is a bracelet or a watch, based on the motion sensor 320, the bracelet or the watch can perform card swiping motion detection.

It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the wearable device. In other embodiments of the present application, the wearable device may include more or fewer components than illustrated, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

At present, when a meeting is opened, a conference host can remotely control a computer by using a laser pen to realize page turning of PPT. In the field of smart home, a user can utilize a terminal device (such as a mobile phone) connected with the smart home device to control the smart home device. However, when the laser pen is used for remotely controlling PPT page turning, a user needs to hold the laser pen all the time, and flexible demonstration in aspects of gesture explanation and the like of the user is prevented. Meanwhile, when the mobile phone is used for controlling the smart home device, a user is required to open an Application (APP) corresponding to the smart home device on the mobile phone, and the operation is complex. Therefore, the existing method for performing close-range control on the electronic equipment is complicated and inconvenient.

In view of this, an embodiment of the present application provides a method for controlling an electronic device by a wearable device, where a user may perform a preset action while wearing the wearable device, and the wearable device may recognize a motion trajectory of the wearable device and generate motion data matched with the motion trajectory, so as to generate and send a control instruction according to the motion data, thereby implementing control over the electronic device. Therefore, the user can make different actions under the condition of wearing the wearable device, control over different functions of the electronic device can be achieved, simplicity and convenience are achieved, and user experience can be improved.

Next, taking wearable devices as smart bands as an example, a process of controlling different electronic devices by the smart bands in different scenarios will be described.

Illustratively, FIG. 4 shows a schematic diagram of a conference scenario. In a meeting scenario, a user may utilize the projection screen 403 as a display screen of the personal computer 401 to display content desired to be displayed by the personal computer 401. In this scenario, the user may control the content displayed on the projection screen 403 to perform operations such as page turning by using the smart band 402 worn by the user.

If the smart band 402 and the personal computer 401 are not connected, the communication connection between the smart band 402 and the personal computer 401 needs to be established first. Illustratively, the user may perform a first operation to enable the smart band 402 to establish a communication connection with the personal computer 401. For example, the first operation may be an operation in which the user brings the smart band 402 close to the personal computer 401. It can be understood that the NFC chips are disposed on the smart band 402 and the personal computer 401, and when the distance between the smart band 402 and the personal computer 401 is less than the preset connection distance, the personal computer 401 may display the connection prompt box 501 as shown in fig. 5A. For another example, the first operation may be an operation of turning on a bluetooth function of the smart band 402. Wherein, all be provided with the chip that can be used to realize bluetooth communication on intelligent bracelet 402 and the personal computer 401. The personal computer 401 may display a connection prompt box 501 as shown in fig. 5A after searching the smart band 401. For another example, the first operation may be an operation in which the user joins the smart band 402 to a local area network to which the personal computer 401 is connected. When the personal computer 401 detects that the smart band 402 joins the same lan, a connection prompt box 501 as shown in fig. 5A may be displayed. That is, the smart band 402 and the personal computer 401 may communicate through any one of WIFI, bluetooth or NFC.

The connection prompt box 501 may include prompt information 502 and option 503. The prompt message 502 is used to prompt the user that the personal computer 401 detects a new smart band and ask the user whether to connect. For example, the prompt 502 may be "smart band detected, connected". The personal computer 401 may receive an operation of the user clicking on the yes option 503, and in response to the operation, the personal computer 401 establishes a connection with the smart band 402. It is to be understood that the connection may refer to any one of a WIFI connection, a bluetooth connection, and an NFC connection.

In one possible design, the personal computer 401 may display a connection status prompt box 505 as shown in fig. 5B after establishing a connection with the smart band 402. The connection status prompt box 505 is used to notify the user that the personal computer 401 has been connected to the smart band 402. Illustratively, the connection status prompt box 505 may display "smart bracelet connected". The connection status prompt box 505 may include a close option 506. The personal computer 401 may receive an operation of the user clicking the close option 506, and in response to the operation, the personal computer 401 may close the connection status prompt box 505. In one possible design, if the personal computer 401 does not detect the user's operation of clicking the close option 506 of the connection status prompt box 505 within a preset time, the personal computer 401 may automatically close the connection status prompt box 505.

After the personal computer 401 is connected to the smart band 402, as shown in fig. 6A, the personal computer 401 may display a binding prompt box 601. The binding prompt box 601 may include prompt information 602 and option 603. The prompt information 602 is used to inquire whether the user needs to bind the personal computer 401 with the smart band 402, and indicates that the smart band 402 can control the personal computer 401 after the personal computer 401 is bound with the smart band 402. Illustratively, the prompt 602 may be "is bound to the smart band? Available intelligent bracelet control PC' after binding. If the user can accept the binding of the personal computer 401 and the smart band 402, the user can click the yes option 603. The personal computer 401 may receive an operation of the user clicking on the yes option 603, and in response to the operation, the personal computer 401 may display a wear confirmation prompt box 605, as shown in fig. 6B. The wearing confirmation prompt box 605 is used to inquire whether the user wears the smart band 402. Wherein, the smart band 402 can monitor the wearing state of itself. The wearing state is used for indicating that the smart band 402 is in a worn state or a fallen state. In one possible design, a pressure sensor may be disposed on the smart band 402, and the smart band 402 may confirm the wearing state through data change of the pressure sensor. In addition, the smart band 402 transmits wearing state information to the terminal device. The user may click on the confirmation option 606 of the wear confirmation prompt box 605 after wearing the smart band 402. The personal computer 401 may receive an operation of clicking the confirmation option 606 by the user, and in response to the operation, the personal computer 401 may confirm that the smart band 402 is in the worn state or in the detached state (unworn state) through the wearing state information.

If the wearing state information indicates that the smart band 402 is in the off state, the personal computer 401 may confirm that the smart band 402 is in the off state, as shown in fig. 6C, the personal computer 401 displays the prompt information 607 in the wearing confirmation prompt box 605. Prompt 607 is used to inform the user that the bracelet needs to be re-worn. Illustratively, the prompt information 607 may be "do not detect you wearing a bracelet, please click confirmation after wearing the bracelet". The user may click the confirmation option 606 again after wearing the smart band 402. The personal computer 401 may receive an operation of clicking the confirmation option 606 by the user, and in response to the operation, the personal computer 401 may confirm that the smart band 402 is in the worn state or in the detached state again through the wearing state information. If the wearing state information indicates that the smart band 402 is in the worn state, the personal computer 401 may confirm that the smart band 402 is in the worn state, as shown in fig. 7A, the personal computer 401 may display a password verification box 701. An account name 702, a password input field 703, and an input option 704 may be displayed in the password verification box 701. The account name 702 may be a user name that is set by the user on the terminal device 701 in advance, for example, a user name of a Windows system, such as SAM. The password input field 703 is used for a user to input a password. After the user enters the password in the password entry field 703, the user may click the enter option 704 to indicate that the password is entered. Of course, in other embodiments, the user may also indicate that the password is entered using the enter key on the physical/virtual keyboard. After the personal computer 401 receives the password input by the user, it needs to verify whether the password input by the user is consistent with the preset password. The preset password is a password matching with the account name 702. For example, the account name 702 and the preset password may be the account name and the password of the power-on interface and the screen-locking interface of the personal computer 401, that is, the personal computer 401 can be normally powered on and unlocked only after the user inputs the correct account name and password. It can be understood that whether the wearer of the smart band 402 has the right to control the personal computer 401 can be identified by verifying whether the password input by the user is consistent with the preset password. When the password input by the user is consistent with the preset password, the wearer of the smart band 402 and the holder of the personal computer 401 may be considered to be the same person, or the wearer of the smart band 402 may be considered to have the right to control the personal computer 401. On the contrary, when the password input by the user is inconsistent with the preset password, the holder of the smart band 402 is considered not to have the authority to control the personal computer 401.

Therefore, if the verification result is that the password input by the user is not consistent with the preset password, as shown in fig. 7B, the personal computer 401 may display a prompt message 705 in the password verification box 701, where the prompt message 705 is used to prompt the user that the input password is incorrect. For example, the hint 705 may be "password incorrect, please re-enter". Further, password verification block 701 includes a determination option 706 and a close option 707. If the user needs to re-enter the password, the decision option 706 may be clicked. The personal computer 401 may receive an operation of the user clicking the determination option 706, and in response to the operation, the personal computer 401 may redisplay the password authentication box 701 as shown in fig. 7A so that the user may input the password again. The close option 707 may be clicked if the user does not need to re-enter the password. The personal computer 401 may receive an operation of the user clicking the close option 707, and in response to the operation, the personal computer 401 may close the password authentication box 701. If the verification result is that the password input by the user is consistent with the preset password, the personal computer 401 may initiate a request for confirming the binding to the smart band 402. In an alternative embodiment, as shown in FIG. 8, the personal computer 401 may display a binding acknowledgement prompt 801. The binding confirmation prompt box 801 is used to remind the user that the personal computer 401 has been bound to the smart band 402. For example, the binding acknowledgement prompt box 801 may display a "bound smart bracelet". In addition, the binding acknowledgement prompt box 801 may also include an acknowledgement option 802. The personal computer 401 may receive a user manipulation of the confirmation option 802, in response to which the personal computer 401 may close the binding confirmation prompt 801.

After the personal computer 401 and the smart band 402 are bound, the user can control the personal computer 401 using the smart band 402, thereby switching the content displayed on the projection screen 403. Specifically, the user may perform a preset action while wearing the smart band 402. After the smart band 402 generates the motion data matched with the motion track of the smart band 402, the control instruction matched with the motion track (motion data) can be searched from a preset motion track-instruction matching list, and the control instruction is sent to the personal computer 401. In response to the control command, the personal computer 401 executes an operation corresponding to the control command, such as page forward, page backward, maximize, minimize, and the like.

For example, the motion trajectory-instruction matching list may be as shown in table 1:

TABLE 1

Motion trail Control instruction
Rotate clockwise Turn the page backward
Rotate counterclockwise Turn the page forward
Draw Z style of calligraphy Minimization
Draw V-shaped Maximization
…… ……

As shown in fig. 9 (a), the projection screen 403 may display an interface 901. Illustratively, interface 901 may include a directory of files 1. For example, interface 901 may include "meeting topic: subject 1, participants: sam, A, B, C, D' information. When the user needs to display the next page of the file 1, as shown in fig. 9 (b), the user may drive the smart band 402 to rotate clockwise; the smart band 402 may query, from a preset motion trajectory-instruction matching list (table 1), that the control instruction corresponding to the motion trajectory is a backward page turning instruction, and send the backward page turning instruction to the personal computer 401. Thus, the personal computer 401 may receive the page backward instruction, and in response to the instruction, the personal computer 401 may display the next page of the document 1. Thus, as shown in (c) in fig. 9, the projection screen 403 displays an interface 902, and the interface 902 is the next page of the interface 901.

As shown in fig. 10 (a), the projection screen 403 may display an interface 902. Illustratively, interface 902 may include the title of File 1 (i.e., "topic 1"). When the user needs to display the previous page of the current page (i.e., the previous page of the document 1), as shown in fig. 10 (b), the user may drive the smart band 402 to rotate in the counterclockwise direction; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a forward page turning instruction, and send the forward page turning instruction to the personal computer 401. Thus, the pc 401 can receive the page forward instruction, and in response to the instruction, the pc 401 can display a page previous to the current page. Thus, as shown in (c) in fig. 10, the projection screen 403 displays an interface 901, and the interface 901 is the previous page of the interface 902.

As shown in fig. 11A (a), the projection screen 403 may display an interface 902. When the user needs to minimize the file 1, as shown in fig. 11A (b), the user may drive the smart band 402 to draw a "Z" font; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a minimization instruction, and send the minimization instruction to the personal computer 401. Thus, the personal computer 401 can receive the minimizing instruction, and in response to the instruction, the personal computer 401 can minimize the window of the document 1. Thereby, as shown in (c) in fig. 11A, the projection screen 403 displays a desktop 1101, and an icon 1102 of file 1 can be displayed on the desktop 1101.

As shown in fig. 11B (a), the projection screen 403 may display a desktop 1101, the desktop 1101 including a map 1102 of the file 1. It can be seen that file 1 is in a minimized state. When the user needs to maximize the file 1, as shown in (B) of fig. 11B, the user may drive the smart band 402 to draw a "V" font; the smart band 402 may query a preset motion track-instruction matching list that the control instruction corresponding to the motion track is a maximization instruction, and send the maximization instruction to the personal computer 401. Thus, the personal computer 401 may receive the maximize instruction, in response to which the personal computer 401 will maximize the window of the document 1. Thereby, as shown in (c) in fig. 11B, the projection screen 403 displays the interface 902 of the file 1.

Fig. 12 shows a flowchart of a method for controlling an electronic device by a wearable device provided in an embodiment of the present application. As shown in fig. 12, the method includes:

s1201, the electronic device and the wearable device establish communication connection.

Wherein, can adopt any one mode in communication methods such as NFC, WIFI, bluetooth to communicate between electronic equipment and wearable equipment. Illustratively, the electronic device may be a personal computer 401 and the wearable device may be a smart band 402.

S1202, a binding relationship is established between the electronic equipment and the wearable equipment.

It can be understood that establishing the binding relationship may refer to the smart band being bound to the electronic device by a preset account name and password. For example, reference may be made to fig. 6A-8 and corresponding.

S1203, the wearable device determines whether the user has left the wearable device.

If the wearable device is detached from the user, executing S1204; if the wearable device is not detached from the user, S1205 is executed.

It is understood that if the wearable device is detached from the user, it may be considered that the holder of the smart band 402 may be changed, and therefore, the holder of the smart band 402 needs to be re-authenticated, and S1204 may be executed. If the wearable device has not separated from the user, it may be considered that the wearer of the smart band 402 has not changed, and the smart band 402 has the authority to control the electronic device 401, and S1205 may be executed.

And S1204, reestablishing the binding relationship between the wearable device and the electronic device.

In an alternative embodiment, the wearable device may initiate a binding request to the electronic device. After the electronic device receives the binding request, the password entry box 701 shown in fig. 7A may be redisplayed. The user can input a correct password through the password input box 701, so as to reestablish the binding relationship between the wearable device and the electronic device.

And S1205, responding to the operation that the user drives the wearable device to move, and generating motion data matched with the motion trail of the wearable device by the wearable device.

In an alternative embodiment, the wearable device may identify the user's actions using its motion sensors and generate motion data that matches the wearable device's motion trajectory.

And S1206, the wearable device generates a control instruction corresponding to the motion data.

In an alternative embodiment, the wearable device may find the motion trajectory (i.e., the motion data) corresponding to the control command from a preset motion trajectory-command matching list.

S1207, the wearable device sends a control instruction to the electronic device.

S1208, in response to the received control instruction, the electronic device is switched from the first interface to the second interface.

The second interface is displayed after the electronic equipment executes the operation corresponding to the control instruction on the first operation target, and the first operation target comprises any one of a presentation, a video file, an audio file and a document. For example, the first operation target may be a presentation, the first interface may be an interface 901 shown in (a) of fig. 9, and the second interface may be an interface 902 shown in (c) of fig. 9. For another example, the first interface may be the interface 902 shown in fig. 11A (a), and the second interface may be the interface 1102 shown in fig. 11A (c).

In addition, it should be noted that the operation corresponding to the control instruction includes any one of page forward, page backward, maximizing, minimizing, increasing the volume, and decreasing the volume.

Fig. 13 shows a schematic diagram of a smart home scenario. In an intelligent home scene, a user can control home devices such as an intelligent television and an intelligent sound box by using the intelligent bracelet 402. It should be noted that home equipment such as smart television, intelligent stereo set all are connected to the local area network of family through its WIFI module. If the smart band 402 is used to control the home device, the smart band 402 is also added to the home lan. Next, a process of adding the smart band 402 to the home lan will be described by taking a terminal device as a mobile phone as an example.

As shown in (a) of fig. 14, the cellular phone may display a home interface 1401. The home interface 1401 may include an icon 1402 for a smart home application. The mobile phone may receive an operation of the user clicking the icon 1402 of the smart home application, and in response to the operation, the mobile phone may open the smart home application 1402 and enter an interface 1403 shown in (b) in fig. 14. The interface 1403 may include a display area 1404 and an add option 1405, the display area 1404 being available for displaying devices that have been connected to the home local area network. Illustratively, devices that have been connected to a home lan may include a glory television, a smart stereo, a smart fragrance light, a smart jack, a smart stereo, a router, and the like. The handset may receive the user clicking on the add option 1405, in response to which the handset may display a function block 1406 as shown in (c) of fig. 14. The function blocks 1406 may include add device options 1406, create scene options, share device options, and the like. The handset may receive an operation of the user clicking on the add device option 1406, in response to which a device search interface 1501 shown in (a) of fig. 15 is responded. The device search interface 1501 may display the "searching" word. After the cell phone searches the smart band 402, as shown in fig. 15 (b), an icon 1502 of the smart band 402 may be displayed on the device search interface 1501. The cellular phone may receive an operation of the user clicking the icon 1502, and in response to the operation, as shown in (c) of fig. 15, the cellular phone may display an input box 1503. After the user inputs the account name and the password through the input box 1503, the user can click the confirmation option 1504 in the password input box 1503, and in response to the click operation of the user on the confirmation option 1504, the mobile phone can verify whether the account name and the password are matched. If the account name matches the password, the holder of the smart band 402 may be considered to have the right to connect to the home lan, and the cell phone may display a prompt box 1505 as shown in fig. 16 (a). The prompt box 1505 is used to prompt the user that the smart band 402 has been added to the home lan. The cell phone may receive an operation of the user for the confirmation option 1506 of the prompt box 1505, and in response to the operation, as shown in (b) of fig. 16, the cell phone may add an icon 1507 of the smart band 402 in the display area 1404.

After the smart band 402 is added to the home lan, the user may open the WLAN awareness service (which may also be referred to as NAN awareness service) of the home device and the WLAN awareness service of the smart band 402 through the smart home application. The home devices may publish (publish) one or more discoverable services, and the smart band 402 may subscribe to one or more services published by the home devices. The home devices may also be referred to as service publishers, and the smart band 402 may be a service subscriber. After the home device starts the WLAN service, a target frame (publish frame) may be continuously transmitted in a target channel (a WIFI fixed channel, for example, 6 channels), where the publish frame carries service information issued by the home device. After the smart band 402 starts the WLAN aware service, the WIFI fixed channel (e.g., 6 channels) may be continuously scanned, and if the publish frame is scanned and it is determined that the service information included in the publish frame is a service subscribed by itself, a response message may be replied to the home device. Both parties may establish a WLAN connection (e.g., establish a WIFI channel over a WIFI fixed channel) and may create a Socket (Socket) for data transmission. After the home device receives the response message sent by the smart band 402, the home device may determine that the smart band 402 enters the WLAN coverage (geo-fence) of the home device.

The smart band 402 may control the home devices with which WLAN connections are established. When the smart band 402 enters an overlapping area of WIFI coverage of two or more home devices, the smart band 402 may establish a WLAN connection with the two or more home devices. At this time, the smart band 402 may determine the distance between itself and two or more home devices, and use the home device with the smallest distance as the device to be controlled.

Illustratively, as shown in fig. 17A, the smart band 402 enters the overlapping area of the WIFI coverage of the tv, smart audio 1, smart audio 2, and air purifier, and establishes WLAN connections with the tv, smart audio 1, smart audio 2, and air purifier, respectively. The smart bracelet 402 determines that the distances from the air purifier, the smart audio 1, the television and the smart audio 2 are L1, L2, L3 and L4, respectively, and L1> L2 ═ L4> L3. Therefore, the smart band 402 uses the television as a device to be controlled, and controls the television to perform operations such as turning on, turning off, switching back channels, switching forward channels, turning down the volume, and turning up the volume.

In an optional implementation manner, NFC chips and/or infrared sensors are disposed on the smart band 402 and the home devices, and the smart band 402 may determine a distance between itself and the home devices by using the NFC chips and/or the infrared sensors.

In an alternative embodiment, after the smart band 402 uses the tv as the device to be controlled, an interface 1701 as shown in fig. 17B may be displayed. The interface 1701 is used to prompt the user that the smart band 402 can be used to control the television.

A specific user may perform a preset action while wearing the smart band 402. After the smart band 402 generates the motion data matched with the motion track of the smart band 402, the control instruction matched with the motion track (motion data) can be searched from a preset motion track-instruction matching list, and the control instruction is sent to the television. In response to the control command, the television executes an operation corresponding to the control command, such as turning on, turning off, switching back channels, switching forward channels, turning down the volume, turning up the volume, and the like.

For example, the motion trajectory-instruction matching list may be as shown in table 2:

TABLE 2

Motion trail Control instruction
Draw M type Switching back channels
W-shaped picture Forward switching of channels
Draw Z style of calligraphy Shutdown
Draw V-shaped Starting up
Rotate clockwise Volume reduction
Rotate counterclockwise Loud volume
…… ……

As shown in (a) in fig. 18A, the television can display a channel 1801. If the user wants to watch the next channel, as shown in fig. 18A (b), the user may drive the smart band 402 to draw an "M" font; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a backward channel switching instruction, and send the backward channel switching instruction to the television. The television can receive the switch back channel instruction, and in response to the instruction, the television switches to channel 1802 as shown in (c) of fig. 18A, channel 1802 being the next channel of channel 1801.

As shown in (a) of fig. 18B, the television can display a channel 1802. If the user wants to watch the previous channel, as shown in fig. 18B (B), the user may drive the smart band 402 to draw a "W" font; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a forward channel switching instruction, and send the forward channel switching instruction to the television. The television can receive the forward channel change instruction, and in response to the instruction, the television switches to channel 1801 as shown in (c) of fig. 18B, and channel 1801 is the last channel of channel 1802.

As shown in (a) in fig. 19A, the television can display a channel 1801. If the user does not want to watch the television and needs to turn off the television, as shown in (b) of fig. 19A, the user can drive the smart band 402 to draw a "Z" font; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a shutdown instruction, and send the shutdown instruction to the television. The television may receive the power-off instruction, and in response to the instruction, the television is powered off as shown in (c) in fig. 19A.

As shown in (a) of fig. 19B, the television may be in an off state. If the user wants to watch tv, as shown in (B) of fig. 19B, the user may drive the smart band 402 to draw a "V" font; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a power-on instruction, and send the power-on instruction to the television. The television may receive the power-on instruction, and in response to the instruction, the television is powered on as shown in (c) in fig. 19B.

Illustratively, as shown in fig. 20, the smart band 402 enters the overlapping area of the WIFI coverage of the tv, smart audio 1, smart audio 2, and air purifier, and establishes WLAN connections with the tv, smart audio 1, smart audio 2, and air purifier, respectively. Wherein, the distance that intelligence bracelet 402 confirmed itself and air purifier, intelligent stereo set 1, TV and intelligent stereo set 2 is L1, L2, L3 and L4 respectively, and L1> L2> L3> L4. Therefore, the smart band 402 uses the smart audio 2 as a device to be controlled, and controls the smart audio 2 to perform operations such as power on, power off, volume reduction, volume increase, and the like.

Specifically, the user may perform a preset action while wearing the smart band 402. After the smart band 402 generates the motion data matched with the motion track of the smart band 402, the control instruction matched with the motion track (motion data) may be queried from a preset motion track-instruction matching list, and the control instruction is sent to the smart audio 2. In response to the control command, the smart audio 2 executes an operation corresponding to the control command, such as turning on, turning off, turning down the volume, turning up the volume, and the like.

In an alternative embodiment, after the smart band 402 uses the smart audio 2 as a device to be controlled, it may be prompted on the smart band 402 that the user can control the smart audio 2 by using the smart band 402. The prompting manner may be similar to that shown in fig. 17B, and is not described herein again.

For example, the motion trajectory-instruction matching list may be as shown in table 3:

TABLE 3

Motion trail Control instruction
Draw Z style of calligraphy Shutdown
Draw V-shaped Starting up
Rotate clockwise Volume reduction
Rotate counterclockwise Loud volume
…… ……

As shown in (a) of fig. 21A, the smart sound 2 can play audio at a volume value of 60. If the user needs to reduce the volume, as shown in (b) of fig. 21A, the user may drive the smart band 402 to rotate clockwise; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a turn-down volume instruction, and send the turn-down volume instruction to the smart audio 2. Smart sound 2 may receive the turn-down volume instruction, and in response to the instruction, smart sound 2 adjusts the volume value to 50 as shown in (c) in fig. 21A.

As shown in (a) of fig. 21B, the smart sound 2 can play audio at a volume value of 50. If the user needs to increase the volume, as shown in (B) of fig. 21B, the user may drive the smart band 402 to rotate counterclockwise; the smart band 402 may query that the control instruction corresponding to the motion trajectory is an increase volume instruction from a preset motion trajectory-instruction matching list, and send the increase volume instruction to the smart audio 2. Smart sound 2 may receive the volume up instruction, and in response to the instruction, smart sound 2 adjusts the volume value to 60 as shown in (c) in fig. 21B.

As shown in (a) of fig. 22A, the smart sound 2 can play audio at a volume value of 50. If the user does not want to listen to music, as shown in (b) of fig. 22A, the user may drive the smart band 402 to draw a "Z" shape; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a shutdown instruction, and send the shutdown instruction to the smart audio 2. The smart audio 2 may receive the shutdown instruction, and in response to the instruction, the smart audio 2 is shut down as shown in (c) in fig. 22A.

As shown in (a) of fig. 22B, the smart audio 2 may be in an off state. If the user wants to listen to music, as shown in (B) of fig. 22B, the user may drive the smart band 402 to draw a "V" font; the smart band 402 may query, from a preset motion trajectory-instruction matching list, that the control instruction corresponding to the motion trajectory is a power-on instruction, and send the power-on instruction to the smart audio 2. Smart sound 2 may receive the power-on instruction, and in response to the instruction, as shown in (c) of fig. 22B, smart sound 2 is powered on and plays audio at a volume value of 50.

It should be noted that, in this scenario, in the process of controlling the home devices, the wearer of the smart band 402 may be authenticated, that is, the home devices may be controlled only when it is determined that the wearer of the smart band 402 has not changed; the wearer of the smart band 402 may not be authenticated, that is, anyone may use the smart band 402 to control the home devices, which is not limited herein.

Fig. 23 shows a flowchart of a method for controlling an electronic device by a wearable device provided in an embodiment of the present application. As shown in fig. 23, the method includes:

s2301, the wearable device is connected to a local area network where the electronic device a and the electronic device B are located.

For example, the wearable device may be connected to the local area network where the electronic device a and the electronic device B are located by using the processes shown in fig. 14, fig. 15, and fig. 16.

S2302, the wearable device and the electronic device A establish WLAN connection.

It is understood that the WLAN aware service of the electronic device a is in an on state and the WLAN aware service of the wearable device is in an on state.

When the wearable device scans a publish frame transmitted by the electronic device a and determines that the service information included in the publish frame is a service subscribed by the wearable device, the wearable device may reply a response message to the electronic device a. In response to receiving the response information, electronic device a establishes a WLAN connection with the wearable device.

S2303, the wearable device and the electronic device B establish WLAN connection.

When the wearable device scans a publish frame transmitted by the electronic device B and determines that the service information included in the publish frame is a service subscribed by the wearable device, the wearable device may reply a response message to the electronic device B. In response to receiving the response information, the electronic device B establishes a WLAN connection with the wearable device.

S2304, the wearable device obtains a distance between itself and the electronic device a and a distance between itself and the electronic device B.

In an alternative embodiment, the wearable device may obtain the distance between itself and the electronic device a and the distance between itself and the electronic device B by using an infrared technology or an NFC technology.

S2305, the wearable device uses the electronic device (e.g., electronic device a) with the smallest distance as the device to be controlled.

For example, if the distance between the wearable device and the electronic device a is smaller than the distance between the wearable device and the electronic device B, the electronic device a is taken as the device to be controlled.

S2306, responding to the operation that the user drives the wearable device to move, and the wearable device generates motion data matched with the motion trail of the wearable device.

In an alternative embodiment, the wearable device may identify the user's actions using its motion sensors and generate motion data that matches the wearable device's motion trajectory.

And S2307, the wearable device generates a control instruction corresponding to the motion data.

In an optional embodiment, the wearable device may find an operation identifier from a preset motion trajectory-instruction matching list, and generate a control instruction corresponding to the operation identifier.

S2308, the wearable device sends a control instruction to the electronic device A.

S2309, in response to receiving the control instruction, the electronic device a switches from the first state to the second state.

The second state is a state where the electronic device is located after executing an operation corresponding to the control instruction, and the operation corresponding to the control instruction includes any one of starting up, shutting down, increasing the volume, decreasing the volume, switching channels forward, switching channels backward, increasing the temperature, and decreasing the temperature. For example, the electronic device a may be a smart audio, wherein the first state may be a state in which the volume value is 60 as shown in (a) of fig. 21A, and the second state may be a state in which the volume value is 50 as shown in (c) of fig. 21A.

Therefore, according to the method for controlling the electronic device by the wearable device, the user can do the preset action under the condition of wearing the wearable device, the wearable device can recognize the motion track of the wearable device and generate the motion data matched with the motion track, and therefore the control instruction is generated and sent according to the motion data, and the electronic device is controlled. Therefore, the user can make different actions under the condition of wearing the wearable device, control over different functions of the electronic device can be achieved, simplicity and convenience are achieved, and user experience can be improved.

Another embodiment of the present application provides a chip system, as shown in fig. 24, which includes at least one processor 2401 and at least one interface circuit 2402. The processor 2401 and the interface circuit 2402 may be interconnected by wires. For example, the interface circuit 2402 may be used to receive signals from other apparatuses (e.g., a memory of a wearable device, a memory of a terminal device). Also for example, interface circuit 2402 may be used to send signals to other devices (e.g., processor 2401).

For example, interface circuit 2402 may read instructions stored in a memory in the device and send the instructions to processor 2401. The instructions, when executed by the processor 2401, may cause the wearable device or the terminal device to perform the various steps in the embodiments described above.

Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.

Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.

The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

42页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:分享方法和装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类