CN111694496B - Electronic equipment control method and device - Google Patents

Electronic equipment control method and device Download PDF

Info

Publication number
CN111694496B
CN111694496B CN201910198955.5A CN201910198955A CN111694496B CN 111694496 B CN111694496 B CN 111694496B CN 201910198955 A CN201910198955 A CN 201910198955A CN 111694496 B CN111694496 B CN 111694496B
Authority
CN
China
Prior art keywords
screen
glove
touch
detected
detection
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.)
Active
Application number
CN201910198955.5A
Other languages
Chinese (zh)
Other versions
CN111694496A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910198955.5A priority Critical patent/CN111694496B/en
Publication of CN111694496A publication Critical patent/CN111694496A/en
Application granted granted Critical
Publication of CN111694496B publication Critical patent/CN111694496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to an electronic device control method and device. The method comprises the following steps: when a screen of the electronic equipment is lightened, performing touch detection on the screen; determining, based on the touch detection, that a glove touch signal is detected, wherein the glove touch signal is used to indicate that the screen is touched by a glove; the electronic device is set to glove mode. The technical scheme can automatically set the electronic equipment into a glove mode.

Description

Electronic equipment control method and device
Technical Field
The present disclosure relates to the field of touch technologies, and in particular, to a method and an apparatus for controlling an electronic device.
Background
In the related art, in a low-temperature environment, a user generally wears a glove to operate an electronic device in order to keep warm. The electric signal generated by the screen when the user wears the gloves to touch the screen of the electronic equipment is different from the electric signal generated by the screen when the user directly touches the screen of the electronic equipment through fingers.
In order to better sense the touch operation performed on the electronic device when the user wears gloves, in the related art, the electronic device is provided with a glove mode, and the user can set the electronic device into the glove mode by operating a glove mode option in a built-in application of the electronic device, so that the electronic device can more sensitively sense the touch operation performed on the electronic device when the user wears the gloves. For example, if the user enters a corresponding application program and sets the "glove mode" option to be on, the electronic device starts the glove mode; and if the user sets the glove mode option to be closed, the electronic equipment closes the glove mode and enters a conventional mode.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide an electronic device control method and apparatus. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided an electronic device control method including:
when a screen of the electronic equipment is lightened, performing touch detection on the screen;
determining, based on the touch detection, that a glove touch signal is detected, wherein the glove touch signal is used to indicate that the screen is touched by a glove;
the electronic device is set to glove mode.
According to the technical scheme, when the screen of the electronic equipment is lightened, touch detection is carried out on the screen, and based on the touch detection, a glove touch signal used for indicating that the screen is touched by a glove is determined to be detected, and then the electronic equipment is set to be in a glove mode. According to the scheme, the touch operation mode (whether the touch operation is carried out by wearing gloves) of the user can be automatically determined through touch detection, and the electronic equipment is automatically set to be in the glove mode under the condition that the touch operation is carried out by wearing the gloves by the user, so that the process of setting the electronic equipment to be in the glove mode is simplified, the user experience is improved, and the intelligence of the electronic equipment is improved; the problem of complex operation caused by the fact that the user needs to take off the gloves when opening the gloves manually is effectively solved.
In one embodiment, prior to setting the electronic device in the glove mode, the method further comprises:
respectively determining the moment when the glove touch signal is detected and the moment when the screen is lightened;
and determining that a time difference between the moment when the glove touch signal is detected and the moment when the screen is lightened meets a time difference preset condition.
In one embodiment, the method further comprises:
when the electronic equipment is set to be in a glove mode, continuing to perform touch detection on the screen;
when a human body touch signal is detected, the electronic equipment is switched to a non-glove mode, and the human body touch signal is used for indicating that the screen is touched by a human body.
In one embodiment, the method further comprises:
and when the glove touch signal is not detected within a preset time interval after the screen is lighted, prohibiting the electronic equipment from carrying out touch detection on the screen before the screen is turned off according to the existence of the glove touch signal.
In one embodiment, a distance between a detection area where touch detection is performed on a screen and an edge of the screen satisfies a distance preset condition.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic device control apparatus including:
the touch detection module is used for performing touch detection on a screen of the electronic equipment when the screen is lightened;
a glove touch determination module for determining that a glove touch signal is detected based on the touch detection, wherein the glove touch signal is indicative of the screen being touched by the glove;
and the glove mode setting module is used for setting the electronic equipment into a glove mode.
In one embodiment, the apparatus further comprises:
the time determining module is used for respectively determining the time when the glove touch signal is detected and the time when the screen is lightened;
and the time difference judging module is used for determining that the time difference between the moment when the glove touch signal is detected and the moment when the screen is lightened meets a time difference preset condition.
In one embodiment, the apparatus further comprises:
the continuous detection module is used for continuously carrying out touch detection on the screen when the electronic equipment is set to be in the glove mode;
the non-glove mode switching module is used for switching the electronic equipment to a non-glove mode when a human body touch signal is detected, and the human body touch signal is used for indicating that the screen is touched by a human body.
In one embodiment, the apparatus further comprises:
and the detection forbidding module is used for forbidding the electronic equipment to perform touch detection aiming at the existence of the glove touch signal on the screen before the screen is extinguished when the glove touch signal is not detected in a preset time interval after the screen is lightened.
In one embodiment, a distance between a detection area where touch detection is performed on the screen and an edge of the screen satisfies a distance preset condition.
According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a screen of the electronic equipment is lightened, performing touch detection on the screen;
determining that a glove touch signal is detected based on the touch detection, wherein the glove touch signal is used for indicating that the screen is touched by the glove;
the electronic device is set to glove mode.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions, characterized in that the instructions, when executed by a processor, implement the steps of the method of any one of the first aspect of the embodiments of the present disclosure.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1a is a schematic flow diagram illustrating an electronic device control method according to an exemplary embodiment;
FIG. 1b is a schematic flow diagram illustrating an electronic device control method according to an exemplary embodiment;
FIG. 1c is a schematic flow diagram illustrating an electronic device control method according to an exemplary embodiment;
FIG. 1d is a schematic flow diagram illustrating an electronic device control method in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating an electronic device control method according to an exemplary embodiment;
FIG. 3a is a schematic diagram illustrating the structure of an electronic device control apparatus according to an exemplary embodiment;
FIG. 3b is a schematic diagram illustrating the structure of an electronic device control apparatus according to an exemplary embodiment;
FIG. 3c is a schematic diagram of the configuration of an electronic device control apparatus shown in accordance with an exemplary embodiment;
FIG. 3d is a schematic diagram illustrating the structure of an electronic device control apparatus according to an exemplary embodiment;
FIG. 4 is a block diagram illustrating an apparatus in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, the electronic device has a glove mode, and a user can set the electronic device in the glove mode by operating the electronic device, so that the electronic device can sense a touch operation performed on the electronic device when the user wears the glove more sensitively.
Although above-mentioned scheme can make the user wear gloves and carry out touch-control operation to electronic equipment, because the environment that needs the user to wear gloves is often comparatively cold, and the operation electronic equipment sets up it into the gloves mode, then needs the user to operate when not wearing gloves or taking off gloves, and the process is comparatively loaded down with trivial details.
In order to solve the above problem, an embodiment of the present disclosure provides a technical solution, where when a screen of an electronic device is lighted, a touch detection is performed on the screen, and based on the touch detection, it is determined that a glove touch signal indicating that the screen is touched by a glove is detected, and then the electronic device is set to a glove mode. According to the embodiment of the disclosure, the touch operation mode of the user (whether the touch operation is performed by wearing gloves) can be automatically determined through touch detection, and the electronic equipment is automatically set to the glove mode under the condition that the user is determined to be performing the touch operation by wearing the gloves, so that the process of setting the electronic equipment to the glove mode is simplified, the user experience is improved, and the intelligence of the electronic equipment is improved; the problem of complex operation caused by the fact that the user needs to take off the gloves when opening the gloves manually is effectively solved.
In addition, considering that the operation that the screen is lightened is low in probability of misoperation, the touch detection is carried out on the screen when the screen is lightened, if the glove touch signal is determined to be detected based on the touch detection, the behavior that the screen indicated by the glove touch signal is touched by the glove is described, the probability of the behavior of contacting with the screen by a user wearing the glove is high, the probability of the behavior of misoperation is low, and therefore the electronic equipment can be automatically set to be in the glove mode. The mode can avoid false detection to a certain extent, improve detection efficiency and reduce unnecessary energy consumption. For example, the electronic device is often stored in a pocket of a user, and since the pocket is similar to a glove, if the electronic device detects that a glove or a suspected object of the glove is in contact with the screen, if the current screen is in an unlit state, the electronic device is not directly switched to the glove mode.
An embodiment of the present disclosure provides an electronic device control method, as shown in fig. 1a, including the following steps 101 to 103:
in step 101, when a screen of an electronic device is lit, touch detection is performed on the screen.
In step 102, based on the touch detection, it is determined that a glove touch signal is detected.
Wherein the glove touch signal is used to indicate that the screen is touched by the glove.
Preferably, the screen in the present embodiment is a capacitive touch screen. When a finger touches the screen, the finger and the conductive layer of the screen form a coupling capacitor, so that current changes are caused, the touch position is calculated, and the capacitive touch screen is very sensitive and can be operated by slight touch. For a capacitive touch screen, when a user wears a glove to touch the screen, the distance between a finger and the screen becomes long, so that the formed coupling capacitance is too weak, the screen cannot sense, and the touch effect cannot be realized.
It should be noted that the present disclosure includes, but is not limited to, application to electronic devices having capacitive touch screens. Electronic devices implemented by other principles, so long as glove touch mode is supported, are within the scope of the present disclosure.
For example, when a detected human body (e.g., a finger of a user) contacts the screen, the touch sensing module may generate a human body touch sensing signal; when the detected object is not in contact with the screen but is close to the screen (for example, when the user touches the screen with a finger wearing a glove), the sensing module generates a glove touch signal, and the strength of the glove touch signal is different from that of a normal touch sensing signal. If the intensity difference between the intensity of the touch sensing signal obtained based on the touch detection and the intensity of the glove touch signal is smaller than or equal to a preset intensity difference threshold value, the screen can be considered to be touched by the glove.
Optionally, a pressure sensor may be further disposed on the screen, and when the pressure detected by the screen exceeds a preset pressure threshold, the coupling capacitance at this time is detected, and if the coupling capacitance is lower than a preset capacitance threshold, it is determined that the glove touch signal is detected.
Optionally, touch detection is performed on the screen, and it can also be understood that a fingerprint sensing module can be further arranged in the screen, and when the touch sensing module generates a touch sensing signal and the fingerprint sensing module generates a fingerprint detection signal for indicating the fingerprint sensing module to detect a fingerprint, the screen is considered to be touched by a finger. In contrast, when the touch sensing module generates a touch sensing signal and the fingerprint sensing module does not generate a fingerprint detection signal, the screen may be considered to be touched by the glove.
Optionally, a distance between a detection area for performing touch detection on the screen and an edge of the screen may satisfy a preset distance condition. Preferably, the distance between the detection area of the screen for touch detection and the upper and lower edges of the screen may be less than or equal to 100 pixels, and the distance between the detection area of the screen for touch detection and the left and right edges of the screen may be less than or equal to 50 pixels. Considering that when a user holds the electronic device, the probability that the edge of the screen is touched by the user by mistake is high, and the probability that the glove mode is triggered by misoperation caused by mistake touch can be reduced by setting the distance between the detection area for carrying out touch detection on the screen and the edge of the screen to meet the preset distance condition.
In step 103, the electronic device is set to glove mode.
For example, the electronic device is set to a glove mode, which can be understood as improving the touch sensitivity of the screen on the electronic device.
According to the technical scheme, when the screen of the electronic equipment is lightened, touch detection is carried out on the screen, and based on the touch detection, a glove touch signal used for indicating that the screen is touched by a glove is determined to be detected, and then the electronic equipment is set to be in a glove mode. According to the embodiment of the disclosure, the touch operation mode of the user (whether the touch operation is performed by wearing gloves) can be automatically determined through touch detection, and the electronic equipment is automatically set to the glove mode under the condition that the user is determined to be performing the touch operation by wearing the gloves, so that the process of setting the electronic equipment to the glove mode is simplified, the user experience is improved, and the intelligence of the electronic equipment is improved; the problem of complex operation caused by the fact that a user needs to take off gloves when opening the gloves manually is effectively solved.
In one embodiment, as shown in fig. 1b, before step 103, the electronic device control method provided by the embodiment of the present disclosure further includes the following steps 104 to 105:
in step 104, the time when the glove touch signal is detected and the time when the screen is lit are determined, respectively.
In step 105, it is determined that a time difference between the time when the glove touch signal is detected and the time when the screen is lit satisfies a time difference preset condition.
For example, the time difference between the moment when the glove touch signal is detected and the moment when the screen is lit satisfies the time difference preset condition, which may be understood as that the time difference between the moment when the glove touch signal is detected and the moment when the screen is lit is less than or equal to a preset time difference threshold, or that the time difference between the moment when the glove touch signal is detected and the moment when the screen is lit falls within a preset time difference value interval. For example, when a time difference between a time when the glove touches the signal and a time when the screen is lit is less than or equal to one minute, the time difference is considered to satisfy the time difference preset condition.
When the time difference between the moment of detecting the glove touch signal and the moment of lighting the screen meets the preset time difference condition, the probability that any one of the moment of touching the screen by the glove and the moment of lighting the screen, which is indicated by the glove touch signal, is in misoperation is low, so that the probability of triggering the glove mode due to misoperation can be further reduced by respectively determining the moment of detecting the glove touch signal and the moment of lighting the screen, and setting the electronic equipment into the glove mode after determining that the time difference between the moment of detecting the glove touch signal and the moment of lighting the screen meets the preset time difference condition, and the user experience is improved.
In one embodiment, as shown in fig. 1c, the electronic device control method provided in the embodiment of the present disclosure further includes the following steps 106 to 107:
in step 106, when the electronic device is set to the glove mode, touch detection on the screen is continued.
For example, when the electronic device is set to the glove mode, the touch detection on the screen is continued, and may be performed periodically when the electronic device is set to the glove mode. For example, the touch detection is performed on the screen every lapse of a preset time interval.
In step 107, when the human touch signal is detected, the electronic device is switched to a non-glove mode.
Wherein, the human touch signal is used for indicating that the screen is touched by a human body.
For example, when a human touch signal is detected, it may be understood that when a touch sensing module is disposed in a screen, the intensity of a touch sensing signal generated by the touch sensing module falls within a preset threshold range of the intensity of the touch sensing signal, and it may be determined that the human touch signal is detected; when a human body touch signal is detected, it can also be understood that when a fingerprint sensing module is arranged in the screen, the fingerprint sensing module generates a fingerprint detection signal, and the human body touch signal can be determined to be detected.
Optionally, when the electronic device is set to the non-glove mode, touch detection may be performed on the screen, and when a glove touch signal is detected, the electronic device may be set to the glove mode.
Through when electronic equipment is set to the gloves mode, continue to touch the screen and detect to when detecting human touch signal, switch over electronic equipment to non-gloves mode, can in time carry out the adaptability adjustment to electronic equipment's sensitivity etc. after the user takes off gloves, so that the user uses the finger to operate, thereby improved user experience.
In one embodiment, as shown in fig. 1d, the electronic device control method provided by the embodiment of the present disclosure further includes the following steps 108:
in step 108, when the glove touch signal is not detected within a preset time interval after the screen lighting time, the electronic device is prohibited from performing touch detection on the screen before the screen is turned off.
Considering that a user usually performs a touch operation on a screen of an electronic device within a short time after the mobile phone is turned on (i.e., rarely performs the touch operation at a long time after the user controls the screen to be turned on), in order to further reduce the energy consumption of the electronic device, in this embodiment, when a glove touch signal is not detected within a preset time interval after the screen is turned on, the electronic device is prohibited from performing touch detection on the screen before the screen is turned off for the presence or absence of the glove touch signal, and the energy consumption of the electronic device can be reduced on the premise of ensuring effective detection on the glove touch signal. In addition, the energy consumption loss caused by the detection of whether the glove touch signal is started or not when the screen is lighted by mistake can be avoided.
Optionally, within a first preset time period after the glove touch mode is started, the detection of the presence or absence of the glove touch signal is stopped.
Optionally, the detection of the presence or absence of the human touch signal is stopped within a second preset time period after the human touch mode is started.
The implementation process is described in detail by the following embodiments.
Fig. 2 is a schematic flow chart diagram illustrating a method for controlling an electronic device in accordance with an exemplary embodiment. As shown in fig. 2, the method comprises the following steps:
in step 201, when a screen of an electronic device is lit, touch detection is performed on the screen.
In step 202, it is determined that a glove touch signal is detected based on the touch detection.
Wherein the glove touch signal is used to indicate that the screen is touched by the glove.
In step 203, the time when the glove touch signal is detected and the time when the screen is lit are determined, respectively.
In step 204, it is determined that a time difference between a time when the glove touch signal is detected and a time when the screen is lit satisfies a time difference preset condition.
In step 205, the electronic device is set to glove mode.
In step 206, when the electronic device is set to the glove mode, touch detection of the screen is continued.
In step 207, when a human touch signal is detected, the electronic device is switched to a non-glove mode, and the human touch signal is used for indicating that the screen is touched by a human body.
In step 208, when the glove touch signal is not detected within a preset time interval after the screen lighting time, the electronic device is prohibited from performing touch detection on the screen before the screen is turned off.
According to the technical scheme, when the screen of the electronic equipment is lightened, touch detection is carried out on the screen, and based on the touch detection, a glove touch signal used for indicating that the screen is touched by a glove is determined to be detected, and then the electronic equipment is set to be in a glove mode. According to the embodiment of the disclosure, the touch operation mode of the user (whether the touch operation is performed by wearing gloves) can be automatically determined through touch detection, and the electronic equipment is automatically set to be in the glove mode under the condition that the user is determined to be performing the touch operation by wearing the gloves, so that the process of setting the electronic equipment to be in the glove mode is simplified, the user experience is improved, and the intelligence of the electronic equipment is improved; the problem of complex operation caused by the fact that the user needs to take off the gloves when opening the gloves manually is effectively solved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 3a is a block diagram of an electronic device control apparatus 30 according to an exemplary embodiment, where the electronic device control apparatus 30 may be a part of a server, and the electronic device control apparatus 30 may be implemented as a part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 3a, the electronic device control apparatus 30 includes:
the touch detection module 301 is configured to perform touch detection on a screen of the electronic device when the screen is lit.
A glove touch determination module 302 configured to determine that a glove touch signal is detected based on the touch detection, wherein the glove touch signal is used to indicate that the screen is touched by the glove.
A glove mode setting module 303, configured to set the electronic device to a glove mode.
In one embodiment, as shown in fig. 3b, the electronic device control apparatus 30 further includes:
and a time determining module 304, configured to determine a time when the glove touch signal is detected and a time when the screen is lighted, respectively.
And a time difference judging module 305, configured to determine that a time difference between a moment when the glove touch signal is detected and a moment when the screen is turned on meets a time difference preset condition.
In one embodiment, as shown in fig. 3c, the electronic device control apparatus 30 further includes:
a continuous detection module 306, configured to continue to perform touch detection on the screen when the electronic device is set in the glove mode.
And a non-glove mode switching module 307, configured to switch the electronic device to a non-glove mode when a human touch signal is detected, where the human touch signal is used to indicate that the screen is touched by a human body.
In one embodiment, as shown in fig. 3d, the electronic device control apparatus 30 further includes:
the detection prohibiting module 308 is configured to prohibit the electronic device from performing touch detection on the screen before the screen is turned off for the presence or absence of the glove touch signal when the glove touch signal is not detected within a preset time interval after the screen is turned on.
In one embodiment, a distance between a detection area where touch detection is performed on the screen and an edge of the screen satisfies a distance preset condition.
An embodiment of the present disclosure provides an electronic device control apparatus, which may perform touch detection on a screen of an electronic device when the screen is lit, determine, based on the touch detection, that a glove touch signal indicating that the screen is touched by a glove is detected, and set the electronic device in a glove mode. According to the embodiment of the disclosure, the touch operation mode of the user (whether the touch operation is performed by wearing gloves) can be automatically determined through touch detection, and the electronic equipment is automatically set to the glove mode under the condition that the user is determined to be performing the touch operation by wearing the gloves, so that the process of setting the electronic equipment to the glove mode is simplified, the user experience is improved, and the intelligence of the electronic equipment is improved; the problem of complex operation caused by the fact that a user needs to take off gloves when opening the gloves manually is effectively solved.
Fig. 4 is a block diagram of an electronic device control apparatus 40 according to an exemplary embodiment, where the electronic device control apparatus 40 may be a terminal or a part of the terminal, and the electronic device control apparatus 40 includes:
a processor 401;
a memory 402 for storing instructions executable by the processor 401;
wherein the processor 401 is configured to:
when a screen of the electronic equipment is lightened, performing touch detection on the screen;
determining, based on the touch detection, that a glove touch signal is detected, wherein the glove touch signal is used to indicate that the screen is touched by a glove;
the electronic device is set to glove mode.
In one embodiment, the processor 401 may be further configured to:
before the electronic equipment is set to be in a glove mode, respectively determining the moment when a glove touch signal is detected and the moment when a screen is lightened;
and determining that a time difference between the moment when the glove touch signal is detected and the moment when the screen is lightened meets a time difference preset condition.
In one embodiment, the processor 401 may be further configured to:
when the electronic equipment is set to be in the glove mode, continuing to perform touch detection on the screen;
when a human body touch signal is detected, the electronic equipment is switched to a non-glove mode, and the human body touch signal is used for indicating that the screen is touched by a human body.
In one embodiment, the processor 401 may be further configured to:
and when the glove touch signal is not detected within a preset time interval after the screen is lightened, prohibiting the electronic equipment from carrying out touch detection on the screen before the screen is extinguished aiming at the presence or absence of the glove touch signal.
In one embodiment, the processor 401 may be further configured to:
the distance between a detection area for performing touch detection on the screen and the edge of the screen meets a preset distance condition.
Embodiments of the present disclosure provide an electronic device control apparatus that may perform touch detection on a screen of an electronic device when the screen is lit, determine, based on the touch detection, that a glove touch signal indicating that the screen is touched by a glove is detected, and set the electronic device to a glove mode. According to the embodiment of the disclosure, the touch operation mode of the user (whether the touch operation is performed by wearing gloves) can be automatically determined through touch detection, and the electronic equipment is automatically set to the glove mode under the condition that the user is determined to be performing the touch operation by wearing the gloves, so that the process of setting the electronic equipment to the glove mode is simplified, the user experience is improved, and the intelligence of the electronic equipment is improved; the problem of complex operation caused by the fact that the user needs to take off the gloves when opening the gloves manually is effectively solved.
Fig. 5 is a block diagram illustrating an apparatus 500 for controlling an electronic device, the apparatus 500 being suitable for use in a terminal according to an example embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store no various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile and non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 514 includes one or more sensors for providing various aspects of state assessment for the apparatus 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The device 500 may access a wireless network based on a communication standard, such as walkie-talkie private network, wiFi,2G, 3G, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus 500, enable the apparatus 500 to perform the above-mentioned electronic device control method, the method comprising:
when a screen of the electronic equipment is lightened, performing touch detection on the screen;
determining, based on the touch detection, that a glove touch signal is detected, wherein the glove touch signal is used to indicate that the screen is touched by a glove;
the electronic device is set to glove mode.
In one embodiment, prior to setting the electronic device in the glove mode, the method further comprises:
respectively determining the moment when the glove touch signal is detected and the moment when the screen is lightened;
and determining that a time difference between the moment when the glove touch signal is detected and the moment when the screen is lightened meets a time difference preset condition.
In one embodiment, the method further comprises:
when the electronic equipment is set to be in a glove mode, continuing to perform touch detection on the screen;
when a human body touch signal is detected, the electronic equipment is switched to a non-glove mode, and the human body touch signal is used for indicating that the screen is touched by a human body.
In one embodiment, the method further comprises:
and when the glove touch signal is not detected within a preset time interval after the screen is lightened, prohibiting the electronic equipment from carrying out touch detection on the screen before the screen is extinguished aiming at the presence or absence of the glove touch signal.
In one embodiment, a distance between a detection area where touch detection is performed on the screen and an edge of the screen satisfies a distance preset condition.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. An electronic device control method, comprising:
when a screen of the electronic equipment is lightened, performing touch detection on the screen;
determining, based on the touch detection, that a glove touch signal is detected, wherein the glove touch signal is indicative of the screen being touched by a glove; the determining, based on the touch detection, that a glove touch signal is detected comprises: determining that a glove touch signal is detected if an intensity difference between an intensity of a touch sensing signal obtained based on the touch detection and an intensity of a preset glove touch signal is less than or equal to a preset intensity difference threshold value, and the touch sensing signal is detected in a preset detection area in the screen; the preset detection areas are all areas of the screen, wherein the distance between the preset detection areas and the edge of the screen meets preset distance conditions; the preset glove touch signal is generated by a touch sensing module of the screen when the detected object does not contact the screen but is close to the screen;
setting the electronic device in a glove mode;
before setting the electronic device in the glove mode, the method further comprises:
respectively determining the moment when the glove touch signal is detected and the moment when the screen is lightened;
determining that a time difference between a moment when the glove touch signal is detected and a moment when the screen is lighted satisfies a time difference preset condition;
the method further comprises the following steps:
when the electronic equipment is set to be in a glove mode, continuing to perform touch detection on the screen;
when a human body touch signal is detected, the electronic equipment is switched to a non-glove mode, the human body touch signal is used for indicating that the screen is touched by a human body, and when the strength of the touch sensing signal generated by the touch sensing module is within a preset human body touch sensing signal strength threshold range, the detection of the human body touch signal is determined.
2. The electronic device control method according to claim 1, characterized in that the method further comprises:
and when the glove touch signal is not detected within a preset time interval after the screen is lightened, prohibiting the electronic equipment from carrying out touch detection on the screen before the screen is extinguished aiming at the presence or absence of the glove touch signal.
3. An electronic device control apparatus, comprising:
the touch detection module is used for performing touch detection on a screen of the electronic equipment when the screen is lightened;
a glove touch determination module to determine that a glove touch signal is detected based on the touch detection, wherein the glove touch signal is to indicate that the screen is touched by a glove; the determining, based on the touch detection, that a glove touch signal is detected comprises: determining that a glove touch signal is detected if an intensity difference between an intensity of a touch sensing signal obtained based on the touch detection and an intensity of a preset glove touch signal is less than or equal to a preset intensity difference threshold value, and the touch sensing signal is detected in a preset detection area in the screen; the preset detection areas are all areas of the screen, wherein the distance between the preset detection areas and the edge of the screen meets preset distance conditions; the preset glove touch signal is generated by a touch sensing module of the screen when the detected object does not contact the screen but is close to the screen;
the glove mode setting module is used for setting the electronic equipment into a glove mode;
the device further comprises:
the time determining module is used for respectively determining the time when the glove touch signal is detected and the time when the screen is lightened;
the time difference judging module is used for determining that the time difference between the moment when the glove touch signal is detected and the moment when the screen is lightened meets a time difference preset condition;
the device further comprises:
the continuous detection module is used for continuously performing touch detection on the screen when the electronic equipment is set to be in a glove mode;
the non-glove mode switching module is used for switching the electronic equipment to a non-glove mode when a human body touch signal is detected, the human body touch signal is used for indicating that the screen is touched by a human body, and when the strength of the touch sensing signal generated by the touch sensing module is within a preset human body touch sensing signal strength threshold range, the detection of the human body touch signal is determined.
4. The electronic device control apparatus according to claim 3, wherein the apparatus further comprises:
and the detection forbidding module is used for forbidding the electronic equipment to perform touch detection on the screen before the screen is turned off according to the existence of the glove touch signal when the glove touch signal is not detected in a preset time interval after the screen is turned on.
5. An electronic device control apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a screen of the electronic equipment is lightened, performing touch detection on the screen;
determining, based on the touch detection, that a glove touch signal is detected, wherein the glove touch signal is indicative of the screen being touched by a glove; said determining, based on said touch detection, that a glove touch signal is detected comprises: determining that a glove touch signal is detected if an intensity difference between an intensity of a touch sensing signal obtained based on the touch detection and an intensity of a preset glove touch signal is less than or equal to a preset intensity difference threshold value, and the touch sensing signal is detected in a preset detection area in the screen; the preset detection areas are all areas of the screen, wherein the distance between the preset detection areas and the edge of the screen meets preset distance conditions; the preset glove touch signal is generated by a sensing module of the screen when the detected object does not contact the screen but is close to the screen;
respectively determining the moment when the glove touch signal is detected and the moment when the screen is lightened;
determining that a time difference between a moment when the glove touch signal is detected and a moment when the screen is lighted satisfies a time difference preset condition;
setting the electronic device to a glove mode;
further comprising:
when the electronic equipment is set to be in a glove mode, continuing to perform touch detection on the screen;
when a human body touch signal is detected, the electronic equipment is switched to a non-glove mode, the human body touch signal is used for indicating that the screen is touched by a human body, and when the strength of the touch sensing signal generated by the touch sensing module is within a preset human body touch sensing signal strength threshold range, the detection of the human body touch signal is determined.
6. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1-2.
CN201910198955.5A 2019-03-15 2019-03-15 Electronic equipment control method and device Active CN111694496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910198955.5A CN111694496B (en) 2019-03-15 2019-03-15 Electronic equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910198955.5A CN111694496B (en) 2019-03-15 2019-03-15 Electronic equipment control method and device

Publications (2)

Publication Number Publication Date
CN111694496A CN111694496A (en) 2020-09-22
CN111694496B true CN111694496B (en) 2022-12-27

Family

ID=72475332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910198955.5A Active CN111694496B (en) 2019-03-15 2019-03-15 Electronic equipment control method and device

Country Status (1)

Country Link
CN (1) CN111694496B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060219A (en) * 2016-08-01 2016-10-26 乐视控股(北京)有限公司 Method and apparatus for preventing touching in mistake for mobile phone
CN108803896A (en) * 2018-05-28 2018-11-13 Oppo(重庆)智能科技有限公司 Control method, apparatus, terminal and the storage medium of screen

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
AU2014201384A1 (en) * 2013-03-13 2014-10-02 Samsung Electronics Co., Ltd. Method and apparatus for operating touch screen
US9122332B2 (en) * 2013-03-15 2015-09-01 Cellco Partnership Automatic detection for touch through glove
US9690417B2 (en) * 2014-05-21 2017-06-27 Apple Inc. Glove touch detection
CN105511765A (en) * 2014-09-22 2016-04-20 中兴通讯股份有限公司 Screen brightness adjusting method, device and electronic equipment
CN104598077A (en) * 2015-01-15 2015-05-06 小米科技有限责任公司 Touch mode setting method and touch mode setting device
CN104598032A (en) * 2015-01-30 2015-05-06 乐视致新电子科技(天津)有限公司 Screen control method and device
CN106484344A (en) * 2015-08-25 2017-03-08 中兴通讯股份有限公司 A kind of method realizing screen control and terminal
CN105159590B (en) * 2015-08-27 2017-06-23 广东欧珀移动通信有限公司 The method and user terminal of a kind of screen of control user terminal
CN105159435B (en) * 2015-09-01 2018-08-31 联想(北京)有限公司 A kind of electronic equipment and its awakening method
CN106201108B (en) * 2016-07-29 2019-02-19 北京小米移动软件有限公司 Gloves control mode touch mode control method and device and electronic equipment
CN106843564A (en) * 2016-12-26 2017-06-13 普联技术有限公司 The control method and device of gloves pattern, touch control device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060219A (en) * 2016-08-01 2016-10-26 乐视控股(北京)有限公司 Method and apparatus for preventing touching in mistake for mobile phone
CN108803896A (en) * 2018-05-28 2018-11-13 Oppo(重庆)智能科技有限公司 Control method, apparatus, terminal and the storage medium of screen

Also Published As

Publication number Publication date
CN111694496A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US9860844B2 (en) Method and apparatus of temperature control
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
US10628649B2 (en) Fingerprint recognition proccess
US20170031557A1 (en) Method and apparatus for adjusting shooting function
WO2019157804A1 (en) Method and apparatus for fingerprint unlocking
US20160210034A1 (en) Method and apparatus for switching display mode
CN108255369B (en) Method and device for displaying fingerprint icon in screen and computer readable storage medium
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
EP3151117A1 (en) Method and device for delaying information broadcasting
CN106357934B (en) Screen locking control method and device
CN108108683B (en) Touch response method, mobile terminal and storage medium
EP3136206B1 (en) Method and apparatus for setting threshold
CN106843706B (en) Shutdown control method and device and terminal equipment
CN110413148B (en) False touch prevention detection method, device, equipment and storage medium
EP3249505B1 (en) Method and electronic device for controlling a state of a touch screen
CN106527682B (en) Method and device for switching environment pictures
CN108073328B (en) Touch response method and device
CN109862169B (en) Electronic equipment control method, device and storage medium
CN112905136A (en) Screen projection control method and device and storage medium
CN106778169B (en) Fingerprint unlocking method and device
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN106990893B (en) Touch screen operation processing method and device
CN111694496B (en) Electronic equipment control method and device
CN107528098B (en) Charging method and device
CN111651082B (en) Touch screen unlocking method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant