CN112764862A - Application program control method and device and electronic equipment - Google Patents

Application program control method and device and electronic equipment Download PDF

Info

Publication number
CN112764862A
CN112764862A CN202110090797.9A CN202110090797A CN112764862A CN 112764862 A CN112764862 A CN 112764862A CN 202110090797 A CN202110090797 A CN 202110090797A CN 112764862 A CN112764862 A CN 112764862A
Authority
CN
China
Prior art keywords
display area
application program
input
application
interface
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.)
Pending
Application number
CN202110090797.9A
Other languages
Chinese (zh)
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 CN202110090797.9A priority Critical patent/CN112764862A/en
Publication of CN112764862A publication Critical patent/CN112764862A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses a control method and device of an application program and electronic equipment, and belongs to the technical field of communication. The method comprises the steps of receiving first input under the condition that a first display area displays a first interface corresponding to a first application program; wherein the first application is in a foreground running state; responding to the first input, and displaying a second interface corresponding to a second application program in a second display area; the second application program is in a background running state, and the second display area is at least a partial area of the first display area. The problem that shortcuts of current application programs are easily triggered in the process of checking other applications or displaying the applications in a split screen mode through shortcut operation can be solved, the information checking efficiency is improved, and frequent switching of the application programs and accidental triggering in the switching process are avoided.

Description

Application program control method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a control method and device of an application program and electronic equipment.
Background
At present, video entertainment items such as videos, music, games and the like are gradually shifted from devices such as televisions, computers and the like to electronic devices with touch screen operation functions. To enhance the user experience, more and more applications support full screen display states, such as video, novels, games, and so on.
The user experience for a single application can be improved in the full screen mode, but when the program is switched to another application program, the program needs to be switched through a start key (or called home key) or some shortcut operations; meanwhile, the application program used in the full screen mode generally controls the state of the current application program in shortcuts of left-side up-and-down sliding, right-side up-and-down sliding, left-and-right sliding, and the like. Therefore, switching between applications in full screen mode may have the following problems: when the application program is switched through the home key, the current application program needs to be quitted to be switched to other application programs, or the shortcut of the current application program is accidentally triggered in the process of checking other applications or split screen display through shortcut operation, so that the switching operation of the application program is inconvenient, or misoperation is caused.
Content of application
The embodiment of the application program control method and device and the electronic device can solve the problem that the switching operation of the application program is inconvenient or easy to operate mistakenly in a full screen mode.
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 a method for controlling an application program, where the method includes:
receiving a first input under the condition that a first display area displays a first interface corresponding to a first application program; wherein the first application is in a foreground running state;
responding to the first input, and displaying a second interface corresponding to a second application program in a second display area; the second application program is in a background running state, and the second display area is at least a partial area of the first display area.
In a second aspect, an embodiment of the present application provides an apparatus for controlling an application, where the apparatus includes:
the first receiving module is used for receiving first input under the condition that a first interface corresponding to a first application program is displayed in a first display area; wherein the first application is in a foreground running state;
the first response module is used for responding to the first input and displaying a second interface corresponding to a second application program in a second display area; the second application program is in a background running state, and the second display area is at least a partial area of the first display area.
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 method according to the first aspect.
In this embodiment of the application, through setting of the first display area, a second interface corresponding to a second application program may be displayed in the first display area under the condition that the first display area displays the first interface corresponding to the first application program. The problem that the switching operation of the application program is inconvenient or the misoperation is easy to occur in the full-screen mode can be solved.
Drawings
Fig. 1 is a flowchart of a control method of an application program according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a display area of an application control method according to an embodiment of the present application;
FIG. 3 is a second schematic view of a display area of a control method of an application according to an embodiment of the present application;
FIG. 4 is a third schematic view of a display area of a control method of an application according to an embodiment of the present application;
FIG. 5 is a fifth exemplary view of a display area of a control method of an application according to an embodiment of the present application;
FIG. 6 is a sixth schematic view of a display area of a control method of an application according to an embodiment of the present application;
FIG. 7 is a seventh schematic diagram of a display area of a control method of an application according to an embodiment of the present application;
fig. 8 is a block diagram of a control device of an application program according to an embodiment of the present application;
FIG. 9 is a block diagram of an electronic device of an embodiment of the application;
fig. 10 is a hardware configuration diagram of an electronic device according to 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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. 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 a control method, an apparatus, and an electronic device of an application program according to an embodiment of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a method for controlling an application program, including:
101, receiving a first input under the condition that a first display area displays a first interface corresponding to a first application program; wherein the first application is in a foreground running state;
step 102, responding to the first input, and displaying a second interface corresponding to a second application program in a second display area; the second application program is in a background running state, and the second display area is at least a partial area of the first display area.
Alternatively, the first input may be a hover, click, swipe input of a finger over the first display region or a hover, press, or swipe input of a palm.
Optionally, the background running state may be a state in which the application interface is minimized and is running, for example: and when the first application program is in a foreground running state and the second application program is in a background running state, the second application program is in a running state and a second interface of the second application program is in a minimized state, and the first interface of the first application program is displayed currently. Or the background running state is a state in which the application interface is covered and is running, for example: the method comprises the steps that a first application program is in a foreground running state, when a second application program is in a background running state, a first interface of the first application program is displayed currently, a second interface of the second application program is located below a display layer of the first interface, and the second application program is in a running state.
Optionally, the second interface includes an interface in the second display area when the second application is in foreground operation.
For example, the first application program of the current video playing class is in foreground operation, and the second application program of the instant messaging class is an application program used before the first application program of the video playing class. After receiving a first input aiming at the display screen, displaying an application interface area of an instant messaging application at an operation position of the first input when a second application program of the instant messaging application is in a foreground running state. In an embodiment of the application, the first input may be an input based on a floating touch technology; wherein the first input comprises: and receiving the first input when the vertical distance from the finger of the user to the display screen is detected to be less than or equal to a first preset distance. The first input is received through the suspension touch technology, so that the problem that the shortcut of the current application program is accidentally triggered in the process of checking other applications or displaying in a split screen mode through shortcut operation can be avoided.
In an embodiment of the application, the second display area is at least a partial area of the first display area, which may be understood as: the second display region may be a partial region of the first display region, or may be the entire region of the first display region.
The second display area can be displayed at a preset position in the first display area (for example, a lower left area of the first display area, a middle area of the first display area or an upper side area of the first display area), at an operation position of the first input or at a corresponding position in the first display area according to the type of the second application program;
wherein the displaying the second interface corresponding to the second application program in the second display area includes: and improving the transparency of the second display area in the first display area to display a second interface corresponding to the second application program running in the background.
The second interface is an interface of a second display area of the second application program in the foreground running state.
The shape of the second display region includes: a circle with the first input operation position as a center, a polygon with the first input operation position as a center, or other shapes besides the circle, and the embodiments of the present application are not limited thereto.
For example, when the vertical distance between the finger of the user and the display screen is detected to be less than or equal to 5mm, the first input is received; responding to the first input, and displaying a second interface corresponding to a second application program in a second display area; as shown in fig. 2, the second display region 2 may be a partial region of the first display region 1, or, as shown in fig. 3, the second display region 2 may be an entire region of the first display region 1. The shape of the second display area 2 may be circular as shown in fig. 2, and the shape of the second display area 2 may be rectangular as shown in fig. 4.
For example, when the user is watching a video in a full-screen mode, the instant messaging application program running in the background receives a new message and clicks the first display area, and the display position of the second display area may be an area with the clicked position as the center; or displaying the second display area according to a preset position, and displaying the second display area at the preset position no matter where the click input position is; or, according to the experience of the instant messaging application, the new message is usually displayed on the lower left side of the display page of the instant messaging application, and the display position of the second display area may be the lower left side of the first display area.
In an embodiment of the application, the second application is an application used before the first application is used. According to the control method of the application program, through the setting of the first display area, the second interface corresponding to the second application program can be displayed in the first display area under the condition that the first interface corresponding to the first application program is displayed in the first display area. Can look over fast like this to a plurality of application, and do not influence the normal operating of first application, and can solve and look over other applications or the in-process that divides the screen display to show through swift operation under full screen mode, the problem of the shortcut of current application is triggered easily, realized in the prerequisite of first application in the proscenium running state, look over fast a plurality of applications, the efficiency of information is looked over is improved, avoid frequently carrying out the switching of application and switching the unexpected trigger in-process, the switching accuracy has been improved.
Optionally, the displaying, in response to the first input, a second interface corresponding to a second application program in a second display area includes:
and responding to the first input, determining the second display area according to the operation position corresponding to the first input, and displaying the second interface in the second display area.
In an embodiment of the application, when the first input is a click input, the second display area is an area centered on an operation point of the first input;
when the first input is a sliding input, the second display area is an area which takes a sliding path of the first input and a frame of the first display area as wiring;
when the first input is a palm-covering input, the second display area is an area where the palm is vertically projected to the first display area.
In an embodiment of the application, when the first input is a click input, and the second display area slides while the click input is performed, the second display area moves along with the sliding.
Optionally, in response to the first input, the step of displaying a second interface corresponding to a second application program in a second display area includes:
and responding to the first input, determining the size of a second display area according to the input parameters of the first input, and displaying a second interface of a second application program in the second display area.
The input parameter of the first input may include a duration corresponding to the first input or a pressure value corresponding to the first input. The second application may be an application that is in a background running state the last time from the current system time, and the second interface may include an application interface region in the second display region when the second application is in a foreground running state.
For example: the size of the second display interface is related to the pressure value of the first input. Specifically, it can be understood that: the size of the second display area increases with the increase of the pressure value corresponding to the first input (if the size of the initial second display area is smaller than that of the first display area, the size of the second display area increases with the increase of the pressure value corresponding to the first input until the second display area is the whole area of the first display area); or the size of the second display area is reduced along with the increase of the pressure value of the first input (if the size of the initial second display area is the same as the size of the first display area, the size of the second display area is reduced along with the increase of the pressure value corresponding to the first input until the size of the second display area is smaller than the preset value); or when the pressure value of the first input is smaller than a first threshold, the size of the second display area is rapidly reduced to disappear, and the like.
Another example is: the size of the second display area is related to the duration of the first input.
The size of the second display area is related to the duration of the first input, which can be understood as: the size of the second display area is increased along with the increase of the duration of the first input (if the size of the initial second display area is smaller than that of the first display area, the size of the second display area is increased along with the increase of the duration corresponding to the first input until the second display area is the whole area of the first display area); or the size of the second display area is reduced along with the increase of the duration of the first input (if the size of the initial second display area is the same as the size of the first display area, the size of the second display area is reduced along with the increase of the duration corresponding to the first input until the size of the second display area is smaller than the preset value); or, when the duration of the first input is less than a first threshold, the size of the second display area is rapidly reduced to disappear, and the like, which is not limited in the embodiment of the present application.
For example, after receiving the first input, in response to the first input, the second display area is a partial area of the first display area and increases with the duration of the first input until the second display area is the entire area of the first display area; or after receiving the first input, responding to the first input, wherein the second display area is the whole area of the first display area, and is increased along with the increase of the duration of the first input and is reduced along with the increase of the duration of the first input until the second display area disappears; or receiving a first input with the duration less than 0.5s, and rapidly reducing the second display area to disappear after the second display area is displayed in the partial area of the first display area in response to the first input.
For example, when the user plays a full-screen game, if the game falls back to the background, reconnection may be caused, and after performing click input on the upper end of the first display area, the system time may be displayed on the upper end of the first display area, and the time may be checked. Further, when the continuous click is not released, the application program before the game application program is used is displayed in a full screen mode; and when the click duration is less than 0.5s, the system time interface disappears rapidly after the system time is displayed.
According to the embodiment of the application, the size and the position of the second display area are determined according to the input parameters and the operation position of the first input, the second application program can be checked quickly, the size and the position of the second display area are controlled, and the switching accuracy is improved.
Optionally, in response to the first input, the step of displaying a second interface corresponding to a second application program in a second display area includes:
and responding to the first input, determining a second application program according to the input parameters of the first input, and displaying a second interface of the second application program in the second display area.
The input parameter of the first input may include a duration corresponding to the first input or a pressure value corresponding to the first input. The second interface may include an application interface region in the second display region when a second application is in foreground operation.
For example: and when the duration corresponding to the first input is different, displaying the application interfaces of different application programs in the second display area. Specifically, it can be understood that: when the duration of the first input is within a first preset duration range, displaying a second interface corresponding to a second application program in the second display area; when the duration of the first input is within a second preset duration range, displaying a third interface and the like corresponding to a third application program in the second display area, specifically, automatically increasing the mapping relationship between the duration range and the application program according to the number of the application programs running in the background, which is not limited in the embodiment of the present application;
optionally, the second application is an application used before using the first application; the third application is an application used before using the second application. That is to say, in the embodiment of the application, when the input parameter of the first input is increased or decreased, the application interfaces of different application programs can be switched in the second display area in sequence according to the time sequence that the application program runs in the background.
Another example is: when the pressure values corresponding to the first input are different, the second display area displays application interfaces of different application programs; specifically, it can be understood that: when the pressure value corresponding to the first input is in a first pressure range, displaying a second interface of a second application program in the second display area; when the pressure value corresponding to the first input is in the second pressure range, displaying a third interface of a second application program and the like in the second display area, and specifically, automatically increasing the mapping relationship between the pressure range and the application program according to the number of the application programs running in the background, which is not limited in the embodiment of the application.
For example, the application program of the current video playing class is in foreground operation, the application program of the instant messaging class is the application program used before the application program of the video playing class is used, and the application program of the game class is the application program used before the application program of the instant messaging class is used.
For example: the method comprises the steps that a current first display area displays an interface of an application program of a video playing class, in one embodiment of the application, a first input is received, and when the duration of the first input is less than or equal to 2s, the interface of the application program of an instant messaging class is displayed in a second display area; and when the duration of the first input is more than 2s, displaying an interface of the application program of the game class.
Optionally, the application interface of the application program displayed in the second display area is determined according to the input parameter of the first input, and the display level of the interface is acquired according to the input parameter of the first input, so as to determine the application program. Illustratively, when a first application program is in a foreground running state, a second application program is in a background running state, a first interface of the first application program is currently displayed, a second interface of the second application program is located below a display layer of the first interface, the second application program is in a running state, a third interface of a third application program is located below a display layer of the second interface, the third application program is in a running state, and when a first input by a user corresponds to a first pressure value, the second interface of the second application program is displayed in a second area (i.e., the content of the second interface of the second application program in the second display area is exposed); and when the first input corresponds to the second pressure value, displaying a third interface of the third application program in the second area (i.e. exposing the content of the third interface of the third application program in the second display area).
According to the embodiment of the application program switching method and device, the application interface of the application program displayed in the second display area is determined according to the first input parameter, the application interface of the application program running in the background can be checked quickly, and the switching flexibility is improved.
Optionally, after the second interface corresponding to the second application program is displayed in the second display area in response to the first input, at least one of the following is further included:
receiving a second input to the second display area, and responding to the second input to switch the second application program to be in a foreground running state;
receiving a third input to the second display area, and under the condition that the second display area is a partial area of the first display area, responding to the third input, switching to display the second interface in the whole area of the first display area, wherein the second application program is in a background running state;
receiving a fourth input to the second display area, and responding to the fourth input, and switching to display a third interface corresponding to a third application program in the second display area; wherein the third application is in a background running state.
For example: and (3) a user carries out a full-screen game when taking a subway, if the game is returned to a background, reconnection is caused, the first display area is clicked, a part of interfaces of the instant messaging application programs are displayed in the second display area, but the interfaces of the riding two-dimensional codes in the financial application programs need to be displayed for code scanning, sliding input is carried out on the second display area, and the interfaces of the instant messaging application programs in the second display area are switched until the interfaces are switched to the display interfaces in the financial application programs.
Optionally, when the second input is an input whose duration is less than or equal to a second threshold, the third input is an input whose duration is greater than the second threshold;
or, the third input is an input with a pressure greater than a preset pressure when the second input is an input with a pressure less than or equal to the preset pressure;
or, the second input is an input of double-clicking the second display area, and the third input is an input of clicking the second display area.
Optionally, the fourth input includes a sliding input, and after the sliding input to the second display area is received, the second interface corresponding to the second application program displayed in the second display area is switched to the third interface corresponding to the third application program.
For example, when an input that the duration of the second display area is less than or equal to 0.5s is received, the foreground running application program is switched from the first application program to the second application program; and when receiving an input of which the duration of the second display area is greater than 0.5s, displaying a second display interface of the second application program in a full screen mode, wherein the first application program is still in a foreground running state, and the second application program is still in a background running state.
For example, when the user is currently watching a video in a full-screen mode, and a new chat message is received during the background running process of the instant messaging application program, the user may click on the lower left corner of the first display area, and at this time, a circular display area is formed with the click point as the center of a circle, so as to display the new message content of the instant messaging application program. Further, when the user is interested in the new message content, the circular area is clicked, the click duration is less than 0.5s, the instant messaging application program is used as a new foreground running program to be displayed in a full screen mode and in the first display area, and the application program of the two videos enters a background running state.
The control method of the application program can realize the quick switching of the application program under the premise of avoiding accidental triggering of the shortcut of the current application program in the full-screen display mode; or, the interface of the application program displayed in the second display area can be quickly switched, accidental triggering in the switching process is avoided, and the switching accuracy is improved.
Optionally, after the responding to the first input and displaying the second interface corresponding to the second application program in the second display area, the method further includes:
receiving a fifth input under the condition that the second display area displays a second interface corresponding to the second application program;
responding to the fifth input, and displaying a fourth interface corresponding to a fourth application program in a third display area;
the fourth application program is in a background running state, and the third display area is at least a partial area of the first display area.
Optionally, while displaying a fourth interface corresponding to a fourth application program in a third display area, displaying a second interface corresponding to the second application program in the second display area.
Optionally, the fifth input may be an input based on a floating touch technology; wherein the fifth input comprises: and receiving the fifth input when detecting that the vertical distance between the finger of the user and the display screen is less than or equal to a first preset distance. And receiving the fifth input through a floating touch technology, so that the problem that the shortcut of the current application program is accidentally triggered in the process of checking other applications or displaying in a split screen mode through shortcut operation can be avoided.
For example, as shown in fig. 5, in a case where the second display area 2 displays the second interface corresponding to the second application, when it is detected that the vertical distance between the finger of the user and the display screen is less than or equal to 5mm, the first input is received, and a fourth interface corresponding to a fourth application is displayed on the first display area 1 in the third display area 3 outside the second display area 2.
Alternatively, when the second display area 2 displays the second interface corresponding to the second application, the click input to the first display area 1 is received, and the fourth interface corresponding to the fourth application is displayed on the third display area 3 other than the second display area 2 on the first display area 1.
The control method of the application program is based on the floating touch technology, and the problem that the shortcut of the current application program is accidentally triggered in the process of checking other applications or displaying in a split screen mode through shortcut operation can be solved. Furthermore, the second display area and the third display area are simultaneously displayed on the first display area, rapid checking of a plurality of application programs is achieved, the effect of normal operation of the first application program is not affected, the information checking efficiency is improved, and frequent switching of the application programs and accidental triggering in the switching process are avoided.
Optionally, after the responding to the fifth input and displaying a fourth interface corresponding to a fourth application in the third display area, the method further includes:
receiving a sixth input to move the third display area to the second display area;
in response to the sixth input, the second interface and the fourth interface are displayed in a split screen manner in the second display area.
Optionally, after responding to the sixth input, the second display area is divided into at least two split screen areas, a second interface corresponding to the second application program is displayed in a first split screen area of the at least two split screen areas, and a fourth interface corresponding to the fourth application program is displayed in a second split screen area of the at least two split screen areas.
For example, as shown in fig. 6 and 7, when the third display area 3 is dragged to the second display area 2, the second display area 2 is divided into two split screen areas, a second interface corresponding to the second application program is displayed in the first split screen area 4, and a fourth interface corresponding to the fourth application program is displayed in the second split screen area 5.
For example, when a user is playing a full-screen game and is in a matching waiting state, and wants to reply to the instant messaging application program, the user clicks the first display area and displays an instant messaging application program interface in the second display area; further, the instant messaging application program needs to be replied according to the content edited in advance in the memo, on the premise that the instant messaging application program interface is displayed in the second display area, an area except the second area in the first display area is clicked, the interface of the memo is displayed in the third display area, then the third display area is dragged to the second display area, and the interfaces of the instant messaging application program and the memo are displayed in the second display area in a split screen mode.
According to the control method of the application program, the split-screen display is carried out in the second display area, the multiple application programs can be quickly checked, the normal operation effect of the first application program is not affected, the information checking efficiency is improved, and frequent switching of the application programs and accidental triggering in the switching process are avoided.
In this embodiment of the application, through setting of the first display area, a second interface corresponding to a second application program may be displayed in the first display area under the condition that the first display area displays the first interface corresponding to the first application program. The problem that the switching operation of the application program is inconvenient or the misoperation is easy to occur in the full-screen mode can be solved.
In the control method of the application program provided in the embodiment of the present application, the execution main body may be a control device of the application program, or a control module for executing the method of controlling the loaded application program in the control device of the application program. In the embodiment of the present application, a method for controlling an application program, which is provided in the embodiment of the present application, is described by taking a method for controlling a control device of the application program to execute control of loading the application program as an example.
As shown in fig. 8, an embodiment of the present application provides a control apparatus for an application program, including:
a first receiving module 801, configured to receive a first input when a first interface corresponding to a first application is displayed in a first display area; wherein the first application is in a foreground running state;
a first response module 802, configured to, in response to the first input, display a second interface corresponding to a second application program in a second display area; the second application program is in a background running state, and the second display area is at least a partial area of the first display area.
Optionally, the first response module is further configured to:
responding to the first input, determining the second display area according to the operation position corresponding to the first input, and displaying the second interface in the second display area;
wherein a size of the second display area is related to a duration of the first input.
Optionally, the control device of the application program further includes at least one of:
the second receiving module is used for receiving a second input to the second display area and responding to the second input to switch the second application program to be in a foreground running state;
a third receiving module, configured to receive a third input to the second display area, and when the second display area is a partial area of the first display area, switch to display the second interface in all areas of the first display area in response to the third input, where the second application is in a background running state;
the fourth receiving module is used for receiving a fourth input to the second display area and responding to the fourth input to switch to display a third interface corresponding to a third application program in the second display area; wherein the third application is in a background running state.
Optionally, the control device of the application program further includes: a fifth receiving module, configured to receive a fifth input when the second display area displays a second interface corresponding to the second application program;
the second response module is used for responding to the fifth input and displaying a fourth interface corresponding to a fourth application program in a third display area;
the fourth application program is in a background running state, and the third display area is at least a partial area of the first display area.
Optionally, the second response module is further configured to:
receiving a sixth input to move the third display area to the second display area;
in response to the sixth input, the second interface and the fourth interface are displayed in a split screen manner in the second display area.
In this embodiment of the application, through setting of the first display area, a second interface corresponding to a second application program may be displayed in the first display area under the condition that the first display area displays the first interface corresponding to the first application program. The problem that the switching operation of the application program is inconvenient or the misoperation is easy to occur in the full-screen mode can be solved.
The control device of the application program 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 control device of the application program 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 control device of the application program provided in the embodiment of the present application can implement each process implemented by the control device of the application program in the method embodiments of fig. 1 to 7, and is not described here again to avoid repetition.
In this embodiment of the application, through setting of the first display area, a second interface corresponding to a second application program may be displayed in the first display area under the condition that the first display area displays the first interface corresponding to the first application program. The problem that the switching operation of the application program is inconvenient or the misoperation is easy to occur in the full-screen mode can be solved.
Optionally, as shown in fig. 9, an electronic device is further provided in this embodiment of the present application, and includes a processor 910, a memory 909, and a program or an instruction that is stored in the memory 909 and is executable on the processor 910, and when the program or the instruction is executed by the processor 910, the process of the embodiment of the control method of the application program is implemented, and the same technical effect can be achieved, and details are not described here again 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. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 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 not repeated here.
The user input unit 1007 is configured to receive a first input when a first interface corresponding to a first application is displayed in a first display area; wherein the first application is in a foreground running state;
the processor 1010 is configured to, in response to the first input, display a second interface corresponding to a second application program in a second display area through the display unit 1006; the second application program is in a background running state, and the second display area is at least a partial area of the first display area.
The processor 1010 is configured to determine, in response to the first input, the second display area according to an operation position corresponding to the first input, and display the second interface in the second display area through the display unit 1006;
wherein a size of the second display area is related to a duration of the first input.
The user input unit 1007 is configured to receive a second input to the second display region;
the processor 1010 is configured to switch the second application program to be in a foreground running state in response to the second input;
the user input unit 1007 is further configured to receive a third input to the second display region;
the processor 1010 is further configured to switch to display the second interface in the entire area of the first display area in response to the third input when the second display area is a partial area of the first display area, and the second application is in a background running state;
the user input unit 1007 is further configured to receive a fourth input to the second display area;
the processor 1010 is further configured to switch to display a third interface corresponding to a third application program in the second display area in response to the fourth input; wherein the third application is in a background running state.
The user input unit 1007 is further configured to receive a fifth input when the second display area displays a second interface corresponding to the second application;
the processor 1010 is further configured to, in response to the fifth input, display a fourth interface corresponding to a fourth application program in a third display area through the display unit 1006;
the fourth application program is in a background running state, and the third display area is at least a partial area of the first display area.
The user input unit 1007 is further configured to receive a sixth input for moving the third display region to the second display region;
the processor 1010 is further configured to display the second interface and the fourth interface in the second display area by split-screen display through the display unit 1006 in response to the sixth input.
In this embodiment of the application, through setting of the first display area, a second interface corresponding to a second application program may be displayed in the first display area under the condition that the first display area displays the first interface corresponding to the first application program. The problem that the switching operation of the application program is inconvenient or the misoperation is easy to occur in the full-screen mode can be solved.
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 control method embodiment of the application program, 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 control method embodiment of the application program, 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 (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 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. A method for controlling an application program, comprising:
receiving a first input under the condition that a first display area displays a first interface corresponding to a first application program; wherein the first application is in a foreground running state;
responding to the first input, and displaying a second interface corresponding to a second application program in a second display area; the second application program is in a background running state, and the second display area is at least a partial area of the first display area.
2. The method for controlling the application program according to claim 1, wherein the displaying a second interface corresponding to a second application program in a second display area in response to the first input comprises:
and responding to the first input, determining the second display area according to the operation position corresponding to the first input, and displaying the second interface in the second display area.
3. The method of claim 1, wherein the size of the second display area is related to the duration of the first input.
4. The method for controlling the application program according to claim 1, wherein after displaying a second interface corresponding to the second application program in the second display area in response to the first input, the method further comprises at least one of:
receiving a second input to the second display area, and responding to the second input to switch the second application program to be in a foreground running state;
receiving a third input to the second display area, and under the condition that the second display area is a partial area of the first display area, responding to the third input, switching to display the second interface in the whole area of the first display area, wherein the second application program is in a background running state;
receiving a fourth input to the second display area, and responding to the fourth input, and switching to display a third interface corresponding to a third application program in the second display area; wherein the third application is in a background running state.
5. The method for controlling an application program according to claim 1, wherein after displaying a second interface corresponding to a second application program in a second display area in response to the first input, the method further comprises:
receiving a fifth input under the condition that the second display area displays a second interface corresponding to the second application program;
responding to the fifth input, and displaying a fourth interface corresponding to a fourth application program in a third display area;
the fourth application program is in a background running state, and the third display area is at least a partial area of the first display area.
6. The method for controlling an application program according to claim 5, wherein after the step of displaying a fourth interface corresponding to a fourth application program in the third display area in response to the fifth input, the method further comprises:
receiving a sixth input to move the third display area to the second display area;
in response to the sixth input, the second interface and the fourth interface are displayed in a split screen manner in the second display area.
7. An apparatus for controlling an application program, comprising:
the first receiving module is used for receiving first input under the condition that a first interface corresponding to a first application program is displayed in a first display area; wherein the first application is in a foreground running state;
the first response module is used for responding to the first input and displaying a second interface corresponding to a second application program in a second display area; the second application program is in a background running state, and the second display area is at least a partial area of the first display area.
8. The application control device of claim 7, wherein the first response module is further configured to:
and responding to the first input, determining the second display area according to the operation position corresponding to the first input, and displaying the second interface in the second display area.
9. An electronic device, comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the control method of an application program according to any one of claims 1 to 6.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method of an application program according to any one of claims 1 to 6.
CN202110090797.9A 2021-01-22 2021-01-22 Application program control method and device and electronic equipment Pending CN112764862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110090797.9A CN112764862A (en) 2021-01-22 2021-01-22 Application program control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110090797.9A CN112764862A (en) 2021-01-22 2021-01-22 Application program control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112764862A true CN112764862A (en) 2021-05-07

Family

ID=75706760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110090797.9A Pending CN112764862A (en) 2021-01-22 2021-01-22 Application program control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112764862A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114416264A (en) * 2022-01-26 2022-04-29 维沃移动通信有限公司 Message display method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820557A (en) * 2015-05-06 2015-08-05 魅族科技(中国)有限公司 A screen splitting method and a mobile terminal
US20150378518A1 (en) * 2013-03-15 2015-12-31 Siemens Healthcare Diagnostics Inc. Windowing System and Method for Companion Software Products
CN106293314A (en) * 2015-05-30 2017-01-04 腾讯科技(深圳)有限公司 A kind of display control method, device and terminal
CN106775420A (en) * 2016-12-30 2017-05-31 华为机器有限公司 A kind of method of application switching, device and graphic user interface
CN106843732A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 The method and mobile terminal of a kind of split screen display available
CN106980441A (en) * 2017-03-29 2017-07-25 杭州弗凡科技有限公司 The suspension windows exchange method and vehicle mounted guidance terminal of vehicle mounted guidance terminal
WO2019015404A1 (en) * 2017-07-20 2019-01-24 Oppo广东移动通信有限公司 Method and apparatus for switching applications in split screen mode, and related device thereof
CN109313526A (en) * 2016-06-12 2019-02-05 苹果公司 Equipment, method and the graphic user interface for manipulating and managing for window

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150378518A1 (en) * 2013-03-15 2015-12-31 Siemens Healthcare Diagnostics Inc. Windowing System and Method for Companion Software Products
CN104820557A (en) * 2015-05-06 2015-08-05 魅族科技(中国)有限公司 A screen splitting method and a mobile terminal
CN106293314A (en) * 2015-05-30 2017-01-04 腾讯科技(深圳)有限公司 A kind of display control method, device and terminal
CN109313526A (en) * 2016-06-12 2019-02-05 苹果公司 Equipment, method and the graphic user interface for manipulating and managing for window
CN106775420A (en) * 2016-12-30 2017-05-31 华为机器有限公司 A kind of method of application switching, device and graphic user interface
CN106843732A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 The method and mobile terminal of a kind of split screen display available
CN106980441A (en) * 2017-03-29 2017-07-25 杭州弗凡科技有限公司 The suspension windows exchange method and vehicle mounted guidance terminal of vehicle mounted guidance terminal
WO2019015404A1 (en) * 2017-07-20 2019-01-24 Oppo广东移动通信有限公司 Method and apparatus for switching applications in split screen mode, and related device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114416264A (en) * 2022-01-26 2022-04-29 维沃移动通信有限公司 Message display method and device

Similar Documents

Publication Publication Date Title
US20190073099A1 (en) Method and device for launching application and electronic device
EP4016273A1 (en) Side toolbar display method and device, terminal, and storage medium
CN108170342B (en) Application program interface display method and device, terminal and readable storage medium
EP3584710B1 (en) Method and apparatus for controlling display of mobile terminal, and storage medium
CN112099707A (en) Display method and device and electronic equipment
CN112433693B (en) Split screen display method and device and electronic equipment
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN112540709A (en) Split screen display method and device, electronic equipment and readable storage medium
CN113467660A (en) Information sharing method and electronic equipment
CN113268182A (en) Application icon management method and electronic equipment
CN113282213A (en) Interface display method and device
CN113794795A (en) Information sharing method and device, electronic equipment and readable storage medium
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
CN111638828A (en) Interface display method and device
CN112286612A (en) Information display method and device and electronic equipment
CN112764862A (en) Application program control method and device and electronic equipment
CN111966860A (en) Audio playing method and device and electronic equipment
CN112162689B (en) Input method and device and electronic equipment
CN111966268B (en) Interface display method and device and electronic equipment
CN114416264A (en) Message display method and device
CN113885981A (en) Desktop editing method and device and electronic equipment
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
CN114222355A (en) Terminal power saving display method and device and electronic equipment
CN112764625A (en) Notification message display method and device
CN111782381A (en) Task management method and device, mobile terminal and 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