CN108509123B - Application program closing method and mobile terminal - Google Patents

Application program closing method and mobile terminal Download PDF

Info

Publication number
CN108509123B
CN108509123B CN201810228346.5A CN201810228346A CN108509123B CN 108509123 B CN108509123 B CN 108509123B CN 201810228346 A CN201810228346 A CN 201810228346A CN 108509123 B CN108509123 B CN 108509123B
Authority
CN
China
Prior art keywords
sub
screens
preset
application program
angle value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810228346.5A
Other languages
Chinese (zh)
Other versions
CN108509123A (en
Inventor
刘苗苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810228346.5A priority Critical patent/CN108509123B/en
Publication of CN108509123A publication Critical patent/CN108509123A/en
Priority to PCT/CN2019/077804 priority patent/WO2019179332A1/en
Application granted granted Critical
Publication of CN108509123B publication Critical patent/CN108509123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • H04M1/0243Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using the relative angle between housings
    • 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/445Program loading or initiating
    • G06F9/44594Unloading
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • H04M1/72472User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The invention provides a closing method of an application program and a mobile terminal, wherein the closing method of the application program comprises the following steps: when at least one of the two sub-screens displays an operation interface of a preset application program, acquiring an included angle between the two sub-screens; if the change of the included angle value between the two sub-screens meets the closing condition of a preset application program, closing at least one application program in the preset application program; wherein the preset closing condition of the application program comprises: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value; the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees. By the aid of the scheme, the application program can be quickly closed, and operation of a user is facilitated when the screen is large in size.

Description

Application program closing method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a closing method of an application program and a mobile terminal.
Background
At present, a mobile phone is used as an indispensable tool in daily work and life of people, more and more interactions between users and the mobile phone are generated, and meanwhile, the requirements on the mobile phone are higher. However, the traditional mobile phone is fragile and heavy, and is not easy to carry to become a big pain point of the mobile phone, and the flexible screen rapidly enters the public visual field with the advantages of light weight, foldability and low power consumption, so that the possibility is provided for the flexibility of the mobile electronic equipment, and the flexible screen mobile phone will become a trend in the future.
The presence of a flexible screen provides a larger screen display area for the mobile electronic device at the same volume, and in the prior art, the mode of exiting or closing the current application is single, and only a specific return key can be pressed. However, when the screen is large, the user still needs to touch the return key when exiting or closing the application program, and at this time, the gesture of holding the mobile phone at present needs to be changed, so that the operation is cumbersome, and the operation experience of the user is affected.
Disclosure of Invention
The embodiment of the invention provides a closing method of an application program and a mobile terminal, and aims to solve the problems that in the prior art, the operation mode is single when the current application program is quitted or closed, and the operation of a user is inconvenient when the size of a screen is large.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for closing an application, which is applied to a mobile terminal, where the mobile terminal includes two sub-screens capable of being folded relatively, and the method includes:
when at least one of the two sub-screens displays an operation interface of a preset application program, acquiring an included angle between the two sub-screens;
if the change of the included angle value between the two sub-screens meets the closing condition of a preset application program, closing at least one application program in the preset application program;
wherein the preset closing condition of the application program comprises: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value;
the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes two sub-screens capable of being folded relatively, and the mobile terminal further includes:
the first acquisition module is used for acquiring an included angle between two sub-screens when at least one of the two sub-screens displays an operation interface of a preset application program;
the execution module is used for closing at least one application program in the preset application programs if the change of the included angle value between the two sub-screens meets the closing condition of the preset application programs;
wherein the preset closing condition of the application program comprises: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value;
the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for closing an application as described above.
In the embodiment of the invention, when the included angle between the two sub-screens meets the closing condition of the application programs, at least one application program in the preset application programs is closed; the method can realize the quick closing of the application program, and is convenient for the operation of a user when the screen size is larger.
Drawings
FIG. 1 is a flow chart illustrating a method for closing an application according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a display screen division of the mobile terminal;
fig. 3 is a schematic view showing the moving directions of two sub-screens of a mobile terminal;
FIG. 4 is a schematic diagram illustrating a change in an angle between two sub-screens of a mobile terminal;
FIG. 5 is a diagram illustrating a mobile terminal displaying icons of common applications;
FIG. 6 is a detailed flowchart of a closing method of an application according to an embodiment of the present invention;
FIG. 7 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a second block diagram of a mobile terminal according to an embodiment of the invention;
FIG. 9 is a block diagram of an execution submodule of an embodiment of the invention;
fig. 10 is a third block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 11 is a fourth block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware configuration of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
As shown in fig. 1, an embodiment of the present invention provides a method for closing an application, which is applied to a mobile terminal, where the mobile terminal includes two sub-screens that can be folded relatively, and specifically, the method for closing the application includes:
step 101, when at least one of two sub-screens displays an operation interface of a preset application program, acquiring an included angle between the two sub-screens;
it should be noted that at least one sub-screen displays an operation interface of a preset application, that is, two sub-screens may display an operation interface of the same application together, or may display operation interfaces of different applications respectively.
Step 102, if the change of the included angle value between the two sub-screens meets the closing condition of a preset application program, closing at least one application program in the preset application program;
it should be noted that the preset shutdown condition of the application includes: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value;
the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees.
It should be noted that, the closing at least one of the preset applications in step 102 refers to: the method for closing the running interface of at least one application in the preset applications, that is, closing the application here refers to closing the application in the foreground, and there is no limitation on whether the application closes the running interface in the background in the embodiment of the present invention, that is, in the embodiment of the present invention, the application in the background may be closed (that is, the application may exit in the background) when the running interface in the foreground of the application is closed, or in the embodiment of the present invention, only the running interface in the foreground of the application is closed, and the application does not exit in the background.
For example, as shown in fig. 2, the operation interface of the mobile terminal is divided into a first sub-screen 21 and a second sub-screen 22 by a dotted line in the figure, and the first sub-screen 21 and the second sub-screen 22 can be relatively folded with respect to the dotted line in the figure.
It should be noted that the two sub-screens may simultaneously display the same application (that is, the two sub-screens simultaneously display the operation interface of the same application), or may display different applications in a split-screen manner (that is, the two sub-screens display the operation interfaces of different applications), and the following specifically describes the embodiments of the present invention in different display manners.
One-screen and two-screen split-screen display application program
In this case, the specific implementation manner of step 102 is:
acquiring the movement directions of the two sub-screens in the process of changing the included angle of the two sub-screens;
it should be noted that the moving direction includes: the two sub-screens are subjected to relative folding motion; or, one sub-screen is stationary and the other sub-screen undergoes a folding motion toward the stationary sub-screen.
The moving directions of the two sub-screens influence the closing number of the application programs, so the moving directions of the two sub-screens need to be acquired first in the implementation mode, and the moving direction detection can be realized through an acceleration sensor.
Closing at least one application program in the preset application programs according to the movement direction;
after the movement directions of the two sub-screens are obtained, a specific application program can be selected to be closed according to the movement directions; the method specifically comprises the following steps:
1. when the movement direction is that the two sub-screens both generate relative folding movement, the implementation manner of closing at least one application program in the preset application programs is as follows: closing all the application programs in the preset application programs displayed on the two sub-screens; in this implementation, when both the sub-screens move, both the open applications on both the sub-screens are closed, where closing closes the running interface of the open application.
2. When the moving direction is that one sub-screen is static and the other sub-screen performs folding movement towards the static sub-screen, the specific implementation manner of closing at least one application program in the preset application programs is as follows: selecting a first application program on a sub-screen with folding motion in the preset application programs; closing the first application program; in this implementation, the application program opened on the sub-screen where the folding motion occurs is closed, where the closing closes the running interface of the opened application program.
The two implementation modes can facilitate the user to close the application program under any condition, and the user only needs to select which mode to use to close the application program according to the requirement of the user.
Two, two sub-screens for displaying the same application program
In this case, the specific implementation manner of step 102 is:
and closing the preset application programs displayed on the two sub-screens.
It should be noted that, in this case, generally, the two sub-screens need to display the running interface of one application together, and the running interface of the one application needs to be closed regardless of the moving directions of the two sub-screens, so in this case, as long as the included angle between the two sub-screens satisfies the closing condition of the application, the running interface of the displayed application is closed.
It should be noted that the moving direction of the sub-screen may be toward a direction in which the included angle becomes smaller, or may be toward a direction in which the included angle becomes larger, and according to the increase or decrease of the included angle in the moving direction of the sub-screen, the following respectively describes implementation manners of the present invention in different cases.
A1, the closing condition is that the included angle between the two sub-screens is in the trend of diminishing, and the included angle reaches a first preset angle value
In this case, after closing at least one of the preset applications, the method for closing an application according to the embodiment of the present invention further includes:
when the included angle between the two sub-screens is in a trend of becoming smaller and reaches a third preset angle value, performing screen locking processing on the display interface of the mobile terminal;
wherein the third preset angle value is less than or equal to the first preset angle value.
It should be noted that, when the third preset angle value is equal to the first preset angle value, that is, when the application program is closed, the screen of the display interface of the mobile terminal is locked at the same time.
It should be noted that, in this case, the two sub-screens move towards the direction of the smaller included angle, as shown in fig. 3, the included angle between the sub-screen 31 and the sub-screen 32 is 180 degrees (the position shown by the dotted lines on both sides), and the included angle becomes smaller than 180 degrees by performing the folding movement along the middle dotted line, and at this time, the screens of the sub-screen 31 and the sub-screen 32 are close to each other.
It should be noted that the above method illustrates that when the sub-screen moves to a first angle (e.g., 150 degrees), the application program is closed, and when the sub-screen moves to a second angle (e.g., 120 degrees), the screen locking operation of the mobile terminal is performed, and the mobile terminal is between the first angle and the second angle, specifically, fig. 4 illustrates a process of changing an included angle between two sub-screens, where the included angle between two sub-screens gradually changes from 180 degrees to angle a and gradually changes from angle a to angle B.
It should be noted that, when the third preset angle value is smaller than the first preset angle value, in this process, the method for closing the application program according to the embodiment of the present invention further includes:
displaying an icon list of a first target application program at a preset screen display position of the mobile terminal;
and receiving an opening operation instruction of a user, and displaying an interface of an application program corresponding to the icon selected in the icon list by the user on at least one screen of the two sub-screens for displaying.
It should be noted that, when the mobile terminal is between the first angle and the second angle, the mobile terminal may display icons of some applications, the applications may be applications that are recently used by the user, and the mobile terminal may display the icon of the application on the screen side of one sub-screen, for example, as shown in fig. 5, the icon of the application is displayed on the screen side of the sub-screen 51 (in the figure, an oval icon is an icon of the application).
Specifically, in this case, as shown in fig. 6, a specific implementation flow of the embodiment of the present invention is as follows:
601, displaying an application program M on a display screen of the mobile terminal;
at this time, the two sub-screens of the display screen are displayed together for the application program M.
Step 602, when the included angle between two sub-screens changes, detecting the included angle between the two sub-screens;
step 603, determining whether the included angle between the two sub-screens is continuously smaller and not smaller than a preset angle a (for example, 150 degrees), if yes, executing step 604; otherwise, continue to step 601;
step 604, closing the running interface of the application program M;
step 605, determining whether the included angle between the two sub-screens is not smaller than a preset angle B (for example, 120 degrees) when the included angle between the two sub-screens is continuously reduced, if so, performing step 606, and if not, performing step 607.
Step 606, displaying icons of the latest commonly used application programs on any one side of the two sub-screens;
for example, a column of icons is shown in the left side bar of the left sub-screen to show the user's most recent applications, which can slide up and down, and the right normally shows all applications, sorted by user default. After the user closes the current application, the user can select the next application to be opened in the sidebar without changing the current gesture of holding the mobile phone, and if no application which the user wants to open is in the sidebar, the user can search all applications on the right for the application to be opened.
And step 607, locking the screen of the mobile terminal.
A2, the closing condition is that the included angle between the two sub-screens is in the trend of becoming bigger and reaches a second preset angle value
In this case, after closing at least one of the preset applications, the method for closing an application according to the embodiment of the present invention further includes:
when the change of the included angle value between the two sub-screens is in a trend of increasing and reaches a fourth preset angle value, performing screen locking processing on a display interface of the mobile terminal;
wherein the fourth preset angle value is greater than or equal to the second preset angle value.
In this case, the two sub-screens move toward a direction in which the included angle is increased, and the screens of the two sub-screens are deviated from each other. It should be further noted that, when the fourth preset angle value is equal to the second preset angle value, that is, when the application program is closed, the screen of the display interface of the mobile terminal is locked at the same time.
It should be further noted that, the above-mentioned method illustrates that when the sub-screen moves to a first angle (for example, 210 degrees), the closing operation of the application program is performed, and when the sub-screen moves to a second angle (for example, 240 degrees), the screen locking operation of the mobile terminal is performed, and when the mobile terminal is between the first angle and the second angle (in this case, the fourth preset angle value is greater than the second preset angle value), the closing method of the application program of the embodiment of the present invention further includes:
displaying an icon list of a second target application program at a preset screen display position of the mobile terminal;
and receiving an opening operation instruction of a user, and displaying an application program corresponding to the icon selected in the icon list by the user on at least one screen of the two sub-screens.
It should be noted that, when the mobile terminal is located between the first angle and the second angle, the mobile terminal may display icons of some applications, the applications may be applications that are recently used by the user, and the mobile terminal may display the icons of the applications on the screen side of one sub-screen.
It should be noted that, the embodiment of the present invention can close or exit the current application program in a faster and more convenient manner, and can improve the user experience of the mobile terminal.
As shown in fig. 7 to fig. 11, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes two sub-screens capable of being folded relatively, and specifically, the mobile terminal further includes:
a first obtaining module 701, configured to obtain an included angle between two sub-screens when an operation interface of a preset application program is displayed on at least one of the two sub-screens;
an executing module 702, configured to close at least one application program of preset application programs if a change in an included angle value between the two sub-screens meets a closing condition of the preset application programs;
wherein the preset closing condition of the application program comprises: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value;
the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees.
Further, when the two sub-screens display the application in a split-screen manner, the executing module 702 includes:
the obtaining sub-module 7021 is configured to obtain the moving directions of the two sub-screens in the process of changing the included angle between the two sub-screens;
an execution sub-module 7022, configured to close at least one of the preset application programs according to the moving direction;
wherein the direction of motion comprises: the two sub-screens are subjected to relative folding motion; or
One sub-screen is stationary and the other sub-screen undergoes a folding motion towards the stationary sub-screen.
Further, when the moving direction is that the two sub-screens generate relative folding movement, the execution sub-module 7022 is configured to:
and closing all the application programs in the preset application programs displayed on the two sub-screens.
Specifically, when the moving direction is that one sub-screen is stationary and the other sub-screen performs a folding motion toward the stationary sub-screen, the execution sub-module 7022 includes:
a selecting unit 70221, configured to select, from the preset application programs, a first application program on the sub-screen where the folding motion occurs;
an execution unit 70222 for closing the first application.
Further, when the two sub-screens display the same application, the execution module 702 is configured to:
and closing the preset application programs displayed on the two sub-screens.
Specifically, when the closing condition is that the included angle between the two sub-screens is in a decreasing trend and the included angle reaches a first preset angle value, after the execution module closes at least one application program of the preset application programs, the mobile terminal further includes:
the first screen locking module 703 is configured to perform screen locking processing on the display interface of the mobile terminal when an included angle between the two sub-screens is in a trend of becoming smaller and reaches a third preset angle value;
wherein the third preset angle value is less than or equal to the first preset angle value.
Further, when the included angle between the two sub-screens is smaller than the first preset angle value and larger than the third preset angle value, the method further includes:
a first display module 704, configured to display an icon list of a first target application at a preset screen display position of the mobile terminal;
the second display module 705 is configured to receive an opening operation instruction of a user, and display an interface of an application program corresponding to an icon selected by the user in the icon list on at least one of the two sub-screens for display.
Specifically, when the closing condition is that the included angle between the two sub-screens is in a trend of becoming larger and the included angle reaches a second preset angle value, after the execution module closes at least one application program in the preset application programs, the mobile terminal further includes:
the second screen locking module 706 is configured to perform screen locking processing on the display interface of the mobile terminal when the change of the included angle value between the two sub-screens is in a trend of increasing and reaches a fourth preset angle value;
wherein the fourth preset angle value is greater than or equal to the second preset angle value.
Further, when the included angle between the two sub-screens is greater than the second preset angle value and is less than the fourth preset angle value, the method further includes:
a third display module 707, configured to display an icon list of a second target application at a preset screen display position of the mobile terminal;
a fourth display module 708, configured to receive an opening operation instruction of the user, and display an application program corresponding to an icon selected by the user in the icon list on at least one of the two sub-screens.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 1, and is not described herein again in order to avoid repetition. According to the embodiment of the invention, the included angle between the two sub-screens of the mobile terminal meets the closing condition of the application program, and at least one application program in the preset application programs is closed; the method can realize the quick closing of the application program, and is convenient for the operation of a user when the screen size is larger.
Fig. 12 is a schematic diagram of a hardware structure of a mobile terminal implementing an embodiment of the present invention.
The mobile terminal 120 includes but is not limited to: a radio frequency unit 1210, a network module 1220, an audio output unit 1230, an input unit 1240, a sensor 1250, a display unit 1260, a user input unit 1270, an interface unit 1280, a memory 1290, a processor 1211, and a power supply 1212. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 12 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The mobile terminal comprises two sub-screens capable of being folded oppositely;
a processor 1211, configured to, when a running interface of a preset application program is displayed on at least one of the two sub-screens, obtain an included angle between the two sub-screens;
if the change of the included angle value between the two sub-screens meets the closing condition of a preset application program, closing at least one application program in the preset application program;
wherein the preset closing condition of the application program comprises: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value;
the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees.
The mobile terminal of the embodiment of the invention closes at least one application program in the preset application programs by meeting the closing condition of the application programs through the included angle between the two sub-screens; the method can realize the quick closing of the application program, and is convenient for the operation of a user when the screen size is larger.
It should be understood that, in the embodiment of the present invention, the rf unit 1210 may be used for receiving and transmitting signals during information transmission or communication, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1211; in addition, the uplink data is transmitted to the base station. Generally, radio unit 1210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 1210 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 1220, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 1230 may convert audio data received by the radio frequency unit 1210 or the network module 1220 or stored in the memory 1290 into an audio signal and output as sound. Also, the audio output unit 1230 may also provide audio output related to a specific function performed by the mobile terminal 120 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1230 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1240 is used to receive audio or video signals. The input Unit 1240 may include a Graphics Processing Unit (GPU) 1241 and a microphone 1242, and the Graphics processor 1241 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1260. The image frames processed by the graphic processor 1241 may be stored in the memory 1290 (or other storage medium) or transmitted via the radio frequency unit 1210 or the network module 1220. The microphone 1242 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio unit 1210 in case of a phone call mode.
The mobile terminal 120 also includes at least one sensor 1250, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 1261 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1261 and/or backlight when the mobile terminal 120 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1250 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 1260 is used to display information input by a user or information provided to a user. The Display unit 126 may include a Display panel 1261, and the Display panel 1261 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1270 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1270 includes a touch panel 1271 and other input devices 1272. Touch panel 1271, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., user operations on touch panel 1271 or near touch panel 1271 using a finger, stylus, or any other suitable object or attachment). Touch panel 1271 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1211, receives a command from the processor 1211, and executes the command. In addition, the touch panel 1271 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to touch panel 1271, user input unit 127 may include other input devices 1272. In particular, other input devices 1272 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.
Further, touch panel 1271 can be overlaid on display panel 1261, and when touch panel 1271 detects a touch operation thereon or nearby, it can be transmitted to processor 1211 for determining the type of touch event, and processor 1211 can then provide a corresponding visual output on display panel 1261 according to the type of touch event. Although in fig. 12, the touch panel 1271 and the display panel 1261 are implemented as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1271 and the display panel 1261 may be integrated to implement the input and output functions of the mobile terminal, and are not limited herein.
The interface unit 1280 is an interface through which an external device is connected to the mobile terminal 120. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1280 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 120 or may be used to transmit data between the mobile terminal 120 and external devices.
The memory 1290 may be used for storing software programs and various data. The memory 1290 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1290 can include high-speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1211 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 1290 and calling data stored in the memory 1290, thereby monitoring the mobile terminal as a whole. Processor 1211 may include one or more processing units; preferably, the processor 1211 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 is to be understood that the modem processor may not be integrated into the processor 1211.
The mobile terminal 120 may also include a power supply 1212 (e.g., a battery) for powering the various components, and the power supply 1212 may be logically connected to the processor 1211 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 120 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 1211, a memory 1290, and a computer program stored in the memory 1290 and operable on the processor 1211, where the computer program, when executed by the processor 1211, implements each process of the embodiment of the method for closing an application program applied to the mobile terminal side, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the method for closing an application program applied to a mobile terminal, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as 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 invention.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (15)

1. A closing method of an application program is applied to a mobile terminal, wherein the mobile terminal comprises two sub-screens capable of being folded relatively, and the method is characterized by comprising the following steps:
when at least one of the two sub-screens displays an operation interface of a preset application program, acquiring an included angle between the two sub-screens;
if the change of the included angle value between the two sub-screens meets the closing condition of a preset application program, closing at least one application program in the preset application program;
wherein the preset closing condition of the application program comprises: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value;
the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees;
when the included angle between the two sub-screens is smaller than the first preset angle value and larger than a third preset angle value, the method for closing the application program further comprises the following steps:
displaying an icon list of a first target application program at a preset screen display position of the mobile terminal;
receiving an opening operation instruction of a user, and displaying an interface of an application program corresponding to an icon selected by the user in the icon list on at least one screen of the two sub-screens;
wherein the third preset angle value is smaller than the first preset angle value;
alternatively, the first and second electrodes may be,
when the included angle between the two sub-screens is greater than the second preset angle value and smaller than a fourth preset angle value, the method for closing the application program further comprises the following steps:
displaying an icon list of a second target application program at a preset screen display position of the mobile terminal;
receiving an opening operation instruction of a user, and displaying an application program corresponding to an icon selected by the user in the icon list on at least one screen of the two sub-screens;
wherein the fourth preset angle value is greater than the second preset angle value.
2. The method for closing the application program according to claim 1, wherein when the two sub-screens display the application program in a split-screen manner, the closing at least one application program in the preset application programs comprises:
acquiring the movement directions of the two sub-screens in the process of changing the included angle of the two sub-screens;
closing at least one application program in the preset application programs according to the movement direction;
wherein the direction of motion comprises: the two sub-screens are folded; or
One sub-screen is stationary and the other sub-screen undergoes a folding motion towards the stationary sub-screen.
3. The method for closing the application program according to claim 2, wherein when the moving direction is that relative folding movement occurs between the two sub-screens, the closing at least one application program in the preset application programs comprises:
and closing all the application programs in the preset application programs displayed on the two sub-screens.
4. The method for closing the application programs according to claim 2, wherein when the moving direction is that one sub-screen is stationary and the other sub-screen is folded towards the stationary sub-screen, the closing at least one application program in the preset application programs comprises:
selecting a first application program on a sub-screen with folding motion in the preset application programs;
and closing the first application program.
5. The method for closing the application program according to claim 1, wherein when the two sub-screens display the same application program, the closing at least one application program of the preset application programs comprises:
and closing the preset application programs displayed on the two sub-screens.
6. The method for closing applications according to claim 1, wherein when the closing condition is that an included angle between the two sub-screens is decreased and the included angle reaches a first preset angle value, after at least one of the preset applications is closed, the method further comprises:
and when the included angle between the two sub-screens is in a trend of becoming smaller and reaches the third preset angle value, the display interface of the mobile terminal is subjected to screen locking processing.
7. The method for closing an application according to claim 1, wherein when the closing condition is that an included angle between the two sub-screens tends to become larger and the included angle reaches a second preset angle value, after at least one of the preset applications is closed, the method further comprises:
and when the change of the included angle value between the two sub-screens is in a growing trend and reaches the fourth preset angle value, the display interface of the mobile terminal is subjected to screen locking processing.
8. A mobile terminal, wherein the mobile terminal comprises two sub-screens capable of being folded relatively, the mobile terminal further comprising:
the first acquisition module is used for acquiring an included angle between two sub-screens when at least one of the two sub-screens displays an operation interface of a preset application program;
the execution module is used for closing at least one application program in the preset application programs if the change of the included angle value between the two sub-screens meets the closing condition of the preset application programs;
wherein the preset closing condition of the application program comprises: the included angle between the two sub-screens is in a trend of becoming smaller and reaches a first preset angle value, or the included angle between the two sub-screens is in a trend of becoming larger and reaches a second preset angle value;
the first preset angle value is less than 180 degrees, and the second preset angle value is greater than 180 degrees;
when the included angle between two sub-screens is less than first preset angle value, and is greater than third preset angle value, still include:
the first display module is used for displaying an icon list of a first target application program at a preset screen display position of the mobile terminal;
the second display module is used for receiving an opening operation instruction of a user and displaying an interface of an application program corresponding to an icon selected by the user in the icon list on at least one screen of the two sub-screens;
wherein the third preset angle value is smaller than the first preset angle value;
alternatively, the first and second electrodes may be,
when the included angle between two sub-screens is greater than the second preset angle value and is less than the fourth preset angle value, still include:
the third display module is used for displaying an icon list of a second target application program at a preset screen display position of the mobile terminal;
the fourth display module is used for receiving an opening operation instruction of a user and displaying an application program corresponding to an icon selected by the user in the icon list on at least one screen of the two sub-screens;
wherein the fourth preset angle value is greater than the second preset angle value.
9. The mobile terminal according to claim 8, wherein when the two sub-screens display the application in a split manner, the execution module comprises:
the acquisition sub-module is used for acquiring the motion directions of the two sub-screens in the process of changing the included angle of the two sub-screens;
the execution submodule is used for closing at least one application program in the preset application programs according to the movement direction;
wherein the direction of motion comprises: the two sub-screens are folded; or
One sub-screen is stationary and the other sub-screen undergoes a folding motion towards the stationary sub-screen.
10. The mobile terminal according to claim 9, wherein when the moving direction is a relative folding motion of both sub-screens, the execution sub-module is configured to:
and closing all the application programs in the preset application programs displayed on the two sub-screens.
11. The mobile terminal according to claim 9, wherein when the moving direction is that one sub-screen is stationary and the other sub-screen performs a folding motion towards the stationary sub-screen, the performing sub-module comprises:
the selection unit is used for selecting a first application program on a sub-screen with folding motion in the preset application programs;
and the execution unit is used for closing the first application program.
12. The mobile terminal of claim 8, wherein when the two sub-screens are displaying the same application, the execution module is configured to:
and closing the preset application programs displayed on the two sub-screens.
13. The mobile terminal according to claim 8, wherein when the closing condition is that an included angle between the two sub-screens is in a decreasing trend and the included angle reaches a first preset angle value, after the executing module closes at least one of the preset applications, the mobile terminal further comprises:
and the first screen locking module is used for locking the display interface of the mobile terminal when the included angle between the two sub-screens is in the trend of becoming smaller and reaches the third preset angle value.
14. The mobile terminal according to claim 8, wherein when the closing condition is that an included angle between the two sub-screens tends to become larger and the included angle reaches a second preset angle value, after the executing module closes at least one of the preset applications, the mobile terminal further comprises:
and the second screen locking module is used for changing the included angle value between the two sub-screens to be in a growing trend and reach the fourth preset angle value, and then the display interface of the mobile terminal is subjected to screen locking processing.
15. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method of shutting down an application according to any of claims 1 to 7.
CN201810228346.5A 2018-03-20 2018-03-20 Application program closing method and mobile terminal Active CN108509123B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810228346.5A CN108509123B (en) 2018-03-20 2018-03-20 Application program closing method and mobile terminal
PCT/CN2019/077804 WO2019179332A1 (en) 2018-03-20 2019-03-12 Method for closing application and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810228346.5A CN108509123B (en) 2018-03-20 2018-03-20 Application program closing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108509123A CN108509123A (en) 2018-09-07
CN108509123B true CN108509123B (en) 2020-04-24

Family

ID=63376872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810228346.5A Active CN108509123B (en) 2018-03-20 2018-03-20 Application program closing method and mobile terminal

Country Status (2)

Country Link
CN (1) CN108509123B (en)
WO (1) WO2019179332A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509123B (en) * 2018-03-20 2020-04-24 维沃移动通信有限公司 Application program closing method and mobile terminal
CN109600468B (en) 2019-01-22 2021-05-14 维沃移动通信有限公司 Control method of foldable terminal and foldable terminal
CN110012154A (en) * 2019-02-22 2019-07-12 华为技术有限公司 A kind of control method and electronic equipment of the electronic equipment with Folding screen
CN110119384B (en) * 2019-04-22 2021-06-18 珠海格力电器股份有限公司 Image file deleting method, terminal, computer device and readable storage medium
CN110187946A (en) * 2019-05-06 2019-08-30 珠海格力电器股份有限公司 A kind of application program adaptation method, device and storage medium
CN110196672B (en) * 2019-05-08 2021-03-16 珠海格力电器股份有限公司 Method and device for opening file, folding screen device and storage medium
CN110209275B (en) * 2019-05-27 2022-03-11 维沃移动通信有限公司 Terminal control method and terminal
CN110308855A (en) * 2019-06-28 2019-10-08 华为技术有限公司 A kind of interactive operation method and device based on collapsible terminal
CN112333333A (en) * 2019-07-17 2021-02-05 华为技术有限公司 Interaction method and device based on folding screen
CN111522523A (en) * 2020-04-30 2020-08-11 北京小米移动软件有限公司 Display processing method and device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853541A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN106406673A (en) * 2016-09-27 2017-02-15 广东欧珀移动通信有限公司 Screen switching method and terminal
CN106997283A (en) * 2016-01-22 2017-08-01 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107656683A (en) * 2017-09-13 2018-02-02 维沃移动通信有限公司 One kind operation execution method and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101569776B1 (en) * 2009-01-09 2015-11-19 삼성전자주식회사 Foldable Display Device And Operation Method thereof
CN102937863B (en) * 2012-09-19 2017-04-05 小米科技有限责任公司 Based on the application control method of mobile terminal, device and a kind of mobile terminal
KR102097361B1 (en) * 2013-02-01 2020-04-07 삼성디스플레이 주식회사 Mobile device having a flexible display device and method of operating the same
CN107831990B (en) * 2013-08-26 2021-08-17 联想(北京)有限公司 Screen locking method, screen unlocking method and electronic equipment
CN108509123B (en) * 2018-03-20 2020-04-24 维沃移动通信有限公司 Application program closing method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853541A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN106997283A (en) * 2016-01-22 2017-08-01 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106406673A (en) * 2016-09-27 2017-02-15 广东欧珀移动通信有限公司 Screen switching method and terminal
CN107656683A (en) * 2017-09-13 2018-02-02 维沃移动通信有限公司 One kind operation execution method and mobile terminal

Also Published As

Publication number Publication date
CN108509123A (en) 2018-09-07
WO2019179332A1 (en) 2019-09-26

Similar Documents

Publication Publication Date Title
CN108509123B (en) Application program closing method and mobile terminal
CN108255378B (en) Display control method and mobile terminal
CN109407921B (en) Application processing method and terminal device
CN110413168B (en) Icon management method and terminal
CN109714485B (en) Display method and mobile terminal
CN108628565B (en) Mobile terminal operation method and mobile terminal
CN108227996B (en) Display control method and mobile terminal
CN109407932B (en) Icon moving method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN109032486B (en) Display control method and terminal equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109739407B (en) Information processing method and terminal equipment
CN110032309B (en) Screen splitting method and terminal equipment
CN109558046B (en) Information display method and terminal equipment
CN110908759A (en) Display method and electronic equipment
CN107728923B (en) Operation processing method and mobile terminal
CN109901976B (en) Application program management method and terminal equipment
CN109600468B (en) Control method of foldable terminal and foldable terminal
CN109710130B (en) Display method and terminal
CN108762613B (en) State icon display method and mobile terminal
CN108509131B (en) Application program starting method and terminal
CN110531903B (en) Screen display method, terminal device and storage medium
CN109669656B (en) Information display method and terminal equipment
CN109597546B (en) Icon processing method and terminal equipment
CN109782970B (en) Display method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant