WO2015131564A1 - Method and device for processing terminal application - Google Patents

Method and device for processing terminal application Download PDF

Info

Publication number
WO2015131564A1
WO2015131564A1 PCT/CN2014/092084 CN2014092084W WO2015131564A1 WO 2015131564 A1 WO2015131564 A1 WO 2015131564A1 CN 2014092084 W CN2014092084 W CN 2014092084W WO 2015131564 A1 WO2015131564 A1 WO 2015131564A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
terminal application
application
action
action information
Prior art date
Application number
PCT/CN2014/092084
Other languages
French (fr)
Chinese (zh)
Inventor
党博昌
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN201480003776.7A priority Critical patent/CN105637461B/en
Publication of WO2015131564A1 publication Critical patent/WO2015131564A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/451Execution arrangements for user interfaces

Definitions

  • the present application relates to a technology for implementing terminal application processing, and more particularly to a method and device for implementing terminal application processing.
  • the terminal application When the terminal application is opened and running, it must occupy the random access memory (RAM) of the terminal, that is, occupy the space of the running memory of the terminal, and the RAM capacity of the terminal device is fixed, and the remaining space of the RAM increases as the number of open applications of the terminal increases. It is bound to become smaller and smaller, and the reduction of the remaining space of the RAM directly affects the running speed of the terminal device, resulting in the terminal device not running smoothly (also called the sensation). If the user needs to open a new application, it is necessary to select a part of the terminal application that is not used for shutdown to provide the RAM space required for its operation. Under the premise that there is not much RAM left and the terminal device is not running smoothly, how to make the user more convenient and quicker to close the terminal application that the user chooses to close is becoming more and more important for the use of the terminal device.
  • RAM random access memory
  • the terminal device if the terminal device is in the lock screen state, the user needs to close the selected terminal application, and firstly, the screen needs to be unlocked. If the terminal device has been stuck, the response of the terminal device must be slow. After unlocking the screen, the user also needs to open a list of running terminal applications, and perform sliding and selection of the terminal application list through the touch screen to determine that the terminal needs to be closed.
  • the terminal application is closed by a finger-sliding selected terminal application.
  • the related terminal application processing method in the case of the Caton, cannot effectively and reasonably close the terminal application, which affects the user's experience with the terminal device.
  • the present invention provides a method and apparatus for implementing terminal application processing, which can effectively and reasonably close a terminal application and improve a user experience with the terminal device.
  • a method for implementing terminal application processing comprising:
  • the terminal After receiving the trigger signal, the terminal starts to acquire the action information of the user;
  • the terminal application is closed according to the obtained action information of the user.
  • the method before the step of closing the terminal application, the method further includes:
  • the correspondence between the information of the terminal application that needs to be closed and the action information is set in advance.
  • the method before the step of closing the terminal application, the method further includes: acquiring a lock screen state of the terminal,
  • the steps of closing the terminal application include:
  • the step of closing all or part of the terminal applications in all the terminal applications corresponding to the action information according to whether the terminal application of the terminal is working in the terminal, and/or the list display state of the terminal application includes:
  • terminal device When the terminal device is displaying the list of the terminal applications corresponding to the action information, selecting the action information to be closed from all the terminal applications corresponding to the action information according to the displayed action information of the terminal application list. Terminal application.
  • the step of selecting the terminal application to be closed from all the terminal applications corresponding to the action information according to the displayed action information in combination with the obtained action information includes:
  • the terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is up or down , shutting down the selected terminal application; or,
  • the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is left or right , the closed terminal application is closed.
  • the step of obtaining a direction of the action corresponding to the action information includes:
  • a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line.
  • the direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
  • the method before the step of acquiring the action information of the user according to the trigger signal, the method further includes: setting a physical button or a physical button combination;
  • the trigger signal is generated when the physical button or physical button combination is pressed.
  • An apparatus for implementing processing of a terminal application comprising: an obtaining unit and a processing unit; wherein
  • the acquiring unit is configured to: after receiving the trigger signal, start acquiring action information of the user;
  • the processing unit is configured to: close the terminal application according to the obtained action information of the user.
  • the device further includes a terminal application information unit, wherein:
  • the terminal application information unit is configured to: preset a correspondence between the information of the terminal application that needs to be closed and the action information.
  • the device further comprises a lock screen status unit, wherein:
  • the lock screen status unit is configured to: acquire a lock screen status of the terminal, and send the acquired lock screen status to the processing unit,
  • the processing unit is configured to close the terminal application according to the obtained action information of the user as follows:
  • the processing unit is configured to close all or all of the terminal applications corresponding to the action information according to whether the system foreground of the terminal is working, and/or the list display state of the terminal application, according to the following manner
  • the device further includes a direction determining unit, wherein:
  • the direction determining unit is configured to: when the terminal device is displaying the corresponding action information When the list of terminal applications is used, the direction of the action is obtained;
  • the processing unit is configured to select the terminal application to be closed from all the terminal applications corresponding to the action information according to the displayed action information in accordance with the displayed action information in the following manner:
  • the terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is up or down , shutting down the selected terminal application; or,
  • the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is left or right , the closed terminal application is closed.
  • the direction determining unit is configured to obtain the direction of the action as follows:
  • a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line.
  • the direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
  • the device further comprises a setting button unit, wherein:
  • the setting button unit is configured to: set a physical button or a physical button combination; and generate the trigger signal when the set physical button or physical button combination is pressed.
  • a computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform any of the methods described above for implementing terminal application processing.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • the technical solution provided by the present invention includes: acquiring action information of a user according to a trigger signal; and closing the terminal application according to the obtained action information of the user.
  • the user's action information is obtained, and the terminal application is closed. This prevents the user from effectively closing the terminal application due to the stuck condition of the terminal device, which affects the user's use of the new application and improves the user experience.
  • FIG. 1 is a flowchart of a method for implementing terminal application processing according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of determining direction information in action information according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of an apparatus for implementing terminal application processing according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing terminal application processing according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step 100 Acquire motion information of the user according to the trigger signal.
  • the action information of the user refers to a user action for triggering the closing of the terminal application, such as shaking to the left, flicking to the right, panning, and panning, etc., which can trigger the action of closing the terminal application.
  • the method further includes: setting a physical button or a physical button combination;
  • the trigger signal comes from the operation of a physical button or a combination of physical buttons. That is, when the set physical button or physical button combination is pressed, a trigger signal is generated to start acquiring the user action. When the set physical button or physical button combination is released, the acquisition of the user action is stopped. Or, after a certain time after the set physical button or physical button combination is pressed, the user action is stopped. There are other ways to determine when to stop acquiring user action information, as long as the action information can be stopped, and details are not described herein.
  • the physical button or physical button combination here is determined according to the button usage of the terminal device, and different terminal devices have physical buttons or physical button combinations that are not utilized when the screen is locked and unlocked.
  • the terminal can obtain the action information of the user only when receiving the trigger signal, which can save the working energy consumption of the terminal device; of course, it can also be used to generate the trigger sensor to enter the work by setting a new physical button. status.
  • the terminal obtains the user's motion information obtained by the sensor, and is a sensor that can obtain the user's action on the terminal device, such as an acceleration sensor.
  • an acceleration sensor such as an acceleration sensor
  • the method further includes: presetting the correspondence between the information of the terminal application that needs to be closed and the action information.
  • the pre-set information of the terminal application that is triggered to be turned off refers to an application that can be directly closed by the preset terminal in the lock screen state.
  • the terminal application can be reasonably closed by triggering the information of the closed terminal application by the preset setting of the information of the terminal application.
  • the content of the preset terminal application information may be adjusted according to the actual situation. For example, for some system functions set by the user, such as a desktop tool, the user may preset content that is not required to be processed by the terminal application. Part of the content can be implemented by the whitelist function, so that the terminal application processing of the embodiment of the present invention does not affect the work of these applications.
  • the user performs rule determination on the application duration and the number of uses in the foreground, and automatically adds less used applications to the preset information of the terminal application that triggers the shutdown, and passes the information.
  • the preset terminal application can reasonably close the terminal application that can be closed according to the requirements of the user, and the processing of the terminal application is reasonable.
  • Step 101 Close the terminal application according to the obtained action information of the user.
  • the method further includes: acquiring a lock screen state of the terminal,
  • the terminal application is closed to: close all terminal applications corresponding to the action information;
  • the step of closing the terminal application includes: closing all the terminal applications corresponding to the action information according to whether the terminal foreground of the terminal is working, and/or the list display state of the terminal application All or part of the terminal application. Specifically include:
  • the step of selecting the terminal application to be closed from all the terminal applications corresponding to the action information according to the displayed action information in combination with the obtained action information includes:
  • the direction in which the action is obtained is the direction from the start point to the end point of the action such as leftward, rightward, upward or downward.
  • a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line.
  • the direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
  • the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is up or down. , shutting down the selected terminal application; or,
  • the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is left or right. , the closed terminal application is closed.
  • FIG. 2 is a schematic diagram of a method for obtaining direction information according to action information according to an embodiment of the present invention. As shown, the parallel lines of the vector are drawn by the intersection of the two terminal devices closest to the vector corresponding to the motion information, and the content of the direction information is determined by the angle of the parallel lines. It can be seen that the direction information obtained after the example processing is to the left.
  • the action information of the user is obtained by acquiring the action information of the user, so as to prevent the user from using the new application due to the stuck condition of the terminal device, thereby improving the user experience.
  • the unlocking state is obtained, the action information of the user is obtained, and whether the terminal application is being used and the terminal application list is displayed in the foreground of the system, the terminal application of the unlocked terminal device is closed, thereby improving the processing efficiency of the terminal application.
  • all the terminal applications in the information of the terminal application are closed in the lock screen state, and directly processed through the action information, and the "one-click processing" of the related technology is applied only to the preset terminal application.
  • the terminal application list is deleted one by one, and is not affected by the Caton problem, and all the information of the preset terminal application information is The terminal application processes it more efficiently.
  • FIG. 3 is a structural block diagram of an apparatus for implementing terminal application processing according to an embodiment of the present invention. As shown in FIG. 3, an obtaining unit 301 and a processing unit 302 are provided.
  • the obtaining unit 301 is configured to: acquire motion information of the user according to the trigger signal.
  • the processing unit 302 is configured to: close the terminal application according to the obtained action information of the user.
  • the device of the embodiment of the present invention further includes a setting button unit 303, configured to: set a physical button or a physical button combination;
  • the trigger signal comes from the operation of a physical button or a combination of physical buttons.
  • the device of the embodiment of the present invention further includes a terminal application information unit 304, which is configured to: preset a correspondence between the information of the terminal application that needs to be closed and the action information.
  • the device of the embodiment of the present invention further includes a lock screen state unit 305, configured to: acquire a lock screen state of the terminal, and send it to the processing unit.
  • the processing unit 302 is specifically configured to: close all terminal applications corresponding to the action information;
  • the processing unit 302 is specifically configured to: close the action information according to whether the terminal application of the terminal is working in the foreground, and/or the list display state of the terminal application. All or part of the terminal applications of all corresponding terminal applications.
  • the processing unit 302 is specifically configured to:
  • the device of the embodiment of the present invention further includes a direction determining unit 306, configured to: when the terminal device is displaying a list of terminal applications corresponding to the action information, obtain a direction of the action according to the action information;
  • the direction determining unit 306 is configured to obtain the direction of the action according to the action information according to the following manner: directly obtaining the direction information according to the action information; or
  • the processing unit 302 is specifically configured to:
  • the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is up or down. , shutting down the selected terminal application; or,
  • the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is left or right. , the closed terminal application is closed.
  • the obtaining unit 301 is further configured to stop acquiring the user action when the set physical button or physical button combination is released. Or, after a certain time after the set physical button or physical button combination is pressed, the user action is stopped. Can also take Other ways to determine when to stop obtaining user action information, as long as the action information can be stopped, will not be described here.
  • the device in the embodiment of the present invention may be designed and implemented by directly connecting or built in the terminal device, or may be designed and implemented by using a chip and a module that are internal to the terminal.
  • the embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the terminal, so that the terminal can perform any of the above methods for implementing terminal application processing.
  • the embodiment of the invention also discloses a carrier carrying the above computer program.
  • the flow chart for cleaning the RAM of the mobile phone includes the following steps 1 to 6:
  • Step one because the sensor is always open, it consumes power, so it is off by default.
  • the user can set a physical button or button combination on the mobile phone as a shortcut button to open the sensor in the setting module. The user often presses the button or the button combination to turn the sensor on. When the user releases the sensor, the sensor is turned off to avoid the sensor being in the normally open state and avoid unnecessary consumption of electric energy.
  • the user can shake the phone in any direction.
  • the tilting direction can be divided into four types: left, right, up, and down, which correspond to the four borders of the mobile phone. If the line that the sensor captures in the direction of the tilt of the phone is not perpendicular to the frame, the detection module first takes out the edge corresponding to the two phone frames closest to the vector, and then draws a point from the intersection of the two sides. If the angle between the parallel line and the edge is larger, then the mobile phone is considered to be tilted to the side, so that the direction of the tilt is known. As shown in the figure, the detection module considers that the mobile phone is left to the left. Instigated:
  • Step 3 The detecting module detects in real time whether the sensor senses that the mobile phone has been shaken
  • Step 4 When the detecting module detects that the mobile phone has moved, the matching module is called;
  • the matching module matches the list of applications that are automatically closed by the application management module preset by the setting module before the user is searched from the database.
  • step 5 the matching module sends the matched application list to the application management module.
  • the application management module performs the following processing according to the different states of the current mobile phone and the mobile phone smashing information acquired through the sensor:
  • the following processing is performed: 3.1) If the application in the application list is arranged in order from left to right, and the detection module detects that the user is shaking the mobile phone from left to right through the sensor, the current pending processing The application is switched accordingly. For example, every time the device is turned to the right, the current pending application switches to the right to become a non-pending application, and the latest application on the left is switched to the current pending application.
  • the application management module will close the currently pending application without closing the finger; 3.2) Similarly, if the application in the application list is arranged up and down, and when the user shakes the mobile phone up and down, the user waits The application is switched up and down. If the user shakes the mobile phone left and right, the application management module immediately closes the current pending application, and does not need to slide the finger to close;
  • the embodiment of the present invention achieves the shutdown processing of the terminal application by acquiring the action information of the user, and avoids the situation that the user cannot effectively and reasonably close the terminal application due to the stuck condition of the terminal device, thereby affecting the user's use of the new application and improving the user experience. . Therefore, the present invention has strong industrial applicability.

Landscapes

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

Abstract

A method and device for processing a terminal application, comprising: acquiring the action information of a user according to a trigger signal; and shutting down a terminal application according to the obtained action information of the user. An embodiment of the present invention improves user experience by acquiring the action information of the user to shut down the terminal application, avoiding the situation where the user cannot effectively and properly shut down a terminal application due to hanging of the terminal device and thus cannot use a new application.

Description

一种实现终端应用处理的方法及装置Method and device for realizing terminal application processing 技术领域Technical field
本申请涉及实现终端应用处理的技术,尤指一种实现终端应用处理的方法及装置。The present application relates to a technology for implementing terminal application processing, and more particularly to a method and device for implementing terminal application processing.
背景技术Background technique
随着大众生活水平及个性化需求的不断提高,越来越多的终端应用得到了用户的认可并被安装到了手机、平板及其他便携式的终端设备上。当终端应用被打开运行时,必然占用终端的随机存取存储器(RAM),即占用终端的运行内存的空间,而终端设备的RAM容量固定,随着终端应用打开数量的增加,RAM的剩余空间必然逐渐变小,RAM剩余空间的减少直接影响终端设备的运行速度,造成终端设备运行不流畅(也称卡顿感)。如果用户需要打开新的应用,则需要选择一部分不使用的终端应用进行关闭,以提供其运行所需要的RAM空间。在RAM剩余空间不多,终端设备运行不流畅的前提下,如何能让用户更方便,更快捷的关闭用户选择关闭的终端应用对于终端设备的使用而言,变得越来越重要。With the continuous improvement of the living standards and individual needs of the public, more and more terminal applications have been recognized by users and installed on mobile phones, tablets and other portable terminal devices. When the terminal application is opened and running, it must occupy the random access memory (RAM) of the terminal, that is, occupy the space of the running memory of the terminal, and the RAM capacity of the terminal device is fixed, and the remaining space of the RAM increases as the number of open applications of the terminal increases. It is bound to become smaller and smaller, and the reduction of the remaining space of the RAM directly affects the running speed of the terminal device, resulting in the terminal device not running smoothly (also called the sensation). If the user needs to open a new application, it is necessary to select a part of the terminal application that is not used for shutdown to provide the RAM space required for its operation. Under the premise that there is not much RAM left and the terminal device is not running smoothly, how to make the user more convenient and quicker to close the terminal application that the user chooses to close is becoming more and more important for the use of the terminal device.
目前,如果终端设备处于锁屏状态,用户需要关闭选择的终端应用,首先需要进行屏幕的解锁。如果终端设备已经出现了卡顿,则终端设备的反应必然是迟钝的,在解锁屏幕后,用户还需要打开正在运行的终端应用的列表,通过触摸屏进行终端应用列表的滑动和选择,确定需要关闭的终端应用,通过手指滑动选择的终端应用进行关闭。而在终端设备卡顿状态下,上述操作的响应速度将变得十分缓慢,大大增加关闭终端应用所需时间,并且由于卡顿问题,还容易产生误操作,造成选择关闭的终端应用错误,影响用户对终端应用的正常使用。还有一种方法,是在终端设备锁屏时,按照用户设置自动的或定时的关闭应用,虽然可以进行终端应用的关闭,释放RAM空间,但是对于打开的终端应用,实际上并不希望进行关闭,因此,影响了用户对终端设备的使用。相关的方法中,还有一种称为“一键清理”的终端应用处理方法,通过安装处理的应用软件后,在桌面生成相应的快捷方式,在需要进 行终端应用清理时,点击快捷方式进行处理,这种处理方式依然存在需要在卡顿情况下,进行屏幕解锁的问题;解锁之后需要打开“一键清理”,由于系统卡顿,响应速度很慢,一键清理一般并不能很快被执行,终端应用的关闭效率依旧很低,影响用户使用终端设备的体验。Currently, if the terminal device is in the lock screen state, the user needs to close the selected terminal application, and firstly, the screen needs to be unlocked. If the terminal device has been stuck, the response of the terminal device must be slow. After unlocking the screen, the user also needs to open a list of running terminal applications, and perform sliding and selection of the terminal application list through the touch screen to determine that the terminal needs to be closed. The terminal application is closed by a finger-sliding selected terminal application. However, in the state where the terminal device is stuck, the response speed of the above operation will become very slow, greatly increasing the time required to close the terminal application, and due to the problem of the card, it is also prone to misoperation, resulting in the application error of the selected closed terminal, affecting User's normal use of the terminal application. In another method, when the terminal device locks the screen, the application is automatically or periodically closed according to the user setting, although the terminal application can be closed and the RAM space is released, but for the open terminal application, the user does not actually want to close. Therefore, it affects the user's use of the terminal device. In the related method, there is also a terminal application processing method called "one-click cleaning". After installing the processed application software, a corresponding shortcut is generated on the desktop, and the corresponding shortcut is needed. When the terminal application is cleaned up, click the shortcut to process it. This type of processing still has the problem of unlocking the screen in the case of the card. After unlocking, you need to open the "one-click cleaning". Because the system is stuck, the response speed is very slow. One-click cleaning is generally not performed very quickly, and the shutdown efficiency of the terminal application is still low, affecting the user experience of using the terminal device.
综上,相关的终端应用处理的方法,在卡顿情况下,并不能够有效合理的关闭终端应用,影响了用户对终端设备的使用体验。In summary, the related terminal application processing method, in the case of the Caton, cannot effectively and reasonably close the terminal application, which affects the user's experience with the terminal device.
发明内容Summary of the invention
为了解决上述问题,本发明提供了一种实现终端应用处理的方法及装置,能够有效合理的关闭终端应用,提高用户对终端设备的使用体验。In order to solve the above problems, the present invention provides a method and apparatus for implementing terminal application processing, which can effectively and reasonably close a terminal application and improve a user experience with the terminal device.
为解决上述问题,采用如下技术方案;In order to solve the above problems, the following technical solutions are adopted;
一种实现终端应用处理的方法,包括:A method for implementing terminal application processing, comprising:
终端接收到触发信号后,开始获取用户的动作信息;After receiving the trigger signal, the terminal starts to acquire the action information of the user;
根据获得的用户的动作信息,关闭终端应用。The terminal application is closed according to the obtained action information of the user.
可选地,所述关闭终端应用的步骤之前,该方法还包括:Optionally, before the step of closing the terminal application, the method further includes:
预先设置需要关闭的终端应用的信息与动作信息的对应关系。The correspondence between the information of the terminal application that needs to be closed and the action information is set in advance.
可选地,所述关闭终端应用的步骤之前,该方法还包括:获取终端的锁屏状态,Optionally, before the step of closing the terminal application, the method further includes: acquiring a lock screen state of the terminal,
所述关闭终端应用的步骤包括:The steps of closing the terminal application include:
当终端处于锁屏状态时,关闭与所述动作信息对应的所有的终端应用;When the terminal is in the lock screen state, all terminal applications corresponding to the action information are closed;
当终端屏幕处于解锁状态时,根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息对应的所有终端应用中的全部或部分终端应用。When the terminal screen is in the unlocked state, all or part of the terminal applications in all the terminal applications corresponding to the action information are closed according to whether the terminal foreground of the terminal is working, and/or the list display state of the terminal application.
可选地,所述根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息对应的所有终端应用中的全部或部分终端应用的步骤包括:Optionally, the step of closing all or part of the terminal applications in all the terminal applications corresponding to the action information according to whether the terminal application of the terminal is working in the terminal, and/or the list display state of the terminal application, includes:
当终端的系统前台存在终端应用正在工作,关闭与所述动作信息对应的 所有终端应用中,除在系统前台工作的终端应用以外的所有其它所述终端应用的信息中的终端应用;When the terminal of the terminal has a terminal application working in the foreground, the corresponding information corresponding to the action information is closed. a terminal application in information of all other terminal applications except terminal applications working in the foreground of the system in all terminal applications;
当终端的系统前台没有终端应用正在工作,且未显示终端应用的列表时,关闭与所述动作信息对应的所有终端应用中的所有终端应用;When the terminal of the terminal does not have the terminal application working, and the list of the terminal application is not displayed, all the terminal applications in all the terminal applications corresponding to the action information are closed;
当终端设备正在显示与所述动作信息对应的终端应用的列表时,根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息对应的所有终端应用中,选择需关闭的终端应用。When the terminal device is displaying the list of the terminal applications corresponding to the action information, selecting the action information to be closed from all the terminal applications corresponding to the action information according to the displayed action information of the terminal application list. Terminal application.
可选地,所述根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息对应的所有终端应用中,选择需关闭的终端应用的步骤包括:Optionally, the step of selecting the terminal application to be closed from all the terminal applications corresponding to the action information according to the displayed action information in combination with the obtained action information includes:
获得动作信息相应的动作的方向,Obtain the direction of the action corresponding to the action information,
当显示的终端应用列表的排列方式为左右排列时,如动作的方向为向左或向右,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向上或向下,对选择到的终端应用进行关闭处理;或,When the displayed terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is up or down , shutting down the selected terminal application; or,
当显示的终端应用列表的排列方式为上下排列时,如果动作的方向为向上或向下,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向左或向右,对选择到的终端应用进行关闭处理。When the displayed terminal application list is arranged up and down, if the direction of the action is up or down, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is left or right , the closed terminal application is closed.
可选地,所述获得动作信息相应的动作的方向的步骤包括:Optionally, the step of obtaining a direction of the action corresponding to the action information includes:
根据动作直接所述动作的方向;或,Directly the direction of the action according to the action; or,
根据动作无法直接获得动作的方向时,生成与动作信息对应的向量,选择与向量距离最近的两条终端设备边框对应的边,以这两条边的交点画向量的平行线,确定该平行线与两条边的夹角较大的边的所在的边框方向为所述动作的方向。When the direction of the motion cannot be directly obtained according to the motion, a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line. The direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
可选地,所述根据触发信号,获取用户的动作信息的步骤之前,该方法还包括:设置物理按键或物理按键组合;Optionally, before the step of acquiring the action information of the user according to the trigger signal, the method further includes: setting a physical button or a physical button combination;
所述物理按键或物理按键组合被按下时,生成所述触发信号。 The trigger signal is generated when the physical button or physical button combination is pressed.
一种实现终端应用处理的装置,包括:获取单元和处理单元;其中,An apparatus for implementing processing of a terminal application, comprising: an obtaining unit and a processing unit; wherein
所述获取单元设置成:接收到触发信号后,开始获取用户的动作信息;The acquiring unit is configured to: after receiving the trigger signal, start acquiring action information of the user;
所述处理单元设置成:根据获得的用户的动作信息,关闭终端应用。The processing unit is configured to: close the terminal application according to the obtained action information of the user.
可选地,该装置还包括终端应用信息单元,其中:Optionally, the device further includes a terminal application information unit, wherein:
所述终端应用信息单元设置成:预先设置需要关闭的终端应用的信息与动作信息的对应关系。The terminal application information unit is configured to: preset a correspondence between the information of the terminal application that needs to be closed and the action information.
可选地,该装置还包括锁屏状态单元,其中:Optionally, the device further comprises a lock screen status unit, wherein:
所述锁屏状态单元设置成:获取终端的锁屏状态,并将获取的锁屏状态发往所述处理单元,The lock screen status unit is configured to: acquire a lock screen status of the terminal, and send the acquired lock screen status to the processing unit,
所述处理单元设置成按照如下方式根据获得的用户的动作信息,关闭终端应用:The processing unit is configured to close the terminal application according to the obtained action information of the user as follows:
当终端处于锁屏状态时,关闭与所述动作信息相应的所有的终端应用;When the terminal is in the lock screen state, all terminal applications corresponding to the action information are closed;
当终端屏幕处于解锁状态时,根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息相应的所有终端应用中的全部或部分终端应用。When the terminal screen is in the unlocked state, all or part of the terminal applications in all the terminal applications corresponding to the action information are closed according to whether the terminal foreground of the terminal is working, and/or the list display state of the terminal application.
可选地,所述处理单元设置成按照如下方式根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息相应的所有终端应用中的全部或部分终端应用:Optionally, the processing unit is configured to close all or all of the terminal applications corresponding to the action information according to whether the system foreground of the terminal is working, and/or the list display state of the terminal application, according to the following manner Some terminal applications:
当终端的系统前台存在终端应用正在工作,关闭与所述动作信息相应的所有终端应用中,除在系统前台工作的终端应用以外的所有其它终端应用;When the terminal application of the terminal has a terminal application in operation, all terminal applications except the terminal application working in the foreground of the system are closed in all terminal applications corresponding to the action information;
当终端的系统前台没有终端应用正在工作,且未显示终端应用的列表时,关闭与所述动作信息相应的所有终端应用中的所有终端应用;When the terminal of the terminal does not have the terminal application working, and the list of the terminal application is not displayed, all the terminal applications in all the terminal applications corresponding to the action information are closed;
当终端设备正在显示与所述动作信息相应的终端应用的列表时,根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息相应的所有终端应用中选择需关闭的终端应用。When the terminal device is displaying the list of the terminal applications corresponding to the action information, selecting the terminal to be closed from all the terminal applications corresponding to the action information according to the displayed action information of the terminal application list. application.
可选地,该装置还包括方向判断单元,其中:Optionally, the device further includes a direction determining unit, wherein:
所述方向判断单元设置成:当终端设备正在显示与所述动作信息相应的 终端应用的列表时,获得动作的方向;The direction determining unit is configured to: when the terminal device is displaying the corresponding action information When the list of terminal applications is used, the direction of the action is obtained;
当终端解锁时,所述处理单元设置成按照如下方式根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息相应的所有终端应用中选择需关闭的终端应用:When the terminal is unlocked, the processing unit is configured to select the terminal application to be closed from all the terminal applications corresponding to the action information according to the displayed action information in accordance with the displayed action information in the following manner:
当显示的终端应用列表的排列方式为左右排列时,如动作的方向为向左或向右,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向上或向下,对选择到的终端应用进行关闭处理;或,When the displayed terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is up or down , shutting down the selected terminal application; or,
当显示的终端应用列表的排列方式为上下排列时,如果动作的方向为向上或向下,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向左或向右,对选择到的终端应用进行关闭处理。When the displayed terminal application list is arranged up and down, if the direction of the action is up or down, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is left or right , the closed terminal application is closed.
可选地,方向判断单元设置成按照如下方式获得动作的方向:Optionally, the direction determining unit is configured to obtain the direction of the action as follows:
根据动作直接所述动作的方向;或,Directly the direction of the action according to the action; or,
根据动作无法直接获得动作的方向时,生成与动作信息对应的向量,选择与向量距离最近的两条终端设备边框对应的边,以这两条边的交点画向量的平行线,确定该平行线与两条边的夹角较大的边的所在的边框方向为所述动作的方向。When the direction of the motion cannot be directly obtained according to the motion, a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line. The direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
可选地,该装置还包括设置按键单元,其中:Optionally, the device further comprises a setting button unit, wherein:
所述设置按键单元设置成:设置物理按键或物理按键组合;当所设置的物理按键或物理按键组合被按下时,生成所述触发信号。The setting button unit is configured to: set a physical button or a physical button combination; and generate the trigger signal when the set physical button or physical button combination is pressed.
一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的实现终端应用处理的方法。A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform any of the methods described above for implementing terminal application processing.
一种载有所述计算机程序的载体。A carrier carrying the computer program.
与相关技术相比,本发明提供的技术方案,包括:根据触发信号,获取用户的动作信息;根据获得的用户的动作信息,关闭终端应用。本发明实施 例通过获取用户的动作信息,实现对终端应用的关闭处理,避免了由于终端设备的卡顿情况,用户无法有效合理关闭终端应用,对用户使用新的应用造成影响,提高了用户体验。Compared with the related art, the technical solution provided by the present invention includes: acquiring action information of a user according to a trigger signal; and closing the terminal application according to the obtained action information of the user. Implementation of the invention In this example, the user's action information is obtained, and the terminal application is closed. This prevents the user from effectively closing the terminal application due to the stuck condition of the terminal device, which affects the user's use of the new application and improves the user experience.
附图概述BRIEF abstract
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification, which is used together with the embodiments of the present application to explain the technical solutions of the present application, and does not constitute a limitation of the technical solutions of the present application.
图1为本发明实施例的实现终端应用处理的方法的流程图;FIG. 1 is a flowchart of a method for implementing terminal application processing according to an embodiment of the present invention;
图2是本发明实施例的确定动作信息中方向信息的示意图;2 is a schematic diagram of determining direction information in action information according to an embodiment of the present invention;
图3为本发明实施例的实现终端应用处理的装置的结构框图。FIG. 3 is a structural block diagram of an apparatus for implementing terminal application processing according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实施例实现终端应用处理的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for implementing terminal application processing according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
步骤100、根据触发信号,获取用户的动作信息;Step 100: Acquire motion information of the user according to the trigger signal.
其中,用户的动作信息是指用于触发关闭终端应用的用户动作,如向左甩动、向右甩动、向上甩动和向下甩动等一切可以触发关闭终端应用的动作。The action information of the user refers to a user action for triggering the closing of the terminal application, such as shaking to the left, flicking to the right, panning, and panning, etc., which can trigger the action of closing the terminal application.
本步骤之前还包括:设置物理按键或物理按键组合;Before this step, the method further includes: setting a physical button or a physical button combination;
触发信号来自对物理按键或物理按键组合的操作。即所设置的物理按键或物理按键组合被按下时,生成触发信号,开始获取用户动作。当所设置的物理按键或物理按键组合被松开时,停止获取用户动作。或者当所设置的物理按键或物理按键组合被按下这一动作执行之后的一定时间后,停止获取用户动作。还可以采取其他方式来确定何时停止获取用户动作信息,只要能停止获取动作信息即可,在此不再赘述。 The trigger signal comes from the operation of a physical button or a combination of physical buttons. That is, when the set physical button or physical button combination is pressed, a trigger signal is generated to start acquiring the user action. When the set physical button or physical button combination is released, the acquisition of the user action is stopped. Or, after a certain time after the set physical button or physical button combination is pressed, the user action is stopped. There are other ways to determine when to stop acquiring user action information, as long as the action information can be stopped, and details are not described herein.
需要说明的是,这里的物理按键或物理按键组合是根据终端设备的按键使用情况进行确定的,不同的终端设备,在锁屏和解锁状态时,都存在没有被利用的物理按键或物理按键组合,通过这样的设置,可以使终端只在接收到触发信号时获取用户的动作信息,可以节省终端设备的工作能耗;当然,还可以通过设置新的物理按键,专门用于产生触发传感器进入工作状态。另外,这里的终端获取用户的动作信息是通过传感器获得的,是可以获得用户对终端设备实施动作的传感器,例如加速度传感器,当然,其他可以实现获取用户动作信息的传感器也可以应用于本发明。It should be noted that the physical button or physical button combination here is determined according to the button usage of the terminal device, and different terminal devices have physical buttons or physical button combinations that are not utilized when the screen is locked and unlocked. Through such a setting, the terminal can obtain the action information of the user only when receiving the trigger signal, which can save the working energy consumption of the terminal device; of course, it can also be used to generate the trigger sensor to enter the work by setting a new physical button. status. In addition, the terminal obtains the user's motion information obtained by the sensor, and is a sensor that can obtain the user's action on the terminal device, such as an acceleration sensor. Of course, other sensors that can obtain the user motion information can also be applied to the present invention.
本步骤之前还包括:预先设置需要关闭的终端应用的信息与动作信息的对应关系。Before the step, the method further includes: presetting the correspondence between the information of the terminal application that needs to be closed and the action information.
该对应关系,例如,在向左甩动的情况下关闭哪些终端应用,在向右甩动的情况下关闭哪些终端应用,还可以是向上和向上甩动的情况下关闭哪些终端应用等等。The correspondence, for example, which terminal applications are closed in the case of tilting to the left, which terminal applications are closed in the case of shaking to the right, which terminal applications can be closed in the case of up and up shaking, and the like.
需要说明的是,这里预先设置的触发关闭的终端应用的信息,是指预先设置的终端在锁屏状态下可直接关闭的应用程序。通过终端应用的信息的预先设置触发关闭的终端应用的信息可以合理的关闭终端应用。另外,这里预先设置的终端应用信息的内容可以根据实际情况进行合理的调整,例如对于一些用户设置的系统功能,例如桌面工具等,用户可以预先设置其不属于需要进行终端应用处理的内容,该部分内容可以通过白名单功能实现,使本发明实施例终端应用处理不影响这些应用的工作。用户根据对应用的使用情况,或采用统计方式,对应用在前台使用时长和使用次数等进行规则判定,将使用较少的应用自动添加到预先设置的触发关闭的终端应用的信息中去,通过预设的终端应用可以合理的按照用户的要求关闭可以关闭的终端应用,对终端应用的处理合理。It should be noted that the pre-set information of the terminal application that is triggered to be turned off refers to an application that can be directly closed by the preset terminal in the lock screen state. The terminal application can be reasonably closed by triggering the information of the closed terminal application by the preset setting of the information of the terminal application. In addition, the content of the preset terminal application information may be adjusted according to the actual situation. For example, for some system functions set by the user, such as a desktop tool, the user may preset content that is not required to be processed by the terminal application. Part of the content can be implemented by the whitelist function, so that the terminal application processing of the embodiment of the present invention does not affect the work of these applications. According to the usage of the application or the statistical method, the user performs rule determination on the application duration and the number of uses in the foreground, and automatically adds less used applications to the preset information of the terminal application that triggers the shutdown, and passes the information. The preset terminal application can reasonably close the terminal application that can be closed according to the requirements of the user, and the processing of the terminal application is reasonable.
步骤101、根据获得的用户的动作信息,关闭终端应用。Step 101: Close the terminal application according to the obtained action information of the user.
本发明实施例方法之前还包括:获取终端的锁屏状态,Before the method of the embodiment of the present invention, the method further includes: acquiring a lock screen state of the terminal,
当终端处于锁屏状态时,关闭终端应用为:关闭与所述动作信息对应的所有终端应用; When the terminal is in the lock screen state, the terminal application is closed to: close all terminal applications corresponding to the action information;
当终端屏幕处于解锁状态时,关闭终端应用的步骤包括:根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息相应的所有终端应用中的全部或部分终端应用。具体包括:When the terminal screen is in the unlocked state, the step of closing the terminal application includes: closing all the terminal applications corresponding to the action information according to whether the terminal foreground of the terminal is working, and/or the list display state of the terminal application All or part of the terminal application. Specifically include:
1)当终端的系统前台存在终端应用正在工作,关闭与所述动作信息相应的所有终端应用中,除在系统前台工作的终端应用以外的所有其它终端应用;1) when the terminal application of the terminal exists in the foreground of the terminal, all terminal applications except the terminal application working in the foreground of the system are closed in all terminal applications corresponding to the action information;
2)当终端的系统前台没有终端应用正在工作,且未显示终端应用的列表时,关闭与所述动作信息相应的所有终端应用中,所有终端应用的信息中的终端应用;2) when no terminal application is working in the system foreground of the terminal, and the list of the terminal application is not displayed, the terminal application in the information of all the terminal applications in all the terminal applications corresponding to the action information is closed;
3)当终端设备正在显示与所述动作信息相应的终端应用的列表时,根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息相应的所有终端应用中选择需关闭的终端应用。3) when the terminal device is displaying the list of terminal applications corresponding to the action information, according to the displayed arrangement of the terminal application list, combined with the obtained action information, selecting to close from all terminal applications corresponding to the action information Terminal application.
可选地,根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息相应的所有终端应用中选择需关闭的终端应用的步骤包括:Optionally, the step of selecting the terminal application to be closed from all the terminal applications corresponding to the action information according to the displayed action information in combination with the obtained action information includes:
获得动作的方向,方向是指该动作是向左甩、向右甩、向上甩还是向下甩等动作的起点到终点的方向。The direction in which the action is obtained, the direction is the direction from the start point to the end point of the action such as leftward, rightward, upward or downward.
获得动作的方向为:The direction in which the action is obtained is:
根据动作直接获得动作的方向;或,Directly obtain the direction of the action according to the action; or,
根据动作无法直接获得动作的方向时,生成与动作信息对应的向量,选择与向量距离最近的两条终端设备边框对应的边,以这两条边的交点画向量的平行线,确定该平行线与两条边的夹角较大的边的所在的边框方向为所述动作的方向。When the direction of the motion cannot be directly obtained according to the motion, a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line. The direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
当显示的终端应用列表的排列方式为左右排列时,如动作的方向为向左或向右,逐步选择到显示的终端应用的列表中需关闭的终端应用,如果动作的方向为向上或向下,对选择到的终端应用进行关闭处理;或,When the displayed terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is up or down. , shutting down the selected terminal application; or,
当显示的终端应用列表的排列方式为上下排列时,如果动作的方向为向上或向下,逐步选择到显示的终端应用的列表中需关闭的终端应用,如果动作的方向为向左或向右,对选择到的终端应用进行关闭处理。When the displayed terminal application list is arranged up and down, if the direction of the action is up or down, the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is left or right. , the closed terminal application is closed.
图2是本发明实施例根据动作信息获得方向信息的方法示意图;如图2 所示,通过距离动作信息对应的向量最近的两条终端设备边框对应的变的交点,画出了向量的平行线,通过平行线的夹角大小,确定了方向信息的内容,从图示中可以看出,该示例处理后获得的方向信息是向左。2 is a schematic diagram of a method for obtaining direction information according to action information according to an embodiment of the present invention; As shown, the parallel lines of the vector are drawn by the intersection of the two terminal devices closest to the vector corresponding to the motion information, and the content of the direction information is determined by the angle of the parallel lines. It can be seen that the direction information obtained after the example processing is to the left.
本发明实施例通过获取锁屏状态下,获取用户的动作信息,实现对终端应用的关闭处理,避免由于终端设备的卡顿情况对用户使用新的应用造成影响,提高了用户体验。通过获取解锁状态下,获取用户的动作信息,通过系统前台是否有终端应用正在使用和终端应用列表是否显示,对解锁的终端设备的终端应用进行关闭处理,提高了终端应用的处理效率。相对于相关技术,通过终端应用的信息中所有的终端应用,在锁屏状态下的关闭,通过动作信息直接进行处理,相对于相关技术的“一键处理”,仅对预先设置的终端应用的信息中所有的终端应用进行处理,其关闭的终端应用更为合理,相对与触摸解锁后,根据终端应用列表逐个删除,不会受到卡顿问题影响,对预先设置的终端应用的信息中所有的终端应用进行处理,效率更高。In the embodiment of the present invention, the action information of the user is obtained by acquiring the action information of the user, so as to prevent the user from using the new application due to the stuck condition of the terminal device, thereby improving the user experience. When the unlocking state is obtained, the action information of the user is obtained, and whether the terminal application is being used and the terminal application list is displayed in the foreground of the system, the terminal application of the unlocked terminal device is closed, thereby improving the processing efficiency of the terminal application. Compared with the related art, all the terminal applications in the information of the terminal application are closed in the lock screen state, and directly processed through the action information, and the "one-click processing" of the related technology is applied only to the preset terminal application. All the terminal applications in the information are processed, and the closed terminal application is more reasonable. After being unlocked relative to the touch, the terminal application list is deleted one by one, and is not affected by the Caton problem, and all the information of the preset terminal application information is The terminal application processes it more efficiently.
图3为本发明实施例实现终端应用处理的装置的结构框图,如图3所示,获取单元301和处理单元302;其中,3 is a structural block diagram of an apparatus for implementing terminal application processing according to an embodiment of the present invention. As shown in FIG. 3, an obtaining unit 301 and a processing unit 302 are provided.
获取单元301设置成:根据触发信号,获取用户的动作信息。The obtaining unit 301 is configured to: acquire motion information of the user according to the trigger signal.
处理单元302设置成:根据获得的用户的动作信息,关闭终端应用。The processing unit 302 is configured to: close the terminal application according to the obtained action information of the user.
本发明实施例装置还包括设置按键单元303,设置成:设置物理按键或物理按键组合;The device of the embodiment of the present invention further includes a setting button unit 303, configured to: set a physical button or a physical button combination;
触发信号来自对物理按键或物理按键组合的操作。The trigger signal comes from the operation of a physical button or a combination of physical buttons.
本发明实施例装置还包括终端应用信息单元304,设置成:预先设置需要关闭的终端应用的信息与动作信息的对应关系。The device of the embodiment of the present invention further includes a terminal application information unit 304, which is configured to: preset a correspondence between the information of the terminal application that needs to be closed and the action information.
本发明实施例装置还包括锁屏状态单元305,设置成:获取终端的锁屏状态,并发往处理单元,The device of the embodiment of the present invention further includes a lock screen state unit 305, configured to: acquire a lock screen state of the terminal, and send it to the processing unit.
当终端锁屏时,处理单元302具体设置成:关闭与动作信息对应的所有终端应用;When the terminal locks the screen, the processing unit 302 is specifically configured to: close all terminal applications corresponding to the action information;
当终端解锁时,处理单元302具体设置成:,根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息 相应的所有终端应用中的全部或部分终端应用。When the terminal is unlocked, the processing unit 302 is specifically configured to: close the action information according to whether the terminal application of the terminal is working in the foreground, and/or the list display state of the terminal application. All or part of the terminal applications of all corresponding terminal applications.
当终端解锁时,处理单元302具体设置成:When the terminal is unlocked, the processing unit 302 is specifically configured to:
当终端的系统前台存在终端应用正在工作,关闭与所述动作信息相应的所有终端应用中,除在系统前台工作的终端应用以外的所有其它终端应用;When the terminal application of the terminal has a terminal application in operation, all terminal applications except the terminal application working in the foreground of the system are closed in all terminal applications corresponding to the action information;
当终端的系统前台没有终端应用正在工作,且未显示终端应用的列表时,关闭与所述动作信息相应的所有终端应用中,所有的终端应用;When the terminal of the terminal has no terminal application working in the foreground, and the list of the terminal application is not displayed, all the terminal applications corresponding to the action information are closed, and all the terminal applications are closed;
当终端设备正在显示与所述动作信息相应的终端应用的列表时,根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息相应的所有终端应用中选择需关闭的终端应用。When the terminal device is displaying the list of the terminal applications corresponding to the action information, selecting the terminal to be closed from all the terminal applications corresponding to the action information according to the displayed action information of the terminal application list. application.
本发明实施例装置还包括方向判断单元306,设置成:当终端设备正在显示与所述动作信息相应的终端应用的列表时,根据动作信息获得动作的方向;The device of the embodiment of the present invention further includes a direction determining unit 306, configured to: when the terminal device is displaying a list of terminal applications corresponding to the action information, obtain a direction of the action according to the action information;
方向判断单元306设置成按照如下方式根据动作信息获得动作的方向:根据动作信息直接获得方向信息;或,The direction determining unit 306 is configured to obtain the direction of the action according to the action information according to the following manner: directly obtaining the direction information according to the action information; or
动作信息无法直接获得方向信息时,生成与动作信息对应的向量,选择与向量距离最近的两条终端设备边框对应的边,以这两条边的交点画向量的平行线,确定该平行线与两条边的夹角较大的边的所在的边框方向为所述动作的方向。When the motion information cannot directly obtain the direction information, generate a vector corresponding to the motion information, select an edge corresponding to the two terminal device frames closest to the vector distance, and draw a parallel line of the vector at the intersection of the two edges to determine the parallel line and The direction of the border of the edge with the larger angle between the two sides is the direction of the action.
当终端解锁时,处理单元302具体设置成:When the terminal is unlocked, the processing unit 302 is specifically configured to:
当显示的终端应用列表的排列方式为左右排列时,如动作的方向为向左或向右,逐步选择到显示的终端应用的列表中需关闭的终端应用,如果动作的方向为向上或向下,对选择到的终端应用进行关闭处理;或,When the displayed terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is up or down. , shutting down the selected terminal application; or,
当显示的终端应用列表的排列方式为上下排列时,如果动作的方向为向上或向下,逐步选择到显示的终端应用的列表中需关闭的终端应用,如果动作的方向为向左或向右,对选择到的终端应用进行关闭处理。When the displayed terminal application list is arranged up and down, if the direction of the action is up or down, the terminal application to be closed in the list of displayed terminal applications is gradually selected, if the direction of the action is left or right. , the closed terminal application is closed.
可选地,所述获取单元301还设置成:当所设置的物理按键或物理按键组合被松开时,停止获取用户动作。或者当所设置的物理按键或物理按键组合被按下这一动作执行之后的一定时间后,停止获取用户动作。还可以采取 其他方式来确定何时停止获取用户动作信息,只要能停止获取动作信息即可,在此不再赘述。Optionally, the obtaining unit 301 is further configured to stop acquiring the user action when the set physical button or physical button combination is released. Or, after a certain time after the set physical button or physical button combination is pressed, the user action is stopped. Can also take Other ways to determine when to stop obtaining user action information, as long as the action information can be stopped, will not be described here.
需要说明的是,本发明实施例装置,可以通过直接连接或内置在终端设备中的方式进行设计实现,也可以利用终端内部本身具有的芯片、模块进行设计实现。It should be noted that the device in the embodiment of the present invention may be designed and implemented by directly connecting or built in the terminal device, or may be designed and implemented by using a chip and a module that are internal to the terminal.
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的实现终端应用处理的方法。The embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the terminal, so that the terminal can perform any of the above methods for implementing terminal application processing.
本发明实施例还公开了一种载有上述计算机程序的载体。The embodiment of the invention also discloses a carrier carrying the above computer program.
下面将结合具体的应用实例本发明的具体实施进行详细说明:The specific implementation of the present invention will be described in detail below with reference to specific application examples:
清理手机RAM的流程图,包括如下的步骤一至步骤六:The flow chart for cleaning the RAM of the mobile phone includes the following steps 1 to 6:
步骤一,因传感器保持常开状态比较耗电,所以默认其是关闭状态。在本发明中,用户可以预先在设置模块中将手机上某物理按键或按键组合设置为打开传感器的快捷按键。用户常按此按键或按键组合可使传感器处于开启状态,松开后立即关闭传感器,以避免传感器处于常开状态,避免电能的无谓消耗;Step one, because the sensor is always open, it consumes power, so it is off by default. In the present invention, the user can set a physical button or button combination on the mobile phone as a shortcut button to open the sensor in the setting module. The user often presses the button or the button combination to turn the sensor on. When the user releases the sensor, the sensor is turned off to avoid the sensor being in the normally open state and avoid unnecessary consumption of electric energy.
步骤二,用户可向任意方向甩动手机。甩动方向具体可分为左、右、上、下4种,分别对应着手机的4个边框。如果手机甩动时传感器捕获的甩动方向所指向的直线即向量没有和边框垂直,则检测模块先取出离此向量最近的两条手机边框所对应的边,再从两条边的交点画一条甩动向量的平行线,然后判断此平行线与哪一条边的夹角较大,则认为手机向此条边甩动,从而可知甩动方向,如图所示,检测模块认为手机向左发生了甩动:In step two, the user can shake the phone in any direction. The tilting direction can be divided into four types: left, right, up, and down, which correspond to the four borders of the mobile phone. If the line that the sensor captures in the direction of the tilt of the phone is not perpendicular to the frame, the detection module first takes out the edge corresponding to the two phone frames closest to the vector, and then draws a point from the intersection of the two sides. If the angle between the parallel line and the edge is larger, then the mobile phone is considered to be tilted to the side, so that the direction of the tilt is known. As shown in the figure, the detection module considers that the mobile phone is left to the left. Instigated:
步骤三,检测模块实时检测传感器是否感知到手机发生了甩动;Step 3: The detecting module detects in real time whether the sensor senses that the mobile phone has been shaken;
步骤四,当检测模块检测到了手机发生了甩动,则调用匹配模块;Step 4: When the detecting module detects that the mobile phone has moved, the matching module is called;
匹配模块从数据库中匹配查找用户之前通过设置模块预设的允许应用管理模块自动关闭的应用列表。 The matching module matches the list of applications that are automatically closed by the application management module preset by the setting module before the user is searched from the database.
步骤五,匹配模块将匹配到的应用列表发给应用管理模块。应用管理模块根据当前手机所处的不同状态,再结合通过传感器获取到的手机甩动信息,分别做如下处理:In step 5, the matching module sends the matched application list to the application management module. The application management module performs the following processing according to the different states of the current mobile phone and the mobile phone smashing information acquired through the sensor:
1)当手机屏幕处于解锁状态,且某应用正处于前台运行状态,即应用界面处于可见或最大化状态时,说明用户正在操作当前应用,则不允许关闭当前应用,这时只要用户启动了传感器且无论向哪个方向甩动手机,都进行清理操作,即只关闭除当前应用之外的允许自动关闭的应用,确保当前应用的正常运行;1) When the screen of the mobile phone is unlocked and an application is in the foreground running state, that is, when the application interface is in the visible or maximized state, indicating that the user is operating the current application, the current application is not allowed to be closed, and the user only activates the sensor. And no matter which direction the mobile phone is shaken, the cleaning operation is performed, that is, only the application that allows automatic shutdown except the current application is closed, and the current application is normally operated;
2)当手机屏幕处于解锁状态,但无应用界面在显示或没有应用在前台运行时,这时只要用户启动了传感器且无论向哪个方向甩动手机,都进行清理操作,即关闭全部允许关闭的应用;2) When the screen of the mobile phone is unlocked, but no application interface is displayed or no application is running in the foreground, as long as the user activates the sensor and no matter which direction the mobile phone is tilted, the cleaning operation is performed, that is, all the shutdowns are allowed to be closed. application;
3)当手机屏幕处于解锁状态,系统的当前正在运行的应用列表正在显示,通常情况下此应用列表中有一个应用处于待处理状态(通常情况下如果用户单击列表中的此应用时,此应用会被切换到前台运行;如果用户手指在此应用上滑动时可关闭此应用)。但是此时如果手机已经非常卡顿,则手指在应用列表中左右或上下滑动时,由于手机反应已经很慢,手机都显得很迟钝,使用起来很不方便。鉴于此种情况,本发明采用了一种更方便快捷的方式。在本发明中,会根据应用列表中应用的排列方式,做如下处理:3.1)如果应用列表中应用是左右依次排列,而检测模块通过传感器检测到用户在左右甩动手机时,则当前待处理应用相应发生切换,例如每向右甩一下,则当前待处理应用向右切换一格,变成非待处理应用,同时左边最近的应用被切换成当前待处理应用。如果用户上下甩动手机,则应用管理模块会关闭当前待处理的应用,无须手指滑动去关闭;3.2)同理,如果应用列表中应用是上下依次排列,而当用户上下甩动手机时,待处理应用上下发生切换,用户如果左右甩动手机,应用管理模块即刻关闭当前待处理的应用,同样无须手指滑动关闭;3) When the mobile phone screen is unlocked, the system's currently running application list is being displayed. Usually, there is an application in the application list that is pending (usually if the user clicks on this application in the list) The app will be switched to the foreground; if the user’s finger is swiping over the app, the app can be closed). But at this time, if the mobile phone is already very stuck, when the finger slides up and down or up and down in the application list, the mobile phone is slow and the use is very inconvenient because the mobile phone response is already slow. In view of this situation, the present invention employs a more convenient and quicker method. In the present invention, according to the arrangement manner of the application in the application list, the following processing is performed: 3.1) If the application in the application list is arranged in order from left to right, and the detection module detects that the user is shaking the mobile phone from left to right through the sensor, the current pending processing The application is switched accordingly. For example, every time the device is turned to the right, the current pending application switches to the right to become a non-pending application, and the latest application on the left is switched to the current pending application. If the user moves the mobile phone up and down, the application management module will close the currently pending application without closing the finger; 3.2) Similarly, if the application in the application list is arranged up and down, and when the user shakes the mobile phone up and down, the user waits The application is switched up and down. If the user shakes the mobile phone left and right, the application management module immediately closes the current pending application, and does not need to slide the finger to close;
4)当手机处于锁屏状态,无论亮屏与否,只要用户启动了传感器且无论 向哪个方向甩动手机,应用管理模块都会去关闭全部允许关闭的应用;4) When the phone is in the lock screen state, whether it is bright or not, as long as the user activates the sensor and In which direction to shake the phone, the application management module will close all applications that are allowed to close;
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
本发明实施例通过获取用户的动作信息,实现对终端应用的关闭处理,避免了由于终端设备的卡顿情况,用户无法有效合理关闭终端应用,对用户使用新的应用造成影响,提高了用户体验。因此本发明具有很强的工业实用性。 The embodiment of the present invention achieves the shutdown processing of the terminal application by acquiring the action information of the user, and avoids the situation that the user cannot effectively and reasonably close the terminal application due to the stuck condition of the terminal device, thereby affecting the user's use of the new application and improving the user experience. . Therefore, the present invention has strong industrial applicability.

Claims (15)

  1. 一种实现终端应用处理的方法,包括:A method for implementing terminal application processing, comprising:
    终端接收到触发信号后,开始获取用户的动作信息;After receiving the trigger signal, the terminal starts to acquire the action information of the user;
    根据获得的用户的动作信息,关闭终端应用。The terminal application is closed according to the obtained action information of the user.
  2. 根据权利要求1所述的实现终端应用处理的方法,其中,所述关闭终端应用的步骤之前,该方法还包括:The method for implementing terminal application processing according to claim 1, wherein before the step of closing the terminal application, the method further comprises:
    预先设置需要关闭的终端应用的信息与动作信息的对应关系。The correspondence between the information of the terminal application that needs to be closed and the action information is set in advance.
  3. 根据权利要求2所述的实现终端应用处理的方法,其中:The method for implementing terminal application processing according to claim 2, wherein:
    所述关闭终端应用的步骤之前,该方法还包括:获取终端的锁屏状态,Before the step of closing the terminal application, the method further includes: acquiring a lock screen state of the terminal,
    所述关闭终端应用的步骤包括:The steps of closing the terminal application include:
    当终端处于锁屏状态时,关闭与所述动作信息对应的所有的终端应用;When the terminal is in the lock screen state, all terminal applications corresponding to the action information are closed;
    当终端屏幕处于解锁状态时,根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息对应的所有终端应用中的全部或部分终端应用。When the terminal screen is in the unlocked state, all or part of the terminal applications in all the terminal applications corresponding to the action information are closed according to whether the terminal foreground of the terminal is working, and/or the list display state of the terminal application.
  4. 根据权利要求3所述的实现终端应用处理的方法,其中,所述根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息对应的所有终端应用中的全部或部分终端应用的步骤包括:The method for implementing terminal application processing according to claim 3, wherein the terminal closes all the terminals corresponding to the action information according to whether the system foreground of the terminal is working, and/or the list display state of the terminal application The steps of all or part of the terminal application in the application include:
    当终端的系统前台存在终端应用正在工作,关闭与所述动作信息对应的所有终端应用中,除在系统前台工作的终端应用以外的所有其它所述终端应用的信息中的终端应用;When the terminal application of the terminal has a terminal application in operation, the terminal application in the information of all the other terminal applications except the terminal application working in the foreground of the system is closed in all the terminal applications corresponding to the action information;
    当终端的系统前台没有终端应用正在工作,且未显示终端应用的列表时,关闭与所述动作信息对应的所有终端应用中的所有终端应用;When the terminal of the terminal does not have the terminal application working, and the list of the terminal application is not displayed, all the terminal applications in all the terminal applications corresponding to the action information are closed;
    当终端设备正在显示与所述动作信息对应的终端应用的列表时,根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息对应的所有终端应用中,选择需关闭的终端应用。 When the terminal device is displaying the list of the terminal applications corresponding to the action information, selecting the action information to be closed from all the terminal applications corresponding to the action information according to the displayed action information of the terminal application list. Terminal application.
  5. 根据权利要求4所述的实现终端应用处理的方法,其中,所述根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息对应的所有终端应用中,选择需关闭的终端应用的步骤包括:The method for implementing terminal application processing according to claim 4, wherein the selecting, according to the displayed arrangement of the terminal application list, the action information to be closed, from all the terminal applications corresponding to the action information, The steps of the terminal application include:
    获得动作信息相应的动作的方向,Obtain the direction of the action corresponding to the action information,
    当显示的终端应用列表的排列方式为左右排列时,如动作的方向为向左或向右,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向上或向下,对选择到的终端应用进行关闭处理;或,When the displayed terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is up or down , shutting down the selected terminal application; or,
    当显示的终端应用列表的排列方式为上下排列时,如果动作的方向为向上或向下,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向左或向右,对选择到的终端应用进行关闭处理。When the displayed terminal application list is arranged up and down, if the direction of the action is up or down, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is left or right , the closed terminal application is closed.
  6. 根据权利要求5所述的实现终端应用处理的方法,其中,所述获得动作信息相应的动作的方向的步骤包括:The method for implementing terminal application processing according to claim 5, wherein the step of obtaining a direction of a corresponding action of the action information comprises:
    根据动作直接所述动作的方向;或,Directly the direction of the action according to the action; or,
    根据动作无法直接获得动作的方向时,生成与动作信息对应的向量,选择与向量距离最近的两条终端设备边框对应的边,以这两条边的交点画向量的平行线,确定该平行线与两条边的夹角较大的边的所在的边框方向为所述动作的方向。When the direction of the motion cannot be directly obtained according to the motion, a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line. The direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
  7. 根据权利要求1~3中任一项所述的实现终端应用处理的方法,其中,所述根据触发信号,获取用户的动作信息的步骤之前,该方法还包括:设置物理按键或物理按键组合;The method for implementing the terminal application processing according to any one of claims 1 to 3, wherein before the step of acquiring the action information of the user according to the trigger signal, the method further comprises: setting a physical button or a physical button combination;
    所述物理按键或物理按键组合被按下时,生成所述触发信号。The trigger signal is generated when the physical button or physical button combination is pressed.
  8. 一种实现终端应用处理的装置,包括:获取单元和处理单元;其中,An apparatus for implementing processing of a terminal application, comprising: an obtaining unit and a processing unit; wherein
    所述获取单元设置成:接收到触发信号后,开始获取用户的动作信息;The acquiring unit is configured to: after receiving the trigger signal, start acquiring action information of the user;
    所述处理单元设置成:根据获得的用户的动作信息,关闭终端应用。The processing unit is configured to: close the terminal application according to the obtained action information of the user.
  9. 根据权利要求8所述的实现终端应用处理的装置,该装置还包括终端应用信息单元,其中:The apparatus for implementing terminal application processing according to claim 8, further comprising a terminal application information unit, wherein:
    所述终端应用信息单元设置成:预先设置需要关闭的终端应用的信息与 动作信息的对应关系。The terminal application information unit is configured to: preset information of a terminal application that needs to be closed and Correspondence of action information.
  10. 根据权利要求9所述的实现终端应用处理的装置,其中,该装置还包括锁屏状态单元,其中:The apparatus for implementing terminal application processing according to claim 9, wherein the apparatus further comprises a lock screen status unit, wherein:
    所述锁屏状态单元设置成:获取终端的锁屏状态,并将获取的锁屏状态发往所述处理单元,The lock screen status unit is configured to: acquire a lock screen status of the terminal, and send the acquired lock screen status to the processing unit,
    所述处理单元设置成按照如下方式根据获得的用户的动作信息,关闭终端应用:The processing unit is configured to close the terminal application according to the obtained action information of the user as follows:
    当终端处于锁屏状态时,关闭与所述动作信息相应的所有的终端应用;When the terminal is in the lock screen state, all terminal applications corresponding to the action information are closed;
    当终端屏幕处于解锁状态时,根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息相应的所有终端应用中的全部或部分终端应用。When the terminal screen is in the unlocked state, all or part of the terminal applications in all the terminal applications corresponding to the action information are closed according to whether the terminal foreground of the terminal is working, and/or the list display state of the terminal application.
  11. 根据权利要求10所述的实现终端应用处理的装置,其中,所述处理单元设置成按照如下方式根据终端的系统前台是否有终端应用正在工作、和/或终端应用的列表显示状态,关闭与所述动作信息相应的所有终端应用中的全部或部分终端应用:The apparatus for implementing terminal application processing according to claim 10, wherein the processing unit is configured to close the location according to whether the terminal application of the terminal is working, and/or the list display state of the terminal application, according to the following manner; All or part of the terminal applications of all terminal applications corresponding to the action information:
    当终端的系统前台存在终端应用正在工作,关闭与所述动作信息相应的所有终端应用中,除在系统前台工作的终端应用以外的所有其它终端应用;When the terminal application of the terminal has a terminal application in operation, all terminal applications except the terminal application working in the foreground of the system are closed in all terminal applications corresponding to the action information;
    当终端的系统前台没有终端应用正在工作,且未显示终端应用的列表时,关闭与所述动作信息相应的所有终端应用中的所有终端应用;When the terminal of the terminal does not have the terminal application working, and the list of the terminal application is not displayed, all the terminal applications in all the terminal applications corresponding to the action information are closed;
    当终端设备正在显示与所述动作信息相应的终端应用的列表时,根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息相应的所有终端应用中选择需关闭的终端应用。When the terminal device is displaying the list of the terminal applications corresponding to the action information, selecting the terminal to be closed from all the terminal applications corresponding to the action information according to the displayed action information of the terminal application list. application.
  12. 根据权利要求11所述的实现终端应用处理的装置,其中,该装置还包括方向判断单元,其中:The apparatus for implementing terminal application processing according to claim 11, wherein the apparatus further comprises a direction determining unit, wherein:
    所述方向判断单元设置成:当终端设备正在显示与所述动作信息相应的终端应用的列表时,获得动作的方向;The direction determining unit is configured to: obtain a direction of the action when the terminal device is displaying a list of the terminal applications corresponding to the action information;
    当终端解锁时,所述处理单元设置成按照如下方式根据显示的终端应用列表的排列方式结合获得的动作信息,从与所述动作信息相应的所有终端应 用中选择需关闭的终端应用:When the terminal is unlocked, the processing unit is configured to combine the obtained action information according to the displayed arrangement of the terminal application list according to the following manner, and all terminals corresponding to the action information should be Select the terminal application to be closed:
    当显示的终端应用列表的排列方式为左右排列时,如动作的方向为向左或向右,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向上或向下,对选择到的终端应用进行关闭处理;或,When the displayed terminal application list is arranged in the left and right direction, if the direction of the action is leftward or rightward, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is up or down , shutting down the selected terminal application; or,
    当显示的终端应用列表的排列方式为上下排列时,如果动作的方向为向上或向下,逐步选择到显示的终端应用的列表中需关闭的终端应用;如果动作的方向为向左或向右,对选择到的终端应用进行关闭处理。When the displayed terminal application list is arranged up and down, if the direction of the action is up or down, the terminal application to be closed in the list of displayed terminal applications is gradually selected; if the direction of the action is left or right , the closed terminal application is closed.
  13. 根据权利要求12所述的实现终端应用处理的装置,其中,方向判断单元设置成按照如下方式获得动作的方向:The apparatus for implementing terminal application processing according to claim 12, wherein the direction determining unit is configured to obtain a direction of the action as follows:
    根据动作直接所述动作的方向;或,Directly the direction of the action according to the action; or,
    根据动作无法直接获得动作的方向时,生成与动作信息对应的向量,选择与向量距离最近的两条终端设备边框对应的边,以这两条边的交点画向量的平行线,确定该平行线与两条边的夹角较大的边的所在的边框方向为所述动作的方向。When the direction of the motion cannot be directly obtained according to the motion, a vector corresponding to the motion information is generated, and the edge corresponding to the two terminal device frames closest to the vector distance is selected, and the parallel lines of the vector are drawn at the intersection of the two edges to determine the parallel line. The direction of the frame where the edge with the larger angle between the two sides is the direction of the action.
  14. 根据权利要求8~10任一项所述的实现终端应用处理的装置,该装置还包括设置按键单元,其中:The device for implementing terminal application processing according to any one of claims 8 to 10, further comprising a setting button unit, wherein:
    所述设置按键单元设置成:设置物理按键或物理按键组合;当所设置的物理按键或物理按键组合被按下时,生成所述触发信号。The setting button unit is configured to: set a physical button or a physical button combination; and generate the trigger signal when the set physical button or physical button combination is pressed.
  15. 一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行权利要求1-7中任一项所述的实现终端应用处理的方法。 A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform the method of implementing terminal application processing according to any one of claims 1-7.
PCT/CN2014/092084 2014-09-25 2014-11-24 Method and device for processing terminal application WO2015131564A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201480003776.7A CN105637461B (en) 2014-09-25 2014-11-24 A kind of method and device for realizing terminal applies processing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410499430.2 2014-09-25
CN201410499430.2A CN105511598A (en) 2014-09-25 2014-09-25 Method and device for realizing processing of terminal application

Publications (1)

Publication Number Publication Date
WO2015131564A1 true WO2015131564A1 (en) 2015-09-11

Family

ID=54054445

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092084 WO2015131564A1 (en) 2014-09-25 2014-11-24 Method and device for processing terminal application

Country Status (2)

Country Link
CN (2) CN105511598A (en)
WO (1) WO2015131564A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110752939B (en) * 2018-07-24 2022-09-16 成都华为技术有限公司 Service process fault processing method, notification method and device
CN111752690B (en) * 2020-06-22 2023-05-26 陈洪涛 Process cleaning method, system, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508560A (en) * 2011-10-28 2012-06-20 优视科技有限公司 Application program switching method and device based on mobile terminal
CN102981878A (en) * 2012-11-28 2013-03-20 广东欧珀移动通信有限公司 Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520786A (en) * 2011-09-13 2012-06-27 深圳市比维视创科技有限公司 Method and system for utilizing user action to realize control for electronic equipment by intelligent terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508560A (en) * 2011-10-28 2012-06-20 优视科技有限公司 Application program switching method and device based on mobile terminal
CN102981878A (en) * 2012-11-28 2013-03-20 广东欧珀移动通信有限公司 Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs

Also Published As

Publication number Publication date
CN105637461B (en) 2019-11-01
CN105637461A (en) 2016-06-01
CN105511598A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
RU2595922C2 (en) Method and terminal for executing application using touch screen
KR101540169B1 (en) Method and device for switching application program of touch screen terminal
WO2016015585A1 (en) Screen capture method for terminal device as well as terminal device, computer program product and computer readable recording medium of screen capture method
TWI626591B (en) System and method for switching applications
KR101229699B1 (en) Method of moving content between applications and apparatus for the same
EP2772844A1 (en) Terminal device and method for quickly starting program
EP3136214A1 (en) Touch operation method and apparatus for terminal
US20170046866A1 (en) Method and device for presenting operating states
WO2022048633A1 (en) Display method and apparatus and electronic device
US9395793B2 (en) Electronic device and method for resuming from hibernation for the same
WO2014146443A1 (en) Screen control method and the apparatus
JP2016531340A5 (en) Operating system and operating method for a mobile device
WO2016165066A1 (en) Gesture control method, device, terminal apparatus and storage medium
WO2015176358A1 (en) Method for operating application program based on gesture, terminal and storage medium
CN105242870A (en) False touch method and device of terminal with touch screen
EP3525075A1 (en) Method for lighting up screen of double-screen terminal, and terminal
CN104049981A (en) Method and electronic equipment for starting camera application
WO2019062431A1 (en) Photographing method and mobile terminal
CN107422977A (en) Trigger action processing method, device and computer-readable recording medium
US9377944B2 (en) Information processing device, information processing method, and information processing program
WO2022213945A1 (en) Application reminding method and apparatus, and electronic device
CN112911147A (en) Display control method, display control device and electronic equipment
CN103294382A (en) Application program switching system and method
WO2018059552A1 (en) Screen display control method, device and mobile terminal, and computer storage medium
WO2015131564A1 (en) Method and device for processing terminal application

Legal Events

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

Ref document number: 14884668

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884668

Country of ref document: EP

Kind code of ref document: A1