Movatterモバイル変換


[0]ホーム

URL:


CN111694496B - Electronic equipment control method and device - Google Patents

Electronic equipment control method and device
Download PDF

Info

Publication number
CN111694496B
CN111694496BCN201910198955.5ACN201910198955ACN111694496BCN 111694496 BCN111694496 BCN 111694496BCN 201910198955 ACN201910198955 ACN 201910198955ACN 111694496 BCN111694496 BCN 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 LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201910198955.5ApriorityCriticalpatent/CN111694496B/en
Publication of CN111694496ApublicationCriticalpatent/CN111694496A/en
Application grantedgrantedCritical
Publication of CN111694496BpublicationCriticalpatent/CN111694496B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

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

Translated fromChinese
电子设备控制方法及装置Electronic equipment control method and device

技术领域technical field

本公开涉及触控技术领域,尤其涉及电子设备控制方法及装置。The present disclosure relates to the field of touch technology, and in particular to an electronic device control method and device.

背景技术Background technique

相关技术中,在温度较低的环境里,用户为了保暖,一般会戴着手套操作电子设备。其中,用户戴着手套对电子设备的屏幕进行触控时屏幕生成的电信号,和用户通过手指直接对电子设备的屏幕进行触控时屏幕生成的电信号存在一定的差异。In the related art, in an environment with low temperature, users usually wear gloves to operate electronic devices in order to keep warm. There is a certain difference between the electrical signal generated by the screen of the electronic device when the user wears gloves and touches the screen of the electronic device directly, and the electrical signal generated by the screen of the electronic device when the user directly touches the screen of the electronic device with fingers.

为了较好的感应用户戴着手套时对电子设备进行的触控操作,相关技术中,电子设备设置有手套模式,用户可以通过操作电子设备内置应用中的“手套模式”选项,将其设置为手套模式,以便于电子设备更为灵敏的感知用户戴着手套时对电子设备进行的触控操作。例如,用户进入相应应用程序,将“手套模式”选项设置为打开,则电子设备开启手套模式;用户将“手套模式”选项设置为关闭,则电子设备关闭手套模式,进入常规模式。In order to better sense the touch operation performed by the user on the electronic device while wearing gloves, in related technologies, the electronic device is provided with a glove mode, and the user can set it to The glove mode facilitates the electronic device to more sensitively perceive the touch operation performed by the user on the electronic device when the user wears gloves. For example, if the user enters the corresponding application program and sets the "glove mode" option to on, the electronic device will turn on the glove mode; if the user sets the "glove mode" option to off, the electronic device will turn off the glove mode and enter the normal mode.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开的实施例提供一种电子设备控制方法及装置。技术方案如下:In order to overcome the problems existing in related technologies, embodiments of the present disclosure provide a method and device for controlling electronic equipment. The technical scheme is as follows:

根据本公开的实施例的第一方面,提供一种电子设备控制方法,包括:According to a first aspect of an embodiment of the present disclosure, there is provided an electronic device control method, including:

当电子设备的屏幕被点亮时,对屏幕进行触摸检测;When the screen of the electronic device is lit, touch detection is performed on the screen;

基于触摸检测,确定检测到手套触摸信号,其中,手套触摸信号用于指示所述屏幕被手套触摸;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 a glove;

将电子设备设置为手套模式。Set the electronic device to glove mode.

本公开的实施例提供的技术方案中,通过电子设备的屏幕被点亮时,对屏幕进行触摸检测,基于触摸检测,确定检测到用于指示所述屏幕被手套触摸的手套触摸信号,则将电子设备设置为手套模式。上述方案能够通过触摸检测自动确定用户的触控操作方式(是否是佩戴手套进行的触控操作),并在确定用户是佩戴手套进行触控操作的情况下,自动将电子设备设置为手套模式,简化了将电子设备设置为手套模式的过程,改善了用户体验,提升了电子设备的智能性;有效避免了用户手动开启手套模式时,需要摘掉手套操作所导致操作繁琐的问题。In the technical solution provided by the embodiments of the present disclosure, when the screen of the electronic device is turned on, 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, then the The electronics are set to glove mode. The above solution can automatically determine the user's touch operation mode (whether the user is wearing gloves for touch operation) through touch detection, and automatically set the electronic device to the glove mode when it is determined that the user is wearing gloves for touch operation. This simplifies the process of setting the electronic device to the glove mode, improves the user experience, and enhances the intelligence of the electronic device; effectively avoids the problem of cumbersome operation caused by the need to take off the gloves when the user manually turns on the glove mode.

在一个实施例中,将电子设备设置为手套模式之前,该方法还包括:In one embodiment, before setting the electronic device to the glove mode, the method further includes:

分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻;Respectively determine the moment when the glove touch signal is detected and the moment when the screen is lit;

确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件。It is determined that the time difference between the time when the glove touch signal is detected and the time when the screen is turned on satisfies a time difference preset condition.

在一个实施例中,该方法还包括:In one embodiment, the method also includes:

当电子设备被设置为手套模式时,继续对屏幕进行触摸检测;When the electronic device is set to the glove mode, continue to perform touch detection on the screen;

当检测到人体触摸信号时,将电子设备切换至非手套模式,人体触摸信号用于指示屏幕被人体触摸。When a human body touch signal is detected, the electronic device is switched to a non-glove mode, and the human body touch signal is used to indicate that the screen is touched by a human body.

在一个实施例中,该方法还包括:In one embodiment, the method also includes:

当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测。When the glove touch signal is not detected within the preset time interval after the screen is turned on, the electronic device is prohibited from performing touch detection on the screen for the presence or absence of the glove touch signal before the screen is turned off.

在一个实施例中,对屏幕进行触摸检测的检测区域与屏幕的边缘之间的距离满足距离预设条件。In one embodiment, the distance between the detection area where the touch detection is performed on the screen and the edge of the screen satisfies a preset distance condition.

根据本公开的实施例的第二方面,提供一种电子设备控制装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided an electronic device control device, including:

触摸检测模块,用于当电子设备的屏幕被点亮时,对屏幕进行触摸检测;The touch detection module is used for performing touch detection on the screen when the screen of the electronic device is lit;

手套触摸确定模块,用于基于触摸检测,确定检测到手套触摸信号,其中,手套触摸信号用于指示屏幕被手套触摸;The glove touch determination module is 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;

手套模式设置模块,用于将电子设备设置为手套模式。The glove mode setting module is used for setting the electronic device to the glove mode.

在一个实施例中,该装置还包括:In one embodiment, the device also includes:

时刻确定模块,用于分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻;The moment determination module is used to respectively determine the moment when the glove touch signal is detected and the moment when the screen is lit;

时间差判断模块,用于确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件。The time difference judging module is used to determine that the time difference between the time when the glove touch signal is detected and the time when the screen is turned on satisfies the time difference preset condition.

在一个实施例中,该装置还包括:In one embodiment, the device also includes:

继续检测模块,用于当电子设备被设置为手套模式时,继续对屏幕进行触摸检测;The continuous detection module is used to continue to touch the screen when the electronic device is set to the glove mode;

非手套模式切换模块,用于当检测到人体触摸信号时,将电子设备切换至非手套模式,人体触摸信号用于指示屏幕被人体触摸。The non-glove mode switching module is configured to switch the electronic device to the non-glove mode when a human body touch signal is detected, and the human body touch signal is used to indicate that the screen is touched by a human body.

在一个实施例中,该装置还包括:In one embodiment, the device also includes:

禁止检测模块,用于当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测。The prohibition detection module is used to prohibit the electronic device from performing touch detection on the screen for the presence or absence of the glove touch signal before the screen is turned off when the glove touch signal is not detected within a preset time interval after the screen is turned on.

在一个实施例中,对屏幕进行触摸检测的检测区域与屏幕的边缘之间的距离满足距离预设条件。In one embodiment, the distance between the detection area where the touch detection is performed on the screen and the edge of the screen satisfies a preset distance condition.

根据本公开的实施例的第三方面,提供一种电子设备控制装置,其特征在于,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device control device, which is characterized in that it includes:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,处理器被配置为:where the processor is configured as:

当电子设备的屏幕被点亮时,对屏幕进行触摸检测;When the screen of the electronic device is lit, touch detection is performed on the screen;

基于触摸检测,确定检测到手套触摸信号,其中,手套触摸信号用于指示屏幕被手套触摸;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;

将电子设备设置为手套模式。Set the electronic device to glove mode.

根据本公开的实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现本公开的实施例的第一方面中任一项方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer instructions are stored, and it is characterized in that, when the instructions are executed by a processor, any one of the first aspects of the embodiments of the present disclosure can be implemented. The steps of a method.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。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 present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1a是根据一示例性实施例示出的电子设备控制方法的流程示意图;Fig. 1a is a schematic flowchart of a method for controlling an electronic device according to an exemplary embodiment;

图1b是根据一示例性实施例示出的电子设备控制方法的流程示意图;Fig. 1b is a schematic flowchart of a method for controlling an electronic device according to an exemplary embodiment;

图1c是根据一示例性实施例示出的电子设备控制方法的流程示意图;Fig. 1c is a schematic flowchart of a method for controlling an electronic device according to an exemplary embodiment;

图1d是根据一示例性实施例示出的电子设备控制方法的流程示意图;Fig. 1d is a schematic flowchart of a method for controlling an electronic device according to an exemplary embodiment;

图2是根据一示例性实施例示出的电子设备控制方法的流程示意图;Fig. 2 is a schematic flowchart of a method for controlling an electronic device according to an exemplary embodiment;

图3a是根据一示例性实施例示出的电子设备控制装置的结构示意图;Fig. 3a is a schematic structural diagram of an electronic equipment control device according to an exemplary embodiment;

图3b是根据一示例性实施例示出的电子设备控制装置的结构示意图;Fig. 3b is a schematic structural diagram of an electronic equipment control device according to an exemplary embodiment;

图3c是根据一示例性实施例示出的电子设备控制装置的结构示意图;Fig. 3c is a schematic structural diagram of an electronic equipment control device according to an exemplary embodiment;

图3d是根据一示例性实施例示出的电子设备控制装置的结构示意图;Fig. 3d is a schematic structural diagram of an electronic equipment control device according to an exemplary embodiment;

图4是根据一示例性实施例示出的一种装置的框图;Fig. 4 is a block diagram of a device according to an exemplary embodiment;

图5是根据一示例性实施例示出的一种装置的框图。Fig. 5 is a block diagram of a device according to an exemplary 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, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

相关技术中,电子设备具有手套模式,用户可以通过操作电子设备将其设置为手套模式,以便于电子设备更为灵敏的感知用户戴着手套时对电子设备进行的触控操作。In the related art, the electronic device has a glove mode, and the user can set it to the glove mode by operating the electronic device, so that the electronic device can more sensitively sense the touch operation performed by the user on the electronic device while wearing gloves.

虽然上述方案能够使用户戴着手套对电子设备进行触控操作,但由于需要用户戴着手套的环境往往较为寒冷,而操作电子设备将其设置为手套模式,则需要用户在未戴上手套或脱去手套时进行操作,过程较为繁琐。Although the above solution enables the user to wear gloves to perform touch operation on the electronic device, because the environment where the user is required to wear gloves is often relatively cold, and operating the electronic device to set it to the glove mode requires the user to operate the electronic device without wearing gloves or The operation is carried out when taking off the gloves, and the process is comparatively loaded down with trivial details.

为了解决上述问题,本公开的实施例提供的技术方案中,通过电子设备的屏幕被点亮时,对屏幕进行触摸检测,基于触摸检测,确定检测到用于指示所述屏幕被手套触摸的手套触摸信号,则将电子设备设置为手套模式。本公开实施例能够通过触摸检测自动确定用户的触控操作方式(是否是佩戴手套进行的触控操作),并在确定用户是佩戴手套进行触控操作的情况下,自动将电子设备设置为手套模式,简化了将电子设备设置为手套模式的过程,改善了用户体验,提升了电子设备的智能性;有效避免了用户手动开启手套模式时,需要摘掉手套操作所导致操作繁琐的问题。In order to solve the above problems, in the technical solution provided by the embodiments of the present disclosure, when the screen of the electronic device is lit, touch detection is performed on the screen, and based on the touch detection, it is determined that the glove used to indicate that the screen is touched by the glove is detected Touch the signal, the electronic device is set to glove mode. The embodiments of the present disclosure can automatically determine the user's touch operation mode (whether the user is wearing gloves for touch operation) through touch detection, and automatically set the electronic device as a glove when it is determined that the user is wearing gloves for touch operation mode simplifies the process of setting the electronic device to the glove mode, improves the user experience, and enhances the intelligence of the electronic device; effectively avoids the problem of cumbersome operation caused by the need to remove the gloves when the user manually turns on the glove mode.

另外,考虑到屏幕被点亮这一操作为误操作的几率较低,本公开在屏幕被点亮时对屏幕进行触摸检测,若基于触摸检测,确定检测到手套触摸信号,则说明该手套触摸信号所指示的屏幕被手套触摸这一行为,属于戴有手套的用户所做出的与屏幕接触的行为的几率较高,属于误操作的几率较低,因此可以自动将电子设备设置为手套模式。该方式可以在一定程度上避免误检测,提高检测效率,减少不必要的能耗。例如,电子设备往往被存放在用户的口袋中,由于口袋与手套较为相似,若电子设备在检测到手套或疑似手套的物体与屏幕接触时,若当前屏幕处于未点亮状态,则不会直接切换为手套模式。In addition, considering that the possibility of the screen being turned on as a wrong operation is relatively low, the present disclosure detects touch on the screen when the screen is turned on. The behavior of the screen being touched by the glove indicated by the signal belongs to a higher probability of contact with the screen by a user wearing gloves, and a lower probability of misuse, so the electronic device can be automatically set to the glove mode . This method can avoid false detection to a certain extent, improve detection efficiency, and reduce unnecessary energy consumption. For example, electronic devices are often stored in the user's pocket. Since the pocket is similar to a glove, if the electronic device detects that a glove or an object suspected of being a glove is in contact with the screen, if the current screen is not lit, it will not directly Switch to glove mode.

本公开的实施例提供了一种电子设备控制方法,如图1a所示,包括如下步骤101至步骤103:An embodiment of the present disclosure provides a method for controlling an electronic device, as shown in FIG. 1a, including the followingsteps 101 to 103:

在步骤101中,当电子设备的屏幕被点亮时,对屏幕进行触摸检测。Instep 101, when the screen of the electronic device is turned on, touch detection is performed on the screen.

在步骤102中,基于触摸检测,确定检测到手套触摸信号。Instep 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 a glove.

优选的,本实施例中的屏幕为电容式触摸屏。当手指接触屏幕时,手指和屏幕导电层形成耦合电容,引起电流变化从而计算出触摸位置,电容式触摸屏非常灵敏,轻轻触摸即可操作。对于电容式触摸屏,在用户戴手套触摸屏幕的情况下,由于手指和屏幕之间的距离变远,形成的耦合电容太弱,屏幕无法感应,无法实现触控的效果。Preferably, the screen in this embodiment is a capacitive touch screen. When a finger touches the screen, the conductive layer of the finger and the screen forms a coupling capacitance, which causes a change in current to calculate the touch position. The capacitive touch screen is very sensitive and can be operated with a light touch. For a capacitive touch screen, when the user wears gloves to touch the screen, the coupling capacitance formed is too weak due to the distance between the finger and the screen becomes farther, and the screen cannot be sensed, 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 with capacitive touch screens. Electronic devices realized by other principles, as long as they support the glove touch mode, are within the protection scope of the present disclosure.

示例性的,对屏幕进行触摸检测,可以理解为,屏幕中可以设置有触摸感应模块,当被检测人体(例如用户的手指)接触屏幕时,触摸感应模块会生成人体触摸感应信号;而当被检测物体未接触屏幕,但是距离屏幕很近时(例如用户戴着手套的手指对屏幕进行触摸时),感应模块会生成手套触摸信号,该手套触摸信号的强度比正常触摸感应信号的强度不同。若基于触摸检测所获取的触摸感应信号的强度与该手套触摸信号的强度之间的强度差小于或等于预设强度差阈值时,可以认为屏幕被手套触摸。Exemplarily, touch detection is performed on the screen, it can be understood that a touch sensing module may be provided in the screen, and when the detected human body (such as a user's finger) touches the screen, the touch sensing module will generate a human body touch sensing signal; When the detected object does not touch the screen, but is very close to the screen (for example, when a user wears a gloved finger to touch the screen), the sensing module will generate a glove touch signal whose intensity is different from that of a normal touch sensing signal. If the intensity difference between the intensity of the touch sensing signal acquired based on the touch detection and the intensity of the glove touch signal is less than or equal to a preset intensity difference threshold, it may be considered that the screen is touched by the glove.

可选的,屏幕上还可以设置压力传感器,当屏幕检测到压力超过一预设压力阈值时,检测此时的耦合电容,如果耦合电容低于一预设电容阈值,则确定检测到手套触摸信号。Optionally, a pressure sensor can also be set on the screen. When the screen detects that the pressure exceeds a preset pressure threshold, the coupling capacitance at this time is detected. If the coupling capacitance is lower than a preset capacitance threshold, it is determined that the glove touch signal is detected .

可选的,对屏幕进行触摸检测,也可以理解为,屏幕中还可以设置有指纹感应模块,当触摸感应模块生成触摸感应信号,且指纹感应模块生成用于指示该指纹感应模块检测到指纹的指纹检测信号时,认为屏幕被手指触摸。相对的,当触摸感应模块生成触摸感应信号,且指纹感应模块未生成指纹检测信号时,可以认为屏幕被手套触摸。Optionally, performing touch detection on the screen can also be understood as, a fingerprint sensing module can also be arranged in the screen, when the touch sensing module generates a touch sensing signal, and the fingerprint sensing module generates a signal for indicating that the fingerprint sensing module detects a fingerprint When the fingerprint detection signal is detected, 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, it can be considered that the screen is touched by a glove.

可选的,对屏幕进行触摸检测的检测区域与屏幕的边缘之间的距离可以满足距离预设条件。优选的,屏幕进行触摸检测的检测区域与屏幕的上边缘以及下边缘之间的距离可以小于或等于100pixel(像素),屏幕进行触摸检测的检测区域与屏幕的左边缘以及右边缘之间的距离可以小于或等于50pixel(像素)。考虑到当用户手握电子设备时,屏幕的边缘被用户误触的几率较高,通过对屏幕进行触摸检测的检测区域与屏幕的边缘之间的距离设置为满足距离预设条件,可以降低误触所导致的误操作触发手套模式的几率。Optionally, the distance between the detection area where the touch detection is performed on the screen and the edge of the screen may satisfy a preset distance condition. Preferably, the distance between the detection area where the touch detection is performed on the screen and the upper and lower edges of the screen can be less than or equal to 100 pixels (pixels), and the distance between the detection area where the touch detection is performed by the screen and the left and right edges of the screen Can be less than or equal to 50pixel (pixel). Considering that when the user holds the electronic device, the edge of the screen is more likely to be accidentally touched by the user, by setting the distance between the detection area for touch detection on the screen and the edge of the screen to meet the distance preset condition, the error can be reduced. The probability of triggering glove mode due to misoperation caused by touch.

在步骤103中,将电子设备设置为手套模式。Instep 103, the electronic device is set to a glove mode.

示例性的,将电子设备设置为手套模式,可以理解为提高电子设备上屏幕的触控灵敏度。Exemplarily, setting the electronic device to the glove mode can be understood as improving the touch sensitivity of the screen on the electronic device.

本公开的实施例提供的技术方案中,通过电子设备的屏幕被点亮时,对屏幕进行触摸检测,基于触摸检测,确定检测到用于指示所述屏幕被手套触摸的手套触摸信号,则将电子设备设置为手套模式。本公开实施例能够通过触摸检测自动确定用户的触控操作方式(是否是佩戴手套进行的触控操作),并在确定用户是佩戴手套进行触控操作的情况下,自动将电子设备设置为手套模式,简化了将电子设备设置为手套模式的过程,改善了用户体验,提升了电子设备的智能性;有效避免了用户手动开启手套模式时,需要摘掉手套操作所导致操作繁琐的问题。In the technical solution provided by the embodiments of the present disclosure, when the screen of the electronic device is turned on, 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, then the The electronics are set to glove mode. The embodiments of the present disclosure can automatically determine the user's touch operation mode (whether the user is wearing gloves for touch operation) through touch detection, and automatically set the electronic device as a glove when it is determined that the user is wearing gloves for touch operation mode simplifies the process of setting the electronic device to the glove mode, improves the user experience, and enhances the intelligence of the electronic device; effectively avoids the problem of cumbersome operation caused by the need to remove the gloves when the user manually turns on the glove mode.

在一个实施例中,如图1b所示,在步骤103前,本公开的实施例提供的电子设备控制方法还包括如下步骤104至步骤105:In one embodiment, as shown in FIG. 1b, beforestep 103, the electronic device control method provided by the embodiment of the present disclosure further includes the followingsteps 104 to 105:

在步骤104中,分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻。Instep 104, the moment when the glove touch signal is detected and the moment when the screen is turned on are respectively determined.

在步骤105中,确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件。Instep 105, it is determined that the time difference between the moment when the glove touch signal is detected and the moment when the screen is turned on satisfies a preset condition of the time difference.

示例性的,检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件,可以理解为手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差小于或等于预设时间差阈值,或手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差属于预设时间差取值区间内。例如,手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差小于或等于一分钟时,认为该时间差满足时间差预设条件。Exemplarily, the time difference between the moment when the glove touch signal is detected and the moment when the screen is turned on satisfies the preset condition of time difference, which can be understood as the time difference between the moment when the glove touch signal and the moment when the screen is turned on is less than or equal to The preset time difference threshold, or the time difference between the time when the glove touches the signal and the time when the screen is turned on, falls within the preset time difference range. For example, when the time difference between the time when the glove touches the signal and the time when the screen is turned on is less than or equal to one minute, it is considered that the time difference satisfies the time difference preset condition.

由于当检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件时,手套触摸信号所指示的屏幕被手套触摸与屏幕被点亮中任一项为误操作的几率均较低,因此通过分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻,并确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件后,再将电子设备设置为手套模式,可以进一步降低因误操作触发手套模式的几率,从而改善了用户体验。Since the time difference between the time when the glove touch signal is detected and the time when the screen is lit satisfies the time difference preset condition, either the screen being touched by the glove or the screen being lit indicated by the glove touch signal is a misoperation The probability is low, so by separately determining the moment when the glove touch signal is detected and the moment when the screen is turned on, and determining the time difference between the moment when the glove touch signal is detected and the moment when the screen is turned on satisfies the time difference preset condition , and then setting the electronic device to the glove mode can further reduce the probability of triggering the glove mode due to misoperation, thereby improving user experience.

在一个实施例中,如图1c所示,本公开的实施例提供的电子设备控制方法还包括如下步骤106至步骤107:In one embodiment, as shown in FIG. 1c, the electronic device control method provided by the embodiment of the present disclosure further includes the followingsteps 106 to 107:

在步骤106中,当电子设备被设置为手套模式时,继续对屏幕进行触摸检测。Instep 106, when the electronic device is set to the glove mode, continue to perform touch detection on the screen.

示例性的,当电子设备被设置为手套模式时,继续对屏幕进行触摸检测,可以为当电子设备被设置为手套模式时,周期性对屏幕进行触摸检测。例如,每经过预设时间间隔对屏幕进行触摸检测。Exemplarily, when the electronic device is set to the glove mode, continuing to perform touch detection on the screen may be to periodically perform touch detection on the screen when the electronic device is set to the glove mode. For example, touch detection is performed on the screen every preset time interval.

在步骤107中,当检测到人体触摸信号时,将电子设备切换至非手套模式。Instep 107, when the human body touch signal is detected, the electronic device is switched to the non-glove mode.

其中,人体触摸信号用于指示屏幕被人体触摸。Wherein, the human body touch signal is used to indicate that the screen is touched by a human body.

示例性的,检测到人体触摸信号,可以理解为当屏幕中设置有触摸感应模块时,触摸感应模块生成的触摸感应信号的强度属于预设触摸感应信号强度阈值范围内,可以确定检测到人体触摸信号;检测到人体触摸信号,也可以理解为当屏幕中设置有指纹感应模块时,指纹感应模块生成指纹检测信号,可以确定检测到人体触摸信号。Exemplarily, the detection of a human touch signal can be understood as when the touch sensing module is set in the screen, the strength of the touch sensing signal generated by the touch sensing module falls within the preset touch sensing signal intensity threshold range, and it can be determined that the human body touch is detected Signal; detection of a human touch signal can also be understood as when a fingerprint sensing module is set in the screen, the fingerprint sensing module generates a fingerprint detection signal, which can determine the detection of a human touch signal.

可选的,还可以在电子设备被设置为非手套模式时,对屏幕进行触摸检测,当检测到手套触摸信号时,将电子设备设置为手套模式。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 is set to the glove mode.

通过当电子设备被设置为手套模式时,继续对屏幕进行触摸检测,并当检测到人体触摸信号时,将电子设备切换至非手套模式,可以当用户脱下手套后及时对电子设备的灵敏度等进行适应性调整,以便用户使用手指进行操作,从而改善了用户体验。By continuing to perform touch detection on the screen when the electronic device is set to the glove mode, and switching the electronic device to the non-glove mode when a human touch signal is detected, the sensitivity of the electronic device can be adjusted in time after the user takes off the gloves. Improved user experience by adapting to allow users to use their fingers for manipulation.

在一个实施例中,如图1d所示,本公开的实施例提供的电子设备控制方法还包括如下步骤108: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 step 108:

在步骤108中,当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测。Instep 108, when the 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 for the presence or absence of the glove touch signal before the screen is turned off.

考虑到用户在对电子设备的屏幕进行触控操作时,通常会在手机亮屏后的较短时间内发生(也即,很少会在用户控制屏幕亮起后,在间隔很长时间才去执行触控操作),因此,为了进一步减少电子设备的能耗,本实施中当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测,可以在确保对手套触摸信号进行有效检测的前提下,降低电子设备的能耗。此外,也可以避免屏幕被误点亮时启动有无手套触摸信号的检测所带来的能耗损失。Considering that when the user performs a touch operation on the screen of the electronic device, it usually occurs within a short period of time after the screen of the mobile phone is turned on (that is, it seldom occurs after a long time interval after the user controls the screen to turn on). touch operation), therefore, in order to further reduce the energy consumption of the electronic device, in this implementation, when the glove touch signal is not detected within the preset time interval after the screen is turned on, the electronic device is prohibited from touching the screen before the screen is turned off. The touch detection based on whether there is a glove touch signal can reduce the energy consumption of the electronic device on the premise of ensuring effective detection of the glove touch signal. In addition, it can also avoid the energy consumption loss caused by starting the detection of the glove-free touch signal when the screen is mistakenly turned on.

可选的,在手套触摸模式被启动后的第一预设时长内,停止对有无手套触摸信号进行检测。Optionally, within a first preset period of time after the glove touch mode is activated, the detection of whether there is a glove touch signal is stopped.

可选的,在人体触摸模式被启动后的第二预设时长内,停止对有无人体触摸信号进行检测。Optionally, within a second preset time period after the human body touch mode is activated, the detection of whether there is a human body touch signal is stopped.

下面通过实施例详细介绍实现过程。The implementation process will be described in detail below through the embodiments.

图2是根据一示例性实施例示出的一种电子设备控制方法的示意性流程图进行说明。如图2所示,包括以下步骤:Fig. 2 is a schematic flowchart illustrating a method for controlling an electronic device according to an exemplary embodiment. As shown in Figure 2, it includes the following steps:

在步骤201中,当电子设备的屏幕被点亮时,对屏幕进行触摸检测。Instep 201, when the screen of the electronic device is turned on, touch detection is performed on the screen.

在步骤202中,基于触摸检测,确定检测到手套触摸信号。Instep 202, 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 a glove.

在步骤203中,分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻。Instep 203, the moment when the glove touch signal is detected and the moment when the screen is turned on are respectively determined.

在步骤204中,确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件。Instep 204, it is determined that the time difference between the time when the glove touch signal is detected and the time when the screen is turned on satisfies a time difference preset condition.

在步骤205中,将电子设备设置为手套模式。Instep 205, the electronic device is set to a glove mode.

在步骤206中,当电子设备被设置为手套模式时,继续对屏幕进行触摸检测。Instep 206, when the electronic device is set to the glove mode, continue to perform touch detection on the screen.

在步骤207中,当检测到人体触摸信号时,将电子设备切换至非手套模式,人体触摸信号用于指示屏幕被人体触摸。Instep 207, when a human body touch signal is detected, the electronic device is switched to a non-glove mode, and the human body touch signal is used to indicate that the screen is touched by a human body.

在步骤208中,当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测。Instep 208, when the glove touch signal is not detected within the preset time interval after the screen is turned on, the electronic device is prohibited from performing touch detection on the screen for the presence or absence of the glove touch signal before the screen is turned off.

本公开的实施例提供的技术方案中,通过电子设备的屏幕被点亮时,对屏幕进行触摸检测,基于触摸检测,确定检测到用于指示所述屏幕被手套触摸的手套触摸信号,则将电子设备设置为手套模式。本公开实施例能够通过触摸检测自动确定用户的触控操作方式(是否是佩戴手套进行的触控操作),并在确定用户是佩戴手套进行触控操作的情况下,自动将电子设备设置为手套模式,简化了将电子设备设置为手套模式的过程,改善了用户体验,提升了电子设备的智能性;有效避免了用户手动开启手套模式时,需要摘掉手套操作所导致操作繁琐的问题。In the technical solution provided by the embodiments of the present disclosure, when the screen of the electronic device is turned on, 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, then the The electronics are set to glove mode. The embodiments of the present disclosure can automatically determine the user's touch operation mode (whether the user is wearing gloves for touch operation) through touch detection, and automatically set the electronic device as a glove when it is determined that the user is wearing gloves for touch operation mode simplifies the process of setting the electronic device to the glove mode, improves the user experience, and enhances the intelligence of the electronic device; effectively avoids the problem of cumbersome operation caused by the need to remove the gloves when the user manually turns on the glove mode.

下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure.

图3a是根据一个示例性实施例示出的一种电子设备控制装置30的框图,电子设备控制装置30可以为也可以为服务器的一部分,电子设备控制装置30可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图3a所示,该电子设备控制装置30包括:Fig. 3a is a block diagram showing an electronic equipment control device 30 according to an exemplary embodiment. The electronic equipment control device 30 may be a part of a server, and the electronic equipment control device 30 may use software, hardware or a combination of both Realized as part or all of electronic equipment. As shown in Figure 3a, the electronic device control device 30 includes:

触摸检测模块301,用于当电子设备的屏幕被点亮时,对屏幕进行触摸检测。The touch detection module 301 is configured to perform touch detection on the screen when the screen of the electronic device is turned on.

手套触摸确定模块302,用于基于触摸检测,确定检测到手套触摸信号,其中,手套触摸信号用于指示屏幕被手套触摸。The glove touch determination module 302 is configured to determine, 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.

手套模式设置模块303,用于将电子设备设置为手套模式。A glove mode setting module 303, configured to set the electronic device to a glove mode.

在一个实施例中,如图3b所示,电子设备控制装置30还包括:In one embodiment, as shown in FIG. 3b, the electronic equipment control device 30 further includes:

时刻确定模块304,用于分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻。The moment determination module 304 is configured to respectively determine the moment when the glove touch signal is detected and the moment when the screen is turned on.

时间差判断模块305,用于确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件。The time difference judging module 305 is configured to determine that the time difference between the time when the glove touch signal is detected and the time when the screen is turned on satisfies the time difference preset condition.

在一个实施例中,如图3c所示,电子设备控制装置30还包括:In one embodiment, as shown in FIG. 3c, the electronic device control device 30 further includes:

继续检测模块306,用于当电子设备被设置为手套模式时,继续对屏幕进行触摸检测。The continuation detection module 306 is configured to continue to perform touch detection on the screen when the electronic device is set to the glove mode.

非手套模式切换模块307,用于当检测到人体触摸信号时,将电子设备切换至非手套模式,人体触摸信号用于指示屏幕被人体触摸。The non-glove mode switching module 307 is configured to switch the electronic device to the non-glove mode when a human body touch signal is detected, and the human body touch signal is used to indicate that the screen is touched by a human body.

在一个实施例中,如图3d所示,电子设备控制装置30还包括:In one embodiment, as shown in FIG. 3d, the electronic equipment control device 30 further includes:

禁止检测模块308,用于当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测。The prohibition detection module 308 is configured to prohibit the electronic device from performing touch detection on the screen for the presence or absence of the glove touch signal before the screen is turned off when the glove touch signal is not detected within a preset time interval after the screen is turned on.

在一个实施例中,对屏幕进行触摸检测的检测区域与屏幕的边缘之间的距离满足距离预设条件。In one embodiment, the distance between the detection area where the touch detection is performed on the screen and the edge of the screen satisfies a preset distance condition.

本公开的实施例提供一种电子设备控制装置,该电子设备控制装置可以通过电子设备的屏幕被点亮时,对屏幕进行触摸检测,基于触摸检测,确定检测到用于指示所述屏幕被手套触摸的手套触摸信号,则将电子设备设置为手套模式。本公开实施例能够通过触摸检测自动确定用户的触控操作方式(是否是佩戴手套进行的触控操作),并在确定用户是佩戴手套进行触控操作的情况下,自动将电子设备设置为手套模式,简化了将电子设备设置为手套模式的过程,改善了用户体验,提升了电子设备的智能性;有效避免了用户手动开启手套模式时,需要摘掉手套操作所导致操作繁琐的问题。An embodiment of the present disclosure provides an electronic device control device. The electronic device control device can detect a touch on the screen when the screen of the electronic device is turned on. Based on the touch detection, it is determined that a If the touched glove touches the signal, the electronic device is set to glove mode. The embodiments of the present disclosure can automatically determine the user's touch operation mode (whether the user is wearing gloves for touch operation) through touch detection, and automatically set the electronic device as a glove when it is determined that the user is wearing gloves for touch operation mode simplifies the process of setting the electronic device to the glove mode, improves the user experience, and enhances the intelligence of the electronic device; effectively avoids the problem of cumbersome operation caused by the need to remove the gloves when the user manually turns on the glove mode.

图4是根据一示例性实施例示出的一种电子设备控制装置40的框图,该电子设备控制装置40可以为终端,也可以为终端的一部分,电子设备控制装置40包括:Fig. 4 is a block diagram of an electronic device control device 40 according to an exemplary embodiment. The electronic device control device 40 may be a terminal or a part of a terminal. The electronic device control device 40 includes:

处理器401;Processor 401;

用于存储处理器401可执行指令的存储器402;Amemory 402 for storing instructions executable by theprocessor 401;

其中,处理器401被配置为:Wherein, theprocessor 401 is configured as:

当电子设备的屏幕被点亮时,对屏幕进行触摸检测;When the screen of the electronic device is lit, touch detection is performed on the screen;

基于触摸检测,确定检测到手套触摸信号,其中,手套触摸信号用于指示所述屏幕被手套触摸;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 a glove;

将电子设备设置为手套模式。Set the electronic device to glove mode.

在一个实施例中,上述处理器401还可以被配置为:In an embodiment, the above-mentionedprocessor 401 may also be configured as:

将电子设备设置为手套模式之前,分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻;Before setting the electronic device to the glove mode, respectively determine the moment when the glove touch signal is detected and the moment when the screen is turned on;

确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件。It is determined that the time difference between the time when the glove touch signal is detected and the time when the screen is turned on satisfies a time difference preset condition.

在一个实施例中,上述处理器401还可以被配置为:In an embodiment, the above-mentionedprocessor 401 may also be configured as:

当电子设备被设置为手套模式时,继续对屏幕进行触摸检测;When the electronic device is set to the glove mode, continue to perform touch detection on the screen;

当检测到人体触摸信号时,将电子设备切换至非手套模式,人体触摸信号用于指示屏幕被人体触摸。When a human body touch signal is detected, the electronic device is switched to a non-glove mode, and the human body touch signal is used to indicate that the screen is touched by a human body.

在一个实施例中,上述处理器401还可以被配置为:In an embodiment, the above-mentionedprocessor 401 may also be configured as:

当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测。When the glove touch signal is not detected within the preset time interval after the screen is turned on, the electronic device is prohibited from performing touch detection on the screen for the presence or absence of the glove touch signal before the screen is turned off.

在一个实施例中,上述处理器401还可以被配置为:In an embodiment, the above-mentionedprocessor 401 may also be configured as:

对屏幕进行触摸检测的检测区域与屏幕的边缘之间的距离满足距离预设条件。The distance between the detection area where the touch detection is performed on the screen and the edge of the screen satisfies a preset distance condition.

本公开的实施例提供一种电子设备控制装置,该电子设备控制装置可以通过电子设备的屏幕被点亮时,对屏幕进行触摸检测,基于触摸检测,确定检测到用于指示所述屏幕被手套触摸的手套触摸信号,则将电子设备设置为手套模式。本公开实施例能够通过触摸检测自动确定用户的触控操作方式(是否是佩戴手套进行的触控操作),并在确定用户是佩戴手套进行触控操作的情况下,自动将电子设备设置为手套模式,简化了将电子设备设置为手套模式的过程,改善了用户体验,提升了电子设备的智能性;有效避免了用户手动开启手套模式时,需要摘掉手套操作所导致操作繁琐的问题。An embodiment of the present disclosure provides an electronic device control device. The electronic device control device can detect a touch on the screen when the screen of the electronic device is turned on. Based on the touch detection, it is determined that a If the touched glove touches the signal, the electronic device is set to glove mode. The embodiments of the present disclosure can automatically determine the user's touch operation mode (whether the user is wearing gloves for touch operation) through touch detection, and automatically set the electronic device as a glove when it is determined that the user is wearing gloves for touch operation mode simplifies the process of setting the electronic device to the glove mode, improves the user experience, and enhances the intelligence of the electronic device; effectively avoids the problem of cumbersome operation caused by the need to remove the gloves when the user manually turns on the glove mode.

图5是根据一示例性实施例示出的一种用于控制电子设备的装置500的框图,该装置500适用于终端。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 5 is a block diagram showing anapparatus 500 for controlling an electronic device according to an exemplary embodiment, and theapparatus 500 is suitable for a terminal. For example, theapparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出接口512,传感器组件514,以及通信组件516。Apparatus 500 may include one or more of the following components: processingcomponent 502 ,memory 504 ,power component 506 ,multimedia component 508 ,audio component 510 , input/output interface 512 ,sensor component 514 , andcommunication component 516 .

处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。Theprocessing component 502 generally controls the overall operations of thedevice 500, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. Theprocessing element 502 may include one ormore processors 520 to execute instructions to complete all or part of the steps of the above method. Additionally,processing component 502 may include one or more modules that facilitate interaction betweenprocessing component 502 and other components. For example,processing component 502 may include a multimedia module to facilitate interaction betweenmultimedia component 508 andprocessing component 502 .

存储器504被配置未存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Thememory 504 is configured to store various types of data to support operations at thedevice 500 . Examples of such data include instructions for any application or method operating ondevice 500, contact data, phonebook data, messages, pictures, videos, and the like. Thememory 504 can be implemented by any type of volatile or non-volatile storage device or their combination, 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 Disk.

电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。Thepower supply component 506 provides power to various components of thedevice 500 .Power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power fordevice 500 .

多媒体组件508包括在装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Themultimedia component 508 includes a screen that provides an output interface between thedevice 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, themultimedia component 508 includes a front camera and/or a rear camera. When thedevice 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。Theaudio component 510 is configured to output and/or input audio signals. For example, theaudio component 510 includes a microphone (MIC), which is configured to receive external audio signals when thedevice 500 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored inmemory 504 or sent viacommunication component 516 . In some embodiments, theaudio component 510 also includes a speaker for outputting audio signals.

I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 512 provides an interface between theprocessing component 502 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects ofdevice 500 . For example, thesensor component 514 can detect the open/closed state of thedevice 500, the relative positioning of components, such as the display and keypad of thedevice 500, and thesensor component 514 can also detect a change in the position of thedevice 500 or a component of thedevice 500 , the presence or absence of user contact with thedevice 500 , thedevice 500 orientation or acceleration/deceleration and the temperature change of thedevice 500 .Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.Sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor component 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如对讲机专网、WiFi,2G、3G、4G或5G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Thecommunication component 516 is configured to facilitate wired or wireless communication between theapparatus 500 and other devices. Thedevice 500 can access a wireless network based on a communication standard, such as a private walkie-talkie network, WiFi, 2G, 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, thecommunication component 516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,apparatus 500 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器520执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as thememory 504 including instructions, which can be executed by theprocessor 520 of thedevice 500 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置500的处理器执行时,使得装置500能够执行上述电子设备控制方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of thedevice 500, thedevice 500 can execute the above electronic device control method, the method includes:

当电子设备的屏幕被点亮时,对屏幕进行触摸检测;When the screen of the electronic device is lit, touch detection is performed on the screen;

基于触摸检测,确定检测到手套触摸信号,其中,手套触摸信号用于指示所述屏幕被手套触摸;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 a glove;

将电子设备设置为手套模式。Set the electronic device to glove mode.

在一个实施例中,将电子设备设置为手套模式之前,方法还包括:In one embodiment, before setting the electronic device to the glove mode, the method further includes:

分别确定检测到手套触摸信号的时刻和屏幕被点亮的时刻;Respectively determine the moment when the glove touch signal is detected and the moment when the screen is lit;

确定检测到手套触摸信号的时刻与屏幕被点亮的时刻之间的时间差满足时间差预设条件。It is determined that the time difference between the time when the glove touch signal is detected and the time when the screen is turned on satisfies a time difference preset condition.

在一个实施例中,方法还包括:In one embodiment, the method also includes:

当电子设备被设置为手套模式时,继续对屏幕进行触摸检测;When the electronic device is set to the glove mode, continue to perform touch detection on the screen;

当检测到人体触摸信号时,将电子设备切换至非手套模式,人体触摸信号用于指示屏幕被人体触摸。When a human body touch signal is detected, the electronic device is switched to a non-glove mode, and the human body touch signal is used to indicate that the screen is touched by a human body.

在一个实施例中,方法还包括:In one embodiment, the method also includes:

当在屏幕点亮时刻后的预设时间区间内未检测到手套触摸信号时,禁止电子设备在屏幕熄灭前对屏幕进行针对有无手套触摸信号的触摸检测。When the glove touch signal is not detected within the preset time interval after the screen is turned on, the electronic device is prohibited from performing touch detection on the screen for the presence or absence of the glove touch signal before the screen is turned off.

在一个实施例中,对屏幕进行触摸检测的检测区域与屏幕的边缘之间的距离满足距离预设条件。In one embodiment, the distance between the detection area where the touch detection is performed on the screen and the edge of the screen satisfies a preset distance condition.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily 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 modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and 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)

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;
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;
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;
CN201910198955.5A2019-03-152019-03-15Electronic equipment control method and deviceActiveCN111694496B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910198955.5ACN111694496B (en)2019-03-152019-03-15Electronic equipment control method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910198955.5ACN111694496B (en)2019-03-152019-03-15Electronic equipment control method and device

Publications (2)

Publication NumberPublication Date
CN111694496A CN111694496A (en)2020-09-22
CN111694496Btrue CN111694496B (en)2022-12-27

Family

ID=72475332

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910198955.5AActiveCN111694496B (en)2019-03-152019-03-15Electronic equipment control method and device

Country Status (1)

CountryLink
CN (1)CN111694496B (en)

Citations (2)

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

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102520852A (en)*2011-11-292012-06-27华为终端有限公司Control method of mobile equipment screen status and associated mobile equipment
AU2014201384A1 (en)*2013-03-132014-10-02Samsung Electronics Co., Ltd.Method and apparatus for operating touch screen
US9122332B2 (en)*2013-03-152015-09-01Cellco PartnershipAutomatic detection for touch through glove
US9690417B2 (en)*2014-05-212017-06-27Apple Inc.Glove touch detection
CN105511765A (en)*2014-09-222016-04-20中兴通讯股份有限公司 Method, device and electronic device for adjusting screen brightness
CN104598077A (en)*2015-01-152015-05-06小米科技有限责任公司Touch mode setting method and touch mode setting device
CN104598032A (en)*2015-01-302015-05-06乐视致新电子科技(天津)有限公司Screen control method and device
CN106484344A (en)*2015-08-252017-03-08中兴通讯股份有限公司A kind of method realizing screen control and terminal
CN105159590B (en)*2015-08-272017-06-23广东欧珀移动通信有限公司 Method for controlling screen of user terminal and user terminal
CN105159435B (en)*2015-09-012018-08-31联想(北京)有限公司A kind of electronic equipment and its awakening method
CN106201108B (en)*2016-07-292019-02-19北京小米移动软件有限公司 Glove touch mode control method and device and electronic device
CN106843564A (en)*2016-12-262017-06-13普联技术有限公司The control method and device of gloves pattern, touch control device

Patent Citations (2)

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

Also Published As

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

Similar Documents

PublicationPublication DateTitle
US9860844B2 (en)Method and apparatus of temperature control
US10282031B2 (en)Method and device for restraining edge touches
US20160210034A1 (en)Method and apparatus for switching display mode
CN108345781A (en)Unlocked by fingerprint method and device
US20170060320A1 (en)Method for controlling a mobile terminal using a side touch panel
CN107786743A (en)Prevent the method and device of terminal false touch
CN108388786A (en)Unlocked by fingerprint method and device
CN106022072A (en)Method and device for achieving fingerprint unlocking and electronic equipment
CN106055144B (en)Control method and device, the electronic equipment of touch screen state
CN107580129A (en) Terminal state control method and device
CN106873834A (en)Method and device and mobile terminal that key range is triggered
CN107491677A (en)Fingerprint recognition processing method, device, equipment and storage medium
CN107390932A (en)Edge false-touch prevention method and device, computer-readable recording medium
CN107402676A (en)Trigger action processing method, device and computer-readable recording medium
CN105678133A (en)Terminal unlocking method and device
CN107390977A (en) Button operation method, device and storage medium
CN105979066A (en)Screen lighting-up method and screen lighting-up device
CN106201108A (en)Glove control mode touch mode control method and device and electronic equipment
CN106357934A (en)Screen-locking control method and device
CN106503516A (en)Terminal, unlocked by fingerprint method and device
CN106201285A (en)Prevent power key by the method and device of false touch, electronic equipment
CN105955684A (en)Image display method and apparatus
CN108932116A (en)The adjusting method and device of volume
CN108388864A (en)Fingerprint collecting method, device and computer readable storage medium
CN106778169A (en)Unlocked by fingerprint method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp