CN107168631B - Application program closing method and device and terminal electronic equipment - Google Patents

Application program closing method and device and terminal electronic equipment Download PDF

Info

Publication number
CN107168631B
CN107168631B CN201610130254.4A CN201610130254A CN107168631B CN 107168631 B CN107168631 B CN 107168631B CN 201610130254 A CN201610130254 A CN 201610130254A CN 107168631 B CN107168631 B CN 107168631B
Authority
CN
China
Prior art keywords
user
touch key
pressing operation
touch
instruction
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.)
Expired - Fee Related
Application number
CN201610130254.4A
Other languages
Chinese (zh)
Other versions
CN107168631A (en
Inventor
王刚
李国盛
刘伟光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610130254.4A priority Critical patent/CN107168631B/en
Publication of CN107168631A publication Critical patent/CN107168631A/en
Application granted granted Critical
Publication of CN107168631B publication Critical patent/CN107168631B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

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

Abstract

The application discloses an application program closing method and device and terminal electronic equipment. The application program closing method is applied to terminal electronic equipment, the terminal electronic equipment comprises a touch key area, the touch key area comprises a pressure sensing element, and the method comprises the following steps: when the screen of the terminal electronic equipment is bright, detecting the pressing operation of a user on a touch key in a touch key area; when the pressing operation is detected, determining whether a user instruction is an instruction for closing all application programs according to the pressing operation; and closing all application programs currently operated by the terminal electronic equipment when the user instruction is determined to be the instruction for closing all application programs. The application program closing method can provide a convenient method for closing the application program for a user, and the user experience is good.

Description

应用程序关闭方法、装置及终端电子设备Application program closing method, device and terminal electronic device

技术领域technical field

本公开涉及通信技术领域,具体而言,涉及一种应用程序关闭方法、装置及终端电子设备。The present disclosure relates to the field of communication technologies, and in particular, to a method, an apparatus, and a terminal electronic device for closing an application program.

背景技术Background technique

如图1所示的终端电子设备(如智能手机、平板电脑等)包括可视区(View Area,VA)1和触控按键区2。在可视区1内除了具有显示功能外,还可通过感测用户的触控动作对终端电子设备进行操作。而在触控按键区2设置有至少一个触控按键,图1中以3个触控按键S1、S2及S3为例,用户可以通过触控位于触控按键区2的触控按键S来对终端电子设备进行操作。但目前,触控按键区2中的触控按键仅可以感测触控对象的位置信息,当触控对象触摸触控按键区2时,根据触控对象的触摸位置定位到其所触摸的触控按键,从而执行相应操作。A terminal electronic device (such as a smart phone, a tablet computer, etc.) as shown in FIG. 1 includes a view area (View Area, VA) 1 and a touch key area 2 . In addition to the display function in the visible area 1, the terminal electronic device can also be operated by sensing the touch action of the user. The touch key area 2 is provided with at least one touch key. Taking the three touch keys S1, S2 and S3 as an example in FIG. 1, the user can touch the touch key S located in the touch key area 2 to adjust the Terminal electronic equipment to operate. But at present, the touch keys in the touch key area 2 can only sense the position information of the touch object. When the touch object touches the touch key area 2, the touch object is located according to the touch position of the touch object. key to perform the corresponding operation.

目前当需要关闭终端电子设备后台运行的所有应用程序(APP)时,通常需要触摸两个不同按键来实现。首先,触摸如图1所示的触控按键区2中的触控按键S1,使后台正在运行的所有应用程序的图标出现在当前用户界面中;其次,通过触摸可视区1中显示的当前用户界面所提供的结束所有运行程序的虚拟按键,来结束当前运行的所有运行程序。At present, when all application programs (APPs) running in the background of the terminal electronic device need to be closed, it is usually necessary to touch two different keys to achieve this. First, touch the touch key S1 in the touch key area 2 shown in FIG. 1 to make the icons of all applications running in the background appear in the current user interface; The user interface provides a virtual key for ending all running programs to end all running programs currently running.

有上述操作可以发现,用户需要通过触摸不同按键来实现关闭当前所有后台运行程序,而这两个按键所在的位置不同,一个为触控按键区2中的触控按键,而另一个为可视区1中的虚拟按键。显然这样的操作是不方便的,例如在用户仅能单手操作终端电子设备,或者终端电子设备在包里或兜里未拿出时。From the above operations, it can be found that the user needs to touch different buttons to close all current background running programs, and the two buttons are located in different positions, one is the touch button in the touch button area 2, and the other is the visual button. Virtual keys in zone 1. Obviously, such an operation is inconvenient, for example, when the user can only operate the terminal electronic device with one hand, or when the terminal electronic device is not taken out in a bag or pocket.

发明内容SUMMARY OF THE INVENTION

本公开提供一种应用程序关闭方法、装置及终端电子设备,能够为用户提供一种便捷的应用程序处理方式。The present disclosure provides a method, device and terminal electronic device for closing an application program, which can provide a user with a convenient application program processing method.

本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will become apparent from the following detailed description, or be learned in part by practice of the present disclosure.

根据本公开的一方面,提供了一种应用程序关闭方法,应用于终端电子设备中,所述终端电子设备包括:触控按键区,用于提供触控按键;所述触控按键区包括:压力感应元件;所述应用程序关闭方法包括:在所述终端电子设备的屏幕亮起时,检测用户对触控按键区中的触控按键的按压操作;当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令;以及当确定用户指令为所述关闭所有应用程序指令时,关闭所述终端电子设备当前运行的所有应用程序。According to an aspect of the present disclosure, a method for closing an application program is provided, which is applied to a terminal electronic device, wherein the terminal electronic device includes: a touch key area for providing touch keys; the touch key area includes: a pressure sensing element; the method for closing an application program includes: when the screen of the terminal electronic device is turned on, detecting a user's pressing operation on the touch keys in the touch key area; when detecting the pressing operation, according to In the pressing operation, it is determined whether the user instruction is an instruction to close all applications; and when it is determined that the user instruction is the instruction to close all applications, all applications currently running on the terminal electronic device are closed.

根据本公开的一实施方式,当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令包括:当检测到用户对所述触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,所述第一用户界面中包括所述终端电子设备当前运行的所有应用程序的图标;在显示所述第一用户界面时,检测用户对所述第一触控按键的第二按压操作;以及当检测到用户对所述第一触控按键的第二按压操作时,确定用户指令为所述关闭所有应用程序指令。According to an embodiment of the present disclosure, when the pressing operation is detected, determining whether the user instruction is an instruction to close all applications according to the pressing operation includes: when it is detected that the user presses the first button in the touch key area When the touch button is pressed for the first time, a first user interface is displayed, and the first user interface includes icons of all application programs currently running on the terminal electronic device; when the first user interface is displayed, a user interface is detected. a second pressing operation on the first touch key; and when a second pressing operation by the user on the first touch key is detected, determining that the user instruction is the closing all application program instruction.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户以大于一预设的第二力度阈值的力量对所述第一触控按键进行的再次的按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user presses the first touch key again with a force greater than a preset second force threshold.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户继续以大于所述第一力度阈值的力量对所述第一触控按键进行的持续按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user continues to continuously press the first touch key with a force greater than the first force threshold.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户继续以大于所述第一力度阈值的力量对所述第一触控按键进行的持续按压操作,并且所述持续按压操作的持续时间大于一预设的第一时间阈值。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user continues to continuously press the first touch key with a force greater than the first force threshold, and the duration of the continuous pressing operation is greater than a preset first time threshold.

根据本公开的一实施方式,当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令包括:当检测到用户对所述触控按键区中的第一触控按键的持续按压操作时,确定用户指令为所述关闭所有应用程序指令。According to an embodiment of the present disclosure, when the pressing operation is detected, determining whether the user instruction is an instruction to close all applications according to the pressing operation includes: when it is detected that the user presses the first button in the touch key area When the touch key is continuously pressed, it is determined that the user instruction is the instruction to close all application programs.

根据本公开的一实施方式,对所述第一触控按键的所述持续按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的持续按压操作,并且所述持续按压操作的时序时间大于一预设的第一时间阈值。According to an embodiment of the present disclosure, the continuous pressing operation on the first touch key includes: a user continuously pressing the first touch key with a force greater than a preset first force threshold , and the sequential time of the continuous pressing operation is greater than a preset first time threshold.

根据本公开的一实施方式,所述第一触控按键由用户进行配置。According to an embodiment of the present disclosure, the first touch key is configured by a user.

根据本公开的一实施方式,当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令包括:当检测到用户对所述触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,所述第一用户界面中包括所述终端电子设备当前运行的所有应用程序的图标;在显示所述第一用户界面时,检测用户对所述触控按键区中的第二触控按键的第二按压操作;以及当检测到用户对所述第二触控按键的第二按压操作时,确定用户指令为所述关闭所有应用程序指令;其中所述第二触控按键与所述第一触控按键不是同一个触控按键。According to an embodiment of the present disclosure, when the pressing operation is detected, determining whether the user instruction is an instruction to close all applications according to the pressing operation includes: when it is detected that the user presses the first button in the touch key area When the touch button is pressed for the first time, a first user interface is displayed, and the first user interface includes icons of all application programs currently running on the terminal electronic device; when the first user interface is displayed, a user interface is detected. a second pressing operation on the second touch key in the touch key area; and when a second pressing operation by the user on the second touch key is detected, determining that the user instruction is to close all applications instruction; wherein the second touch key and the first touch key are not the same touch key.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户以大于一预设的第二力度阈值的力量对所述第二触控按键进行的按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user presses the second touch key with a force greater than a preset second force threshold.

根据本公开的一实施方式,所述第一触控按键与所述第二触控按键由用户进行配置。According to an embodiment of the present disclosure, the first touch key and the second touch key are configured by a user.

根据本公开的另一方面,提供了一种应用程序关闭装置,应用于终端电子设备中,所述终端电子设备包括:触控按键区,用于提供触控按键;所述触控按键区包括:压力感应元件;所述应用程序关闭装置包括:操作检测模块,用于在所述终端电子设备的屏幕亮起时,检测用户对触控按键区中的触控按键的按压操作;指令确定模块,用于当所述操作检测模块检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令;以及应用程序关闭模块,用于当所述指令确定模块确定用户指令为所述关闭所有应用程序指令时,关闭所述终端电子设备当前运行的所有应用程序。According to another aspect of the present disclosure, an apparatus for closing an application program is provided, which is applied to a terminal electronic device. The terminal electronic device includes: a touch key area for providing touch keys; the touch key area includes : a pressure sensing element; the application program closing device includes: an operation detection module for detecting a user's pressing operation on the touch keys in the touch key area when the screen of the terminal electronic device is turned on; an instruction determination module , for when the operation detection module detects the pressing operation, according to the pressing operation, to determine whether the user instruction is an instruction to close all application programs; and an application program closing module, for when the instruction determination module determines that the user The instruction is to close all application programs currently running on the terminal electronic device when the instruction to close all application programs is performed.

根据本公开的一实施方式,所述指令确定模块包括:显示子模块,用于当检测到用户对所述触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,所述第一用户界面中包括所述终端电子设备当前运行的所有应用程序的图标;及确定子模块,用于当检测到用户对所述第一触控按键的第二按压操作时,确定用户指令为所述关闭所有应用程序指令;以及所述操作检测模块包括:第一检测子模块,用于在所述终端电子设备的屏幕亮起时,检测用户对所述第一触控按键的所述第一按压操作;及第二检测子模块,用于在所述显示子模块显示所述第一用户界面时,检测用户对所述第一触控按键的所述第二按压操作。According to an embodiment of the present disclosure, the instruction determination module includes: a display sub-module configured to display the first user when a first pressing operation of the first touch key in the touch key area by the user is detected. an interface, wherein the first user interface includes icons of all application programs currently running on the terminal electronic device; and a determination sub-module for detecting a second pressing operation of the first touch key by the user, It is determined that the user instruction is the instruction to close all application programs; and the operation detection module includes: a first detection sub-module for detecting the user's response to the first touch key when the screen of the terminal electronic device is turned on the first pressing operation; and a second detection sub-module for detecting the second pressing operation of the first touch key by the user when the display sub-module displays the first user interface.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户以大于一预设的第二力度阈值的力量对所述第一触控按键进行的再次的按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user presses the first touch key again with a force greater than a preset second force threshold.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户继续以大于所述第一力度阈值的力量对所述第一触控按键进行的持续按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user continues to continuously press the first touch key with a force greater than the first force threshold.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户继续以大于所述第一力度阈值的力量对所述第一触控按键进行的持续按压操作,并且所述持续按压操作的持续时间大于一预设的第一时间阈值。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user continues to continuously press the first touch key with a force greater than the first force threshold, and the duration of the continuous pressing operation is greater than a preset first time threshold.

根据本公开的一实施方式,所述指令确定模块包括:确定子模块,用于当检测到用户对所述触控按键区中的第一触控按键的持续按压操作时,确定用户指令为所述关闭所有应用程序指令;以及所述操作检测模块包括:检测子模块,用于在所述终端电子设备的屏幕亮起时,检测用户对所述第一触控按键的所述持续按压操作。According to an embodiment of the present disclosure, the instruction determination module includes: a determination sub-module, configured to determine that the user instruction is all and the operation detection module includes: a detection sub-module for detecting the continuous pressing operation of the first touch key by the user when the screen of the terminal electronic device is turned on.

根据本公开的一实施方式,对所述第一触控按键的所述持续按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的持续按压操作,并且所述持续按压操作的时序时间大于一预设的第一时间阈值。According to an embodiment of the present disclosure, the continuous pressing operation on the first touch key includes: a user continuously pressing the first touch key with a force greater than a preset first force threshold , and the sequential time of the continuous pressing operation is greater than a preset first time threshold.

根据本公开的一实施方式,所述应用程序关闭装置还包括:用户配置模块,用于提供用户配置所述第一触控按键的用户界面。According to an embodiment of the present disclosure, the application program closing apparatus further includes: a user configuration module, configured to provide a user interface for a user to configure the first touch key.

根据本公开的一实施方式,所述指令确定模块包括:显示子模块,用于当检测到用户对所述触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,所述第一用户界面中包括所述终端电子设备当前运行的所有应用程序的图标;及确定子模块,用于当检测到用户对触控按键区中的第二触控按键的第二按压操作时,确定用户指令为所述关闭所有应用程序指令;以及所述操作检测模块包括:第一检测子模块,用于在所述终端电子设备的屏幕亮起时,检测用户对所述第一触控按键的所述第一按压操作;及第二检测子模块,用于在所述显示子模块显示所述第一用户界面时,检测用户对所述第二触控按键的所述第二按压操作;其中所述第二触控按键与所述第一触控按键不是同一个触控按键。According to an embodiment of the present disclosure, the instruction determination module includes: a display sub-module configured to display the first user when a first pressing operation of the first touch key in the touch key area by the user is detected. interface, the first user interface includes icons of all applications currently running on the terminal electronic device; and a determination sub-module for detecting the second touch of the second touch key in the touch key area by the user When pressing the operation, it is determined that the user instruction is the instruction to close all application programs; and the operation detection module includes: a first detection sub-module for detecting the user's response to the first detection sub-module when the screen of the terminal electronic device is turned on. the first pressing operation of a touch key; and a second detection sub-module for detecting the first pressing of the second touch key by the user when the display sub-module displays the first user interface Two pressing operations; wherein the second touch key and the first touch key are not the same touch key.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户以大于一预设的第二力度阈值的力量对所述第二触控按键进行的按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user presses the second touch key with a force greater than a preset second force threshold.

根据本公开的一实施方式,所述应用程序关闭装置还包括:用户配置模块,用于提供用户配置所述第一触控按键与所述第二触控按键的用户界面。According to an embodiment of the present disclosure, the application program closing device further includes: a user configuration module, configured to provide a user interface for a user to configure the first touch key and the second touch key.

根据本公开的再一方面,提供了一种终端电子设备,包括:触控按键区,用于提供触控按键,包括:压力感应元件;处理器;以及存储器,用于存储所述处理器的可执行指令;其中所述处理器配置为经由执行所述可执行指令来执行以下操作:在所述终端电子设备的屏幕亮起时,检测用户对触控按键区中的触控按键的按压操作;当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令;以及当确定用户指令为所述关闭所有应用程序指令时,关闭所述终端电子设备当前运行的所有应用程序。According to yet another aspect of the present disclosure, a terminal electronic device is provided, including: a touch key area for providing touch keys, including: a pressure sensing element; a processor; and a memory for storing the data of the processor Executable instructions; wherein the processor is configured to perform the following operations by executing the executable instructions: when the screen of the terminal electronic device is turned on, detect the user's pressing operation on the touch keys in the touch key area When the pressing operation is detected, according to the pressing operation, determine whether the user instruction is an instruction to close all application programs; and when it is determined that the user instruction is the instruction to close all application programs, close the current operation of the terminal electronic device of all applications.

根据本公开的一实施方式,当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令包括:当检测到用户对所述触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,所述第一用户界面中包括所述终端电子设备当前运行的所有应用程序的图标;在显示所述第一用户界面时,检测用户对所述第一触控按键的第二按压操作;以及当检测到用户对所述第一触控按键的第二按压操作时,确定用户指令为所述关闭所有应用程序指令。According to an embodiment of the present disclosure, when the pressing operation is detected, determining whether the user instruction is an instruction to close all applications according to the pressing operation includes: when it is detected that the user presses the first button in the touch key area When the touch button is pressed for the first time, a first user interface is displayed, and the first user interface includes icons of all application programs currently running on the terminal electronic device; when the first user interface is displayed, a user interface is detected. a second pressing operation on the first touch key; and when a second pressing operation by the user on the first touch key is detected, determining that the user instruction is the closing all application program instruction.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户以大于一预设的第二力度阈值的力量对所述第一触控按键进行的再次的按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user presses the first touch key again with a force greater than a preset second force threshold.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户继续以大于所述第一力度阈值的力量对所述第一触控按键进行的持续按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user continues to continuously press the first touch key with a force greater than the first force threshold.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户继续以大于所述第一力度阈值的力量对所述第一触控按键进行的持续按压操作,并且所述持续按压操作的持续时间大于一预设的第一时间阈值。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user continues to continuously press the first touch key with a force greater than the first force threshold, and the duration of the continuous pressing operation is greater than a preset first time threshold.

根据本公开的一实施方式,当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令包括:当检测到用户对所述触控按键区中的第一触控按键的持续按压操作时,确定用户指令为所述关闭所有应用程序指令。According to an embodiment of the present disclosure, when the pressing operation is detected, determining whether the user instruction is an instruction to close all applications according to the pressing operation includes: when it is detected that the user presses the first button in the touch key area When the touch key is continuously pressed, it is determined that the user instruction is the instruction to close all application programs.

根据本公开的一实施方式,对所述第一触控按键的所述持续按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的持续按压操作,并且所述持续按压操作的时序时间大于一预设的第一时间阈值。According to an embodiment of the present disclosure, the continuous pressing operation on the first touch key includes: a user continuously pressing the first touch key with a force greater than a preset first force threshold , and the sequential time of the continuous pressing operation is greater than a preset first time threshold.

根据本公开的一实施方式,所述第一触控按键由用户进行配置。According to an embodiment of the present disclosure, the first touch key is configured by a user.

根据本公开的一实施方式,当检测到所述按压操作时,根据所述按压操作,确定用户指令是否为关闭所有应用程序指令包括:当检测到用户对所述触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,所述第一用户界面中包括所述终端电子设备当前运行的所有应用程序的图标;在显示所述第一用户界面时,检测用户对所述触控按键区中的第二触控按键的第二按压操作;以及当检测到用户对所述第二触控按键的第二按压操作时,确定用户指令为所述关闭所有应用程序指令;其中所述第二触控按键与所述第一触控按键不是同一个触控按键。According to an embodiment of the present disclosure, when the pressing operation is detected, determining whether the user instruction is an instruction to close all applications according to the pressing operation includes: when it is detected that the user presses the first button in the touch key area When the touch button is pressed for the first time, a first user interface is displayed, and the first user interface includes icons of all application programs currently running on the terminal electronic device; when the first user interface is displayed, a user interface is detected. a second pressing operation on the second touch key in the touch key area; and when a second pressing operation by the user on the second touch key is detected, determining that the user instruction is to close all applications instruction; wherein the second touch key and the first touch key are not the same touch key.

根据本公开的一实施方式,所述第一按压操作包括:用户以大于一预设的第一力度阈值的力量对所述第一触控按键进行的按压操作;所述第二按压操作包括:用户以大于一预设的第二力度阈值的力量对所述第二触控按键进行的按压操作。According to an embodiment of the present disclosure, the first pressing operation includes: a user pressing the first touch key with a force greater than a preset first force threshold; the second pressing operation includes: The user presses the second touch key with a force greater than a preset second force threshold.

根据本公开的一实施方式,所述第一触控按键与所述第二触控按键由用户进行配置。According to an embodiment of the present disclosure, the first touch key and the second touch key are configured by a user.

根据本公开的应用程序关闭方法,通过检测用户对触控按键区中触控按键的按压操作来判断是否关闭当前运行的所有应用程序,从而使用户仅通过操作触控按键区中的触控按键即可实现关闭当前运行的所有应用程序的功能,为用户提供了一种便捷的关闭应用程序的方法,用户体验好。According to the application closing method of the present disclosure, whether to close all currently running applications is determined by detecting the user's pressing operation on the touch keys in the touch key area, so that the user can only operate the touch keys in the touch key area by operating the touch keys in the touch key area. The function of closing all currently running application programs can be realized, a convenient method of closing the application programs is provided for the user, and the user experience is good.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the present disclosure.

附图说明Description of drawings

通过参照附图详细描述其示例实施例,本公开的上述和其它目标、特征及优点将变得更加显而易见。The above and other objects, features and advantages of the present disclosure will become more apparent from the detailed description of example embodiments thereof with reference to the accompanying drawings.

图1是根据一示例性实施方式示出的一种终端电子设备的示意图。Fig. 1 is a schematic diagram of a terminal electronic device according to an exemplary embodiment.

图2是根据一示例性实施方式示出的一种应用程序关闭方法的流程图。Fig. 2 is a flow chart of a method for closing an application program according to an exemplary embodiment.

图3是根据一示例性实施方式示出的另一种应用程序关闭方法的流程图。Fig. 3 is a flow chart showing another method for closing an application program according to an exemplary embodiment.

图4是根据一示例性实施方式示出的再一种应用程序关闭方法的流程图。Fig. 4 is a flow chart of yet another method for closing an application program according to an exemplary embodiment.

图5是根据一示例性实施方式示出的再一种应用程序关闭方法的流程图。Fig. 5 is a flow chart of yet another method for closing an application program according to an exemplary embodiment.

图6是根据一示例性实施方式示出的一种应用程序关闭装置的框图。Fig. 6 is a block diagram of an apparatus for closing an application program according to an exemplary embodiment.

图7是根据一示例性实施方式示出的另一种应用程序关闭装置的框图。Fig. 7 is a block diagram of another apparatus for closing an application program according to an exemplary embodiment.

图8是根据一示例性实施方式示出的再一种应用程序关闭装置的框图。Fig. 8 is a block diagram of yet another apparatus for closing an application program according to an exemplary embodiment.

图9是根据一示例性实施方式示出的再一种应用程序关闭装置的框图。Fig. 9 is a block diagram of still another application program closing device according to an exemplary embodiment.

图10是根据一示例性实施方式示出的一种终端电子设备的触控按键区的结构示意图。FIG. 10 is a schematic structural diagram of a touch key area of a terminal electronic device according to an exemplary embodiment.

图11是根据一示例性实施方式示出的另一种终端电子设备的触控按键区的结构示意图。FIG. 11 is a schematic structural diagram of a touch key area of another terminal electronic device according to an exemplary embodiment.

图12是根据一示例性实施方式示出的一种终端电子设备的框图。Fig. 12 is a block diagram of a terminal electronic device according to an exemplary embodiment.

具体实施方式Detailed ways

现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.

此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知结构、方法、装置、实现或者操作以避免喧宾夺主而使得本公开的各方面变得模糊。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known structures, methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the present disclosure.

图2是根据一示例性实施方式示出的一种应用程序关闭方法的流程图。如图2所示,应用程序关闭方法10可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭方法10包括:Fig. 2 is a flow chart of a method for closing an application program according to an exemplary embodiment. As shown in FIG. 2 , the application program closing method 10 can be applied to a terminal electronic device. The terminal electronic device includes a touch key area, and the touch key area can be located in the touch key area 2 shown in FIG. 1 , for example. position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. Application shutdown method 10 includes:

在步骤S110中,在屏幕亮起时,检测用户对触控按键区中触控按键的按压操作。In step S110, when the screen is turned on, the user's pressing operation on the touch keys in the touch key area is detected.

在屏幕亮起时,检测用户对该触控按键区的触控按键的按压操作。When the screen is on, the user's pressing operation of the touch keys in the touch key area is detected.

当屏幕亮起时,不管终端电子设备当前的用户显示界面中显示的是主界面还是某个应用程序的界面,均对触控按键区中触控按键的按压操作进行检测。When the screen is on, no matter whether the current user display interface of the terminal electronic device displays the main interface or the interface of an application program, the pressing operation of the touch keys in the touch key area is detected.

在步骤S120中,当检测到用户对触控按键区中触控按键的按压操作时,根据该按压操作,确定用户指令是否为关闭所有应用程序指令。In step S120, when a user's pressing operation on the touch keys in the touch key area is detected, it is determined whether the user instruction is an instruction to close all application programs according to the pressing operation.

例如,根据用户对某个触控按键的按压操作,来判断用户指令是否为关闭所有应用程序指令。For example, according to the user's pressing operation on a touch key, it is determined whether the user instruction is an instruction to close all application programs.

在步骤S130中,当确定用户指令为关闭所有应用程序指令时,关闭当前运行的所有应用程序。In step S130, when it is determined that the user instruction is an instruction to close all application programs, all currently running application programs are closed.

当通过用户对触控按键区的触控按键进行的按压操作确定了用户指令为关闭所有应用程序指令后,关闭终端电子设备中当前运行的所有应用程序。When it is determined by the user's pressing operation on the touch keys in the touch key area that the user instruction is an instruction to close all application programs, all application programs currently running in the terminal electronic device are closed.

本实施方式提供的应用程序关闭方法10,通过检测用户对触控按键区中触控按键的按压操作来判断是否关闭当前运行的所有应用程序,从而使用户仅通过操作触控按键区中的触控按键即可实现关闭当前运行的所有应用程序的功能,为用户提供了一种便捷的关闭应用程序的方法,用户体验好。The application program closing method 10 provided in this embodiment determines whether to close all currently running applications by detecting the user's pressing operation on the touch buttons in the touch button area, so that the user can only operate the touch buttons in the touch button area by operating the touch button area. The function of closing all currently running application programs can be realized by pressing the control button, and a convenient method of closing the application programs is provided for the user, and the user experience is good.

应清楚地理解,本公开描述了如何形成和使用特定示例,但本公开的原理不限于这些示例的任何细节。相反,基于本公开公开的内容的教导,这些原理能够应用于许多其它实施方式。It should be clearly understood that this disclosure describes how to make and use specific examples and that the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other implementations based on the teachings of the present disclosure.

图3是根据一示例性实施方式示出的另一种应用程序关闭方法的流程图。如图3所示,应用程序关闭方法20可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭方法20包括:Fig. 3 is a flow chart showing another method for closing an application program according to an exemplary embodiment. As shown in FIG. 3 , the application program closing method 20 can be applied to a terminal electronic device. The terminal electronic device includes a touch key area, and the touch key area can be located in the touch key area 2 shown in FIG. 1 , for example. position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. The application shutdown method 20 includes:

在步骤S210中,在屏幕亮起时,检测用户对触控按键区中第一触控按键的第一按压操作。In step S210, when the screen is turned on, a first pressing operation of the user on the first touch key in the touch key area is detected.

在屏幕亮起时,检测用户对该触控按键区的第一触控按键的按压操作。When the screen is turned on, the user's pressing operation of the first touch key in the touch key area is detected.

当屏幕亮起时,不管终端电子设备当前的用户显示界面中显示的是主界面还是某个应用程序的界面,均对触控按键区中第一触控按键的第一按压操作进行检测。When the screen is on, regardless of whether the current user display interface of the terminal electronic device displays the main interface or the interface of an application program, the first pressing operation of the first touch key in the touch key area is detected.

其中第一触控按键的位置在实际应用时,可根据需要设置,例如可以设置为如图1所示的触控按键S1,也可以设置为如图1所示的触控按键S2,或者也可以设置为如图1所示的触控按键S3。此外,第一触控按键也可以由用户根据喜好进行配置,通过为用户提供相应的设置界面,来由用户对该第一触控按键进行设置,从而丰富了用户的体验。The position of the first touch key can be set as required in actual application, for example, it can be set as the touch key S1 as shown in FIG. 1 , it can also be set as the touch key S2 as shown in FIG. 1 , or It can be set as the touch key S3 as shown in FIG. 1 . In addition, the first touch key can also be configured by the user according to his preference, and the user can set the first touch key by providing the user with a corresponding setting interface, thereby enriching the user's experience.

在步骤S220中,当检测到用户对第一触控按键的第一按压操作时,显示第一用户界面,第一用户界面中包括当前后台运行的所有应用程序的图标。In step S220, when a first pressing operation of the first touch key by the user is detected, a first user interface is displayed, and the first user interface includes icons of all applications currently running in the background.

对第一触控按键的第一按压操作的例如可以包括:用户以大于一预设的第一力度阈值的力量对第一触控按键进行的按压操作。For example, the first pressing operation on the first touch key may include: a user pressing the first touch key with a force greater than a preset first force threshold.

如果检测到用户是以大于该第一力度阈值的力量进行按压操作,则确定检测到用户对该第一触控按键的第一按压操作。If it is detected that the user performs a pressing operation with a force greater than the first force threshold, it is determined that a first pressing operation of the first touch key by the user is detected.

其中,该第一力度阈值也可以在实际应用时根据实际需求进行设定,本公开不以此为限。Wherein, the first intensity threshold may also be set according to actual requirements in actual application, and the present disclosure is not limited thereto.

在步骤S230中,在显示第一用户界面时,检测用户对触控按键区中第一触控按键的第二按压操作。In step S230, when the first user interface is displayed, a second pressing operation by the user on the first touch key in the touch key area is detected.

当检测到用户对第一触控按键的第一按压操作而显示第一用户界面时,再次检测用户对触控按键区中该第一触控按键的第二按压操作。When the first pressing operation of the first touch key by the user is detected and the first user interface is displayed, the second pressing operation of the first touch key by the user in the touch key area is detected again.

该第二按压操作可以为用户对该第一触控按键的再次按压操作,即用户在第一按压操作后,松开该第一触控按键,当显示第一用户界面时,再次按压第一触控按键;或者也可以为用户对该第一触控按键的持续按压操作,即检测到用户的第一按压操作后,显示第一用户界面,此时用户不松开该第一触控按键,而是持续按压第一触控按键,产生该第二按压操作。The second pressing operation may be a user pressing the first touch button again, that is, the user releases the first touch button after the first pressing operation, and when the first user interface is displayed, presses the first touch button again touch button; or it can also be the user's continuous pressing operation on the first touch button, that is, after detecting the user's first pressing operation, the first user interface is displayed, and the user does not release the first touch button at this time. , but keep pressing the first touch button to generate the second pressing operation.

在步骤S240中,当检测到用户对第一触控按键的第二按压操作时,确定用户指令为关闭所有应用程序指令。In step S240, when a second pressing operation of the first touch key by the user is detected, it is determined that the user instruction is an instruction to close all application programs.

当第二按压操作为用户对第一触控按键的再次按压操作时,对第一触控按键的第二按压操作的例如可以包括:用户以大于一预设的第二力度阈值的力量对该第一触控按键进行的按压操作。When the second pressing operation is the user's re-pressing operation on the first touch button, the second pressing operation on the first touch button may, for example, include: the user presses the first touch button with a force greater than a preset second force threshold. The pressing operation performed by the first touch key.

如果检测到用户是以大于该第二力度阈值的力量进行按压操作,则确定检测到用户对该第一触控按键的按压操作。If it is detected that the user performs a pressing operation with a force greater than the second force threshold, it is determined that the pressing operation of the first touch key by the user is detected.

其中该第二力度阈值可以与第一力度阈值相等也可以不等,本公开不以此为限。The second intensity threshold may be equal to or not equal to the first intensity threshold, and the present disclosure is not limited thereto.

而当第二按压操作为用户对第一触控按键的持续按压操作时,对第一触控按键的第二按压操作例如可以包括:用户继续以大于该第一力度阈值的力量对该第一触控按键进行的持续按压操作。When the second pressing operation is the user's continuous pressing operation on the first touch button, the second pressing operation on the first touch button may, for example, include: the user continues to press the first touch button with a force greater than the first force threshold. The continuous pressing of the touch button.

如果检测到用户继续以大于第一力度阈值的力量对该第一触控按键进行按压操作,则确定检测到用户对该第一触控按键的第二按压操作。If it is detected that the user continues to press the first touch key with a force greater than the first force threshold, it is determined that a second pressing operation of the first touch key by the user is detected.

或者,检测用户是否继续以大于第一力度阈值的力量对该第一触控按键进行按压操作还包括:检测用户是否继续以大于第一力度阈值的力量对该第一触控按键进行按压操作,并持续一预设的第一时间阈值时长,如果检测到用户是继续以大于第一力度阈值的力量进行按压操作,并持续时间大于该第一时间阈值,则确定检测到用户对该第一触控按键的第二按压操作。其中该第一时间阈值在实际应用中可以根据需要进行设置。Alternatively, detecting whether the user continues to press the first touch button with a force greater than the first force threshold further includes: detecting whether the user continues to press the first touch button with a force greater than the first force threshold, and continue for a preset first time threshold duration, if it is detected that the user continues to press with a force greater than the first force threshold, and the duration is greater than the first time threshold, it is determined that the first touch The second pressing operation of the control button. The first time threshold can be set as required in practical applications.

再或者,对于用户的持续按压操作,在继续检测用户的持续按压操作时,也可以判断用户是否又以大于一预设的第二力度阈值的力量对该第一触控按键进行按压操作,如果用户是继续以大于第二力度阈值的力量进行按压操作,则确定检测到用户对该第一触控按键的第二按压操作。其中第二力度阈值与第一力度阈值不相等,第二力度阈值可以大于第一力度阈值,也可以小于第一力度阈值,本公开不以此为限。Or, for the user's continuous pressing operation, when continuing to detect the user's continuous pressing operation, it can also be determined whether the user presses the first touch button with a force greater than a preset second force threshold, if If the user continues to perform the pressing operation with a force greater than the second force threshold, it is determined that the second pressing operation of the first touch key by the user is detected. The second intensity threshold is not equal to the first intensity threshold, and the second intensity threshold may be greater than or smaller than the first intensity threshold, which the present disclosure is not limited to.

在步骤S250中,根据该关闭所有应用程序指令时,关闭当前运行的所有应用程序。In step S250, according to the instruction of closing all application programs, all currently running application programs are closed.

本实施方式提供的应用程序关闭方法20,通过检测用户对触控按键区中一个触控按键的按压操作来判断是否关闭当前运行的所有应用程序,从而使用户仅通过操作触控按键区中的一个触控按键即可实现关闭当前运行的所有应用程序的功能,方便用户操作,为用户提供了一种便捷的关闭应用程序的方法,用户体验好。The application program closing method 20 provided in this embodiment determines whether to close all currently running applications by detecting the user's pressing operation on a touch button in the touch button area, so that the user can only operate the touch button area by operating the One touch button can realize the function of closing all currently running application programs, which is convenient for the user to operate, and provides a convenient method for closing the application program for the user, and the user experience is good.

进一步地,相关按压操作的触控按键还可以由用户根据喜好进行设置,丰富了用户的体验。Further, the touch buttons related to the pressing operation can also be set by the user according to their preferences, which enriches the user's experience.

图4是根据一示例性实施方式示出的再一种应用程序关闭方法的流程图。如图4所示,应用程序关闭方法30可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭方法30包括:Fig. 4 is a flow chart of yet another method for closing an application program according to an exemplary embodiment. As shown in FIG. 4 , the application program closing method 30 can be applied to a terminal electronic device. The terminal electronic device includes a touch key area, and the touch key area can be located in the touch key area 2 shown in FIG. 1 , for example. position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. The application shutdown method 30 includes:

在步骤S310中,在屏幕亮起时,检测用户对触控按键区中第一触控按键的按压操作。In step S310, when the screen is turned on, the user's pressing operation on the first touch key in the touch key area is detected.

在屏幕亮起时,检测用户对该触控按键区的第一触控按键的按压操作,其不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息,例如可以为基于电容式技术的触控按键,但本公开不限于此。When the screen is on, the user's pressing operation of the first touch button in the touch button area is detected, which can not only sense the position information of the touch object, but also the pressure information of the touch object, for example, it can be Touch keys based on capacitive technology, but the present disclosure is not limited thereto.

当屏幕亮起时,不管终端电子设备当前的用户显示界面中显示的是主界面还是某个应用程序的界面,均对触控按键区中第一触控按键的按压操作进行检测。When the screen is on, regardless of whether the current user display interface of the terminal electronic device displays the main interface or the interface of an application program, the pressing operation of the first touch key in the touch key area is detected.

其中第一触控按键的位置在实际应用时,可根据需要设置,例如可以设置为如图1所示的触控按键S1,也可以设置为如图1所示的触控按键S2,或者也可以设置为如图1所示的触控按键S3。此外,第一触控按键也可以由用户根据喜好进行配置,通过为用户提供相应的设置界面,来由用户对该第一触控按键进行设置,从而丰富了用户的体验。The position of the first touch key can be set as required in actual application, for example, it can be set as the touch key S1 as shown in FIG. 1 , it can also be set as the touch key S2 as shown in FIG. 1 , or It can be set as the touch key S3 as shown in FIG. 1 . In addition, the first touch key can also be configured by the user according to his preference, and the user can set the first touch key by providing the user with a corresponding setting interface, thereby enriching the user's experience.

在步骤S320中,当检测到用户对第一触控按键的持续按压操作时,确定用户指令为关闭所有应用程序指令。In step S320, when a continuous pressing operation of the first touch key by the user is detected, it is determined that the user instruction is an instruction to close all application programs.

对第一触控按键的持续按压操作例如可以包括:用户以大于一预设的第一力度阈值的力量对该第一触控按键进行的按压操作,并且该按压操作的持续时间大于一预设的第一时间阈值。The continuous pressing operation on the first touch button may, for example, include: a user pressing the first touch button with a force greater than a preset first force threshold, and the duration of the pressing operation is greater than a preset the first time threshold of .

如果检测到用户是以大于第一力度阈值的力量进行按压操作,并持续时间大于该第一时间阈值,则确定检测到用户对该第一触控按键的持续按压操作。其中该第一力度阈值与该第一时间阈值均可以在实际应用中可以根据需要进行设置。If it is detected that the user presses with a force greater than the first force threshold and the duration is greater than the first time threshold, it is determined that the user's continuous pressing of the first touch key is detected. Wherein, both the first intensity threshold and the first time threshold can be set as required in practical applications.

在步骤S330中,根据该关闭所有应用程序指令时,关闭当前运行的所有应用程序。In step S330, according to the instruction of closing all application programs, all currently running application programs are closed.

本实施方式提供的应用程序关闭方法30,通过检测用户对触控按键区中一个触控按键的持续按压操作来判断是否关闭当前运行的所有应用程序,而无需显示当前所有运行的应用程序的图标,从而使用户仅通过一步操作即长按压触控按键区中的一个触控按键即可实现关闭当前运行的所有应用程序的功能,方便了用户操作,为用户提供了一种便捷的关闭应用程序的方法,用户体验好。The application closing method 30 provided in this embodiment determines whether to close all currently running applications by detecting the user's continuous pressing operation of a touch key in the touch key area, without displaying the icons of all currently running applications , so that the user can realize the function of closing all the currently running applications only by one-step operation, that is, long pressing a touch button in the touch button area, which is convenient for the user to operate, and provides a convenient way for the user to close the application. method, the user experience is good.

图5是根据一示例性实施方式示出的再一种应用程序关闭方法的流程图。如图5所示,应用程序关闭方法40可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭方法40包括:Fig. 5 is a flow chart of yet another method for closing an application program according to an exemplary embodiment. As shown in FIG. 5 , the application program closing method 40 can be applied to a terminal electronic device. The terminal electronic device includes a touch key area, and the touch key area can be located in the touch key area 2 shown in FIG. 1 , for example. position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. The application shutdown method 40 includes:

在步骤S410中,在屏幕亮起时,检测用户对触控按键区中第一触控按键的按压操作。In step S410, when the screen is turned on, the user's pressing operation on the first touch key in the touch key area is detected.

在屏幕亮起时,检测用户对该触控按键区的第一触控按键的按压操作。When the screen is turned on, the user's pressing operation of the first touch key in the touch key area is detected.

当屏幕亮起时,不管终端电子设备当前的用户显示界面中显示的是主界面还是某个应用程序的界面,均对触控按键区中第一触控按键的按压操作进行检测。When the screen is on, regardless of whether the current user display interface of the terminal electronic device displays the main interface or the interface of an application program, the pressing operation of the first touch key in the touch key area is detected.

其中第一触控按键的位置在实际应用时,可根据需要设置,例如可以设置为如图1所示的触控按键S1,也可以设置为如图1所示的触控按键S2,或者也可以设置为如图1所示的触控按键S3。此外,第一触控按键也可以由用户根据喜好进行配置,通过为用户提供相应的设置界面,来由用户对该第一触控按键进行设置,从而丰富了用户的体验。The position of the first touch key can be set as required in actual application, for example, it can be set as the touch key S1 as shown in FIG. 1 , it can also be set as the touch key S2 as shown in FIG. 1 , or It can be set as the touch key S3 as shown in FIG. 1 . In addition, the first touch key can also be configured by the user according to his preference, and the user can set the first touch key by providing the user with a corresponding setting interface, thereby enriching the user's experience.

在步骤S420中,当检测到用户对第一触控按键的按压操作时,显示第一用户界面,第一用户界面中包括当前后台运行的所有应用程序的图标。In step S420, when a pressing operation of the first touch key by the user is detected, a first user interface is displayed, and the first user interface includes icons of all applications currently running in the background.

对第一触控按键的按压操作例如可以包括:用户以大于一预设的第一力度阈值的力量对该第一触控按键进行的按压操作。The pressing operation on the first touch key may include, for example, a user pressing the first touch key with a force greater than a preset first force threshold.

如果检测到用户是以大于该第一力度阈值的力量进行按压操作,则确定检测到用户对该第一触控按键的按压操作。If it is detected that the user performs a pressing operation with a force greater than the first force threshold, it is determined that the pressing operation of the first touch key by the user is detected.

其中,该第一力度阈值也可以在实际应用时根据实际需求进行设定,本公开不以此为限。Wherein, the first intensity threshold may also be set according to actual requirements in actual application, and the present disclosure is not limited thereto.

在步骤S430中,在显示第一用户界面时,检测用户对触控按键区中第二触控按键的按压操作。In step S430, when the first user interface is displayed, the user's pressing operation on the second touch key in the touch key area is detected.

当检测到用户对第一触控按键的按压操作而显示第一用户界面时,再次检测用户对触控按键区中第二触控按键的按压操作。When the user's pressing operation on the first touch key is detected and the first user interface is displayed, the user's pressing operation on the second touch key in the touch key area is detected again.

其中第二触控按键与第一触控按键不同,第二触控按键的位置在实际应用时,可根据需要设置,例如可以设置为如图1所示的触控按键S1,也可以设置为如图1所示的触控按键S2,或者也可以设置为如图1所示的触控按键S3。为了方便用户操作,也可以将第二触控按键与第一触控按键设置为相邻的两个触控按键。The second touch key is different from the first touch key, and the position of the second touch key can be set as required in actual application, for example, it can be set as the touch key S1 shown in FIG. 1 , or can be set as The touch key S2 shown in FIG. 1 may also be set as the touch key S3 shown in FIG. 1 . In order to facilitate the user's operation, the second touch key and the first touch key may also be set as two adjacent touch keys.

此外,第一触控按键也可以由用户根据喜好进行配置,通过为用户提供相应的设置界面,来由用户对该第一触控按键进行设置,从而丰富了用户的体验。In addition, the first touch key can also be configured by the user according to his preference, and the user can set the first touch key by providing the user with a corresponding setting interface, thereby enriching the user's experience.

在步骤S440中,当检测到用户对第二触控按键的按压操作时,确定用户指令为关闭所有应用程序指令。In step S440, when a pressing operation of the second touch key by the user is detected, it is determined that the user instruction is an instruction to close all application programs.

对第二触控按键的按压操作例如可以包括:用户以大于一预设的第二力度阈值的力量对该第二触控按键进行的按压操作。The pressing operation on the second touch key may include, for example, a user pressing the second touch key with a force greater than a preset second force threshold.

如果检测到用户是以大于该第二力度阈值的力量进行按压操作,则确定检测到用户对该第二触控按键的按压操作。If it is detected that the user performs a pressing operation with a force greater than the second force threshold, it is determined that the pressing operation of the second touch key by the user is detected.

其中该第二力度阈值可以与第一力度阈值相等也可以不等,本公开不以此为限。The second intensity threshold may be equal to or not equal to the first intensity threshold, and the present disclosure is not limited thereto.

在步骤S450中,根据关闭所有应用程序指令时,关闭当前运行的所有应用程序。In step S450, according to the instruction of closing all application programs, all currently running application programs are closed.

本实施方式提供的应用程序关闭方法40,通过检测用户对触控按键区中触控按键的按压操作来判断是否关闭当前运行的所有应用程序,虽然在本实施方式中,也需对操作两个按键来实现关闭所有应用程序的功能,但这两个按键均位于触控按键区中,相比于相关技术中,一个按键位于触控按键区,另一个按键位于可视区中,用户更容易对待操作的按键进行定位,方便其进行关闭应用程序的操作。The application program closing method 40 provided in this embodiment determines whether to close all currently running application programs by detecting the user's pressing operation on the touch keys in the touch key area. The function of closing all applications is realized by pressing the button, but these two buttons are located in the touch button area. Compared with the related art, one button is located in the touch button area and the other button is located in the visual area, which makes it easier for users to Position the key to be operated to facilitate the operation of closing the application.

进一步地,相关按压操作的触控按键还可以由用户根据喜好进行设置,丰富了用户的体验。Further, the touch buttons related to the pressing operation can also be set by the user according to their preferences, which enriches the user's experience.

需要注意的是,上述用于示出方法实施方式的附图仅是根据本公开示例性实施方式的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。It should be noted that the above-mentioned drawings for illustrating method embodiments are only schematic illustrations of the processes included in the methods according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, in multiple modules.

下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。The following are the apparatus embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure. For details not disclosed in the apparatus embodiments of the present disclosure, please refer to the method embodiments of the present disclosure.

图6是根据一示例性实施方式示出的一种应用程序关闭装置的框图。如图6所示,应用程序关闭装置50可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭装置50包括:操作检测模块510、指令确定模块520及应用程序关闭模块530。Fig. 6 is a block diagram of an apparatus for closing an application program according to an exemplary embodiment. As shown in FIG. 6 , the application closing device 50 can be applied to a terminal electronic device, and the terminal electronic device includes a touch key area, for example, the touch key area can be located in the touch key area 2 shown in FIG. 1 . position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. The application closing device 50 includes: an operation detecting module 510 , an instruction determining module 520 and an application closing module 530 .

其中操作检测模块510用于在终端电子设备的屏幕亮起时,检测用户对触控按键区中的触控按键的按压操作。The operation detection module 510 is configured to detect the user's pressing operation on the touch keys in the touch key area when the screen of the terminal electronic device is turned on.

在屏幕亮起时,检测用户对该触控按键区的触控按键的按压操作。When the screen is on, the user's pressing operation of the touch keys in the touch key area is detected.

指令确定模块520用于当操作检测模块510检测到该按压操作时,根据该按压操作,确定用户指令是否为关闭所有应用程序指令。The instruction determination module 520 is configured to, when the operation detection module 510 detects the pressing operation, determine whether the user instruction is an instruction to close all application programs according to the pressing operation.

应用程序关闭模块530用于当指令确定模块520确定用户指令为关闭所有应用程序指令时,关闭所述终端电子设备当前运行的所有应用程序。The application program closing module 530 is configured to close all application programs currently running on the terminal electronic device when the instruction determining module 520 determines that the user instruction is an instruction to close all application programs.

本实施方式提供的应用程序关闭装置50,通过检测用户对触控按键区中触控按键的按压操作来判断是否关闭当前运行的所有应用程序,从而使用户仅通过操作触控按键区中的触控按键即可实现关闭当前运行的所有应用程序的功能,为用户提供了一种便捷的关闭应用程序的方法,用户体验好。The application closing device 50 provided in this embodiment determines whether to close all currently running applications by detecting the user's pressing operation on the touch keys in the touch key area, so that the user can only operate the touch keys in the touch key area by operating the touch key area. The function of closing all currently running application programs can be realized by pressing the control button, and a convenient method of closing the application programs is provided for the user, and the user experience is good.

图7是根据一示例性实施方式示出的另一种应用程序关闭装置的框图。如图7所示,应用程序关闭装置60可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭装置60包括:操作检测模块610、指令确定模块620及应用程序关闭模块630。Fig. 7 is a block diagram of another apparatus for closing an application program according to an exemplary embodiment. As shown in FIG. 7 , the application closing device 60 can be applied to a terminal electronic device, and the terminal electronic device includes a touch key area, for example, the touch key area can be located in the touch key area 2 shown in FIG. 1 . position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. The application program closing device 60 includes: an operation detection module 610 , an instruction determination module 620 and an application program closing module 630 .

指令确定模块620包括显示子模块6210及确定子模块6220。The instruction determination module 620 includes a display sub-module 6210 and a determination sub-module 6220 .

其中显示子模块6210用于当检测到用户对该触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,该第一用户界面中包括终端电子设备当前运行的所有应用程序的图标。The display sub-module 6210 is configured to display the first user interface when the first pressing operation of the first touch key in the touch key area by the user is detected, and the first user interface includes the current running of the terminal electronic device. Icons for all applications.

其中该第一按压操作包括:用户以大于一预设的第一力度阈值的力量对该第一触控按键进行的按压操作。The first pressing operation includes: pressing the first touch key by the user with a force greater than a preset first force threshold.

确定子模块6220用于当检测到用户对该第一触控按键的第二按压操作时,确定用户指令为关闭所有应用程序指令。The determining sub-module 6220 is configured to determine that the user instruction is an instruction to close all application programs when the second pressing operation of the first touch key by the user is detected.

该第二按压操作包括:用户以大于一预设的第二力度阈值的力量对该第一触控按键进行的再次的按压操作。The second pressing operation includes: pressing the first touch key again by the user with a force greater than a preset second force threshold.

或者,该第二按压操作包括:用户继续以大于该第一力度阈值的力量对第一触控按键进行的持续按压操作。Alternatively, the second pressing operation includes: the user continues to perform a continuous pressing operation on the first touch key with a force greater than the first force threshold.

再或者,该第二按压操作包括:用户继续以大于该第一力度阈值的力量对该第一触控按键进行的持续按压操作,并且该持续按压操作的持续时间大于一预设的第一时间阈值。Still alternatively, the second pressing operation includes: the user continues to continuously press the first touch button with a force greater than the first force threshold, and the duration of the continuous pressing operation is greater than a preset first time. threshold.

操作检测模块610包括:第一检测子模块6110及第二检测子模块6220。The operation detection module 610 includes: a first detection sub-module 6110 and a second detection sub-module 6220 .

第一检测子模块6110用于在终端电子设备的屏幕亮起时,检测用户对该第一触控按键的该第一按压操作。The first detection sub-module 6110 is configured to detect the first pressing operation of the first touch key by the user when the screen of the terminal electronic device is turned on.

第二检测子模块6120用于在显示子模块6210显示第一用户界面时,检测用户对该第一触控按键的该第二按压操作。The second detection sub-module 6120 is configured to detect the second pressing operation of the first touch key by the user when the display sub-module 6210 displays the first user interface.

应用程序关闭模块630用于当指令确定子模块6220确定用户指令为关闭所有应用程序指令时,关闭所述终端电子设备当前运行的所有应用程序。The application program closing module 630 is configured to close all application programs currently running on the terminal electronic device when the instruction determination sub-module 6220 determines that the user instruction is an instruction to close all application programs.

在一些实施例中,应用程序关闭装置60还可以包括:用户配置模块640,用于提供用户配置第一触控按键的用户界面。In some embodiments, the application closing apparatus 60 may further include: a user configuration module 640, configured to provide a user interface for the user to configure the first touch key.

本实施方式提供的应用程序关闭装置60,通过检测用户对触控按键区中一个触控按键的按压操作来判断是否关闭当前运行的所有应用程序,从而使用户仅通过操作触控按键区中的一个触控按键即可实现关闭当前运行的所有应用程序的功能,方便用户操作,为用户提供了一种便捷的关闭应用程序的方法,用户体验好。The application program closing device 60 provided in this embodiment determines whether to close all currently running applications by detecting the user's pressing operation on a touch button in the touch button area, so that the user can only operate the touch button area by operating the One touch button can realize the function of closing all currently running application programs, which is convenient for the user to operate, and provides a convenient method for closing the application program for the user, and the user experience is good.

进一步地,相关按压操作的触控按键还可以由用户根据喜好进行设置,丰富了用户的体验。Further, the touch buttons related to the pressing operation can also be set by the user according to their preferences, which enriches the user's experience.

图8是根据一示例性实施方式示出的再一种应用程序关闭装置的框图。如图8所示,应用程序关闭装置70可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭装置70包括:操作检测模块710、指令确定模块720及应用程序关闭模块730。Fig. 8 is a block diagram of yet another apparatus for closing an application program according to an exemplary embodiment. As shown in FIG. 8 , the application closing device 70 can be applied to a terminal electronic device, and the terminal electronic device includes a touch key area. For example, the touch key area can be located in the touch key area 2 shown in FIG. 1 . position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. The application closing device 70 includes: an operation detecting module 710 , an instruction determining module 720 and an application closing module 730 .

指令确定模块720包括:确定子模块7210。The instruction determination module 720 includes: a determination sub-module 7210 .

其中确定子模块7210用于当检测到用户对该触控按键区中的第一触控按键的持续按压操作时,确定用户指令为所述关闭所有应用程序指令。The determining sub-module 7210 is configured to determine that the user instruction is the closing all application program instruction when the user's continuous pressing operation of the first touch key in the touch key area is detected.

该第一按压操作例如可以包括:用户以大于一预设的第一力度阈值的力量对该第一触控按键进行的持续按压操作,并且该持续按压操作的时序时间大于一预设的第一时间阈值。The first pressing operation may, for example, include: a user continuously pressing the first touch button with a force greater than a preset first force threshold, and the sequence time of the continuous pressing operation is greater than a preset first force threshold time threshold.

操作检测模块710包括:检测子模块7110。The operation detection module 710 includes: a detection sub-module 7110 .

检测子模块7110用于在终端电子设备的屏幕亮起时,检测用户对第一触控按键的持续按压操作。The detection sub-module 7110 is configured to detect the continuous pressing operation of the first touch key by the user when the screen of the terminal electronic device is turned on.

应用程序关闭模块730用于当确定子模块7110确定用户指令为关闭所有应用程序指令时,关闭所述终端电子设备当前运行的所有应用程序。The application program closing module 730 is configured to close all application programs currently running on the terminal electronic device when the determination sub-module 7110 determines that the user instruction is an instruction to close all application programs.

在一些实施例中,应用程序关闭装置70还可以包括:用户配置模块740,用于提供用户配置第一触控按键的用户界面。In some embodiments, the application closing device 70 may further include: a user configuration module 740, configured to provide a user interface for the user to configure the first touch key.

本实施方式提供的应用程序关闭装置70,通过检测用户对触控按键区中一个触控按键的持续按压操作来判断是否关闭当前运行的所有应用程序,而无需显示当前所有运行的应用程序的图标,从而使用户仅通过一步操作即长按压触控按键区中的一个触控按键即可实现关闭当前运行的所有应用程序的功能,方便了用户操作,为用户提供了一种便捷的关闭应用程序的方法,用户体验好。The application closing device 70 provided in this embodiment determines whether to close all currently running applications by detecting the user's continuous pressing operation on a touch key in the touch key area, without displaying the icons of all currently running applications , so that the user can realize the function of closing all the currently running applications only by one-step operation, that is, long pressing a touch button in the touch button area, which is convenient for the user to operate, and provides a convenient way for the user to close the application. method, the user experience is good.

图9是根据一示例性实施方式示出的再一种应用程序关闭装置的框图。如图9所示,应用程序关闭装置80可应用于一终端电子设备中,该终端电子设备包括一触控按键区,该触控按键区例如可以位于如图1所示的触控按键区2的位置,用于提供非实体的触控按键,其除了包括有触控感应元件(如电容式触控感应元件)外,还包括压力感应元件,因此该触控按键区提供的触控按键不仅可以感测触控对象的位置信息,还可以感测触控对象的压力信息。应用程序关闭装置80包括:操作检测模块810、指令确定模块820及应用程序关闭模块830。Fig. 9 is a block diagram of still another application program closing device according to an exemplary embodiment. As shown in FIG. 9 , the application closing device 80 can be applied to a terminal electronic device, and the terminal electronic device includes a touch key area. For example, the touch key area can be located in the touch key area 2 shown in FIG. 1 . position, used to provide non-physical touch keys, which not only include touch sensing elements (such as capacitive touch sensing elements), but also pressure sensing elements, so the touch keys provided in the touch key area not only The position information of the touch object can be sensed, and the pressure information of the touch object can also be sensed. The application closing device 80 includes: an operation detecting module 810 , an instruction determining module 820 and an application closing module 830 .

指令确定模块820包括显示子模块8210及确定子模块8220。The instruction determination module 820 includes a display sub-module 8210 and a determination sub-module 8220 .

其中显示子模块8210用于当检测到用户对该触控按键区中的第一触控按键的第一按压操作时,显示第一用户界面,该第一用户界面中包括终端电子设备当前运行的所有应用程序的图标。The display sub-module 8210 is configured to display a first user interface when a first pressing operation of the first touch key in the touch key area by the user is detected, and the first user interface includes the current operation of the terminal electronic device. Icons for all applications.

其中该第一按压操作包括:用户以大于一预设的第一力度阈值的力量对该第一触控按键进行的按压操作。The first pressing operation includes: pressing the first touch key by the user with a force greater than a preset first force threshold.

确定子模块8220用于当检测到用户对触控按键区中的第二触控按键的第二按压操作时,确定用户指令为关闭所有应用程序指令。The determining sub-module 8220 is configured to determine that the user instruction is an instruction to close all application programs when a second pressing operation by the user on the second touch key in the touch key area is detected.

该第二按压操作包括:用户以大于一预设的第二力度阈值的力量对该第二触控按键进行的按压操作。The second pressing operation includes: pressing the second touch key by the user with a force greater than a preset second force threshold.

其中第一触控按键与第二触控按键不是同一个触控按键。The first touch key and the second touch key are not the same touch key.

操作检测模块810包括:第一检测子模块8110及第二检测子模块8220。The operation detection module 810 includes: a first detection sub-module 8110 and a second detection sub-module 8220 .

第一检测子模块8110用于在终端电子设备的屏幕亮起时,检测用户对该第一触控按键的该第一按压操作。The first detection sub-module 8110 is configured to detect the first pressing operation of the first touch key by the user when the screen of the terminal electronic device is turned on.

第二检测子模块8120用于在显示子模块8210显示第一用户界面时,检测用户对该第二触控按键的该第二按压操作。The second detection sub-module 8120 is configured to detect the second pressing operation of the second touch key by the user when the display sub-module 8210 displays the first user interface.

应用程序关闭模块830用于当指令确定子模块8220确定用户指令为关闭所有应用程序指令时,关闭所述终端电子设备当前运行的所有应用程序。The application program closing module 830 is configured to close all application programs currently running on the terminal electronic device when the instruction determination sub-module 8220 determines that the user instruction is an instruction to close all application programs.

在一些实施例中,应用程序关闭装置80还可以包括:用户配置模块840,用于提供用户配置第一触控按键与第二触控按键的用户界面。In some embodiments, the application closing device 80 may further include: a user configuration module 840, configured to provide a user interface for the user to configure the first touch key and the second touch key.

本实施方式提供的应用程序关闭装置80,通过检测用户对触控按键区中触控按键的按压操作来判断是否关闭当前运行的所有应用程序,虽然在本实施方式中,也需对操作两个按键来实现关闭所有应用程序的功能,但这两个按键均位于触控按键区中,相比于相关技术中,一个按键位于触控按键区,另一个按键位于可视区中,用户更容易对待操作的按键进行定位,方便其进行关闭应用程序的操作。The application program closing device 80 provided in this embodiment determines whether to close all currently running applications by detecting the user's pressing operation on the touch keys in the touch key area. Although in this embodiment, it is necessary to operate two The function of closing all applications is realized by pressing the button, but these two buttons are located in the touch button area. Compared with the related art, one button is located in the touch button area and the other button is located in the visual area, which makes it easier for users to Position the key to be operated to facilitate the operation of closing the application.

进一步地,相关按压操作的触控按键还可以由用户根据喜好进行设置,丰富了用户的体验。Further, the touch buttons related to the pressing operation can also be set by the user according to their preferences, which enriches the user's experience.

为了进一步说明如何检测用户对终端电子设备的触控按键区中的触控按键的操作,本公开还提供了两种终端电子设备的触控按键区的结构,但需要说明的是,这两种触控按键区的结构仅为示例说明,而非限制本公开。In order to further explain how to detect the user's operation on the touch keys in the touch key area of the terminal electronic device, the present disclosure also provides two structures of the touch key area of the terminal electronic device, but it should be noted that these two The structure of the touch key area is merely illustrative, rather than limiting the present disclosure.

图10是根据一示例性实施方式示出的一种终端电子设备的触控按键区的结构示意图。如图10所示的终端电子设备包括:透明盖板3、二维触控模块4、压力触控模块5、屏蔽层6及机壳7。FIG. 10 is a schematic structural diagram of a touch key area of a terminal electronic device according to an exemplary embodiment. The terminal electronic device shown in FIG. 10 includes: a transparent cover 3 , a two-dimensional touch module 4 , a pressure touch module 5 , a shielding layer 6 and a casing 7 .

二维触控模块4、压力触控模块5及屏蔽层6均位于该终端电子设备的触控按键区2。图6所示终端电子设备的触控按键区2所示区域位置例如可以与图1中触控按键区2所示区域位置相同。The two-dimensional touch module 4 , the pressure touch module 5 and the shielding layer 6 are all located in the touch key area 2 of the terminal electronic device. The position of the area shown in the touch key area 2 of the terminal electronic device shown in FIG. 6 may be, for example, the same as the area shown in the touch key area 2 in FIG. 1 .

二维触控模块4用于获取触控对象(如用户手指)的位置信息。二维触控模块4例如可以为电容式触控模块,通过电容耦合的方式检测获得触控对象的精确位置信息。二维触控模块4可以包括至少一条触控感应电极41,设置于透明盖板3之下。The two-dimensional touch module 4 is used to obtain position information of a touch object (eg, a user's finger). The two-dimensional touch module 4 can be, for example, a capacitive touch module, which detects and obtains precise position information of the touch object through capacitive coupling. The two-dimensional touch module 4 may include at least one touch sensing electrode 41 disposed under the transparent cover plate 3 .

屏蔽层5形成于触摸按键区2所对应的正下方的机壳114之上,屏蔽层5例如可以通过粘合胶全贴合于机壳7。屏蔽层5通过接地实现对各种干扰信号(如电磁干扰等)的屏蔽作用。The shielding layer 5 is formed on the casing 114 directly below the touch key area 2 , and the shielding layer 5 can be fully adhered to the casing 7 by, for example, adhesive. The shielding layer 5 realizes the shielding effect on various interference signals (such as electromagnetic interference, etc.) by grounding.

压力触控模块5形成于屏蔽层6之上,例如通过粘合胶全贴合于屏蔽层5之上。压力触控模块5可以包括至少一条压力感应电极51。至少一条压力感应电极51与至少一条触控感应电极41之间形成有一间隙。The pressure touch module 5 is formed on the shielding layer 6 , and is fully adhered to the shielding layer 5 by, for example, adhesive. The pressure touch module 5 may include at least one pressure sensing electrode 51 . A gap is formed between the at least one pressure sensing electrode 51 and the at least one touch sensing electrode 41 .

压力触控模块5用于获取触控对象的压力信息,如感应触控对象的压力大小。压力触控模块5例如可以采用电容式压力触控模块,通过电容耦合的方式感应触控对象的压力信息。The pressure touch module 5 is used for acquiring pressure information of the touch object, such as sensing the pressure of the touch object. The pressure touch module 5 can be, for example, a capacitive pressure touch module, which senses the pressure information of the touch object through capacitive coupling.

下面以二维触控模块4和压力触控模块5均采用电容触控模块为例说明在实际应用中,二维触控模块4与压力触控模块5如何协同工作。In the following, how the two-dimensional touch module 4 and the pressure touch module 5 work together in practical applications is described by taking the capacitive touch module as an example for both the two-dimensional touch module 4 and the pressure touch module 5 .

当用户手指正常触摸位于触摸按键区2的按键时,二维触控模块4感测手指的电容信号,根据感测到的电容信号,获取手指位置对应的触控按键信息。When a user's finger normally touches a key located in the touch key area 2, the two-dimensional touch module 4 senses the capacitance signal of the finger, and obtains touch key information corresponding to the finger position according to the sensed capacitance signal.

当用户手指按压位于触摸按键区2的按键时,除了二维触控模块4会感测手指的电容信号,获取手指位置对应的按键信息之外,压力触控模块5通过感测由于压力触控模块5与二维触控模块4之间间隙的变化而引起的电容耦合信号量的变化,来获取用户手指按压压力的信息。When the user's finger presses the button located in the touch button area 2, in addition to the two-dimensional touch module 4 sensing the capacitance signal of the finger and obtaining the button information corresponding to the finger position, the pressure touch module 5 detects The change of the capacitive coupling signal amount caused by the change of the gap between the module 5 and the two-dimensional touch module 4 is used to obtain the information of the pressing pressure of the user's finger.

图11是根据一示例性实施方式示出的另一种终端电子设备的触控按键区的结构示意图。如图11所示的终端电子设备包括:透明盖板3’、二维触控模块4’、压力触控模块5’、屏蔽层6’及机壳7’。与图10所示的结构不同的是,压力触控模块5’贴合于二维触控模块4’。压力触控模块5’与贴合于机壳7’的屏蔽层6’之间留有一间隙。从而当用户手指按压位于该终端电子设备的触摸按键区2的按键时,除了二维触控模块4’会感测手指的电容信号,获取手指位置对应的按键信息之外,压力触控模块5’通过感测由于压力触控模块5’与屏蔽层6’之间间隙的变化而引起的电容耦合信号量的变化,来获取用户手指按压压力的信息。图11所示实施方式与图10所示实施方式中相同的内容在此不再赘述。FIG. 11 is a schematic structural diagram of a touch key area of another terminal electronic device according to an exemplary embodiment. The terminal electronic device shown in Figure 11 includes: a transparent cover 3', a two-dimensional touch module 4', a pressure touch module 5', a shielding layer 6' and a casing 7'. Different from the structure shown in FIG. 10, the pressure touch module 5' is attached to the two-dimensional touch module 4'. A gap is left between the pressure touch module 5' and the shielding layer 6' attached to the casing 7'. Therefore, when the user's finger presses the button located in the touch button area 2 of the terminal electronic device, in addition to the two-dimensional touch module 4' sensing the capacitance signal of the finger and obtaining the button information corresponding to the finger position, the pressure touch module 5 'By sensing the change of the capacitive coupling signal amount caused by the change of the gap between the pressure touch module 5' and the shielding layer 6', the information of the pressing pressure of the user's finger is obtained. The same content in the embodiment shown in FIG. 11 and the embodiment shown in FIG. 10 will not be repeated here.

图12是根据一示例性实施方式示出的一种终端电子设备的框图。如图12所示的终端电子设备90可以移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 12 is a block diagram of a terminal electronic device according to an exemplary embodiment. The terminal electronic device 90 shown in FIG. 12 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.

如图12所示,终端电子设备90可以包括以下一个或多个组件:处理组件910,存储器920,电源电力组件930,多媒体组件940,音频组件950,输入/输出(I/O)的接口960,传感器组件970,以及通信组件980。As shown in FIG. 12 , the terminal electronic device 90 may include one or more of the following components: a processing component 910 , a memory 920 , a power supply component 930 , a multimedia component 940 , an audio component 950 , and an input/output (I/O) interface 960 , sensor assembly 970 , and communication assembly 980 .

处理组件910通常控制终端电子设备90的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件910可以包括一个或多个处理器9110来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件910可以包括一个或多个模块,便于处理组件910和其他组件之间的交互。例如,处理组件910可以包括多媒体模块,以方便多媒体组件940和处理组件910之间的交互。The processing component 910 generally controls the overall operation of the terminal electronic device 90, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 910 may include one or more processors 9110 to execute instructions to perform all or part of the steps of the methods described above. Additionally, processing component 910 may include one or more modules that facilitate interaction between processing component 910 and other components. For example, processing component 910 may include a multimedia module to facilitate interaction between multimedia component 940 and processing component 910.

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

电力组件930为终端电子设备90的各种组件提供电力。电力组件930可以包括电源管理系统,一个或多个电源,及其他与为终端电子设备90生成、管理和分配电力相关联的组件。Power component 930 provides power to various components of terminal electronic device 90 . Power components 930 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to end electronic device 90 .

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

音频组件950被配置为输出和/或输入音频信号。例如,音频组件950包括一个麦克风(MIC),当终端电子设备90处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器920或经由通信组件980发送。在一些实施例中,音频组件950还包括一个扬声器,用于输出音频信号。Audio component 950 is configured to output and/or input audio signals. For example, the audio component 950 includes a microphone (MIC) that is configured to receive external audio signals when the terminal electronic device 90 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 920 or transmitted via communication component 980 . In some embodiments, audio component 950 also includes a speaker for outputting audio signals.

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

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

通信组件980被配置为便于终端电子设备90和其他设备之间有线或无线方式的通信。终端电子设备90可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件组件980经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件组件980还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 980 is configured to facilitate wired or wireless communication between end electronic device 90 and other devices. The terminal electronic device 90 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component component 980 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component assembly 980 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-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

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

在示例性实施方式中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括存储指令的存储器920,上述指令可由终端电子设备90的处理器9110执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 920 for storing instructions, is also provided, and the instructions can be executed by the processor 9110 of the terminal electronic device 90 to complete 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.

以上具体地示出和描述了本公开的示例性实施方式。应可理解的是,本公开不限于这里描述的详细结构、设置方式或实现方法;相反,本公开意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。Exemplary embodiments of the present disclosure have been specifically shown and described above. It should be understood that this disclosure is not limited to the details of construction, arrangements, or implementations described herein; on the contrary, this disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (18)

1. A terminal electronic device, comprising:
touch button district for provide touch button, include: a pressure sensing element;
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the following operations via execution of the executable instructions:
when a screen of the terminal electronic equipment is bright, detecting the pressing operation of a user on the touch key in the touch key area;
when the pressing operation is detected, determining whether a user instruction is an instruction for closing all application programs according to the pressing operation; and
when the user instruction is determined to be the instruction for closing all the application programs, closing all the application programs currently operated by the terminal electronic equipment;
when the pressing operation is detected, determining whether the user instruction is an instruction for closing all application programs according to the pressing operation comprises the following steps:
when detecting that a user presses a first touch key in the touch key area, displaying a first user interface, wherein the first user interface comprises icons of all application programs currently operated by the terminal electronic equipment;
detecting a second pressing operation of the first touch key by the user when the first user interface is displayed; and
and when detecting that the user presses the first touch key for the second time, determining that the user instruction is the instruction for closing all the application programs.
2. The terminal electronic device of claim 1, wherein the first pressing operation comprises: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and the user presses the first touch key again with the strength greater than a preset second strength threshold value.
3. The terminal electronic device of claim 1, wherein the first pressing operation comprises: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and the user continues to perform continuous pressing operation on the first touch key with the force greater than the first force threshold value.
4. The terminal electronic device of claim 1, wherein the first pressing operation comprises: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and the user continues to perform continuous pressing operation on the first touch key with the force greater than the first force threshold, and the duration of the continuous pressing operation is greater than a preset first time threshold.
5. The terminal electronic device of claim 1, wherein when the pressing operation is detected, determining whether the user instruction is a close all application instruction according to the pressing operation comprises:
and when detecting that the user continuously presses a first touch key in the touch key area, determining that the user instruction is the instruction for closing all the application programs.
6. The terminal electronic device of claim 5, wherein the continuous pressing operation of the first touch key comprises: and the user continuously presses the first touch key with a force greater than a preset first force threshold, and the time sequence of the continuous pressing operation is greater than a preset first time threshold.
7. The terminal electronic device of claim 1, wherein when the pressing operation is detected, determining whether the user instruction is a close all application instruction according to the pressing operation comprises:
when detecting that a user presses a first touch key in the touch key area, displaying a first user interface, wherein the first user interface comprises icons of all application programs currently operated by the terminal electronic equipment;
detecting a second pressing operation of a user on a second touch key in the touch key area when the first user interface is displayed; and
when detecting that a user presses the second touch key, determining that a user instruction is the instruction for closing all the application programs;
the second touch key and the first touch key are not the same touch key.
8. The terminal electronic device of claim 7, wherein the first pressing operation comprises: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and pressing the second touch key by a user with a force greater than a preset second force threshold.
9. The terminal electronic device of claim 7 or 8, wherein the first touch key and the second touch key are configured by a user.
10. An application program closing method is applied to terminal electronic equipment, and the terminal electronic equipment is characterized by comprising the following steps: the touch key area is used for providing touch keys; the touch button area includes: a pressure sensing element; the application program closing method comprises the following steps:
when a screen of the terminal electronic equipment is bright, detecting the pressing operation of a user on the touch key in the touch key area;
when the pressing operation is detected, determining whether a user instruction is an instruction for closing all application programs according to the pressing operation; and
when the user instruction is determined to be the instruction for closing all the application programs, closing all the application programs currently operated by the terminal electronic equipment;
when the pressing operation is detected, determining whether the user instruction is an instruction for closing all application programs according to the pressing operation comprises the following steps:
when detecting that a user presses a first touch key in the touch key area, displaying a first user interface, wherein the first user interface comprises icons of all application programs currently operated by the terminal electronic equipment;
detecting a second pressing operation of the first touch key by the user when the first user interface is displayed; and
and when detecting that the user presses the first touch key for the second time, determining that the user instruction is the instruction for closing all the application programs.
11. The application closing method according to claim 10, wherein the first pressing operation includes: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and the user presses the first touch key again with the strength greater than a preset second strength threshold value.
12. The application closing method according to claim 10, wherein the first pressing operation includes: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and the user continues to perform continuous pressing operation on the first touch key with the force greater than the first force threshold value.
13. The application closing method according to claim 10, wherein the first pressing operation includes: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and the user continues to perform continuous pressing operation on the first touch key with the force greater than the first force threshold, and the duration of the continuous pressing operation is greater than a preset first time threshold.
14. The method of claim 10, wherein when the pressing operation is detected, determining whether the user command is to close all application commands according to the pressing operation comprises:
and when detecting that the user continuously presses a first touch key in the touch key area, determining that the user instruction is the instruction for closing all the application programs.
15. The method for closing the application program according to claim 14, wherein the continuously pressing operation of the first touch key comprises: and the user continuously presses the first touch key with a force greater than a preset first force threshold, and the time sequence of the continuous pressing operation is greater than a preset first time threshold.
16. The method of claim 10, wherein when the pressing operation is detected, determining whether the user command is to close all application commands according to the pressing operation comprises:
when detecting that a user presses a first touch key in the touch key area, displaying a first user interface, wherein the first user interface comprises icons of all application programs currently operated by the terminal electronic equipment;
detecting a second pressing operation of a user on a second touch key in the touch key area when the first user interface is displayed; and
when detecting that a user presses the second touch key, determining that a user instruction is the instruction for closing all the application programs;
the second touch key and the first touch key are not the same touch key.
17. The application closing method according to claim 16, wherein the first pressing operation includes: pressing the first touch key by a user with a force greater than a preset first force threshold; the second pressing operation includes: and pressing the second touch key by a user with a force greater than a preset second force threshold.
18. The method for closing an application according to claim 16 or 17, wherein the first touch button and the second touch button are configured by a user.
CN201610130254.4A 2016-03-08 2016-03-08 Application program closing method and device and terminal electronic equipment Expired - Fee Related CN107168631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610130254.4A CN107168631B (en) 2016-03-08 2016-03-08 Application program closing method and device and terminal electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610130254.4A CN107168631B (en) 2016-03-08 2016-03-08 Application program closing method and device and terminal electronic equipment

Publications (2)

Publication Number Publication Date
CN107168631A CN107168631A (en) 2017-09-15
CN107168631B true CN107168631B (en) 2020-06-19

Family

ID=59848757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610130254.4A Expired - Fee Related CN107168631B (en) 2016-03-08 2016-03-08 Application program closing method and device and terminal electronic equipment

Country Status (1)

Country Link
CN (1) CN107168631B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108208B (en) * 2017-12-20 2021-09-07 北京奇虎科技有限公司 A function control method and device of an intelligent terminal
CN110780746B (en) 2019-10-09 2021-08-24 维沃移动通信有限公司 A key structure, key control method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722407A (en) * 2012-06-11 2012-10-10 广州市久邦数码科技有限公司 Method and system for quickly shutting down running programs
CN103106002A (en) * 2013-01-28 2013-05-15 广东欧珀移动通信有限公司 Method for quickly closing background application program and touch-type mobile terminal thereof
CN103150117A (en) * 2013-03-21 2013-06-12 天脉聚源(北京)传媒科技有限公司 Method and device for closing application or interface
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs
CN104199686A (en) * 2014-08-14 2014-12-10 北京乐动卓越科技有限公司 System and method used for closing background applications through one key and applied to iphone
CN104731504A (en) * 2015-03-30 2015-06-24 努比亚技术有限公司 Application control method and device based on border-free terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IN2013DE03292A (en) * 2013-11-08 2015-05-15 Samsung India Electronics Pvt Ltd

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722407A (en) * 2012-06-11 2012-10-10 广州市久邦数码科技有限公司 Method and system for quickly shutting down running programs
CN103106002A (en) * 2013-01-28 2013-05-15 广东欧珀移动通信有限公司 Method for quickly closing background application program and touch-type mobile terminal thereof
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs
CN103150117A (en) * 2013-03-21 2013-06-12 天脉聚源(北京)传媒科技有限公司 Method and device for closing application or interface
CN104199686A (en) * 2014-08-14 2014-12-10 北京乐动卓越科技有限公司 System and method used for closing background applications through one key and applied to iphone
CN104731504A (en) * 2015-03-30 2015-06-24 努比亚技术有限公司 Application control method and device based on border-free terminal

Also Published As

Publication number Publication date
CN107168631A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN105511686B (en) Incoming call processing method, device and terminal electronic equipment
CN106951884B (en) Method, device and electronic device for collecting fingerprints
JP6199510B2 (en) Method and apparatus for switching display modes
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
CN111580904A (en) Display state switching method, display state switching device, and storage medium
CN107102772B (en) Touch control method and device
CN108509232A (en) Screen recording method, device and computer readable storage medium
CN107390932B (en) Edge accident prevention method and device, and computer-readable storage medium
CN105657173A (en) Volume adjustment method and device and terminal
JP2017535895A (en) Mobile terminal control method and mobile terminal
CN105487680B (en) Method, device and terminal for screen capture of terminal
CN110262692B (en) Touch screen scanning method, device and medium
CN110968364B (en) Methods, devices and smart devices for adding shortcut plug-ins
CN106980445A (en) Manipulate the awaking method and device, electronic equipment of menu
CN105975178A (en) Progress bar display method and apparatus
CN107168566B (en) Operation mode control method, device and terminal electronic device
CN107885418B (en) Terminal, split screen display method and device
CN105739840A (en) Terminal and method for starting an application program in the terminal
CN113361305B (en) Fingerprint collection method, electronic device and computer-readable storage medium
CN106951114A (en) Scan control method and device, electronic equipment
CN108388864A (en) Fingerprint collecting method, device and computer readable storage medium
WO2017161813A1 (en) Method and device for switching camera modes and mobile device
CN107168631B (en) Application program closing method and device and terminal electronic equipment
CN106843691B (en) Operation control method and device of mobile terminal
CN106610777A (en) Application starting method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200619