CN105955802B - Application running method of mobile terminal and mobile terminal - Google Patents

Application running method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN105955802B
CN105955802B CN201610252183.5A CN201610252183A CN105955802B CN 105955802 B CN105955802 B CN 105955802B CN 201610252183 A CN201610252183 A CN 201610252183A CN 105955802 B CN105955802 B CN 105955802B
Authority
CN
China
Prior art keywords
application
mobile terminal
interface
window
running
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
CN201610252183.5A
Other languages
Chinese (zh)
Other versions
CN105955802A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610252183.5A priority Critical patent/CN105955802B/en
Publication of CN105955802A publication Critical patent/CN105955802A/en
Application granted granted Critical
Publication of CN105955802B publication Critical patent/CN105955802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/466Transaction processing

Landscapes

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

Abstract

The invention discloses an application running method of a mobile terminal and the mobile terminal, which are used for providing a solution for processing other applications under the condition that the mobile terminal keeps the full-screen display and normal running of the currently running application. The method comprises the following steps: the method comprises the steps that a mobile terminal runs a first application through a first process, and a running interface of the first application is displayed in a main window through the first process, wherein the main window is a full-screen display interface of a display screen of the mobile terminal; the mobile terminal keeps running of the first application and display of the main window after monitoring a first trigger event through a first process, and creates a secondary window and a second process through the first process, wherein the secondary window occupies a local display area of a full-screen display interface of a display screen and is superposed on the main window; and the mobile terminal runs a second application through the second process and displays a running interface of the second application on the secondary window.

Description

Application running method of mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an application running method for a mobile terminal and a mobile terminal.
Background
With the development of mobile terminals, the functions of the mobile terminals are more and more. For convenience of use, mobile terminals having a large-sized display screen are increasingly widely used.
The display screen of the mobile terminal can only display one application at the same time, and if the operation interface of the other application needs to be displayed, the other application can be started through the main interface and displayed on the display screen after the current application is closed or the current application is placed in a background to run.
In the existing multi-window display technology, for the case of a multi-window stacked display, as shown in fig. 1, only the window currently located at the top is easy to observe and is in an active state (Activity Status), and other windows except the window located at the top of the display screen are in a paused state. For the case that multiple windows are tiled on the display screen, as shown in fig. 2, the display window of each application is reduced, which is not beneficial to the viewing and operation of the user, and reduces the user experience.
When a mobile terminal displays an application running interface in a full screen mode, how to process other applications under the condition that the full screen display and normal running of the application are kept is a problem to be solved.
Disclosure of Invention
The embodiment of the invention provides an application running method of a mobile terminal and the mobile terminal, which are used for providing a solution for processing other applications under the condition that the mobile terminal keeps the full-screen display and normal running of the currently running application.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, an embodiment of the present invention provides an application running method for a mobile terminal, including:
the method comprises the steps that a mobile terminal runs a first application through a first process, and a running interface of the first application is displayed in a main window through the first process, wherein the main window is a full-screen display interface of a display screen of the mobile terminal;
the mobile terminal keeps running of the first application and display of the main window after monitoring a first trigger event through a first process, and creates a secondary window and a second process through the first process, wherein the secondary window occupies a local display area of a full-screen display interface of a display screen and is superposed on the main window;
and the mobile terminal runs a second application through the second process and displays a running interface of the second application on the secondary window.
In a possible embodiment, the first trigger event is an indication to view a new message of the second application;
the mobile terminal runs a second application through the second process and displays a running interface of the second application on the secondary window, and the running interface comprises the following steps:
and the mobile terminal runs the second application corresponding to the new message through the second process, and displays a viewing interface of the new message of the second application in the secondary window through the second process.
In a possible embodiment, the first trigger event is an instruction to start the second application through a main interface of the mobile terminal;
the mobile terminal runs a second application through the second process and displays a running interface of the second application on the secondary window, and the running interface comprises the following steps:
and the mobile terminal displays a main interface of the mobile terminal on the secondary window through the second process, and after detecting an instruction for starting the second application input through the main interface through the second process, the mobile terminal runs the second application through the second process and displays a running interface of the second application on the secondary window.
In a possible embodiment, the secondary window is located at an upper left corner, an upper right corner, a lower left corner or a lower right corner of the display screen.
In a possible embodiment, the method further comprises:
and after monitoring a second trigger event through the first process or the second process, the mobile terminal displays the running interface of the first application in the secondary window through the first process and displays the running interface of the second application in the main window through the second process.
In a possible implementation manner, the second trigger event is an event of long-pressing and dragging in the secondary window, or an event of long-pressing and dragging in a display area of the primary window except for the overlapping area of the secondary window.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the mobile terminal comprises a first processing module, a second processing module and a display module, wherein the first processing module is used for running a first application through a first process and displaying a running interface of the first application in a main window through the first process, and the main window is a full-screen display interface of a display screen of the mobile terminal;
the second processing module is used for keeping the running of the first application and the display of the main window after monitoring a first trigger event through a first process, and creating a secondary window and a second process through the first process, wherein the secondary window occupies a local display area of a full-screen display interface of the display screen and is superposed on the main window;
and the third processing module is used for running a second application through the second process and displaying a running interface of the second application in the secondary window.
In a possible embodiment, the first trigger event is an indication to view a new message of the second application;
the third processing module is specifically configured to:
and running the second application corresponding to the new message through the second process, and displaying a viewing interface of the new message of the second application in the secondary window through the second process.
In a possible embodiment, the first trigger event is an instruction to start the second application through a main interface of the mobile terminal;
the third processing module is specifically configured to:
and displaying a main interface of the mobile terminal in the secondary window through the second process, and after detecting an instruction for starting the second application input through the main interface through the second process, running the second application through the second process and displaying a running interface of the second application in the secondary window.
In a possible implementation, the system further includes a fourth processing module, configured to:
and after monitoring a second trigger event through the first process or the second process, displaying the running interface of the first application in the secondary window through the first process, and displaying the running interface of the second application in the main window through the second process.
Based on the technical scheme, in the embodiment of the invention, the mobile terminal runs the first application through the first process, displays the running interface of the first application in the main window through the first process, creates the secondary window and the second process after monitoring the first trigger event through the first process, runs the second application through the second process and displays the running interface of the second application in the secondary window, so that the mobile terminal can process other applications in the condition of keeping the full-screen display and normal running of the currently running application through a multi-process parallel processing mode.
Drawings
FIG. 1 is a diagram illustrating a multi-window stacked display effect;
FIG. 2 is a diagram illustrating a multi-window tiled display effect;
fig. 3 is a schematic flow chart of an implementation method of application operation of a mobile terminal in an embodiment of the present invention;
FIG. 4 is a schematic overall flow chart of the first embodiment of the present invention;
FIG. 5 is a diagram illustrating the operation of starting a secondary window according to an embodiment of the present invention;
FIG. 6a is a schematic diagram of a position of a sub-window in an embodiment of the present invention;
FIG. 6b is a schematic diagram illustrating the position of another sub-window in an embodiment of the present invention;
FIG. 7a is a diagram illustrating an operation of switching windows according to an embodiment of the present invention;
FIG. 7b is a schematic diagram illustrating a display after switching windows according to an embodiment of the present invention;
FIG. 8 is a schematic flow chart illustrating switching between primary and secondary windows according to an embodiment of the present invention;
FIG. 9 is a schematic overall flow chart of a second embodiment of the present invention;
FIG. 10 is a diagram of a new message providing interface according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of a display interface after a new message alert is clicked in the embodiment of the present invention;
fig. 12 is a schematic diagram illustrating a process of creating a second process by a mobile terminal according to an embodiment of the present invention;
fig. 13 is a schematic diagram illustrating a process of another mobile terminal creating a second process according to an embodiment of the present invention;
FIG. 14 is a diagram illustrating memory page sharing between a first process and a second process according to an embodiment of the present invention;
FIG. 15 is a diagram illustrating a process of displaying a new message in a secondary window by a second process according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a mobile terminal in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. 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.
In the embodiment of the invention, a solution is provided for processing other applications when the mobile terminal keeps the full-screen display and normal operation of the currently-operated application, the mobile terminal starts a secondary window occupying part of the display screen under the condition that the normal application and the full-screen display state of the currently-operated first application are kept unchanged, the secondary window is popped up, and the secondary window is closed after the secondary window runs the second application. In the whole operation process of the second application, the first application does not need to exit the full-screen display interface, and the normal operation and full-screen display of the first application cannot be influenced.
Based on the concept, the process of processing other applications when the mobile terminal keeps one application to be displayed in a full screen and normally runs is shown in fig. 3, which specifically includes the following steps:
step 301: the mobile terminal runs the first application through the first process, and displays a running interface of the first application in the main window through the first process, wherein the main window is a full-screen display interface of a display screen of the mobile terminal.
In the embodiment of the invention, the display of the main window is full screen display.
Step 302: the mobile terminal keeps running of the first application and displaying of the main window after monitoring a first trigger event through the first process, creates a secondary window and a second process through the first process, runs the second application through the second process and displays a running interface of the second application on the secondary window, wherein the secondary window occupies a local area display area of a full-screen display interface of a display screen and is superposed on the main window.
The first trigger event is used for indicating that a secondary window is started under the condition that the running interface of the first application is not displayed in a full screen mode, and the secondary window is used for displaying the running interface of the second application. The first trigger event may be a predetermined slide action for the display screen, or a predetermined click action for the display screen or a key, or the like. It should be noted that, there are various specific operation manners corresponding to the first trigger event, and this is merely an example.
Specifically, there are many possible implementations of the first trigger event, including but not limited to the following:
first, the first trigger event is an indication to view a new message for the second application.
The specific scene is as follows: the method comprises the steps that under the condition that the mobile terminal displays the running interface of the first application in a full screen mode through the first process, a new message prompt of the second application is received, and the mobile terminal receives an indication of a user for checking the new message of the second application through the first process, namely the indication is a first trigger event.
Specifically, after monitoring a first trigger event through a first process, the mobile terminal runs a second application corresponding to the new message through a second process, and displays a viewing interface of the new message of the second application in a secondary window through the second process.
Second, the first trigger event is an indication to launch a second application through the primary interface.
The specific scene is as follows: the method comprises the steps that under the condition that a running interface of a first application is displayed on the full screen through a first process by a mobile terminal, a specific operation of a user is detected, the specific operation is used for indicating the mobile terminal to display a main interface in a secondary window, and if the specific operation is detected, an indication that the user starts a second application in the main interface is a first trigger event.
Specifically, after monitoring a first trigger event through a first process, the mobile terminal displays a main interface in a secondary window through a second process, and after detecting an instruction for starting a second application input through the main interface through the second process, runs the second application through the second process and displays a running interface of the second application in the secondary window.
Third, the first trigger event is an indication to directly launch the second application.
The specific scene is as follows: the method comprises the steps that under the condition that the mobile terminal displays the running interface of a first application in a full screen mode through a first process, the operation of a shortcut key for starting a second application is detected, and the detected operation is the first trigger event.
Specifically, after monitoring a first trigger event through a first process, the mobile terminal displays an operation interface of a second application in a secondary window through a second process.
In the embodiment of the invention, the position of the secondary window on the display screen is determined by taking the minimum influence on the running interface of the first application as a target. Preferably, the secondary window is located in the upper left, upper right, lower left or lower right corner of the display screen.
Optionally, after monitoring a second trigger event through the first process or the second process, the mobile terminal displays the running interface of the first application in the secondary window through the first process, displays the running interface of the second application in the main window through the second process, and displays the running interface of the second application in a full screen mode. Wherein the second trigger event is used for instructing the first application and the second application to exchange display windows.
Specifically, the second trigger event is pre-configured to the mobile terminal, and specifically may be the mobile terminal configured before factory shipment, or may be the mobile terminal configured by the user. The second trigger event has various types, and the invention does not limit the specific implementation manner of the second trigger event. For example, the second trigger event is an event of long-pressing and dragging in the secondary window, or an event of long-pressing and dragging in a display area other than the overlapping area of the secondary window in the primary window.
Optionally, when the first trigger event carries the identifier of the second application, the mobile terminal runs the second application through a second process, which specifically is: the mobile terminal transmits the identifier of the second application to the second process through the first process, shares the resource of the second application in the memory of the first process through the second process, and runs the second application based on the shared resource of the second application through the second process. In this way, under the condition that the first process has loaded the resources of the second application into the memory space of the first process, the second process directly shares the resources of the second application in the memory space of the first process, so that the response speed of the second application can be improved.
In implementation, the mobile terminal may create a plurality of sub-windows and a plurality of processes, each process running an application and displaying a running interface of the application in a corresponding sub-window. Specifically, after monitoring a first trigger event for a second application through a first process, the mobile terminal keeps running of the first application and displaying of a main window, creates a first sub-window and a second process through the first process, runs the second application through the second process, and displays a running interface of the second application in the first sub-window. After monitoring a first trigger event aiming at a third application through a first process, the mobile terminal keeps the running of the first application and the display of a main window and keeps the running of a second application and the display of a first window, creates a second window and a third process through the first process, runs the third application through the third process and displays a running interface of the third application on the second window. By analogy, the mobile terminal can keep multiple applications running and displaying simultaneously.
The following describes a process of running an application of a mobile terminal by using several specific embodiments.
First embodiment
Fig. 4 is a schematic overall flow chart of the first embodiment.
In this embodiment, the full-screen display interface of the display screen is referred to as a primary window, and the display window occupying a part of the display screen is referred to as a secondary window.
Taking a mobile terminal as an example of a mobile phone, the mobile phone displays an operation interface of a certain application a in a full screen mode through a first process, that is, the operation interface of the application a is displayed in a main window, in this case, a user wants to view operation interfaces of other applications, and does not want to change the running application a. For example, the mobile phone plays a video file in a full screen mode through the first process, and at this time, the user wants to view the friend trends of the instant messaging software and does not want to quit or narrow the video playing interface.
In this scenario, as shown in fig. 5, an arrow 1 in the figure is an upward sliding mobile phone frame, and an arrow 2 is a downward sliding mobile phone frame, after the mobile phone detects an operation of sliding the mobile phone frame up and down by a user through a first process, it is determined that a first trigger event is monitored, a first secondary window is started through the first process, as shown in fig. 6a and 6b, a position schematic diagram of the first secondary window is shown, and a display position of the first secondary window is preferred to maximally not block an operation interface of an application a in a main window.
After the first window is started, the mobile phone creates a second process through the first process, displays a main interface of the mobile phone in the first window through the second process, and displays an operation interface of the application b selected by the user in the first window through the second process according to the user operation.
And if the user wants to exchange the display contents of the main window and the primary window, carrying out window switching operation on a mobile phone screen, and after the mobile phone detects the window switching operation of the user through the first process or the second process, determining to monitor a second trigger event. As shown in fig. 7a, the operation of switching the window is to slide from the first secondary window to the main window, or the operation of switching the window is to slide from the main window to the first secondary window. After the mobile phone determines that the second trigger event is monitored, the running interface of the application b is displayed in the main window through the second process, and the running interface of the application a is displayed in the primary window through the first process, as shown in fig. 7 b. Fig. 8 is a schematic diagram illustrating a process of switching primary and secondary windows.
If the mobile phone displays the application a and the application b simultaneously, the user wants to view the running interface of the application c and does not want to change the running application, for example, the mobile phone plays a video file in a full screen mode through a first process and displays friend dynamics of the instant messaging software through a first window, and at the moment, the user wants to view dynamics of a microblog and does not want to quit the currently displayed application. In the scene, after monitoring a first trigger event through a first process, the mobile phone starts a second window through the first process. And after the second window is started, the mobile phone creates a third process through the first process, displays the main interface of the mobile phone in the second window through the third process, and displays the running interface of the application c selected by the user in the second window through the third process according to the user operation.
And so on, the mobile phone can run a plurality of secondary windows and a plurality of processes simultaneously. One process runs one application, and the running interface of the application is displayed in the corresponding secondary window.
Second embodiment
In this embodiment, the full-screen display interface of the display screen is referred to as a primary window, and the display window occupying a part of the display screen is referred to as a secondary window.
Fig. 9 is a schematic overall flow chart of the second embodiment.
Taking a mobile terminal as an example of a mobile phone, the mobile phone displays an operation interface of an application a in a full screen mode through a first process, that is, the operation interface of the application a is displayed on a main window, in this case, the mobile phone receives a new message prompt of an application b through the first process, that is, the prompt message of the new message is displayed on the top of a display screen of the mobile phone, as shown in fig. 10, the new message prompt interface is schematically illustrated.
The user wants to view the new message, and the user can click the reminding information of the new message on the top of the display screen of the mobile phone. After detecting the operation of clicking the reminding information of the new message on the top of the display screen by the user through the first process, the mobile phone determines to monitor the first trigger event, starts the secondary window and displays the viewing interface of the new message in the secondary window. For example, after receiving the short message reminder through the first process, if the click operation on the short message reminder is detected, the mobile phone pops up a short message viewing interface through the second process. FIG. 11 is a schematic diagram of a display interface after clicking a new message reminder.
In the second specific implementation, for example, only the running interfaces of two applications are displayed at the same time, and the running interfaces of multiple applications can be run at the same time based on a processing procedure similar to the process of viewing a new message, which is not described herein again.
In the embodiment of the present invention, the process of creating the second process by the mobile terminal is as shown in fig. 12 and fig. 13, and specifically as follows:
and the first process of the mobile terminal carries out system call by calling a fork () function in Kernel to create a second process, and the second process executes the process of starting the second application and displays an application interface of the second application in the secondary window by calling an execute () function in Kernel.
The solid lines in fig. 13 represent function calls and the dashed lines represent memory references. Specifically, a first process calls a fork () function, the fork () function is transferred into a Kernel call sys _ fork () through a library file (libc. After the second process calls the execute () function in the Kernel, the file of the second application is analyzed through the sys _ execute () function in the Kernel and is mapped to the memory space of the second process. So is a channel between fork () and sys _ fork (); so is the library file needed by the program running; so is used for encapsulating the library file corresponding to the second application mapped to the memory space of the second process; page _ fault is used to initiate a page fault interrupt.
In the embodiment of the invention, the mobile terminal creates the secondary window and creates a new process through the first process under the condition that the first application is operated through the first process, operates the second application through the created process, and displays the operation interface of the second application on the secondary window, so that the message control of the operation state of one application can be transmitted in only one process without influencing other processes. That is, a plurality of processes of the mobile terminal are in a parallel running relationship, and each process independently controls the running application, that is, the first process controls the running state of the first application, and the control of the second process on the running state of the second application is not influenced.
Optionally, in this embodiment of the present invention, the second process shares a resource of the second application in the memory of the first process, specifically: the second process realizes the sharing of the resource of the second application in a memory page sharing mode with the first process. Fig. 14 is a diagram illustrating a memory page shared between a first process and a second process. The first process loads all the dynamic link libraries (so files) and execution files of the virtual machine (dalvik) which are needed by the running of the second application and are possibly used to the physical memory as memory pages through forced reading operation, and the second process maps the memory pages where the resources of the second application are located, loaded by the first process, to the memory of the first process through mmap (). In this implementation, when the second process executes the second application, the memory page in the memory of the first process is mapped to the memory of the second process by the page fault interrupt, and the file of the second application does not need to be read. The method can directly utilize the resource of the second application loaded by the first process, and improve the response speed of the second application. Wherein dalvikvm is a virtual machine; dex is the type of executable file on Android platform.
For example, as shown in fig. 15, the new message alert received by the first process carries the identifier of the second application. The first process passes an identification of the second application to the second process. And the second process determines the corresponding second application according to the identifier of the second application carried in the new message prompt. Before the virtual machine of the second process starts to execute the second application, all memory pages required for running the second application are loaded to the physical memory, and the second process does not need to read library files (such as functions provided by a Framework and a dynamic link library) required for running the second application from the file system. And after page mapping is triggered once through page missing interruption, the virtual machine can be executed to analyze the 'dex' file of the second application, and the content in the new message of the second application is displayed in the secondary window after the analysis.
Based on the same concept, embodiments of the present invention provide a mobile terminal, and specific implementation of the mobile terminal may refer to the description of the foregoing method embodiment, and repeated details are not repeated, as shown in fig. 16, where the mobile terminal mainly includes:
the first processing module 1601 is configured to run a first application through a first process, and display a running interface of the first application in a host window through the first process, where the host window is a full-screen display interface of a display screen of the mobile terminal;
a second processing module 1602, configured to maintain the operation of the first application and the display of the main window after monitoring a first trigger event through a first process, and create a secondary window and a second process through the first process, where the secondary window occupies a local display area of a full-screen display interface of the display screen and is superimposed on the main window;
a third processing module 1603, configured to run a second application through the second process and display a running interface of the second application in the secondary window.
Optionally, the first trigger event is an indication to view a new message of the second application;
the third processing module is specifically configured to:
and running the second application corresponding to the new message through the second process, and displaying a viewing interface of the new message of the second application in the secondary window through the second process.
Optionally, the first trigger event is an instruction to start the second application through a main interface of the mobile terminal;
the third processing module is specifically configured to:
and displaying a main interface of the mobile terminal in the secondary window through the second process, and after detecting an instruction for starting the second application input through the main interface through the second process, running the second application through the second process and displaying a running interface of the second application in the secondary window.
Optionally, a fourth processing module 1604 is further included for:
and after monitoring a second trigger event through the first process or the second process, displaying the running interface of the first application in the secondary window through the first process, and displaying the running interface of the second application in the main window through the second process.
Based on the technical scheme, in the embodiment of the invention, the mobile terminal runs the first application through the first process, displays the running interface of the first application in the main window through the first process, creates the secondary window and the second process after monitoring the first trigger event through the first process, runs the second application through the second process and displays the running interface of the second application in the secondary window, so that the mobile terminal can process other applications in the condition of keeping the full-screen display and normal running of the currently running application through a multi-process parallel processing mode.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An application running method of a mobile terminal is characterized by comprising the following steps:
the method comprises the steps that a mobile terminal runs a first application through a first process, and a running interface of the first application is displayed in a main window through the first process, wherein the main window is a full-screen display interface of a display screen of the mobile terminal;
the mobile terminal keeps running of the first application and display of the main window after monitoring a first trigger event through a first process, and creates a secondary window and a second process through the first process, wherein the secondary window occupies a local display area of a full-screen display interface of a display screen and is superposed on the main window;
the mobile terminal runs a second application through the second process and displays a running interface of the second application on the secondary window;
when the first trigger event carries the identifier of the second application, the mobile terminal runs the second application through a second process, including: the mobile terminal transmits the identifier of the second application to the second process through the first process, shares the resource of the second application in the memory of the first process through the second process, and runs the second application through the second process based on the shared resource of the second application;
the mobile terminal shares the resource of the second application in the memory of the first process through the second process, and the resource sharing method comprises the following steps:
the mobile terminal shares resources of a second application in a memory page sharing mode with the first process through the second process;
before the mobile terminal executes the second application through the second process, the method further includes:
and the memory page corresponding to the second application is loaded to the physical memory of the mobile terminal.
2. The method of claim 1, wherein the first triggering event is an indication to launch the second application through a primary interface of the mobile terminal;
the mobile terminal runs a second application through the second process and displays a running interface of the second application on the secondary window, and the running interface comprises the following steps:
and the mobile terminal displays a main interface of the mobile terminal on the secondary window through the second process, and after detecting an instruction for starting the second application input through the main interface through the second process, the mobile terminal runs the second application through the second process and displays a running interface of the second application on the secondary window.
3. The method of claim 1, wherein the first triggering event is an indication to view a new message for the second application;
the mobile terminal runs a second application through the second process and displays a running interface of the second application on the secondary window, and the running interface comprises the following steps:
and the mobile terminal runs the second application corresponding to the new message through the second process, and displays a viewing interface of the new message of the second application in the secondary window through the second process.
4. The method of claim 1, wherein the secondary window is located at an upper left corner, an upper right corner, a lower left corner, or a lower right corner of the display screen.
5. The method of any one of claims 1-4, further comprising:
and after monitoring a second trigger event through the first process or the second process, the mobile terminal displays the running interface of the first application in the secondary window through the first process and displays the running interface of the second application in the main window through the second process.
6. The method of claim 5, wherein the second trigger event is an event of long-pressing and dragging in the secondary window or an event of long-pressing and dragging in a display area of the primary window except for an overlapping area of the secondary window.
7. A mobile terminal, comprising:
the mobile terminal comprises a first processing module, a second processing module and a display module, wherein the first processing module is used for running a first application through a first process and displaying a running interface of the first application in a main window through the first process, and the main window is a full-screen display interface of a display screen of the mobile terminal;
the second processing module is used for keeping the running of the first application and the display of the main window after monitoring a first trigger event through a first process, and creating a secondary window and a second process through the first process, wherein the secondary window occupies a local display area of a full-screen display interface of the display screen and is superposed on the main window;
the third processing module is used for running a second application through the second process and displaying a running interface of the second application on the secondary window; when a first trigger event carries an identifier of a second application, the first process is used for transmitting the identifier of the second application to the second process, the second process shares a resource of the second application in a memory of the first process, and the second process runs the second application based on the shared resource of the second application;
the third processing module is specifically configured to:
sharing resources of a second application in a memory page sharing mode between the second process and the first process;
before the third processing module executes the second application through the second process, the memory page corresponding to the second application is already loaded to the physical memory of the mobile terminal.
8. The mobile terminal of claim 7, wherein the first triggering event is an indication to launch the second application through a primary interface of the mobile terminal;
the third processing module is specifically configured to:
and displaying a main interface of the mobile terminal in the secondary window through the second process, and after detecting an instruction for starting the second application input through the main interface through the second process, running the second application through the second process and displaying a running interface of the second application in the secondary window.
9. The mobile terminal of claim 7, wherein the first triggering event is an indication to view a new message for the second application;
the third processing module is specifically configured to:
and running the second application corresponding to the new message through the second process, and displaying a viewing interface of the new message of the second application in the secondary window through the second process.
10. The mobile terminal according to any of claims 7-9, further comprising a fourth processing module for:
and after monitoring a second trigger event through the first process or the second process, displaying the running interface of the first application in the secondary window through the first process, and displaying the running interface of the second application in the main window through the second process.
CN201610252183.5A 2016-04-21 2016-04-21 Application running method of mobile terminal and mobile terminal Active CN105955802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610252183.5A CN105955802B (en) 2016-04-21 2016-04-21 Application running method of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610252183.5A CN105955802B (en) 2016-04-21 2016-04-21 Application running method of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN105955802A CN105955802A (en) 2016-09-21
CN105955802B true CN105955802B (en) 2020-06-12

Family

ID=56915025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610252183.5A Active CN105955802B (en) 2016-04-21 2016-04-21 Application running method of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN105955802B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990888B (en) * 2017-02-27 2021-07-20 宇龙计算机通信科技(深圳)有限公司 Application display control method and device
CN108572854A (en) * 2017-03-08 2018-09-25 上海传英信息技术有限公司 Display interface processing method and display interface processing unit
CN108205456A (en) * 2017-12-28 2018-06-26 北京奇虎科技有限公司 Window rendering intent, equipment and the storage medium of a kind of striding course
CN108415751B (en) * 2018-03-12 2020-11-03 Oppo广东移动通信有限公司 Message reminding method, device, equipment and storage medium
CN110290058B (en) * 2019-06-30 2022-03-11 上海掌门科技有限公司 Method and equipment for presenting session message in application
CN115119048B (en) * 2019-08-10 2024-02-23 荣耀终端有限公司 Video stream processing method and electronic equipment
CN114217726A (en) * 2019-10-09 2022-03-22 广州视源电子科技股份有限公司 Operation method and device of intelligent interactive panel, terminal equipment and storage medium
CN114077455A (en) * 2020-08-21 2022-02-22 华为技术有限公司 Task starting method and electronic equipment
CN112860302A (en) * 2021-02-10 2021-05-28 维沃移动通信(杭州)有限公司 Application program control method and device, electronic equipment and readable storage medium
CN115390952A (en) * 2021-05-20 2022-11-25 华为技术有限公司 Interface display method and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048735A (en) * 2004-08-03 2007-10-03 索芙特瑞斯提股份有限公司 System and method for controlling inter-application association through contextual policy control
CN101739295A (en) * 2009-12-31 2010-06-16 北京数码大方科技有限公司 Method and device for calling extension program based on process
CN102662776A (en) * 2012-04-01 2012-09-12 杭州格畅科技有限公司 Inter-application communication method, client side and application process manager of online application platform
CN102968243A (en) * 2012-09-29 2013-03-13 顾晶 Method, device and equipment for displaying multiple application windows on mobile terminal
CN103064748A (en) * 2013-01-05 2013-04-24 浪潮电子信息产业股份有限公司 Method for processing communication among multiple processes in Linux system
CN103729176A (en) * 2012-10-12 2014-04-16 腾讯科技(深圳)有限公司 Application program integration method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09330198A (en) * 1996-06-10 1997-12-22 Keyence Corp Window display method, computer system, and recording medium for multiwindow type operating system
US20070113195A1 (en) * 2005-11-17 2007-05-17 Daniel Tormey Automatic and persistent X window control for multiple applications and multiple windows per application
KR101957173B1 (en) * 2012-09-24 2019-03-12 삼성전자 주식회사 Method and apparatus for providing multi-window at a touch device
CN103019609B (en) * 2012-12-28 2016-02-03 广东欧珀移动通信有限公司 The method that territory, screen partition shows, device and touch screen terminal
EP2767896B1 (en) * 2013-02-14 2019-01-16 LG Electronics Inc. Mobile terminal and method of controlling the mobile terminal
CN104572157A (en) * 2013-10-28 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN103995722B (en) * 2014-05-26 2017-08-25 天津三星通信技术研究有限公司 Open the method and apparatus of multiple windows simultaneously on screen
CN105573574A (en) * 2014-10-09 2016-05-11 阿里巴巴集团控股有限公司 Application interface navigation method and apparatus
CN104954553A (en) * 2015-04-30 2015-09-30 努比亚技术有限公司 Mobile terminal split-screen display method and device
CN104898952B (en) * 2015-06-16 2019-05-28 魅族科技(中国)有限公司 A kind of terminal split screen implementation method and terminal
CN105630307A (en) * 2015-12-23 2016-06-01 努比亚技术有限公司 Apparatus and method for displaying a plurality of applications on mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048735A (en) * 2004-08-03 2007-10-03 索芙特瑞斯提股份有限公司 System and method for controlling inter-application association through contextual policy control
CN101739295A (en) * 2009-12-31 2010-06-16 北京数码大方科技有限公司 Method and device for calling extension program based on process
CN102662776A (en) * 2012-04-01 2012-09-12 杭州格畅科技有限公司 Inter-application communication method, client side and application process manager of online application platform
CN102968243A (en) * 2012-09-29 2013-03-13 顾晶 Method, device and equipment for displaying multiple application windows on mobile terminal
CN103729176A (en) * 2012-10-12 2014-04-16 腾讯科技(深圳)有限公司 Application program integration method and device
CN103064748A (en) * 2013-01-05 2013-04-24 浪潮电子信息产业股份有限公司 Method for processing communication among multiple processes in Linux system

Also Published As

Publication number Publication date
CN105955802A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105955802B (en) Application running method of mobile terminal and mobile terminal
EP3567476B1 (en) Application data processing method and apparatus, and storage medium
CN110244984B (en) Application processing method, device, storage medium and computer equipment
US20190391732A1 (en) Method, Apparatus, and Terminal for Processing Notification Information
US20170324859A1 (en) Information processing method, terminal, and computer-readable storage medium
US20220248077A1 (en) Video projection method, apparatus and device, and storage medium
CN108932087B (en) Desktop split screen system for mobile equipment and implementation method thereof
CN108376094B (en) Notification message display method and device, computer equipment and storage medium
CN110519461B (en) File transmission method, device, computer equipment and storage medium
US9609109B2 (en) Method and apparatus for displaying incoming call information
CN107704241B (en) Display method and device for page state switching
EP2807541B1 (en) Image-based application automation
EP3133481A1 (en) Terminal device display method and terminal device
CN106470270B (en) Application prompt message processing method and device on mobile terminal
WO2017201965A1 (en) Notification message display method and device, and terminal
CN115129505B (en) Processing method and device for abnormal exit of application program
CN105279431B (en) Method, device and system for recording operation information in mobile equipment
US10303349B2 (en) Image-based application automation
WO2019047183A1 (en) Key display method, apparatus, and terminal
CN112148163A (en) Screen recording method and device and electronic equipment
CN107621976B (en) Method for keeping application program instance in activated state and cloud server
CN108614739A (en) A kind of method and device for transmitting message
CN109195021B (en) Screenshot sharing method and device
CN109145273B (en) Comment following display method, device, equipment and storage medium
CN108415746B (en) Application interface display method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder