CN114003149A - Electronic equipment control method and device, electronic equipment and storage medium - Google Patents

Electronic equipment control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114003149A
CN114003149A CN202111161455.8A CN202111161455A CN114003149A CN 114003149 A CN114003149 A CN 114003149A CN 202111161455 A CN202111161455 A CN 202111161455A CN 114003149 A CN114003149 A CN 114003149A
Authority
CN
China
Prior art keywords
capacitance sensor
electronic equipment
self
electronic device
wearing state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111161455.8A
Other languages
Chinese (zh)
Inventor
王洁
陈曦
范硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xihua Technology Co Ltd
Original Assignee
Shenzhen Xihua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xihua Technology Co Ltd filed Critical Shenzhen Xihua Technology Co Ltd
Priority to CN202111161455.8A priority Critical patent/CN114003149A/en
Publication of CN114003149A publication Critical patent/CN114003149A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The application discloses an electronic equipment control method and device, electronic equipment and a storage medium, which are used for controlling an earphone, improving the control accuracy of the earphone and improving the use experience of a user. The method is applied to control of electronic equipment, wherein the electronic equipment is provided with a mutual capacitance sensor and a self-capacitance sensor, and the method comprises the following steps: detecting a wearing state of the electronic device through the mutual capacitance sensor; when the electronic equipment is detected to be in a wearing state, controlling the self-capacitance sensor to be started; when a touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor, controlling the electronic equipment according to the touch instruction; and when the electronic equipment is detected to be in a non-wearing state, controlling the self-capacitance sensor to be closed.

Description

Electronic equipment control method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic product technologies, and in particular, to an electronic device control method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of modern science and technology and the rapid updating and iteration of electronic products, the diversification and the intellectualization of the electronic products are greatly improved, and particularly, the touch technology is gradually matured and is gradually applied to various electronic devices.
The wearable electronic device may be worn on the body or may be a portable device integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction, and the wearable device can bring great changes to our life and perception.
The wearable electronic device is mostly in the form of a portable accessory which has a part of computing function and can be connected with a mobile phone and various terminals, and the mainstream product forms include watch types (including products such as watches and wristbands) supported by wrists, shoes types (including shoes, socks or other future leg wearing products) supported by feet, Glass types (including glasses, helmets, headbands and the like) supported by heads, and various non-mainstream product forms such as smart clothes, schoolbag, crutch, accessories and the like
Touch control is a natural connection method between people and intelligent equipment and is an important revolution in the field of human-computer interaction. The analysts predict that by 2019, the ratio of the smart watch to the total delivery amount of the wearable electronic device will exceed 70%, and the smart watch cannot leave the touch technology. For example, some smartwatches select a capacitive touch controller because the controller is robust, consumes little power, and has highly sensitive human-computer interaction capabilities.
Common capacitive touch schemes include mutual capacitive touch and self capacitive touch, and two sensors are used for mutual capacitive detection, one sensor is used for sending a detection signal, and the other sensor is used for receiving a signal. The amplitude of the received signals can change along with the change of the mutual capacitance, the mutual capacitance can be changed when a human body contacts the signals, and the electronic equipment can be controlled by detecting the change. Self-capacitance is the ability of a conductor to store charge itself. When a conductor carries a positive charge, its potential rises. The positive charge required to increase the isolated conductor potential by 1V is the magnitude of the self-capacitance, and the electronic device can also be controlled by detecting the change of the self-capacitance. However, the mutual capacitance is difficult to be used for detecting some accurate touch instructions, which greatly reduces the sensitivity of touch, and the self-capacitance is easily affected by sweat due to a small signal change amount, which causes a false touch, which leads to a reduction in the use experience, and thus a more perfect wireless headset control scheme is urgently needed.
Disclosure of Invention
In order to solve the technical problem, the application provides an electronic device control method, an electronic device control apparatus, an electronic device and a storage medium.
The application provides a method for controlling electronic equipment, wherein the method is applied to control of the electronic equipment, a mutual capacitance sensor and a self-capacitance sensor are arranged on the electronic equipment, and the method comprises the following steps:
detecting a wearing state of the electronic device through the mutual capacitance sensor;
when the electronic equipment is detected to be in a wearing state, controlling the self-capacitance sensor to be started;
when a touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor, controlling the electronic equipment according to the touch instruction;
and when the electronic equipment is detected to be in a non-wearing state, controlling the self-capacitance sensor to be closed.
Optionally, when it is detected that the electronic device is in a wearing state, after the controlling the self-capacitance sensor to be turned on, the method further includes:
and establishing Bluetooth connection with the terminal.
Optionally, after the bluetooth connection is established with the terminal, the method further includes:
and receiving audio information sent by the terminal through the Bluetooth connection, and playing audio according to the audio information.
Optionally, the detecting, by the mutual capacitance sensor, a wearing state of the electronic device includes:
and judging whether the electronic equipment is in contact with the skin of the user or not through the capacitance change of the mutual capacitance sensor, if so, determining that the electronic equipment is in a wearing state, and if not, determining that the electronic equipment is in a non-wearing state.
Optionally, the touch instruction includes: and the user performs a knocking instruction, a sliding instruction and a long-pressing instruction on the electronic equipment.
A second aspect of the present application provides an electronic device comprising, coupled to each other: the electronic equipment comprises a mutual capacitance sensor, a self-capacitance sensor and a processor, wherein the mutual capacitance sensor is used for detecting the wearing state of the electronic equipment, the self-capacitance sensor is used for detecting a touch instruction of a user to the electronic equipment, when the mutual capacitance sensor detects that the electronic equipment is in the wearing state, the processor controls the self-capacitance sensor to be turned on, when the mutual capacitance sensor detects that the electronic equipment is in a non-wearing state, the processor controls the self-capacitance sensor to be turned off, and when the self-capacitance sensor detects the touch instruction of the user to the electronic equipment, the processor controls the electronic equipment according to the touch instruction.
Optionally, the method further includes: the Bluetooth module is electrically connected with the processor, and when the mutual capacitance sensor detects that the electronic equipment is in a wearing state, the processor controls the Bluetooth module to be connected with the terminal.
Optionally, the method further includes: the audio module is electrically connected with the processor, after the Bluetooth module is connected with the terminal through Bluetooth, the Bluetooth module receives audio information sent by the terminal, and the processor controls the audio module to play audio according to the audio information.
The third aspect of the present application provides an electronic device control apparatus, where the apparatus is applied to control of an electronic device, where the electronic device is provided with a mutual capacitance sensor and a self-capacitance sensor, and the apparatus includes:
a detection unit configured to detect a wearing state of the electronic device by the mutual capacitance sensor;
the first control unit is used for controlling the self-capacitance sensor to be started when the electronic equipment is detected to be in a wearing state;
the second control unit is used for controlling the electronic equipment according to a touch instruction when the touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor;
and the third control unit is used for controlling the self-capacitance sensor to be closed when the electronic equipment is detected to be in a non-wearing state.
Optionally, the apparatus further includes a bluetooth connection unit, where the bluetooth connection unit is configured to establish a bluetooth connection with the terminal.
Optionally, the apparatus further includes an audio playing unit, where the audio playing unit is configured to receive audio information sent by the terminal through the bluetooth connection, and play audio according to the audio information
Optionally, the detection unit specifically includes:
the detection module is used for judging whether the electronic equipment is in contact with the skin of the user or not through the capacitance change of the mutual capacitance sensor;
a first determination module, configured to determine that the electronic device is in a wearing state when the detection module detects that the electronic device is in contact with the skin of the user;
a second determining module, configured to determine that the electronic device is in a non-wearing state when the detecting module detects that the electronic device is not in contact with the skin of the user.
A fourth aspect of the present application provides an electronic device control apparatus, the apparatus comprising:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program that the processor calls to perform the method of any of the first aspect and the first aspect.
A fifth aspect of the present application provides a computer readable storage medium having a program stored thereon, which when executed on a computer performs the method of any one of the first aspect and the first aspect.
According to the technical scheme, the method has the following advantages:
in the method provided by the application, the wearing state of the electronic equipment is detected through the mutual capacitance sensor, the mutual capacitance sensor has a large signal quantity, the waterproof and sweat-proof effects are achieved, meanwhile, the influence of the temperature drift phenomenon of the electronic equipment can be reduced, after the electronic equipment is detected to be in the wearing state through the mutual capacitance sensor, the self-capacitance sensor is controlled to be started again, the touch instruction of a user is detected, the touch instruction is detected through the self-capacitance sensor, the touch instruction of the user can be sensitively and rapidly detected, the feedback can be made, and if the electronic equipment is detected to be in a non-wearing state through the mutual capacitance sensor, the self-capacitance sensor is controlled to be closed, so that the energy consumption of the electronic equipment can be reduced. The method provided by the application gives full play to the advantages of the mutual capacitance sensor and the self-capacitance sensor, and improves the use experience of the electronic equipment to a great extent.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of an electronic device control method provided in the present application;
fig. 2 is a schematic flowchart of another embodiment of an electronic device control method provided in the present application;
fig. 3 is a schematic flowchart of another embodiment of an electronic device control method provided in the present application;
FIG. 4 is a schematic structural diagram of an embodiment of an electronic device provided in the present application;
FIG. 5 is a schematic structural diagram of another embodiment of an electronic device provided in the present application;
FIG. 6 is a schematic structural diagram of another embodiment of an electronic device provided in the present application;
FIG. 7 is a schematic structural diagram of an embodiment of an electronic device control apparatus provided in the present application;
fig. 8 is a schematic structural diagram of another embodiment of the electronic device control apparatus provided in the present application;
fig. 9 is a schematic structural diagram of another embodiment of the electronic device control apparatus provided in the present application;
FIG. 10 is a block diagram illustrating one embodiment of a computer-readable storage medium provided herein.
Detailed Description
Touch control is a natural connection method between people and intelligent equipment and is an important revolution in the field of human-computer interaction. The analysts predict that by 2019, the ratio of the smart watch to the total delivery amount of the wearable electronic device will exceed 70%, and the smart watch cannot leave the touch technology. For example, some smartwatches select a capacitive touch controller because the controller is robust, consumes little power, and has highly sensitive human-computer interaction capabilities.
Common capacitive touch schemes include mutual capacitive touch and self capacitive touch, and two sensors are used for mutual capacitive detection, one sensor is used for sending a detection signal, and the other sensor is used for receiving a signal. The amplitude of the received signals can change along with the change of the mutual capacitance, the mutual capacitance can be changed when a human body contacts the signals, and the electronic equipment can be controlled by detecting the change. Self-capacitance is the ability of a conductor to store charge itself. When a conductor carries a positive charge, its potential rises. The positive charge required to increase the isolated conductor potential by 1V is the magnitude of the self-capacitance, and the electronic device can also be controlled by detecting the change of the self-capacitance. However, the mutual capacitance is difficult to be used for detecting some accurate touch instructions, which greatly reduces the sensitivity of touch, and the self-capacitance is easily affected by sweat due to a small signal change amount, which causes a false touch, which leads to a reduction in the use experience, and thus a more perfect wireless headset control scheme is urgently needed.
Based on this, the application provides an electronic device control method, which is used for controlling the electronic device, reducing the energy consumption of the electronic device and improving the use experience of a user.
The method provided by the application can be applied to control of electronic equipment, the electronic equipment can be some wearable electronic equipment such as a smart watch, an earphone, smart glasses, a smart helmet and the like, the specific wearing form of the electronic equipment is not limited, the earphone can be a wired earphone or a wireless earphone, and the wireless earphone can be a Bluetooth wireless earphone.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a method for controlling an electronic device, the method comprising:
101. detecting a wearing state of the electronic device through the mutual capacitance sensor;
the mutual capacitance sensor performs detection by two sensors, one for transmitting a detection signal and one for receiving a signal, when performing detection. The mutual capacitance is the capacitance between one sensing block and another sensing block, when an excitation signal is applied to one sensing block, the excitation signal can be sensed and received on the other sensing block due to the existence of the mutual capacitance, and the magnitude and the phase shift of the received signal are related to the frequency of the excitation signal and the magnitude of the mutual capacitance. The amplitude of the received signal changes with the change of the mutual capacitance, for example, when the electronic device is in contact with the skin of a human body, the electric field between the two sensors is affected by the charge on the skin, and the mutual capacitance is reduced. By detecting the variation of the capacitance, it can be determined whether the electronic device is in a wearing state.
After the electronic equipment is started, the mutual capacitance sensor is controlled to be started, and the mutual capacitance sensor starts to detect the wearing state of the electronic equipment.
102. When the electronic equipment is detected to be in a wearing state, controlling the self-capacitance sensor to be started, and if the electronic equipment is detected to be in a non-wearing state, executing step 104;
if the mutual capacitance sensor detects that the electronic equipment is in a wearing state, the self-capacitance sensor is controlled to be started so as to detect a touch instruction of a user through the self-capacitance sensor, and the self-capacitance is the capacity of storing charges of the conductor. When a conductor carries a positive charge, its potential rises. The amount of positive charge required to increase the isolated conductor potential by 1V is the magnitude of the self-capacitance, which is the charge formed by the conductors themselves, the mutual capacitance, which is the charge formed between two or more conductors, and the self-capacitance, which is the capacitance between the sense masses relative to ground, which is referred to herein as the circuit ground, which is always present, although it may be very close or far away from the sense masses. When an excitation signal is applied to the sensing block, an electric field varying with the excitation signal is generated between the sensing block and the ground due to the self-capacitance.
The mutual capacitance is characterized in that a transverse electrode and a longitudinal electrode are manufactured on the surface, and the mutual capacitance is different from the self capacitance in that a capacitor is formed at the position where two groups of electrodes are crossed, namely the two groups of electrodes respectively form two poles of the capacitor. When the skin touches a capacitor, the coupling between the two electrodes near the touch point is affected, thereby changing the capacitance between the two electrodes. When the mutual capacitance is detected, the transverse electrodes sequentially send out excitation signals, and the longitudinal electrodes simultaneously receive signals, so that the capacitance value of the intersection point of all the transverse electrodes and the longitudinal electrodes, namely the capacitance value of the whole touch two-dimensional plane can be obtained. According to the touch two-dimensional capacitance variation data, whether the electronic equipment is in a wearing state can be determined, because the environment is also very important for the touch system. The touch surface is directly exposed to air, and the temperature and humidity of the air affect the capacitance of the touch surface. The water drops on the touch surface may directly cause a false touch, thereby affecting the control of the electronic device.
103. When a touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor, controlling the electronic equipment according to the touch instruction;
if a touch instruction of a user is detected by the self-capacitance sensor, the electronic device is controlled according to the touch instruction, the touch instruction can be, for example, a tapping instruction, a sliding instruction, a long-time pressing instruction and the like of the user to the electronic device, the tapping instruction can be, for example, a single-click instruction, a double-click instruction and the like, and different touch instructions can correspondingly control different functions, for example, for intelligent glasses, the single-click instruction can change the color of a lens and the like, for Bluetooth, the single-click instruction can control to switch music, the double-click instruction can pause playing and the like, and can be set according to actual needs, the touch instruction of the user detected by the self-capacitance sensor has higher sensitivity, the user can touch by fingers, and the influence of water or sweat on the hand of the user can be reduced due to the detection by the self-capacitance sensor, can realize wet hand control.
104. And when the electronic equipment is detected to be in a non-wearing state, controlling the self-capacitance sensor to be closed.
If the mutual capacitance sensor detects that the electronic equipment is in a non-wearing state, which indicates that the electronic equipment is not used, the self-capacitance sensor can be controlled to be turned off at the moment, so that the energy consumption of the electronic equipment is reduced, and the cruising ability is improved.
In the method provided by the application, the wearing state of the electronic equipment is detected through the mutual capacitance sensor, the mutual capacitance sensor has a large signal quantity, the waterproof and sweat-proof effects are achieved, meanwhile, the influence of the temperature drift phenomenon of the electronic equipment can be reduced, after the electronic equipment is detected to be in the wearing state through the mutual capacitance sensor, the self-capacitance sensor is controlled to be started again, the touch instruction of a user is detected, the touch instruction is detected through the self-capacitance sensor, the touch instruction of the user can be sensitively and rapidly detected, the feedback can be made, and if the electronic equipment is detected to be in a non-wearing state through the mutual capacitance sensor, the self-capacitance sensor is controlled to be closed, so that the energy consumption of the electronic equipment can be reduced. The method provided by the application gives full play to the advantages of the mutual capacitance sensor and the self-capacitance sensor, and improves the use experience of the electronic equipment to a great extent.
The method provided by the application can be applied to various types of wearable electronic equipment, such as wired electronic equipment or wireless electronic equipment, and when the method is applied to wireless electronic equipment, in order to improve the intelligent degree of the electronic equipment, after the electronic equipment is detected to be in a wearing state, the electronic equipment can be controlled to actively establish connection with the terminal.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an embodiment of a method for controlling an electronic device provided in the present application, where the embodiment includes:
201. detecting a wearing state of the electronic device through the mutual capacitance sensor;
the mutual capacitance sensor performs detection by two sensors, one for transmitting a detection signal and one for receiving a signal, when performing detection. The mutual capacitance is the capacitance between one sensing block and another sensing block, when an excitation signal is applied to one sensing block, the excitation signal can be sensed and received on the other sensing block due to the existence of the mutual capacitance, and the magnitude and the phase shift of the received signal are related to the frequency of the excitation signal and the magnitude of the mutual capacitance. The amplitude of the received signal changes with the change of the mutual capacitance, for example, when the electronic device is in contact with the skin of a human body, the electric field between the two sensors is affected by the charge on the skin, and the mutual capacitance is reduced. By detecting the variation of the capacitance, it can be determined whether the electronic device is in a wearing state.
After the electronic equipment is started, the mutual capacitance sensor is controlled to be started, and the mutual capacitance sensor starts to detect the wearing state of the electronic equipment.
202. When the electronic equipment is detected to be in a wearing state, controlling the self-capacitance sensor to be started, and if the electronic equipment is detected to be in a non-wearing state, executing step 205;
if the mutual capacitance sensor detects that the electronic equipment is in a wearing state, the self-capacitance sensor is controlled to be started so as to detect a touch instruction of a user through the self-capacitance sensor, and the self-capacitance is the capacity of storing charges of the conductor. When a conductor carries a positive charge, its potential rises. The amount of positive charge required to increase the isolated conductor potential by 1V is the magnitude of the self-capacitance, which is the charge formed by the conductors themselves, the mutual capacitance, which is the charge formed between two or more conductors, and the self-capacitance, which is the capacitance between the sense masses relative to ground, which is referred to herein as the circuit ground, which is always present, although it may be very close or far away from the sense masses. When an excitation signal is applied to the sensing block, an electric field varying with the excitation signal is generated between the sensing block and the ground due to the self-capacitance.
203. Establishing Bluetooth connection with a terminal;
when the mutual capacitance sensor detects that the electronic equipment is in a wearing state, the electronic equipment is indicated to be in a used state or to be used, so that Bluetooth connection can be established between the electronic equipment with a Bluetooth wireless terminal, for example, Bluetooth wireless earphones or Bluetooth wireless intelligent glasses, and after the electronic equipment is worn, Bluetooth connection is established between the electronic equipment with a mobile phone, frequent connection with the mobile phone due to mistaken touch is reduced, extra electric energy is consumed, endurance is influenced, and use experience of a user is seriously influenced. Therefore, the method provided by the embodiment can improve the experience of the user in using the electronic equipment.
204. When a touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor, controlling the electronic equipment according to the touch instruction;
if a touch instruction of a user is detected by the self-capacitance sensor, the electronic device is controlled according to the touch instruction, the touch instruction can be, for example, a tapping instruction, a sliding instruction, a long-time pressing instruction and the like of the user to the electronic device, the tapping instruction can be, for example, a single-click instruction, a double-click instruction and the like, and different touch instructions can correspondingly control different functions, for example, for intelligent glasses, the single-click instruction can change the color of a lens and the like, for Bluetooth, the single-click instruction can control to switch music, the double-click instruction can pause playing and the like, and can be set according to actual needs, the touch instruction of the user detected by the self-capacitance sensor has higher sensitivity, the user can touch by fingers, and the influence of water or sweat on the hand of the user can be reduced due to the detection by the self-capacitance sensor, can realize wet hand control.
205. And when the electronic equipment is detected to be in a non-wearing state, controlling the self-capacitance sensor to be closed.
If the mutual capacitance sensor detects that the electronic equipment is in a non-wearing state, which indicates that the electronic equipment is not used, the self-capacitance sensor can be controlled to be turned off at the moment, so that the energy consumption of the electronic equipment is reduced, and the cruising ability is improved.
The method provided by the embodiment can give full play to the advantages of mutual capacitance and self-capacitance, reduce the influence of the temperature drift phenomenon of the electronic equipment, sensitively and rapidly detect the touch instruction of a user, reduce the energy consumption of the electronic equipment, reduce frequent connection with a mobile phone caused by mistaken touch, further improve the cruising ability of the electronic equipment and the experience of the user in using the electronic equipment.
The method provided by the application can be applied to various types of wearable electronic devices, such as smart glasses, smart helmets, bluetooth headsets, etc., and one embodiment of the method will be described below by taking the bluetooth headset as an example.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another embodiment of a method for controlling an electronic device provided in the present application, where the embodiment includes:
301. detecting a wearing state of the electronic device through the mutual capacitance sensor;
the mutual capacitance sensor performs detection by two sensors, one for transmitting a detection signal and one for receiving a signal, when performing detection. The mutual capacitance is the capacitance between one sensing block and another sensing block, when an excitation signal is applied to one sensing block, the excitation signal can be sensed and received on the other sensing block due to the existence of the mutual capacitance, and the magnitude and the phase shift of the received signal are related to the frequency of the excitation signal and the magnitude of the mutual capacitance. The amplitude of the received signal changes with the change of the mutual capacitance, for example, when the electronic device is in contact with the skin of a human body, the electric field between the two sensors is affected by the charge on the skin, and the mutual capacitance is reduced. By detecting the variation of the capacitance, it can be determined whether the electronic device is in a wearing state.
After the electronic equipment is started, the mutual capacitance sensor is controlled to be started, and the mutual capacitance sensor starts to detect the wearing state of the electronic equipment.
302. When the electronic equipment is detected to be in a wearing state, controlling the self-capacitance sensor to be started, and if the electronic equipment is detected to be in a non-wearing state, executing step 306;
if the mutual capacitance sensor detects that the electronic equipment is in a wearing state, the self-capacitance sensor is controlled to be started so as to detect a touch instruction of a user through the self-capacitance sensor, and the self-capacitance is the capacity of storing charges of the conductor. When a conductor carries a positive charge, its potential rises. The amount of positive charge required to increase the isolated conductor potential by 1V is the magnitude of the self-capacitance, which is the charge formed by the conductors themselves, the mutual capacitance, which is the charge formed between two or more conductors, and the self-capacitance, which is the capacitance between the sense masses relative to ground, which is referred to herein as the circuit ground, which is always present, although it may be very close or far away from the sense masses. When an excitation signal is applied to the sensing block, an electric field varying with the excitation signal is generated between the sensing block and the ground due to the self-capacitance.
303. Establishing Bluetooth connection with a terminal;
when the mutual capacitance sensor detects that the electronic equipment is in a wearing state, the electronic equipment is indicated to be in a used state or to be used, so that Bluetooth connection can be established between the electronic equipment with a Bluetooth wireless terminal, for example, Bluetooth wireless earphones or Bluetooth wireless intelligent glasses, and after the electronic equipment is worn, Bluetooth connection is established between the electronic equipment with a mobile phone, frequent connection with the mobile phone due to mistaken touch is reduced, extra electric energy is consumed, endurance is influenced, and use experience of a user is seriously influenced. Therefore, the method provided by the embodiment can improve the experience of the user in using the electronic equipment.
304. Receiving audio information sent by the terminal through the Bluetooth connection, and playing audio according to the audio information;
after establishing bluetooth with the terminal and being connected, bluetooth headset connects the audio information that receiving terminal sent through this bluetooth to the broadcast audio frequency, further, after the affirmation is in the wearing state, can also open and fall the function of making an uproar, automatically reduce the volume in order to prevent hearing damage etc. thereby improve bluetooth headset's intelligent degree, promote user experience.
305. When a touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor, controlling the electronic equipment according to the touch instruction;
if a touch instruction of a user is detected by the self-capacitance sensor, the electronic device is controlled according to the touch instruction, the touch instruction can be, for example, a tapping instruction, a sliding instruction, a long-time pressing instruction and the like of the user to the electronic device, the tapping instruction can be, for example, a single-click instruction, a double-click instruction and the like, and different touch instructions can correspondingly control different functions, for example, for intelligent glasses, the single-click instruction can change the color of a lens and the like, for Bluetooth, the single-click instruction can control to switch music, the double-click instruction can pause playing and the like, and can be set according to actual needs, the touch instruction of the user detected by the self-capacitance sensor has higher sensitivity, the user can touch by fingers, and the influence of water or sweat on the hand of the user can be reduced due to the detection by the self-capacitance sensor, can realize wet hand control.
306. And when the electronic equipment is detected to be in a non-wearing state, controlling the self-capacitance sensor to be closed.
If the mutual capacitance sensor detects that the electronic equipment is in a non-wearing state, which indicates that the electronic equipment is not used, the self-capacitance sensor can be controlled to be turned off at the moment, so that the energy consumption of the electronic equipment is reduced, and the cruising ability is improved.
The above embodiments describe the method provided in the present application in detail, and the electronic device, the electronic device control apparatus, and the computer storage medium provided in the present application will be explained below.
Wireless technologies are classified into different categories, and are generally classified by means of generating wireless signals, and currently, there are three main ways, namely frequency modulation wireless technology, infrared wireless technology and bluetooth wireless technology, and the three technologies are different. Along with the popularization of electronic devices, users also put higher demands on the intellectualization and portability of smart devices, which gradually replaces the traditional wired earphones with bluetooth earphones using bluetooth wireless technology, which transmit signals through electric waves instead of cables, for example: a TWS (True Wireless Stereo, TWS) is commonly available on the market, i.e. the headset is really free from the cable. The principle of realizing the true wireless Bluetooth earphone mainly comprises two principles: one is an independent connection mode of left and right ears, and the other is that when a main earphone and an auxiliary earphone are connected respectively, a transmitting device (a mobile phone, a tablet computer, a music player with Bluetooth output and the like) is connected with the main earphone first, and then is connected with the auxiliary earphone after the connection is determined, and the normal work can be carried out only after the connection is completed. That is, in contrast to the conventional "wireless headset", the connection of a true wireless headset is not only the signal transmission between the headset and the signal transmitting device, but also the wireless connection between the main and auxiliary headsets. Compared with the traditional wireless earphone, the real wireless earphone has more complex structure, high transmission requirement and larger power consumption, and the influence of the elements on the final sound effect is more obvious.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of an electronic device provided in the present application, the electronic device includes:
the electronic device comprises a mutual capacitance sensor 401, a self-capacitance sensor 402 and a processor 403, wherein the mutual capacitance sensor 401 is used for detecting a wearing state of the electronic device, the self-capacitance sensor 402 is used for detecting a touch instruction of a user to the electronic device, when the mutual capacitance sensor 401 detects that the electronic device is in the wearing state, the processor 403 controls the self-capacitance sensor 402 to be turned on, when the mutual capacitance sensor 401 detects that the electronic device is in a non-wearing state, the processor 403 controls the self-capacitance sensor 402 to be turned off, and when the self-capacitance sensor 402 detects the touch instruction of the user to the electronic device, the processor 403 controls the electronic device according to the touch instruction.
Optionally, the method further includes: the bluetooth module 404, the bluetooth module 404 is electrically connected to the processor 403, and when the mutual capacitance sensor 401 detects that the electronic device is in a wearing state, the processor 403 controls the bluetooth module 404 to be connected to a terminal.
Optionally, referring to fig. 5 and fig. 6, the present embodiment further includes: the audio module 405 is electrically connected with the processor 403, after the bluetooth module 404 establishes bluetooth connection with the terminal, the bluetooth module 404 receives audio information sent by the terminal, and the processor 403 controls the audio module 405 to play audio according to the audio information.
Referring to fig. 5 and fig. 6, the electronic device provided in this embodiment may be a bluetooth headset, in the bluetooth headset, the mutual capacitance sensors 401 are disposed on two sides of a wearing portion of the headset and used for detecting a wearing state of the bluetooth headset, the self-capacitance sensors 402 may be disposed outside a battery compartment of the headset, and a user detects a touch instruction of the user to the headset.
Through the electronic equipment provided by the application, the cruising ability of the electronic equipment can be improved, and the user experience is improved.
Referring to fig. 7, the present application further provides an electronic device control apparatus, which is applied to control an electronic device, where the electronic device is provided with a mutual capacitance sensor and a self-capacitance sensor, and the apparatus includes:
a detection unit 701 configured to detect a wearing state of the electronic device by the mutual capacitance sensor;
a first control unit 702, configured to control the self-capacitance sensor to turn on when it is detected that the electronic device is in a wearing state;
the second control unit 703 is configured to, when a touch instruction of a user to the electronic device is detected by the self-capacitance sensor, control the electronic device according to the touch instruction;
a third control unit 704, configured to control the self-capacitance sensor to turn off when it is detected that the electronic device is in a non-wearing state.
Optionally, referring to fig. 8, the apparatus further includes a bluetooth connection unit 705, where the bluetooth connection unit 705 is configured to establish a bluetooth connection with the terminal.
Optionally, referring to fig. 8, the apparatus further includes an audio playing unit 706, where the audio playing unit 706 is configured to receive audio information sent by the terminal through the bluetooth connection, and play audio according to the audio information
Optionally, the detecting unit 701 specifically includes:
a detecting module 7011, please refer to fig. 8, configured to determine whether the electronic device is in contact with the skin of the user according to a capacitance change of the mutual capacitance sensor;
a first determining module 7012, configured to determine that the electronic device is in a wearing state when the detecting module detects that the electronic device is in contact with the skin of the user;
a second determining module 7013, configured to determine that the electronic device is in a non-wearing state when the detecting module detects that the electronic device is not in contact with the skin of the user.
Referring to fig. 9, the present application further provides another embodiment of an electronic device control apparatus, including:
a processor 901, a memory 902, an input-output unit 903, a bus 904;
the processor 901 is connected to the memory 902, the input/output unit 903 and the bus 904;
the memory 902 holds a program, and the processor 901 calls the program to execute any of the electronic device control methods as described above.
Referring to fig. 10, the present application also relates to a computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, causes the computer to execute any one of the electronic device control methods described above.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, 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 through some interfaces, devices or units, and may be in an electrical, mechanical 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, 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 solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes 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 method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Claims (10)

1. An electronic device control method is applied to control of an electronic device, wherein a mutual capacitance sensor and a self-capacitance sensor are arranged on the electronic device, and the method comprises the following steps:
detecting a wearing state of the electronic device through the mutual capacitance sensor;
when the electronic equipment is detected to be in a wearing state, controlling the self-capacitance sensor to be started;
when a touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor, controlling the electronic equipment according to the touch instruction;
and when the electronic equipment is detected to be in a non-wearing state, controlling the self-capacitance sensor to be closed.
2. The electronic device control method according to claim 1, wherein when it is detected that the electronic device is in a wearing state, after the controlling the self-capacitance sensor to be turned on, the method further comprises:
and establishing Bluetooth connection with the terminal.
3. The electronic device control method of claim 2, wherein after said establishing a bluetooth connection with the terminal, the method further comprises:
and receiving audio information sent by the terminal through the Bluetooth connection, and playing audio according to the audio information.
4. The electronic device control method according to claim 1, wherein the detecting a wearing state of the electronic device by the mutual capacitance sensor includes:
and judging whether the electronic equipment is in contact with the skin of the user or not through the capacitance change of the mutual capacitance sensor, if so, determining that the electronic equipment is in a wearing state, and if not, determining that the electronic equipment is in a non-wearing state.
5. The electronic device control method of claim 1, wherein the touch command comprises: and the user performs a knocking instruction, a sliding instruction and a long-pressing instruction on the electronic equipment.
6. An electronic device, characterized in that the electronic device comprises, coupled to each other: the electronic equipment comprises a mutual capacitance sensor, a self-capacitance sensor and a processor, wherein the mutual capacitance sensor is used for detecting the wearing state of the electronic equipment, the self-capacitance sensor is used for detecting a touch instruction of a user to the electronic equipment, when the mutual capacitance sensor detects that the electronic equipment is in the wearing state, the processor controls the self-capacitance sensor to be turned on, when the mutual capacitance sensor detects that the electronic equipment is in a non-wearing state, the processor controls the self-capacitance sensor to be turned off, and when the self-capacitance sensor detects the touch instruction of the user to the electronic equipment, the processor controls the electronic equipment according to the touch instruction.
7. The electronic device of claim 6, further comprising: the Bluetooth module is electrically connected with the processor, and when the mutual capacitance sensor detects that the electronic equipment is in a wearing state, the processor controls the Bluetooth module to be connected with the terminal.
8. The electronic device of claim 7, further comprising: the audio module is electrically connected with the processor, after the Bluetooth module is connected with the terminal through Bluetooth, the Bluetooth module receives audio information sent by the terminal, and the processor controls the audio module to play audio according to the audio information.
9. An electronic device control apparatus, wherein the apparatus is applied to control of an electronic device, the electronic device is provided with a mutual capacitance sensor and a self-capacitance sensor, and the apparatus comprises:
a detection unit configured to detect a wearing state of the electronic device by the mutual capacitance sensor;
the first control unit is used for controlling the self-capacitance sensor to be started when the electronic equipment is detected to be in a wearing state;
the second control unit is used for controlling the electronic equipment according to a touch instruction when the touch instruction of a user to the electronic equipment is detected through the self-capacitance sensor;
and the third control unit is used for controlling the self-capacitance sensor to be closed when the electronic equipment is detected to be in a non-wearing state.
10. A computer-readable storage medium having a program stored thereon, the program, when executed on a computer, performing the method of any one of claims 1 to 5.
CN202111161455.8A 2021-09-30 2021-09-30 Electronic equipment control method and device, electronic equipment and storage medium Pending CN114003149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111161455.8A CN114003149A (en) 2021-09-30 2021-09-30 Electronic equipment control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111161455.8A CN114003149A (en) 2021-09-30 2021-09-30 Electronic equipment control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114003149A true CN114003149A (en) 2022-02-01

Family

ID=79922197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111161455.8A Pending CN114003149A (en) 2021-09-30 2021-09-30 Electronic equipment control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114003149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466300A (en) * 2022-02-28 2022-05-10 深圳曦华科技有限公司 Earphone state detection method and device, earphone and computer storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015121912A (en) * 2013-12-24 2015-07-02 エルジー ディスプレイ カンパニー リミテッド Touch panel device and touch detection method
US20160253041A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Touch module, electronic device including the same, and operation method thereof
US20160357320A1 (en) * 2015-06-05 2016-12-08 Japan Display Inc. Display device with touch detection function and display system
CN110447242A (en) * 2019-02-01 2019-11-12 深圳市汇顶科技股份有限公司 Wear detection device, method and earphone
CN110603815A (en) * 2018-09-25 2019-12-20 深圳市汇顶科技股份有限公司 Earphone and method for realizing wearing detection and touch operation
CN110708627A (en) * 2019-09-30 2020-01-17 歌尔股份有限公司 Earphone and control method thereof
CN110780769A (en) * 2019-09-24 2020-02-11 维沃移动通信有限公司 Control method, control device, wearable device and medium
CN210745507U (en) * 2019-10-15 2020-06-12 出门问问信息科技有限公司 Wireless earphone
AU2020104243A4 (en) * 2020-12-22 2021-03-11 Shenzhen Thousandshores Technology Co., Ltd. A three-segment touch control earphone
US20210194481A1 (en) * 2018-09-07 2021-06-24 Azoteq (Pty) Ltd Dynamic capacitive sensing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015121912A (en) * 2013-12-24 2015-07-02 エルジー ディスプレイ カンパニー リミテッド Touch panel device and touch detection method
US20160253041A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Touch module, electronic device including the same, and operation method thereof
US20160357320A1 (en) * 2015-06-05 2016-12-08 Japan Display Inc. Display device with touch detection function and display system
US20210194481A1 (en) * 2018-09-07 2021-06-24 Azoteq (Pty) Ltd Dynamic capacitive sensing
CN110603815A (en) * 2018-09-25 2019-12-20 深圳市汇顶科技股份有限公司 Earphone and method for realizing wearing detection and touch operation
CN110447242A (en) * 2019-02-01 2019-11-12 深圳市汇顶科技股份有限公司 Wear detection device, method and earphone
CN110780769A (en) * 2019-09-24 2020-02-11 维沃移动通信有限公司 Control method, control device, wearable device and medium
CN110708627A (en) * 2019-09-30 2020-01-17 歌尔股份有限公司 Earphone and control method thereof
CN210745507U (en) * 2019-10-15 2020-06-12 出门问问信息科技有限公司 Wireless earphone
AU2020104243A4 (en) * 2020-12-22 2021-03-11 Shenzhen Thousandshores Technology Co., Ltd. A three-segment touch control earphone

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466300A (en) * 2022-02-28 2022-05-10 深圳曦华科技有限公司 Earphone state detection method and device, earphone and computer storage medium

Similar Documents

Publication Publication Date Title
US10075582B2 (en) Terminal control method and apparatus, and terminal
CN108958696A (en) Principal and subordinate's earphone method for handover control and Related product
US11429234B2 (en) Method and electronic device for correcting measurement value of sensor
CN111106821B (en) Touch control method and wearable device
CN109995110B (en) Connector, electronic equipment, data transmission method and device
CN108541080A (en) First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian
CN109150221B (en) Master-slave switching method for wearable equipment and related product
JP2023513286A (en) Circuit control device and method
CN109067965A (en) Interpretation method, translating equipment, wearable device and storage medium
CN111651387B (en) Interface circuit and electronic equipment
CN109067978A (en) Button operation processing method, device, storage medium and electronic equipment
CN114003149A (en) Electronic equipment control method and device, electronic equipment and storage medium
WO2020025033A1 (en) Volume-based master-slave switching method and related products
CN110431518B (en) Method for outputting touch signal and electronic equipment
CN108632713B (en) Volume control method and device, storage medium and terminal equipment
CN108965509A (en) Electronic equipment, screen control method and Related product
CN108595105A (en) Light filling lamp control method, device, storage medium and electronic equipment
CN215268253U (en) Intelligent finger ring and wearable device with finger ring and glasses matched
WO2021190371A1 (en) Device control method, apparatus, electronic device, and storage medium
CN112771893A (en) 3D sound effect implementation method and device, storage medium and electronic equipment
US20210247861A1 (en) Electronic device and method for distinguishing between different input operations
CN210721451U (en) Function control device and electronic equipment
CN204559836U (en) Intelligent earphone
CN109344284B (en) Song file playing method, device, equipment and storage medium
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination