WO2017121003A1 - Terminal event processing method, device and computer storage medium - Google Patents

Terminal event processing method, device and computer storage medium Download PDF

Info

Publication number
WO2017121003A1
WO2017121003A1 PCT/CN2016/074286 CN2016074286W WO2017121003A1 WO 2017121003 A1 WO2017121003 A1 WO 2017121003A1 CN 2016074286 W CN2016074286 W CN 2016074286W WO 2017121003 A1 WO2017121003 A1 WO 2017121003A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
preset
event
incoming call
user
Prior art date
Application number
PCT/CN2016/074286
Other languages
French (fr)
Chinese (zh)
Inventor
方雄飞
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017121003A1 publication Critical patent/WO2017121003A1/en

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/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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Definitions

  • the determining whether the terminal meets the preset condition includes:
  • FIG. 4 is a schematic flowchart of a second embodiment of a method for processing a terminal event according to the present invention.
  • the step may be: when the terminal meets the preset condition, the terminal processes the terminal event by using a preset manner.
  • the terminal processes the terminal event by using a preset manner.
  • the terminal event processing method provided by the embodiment of the present invention may further include: the humidity value of the environment surrounding the terminal exceeds the maximum value of the preset humidity range value. When the value is changed, the terminal automatically shuts down. If the preset humidity range value is m%RH ⁇ n%RH, when the humidity value of the environment around the terminal exceeds n%RH, the terminal may have fallen into the water at this time, so the terminal can automatically shut down to protect the terminal.
  • the determining module 201 is configured to determine whether the terminal meets the preset condition
  • the mobile phone When the mobile phone has an incoming call event, the mobile phone performs step 302. Otherwise, the mobile phone performs step 301.
  • FIG. 4 is a schematic flowchart of a second embodiment of a method for processing a terminal event according to the present invention. As shown in FIG. 4, the specific steps include:
  • Step 403 Determine whether the mobile phone has an incoming call event.

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)
  • Telephone Function (AREA)

Abstract

The embodiments of the invention disclose a terminal event processing method, the method comprising: determining whether a terminal meets a predefined condition; and processing a terminal event in a pre-determined manner if so. Also disclosed in the present invention are a terminal event processing apparatus and a computer storage medium.

Description

终端事件处理方法、装置及和计算机存储介质Terminal event processing method, device and computer storage medium 技术领域Technical field
本发明涉及终端技术领域,尤其涉及一种终端事件处理方法、装置及和计算机存储介质。The present invention relates to the field of terminal technologies, and in particular, to a terminal event processing method, apparatus, and computer storage medium.
背景技术Background technique
随着终端技术的发展,终端功能逐渐增多,终端设备已成为人们生活中的必备品,如手机等终端已成为人们生活中的必备品。在使用终端的过程中,用户通常需要处理终端事件,如处理终端的来电事件等。且相关技术提供的终端事件处理方式通常为,用户执行触摸终端屏幕或滑屏等操作,终端根据接收到的操作来处理终端事件。即通过终端默认屏幕操作来处理终端事件。如用户通过滑屏操作接听终端来电。With the development of terminal technology, terminal functions have gradually increased, and terminal devices have become a must-have item in people's lives. Terminals such as mobile phones have become a must-have item in people's lives. In the process of using the terminal, the user usually needs to handle terminal events, such as handling an incoming call event of the terminal. The terminal event processing manner provided by the related art is generally that the user performs operations such as touching the terminal screen or sliding screen, and the terminal processes the terminal event according to the received operation. That is, the terminal event is handled by the terminal default screen operation. For example, the user answers the incoming call through the sliding screen operation.
但相关技术提供的终端事件处理方式存在如下问题:在一些场景下,需用户执行多次默认屏幕操作来处理终端事件。可选地,由于残留在终端屏幕上的液体会使得终端屏幕的灵敏度降低,在终端屏幕上或用户手指上沾有液体时,用户执行的触摸终端屏幕操作或滑屏操作,可能不会被终端识别出,因此需用户执行多次默认屏幕操作来处理终端事件。如在用户洗手后手部未完全擦拭干,将手部上残留的水滴滴在终端屏幕上时,或在炎热的夏天,用户手上积满汗水时,若终端有来电事件发生,用户前几次执行的滑屏操作可能不会被终端识别出,因此用户需再次执行滑屏操作来处理该来电事件。从而不能方便快捷地处理终端事件,给用户带来不便,降低用户的体验度。 However, the terminal event processing manner provided by the related art has the following problem: in some scenarios, the user needs to perform multiple default screen operations to process terminal events. Optionally, since the liquid remaining on the screen of the terminal may reduce the sensitivity of the terminal screen, when the liquid is immersed on the screen of the terminal or the finger of the user, the screen operation or the sliding operation of the touch terminal performed by the user may not be terminated by the terminal. It is recognized, so the user is required to perform multiple default screen operations to handle terminal events. For example, when the user does not completely wipe the hand after washing the hand, the water droplets on the hand are dripped on the terminal screen, or in the hot summer, when the user's hand is full of sweat, if the terminal has an incoming call event, the user first The sliding operation performed twice may not be recognized by the terminal, so the user needs to perform a sliding operation again to process the incoming event. Therefore, the terminal event cannot be handled conveniently and quickly, which brings inconvenience to the user and reduces the user experience.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种终端事件处理方法及装置,从而方便快捷地处理终端事件。In view of this, embodiments of the present invention are directed to providing a terminal event processing method and apparatus, so as to conveniently and quickly process terminal events.
本发明实施例提供一种终端事件处理方法,所述方法包括:The embodiment of the invention provides a terminal event processing method, and the method includes:
判断终端是否满足预设条件;Determining whether the terminal meets the preset condition;
在所述终端满足所述预设条件时,通过预设方式处理终端事件。When the terminal meets the preset condition, the terminal event is processed in a preset manner.
基于上述方案,所述判断终端是否满足预设条件,包括:Based on the foregoing solution, the determining whether the terminal meets the preset condition includes:
在终端有来电事件发生时,判断处理所述来电事件的无效滑屏操作的次数是否达到预设次数阈值;When the terminal has an incoming call event, determining whether the number of invalid sliding screen operations for processing the incoming call event reaches a preset number of thresholds;
在所述次数达到所述预设次数阈值时,确认所述终端满足预设条件。When the number of times reaches the preset number of times threshold, it is confirmed that the terminal satisfies a preset condition.
基于上述方案,所述在所述终端满足所述预设条件时,通过预设方式处理终端事件,包括:Based on the foregoing solution, when the terminal meets the preset condition, the terminal event is processed by using a preset manner, including:
在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电;或者,When the number of times reaches the preset number threshold and the current call event does not end, the user is prompted to press the answering call icon to answer the call, prompting the user to press the hanging call icon to reject the call; or
在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户按压终端物理音量加按键接听来电,提示用户按压终端物理音量减按键拒接来电。When the number of times reaches the preset number threshold and the current incoming call event is not ended, the user is prompted to press the physical volume of the terminal and the button to answer the incoming call, prompting the user to press the physical volume of the terminal minus the button to reject the incoming call.
基于上述方案,所述判断终端是否满足预设条件,包括:Based on the foregoing solution, the determining whether the terminal meets the preset condition includes:
判断终端周围环境的湿度值是否在预设湿度范围值内;Determining whether the humidity value of the environment around the terminal is within a preset humidity range value;
在所述湿度值在所述预设湿度范围值内时,确认所述终端满足预设条件。When the humidity value is within the preset humidity range value, it is confirmed that the terminal satisfies a preset condition.
基于上述方案,所述判断终端是否满足预设条件,包括:Based on the foregoing solution, the determining whether the terminal meets the preset condition includes:
判断终端的温度值是否达到预设温度阈值;Determining whether the temperature value of the terminal reaches a preset temperature threshold;
在所述温度值达到所述预设温度阈值时,确认所述终端满足预设条件。 When the temperature value reaches the preset temperature threshold, it is confirmed that the terminal satisfies a preset condition.
基于上述方案,所述在所述终端满足所述预设条件时,通过预设方式处理终端事件,包括:Based on the foregoing solution, when the terminal meets the preset condition, the terminal event is processed by using a preset manner, including:
在所述终端满足所述预设条件时,终端自动接听来电或自动开启免提模式接听来电。When the terminal meets the preset condition, the terminal automatically answers the incoming call or automatically turns on the hands-free mode to answer the incoming call.
本发明实施例提供一种终端事件处理装置,所述装置包括:An embodiment of the present invention provides a terminal event processing apparatus, where the apparatus includes:
判断模块,配置为判断终端是否满足预设条件;The determining module is configured to determine whether the terminal meets the preset condition;
处理模块,配置为在所述终端满足所述预设条件时,通过预设方式处理终端事件。The processing module is configured to process the terminal event in a preset manner when the terminal meets the preset condition.
基于上述方案,所述判断模块,配置为在终端有来电事件发生时,判断处理所述来电事件的无效滑屏操作的次数是否达到预设次数阈值;在所述次数达到所述预设次数阈值时,确认所述终端满足预设条件。The determining module is configured to determine, when the terminal has an incoming call event, whether the number of invalid sliding screen operations of the incoming call event reaches a preset number of times threshold; and the number of times reaches the preset number of times threshold When it is confirmed, the terminal satisfies the preset condition.
基于上述方案,所述处理模块,配置为在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电;或者,在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户按压终端物理音量加按键接听来电,提示用户按压终端物理音量减按键拒接来电。Based on the foregoing solution, the processing module is configured to prompt the user to press the answering call icon to answer the incoming call when the number of times reaches the preset number of times threshold and the current incoming call event is not finished, prompting the user to press and hold the caller icon to refuse The incoming call is received; or, when the number of times reaches the preset number threshold and the current incoming call event does not end, the user is prompted to press the physical volume of the terminal and the button to answer the incoming call, prompting the user to press the physical volume of the terminal minus the button to reject the incoming call.
基于上述方案,所述判断模块,配置为判断终端周围环境的湿度值是否在预设湿度范围值内;在所述湿度值在所述预设湿度范围值内时,确认所述终端满足预设条件。The determining module is configured to determine whether the humidity value of the environment surrounding the terminal is within a preset humidity range value; and when the humidity value is within the preset humidity range value, confirm that the terminal meets the preset condition.
基于上述方案,所述判断模块,配置为判断终端的温度值是否达到预设温度阈值;在所述温度值达到所述预设温度阈值时,确认所述终端满足预设条件。Based on the foregoing solution, the determining module is configured to determine whether the temperature value of the terminal reaches a preset temperature threshold; when the temperature value reaches the preset temperature threshold, confirm that the terminal meets the preset condition.
基于上述方案,所述处理模块,配置为在所述终端满足所述预设条件时,提示用户使用预设操作处理终端事件;或者,在所述终端满足所述预设条件时,终端自动接听来电或自动开启免提模式接听来电。 The processing module is configured to prompt the user to process the terminal event by using a preset operation when the terminal meets the preset condition; or, when the terminal meets the preset condition, the terminal automatically answers Incoming calls or automatically turning on the hands-free mode to answer incoming calls.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述终端事件处理方法的至少其中之一。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the foregoing terminal event processing methods.
本发明实施例提供的一种终端事件处理方法、装置和计算机存储介质,判断终端是否满足预设条件;在终端满足预设条件时,通过预设方式处理终端事件。如此,能实现在不能通过终端默认屏幕操作处理终端事件时,通过预设方式处理终端事件,从而实现方便快捷地处理终端事件,提高用户的体验度。The terminal event processing method and device and the computer storage medium provided by the embodiment of the present invention determine whether the terminal meets the preset condition; when the terminal meets the preset condition, the terminal event is processed in a preset manner. In this way, when the terminal event cannot be processed through the default screen operation of the terminal, the terminal event is processed in a preset manner, thereby implementing the terminal event conveniently and quickly, and improving the user experience.
附图说明DRAWINGS
图1为本发明实施例提供的一种终端事件处理方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a method for processing a terminal event according to an embodiment of the present invention;
图2为本发明实施例提供的一种终端事件处理装置的结构示意图;2 is a schematic structural diagram of a terminal event processing apparatus according to an embodiment of the present invention;
图3为本发明提供的一种终端事件处理方法具体实施例一的流程示意图;FIG. 3 is a schematic flowchart diagram of a first embodiment of a terminal event processing method according to the present invention;
图4为本发明提供的一种终端事件处理方法具体实施例二的流程示意图;4 is a schematic flowchart of a second embodiment of a method for processing a terminal event according to the present invention;
图5为本发明提供的一种终端事件处理方法具体实施例三的流程示意图。FIG. 5 is a schematic flowchart of a third embodiment of a terminal event processing method according to the present invention.
具体实施方式detailed description
在本发明实施例中,终端判断终端是否满足预设条件;在终端满足预设条件时,终端通过预设方式处理终端事件。In the embodiment of the present invention, the terminal determines whether the terminal meets the preset condition; when the terminal meets the preset condition, the terminal processes the terminal event in a preset manner.
下面结合附图和具体实施例,对本发明进一步详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The present invention is further described in detail with reference to the accompanying drawings and specific embodiments.
图1为本发明实施例提供的一种终端事件处理方法的流程示意图,如图1所示,该方法包括: FIG. 1 is a schematic flowchart of a method for processing a terminal event according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
步骤101:判断终端是否满足预设条件。Step 101: Determine whether the terminal meets the preset condition.
可选地,本步骤可以为,终端判断终端是否满足预设条件。Optionally, the step may be that the terminal determines whether the terminal meets the preset condition.
其中,所述终端可以为手机,或者可以为平板电脑等终端。The terminal may be a mobile phone, or may be a terminal such as a tablet computer.
可选地,本步骤的实现方式可以为方式一、方式二或者方式三。Optionally, the implementation manner of this step may be mode one, mode two, or mode three.
方式一,本步骤可以包括,在终端有终端事件发生时,终端判断处理该终端事件的无效默认屏幕操作的次数是否达到预设次数阈值;在该无效默认屏幕操作的次数达到预设次数阈值时,终端确认其满足预设条件,否则,终端确认其不满足预设条件。In the first step, the step may include: when the terminal has a terminal event, the terminal determines whether the number of invalid default screen operations for processing the terminal event reaches a preset number threshold; when the number of invalid default screen operations reaches a preset number threshold The terminal confirms that it meets the preset condition; otherwise, the terminal confirms that it does not satisfy the preset condition.
在方式一中,所述预设条件为处理终端事件的无效默认屏幕操作的次数达到预设次数阈值。In the first mode, the preset condition is that the number of invalid default screen operations for processing the terminal event reaches a preset number of times threshold.
其中,所述终端事件可以为来电事件,或者可以为收到短信事件,或者可以为解锁屏幕事件等终端事件。The terminal event may be an incoming call event, or may be a short message event, or may be a terminal event such as unlocking a screen event.
其中,所述无效默认屏幕操作是指无效的默认屏幕操作。如手机有来电事件发生,用户执行相应的默认屏幕操作接听来电,但由于终端屏幕灵敏度下降,用户执行的该默认屏幕操作未被手机识别出,因此用户未能成功接听来电,手机仍处于来电状态中;在该种情况下,用户执行的该默认屏幕操作即为无效默认屏幕操作。所述默认屏幕操作是指终端系统默认的处理终端事件的屏幕操作。如终端系统默认的处理来电事件的滑屏操作即为默认屏幕操作。The invalid default screen operation refers to an invalid default screen operation. If the mobile phone has an incoming call event, the user performs the corresponding default screen operation to answer the incoming call, but because the terminal screen sensitivity decreases, the default screen operation performed by the user is not recognized by the mobile phone, so the user fails to answer the incoming call, and the mobile phone is still in the incoming call state. Medium; in this case, the default screen action performed by the user is an invalid default screen action. The default screen operation refers to a screen operation of the terminal system that processes terminal events by default. If the terminal system defaults to the sliding operation of the incoming call event, it is the default screen operation.
其中,所述预设次数阈值可以根据用户需求或设计需求来设置。如在用户期望无效默认屏幕操作的次数达到三次时,即通过后续步骤102所述的预设方式处理终端事件时,该预设次数阈值即可设置为三。或者如在设计需求为无效默认屏幕操作的次数达到三次时,即通过后续步骤102所述的预设方式处理终端事件时,该预设次数阈值即可设置为三。The preset number of thresholds may be set according to user requirements or design requirements. If the number of times the user desires to invalidate the default screen operation reaches three times, that is, when the terminal event is processed by the preset manner described in the subsequent step 102, the preset number of times threshold may be set to three. Alternatively, if the number of times the design requirement is invalid for the default screen operation reaches three times, that is, when the terminal event is processed by the preset mode described in the subsequent step 102, the preset number of times threshold may be set to three.
可选地,所述在终端有终端事件发生时,终端判断处理该终端事件的 无效默认屏幕操作的次数是否达到预设次数阈值,可以包括,终端判断其是否有终端事件发生;在终端未有终端事件发生时,终端返回执行所述判断其是否有终端事件发生;在终端有终端事件发生时,终端判断处理该终端事件的默认屏幕操作对应的屏幕区域,是否有接收到默认屏幕操作;在接收到默认屏幕操作时,终端判断该默认屏幕操作是否已成功处理终端事件;在已成功处理终端事件时,终端不执行操作;在未成功处理终端事件时,终端对次数参数执行加一操作,并判断该次数参数值是否达到预设次数阈值;在未接收到默认屏幕操作时,终端判断本次终端事件是否已结束;在本次终端事件已结束时,终端返回执行所述判断其是否有终端事件发生;在本次终端事件未结束时,终端返回执行所述判断处理该终端事件的默认屏幕操作对应的屏幕区域,是否有接收到默认屏幕操作。Optionally, when the terminal has a terminal event, the terminal determines that the terminal event is processed. Whether the number of invalid default screen operations reaches the preset number threshold may include: the terminal determines whether there is a terminal event; when the terminal does not have a terminal event, the terminal returns to perform the determination to determine whether a terminal event occurs; When the terminal event occurs, the terminal determines whether the screen area corresponding to the default screen operation of the terminal event is processed, and whether the default screen operation is received; when receiving the default screen operation, the terminal determines whether the default screen operation has successfully processed the terminal event; When the terminal event is successfully processed, the terminal does not perform the operation; when the terminal event is not successfully processed, the terminal performs an additional operation on the number of times parameter, and determines whether the parameter value reaches the preset number threshold; if the default screen operation is not received The terminal determines whether the current terminal event has ended; when the current terminal event has ended, the terminal returns to perform the determining whether it has a terminal event; when the current terminal event is not completed, the terminal returns to perform the determining process. Screen area corresponding to the default screen operation of the terminal event Is there received the default screen.
其中,所述处理终端事件的默认屏幕操作对应的屏幕区域,如可以为接收接听手机来电的滑屏操作对应的屏幕区域,或者可以为接收拒绝接听手机来电的滑屏操作对应的屏幕区域。其中,所述次数参数是用于记录无效默认屏幕操作的次数的。The screen area corresponding to the default screen operation of the processing terminal event, for example, may be a screen area corresponding to a sliding screen operation for receiving an incoming call of the mobile phone, or may be a screen area corresponding to a sliding screen operation for rejecting the incoming call of the mobile phone. The number of times parameter is used to record the number of invalid default screen operations.
可选地,方式一可以包括,在终端有来电事件发生时,终端判断处理来电事件的无效滑屏操作的次数是否达到预设次数阈值;在次数达到预设次数阈值时,终端确认终端满足预设条件,否则,终端确认其不满足预设条件。即所述终端事件可以为来电事件;所述处理终端事件的无效默认屏幕操作可以为,处理来电事件的无效滑屏操作;所述预设条件可以为处理来电事件的无效滑屏操作的次数达到预设次数阈值。Optionally, the method 1 includes: when the terminal has an incoming call event, the terminal determines whether the number of invalid sliding operations for processing the incoming call event reaches a preset number of thresholds; when the number of times reaches a preset number of times, the terminal confirms that the terminal meets the preset Set the condition, otherwise, the terminal confirms that it does not meet the preset condition. That is, the terminal event may be an incoming call event; the invalid default screen operation of the processing terminal event may be an invalid sliding screen operation for processing an incoming call event; the preset condition may be that the number of invalid sliding screen operations for processing an incoming call event is reached The preset number of thresholds.
方式二,本步骤可以包括,终端判断终端周围环境的湿度值是否在预设湿度范围值内;在终端周围环境的湿度值在预设湿度范围值内时,终端确认终端满足预设条件,否则,终端确认终端不满足预设条件。In the second method, the terminal may include: determining, by the terminal, whether the humidity value of the environment surrounding the terminal is within a preset humidity range value; and when the humidity value of the environment surrounding the terminal is within the preset humidity range value, the terminal confirms that the terminal meets the preset condition, otherwise The terminal confirms that the terminal does not meet the preset condition.
在方式二中,所述预设条件为终端周围环境的湿度值在预设湿度范围 值内。In the second mode, the preset condition is that the humidity value of the environment around the terminal is in the preset humidity range. Within the value.
其中,所述预设湿度范围值可以根据终端屏幕的灵敏度来设置。如在实际测量中,若终端周围环境的湿度值超过m%RH时,终端屏幕上可能会存在水滴,导致终端屏幕的灵敏度下降,若终端周围环境的湿度值超过n%RH时,终端可能已落入水中,在该种情况下,该预设湿度范围值即可设置为m%RH~n%RH。The preset humidity range value may be set according to the sensitivity of the terminal screen. For example, in the actual measurement, if the humidity value of the environment around the terminal exceeds m%RH, water droplets may appear on the screen of the terminal, causing the sensitivity of the terminal screen to decrease. If the humidity value of the environment around the terminal exceeds n%RH, the terminal may have Falling into the water, in this case, the preset humidity range value can be set to m%RH to n%RH.
可选地,所述终端判断终端周围环境的湿度值是否在预设湿度范围值内,可以包括,终端的湿度传感器测量终端周围环境的湿度值;终端的处理器读取该湿度传感器测量获得的湿度值;终端判断该湿度值是否在预设湿度范围值内。Optionally, the terminal determines whether the humidity value of the environment around the terminal is within a preset humidity range value, and may include: the humidity sensor of the terminal measures a humidity value of the environment surrounding the terminal; and the processor of the terminal reads the measurement obtained by the humidity sensor. Humidity value; the terminal determines whether the humidity value is within a preset humidity range value.
方式三,本步骤可以包括,终端判断终端的温度值是否达到预设温度阈值;在终端的温度值达到预设温度阈值时,终端确认终端满足预设条件,否则,终端确认终端不满足预设条件。In the third manner, the terminal may include: determining, by the terminal, whether the temperature value of the terminal reaches a preset temperature threshold; when the temperature value of the terminal reaches the preset temperature threshold, the terminal confirms that the terminal meets the preset condition; otherwise, the terminal confirms that the terminal does not meet the preset. condition.
在方式三中,所述预设条件为终端的温度值达到预设温度阈值。In the third manner, the preset condition is that the temperature value of the terminal reaches a preset temperature threshold.
其中,所述预设温度阈值可以根据用户需求来设置。如若在终端的温度值达到m摄氏度时,用户即不期望使用默认屏幕操作来处理终端事件,而期望通过后续步骤102所述的预设方式处理终端事件时,该预设温度阈值即可设置为m。The preset temperature threshold may be set according to user requirements. If the user does not expect to use the default screen operation to process the terminal event when the temperature value of the terminal reaches m degrees Celsius, and the terminal event is expected to be processed by the preset mode described in the subsequent step 102, the preset temperature threshold may be set to m.
可选地,所述终端判断终端的温度值是否达到预设温度阈值,可以包括,终端的温度传感器测量终端的温度值;终端的处理器读取该温度传感器测量获得的温度值;终端判断该温度值是否达到预设温度阈值。Optionally, the terminal determining whether the temperature value of the terminal reaches the preset temperature threshold may include: the temperature sensor of the terminal measures the temperature value of the terminal; the processor of the terminal reads the temperature value measured by the temperature sensor; the terminal determines the Whether the temperature value reaches the preset temperature threshold.
步骤102:在终端满足预设条件时,通过预设方式处理终端事件。Step 102: When the terminal meets the preset condition, the terminal event is processed in a preset manner.
可选地,本步骤可以为,在终端满足预设条件时,终端通过预设方式处理终端事件。如此,能实现在不能通过终端默认屏幕操作处理终端事件时,通过预设方式处理终端事件,从而实现方便快捷地处理终端事件,提 高用户的体验度。Optionally, the step may be: when the terminal meets the preset condition, the terminal processes the terminal event by using a preset manner. In this way, it is possible to process the terminal event in a preset manner when the terminal event cannot be processed through the default screen operation of the terminal, thereby implementing the terminal event conveniently and quickly. High user experience.
其中,所述终端事件可以为来电事件,或者可以为收到短信事件,或者可以为解锁屏幕事件等终端事件。The terminal event may be an incoming call event, or may be a short message event, or may be a terminal event such as unlocking a screen event.
可选地,本步骤的实现方式可以为方式Ⅰ、方式Ⅱ或者方式Ⅲ。Optionally, the implementation manner of this step may be mode 1, mode II, or mode III.
方式Ⅰ,本步骤可以包括,在无效默认屏幕操作的次数达到预设次数阈值时,终端判断本次终端事件是否已结束;在本次终端事件已结束时,终端返回执行步骤101;在本次终端事件未结束时,终端提示用户使用预设操作处理终端事件。In the first step, the terminal may include: when the number of invalid default screen operations reaches the preset number of times threshold, the terminal determines whether the current terminal event has ended; when the current terminal event has ended, the terminal returns to step 101; When the terminal event is not over, the terminal prompts the user to process the terminal event using a preset operation.
在方式Ⅰ中,所述预设方式为提示用户使用预设操作处理终端事件。即本步骤102可以包括,在终端满足预设条件时,提示用户使用预设操作处理终端事件。In the mode 1, the preset manner is to prompt the user to process the terminal event by using a preset operation. That is, the step 102 may include prompting the user to process the terminal event by using a preset operation when the terminal meets the preset condition.
其中,所述预设操作可以为长按屏幕操作,或者可以为按压终端物理按键操作。可选地,由于在无效默认屏幕操作的次数达到预设次数阈值的情况下,通常为终端屏幕的灵敏度下降的情况,在该种情况下终端默认屏幕操作,如触摸终端屏幕操作或滑屏操作,可能不容易被终端识别出,因此,此时可以通过长按屏幕操作,或按压终端物理按键操作处理终端事件。如在手机有来电事件发生,且无效滑屏操作的次数达到预设次数阈值时,手机提示用户使用长按压手机屏幕显示的接听来电图标1至2秒操作,来接听手机来电,提示用户使用长按压手机屏幕显示的挂断来电图标1至2秒操作,来拒接手机来电;或者手机提示用户使用按压音量加按键操作,来接听手机来电,提示用户使用按压音量减按键操作,来挂断手机来电。The preset operation may be a long press operation, or may be a physical button operation of pressing the terminal. Optionally, since the sensitivity of the terminal screen is generally decreased in the case where the number of invalid default screen operations reaches the preset number of thresholds, in this case, the terminal defaults to a screen operation, such as a touch terminal screen operation or a sliding screen operation. It may not be easily recognized by the terminal. Therefore, the terminal event can be handled by long pressing the screen operation or pressing the physical button operation of the terminal. For example, when an incoming call event occurs on the mobile phone, and the number of invalid sliding screen operations reaches a preset number of thresholds, the mobile phone prompts the user to use the answering call icon displayed on the mobile phone screen for 1 to 2 seconds to answer the incoming call, prompting the user to use the long call. Press the hang up call icon displayed on the screen of the mobile phone for 1 to 2 seconds to reject the call from the mobile phone; or the mobile phone prompts the user to use the press volume plus button operation to answer the incoming call, prompting the user to use the press volume minus button operation to hang up the mobile phone Call.
可选地,在方式Ⅰ中,本步骤还可以包括,在本次终端事件未结束,且终端接收到预设操作时,终端根据该预设操作处理终端事件。可选地,所述终端提示用户使用预设操作处理终端事件,可以为,终端显示文字信息提示用户使用预设操作处理终端事件。或者可以为,终端播放音频信息 提示用户使用预设操作处理终端事件。Optionally, in the method, the step may further include: when the terminal event is not ended, and the terminal receives the preset operation, the terminal processes the terminal event according to the preset operation. Optionally, the terminal prompts the user to process the terminal event by using a preset operation, and the terminal may display the text information to prompt the user to process the terminal event by using a preset operation. Or it can be that the terminal plays audio information. Prompt the user to handle terminal events using preset actions.
可选地,所述方式Ⅰ可以为,在无效滑屏操作的次数达到预设次数阈值且本次来电事件未结束时,终端提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电;或者,在无效滑屏操作的次数达到预设次数阈值且本次来电事件未结束时,终端提示用户按压终端物理音量加按键接听来电,提示用户按压终端物理音量减按键拒接来电。所述终端事件可以为来电事件;所述处理终端事件的无效默认屏幕操作可以为,处理来电事件的无效滑屏操作;所述预设条件可以为处理来电事件的无效滑屏操作的次数达到预设次数阈值;所述预设操作可以为长按接听来电图标及长按挂断来电图标,或者可以为按压终端物理音量加按键及按压终端物理音量减按键。Optionally, the mode I may be: when the number of invalid sliding screen operations reaches a preset number threshold and the current incoming call event is not ended, the terminal prompts the user to press the answering call icon to answer the incoming call, prompting the user to press and hold the incoming call. The icon rejects the incoming call; or, when the number of invalid sliding screen operations reaches the preset number threshold and the current incoming call event does not end, the terminal prompts the user to press the physical volume of the terminal and the button to answer the incoming call, prompting the user to press the physical volume of the terminal minus the button to reject the call. Call. The terminal event may be an incoming call event; the invalid default screen operation of the processing terminal event may be an invalid sliding screen operation for processing an incoming call event; the preset condition may be that the number of invalid sliding screen operations for processing an incoming call event reaches a preset The preset threshold may be a long press answering call icon and a long press hang up call icon, or may press the terminal physical volume plus button and press the terminal physical volume minus button.
方式Ⅱ,本步骤可以包括,在终端周围环境的湿度值在预设湿度范围值内时,终端判断终端是否有终端事件发生;在终端没有终端事件发生时,终端返回执行步骤101;在终端有终端事件发生时,终端自动处理终端事件。In the mode II, the step may include: when the humidity value of the environment around the terminal is within the preset humidity range value, the terminal determines whether the terminal has a terminal event; when no terminal event occurs on the terminal, the terminal returns to step 101; When a terminal event occurs, the terminal automatically processes the terminal event.
在方式Ⅱ中,所述预设方式为终端自动处理终端事件。即本步骤102可以包括,在终端满足预设条件时,终端自动处理终端事件。In mode II, the preset mode is that the terminal automatically processes the terminal event. That is, the step 102 may include: when the terminal meets the preset condition, the terminal automatically processes the terminal event.
可选地,由于在终端周围环境的湿度值在预设湿度范围值内的情况下,通常为终端屏幕的灵敏度下降的情况,在该种情况下终端默认屏幕操作,如触摸终端屏幕操作或滑屏操作,可能不容易被终端识别出,因此,此时可以通过终端自动处理终端事件的方式来处理终端事件。如手机自动接听手机来电,或者手机自动显示接收到的短信等。Optionally, since the humidity of the environment around the terminal is within the preset humidity range value, the sensitivity of the terminal screen is generally decreased. In this case, the terminal defaults to a screen operation, such as touching the terminal screen operation or sliding. The screen operation may not be easily recognized by the terminal. Therefore, the terminal event can be handled by the terminal automatically processing the terminal event. For example, the mobile phone automatically answers the incoming call, or the mobile phone automatically displays the received short message.
可选地,在实际应用中,为了提高用户的体验度,所述在终端有终端事件发生时,终端自动处理终端事件,具体可以为,在终端有终端事件发生时,终端等待预设时间;在预设时间到达时,终端自动处理终端事件。即在终端有终端事件发生时,终端不立即自动处理终端事件,而是先等待 预设时间,让用户获知有终端事件发生,预设时间到达之后终端再自动处理终端事件。Optionally, in an actual application, in order to improve the user experience, when the terminal has a terminal event, the terminal automatically processes the terminal event, and specifically, when the terminal has a terminal event, the terminal waits for a preset time; The terminal automatically processes the terminal event when the preset time arrives. That is, when a terminal event occurs on the terminal, the terminal does not automatically process the terminal event immediately, but waits first. The preset time allows the user to know that a terminal event occurs, and the terminal automatically processes the terminal event after the preset time arrives.
其中,所述预设时间可以根据终端事件来设置。如在终端事件为来电事件时,若预设时间过长来电事件可能已结束,因此在此时预设时间可以设置为2至3秒。The preset time may be set according to a terminal event. For example, when the terminal event is an incoming call event, if the preset time is too long, the incoming call event may have ended, so the preset time can be set to 2 to 3 seconds at this time.
可选地,方式Ⅱ可以为,在终端周围环境的湿度值在预设湿度范围值内时,终端自动接听来电。即所述预设条件可以为终端周围环境的湿度值在预设湿度范围值内;所述预设方式可以为终端自动接听来电。Optionally, the mode II may be that the terminal automatically answers the incoming call when the humidity value of the environment around the terminal is within the preset humidity range value. That is, the preset condition may be that the humidity value of the environment surrounding the terminal is within the preset humidity range value; the preset mode may be that the terminal automatically answers the incoming call.
方式Ⅲ,本步骤可以包括,在终端的温度值达到预设温度阈值时,终端判断终端是否有终端事件发生;在终端没有终端事件发生时,终端返回执行步骤101;在终端有终端事件发生时,终端自动处理终端事件。In the third mode, the step may include: when the temperature value of the terminal reaches the preset temperature threshold, the terminal determines whether the terminal has a terminal event; when no terminal event occurs on the terminal, the terminal returns to step 101; when the terminal has a terminal event The terminal automatically processes the terminal event.
在方式Ⅲ中,所述预设方式为终端自动处理终端事件。即本步骤102可以包括,在终端满足预设条件时,终端自动处理终端事件。In mode III, the preset mode is that the terminal automatically processes the terminal event. That is, the step 102 may include: when the terminal meets the preset condition, the terminal automatically processes the terminal event.
其中,所述终端自动处理终端事件,如可以为手机自动接听手机来电,或者可以为手机自动开启免提模式接听手机来电等。可选地,如在手机同时运行游戏应用程序、A应用程序及B应用程序等多个应用程序时,手机的温度可能会过高,即手机可能会过热,此时用户可能不期望使用默认屏幕操作来处理手机来电事件,手机即可自动开启免提模式接听手机来电。从而可以避免用户的耳朵及手指接触到手机,即避免用户的耳朵及手指产生发烫的感觉。The terminal automatically processes the terminal event, for example, the mobile phone can automatically answer the mobile phone call, or the mobile phone can automatically turn on the hands-free mode to answer the mobile phone call. Alternatively, if multiple applications such as a game application, an A application, and a B application are run simultaneously on the mobile phone, the temperature of the mobile phone may be too high, that is, the mobile phone may overheat, and the user may not expect to use the default screen. Operation to handle the incoming call event of the mobile phone, the mobile phone can automatically turn on the hands-free mode to answer the incoming call. Therefore, the user's ear and fingers can be prevented from coming into contact with the mobile phone, that is, the user's ear and fingers are prevented from being hot.
可选地,方式Ⅲ可以为,在终端的温度值达到预设温度阈值时,终端自动开启免提模式接听来电。即所述预设条件可以为终端的温度值达到预设温度阈值;所述预设方式可以为终端自动开启免提模式接听来电。Optionally, the mode III may be: when the temperature value of the terminal reaches the preset temperature threshold, the terminal automatically turns on the hands-free mode to answer the incoming call. That is, the preset condition may be that the temperature value of the terminal reaches a preset temperature threshold; the preset mode may be that the terminal automatically turns on the hands-free mode to answer the incoming call.
需说明的是,本发明实施例提供的终端事件处理方法还可以包括,在终端不满足预设条件时,终端通过默认屏幕操作处理终端事件。如在手机 屏幕灵敏度未下降时,手机可以通过滑屏操作处理来电事件。It should be noted that the terminal event processing method provided by the embodiment of the present invention may further include: when the terminal does not meet the preset condition, the terminal processes the terminal event by using a default screen operation. As in the phone When the screen sensitivity is not lowered, the phone can handle the incoming call event through the sliding screen operation.
需说明的是,为了在方便快捷地处理终端事件的基础上,进一步保护终端,本发明实施例提供的终端事件处理方法还可以包括,在终端周围环境的湿度值超过预设湿度范围值的最大值时,终端自动关机。如所述预设湿度范围值为m%RH~n%RH,在终端周围环境的湿度值超过n%RH时,此时终端可能已落入水中,因此终端可以自动关机来保护终端。It should be noted that, in order to further protect the terminal, the terminal event processing method provided by the embodiment of the present invention may further include: the humidity value of the environment surrounding the terminal exceeds the maximum value of the preset humidity range value. When the value is changed, the terminal automatically shuts down. If the preset humidity range value is m%RH~n%RH, when the humidity value of the environment around the terminal exceeds n%RH, the terminal may have fallen into the water at this time, so the terminal can automatically shut down to protect the terminal.
为了实现上述方法,本发明公开了一种终端事件处理装置。In order to implement the above method, the present invention discloses a terminal event processing apparatus.
图2为本发明实施例提供的一种终端事件处理装置的结构示意图,如图2所示,所述终端事件处理装置包括:2 is a schematic structural diagram of a terminal event processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the terminal event processing apparatus includes:
判断模块201,配置为判断终端是否满足预设条件;The determining module 201 is configured to determine whether the terminal meets the preset condition;
处理模块202,配置为在所述终端满足所述预设条件时,通过预设方式处理终端事件。The processing module 202 is configured to process the terminal event in a preset manner when the terminal meets the preset condition.
进一步,所述判断模块201,配置为在终端有来电事件发生时,判断处理所述来电事件的无效滑屏操作的次数是否达到预设次数阈值;在所述次数达到所述预设次数阈值时,确认所述终端满足预设条件。Further, the determining module 201 is configured to determine, when the terminal has an incoming call event, whether the number of invalid sliding screen operations of the incoming call event reaches a preset number of times threshold; when the number of times reaches the preset number of times threshold Confirm that the terminal meets the preset condition.
进一步,所述处理模块202,配置为在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电;或者,在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户按压终端物理音量加按键接听来电,提示用户按压终端物理音量减按键拒接来电。Further, the processing module 202 is configured to prompt the user to press and receive the incoming call icon to answer the incoming call when the number of times reaches the preset number of times threshold and the current incoming call event is not finished, prompting the user to press and hold the hanging call icon to reject the call. If the number of times reaches the preset number threshold and the current incoming call event does not end, the user is prompted to press the physical volume of the terminal and the button to answer the incoming call, prompting the user to press the physical volume of the terminal minus the button to reject the incoming call.
进一步,所述判断模块201,配置为判断终端周围环境的湿度值是否在预设湿度范围值内;在所述湿度值在所述预设湿度范围值内时,确认所述终端满足预设条件。Further, the determining module 201 is configured to determine whether the humidity value of the environment surrounding the terminal is within a preset humidity range value; and when the humidity value is within the preset humidity range value, confirm that the terminal meets the preset condition .
进一步,所述判断模块201,配置为判断终端的温度值是否达到预设温度阈值;在所述温度值达到所述预设温度阈值时,确认所述终端满足预设 条件。Further, the determining module 201 is configured to determine whether the temperature value of the terminal reaches a preset temperature threshold; when the temperature value reaches the preset temperature threshold, confirm that the terminal meets the preset condition.
进一步,所述处理模块202,配置为在所述终端满足所述预设条件时,终端自动接听来电或自动开启免提模式接听来电。Further, the processing module 202 is configured to: when the terminal meets the preset condition, the terminal automatically answers the incoming call or automatically turns on the hands-free mode to answer the incoming call.
在实际应用中,所述判断模块201、处理模块202均可由位于终端中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。In practical applications, the determining module 201 and the processing module 202 may each be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), and a Digital Signal Processor (Digital Signal Processor) located in the terminal. , DSP), or Field Programmable Gate Array (FPGA) implementation.
图3为本发明提供的一种终端事件处理方法具体实施例一的流程示意图,如图3所示,具体步骤包括:FIG. 3 is a schematic flowchart of a first embodiment of a terminal event processing method according to the present invention. As shown in FIG. 3, the specific steps include:
步骤301:判断手机是否有来电事件发生。Step 301: Determine whether the mobile phone has an incoming call event.
可选地,本步骤可以为,手机判断其是否有来电事件发生。Optionally, the step may be that the mobile phone determines whether an incoming call event occurs.
在手机有来电事件发生时手机执行步骤302,否则,手机执行步骤301。When the mobile phone has an incoming call event, the mobile phone performs step 302. Otherwise, the mobile phone performs step 301.
步骤302:在接收到滑屏操作时,判断该滑屏操作是否已成功处理来电事件。Step 302: When receiving the sliding screen operation, determine whether the sliding screen operation has successfully processed the incoming call event.
可选地,本步骤可以为,在接收到滑屏操作时,手机判断该滑屏操作是否已成功处理来电事件。Optionally, the step may be: when receiving the sliding screen operation, the mobile phone determines whether the sliding operation has successfully processed the incoming call event.
在未成功处理来电事件时手机执行骤303,在已成功处理来电事件时手机执行骤301。The mobile phone performs step 303 when the incoming call event is not successfully processed, and the mobile phone performs step 301 when the incoming call event has been successfully processed.
步骤303:对次数参数执行加一操作,并判断该次数参数值是否达到三次。Step 303: Perform an additional operation on the number of times parameter, and determine whether the parameter value of the number of times reaches three times.
可选地,本步骤可以为,手机对次数参数执行加一操作,并判断该次数参数值是否达到三次。Optionally, in this step, the mobile phone performs an additional operation on the number of times parameter, and determines whether the parameter value of the number of times reaches three times.
步骤304:判断本次来电事件是否已结束。Step 304: Determine whether the current incoming call event has ended.
可选地,本步骤可以为,手机判断本次来电事件是否已结束。Optionally, this step may be: the mobile phone determines whether the current incoming call event has ended.
在本次来电事件未结束,且无效滑屏操作的次数达到三次时,手机执 行步骤305;在本次来电事件未结束,且无效滑屏操作的次数未达到三次时,手机执行步骤302;在本次来电事件已结束时,手机执行步骤301。When the current incoming call event has not ended, and the number of invalid sliding screen operations reaches three times, the mobile phone is executed. Step 305: When the current incoming call event has not ended, and the number of invalid sliding screen operations has not reached three times, the mobile phone performs step 302; when the current incoming call event has ended, the mobile phone performs step 301.
步骤305:显示文字信息提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电。Step 305: Displaying the text message prompting the user to press the answering call icon to answer the incoming call, prompting the user to press the hanging call icon to reject the incoming call.
可选地,本步骤可以为,手机显示文字信息提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电。Optionally, in this step, the mobile phone displays a text message prompting the user to press the incoming call icon to answer the incoming call, and prompting the user to press the hanging call icon to reject the incoming call.
可选地,在本实施例一中,图1中所述的预设方式为提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电。Optionally, in the first embodiment, the preset manner in FIG. 1 is to prompt the user to press and receive the incoming call icon to answer the incoming call, and prompt the user to press the hanging call icon to reject the incoming call.
步骤306:根据接收到的操作处理来电事件。Step 306: Process an incoming call event according to the received operation.
可选地,本步骤可以为,手机根据接收到的操作处理来电事件。Optionally, this step may be that the mobile phone processes the incoming call event according to the received operation.
如此,能实现在不能通过手机默认屏幕操作处理来电事件时,通过长按屏幕操作处理来电事件,从而实现方便快捷地处理来电事件,提高用户的体验度。In this way, when an incoming call event cannot be processed through the default screen operation of the mobile phone, the incoming call event is processed by long-pressing the screen operation, thereby facilitating the convenient and quick handling of the incoming call event and improving the user experience.
图4为本发明提供的一种终端事件处理方法具体实施例二的流程示意图,如图4所示,具体步骤包括:FIG. 4 is a schematic flowchart of a second embodiment of a method for processing a terminal event according to the present invention. As shown in FIG. 4, the specific steps include:
步骤401:判断手机周围环境的湿度值是否在预设湿度范围值内。Step 401: Determine whether the humidity value of the environment around the mobile phone is within a preset humidity range value.
可选地,本步骤可以为,手机判断其周围环境的湿度值是否在预设湿度范围值内。Optionally, the step may be: the mobile phone determines whether the humidity value of the surrounding environment is within a preset humidity range value.
其中,所述预设湿度范围值可以根据手机屏幕的灵敏度来设置。如在实际测量中,若手机周围环境的湿度值超过m%RH时,手机屏幕上可能会存在水滴,导致手机屏幕的灵敏度下降,若手机周围环境的湿度值超过n%RH时,手机可能已落入水中,在该种情况下,该预设湿度范围值即可设置为m%RH~n%RH。The preset humidity range value may be set according to the sensitivity of the screen of the mobile phone. For example, in the actual measurement, if the humidity value of the surrounding environment of the mobile phone exceeds m%RH, there may be water droplets on the screen of the mobile phone, which may cause the sensitivity of the screen of the mobile phone to decrease. If the humidity value of the environment around the mobile phone exceeds n% RH, the mobile phone may have Falling into the water, in this case, the preset humidity range value can be set to m%RH to n%RH.
在手机周围环境的湿度值未超过预设湿度范围值的最小值时,即未超过最小值时,如未超过m%RH时,手机执行步骤401;在手机周围环境的 湿度值超过预设湿度范围值的最大值时,即超过最大值时,如超过n%RH时,手机执行步骤402;在手机周围环境的湿度值在预设湿度范围值内时,手机执行步骤403。When the humidity value of the environment around the mobile phone does not exceed the minimum value of the preset humidity range value, that is, when the minimum value is not exceeded, if the m% RH is not exceeded, the mobile phone performs step 401; When the humidity value exceeds the maximum value of the preset humidity range value, that is, when the maximum value is exceeded, if the value exceeds n% RH, the mobile phone performs step 402; when the humidity value of the surrounding environment of the mobile phone is within the preset humidity range value, the mobile phone performs steps. 403.
步骤402:自动关机。Step 402: Automatically shut down.
可选地,本步骤可以为,手机自动关机。Optionally, this step may be that the mobile phone automatically shuts down.
步骤403:判断手机是否有来电事件发生。Step 403: Determine whether the mobile phone has an incoming call event.
可选地,本步骤可以为,手机判断其是否有来电事件发生。Optionally, the step may be that the mobile phone determines whether an incoming call event occurs.
在手机有来电事件发生时,手机执行步骤404;在手机没有来电事件发生时,手机执行步骤401。When the mobile phone has an incoming call event, the mobile phone performs step 404; when the mobile phone has no incoming call event, the mobile phone performs step 401.
步骤404:自动接听来电事件。Step 404: Automatically answer the incoming call event.
可选地,本步骤可以为,手机自动接听来电事件。Optionally, this step may be that the mobile phone automatically answers the incoming call event.
可选地,在本实施例二中,图1中所述的预设方式为手机自动接听来电事件。Optionally, in the second embodiment, the preset mode described in FIG. 1 is that the mobile phone automatically answers an incoming call event.
如此,能实现在不能通过手机默认屏幕操作处理来电事件时,自动接听来电事件;同时,实现在手机落入水中时,自动关机;从而实现方便快捷地处理来电事件,保护手机,提高用户的体验度。In this way, it is possible to automatically answer the incoming call event when the incoming call event cannot be handled by the default screen operation of the mobile phone; at the same time, it automatically shuts down when the mobile phone falls into the water; thereby facilitating the convenient and quick handling of the incoming call event, protecting the mobile phone and improving the user experience. degree.
图5为本发明提供的一种终端事件处理方法具体实施例三的流程示意图,如图5所示,具体步骤包括:FIG. 5 is a schematic flowchart of a third embodiment of a method for processing a terminal event according to the present invention. As shown in FIG. 5, the specific steps include:
步骤501:判断手机的温度值是否达到预设温度阈值。Step 501: Determine whether the temperature value of the mobile phone reaches a preset temperature threshold.
可选地,本步骤可以为,手机判断其温度值是否达到预设温度阈值。Optionally, the step may be: the mobile phone determines whether the temperature value reaches a preset temperature threshold.
其中,所述预设温度阈值可以根据用户需求来设置。如若在手机的温度值达到m摄氏度时,用户即不期望使用默认屏幕操作来处理来电事件时,该预设温度阈值即可设置为m。The preset temperature threshold may be set according to user requirements. If the user does not expect to use the default screen operation to process the incoming call event when the temperature of the mobile phone reaches m degrees Celsius, the preset temperature threshold can be set to m.
在手机的温度值未达到预设温度阈值时,手机执行步骤501;在手机的温度值达到预设温度阈值时,手机执行步骤502。 When the temperature value of the mobile phone does not reach the preset temperature threshold, the mobile phone performs step 501; when the temperature value of the mobile phone reaches the preset temperature threshold, the mobile phone performs step 502.
步骤502:判断手机是否有来电事件发生。Step 502: Determine whether the mobile phone has an incoming call event.
可选地,本步骤可以为,手机判断其是否有来电事件发生。Optionally, the step may be that the mobile phone determines whether an incoming call event occurs.
在手机有来电事件发生时,手机执行步骤503;在手机没有来电事件发生时,手机执行步骤501。When the mobile phone has an incoming call event, the mobile phone performs step 503; when the mobile phone has no incoming call event, the mobile phone performs step 501.
步骤503:自动开启免提模式接听来电事件。Step 503: Automatically turn on the hands-free mode to answer the incoming call event.
可选地,本步骤可以为,手机自动开启免提模式接听来电事件。Optionally, this step may be that the mobile phone automatically turns on the hands-free mode to answer the incoming call event.
可选地,在本实施例三中,图1中所述的预设方式为手机自动开启免提模式接听来电事件。Optionally, in the third embodiment, the preset mode described in FIG. 1 is that the mobile phone automatically turns on the hands-free mode to answer the incoming call event.
如此,能实现在不能通过手机默认屏幕操作处理来电事件时,自动开启免提模式接听来电事件,从而实现方便快捷地处理来电事件,避免用户的耳朵及手指接触到手机,即避免用户的耳朵及手指产生发烫的感觉,提高用户的体验度。In this way, when the incoming call event cannot be handled by the default screen operation of the mobile phone, the hands-free mode is automatically turned on to answer the incoming call event, thereby facilitating the convenient and quick handling of the incoming call event, and avoiding the user's ear and fingers touching the mobile phone, that is, avoiding the user's ear and The fingers produce a hot feeling and improve the user experience.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令可以执行至少一种前述终端事件处理方法,例如可用于执行图1、图3至图5所示方法的至少其中之一。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions can execute at least one of the foregoing terminal event processing methods, for example, can be used to execute FIG. 3 to at least one of the methods shown in FIG.
所述计算机存储介质可为光盘、硬盘或磁盘等各种存储介质,可选为非瞬间存储介质。The computer storage medium may be various storage media such as an optical disk, a hard disk, or a magnetic disk, and may be a non-transitory storage medium.
以上所述仅为本发明的优选实施例,并不局限于本发明,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. The modifications made in accordance with the principles of the present invention are understood to fall within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中,终端在满足预设条件,例如终端检测到无效滑动次数达到预设次数阈值或周围环境的湿度值在预设湿度范围内时,终端将通过预设方法是处理终端事件,减少终端在预设条件下的不响应或响应错误或延迟响应等现象。 In the embodiment of the present invention, when the terminal meets the preset condition, for example, when the terminal detects that the number of invalid sliding times reaches the preset number of times threshold or the humidity value of the surrounding environment is within the preset humidity range, the terminal will process the terminal event by using a preset method. Reduce the terminal's non-response or response error or delayed response under preset conditions.

Claims (13)

  1. 一种终端事件处理方法,所述方法包括:A terminal event processing method, the method comprising:
    判断终端是否满足预设条件;Determining whether the terminal meets the preset condition;
    在所述终端满足所述预设条件时,通过预设方式处理终端事件。When the terminal meets the preset condition, the terminal event is processed in a preset manner.
  2. 根据权利要求1所述的方法,其中,所述判断终端是否满足预设条件,包括:The method according to claim 1, wherein the determining whether the terminal satisfies a preset condition comprises:
    在终端有来电事件发生时,判断处理所述来电事件的无效滑屏操作的次数是否达到预设次数阈值;When the terminal has an incoming call event, determining whether the number of invalid sliding screen operations for processing the incoming call event reaches a preset number of thresholds;
    在所述次数达到所述预设次数阈值时,确认所述终端满足预设条件。When the number of times reaches the preset number of times threshold, it is confirmed that the terminal satisfies a preset condition.
  3. 根据权利要求2所述的方法,其中,所述在所述终端满足所述预设条件时,通过预设方式处理终端事件,包括:The method according to claim 2, wherein the processing of the terminal event in a preset manner when the terminal satisfies the preset condition comprises:
    在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电;或者,When the number of times reaches the preset number threshold and the current call event does not end, the user is prompted to press the answering call icon to answer the call, prompting the user to press the hanging call icon to reject the call; or
    在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户按压终端物理音量加按键接听来电,提示用户按压终端物理音量减按键拒接来电。When the number of times reaches the preset number threshold and the current incoming call event is not ended, the user is prompted to press the physical volume of the terminal and the button to answer the incoming call, prompting the user to press the physical volume of the terminal minus the button to reject the incoming call.
  4. 根据权利要求1所述的方法,其中,所述判断终端是否满足预设条件,包括:The method according to claim 1, wherein the determining whether the terminal satisfies a preset condition comprises:
    判断终端周围环境的湿度值是否在预设湿度范围值内;Determining whether the humidity value of the environment around the terminal is within a preset humidity range value;
    在所述湿度值在所述预设湿度范围值内时,确认所述终端满足预设条件。When the humidity value is within the preset humidity range value, it is confirmed that the terminal satisfies a preset condition.
  5. 根据权利要求1所述的方法,其中,所述判断终端是否满足预设条件,包括: The method according to claim 1, wherein the determining whether the terminal satisfies a preset condition comprises:
    判断终端的温度值是否达到预设温度阈值;Determining whether the temperature value of the terminal reaches a preset temperature threshold;
    在所述温度值达到所述预设温度阈值时,确认所述终端满足预设条件。When the temperature value reaches the preset temperature threshold, it is confirmed that the terminal satisfies a preset condition.
  6. 根据权利要求4或5所述的方法,其中,所述在所述终端满足所述预设条件时,通过预设方式处理终端事件,包括:The method according to claim 4 or 5, wherein the processing of the terminal event by the preset mode when the terminal satisfies the preset condition comprises:
    在所述终端满足所述预设条件时,终端自动接听来电或自动开启免提模式接听来电。When the terminal meets the preset condition, the terminal automatically answers the incoming call or automatically turns on the hands-free mode to answer the incoming call.
  7. 一种终端事件处理装置,所述装置包括:A terminal event processing device, the device comprising:
    判断模块,配置为判断终端是否满足预设条件;The determining module is configured to determine whether the terminal meets the preset condition;
    处理模块,配置为在所述终端满足所述预设条件时,通过预设方式处理终端事件。The processing module is configured to process the terminal event in a preset manner when the terminal meets the preset condition.
  8. 根据权利要求7所述的装置,其中,所述判断模块,配置为在终端有来电事件发生时,判断处理所述来电事件的无效滑屏操作的次数是否达到预设次数阈值;在所述次数达到所述预设次数阈值时,确认所述终端满足预设条件。The device of claim 7, wherein the determining module is configured to determine, when the terminal has an incoming call event, whether the number of invalid sliding screen operations for processing the incoming call event reaches a preset number of thresholds; When the preset number threshold is reached, it is confirmed that the terminal satisfies a preset condition.
  9. 根据权利要求8所述的装置,其中,所述处理模块,配置为在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户长按接听来电图标接听来电,提示用户长按挂断来电图标拒接来电;或者,在所述次数达到所述预设次数阈值且本次来电事件未结束时,提示用户按压终端物理音量加按键接听来电,提示用户按压终端物理音量减按键拒接来电。The device according to claim 8, wherein the processing module is configured to prompt the user to press the answering call icon to answer the incoming call when the number of times reaches the preset number of times threshold and the current incoming call event is not finished, prompting the user Long press the hang up call icon to reject the call; or, when the number of times reaches the preset number threshold and the current call event does not end, the user is prompted to press the physical volume of the terminal and the button to answer the call, prompting the user to press the terminal physical volume minus The button rejects the call.
  10. 根据权利要求7所述的装置,其中,所述判断模块,配置为判断终端周围环境的湿度值是否在预设湿度范围值内;在所述湿度值在所述预设湿度范围值内时,确认所述终端满足预设条件。The device according to claim 7, wherein the determining module is configured to determine whether a humidity value of an environment surrounding the terminal is within a preset humidity range value; and when the humidity value is within the preset humidity range value, Confirm that the terminal meets the preset condition.
  11. 根据权利要求7所述的装置,其中,所述判断模块,配置为判断终端的温度值是否达到预设温度阈值;在所述温度值达到所述预设温度阈值时,确认所述终端满足预设条件。 The device of claim 7, wherein the determining module is configured to determine whether the temperature value of the terminal reaches a preset temperature threshold; and when the temperature value reaches the preset temperature threshold, confirm that the terminal satisfies the pre- Set conditions.
  12. 根据权利要求10或11所述的装置,其中,所述处理模块,配置为在所述终端满足所述预设条件时,提示用户使用预设操作处理终端事件;或者,在所述终端满足所述预设条件时,终端自动接听来电或自动开启免提模式接听来电。The device according to claim 10 or 11, wherein the processing module is configured to prompt the user to process the terminal event using a preset operation when the terminal meets the preset condition; or, the terminal satisfies the When the preset conditions are described, the terminal automatically answers the call or automatically turns on the hands-free mode to answer the call.
  13. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6所述终端事件处理方法的至少其中之一。 A computer storage medium having stored therein computer executable instructions for performing at least one of the terminal event processing methods of claims 1 to 6.
PCT/CN2016/074286 2016-01-11 2016-02-22 Terminal event processing method, device and computer storage medium WO2017121003A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610015340.0 2016-01-11
CN201610015340.0A CN106959802A (en) 2016-01-11 2016-01-11 A kind of terminal affair processing method and processing device

Publications (1)

Publication Number Publication Date
WO2017121003A1 true WO2017121003A1 (en) 2017-07-20

Family

ID=59310857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074286 WO2017121003A1 (en) 2016-01-11 2016-02-22 Terminal event processing method, device and computer storage medium

Country Status (2)

Country Link
CN (1) CN106959802A (en)
WO (1) WO2017121003A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624989A (en) * 2012-03-30 2012-08-01 深圳市金立通信设备有限公司 Automatic detecting system and method for contextual model of smart mobile phone
US20120249470A1 (en) * 2011-03-31 2012-10-04 Kabushiki Kaisha Toshiba Electronic device and control method
CN103167123A (en) * 2012-07-24 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving automatic answering of incoming call of mobile phone based on range sensor
CN104065804A (en) * 2013-10-31 2014-09-24 苏州天鸣信息科技有限公司 Cellphone for realizing call answering and unlocking based on temperatures and displacements and method thereof
CN104156120A (en) * 2014-08-22 2014-11-19 广东欧珀移动通信有限公司 Touch mode switching method and device and mobile device
US8902172B2 (en) * 2006-12-07 2014-12-02 Cypress Semiconductor Corporation Preventing unintentional activation of a touch-sensor button caused by a presence of conductive liquid on the touch-sensor button

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8902172B2 (en) * 2006-12-07 2014-12-02 Cypress Semiconductor Corporation Preventing unintentional activation of a touch-sensor button caused by a presence of conductive liquid on the touch-sensor button
US20120249470A1 (en) * 2011-03-31 2012-10-04 Kabushiki Kaisha Toshiba Electronic device and control method
CN102624989A (en) * 2012-03-30 2012-08-01 深圳市金立通信设备有限公司 Automatic detecting system and method for contextual model of smart mobile phone
CN103167123A (en) * 2012-07-24 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving automatic answering of incoming call of mobile phone based on range sensor
CN104065804A (en) * 2013-10-31 2014-09-24 苏州天鸣信息科技有限公司 Cellphone for realizing call answering and unlocking based on temperatures and displacements and method thereof
CN104156120A (en) * 2014-08-22 2014-11-19 广东欧珀移动通信有限公司 Touch mode switching method and device and mobile device

Also Published As

Publication number Publication date
CN106959802A (en) 2017-07-18

Similar Documents

Publication Publication Date Title
US10551984B2 (en) Methods for detecting device context in order to alter touch capacitance
WO2017032068A1 (en) Text message viewing method and user terminal
JP5465076B2 (en) Mobile terminal device
CN105511686B (en) Call processing method, device and terminal electronic device
CN103970443B (en) A kind of terminal and terminal display control method
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
CN107395867B (en) Convenient call method and system for mobile terminal
WO2017008378A1 (en) Information prompt method and device, and terminal
KR101971008B1 (en) Control method for terminal using context-aware and terminal thereof
CN104202485B (en) A kind of safety call method, device and mobile terminal
CN104821996B (en) A kind of method and system for answering or hanging up mobile terminal
WO2019128191A1 (en) Method for processing call request, and mobile terminal and readable storage medium
CN106325623B (en) The method, apparatus and terminal device of touch are monitored on the touchscreen
US11706346B2 (en) Managing queued voice calls
CN106603801B (en) Call recording method and device
CN108712563B (en) Call control method and device and mobile terminal
US9197760B2 (en) Hand activated mode setting
EP3035172A1 (en) Method and device for activating operation state of mobile terminal
CN105204713A (en) Incoming call responding method and device
US20160156761A1 (en) Handling voice calls
US10353504B2 (en) User interface for computing devices equipped with pressure-sensitive displays
TWI583169B (en) Calling system and method based on network communication software
WO2017121003A1 (en) Terminal event processing method, device and computer storage medium
CN108683805B (en) Incoming call processing method, mobile terminal and computer readable storage medium
CN112187973B (en) Terminal equipment and method for processing incoming call

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16884565

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16884565

Country of ref document: EP

Kind code of ref document: A1