electronic device control method and related equipment

文档序号:1782705 发布日期:2019-12-06 浏览:18次 中文

阅读说明:本技术 电子装置控制方法及相关设备 (electronic device control method and related equipment ) 是由 张海平 于 2018-05-28 设计创作,主要内容包括:本申请公开了一种电子装置控制方法及相关设备,方法包括:建立与电子装置的通信连接;检测可穿戴设备与电子装置之间的距离;在检测到可穿戴设备与电子装置之间的距离大于或等于设定值的情况下,向电子装置发送第一信息,第一信息用于锁定显示屏。采用本申请实施例实现了通过可穿戴设备智能地控制电子装置,进而更大程度地方便用户的日常生活。(The application discloses an electronic device control method and related equipment, wherein the method comprises the following steps: establishing a communication connection with an electronic device; detecting a distance between the wearable device and the electronic apparatus; and sending first information to the electronic device under the condition that the distance between the wearable equipment and the electronic device is detected to be larger than or equal to a set value, wherein the first information is used for locking the display screen. Adopt this application embodiment to realize through wearable equipment control electron device intelligently, and then the local daily life who makes things convenient for the user of bigger degree.)

1. A wearable device comprising an input-output circuit and a control circuit, the input-output circuit comprising a communication circuit, wherein:

The control circuit is used for establishing communication connection with the electronic device through the communication circuit;

The control circuit is further configured to detect a distance between the wearable device and the electronic apparatus;

The control circuit is further used for sending first information to the electronic device through the communication circuit when the fact that the distance between the wearable device and the electronic device is larger than or equal to a set value is detected, and the first information is used for locking the display screen.

2. the wearable device according to claim 1, wherein the control circuit is further configured to send, to the electronic apparatus, second information indicating that the display screen is unlocked, through the communication circuit, in a case where it is detected that the distance between the wearable device and the electronic apparatus is smaller than the set value.

3. The wearable apparatus according to claim 1 or 2, wherein the wearable apparatus comprises a first wearing device, the input-output circuit further comprising an audio component, wherein:

The control circuit is further used for carrying out first prompt through the audio component, and the first prompt is used for prompting whether a user needs to lock a display screen of the electronic device or not;

The control circuit is further configured to determine that a user inputs a confirmation instruction for the first prompt through the first wearable device.

4. The wearable apparatus of claim 3, comprising a second wearing device, wherein:

The control circuit is further used for carrying out second prompt through the audio component, and the second prompt is used for prompting whether a user needs to release the locking state of the display screen of the electronic device;

The control circuit is further configured to determine that a user inputs a confirmation instruction for the second prompt through the second wearable device.

5. An electronic device comprising an input-output circuit and a control circuit, the input-output circuit comprising a communication circuit, wherein:

The control circuit is used for establishing communication connection with the wearable device through the communication circuit;

The control circuit is further configured to receive, through the communication circuit, first information from the wearable device, the first information being used for indicating that a display screen is locked, the first information being sent by the wearable device when detecting that a distance between the wearable device and the electronic apparatus is greater than or equal to a set value;

the control circuit is also used for releasing the locking state of the display screen under the condition that the display screen is in the screen locking state.

6. The electronic device of claim 5, wherein the control circuit is further configured to receive, via the communication circuit, second information from the wearable device, the second information indicating that the display screen is unlocked, the second information being sent by the wearable device when detecting that the distance between the wearable device and the electronic device is less than the set value;

The control circuit is also used for releasing the locking state of the display screen under the condition that the display screen is in the screen locking state.

7. an electronic device control method is applied to wearable equipment, and the method comprises the following steps:

Establishing a communication connection with an electronic device;

Detecting a distance between the wearable device and the electronic apparatus;

The method comprises the steps of sending first information to the electronic device when the fact that the distance between the wearable equipment and the electronic device is larger than or equal to a set value is detected, wherein the first information is used for locking a display screen.

8. the method of claim 7, further comprising:

And sending second information to the electronic device under the condition that the distance between the wearable equipment and the electronic device is detected to be smaller than the set value, wherein the second information is used for indicating that the locking state of the display screen is released.

9. The method of claim 7 or 8, wherein the wearable device comprises a first wearable apparatus, and wherein prior to sending the first information to the electronic apparatus, the method further comprises:

Performing a first prompt, wherein the first prompt is used for prompting a user whether a display screen of the electronic device needs to be locked;

Determining that a user inputs a confirmation instruction for the first prompt through the first wearable device.

10. the method of claim 9, wherein the wearable device further comprises a second wearable apparatus, and wherein before sending the second information to the electronic device, the method further comprises:

performing a second prompt, wherein the second prompt is used for prompting whether a user needs to release the locking state of the display screen of the electronic device;

Determining that a user inputs a confirmation instruction for the second prompt through the second wearable device.

11. An electronic device control method, applied to an electronic device, the method comprising:

Establishing a communication connection with a wearable device;

Receiving first information from the wearable device, wherein the first information is used for indicating that a display screen is locked, and the first information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is larger than or equal to a set value;

And locking the display screen under the condition that the display screen is not in a screen locking state.

12. the method of claim 11, further comprising:

receiving second information from the wearable device, wherein the second information is used for indicating that the locking state of a display screen is released, and the second information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is smaller than the set value;

And under the condition that the display screen is in a screen locking state, releasing the locking state of the display screen.

13. An electronic device control device, applied to a wearable apparatus, includes a communication unit and a detection unit, wherein:

the communication unit is used for establishing communication connection with the electronic device;

The detection unit is used for detecting the distance between the wearable equipment and the electronic device;

The communication unit is further used for sending first information to the electronic device when the fact that the distance between the wearable device and the electronic device is larger than or equal to a set value is detected, and the first information is used for locking the display screen.

14. An electronic device control device, applied to an electronic device, comprising a communication unit and a lock unit, wherein:

The communication unit is used for establishing communication connection with the wearable device; receiving first information from the wearable device, wherein the first information is used for indicating that a display screen is locked, and the first information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is larger than or equal to a set value;

the locking unit is used for locking the display screen under the condition that the display screen is not in a screen locking state.

15. a wearable device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-4.

16. an electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of claim 5 or 6.

17. a computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.

18. a computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to claim 5 or 6.

Technical Field

The present disclosure relates to the field of electronic technologies, and in particular, to a method for controlling an electronic device and a related apparatus.

Background

a wearable device is a portable device worn directly on the body, or integrated into the clothing or accessories of the user, such as a wireless headset, a smart watch, etc. The wearable device may be used with an electronic apparatus (e.g., a smart phone, etc.) to be attached to the electronic apparatus to embody a part of functions of the electronic apparatus. However, most wearable devices are relatively single-function, such as wireless headphones typically used only to play audio, smart watches typically used only to display time, collect health data, etc., and do not facilitate the user's daily life to a greater extent.

Disclosure of Invention

The embodiment of the application provides an electronic device control method and related equipment, which realize intelligent control of an electronic device through wearable equipment, and further bring convenience to daily life of a user to a greater extent.

In a first aspect, embodiments of the present application provide a wearable device, comprising an input-output circuit and a control circuit, the input-output circuit comprising a communication circuit and a sensor, wherein:

the control circuit is used for establishing communication connection with the electronic device through the communication circuit;

the control circuit is further configured to detect a distance between the wearable device and the electronic apparatus;

The control circuit is further used for sending first information to the electronic device through the communication circuit when the fact that the distance between the wearable device and the electronic device is larger than or equal to a set value is detected, and the first information is used for locking the display screen.

in a second aspect, an embodiment of the present application provides an electronic device, including an input-output circuit and a control circuit, the input-output circuit including a communication circuit, wherein:

The control circuit is used for establishing communication connection with the wearable device through the communication circuit;

The control circuit is further configured to receive, through the communication circuit, first information from the wearable device, the first information being used for indicating that a display screen is locked, the first information being sent by the wearable device when detecting that a distance between the wearable device and the electronic apparatus is greater than or equal to a set value;

the control circuit is also used for releasing the locking state of the display screen under the condition that the display screen is in the screen locking state.

in a third aspect, an embodiment of the present application provides an electronic device control method, which is applied to a wearable device, and the method includes:

Establishing a communication connection with an electronic device;

Detecting a distance between the wearable device and the electronic apparatus;

the method comprises the steps of sending first information to the electronic device when the fact that the distance between the wearable equipment and the electronic device is larger than or equal to a set value is detected, wherein the first information is used for locking a display screen.

In a fourth aspect, an embodiment of the present application provides an electronic device control method, which is applied to an electronic device, and the method includes:

establishing a communication connection with a wearable device;

Receiving first information from the wearable device, wherein the first information is used for indicating that a display screen is locked, and the first information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is larger than or equal to a set value;

and locking the display screen under the condition that the display screen is not in a screen locking state.

in a fifth aspect, an embodiment of the present application provides an electronic device control apparatus, which is applied to a wearable device, and includes a communication unit and a detection unit, where:

The communication unit is used for establishing communication connection with the electronic device;

The detection unit is used for detecting the distance between the wearable equipment and the electronic device;

The communication unit is further used for sending first information to the electronic device when the fact that the distance between the wearable device and the electronic device is larger than or equal to a set value is detected, and the first information is used for locking the display screen.

In a sixth aspect, an embodiment of the present application provides an electronic device control apparatus, which is applied to an electronic device and includes a communication unit and a locking unit, where:

The communication unit is used for establishing communication connection with the wearable device; receiving first information from the wearable device, wherein the first information is used for indicating that a display screen is locked, and the first information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is larger than or equal to a set value;

The locking unit is used for locking the display screen under the condition that the display screen is not in a screen locking state.

In a seventh aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any of the methods in the fourth aspect of the embodiment of the present application.

In an eighth aspect, embodiments of the present application provide a wearable device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps of any of the methods of the third aspects of the embodiments of the present application.

In a ninth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the third aspect of the present application.

in a tenth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the fourth aspect of the present application.

In an eleventh aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the third aspect of the present application. The computer program product may be a software installation package.

in a twelfth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the fourth aspect of the present application. The computer program product may be a software installation package.

Therefore, in the embodiment of the application, when the wearable device detects that the distance between the electronic devices in communication connection with the wearable device is larger than or equal to the set value, the wearable device sends information for controlling the locking of the display screen to the electronic devices, so that the display screen is locked when the electronic devices are not in the screen locking state, the electronic devices are intelligently controlled through the wearable device, and the daily life of users is facilitated to a greater extent.

These and other aspects of the present application will be more readily apparent from the following description of the embodiments.

drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

fig. 1 is a schematic structural diagram of an electronic device control system according to an embodiment of the present disclosure;

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

Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;

Fig. 4 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present disclosure;

fig. 5 is a schematic flowchart of another electronic device control method according to an embodiment of the present application;

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

Fig. 7 is a schematic structural diagram of an electronic device control apparatus according to an embodiment of the present application;

Fig. 8 is a schematic structural diagram of another electronic device control device according to an embodiment of the present application.

Detailed Description

in order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The following are detailed below.

The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.

reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.

The following describes embodiments of the present application in detail.

Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device control system according to an embodiment of the present application, where the schematic structural diagram of the electronic device control system includes: electronic device and wearable equipment. Wherein, wearable equipment carries out communication connection with electron device through wireless technologies such as bluetooth, infrared.

Among other things, electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem with wireless communication capabilities, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so on.

Wherein, wearable equipment can include wireless earphone, intelligent bracelet, intelligent ear nail, intelligent button, intelligent ring, intelligent glasses, helmet etc. and wearable equipment has functions such as answering the incoming call, audio playback, audio acquisition, control electron device.

The working principle of the electronic device control system of the embodiment of the application is as follows: firstly, the wearable equipment and the electronic device establish communication connection; then, the wearable device detects a distance between the wearable device and the electronic apparatus; under the condition that the distance between the wearable device and the electronic device is detected to be larger than or equal to a set value, the wearable device sends first information for locking the display screen to the electronic device; finally, after the electronic device receives the first information, if the electronic device is not in the screen locking state currently, the electronic device locks the display screen. The electronic device is intelligently controlled through the wearable device, and further the daily life of the user is facilitated to a greater extent.

based on the above system, please refer to fig. 2, fig. 2 is a schematic structural diagram of a wearable device 200 provided in an embodiment of the present application, where the wearable device 200 includes at least one wearing apparatus, and fig. 2 illustrates that the wearable device includes a first wearing apparatus and a second wearing apparatus, each wearing apparatus includes a control circuit and an input-output circuit, and the control circuit is connected to the input-output circuit.

the control circuitry may include, among other things, storage and processing circuitry. The storage and processing circuitry may be memory, such as hard disk drive memory, non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), etc., and embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry may be used to control the operation of the wearable device 200. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.

The storage and processing circuitry may be used to run software in the wearable apparatus 200, such as an establish communication connection application with the electronic device, a disconnect communication connection application with the electronic device, a communication application with the electronic device, an audio playback application, and so forth. The software may be used to perform some control operations, such as establishing a communication connection with the electronic device, disconnecting a communication connection with the electronic device, sending information to the electronic device, and other functions in the wearable device 200, and the embodiments of the present application are not limited thereto.

among other things, the input-output circuitry may be used to enable the wearable device 200 to enable input and output of data, i.e., to allow the wearable device 200 to receive data from an external device and also to allow the wearable device 200 to output data from the wearable device 200 to the external device.

the input-output circuitry may further include communication circuitry that may be used to provide the wearable device 200 with the ability to communicate with external devices. The input-output circuitry may further include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. The wireless communication circuitry in the input-output circuitry may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, and filters. For example, the wireless Communication circuitry in the input-output circuitry may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the input-output circuitry may include a near field communication antenna and a near field communication transceiver. The input-output circuit may further include a sensor. The sensors may include a gesture sensor, a pressure sensor set at a specified location (such as a first specified location or a second specified location described below), an acceleration sensor, an infrared proximity sensor, a capacitance sensor, a heart rate sensor, a body temperature sensor, and the like. The input-output circuit may further include an audio component. The audio components may be used to provide audio input and output functionality for the wearable device 200. The audio components in the wearable device 200 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound. The input-output circuit may further include other input-output units. Input-output units may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.

The wearable device 200 may further include a battery (not shown) for supplying electric energy to the wearable device 200.

In an embodiment of the present application, a control circuit, configured to establish a communication connection with an electronic device through the communication circuit; a control circuit further configured to detect a distance between the wearable device and the electronic apparatus; the control circuit is further used for sending first information to the electronic device through the communication circuit under the condition that the fact that the distance between the wearable device and the electronic device is larger than or equal to a set value is detected, and the first information is used for locking the display screen. The electronic device is intelligently controlled through the wearable device, and further the daily life of the user is facilitated to a greater extent.

in an embodiment of the application, the control circuit is further configured to send, to the electronic apparatus, second information through the communication circuit when it is detected that the distance between the wearable device and the electronic apparatus is smaller than the set value, where the second information is used to instruct to release the locked state of the display screen.

The control circuit may be of the first wearing device, may be of the second wearing device, and is not limited herein. The communication circuit may be of the first wearing device, may be of the second wearing device, and is not limited herein.

In an embodiment of the application, the control circuit is further configured to perform a first prompt through an audio component, where the first prompt is used to prompt a user whether to lock a display screen of the electronic device; and the control circuit is also used for determining a confirmation instruction input by the user for the first prompt through the first wearing device.

specifically, the control circuit of the first wearable device performs the first prompt through the audio component of the first wearable device, and/or the control circuit of the second wearable device performs the first prompt through the audio component of the second wearable device. The control circuit of the first wearable device determines a confirmation instruction input by the user for the first prompt through the first wearable device.

Furthermore, the wearable device further comprises a second wearing device and a control circuit, wherein the control circuit is further used for carrying out second prompt through the audio component, and the second prompt is used for prompting whether the user needs to release the locking state of the display screen of the electronic device; and the control circuit is also used for determining a confirmation instruction input by the user for the second prompt through the second wearing device.

specifically, the control circuit of the first wearable device performs the second prompt through the audio component of the first wearable device, and/or the control circuit of the second wearable device performs the second prompt through the audio component of the second wearable device. The control circuit of the second wearable device determines a confirmation instruction input by the user for the second prompt through the second wearable device.

it should be noted that, the specific implementation process of the present embodiment may refer to the specific implementation process described in the following method, and is not described here.

Based on the above system, please refer to fig. 3, fig. 3 is a schematic structural diagram of an electronic device 300 according to an embodiment of the present application, in which the electronic device 300 includes a control circuit and an input-output circuit, and the input-output circuit is connected to the control circuit.

The control circuitry may include, among other things, storage and processing circuitry. The storage and processing circuitry may be memory, such as hard disk drive memory, non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), etc., and embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry may be used to control the operation of the electronic device 300. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.

the storage and processing circuitry may be used to run software in the electronic device 300 such as an Internet browsing application, a Voice Over Internet Protocol (VOIP) phone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, infrared proximity sensor measurement based on an infrared proximity sensor, information display functions implemented based on status indicators such as status indicators of light emitting diodes, touch event detection based on touch sensors, functions associated with displaying information on multiple (e.g., layered) display screens, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 300, to name a few.

among other things, the input-output circuit may be used to enable the electronic apparatus 300 to implement input and output of data, i.e., to allow the electronic apparatus 300 to receive data from an external device and also to allow the electronic apparatus 300 to output data from the electronic apparatus 300 to the external device. The input-output circuit 302 may further include a sensor. The sensors may include ambient light sensors, infrared proximity sensors based on light and capacitance, touch sensors (e.g., based on optical touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.

The input-output circuitry may also include one or more display screens, such as a display screen. The display screen can comprise one or a combination of a liquid crystal display screen, an organic light emitting diode display screen, an electronic ink display screen, a plasma display screen and a display screen using other display technologies. The display screen may include an array of touch sensors (i.e., the display screen may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.

the input-output circuit may further include an audio component. The audio components may be used to provide audio input and output functionality for the electronic device 300. The audio components in the electronic device 300 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.

The input-output circuitry may further include communications circuitry that may be used to provide the electronic apparatus 300 with the ability to communicate with external devices. The communication circuitry may include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. The wireless communication circuitry in the communication circuitry may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in the Communication circuitry may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuit may include a near field communication antenna and a near field communication transceiver. The communications circuitry may also include cellular telephone transceiver and antennas, wireless local area network transceiver circuitry and antennas, and so forth.

The input-output circuit may further include other input-output units. Input-output units may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.

the electronic device 300 may further include a battery (not shown) for supplying power to the electronic device 300.

in an embodiment of the present application, a control circuit, configured to establish a communication connection with a wearable device through the communication circuit; a control circuit further configured to receive, via the communication circuit, first information from the wearable device, the first information indicating that a display screen is locked, the first information being sent by the wearable device upon detecting that a distance between the wearable device and the electronic apparatus is greater than or equal to a set value; and the control circuit is also used for releasing the locking state of the display screen under the condition that the display screen is in the screen locking state. The electronic device is intelligently controlled through the wearable device, and further the daily life of the user is facilitated to a greater extent.

In an embodiment of the application, the control circuit is further configured to receive, by the communication circuit, second information from the wearable device, where the second information is used to instruct to release the lock state of the display screen, and the second information is sent by the wearable device when detecting that the distance between the wearable device and the electronic apparatus is smaller than the set value; and the control circuit is also used for releasing the locking state of the display screen under the condition that the display screen is in the screen locking state.

It should be noted that, the specific implementation process of the present embodiment may refer to the specific implementation process described in the following method, and is not described here.

Referring to fig. 4, fig. 4 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present disclosure, applied to the control system of the electronic device, the wearable apparatus and the electronic device, the method including:

step 401: the wearable device establishes a communication connection with the electronic apparatus.

Step 402: the wearable device detects a distance between the wearable device and the electronic apparatus.

step 403: the method comprises the steps that under the condition that it is detected that the distance between the wearable device and the electronic device is larger than or equal to a set value, the wearable device sends first information to the electronic device, and the first information is used for locking a display screen.

Step 404: the electronic device receives first information from the wearable equipment; and under the condition that the display screen is not in the screen locking state, the electronic device locks the display screen.

Specifically, there are two ways to establish a communication connection between the wearable device and the electronic apparatus. The first method comprises the following steps: the wearable device sends a connection establishment request to the electronic device, the electronic device receives the connection establishment request from the wearable device, and the electronic device sends a connection establishment confirmation response to the wearable device according to the connection establishment request so as to complete communication connection between the wearable device and the electronic device. And the second method comprises the following steps: the electronic device sends a connection establishment request to the wearable device, the wearable device receives the connection establishment request from the electronic device, and the wearable device sends a connection establishment confirmation response to the electronic device according to the connection establishment request so as to establish communication connection between the wearable device and the electronic device.

In an embodiment of the present application, the implementation manner of establishing the communication connection between the wearable device and the electronic apparatus is the first type, and under a first condition, the wearable device executes step 401; the first condition includes at least one of: the wearable device is far away from a box, the box is used for containing the wearable device and charging the wearable device, and when the box contains the wearable device, the box charges the wearable device; the wearable equipment completes starting operation; the wearable equipment searches the electronic device, and the wearable equipment and the electronic device are in a binding relationship; the wearable device is picked up; the wearable device is worn.

When the wearable device is accommodated in the box, the box charges the wearable device, and therefore when the wearable device detects that the box does not charge the wearable device, the wearable device detects that the wearable device is far away from the box.

the wearable device can be connected with the electronic device through the Bluetooth technology, and the wearable device knows the identifier of the electronic device due to the binding relationship between the wearable device and the electronic device, so that when the wearable device searches the identifier of the electronic device through the Bluetooth technology, the wearable device searches the electronic device.

The wearable device comprises an acceleration sensor, when the wearable device stands still, the acceleration of the wearable device is 0, when the wearable device is picked up, the acceleration detected by the acceleration sensor within a period of time is not 0, and the directions of the accelerations are upward.

When the wearable device is worn, the heart rate detected by the heart rate sensor within a period of time is the heart rate range of the human body (for example, 60 times/min-100 times/min), and the body temperature detected by the body temperature sensor within a period of time is the body temperature range of the human body (for example, 36 ℃ -40 ℃).

Therefore, in the embodiment of the application, under certain conditions, the wearable device automatically triggers the communication connection with the electronic device, manual triggering of a user is not needed, and the use convenience of the device is improved.

In an embodiment of the present application, the implementation manner of establishing the communication connection between the wearable device and the electronic apparatus is the second manner, and under a second condition, the electronic apparatus executes step 401; the second condition includes at least one of: the electronic device searches wearable equipment, and the wearable equipment and the electronic device are in a binding relationship; the electronic device starts an audio and video playing application, and the wearable equipment is a wireless earphone; the electronic device plays audio and video files, and the wearable equipment is a wireless earphone; the electronic device receives an incoming call, and the wearable equipment is a wireless earphone; the electronic device makes a call, and the wearable equipment is a wireless earphone.

The first setting value may be self-defined by the wearable device, may also be agreed between the wearable device and the electronic apparatus, and may also be self-defined by the user, which is not limited herein.

the wearable device can be connected with the electronic device through the Bluetooth technology, and the electronic device knows the identifier of the wearable device due to the binding relationship between the wearable device and the electronic device, so that when the electronic device searches the identifier of the wearable device through the Bluetooth technology, the electronic device searches the wearable device.

When the application program running on the foreground of the electronic device is an audio and video application program and the audio and video application program is in a playing state, determining that the electronic device currently plays an audio and video file.

when the application program running on the foreground of the electronic device is the application program with the call function and the application program is in the incoming call receiving state, the electronic device is determined to currently receive the incoming call.

When the application program running on the foreground of the electronic device is the application program with the call function and the application program is in the call making state, the electronic device is determined to be making a call currently.

therefore, in the embodiment of the application, under certain conditions, the electronic device automatically triggers the communication connection with the wearable device, manual triggering by a user is not needed, and the use convenience of the device is improved.

In an embodiment of the present application, before step 404, the wearable device determines a distance between the wearable device and the electronic apparatus, and the specific implementation manner includes: the wearable equipment acquires the connection signal strength of the wearable equipment and the electronic device; and the wearable equipment determines the distance corresponding to the connection signal strength according to the mapping relation between the signal strength and the distance. In the mapping relationship between the signal strength and the distance, the stronger the signal strength, the smaller the corresponding distance, the weaker the signal strength, and the larger the corresponding distance.

in an embodiment of the present application, after the electronic device locks the display screen, the method further includes: if the electronic device is in the standby state within the first duration, the electronic device is disconnected from the wearable device.

the specific implementation mode of the electronic device for disconnecting the communication connection with the wearable equipment is as follows: the electronic device sends a connection disconnection request to the wearable device, and the wearable device receives the connection disconnection request and then sends a connection disconnection confirmation response to the electronic device so as to disconnect the communication connection.

Further, after the wearable device disconnects the communication connection with the electronic apparatus, the wearable device performs a shutdown operation.

For example, assuming that the wearable device is a wireless headset and the electronic device is a smart phone, after the wireless headset and the smart phone establish a communication connection, if the user plays the video file through the smart phone, the user can listen to the audio of the video file by wearing the wireless headset. For a better viewing experience, typically the user is not too far from the smartphone, i.e. the wireless headset is not too far from the smartphone. In the process of watching the video, sometimes a user leaves the smart phone due to some things (such as going to a restroom), so that the direct distance between the wireless earphone and the smart phone is larger, the wireless earphone controls the electronic device to lock the display screen, the video file can be paused, and the power consumption of the electronic device is saved.

Therefore, in the embodiment of the application, when the wearable device detects that the distance between the electronic devices in communication connection with the wearable device is larger than or equal to the set value, the wearable device sends information for controlling the locking of the display screen to the electronic devices, so that the display screen is locked when the electronic devices are not in the screen locking state, the electronic devices are intelligently controlled through the wearable device, and the daily life of users is facilitated to a greater extent.

In an embodiment of the present application, the method further includes:

Under the condition that the distance between the wearable equipment and the electronic device is detected to be smaller than the set value, the wearable equipment sends second information to the electronic device, and the second information is used for indicating that the locking state of the display screen is released; the electronic device receives second information from the wearable equipment; and under the condition that the display screen is in a screen locking state, the electronic device releases the locking state of the display screen.

In an embodiment of the application, before the electronic device releases the locked state of the display screen, the method further includes:

Under the condition that the locking state of the display screen is released and authentication is needed, the electronic device sends third information to the wearable equipment, wherein the third information is used for indicating the wearable equipment to prompt a user to input authentication information; after the wearable device receives the third information, the wearable device performs a third prompt, wherein the third prompt is used for prompting the user to input authentication information; the wearable device acquires the authentication information input by the user aiming at the third prompt; the wearable device sends the identity verification information to the electronic device aiming at the third information; after receiving the authentication information, the electronic device performs authentication; and after the identity authentication is passed, the electronic device releases the locking state of the display screen.

Further, the authentication information includes fingerprint information, voiceprint information, palm print information, and the like.

Further, the wearable device comprises a first wearing device and a second wearing device, wherein the authentication information is acquired through the first wearing device, or the authentication information is acquired through the second wearing device, and the third information is transmitted through the first wearing device, or the third information is transmitted through the second wearing device.

for example, assuming that the wearable device is a wireless headset and the electronic device is a smart phone, after the wireless headset and the smart phone establish a communication connection, if the user plays the video file through the smart phone, the user can listen to the audio of the video file by wearing the wireless headset. For a better viewing experience, typically the user is not too far from the smartphone, i.e. the wireless headset is not too far from the smartphone. During the process of watching the video, sometimes the user leaves the smart phone for something (such as going to a restroom), so that the wireless headset controls the electronic device to lock the display screen. After that, if the user returns, the distance between the wireless earphone and the smart phone is changed, the wireless earphone controls the electronic device to release the locking state of the display screen, the video file is played, the user does not need to manually unlock the playing video file, and the user experience is improved.

Therefore, in the embodiment of the application, when the wearable device detects that the distance between the electronic devices in communication connection with the wearable device is smaller than the set value, the wearable device sends information for controlling the locking state of the touch display screen to the electronic devices, so that the electronic devices are in the locking state and are in contact with the locking state of the display screen, the electronic devices are intelligently controlled through the wearable device, and the daily life of users is facilitated to a greater extent.

In an embodiment of the application, before the sending the first information to the electronic apparatus, the method further includes:

the wearable equipment carries out a fourth prompt, and the fourth prompt is used for prompting whether the user needs to lock the display screen of the electronic device; the wearable device determines that a user enters a confirmation instruction for the fourth prompt.

in an embodiment of the present application, the wearable device includes a first wearing device and a second wearing device, and before the sending the first information to the electronic device, the method further includes:

The wearable equipment carries out a first prompt, and the first prompt is used for prompting whether a user needs to lock a display screen of the electronic device; the wearable device determines that a user inputs a confirmation instruction for the first prompt through the first wearable apparatus.

Wherein, wearable equipment carries out the concrete implementation mode of first suggestion and has: a first wearing device of the wearable equipment carries out first prompt; and/or a second wearing device of the wearable equipment carries out the first prompt.

Further, under a third condition, the wearable device determines that the user inputs a confirmation instruction for the first prompt through the first wearable apparatus, the third condition including at least one of: the method comprises the steps that a first wearing device collects voice comprising a first set keyword; the first wearing device detects a pressing operation for a first specified position; the first wearing device acquires a first setting gesture.

The first setting keyword includes, for example, determine, yes, lock, close, screen close, and the like. The first designated position is an arbitrary position of the first wearing device, such as an outer surface of the first wearing device or the like. The first setting gesture may be, for example, an ok gesture, a left swipe gesture, a right swipe gesture, an up swipe gesture, a down swipe gesture, a clap gesture, or the like.

further, the first information is transmitted by a first wearing device of the wearable device.

in an embodiment of the application, before the sending the second information to the electronic apparatus, the method further includes:

The wearable equipment carries out a second prompt, and the second prompt is used for prompting whether a user needs to release the locking state of the display screen of the electronic device; the wearable device determines that a user inputs a confirmation instruction for the second prompt through the second wearable apparatus.

Wherein, the wearable equipment carries out the concrete implementation mode of second suggestion and has: the first wearing device of the wearable equipment carries out second prompting; and/or a second wearing device of the wearable equipment carries out a second prompt.

Further, under a fourth condition, the wearable device determines that the user inputs a confirmation instruction for the second prompt through the second wearable apparatus, the fourth condition including at least one of: the second wearing device collects voice comprising a second set keyword; the second wearing device detects a pressing operation for a second specified position; the second wearable device acquires a second setting gesture.

The second setting keyword includes, for example, confirm, yes, release, open, and the like. The second designated position is an arbitrary position of the second wearing device, for example, an outer surface of the second wearing device or the like. The second setting gesture may be, for example, an ok gesture, a left swipe gesture, a right swipe gesture, an up swipe gesture, a down swipe gesture, a tickle gesture, or the like.

Further, the second information is transmitted by a second wearing device of the wearable device.

therefore, the screen locking of the electronic device or the unlocking of the electronic device are controlled by different wearing devices of the wearable equipment, so that misoperation can be avoided.

the embodiment of the present application also provides another more detailed method flow, as shown in fig. 5, applied to the electronic device control system, the wearable device, and the electronic device, where the method includes:

step 501: the wearable device establishes a communication connection with the electronic apparatus.

Step 502: the wearable device detects a distance between the wearable device and the electronic apparatus.

Step 503: the method comprises the steps that under the condition that it is detected that the distance between the wearable equipment and the electronic device is larger than or equal to a set value, the wearable equipment carries out first prompting, and the first prompting is used for prompting whether a user needs to lock a display screen of the electronic device or not.

Step 504: the wearable device determines that a user inputs a confirmation instruction for the first prompt through the first wearable apparatus.

step 505: the wearable device sends first information to the electronic device, and the first information is used for locking the display screen.

Step 506: the electronic device receives first information from the wearable equipment; and under the condition that the display screen is not in the screen locking state, the electronic device locks the display screen.

step 507: and under the condition that the distance between the wearable equipment and the electronic device is smaller than the set value, the wearable equipment carries out second prompt, and the second prompt is used for prompting whether a user needs to release the locking state of the display screen of the electronic device.

Step 508: the wearable device determines that a user inputs a confirmation instruction for the second prompt through the second wearable apparatus.

Step 509: and the wearable equipment sends second information to the electronic device, wherein the second information is used for indicating that the locking state of the display screen is released.

step 510: the electronic device receives second information from the wearable equipment; and under the condition that the display screen is in the screen locking state, the electronic device releases the locking state of the display screen.

it should be noted that, for the specific implementation of the steps of the method shown in fig. 5, reference may be made to the specific implementation of the method, and a description thereof is omitted here.

Consistent with the embodiments shown in fig. 4 and fig. 5, please refer to fig. 6, and fig. 6 is a schematic structural diagram of a communication device provided in an embodiment of the present application, the communication device includes a wearable device or an electronic apparatus, and as shown, the communication device includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor.

When the communication device is a wearable device, the program includes instructions for performing the steps of:

Establishing a communication connection with an electronic device;

Detecting a distance between the wearable device and the electronic apparatus;

The method comprises the steps of sending first information to the electronic device when the fact that the distance between the wearable equipment and the electronic device is larger than or equal to a set value is detected, wherein the first information is used for locking a display screen.

in an embodiment of the application, the program includes instructions for further performing the steps of:

and sending second information to the electronic device under the condition that the distance between the wearable equipment and the electronic device is detected to be smaller than the set value, wherein the second information is used for indicating that the locking state of the display screen is released.

In an embodiment of the application, the wearable device comprises a first wearable device, and before sending the first information to the electronic device, the program comprises instructions further for:

Performing a first prompt, wherein the first prompt is used for prompting a user whether a display screen of the electronic device needs to be locked;

Determining that a user inputs a confirmation instruction for the first prompt through the first wearable device.

In an embodiment of the application, the wearable device further includes a second wearable device, and before sending the second information to the electronic device, the program includes instructions further for performing the following steps:

Performing a second prompt, wherein the second prompt is used for prompting whether a user needs to release the locking state of the display screen of the electronic device;

Determining that a user inputs a confirmation instruction for the second prompt through the second wearable device.

When the communication apparatus is an electronic device, the program includes instructions for performing the steps of:

establishing a communication connection with a wearable device;

receiving first information from the wearable device, wherein the first information is used for indicating that a display screen is locked, and the first information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is larger than or equal to a set value;

And locking the display screen under the condition that the display screen is not in a screen locking state.

In an embodiment of the application, the program includes instructions for further performing the steps of:

Receiving second information from the wearable device, wherein the second information is used for indicating that the locking state of a display screen is released, and the second information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is smaller than the set value;

And under the condition that the display screen is in a screen locking state, releasing the locking state of the display screen.

It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.

Referring to fig. 7, fig. 7 is an electronic device control apparatus provided in an embodiment of the present application, and is applied to the wearable device, where the electronic device control apparatus includes a communication unit 701 and a detection unit 702, where:

a communication unit 701 for establishing a communication connection with an electronic apparatus;

A detecting unit 702, configured to detect a distance between the wearable device and the electronic apparatus;

the communication unit 701 is further configured to send first information to the electronic apparatus when it is detected that the distance between the wearable device and the electronic apparatus is greater than or equal to a set value, where the first information is used to lock the display screen.

In an embodiment of the application, the communication unit 701 is further configured to send, to the electronic apparatus, second information when it is detected that the distance between the wearable device and the electronic apparatus is smaller than the set value, where the second information is used to instruct to release the locked state of the display screen.

In an embodiment of the present application, the wearable device includes a first wearing apparatus, the electronic device control apparatus further includes a prompting unit 703 and a determining unit 704, where:

The prompting unit 703 is configured to perform a first prompt, where the first prompt is used to prompt a user whether to lock a display screen of the electronic device;

The determining unit 704 is configured to determine that the user inputs a confirmation instruction for the first prompt through the first wearable device.

In an embodiment of the present application, the wearable device further includes a second wearing device, and the prompting unit 703 is further configured to perform a second prompt, where the second prompt is used to prompt a user whether the user needs to release the lock state of the display screen of the electronic device;

The determining unit 704 is further configured to determine that the user inputs a confirmation instruction for the second prompt through the second wearable device.

It should be noted that the wearable device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.

The detecting unit 702, the prompting unit 703 and the determining unit 704 may be a control circuit or a processor, and the communication unit 701 may be a communication circuit or a communication interface.

Referring to fig. 8, fig. 8 is an electronic device control apparatus provided in an embodiment of the present application, and is applied to the electronic device, the electronic device control apparatus includes a communication unit 801 and a locking unit 802, where:

A communication unit 801 for establishing a communication connection with a wearable device; receiving first information from the wearable device, wherein the first information is used for indicating that a display screen is locked, and the first information is sent by the wearable device when the wearable device detects that the distance between the wearable device and the electronic device is larger than or equal to a set value;

A locking unit 802, configured to lock the display screen when the display screen is not in a screen locking state.

in an embodiment of the present application, the electronic device control apparatus further includes a release unit 803, wherein:

a communication unit 801, further configured to receive second information from the wearable device, where the second information is used to instruct to release the lock state of the display screen, and the second information is sent by the wearable device when detecting that the distance between the wearable device and the electronic apparatus is smaller than the set value;

A releasing unit 803 for releasing the locked state of the display screen when the display screen is in the locked state.

It should be noted that the wearable device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.

the locking unit 802 and the releasing unit 803 may be a control circuit or a processor, and the communication unit 801 may be a communication circuit or a communication interface.

embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to perform part or all of the steps of any one of the methods as described in the above method embodiments, and the computer includes a wearable device or an electronic apparatus.

Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a wearable device or an electronic apparatus.

It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.

in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

in the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.

the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units 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 may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.

Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.

the foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific implementation and application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present application.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:信息处理装置、信息处理系统和非暂时性计算机可读介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类