CN111966418A - Application program closing method and device - Google Patents
Application program closing method and device Download PDFInfo
- Publication number
- CN111966418A CN111966418A CN202010876764.2A CN202010876764A CN111966418A CN 111966418 A CN111966418 A CN 111966418A CN 202010876764 A CN202010876764 A CN 202010876764A CN 111966418 A CN111966418 A CN 111966418A
- Authority
- CN
- China
- Prior art keywords
- identification information
- application
- input
- application program
- target
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000004044 response Effects 0.000 claims abstract description 8
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/442—Shutdown
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
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)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses an application program closing method and device, and belongs to the technical field of electronic equipment. The application program closing method comprises the following steps: receiving a first input of first identification information among the identification information of the plurality of application programs in a case where the identification information of the plurality of application programs is displayed; displaying a target boundary at a location associated with the first identifying information in response to the first input; receiving a second input of a second identification information of the plurality of application programs; and closing the target application program according to the target boundary and the second input. According to the application program closing method and device, the application program closing efficiency can be improved.
Description
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to an application program closing method and device.
Background
With the development of electronic devices and software technologies, more and more applications are installed on electronic devices. More and more applications are opened during the use of the electronic device by the user. The more applications that are open, the more system resources that are occupied. In order to reduce the occupation of system resources, some application programs need to be closed.
However, in the course of implementing the present application, the inventors found that at least the following problems exist in the related art: the users are required to close the application programs one by one, and the closing efficiency of the application programs is low.
Disclosure of Invention
The embodiment of the application aims to provide an application program closing method and device, and the problem of low application program closing efficiency can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an application closing method, including:
receiving a first input of first identification information among the identification information of the plurality of application programs in a case where the identification information of the plurality of application programs is displayed;
displaying a target boundary at a location associated with the first identifying information in response to the first input;
receiving a second input of a second identification information of the plurality of application programs;
and closing the target application program according to the target boundary and the second input.
In a second aspect, an embodiment of the present application provides an application closing apparatus, including:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving first input of first identification information in the identification information of a plurality of application programs under the condition that the identification information of the plurality of application programs is displayed;
a display module for displaying the target boundary at a location associated with the first identifying information in response to the first input;
a second receiving module for receiving a second input of a second identification information among the identification information of the plurality of application programs;
and the closing module is used for closing the target application program according to the target boundary and the second input.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
In the embodiment of the present application, in a case where the identification information of the plurality of application programs is displayed, the user may display the target boundary at a position associated with the first identification information by performing a first input on the first identification information among the identification information of the plurality of application programs, and the user may close the target application program according to the target boundary and the second input by performing a second input on one second identification information among the identification information of the plurality of application programs. Compared with the related art, one application program is closed, a plurality of application programs can be closed at one time through the embodiment of the application, and therefore the closing efficiency of the application programs can be improved.
Drawings
Fig. 1 is a schematic flowchart of an application closing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating identification information of a plurality of applications according to an embodiment of the present disclosure;
FIG. 3 is a first schematic diagram of a display target boundary provided in an embodiment of the present application;
FIG. 4 is a second schematic diagram of a display target boundary provided in an embodiment of the present application;
FIG. 5 is a schematic diagram showing a first boundary line and a second boundary line provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of an application shutdown device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a hardware structure diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail an application closing method and apparatus provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of an application closing method according to an embodiment of the present application. The application program closing method can comprise the following steps:
s101: in a case where identification information of a plurality of application programs is displayed, a first input of first identification information among the identification information of the plurality of application programs is received.
S102: in response to the first input, a target boundary is displayed at a location associated with the first identifying information.
S103: a second input of a second identification information of the plurality of applications is received.
S104: and closing the target application program according to the target boundary and the second input.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the present application, in a case where the identification information of the plurality of application programs is displayed, the user may display the target boundary at a position associated with the first identification information by performing a first input on the first identification information among the identification information of the plurality of application programs, and the user may close the target application program according to the target boundary and the second input by performing a second input on one second identification information among the identification information of the plurality of application programs. Compared with the related art, one application program is closed, a plurality of application programs can be closed at one time through the embodiment of the application, and therefore the closing efficiency of the application programs can be improved.
In some possible implementations of the embodiment of the application, the identification information of the application may be an icon of the application, or may also be a thumbnail corresponding to a current interface of the application.
The embodiment of the present application does not limit the manner of displaying the identification information of the plurality of application programs, and any available display manner may be applied to the embodiment of the present application. Such as a horizontal display, a vertical display, or on an interface comprising a plurality of areas, each area displaying identification information for an application.
In some possible implementations of embodiments of the present application, the case of displaying identification information of a plurality of applications includes, but is not limited to: and entering an application program management mode and displaying the recent tasks.
The following description will be given taking identification information of a plurality of applications shown in fig. 2 as an example. Fig. 2 is a schematic diagram for displaying identification information of a plurality of applications according to an embodiment of the present application. As can be seen from fig. 2, the identification information of the plurality of applications is displayed in horizontal rows. The identification information shown in fig. 2 includes identification information of three application programs, which are identification information 10 of the application program 1, identification information 20 of the application program 2, and identification information 30 of the application program 3, respectively. Also shown in fig. 2, among other things, is a control 11 for closing applications other than the one currently running in the foreground.
In some possible implementations of the embodiment of the present application, S101 may include: receiving a first input of two first identification information among the identification information of the plurality of application programs; accordingly, S102 may include: the target boundary line is displayed at a position between the two pieces of first identification information.
When a first input for two pieces of first identification information is received (for example, a user simultaneously clicks two pieces of first identification information with two fingers), a target boundary line is displayed at a position between the two pieces of first identification information.
Illustratively, assuming that the two pieces of first identification information are the identification information 10 of the application 1 and the identification information 30 of the application 3, respectively, a target boundary line 40 is displayed at a position between the identification information 10 of the application 1 and the identification information 30 of the application 3, as shown in fig. 3. Fig. 3 is a first schematic diagram of a display target boundary provided in an embodiment of the present application.
In some possible implementations of embodiments of the present application, the location between the two pieces of first identification information may be a location that is exactly in the middle of the two pieces of first identification information.
In some possible implementations of the embodiment of the present application, the two pieces of first identification information may be two pieces of first identification information respectively displayed in two adjacent display areas. That is, the display areas of the two pieces of first identification information are adjacent, and the two pieces of first identification information are adjacent two pieces of first identification information.
When a first input for two adjacent pieces of first identification information is received (for example, a user clicks two pieces of first identification information at the same time with two fingers), a target boundary line is displayed at a position between the two adjacent pieces of first identification information.
For example, assuming that the two pieces of first identification information are the identification information 10 of the application 1 and the identification information 20 of the application 2, respectively, a target boundary line 40 is displayed at a position between the identification information 10 of the application 1 and the identification information 20 of the application 2, as shown in fig. 4. Fig. 4 is a second schematic diagram of a display target boundary provided in an embodiment of the present application.
In some possible implementations of the embodiments of the present application, S104 may include: determining the application program corresponding to the second identification information and the application program corresponding to the identification information which is positioned on the same side of the target boundary as the second identification information as the target application program under the condition that the second input is the input for enabling the second identification information to be far away from the target boundary; the target application is closed.
The target boundary shown in fig. 4 is taken as an example for explanation.
Assuming that the identification information 20 of the application 2 dragged by the user is far from the target boundary 40, the identification information 20 of the application 2 is the second identification information, and the dragging input of the identification information 20 of the application 2 dragged by the user is far from the target boundary 40 is the second input, the application 2 and the application 3 corresponding to the identification information "the identification information 30 of the application 3" on the same side as the identification information 20 of the application 2 on the target boundary 40 are determined as the target application, and the application 2 and the application 3 are closed.
In the embodiment of the application, the application program corresponding to the second identification information and the application program corresponding to the identification information which is located on the same side of the target boundary with the second identification information can be closed at one time, so that the closing efficiency of the application program can be improved.
In some possible implementations of the embodiments of the present application, S102 may include: displaying a first boundary line at a first position which is located outside the display area of the first identification information and corresponds to a first preset distance from the display area to the top of the first identification information; and displaying the second boundary line at a second position which is positioned outside the display area of the first identification information and corresponds to a second preset distance from the display area to the bottom of the first identification information.
In some possible implementations of the embodiments of the present application, the first preset distance and the second preset distance may be the same or different.
In some possible implementations of the embodiments of the present application, the first preset distance and the second preset distance may be set according to actual needs.
Illustratively, the identification information of the plurality of application programs shown in fig. 2 is taken as an example. When the user presses the identification information 20 of the application program 2 for a long time, that is, the user performs the first input on the identification information 20 of the application program 2, the first boundary line 50 is displayed at a first position corresponding to a first preset distance from the display area of the identification information 20 of the application program 2 to the top of the identification information 20 of the application program 2; as shown in fig. 5, the second dividing line 60 is displayed at a second position, which is located outside the display area of the identification information 20 of the application 2 and corresponds to a second preset distance from the bottom of the identification information 20 of the application 2, where fig. 5 is a schematic diagram for displaying the first dividing line and the second dividing line provided in the embodiment of the present application.
In some possible implementations of the embodiments of the present application, S104 may include: in the case where the second input is an input for moving the second identification information in the direction of the first boundary line and to the first position, determining a first application program in the plurality of application programs and a second application program corresponding to the second identification information as a target application program, determining a third application among the plurality of applications as a target application in a case where the second input is an input for moving the second identification information in the direction of the second boundary line and to the second position, the first position is a position which meets a first preset relative position relation with the first boundary line, the second position is a position which meets a second preset relative position relation with the second boundary line, the first application program is an application program which runs in the foreground at a time earlier than the time of the second application program, and the third application program is an application program which runs in the foreground at a time later than the time of the second application program; the target application is closed.
In some possible implementations of the embodiments of the present application, the position satisfying the first preset relative positional relationship with the first boundary line may be a position at which the first boundary line is located; the position satisfying the second preset relative positional relationship with the second boundary line may be a position at which the second boundary line is located.
In general, when the identification information of a plurality of applications is displayed as the application runs earlier in the foreground, the identification information of the application that runs earlier in the foreground is displayed later. With the identification information shown in fig. 2, the application 3 is executed earlier in the foreground than the application 2 is executed, and the application 2 is executed earlier in the foreground than the application 1 is executed.
Assuming that the identification information 20 of the application 2 dragged by the user is moved to the position of the first boundary line 50, the identification information 20 of the application 2 is the second identification information, and the drag input of the application 2 dragged by the user to the position of the first boundary line 50 is the second input, the application 2 and the application 3 are determined as the target application, and the application 2 and the application 3 are closed.
Assuming that the identification information 20 of the application program 2 dragged by the user moves to the position where the second boundary line 60 is located, the identification information 20 of the application program 2 is the second identification information, and the drag input of the application program 2 dragged by the user moving to the position where the second boundary line 60 is located is the second input, the application program 1 is determined as the target application program, and the application program 1 is closed.
In the embodiment of the application, the second application program corresponding to the second identification information and the application program of which the foreground running time is earlier than that of the second application program can be closed at one time, or the application program of which the foreground running time is later than that of the second application program can be closed at one time, so that the application closing efficiency can be improved.
In some possible implementations of the embodiments of the present application, the electronic device may not simultaneously display the identification information of all running applications, limited by factors such as the screen size and the display setting of the electronic device. That is, there may be a case where the application 4 is executed in the foreground earlier than the application 3 is executed in the foreground, and the application 1 is executed in the foreground earlier than the application 5 is executed in the foreground. But does not display the identification information of the application 4 and the identification information of the application 5.
Based on this, when the identification information 20 of the application 2 dragged by the user moves to the position where the first boundary line 50 is located, the identification information 20 of the application 2 is the second identification information, and the drag input of the application 2 dragged by the user moving to the position where the identification information 20 of the application 2 is located is the second input, the application 2, the application 3, and the application 4 are determined as the target application, and the application 2, the application 3, and the application 4 are closed.
When the user drags the identification information 20 of the application program 2 to the position where the second boundary line 60 is located, the identification information 20 of the application program 2 is the second identification information, and the drag input when the user drags the identification information 20 of the application program 2 to the position where the second boundary line 60 is located is the second input, the application program 1 and the application program 5 are determined as the target application program, and the application program 1 and the application program 5 are closed.
In the embodiment of the application, the second application program corresponding to the second identification information and the application program which is operated in the foreground at a time earlier than the time of the second application program being operated in the foreground or the application program which is operated in the foreground at a time later than the time of the second application program being operated in the foreground can be closed at one time, so that the closing efficiency of the application program can be improved.
It should be noted that, in the application closing method provided in the embodiment of the present application, the execution main body may be an application closing device, or a control module in the application closing device for executing the application closing method. In the embodiment of the present application, an application closing apparatus executes an application closing method as an example, and the application closing apparatus provided in the embodiment of the present application is described.
Fig. 6 is a schematic structural diagram of an application shutdown device according to an embodiment of the present application. The application closing means may include:
a first receiving module 601, configured to receive a first input of first identification information of the plurality of application programs in a case where the identification information of the plurality of application programs is displayed;
a display module 602 for displaying a target boundary at a location associated with the first identification information in response to the first input;
a second receiving module 603, configured to receive a second input of a second identification information of the plurality of application programs;
a closing module 604 for closing the target application based on the target boundary and the second input.
In the embodiment of the present application, in a case where the identification information of the plurality of application programs is displayed, the user may display the target boundary at a position associated with the first identification information by performing a first input on the first identification information among the identification information of the plurality of application programs, and the user may close the target application program according to the target boundary and the second input by performing a second input on one second identification information among the identification information of the plurality of application programs. Compared with the related art, one application program is closed, a plurality of application programs can be closed at one time through the embodiment of the application, and therefore the closing efficiency of the application programs can be improved.
In some possible implementations of the embodiment of the present application, the first receiving module 601 may be specifically configured to:
receiving a first input of two first identification information among the identification information of the plurality of application programs;
the display module 602 may be specifically configured to:
the target boundary line is displayed at a position between the two pieces of first identification information.
In some possible implementations of embodiments of the present application, the shutdown module 604 may include:
a first determining unit configured to determine, as the target application, an application corresponding to the second identification information and an application corresponding to identification information located on the same side as the target boundary as the second identification information, in a case where the second input is an input for moving the second identification information away from the target boundary;
and the first closing unit is used for closing the target application program.
In the embodiment of the application, the application program corresponding to the second identification information and the application program corresponding to the identification information which is located on the same side of the target boundary with the second identification information can be closed at one time, so that the closing efficiency of the application program can be improved.
In some possible implementations of the embodiment of the present application, the display module 602 may be specifically configured to:
displaying a first boundary line at a first position which is located outside the display area of the first identification information and corresponds to a first preset distance from the display area to the top of the first identification information;
and displaying the second boundary line at a second position which is positioned outside the display area of the first identification information and corresponds to a second preset distance from the display area to the bottom of the first identification information.
In some possible implementations of embodiments of the present application, the shutdown module 604 may include:
a second determining unit configured to determine, as a target application, a second application corresponding to the first application and the second identification information among the plurality of applications, when the second input is an input for moving the second identification information in the direction of the first boundary line and moving the second identification information to a first position, and determine, as the target application, a third application among the plurality of applications, when the second input is an input for moving the second identification information in the direction of the second boundary line and moving the second identification information to a second position, the first position being a position satisfying a first preset relative positional relationship with the first boundary line, the second position being a position satisfying a second preset relative positional relationship with the second boundary line, the first application being an application that is executed in the foreground at a time earlier than a time at which the second application is executed, the third application being an application that is executed in the foreground at a time later than a time at which the second application is executed in the foreground Carrying out a procedure;
and the second closing unit is used for closing the target application program.
In the embodiment of the application, the second application program corresponding to the second identification information and the application program of which the foreground running time is earlier than that of the second application program can be closed at one time, or the application program of which the foreground running time is later than that of the second application program can be closed at one time, so that the application closing efficiency can be improved.
The application closing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The application closing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The application closing device provided in the embodiment of the present application can implement each process in the application closing method embodiments of fig. 1 to 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the foregoing embodiment of the method for closing an application, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein the user input unit 807 is configured to receive a first input of first identification information of the plurality of application programs in a case where the identification information of the plurality of application programs is displayed;
a display unit 806 for displaying the target boundary at a position associated with the first identification information in response to the first input;
a user input unit 807 for receiving a second input of one second identification information among the identification information of the plurality of application programs;
a processor 810 for closing the target application based on the target boundary and the second input.
In the embodiment of the present application, in a case where the identification information of the plurality of application programs is displayed, the user may display the target boundary at a position associated with the first identification information by performing a first input on the first identification information among the identification information of the plurality of application programs, and the user may close the target application program according to the target boundary and the second input by performing a second input on one second identification information among the identification information of the plurality of application programs. Compared with the related art, one application program is closed, a plurality of application programs can be closed at one time through the embodiment of the application, and therefore the closing efficiency of the application programs can be improved.
In some possible implementations of the embodiment of the present application, the user input unit 807 may be specifically configured to:
receiving a first input of two first identification information among the identification information of the plurality of application programs;
accordingly, the display unit 806 may be specifically configured to:
the target boundary line is displayed at a position between the two pieces of first identification information.
In some possible implementations of the embodiments of the application, the processor 810 may be specifically configured to:
determining the application program corresponding to the second identification information and the application program corresponding to the identification information which is positioned on the same side of the target boundary as the second identification information as the target application program under the condition that the second input is the input for enabling the second identification information to be far away from the target boundary; the target application is closed.
In the embodiment of the application, the application program corresponding to the second identification information and the application program corresponding to the identification information which is located on the same side of the target boundary with the second identification information can be closed at one time, so that the closing efficiency of the application program can be improved.
In some possible implementations of the embodiment of the present application, the display unit 806 may be specifically configured to:
displaying a first boundary line at a first position which is located outside the display area of the first identification information and corresponds to a first preset distance from the display area to the top of the first identification information;
and displaying the second boundary line at a second position which is positioned outside the display area of the first identification information and corresponds to a second preset distance from the display area to the bottom of the first identification information.
In some possible implementations of the embodiments of the application, the processor 810 may be specifically configured to:
determining a first application program of the plurality of application programs and a second application program corresponding to the second identification information as a target application program when the second input is an input for moving the second identification information in the direction of the first boundary line and moving the second identification information to the first position, and determining a third application program of the plurality of application programs as the target application program when the second input is an input for moving the second identification information in the direction of the second boundary line and moving the second identification information to the second position; the target application is closed. The first position is a position meeting a first preset relative position relation with the first boundary line, the second position is a position meeting a second preset relative position relation with the second boundary line, the first application program is an application program which runs in the foreground at a time earlier than the time of the second application program, and the third application program is an application program which runs in the foreground at a time later than the time of the second application program.
In the embodiment of the application, the second application program corresponding to the second identification information and the application program of which the foreground running time is earlier than that of the second application program can be closed at one time, or the application program of which the foreground running time is later than that of the second application program can be closed at one time, so that the application closing efficiency can be improved.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing application program closing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the application program closing method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. An application shutdown method, the method comprising:
receiving a first input of first identification information among identification information of a plurality of application programs in a case where the identification information of the plurality of application programs is displayed;
displaying a target boundary at a location associated with the first identifying information in response to the first input;
receiving a second input of a second identification information of the plurality of application programs;
and closing the target application program according to the target boundary and the second input.
2. The method of claim 1, wherein receiving a first input of a first one of the identification information of the plurality of applications comprises:
receiving a first input of two first identification information of the plurality of application programs;
the displaying a target boundary at a position associated with the first identification information includes:
displaying a target boundary at a position between the two pieces of first identification information.
3. The method of claim 2, wherein closing the target application based on the target boundary and the second input comprises:
determining, as the target application, an application corresponding to the second identification information and an application corresponding to identification information that is located on the same side of the target boundary as the second identification information, when the second input is an input for moving the second identification information away from the target boundary;
and closing the target application program.
4. The method of claim 1, wherein displaying a target boundary at the location associated with the first identifying information comprises:
displaying the first boundary line at a first position which is located outside the display area of the first identification information and corresponds to a first preset distance from the first identification information to the top of the first identification information;
and displaying the second boundary line at a second position which is located outside the display area of the first identification information and corresponds to a second preset distance from the bottom of the first identification information.
5. The method of claim 4, wherein closing the target application based on the target boundary and the second input comprises:
determining a first application program of the plurality of application programs and a second application program corresponding to the second identification information as the target application program and closing the target application program when the second input is an input for moving the second identification information to the direction of the first boundary line and to a first position; or the like, or, alternatively,
and determining a third application program of the plurality of application programs as the target application program when the second input is an input for moving the second identification information in the direction of the second boundary line and moving the second identification information to a second position, wherein the first position is a position satisfying a first preset relative positional relationship with the first boundary line, the second position is a position satisfying a second preset relative positional relationship with the second boundary line, the first application program is an application program which is operated in the foreground at a time earlier than the time when the second application program is operated in the foreground, the third application program is an application program which is operated in the foreground at a time later than the time when the second application program is operated in the foreground, and the target application program is closed.
6. An application shutdown apparatus, comprising:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving first input of first identification information in identification information of a plurality of application programs under the condition that the identification information of the plurality of application programs is displayed;
a display module for displaying a target boundary at a location associated with the first identification information in response to the first input;
a second receiving module for receiving a second input of one of the identification information of the plurality of application programs;
and the closing module is used for closing the target application program according to the target boundary and the second input.
7. The apparatus of claim 6, wherein the first receiving module is specifically configured to:
receiving a first input of two first identification information of the plurality of application programs;
the display module is specifically configured to:
displaying a target boundary at a position between the two pieces of first identification information.
8. The apparatus of claim 7, wherein the shutdown module comprises:
a first determining unit configured to determine, as the target application, an application corresponding to the second identification information and an application corresponding to identification information located on the same side as the target boundary as the second identification information, when the second input is an input for moving the second identification information away from the target boundary;
a first closing unit, configured to close the target application.
9. The apparatus of claim 6, wherein the display module is specifically configured to:
displaying the first boundary line at a first position which is located outside the display area of the first identification information and corresponds to a first preset distance from the first identification information to the top of the first identification information;
and displaying the second boundary line at a second position which is located outside the display area of the first identification information and corresponds to a second preset distance from the bottom of the first identification information.
10. The apparatus of claim 9, wherein the shutdown module comprises:
a second determination unit configured to determine, as the target application, a first application among the plurality of applications and a second application corresponding to the second identification information, when the second input is an input for moving the second identification information in the direction of the first boundary line and to a first position; or when the second input is an input for moving the second identification information in the direction of the second boundary line and moving the second identification information to a second position, determining a third application program of the plurality of application programs as the target application program, wherein the first position is a position satisfying a first preset relative positional relationship with the first boundary line, the second position is a position satisfying a second preset relative positional relationship with the second boundary line, the first application program is an application program which is executed in the foreground at a time earlier than the time when the second application program is executed in the foreground, and the third application program is an application program which is executed in the foreground at a time later than the time when the second application program is executed in the foreground;
and the second closing unit is used for closing the target application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010876764.2A CN111966418B (en) | 2020-08-27 | 2020-08-27 | Application program closing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010876764.2A CN111966418B (en) | 2020-08-27 | 2020-08-27 | Application program closing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111966418A true CN111966418A (en) | 2020-11-20 |
CN111966418B CN111966418B (en) | 2024-06-07 |
Family
ID=73399377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010876764.2A Active CN111966418B (en) | 2020-08-27 | 2020-08-27 | Application program closing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111966418B (en) |
Citations (6)
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 |
CN102779004A (en) * | 2012-06-26 | 2012-11-14 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for operating touch screen terminal screen |
US20140282110A1 (en) * | 2013-03-15 | 2014-09-18 | Apple Inc. | Device, method, and graphical user interface for managing concurrently open software applications |
WO2015096032A1 (en) * | 2013-12-24 | 2015-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Batch processing method and terminal |
CN106469016A (en) * | 2015-08-18 | 2017-03-01 | 阿里巴巴集团控股有限公司 | A kind of background application method for closing and device |
CN109408072A (en) * | 2018-09-19 | 2019-03-01 | 维沃移动通信有限公司 | A kind of application program delet method and terminal device |
-
2020
- 2020-08-27 CN CN202010876764.2A patent/CN111966418B/en active Active
Patent Citations (6)
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 |
CN102779004A (en) * | 2012-06-26 | 2012-11-14 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for operating touch screen terminal screen |
US20140282110A1 (en) * | 2013-03-15 | 2014-09-18 | Apple Inc. | Device, method, and graphical user interface for managing concurrently open software applications |
WO2015096032A1 (en) * | 2013-12-24 | 2015-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Batch processing method and terminal |
CN106469016A (en) * | 2015-08-18 | 2017-03-01 | 阿里巴巴集团控股有限公司 | A kind of background application method for closing and device |
CN109408072A (en) * | 2018-09-19 | 2019-03-01 | 维沃移动通信有限公司 | A kind of application program delet method and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN111966418B (en) | 2024-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111857509A (en) | Split screen display method and device and electronic equipment | |
CN113703624A (en) | Screen splitting method and device and electronic equipment | |
CN112540740A (en) | Split screen display method and device, electronic equipment and readable storage medium | |
CN113794795B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN112148168B (en) | Icon moving method and device and electronic equipment | |
CN112083854A (en) | Application program running method and device | |
CN112286612A (en) | Information display method and device and electronic equipment | |
CN112269501A (en) | Icon moving method and device and electronic equipment | |
CN112399010B (en) | Page display method and device and electronic equipment | |
CN113282213A (en) | Interface display method and device | |
CN111857465B (en) | Application icon sorting method and device and electronic equipment | |
CN113268182A (en) | Application icon management method and electronic equipment | |
CN112764611A (en) | Application program control method and device and electronic equipment | |
CN112306320A (en) | Page display method, device, equipment and medium | |
CN111638828A (en) | Interface display method and device | |
CN113342222B (en) | Application classification method and device and electronic equipment | |
CN111796736B (en) | Application sharing method and device and electronic equipment | |
CN112698771B (en) | Display control method, device, electronic equipment and storage medium | |
CN112148175B (en) | Notification display mode setting method and device, electronic equipment and storage medium | |
CN114416264A (en) | Message display method and device | |
CN113515216A (en) | Application program switching method and device and electronic equipment | |
CN113885981A (en) | Desktop editing method and device and electronic equipment | |
CN114222355A (en) | Terminal power saving display method and device and electronic equipment | |
CN113885748A (en) | Object switching method and device, electronic equipment and readable storage medium | |
CN114089885A (en) | Application icon management method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |