WO2017201655A1 - 一种后台应用程序显示方法、装置、电子设备和计算机程序产品 - Google Patents

一种后台应用程序显示方法、装置、电子设备和计算机程序产品 Download PDF

Info

Publication number
WO2017201655A1
WO2017201655A1 PCT/CN2016/083007 CN2016083007W WO2017201655A1 WO 2017201655 A1 WO2017201655 A1 WO 2017201655A1 CN 2016083007 W CN2016083007 W CN 2016083007W WO 2017201655 A1 WO2017201655 A1 WO 2017201655A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
background
application
running
information
Prior art date
Application number
PCT/CN2016/083007
Other languages
English (en)
French (fr)
Inventor
蒋雪琴
Original Assignee
达闼科技(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 达闼科技(北京)有限公司 filed Critical 达闼科技(北京)有限公司
Priority to CN201680002706.9A priority Critical patent/CN106716364A/zh
Priority to PCT/CN2016/083007 priority patent/WO2017201655A1/zh
Publication of WO2017201655A1 publication Critical patent/WO2017201655A1/zh

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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Definitions

  • the present invention relates to the field of virtualization technologies, and in particular, to a background application display method, apparatus, electronic device, and computer program product.
  • the virtualization technology allows multiple operating systems or virtual machines (VMs) to run simultaneously on the electronic device.
  • the user can access the operating environment of multiple virtual machines on one electronic device, and switch different virtual machine operations according to requirements. surroundings.
  • the isolation provided by virtualization technology can isolate multiple operating systems on a single terminal, preventing processes on each operating system from adversely affecting other operating systems and making them more secure.
  • the user can display all the applications running in the background in the current virtual machine operating environment by using certain operations in a virtual machine operating environment.
  • APP virtual machine operating environment
  • the background running program may be run in the foreground, but the interface of the APP running in the background in other virtual machine operating environments cannot be in the current virtual machine environment. It is displayed that if the user needs to know the information of the APP running in the background of other virtual machine operating environments or the APP running in the background of other virtual machine operating environments becomes the foreground operation, it is necessary to switch to another virtual machine operating environment and perform corresponding operations.
  • the embodiment of the invention provides a background application display method, device, electronic device and computer program product, which can display information of an application running in another virtual machine environment running in the background in a currently running virtual machine environment.
  • an embodiment of the present invention provides a background application display method, where the method includes:
  • the information of each application running in the background of the first virtual machine has a first display feature
  • the information of each application running in the background of the second virtual machine has a second display feature different from the first display feature.
  • the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
  • the method further includes:
  • the first application runs in the foreground.
  • the method further includes:
  • the second operation is an operation performed by the user on the information of the displayed second application
  • the second application is an application running in the background of the first virtual machine
  • the program or the second application is an application running in the background of the second virtual machine
  • the method further includes:
  • the third operation is an operation performed by the user on information of two or more application programs of the displayed virtual machine to be shut down, or
  • the third operation is an operation performed by the user on the display area, where the display area is used to display information of an application running in the background of the virtual machine to be shut down, or
  • the third operation is an operation performed by the user on the control menu, where the control menu is generated by the information of the application running in the background of the virtual machine to be turned off displayed by the user;
  • the front office is further included.
  • an embodiment of the present invention provides a background application display device, where the device includes:
  • a background requesting module configured to obtain a background display request by using the first virtual machine
  • a determining module configured to determine, after the background requesting module obtains a background display request, each application running in the background of the first virtual machine; and determining, by the second virtual machine, each application running in the background, where the second virtual machine is a virtual machine running in the background;
  • a display module configured to display information about each application running in the background of the first virtual machine and information about each application running in the background of the second virtual machine.
  • the information of each application running in the background of the first virtual machine has a first display Levy
  • the information of each application running in the background of the second virtual machine has a second display feature different from the first display feature.
  • the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
  • the device further comprises:
  • a foreground request module configured to: after the display module displays information of each application running in the background of the first virtual machine and information of each application running in the background of the second virtual machine, obtain a foreground operation according to the first operation
  • the first operation is an operation performed by the user on the displayed information of the first application, where the first application is an application running in the background of the second virtual machine;
  • the foreground running module is configured to run the first application in the foreground.
  • the device further comprises:
  • An application shutdown request module configured to: after the display module displays information about each application running in the background of the first virtual machine and information of each application running in the background of the second virtual machine, acquiring the shutdown according to the second operation a request, the second operation is an operation performed by the user on the displayed information of the second application, the second application is an application running in the background of the first virtual machine, or the second application is the An application running in the background of the second virtual machine;
  • An application closure module is used to close the second application.
  • the device further comprises:
  • a virtual machine shutdown requesting module configured to obtain, according to the third operation, after the display module displays information of each application running in the background of the first virtual machine and information of each application running in the background of the second virtual machine Virtual machine shutdown request;
  • the third operation is an operation performed by the user on information of two or more application programs of the displayed virtual machine to be shut down, or
  • the third operation is an operation performed by the user on the display area, where the display area is used to display information of an application running in the background of the virtual machine to be shut down, or
  • the third operation is an operation performed by the user on the control menu, where the control menu is generated by the information of the application running in the background of the virtual machine to be turned off displayed by the user;
  • a virtual machine shutdown module configured to shut down each application running in the background of the virtual machine to be shut down, and shut down the virtual machine to be shut down;
  • the virtual machine running module is configured to: when the virtual machine to be shut down is the first virtual machine, shut down, in the virtual machine shutdown module, each application running in the background of the virtual machine to be shut down, and shut down the application After the virtual machine to be shut down, the foreground runs the second virtual machine, or the foreground runs the application running in the background of the second virtual machine.
  • an embodiment of the present invention provides an electronic device, where the electronic device includes:
  • One or more modules include instructions for performing the various steps of any of the foregoing methods.
  • embodiments of the present invention provide a computer program product for use with an electronic device including a display, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein,
  • the computer program mechanism includes instructions for performing the various steps of any of the foregoing methods.
  • a background application display request is obtained by the first virtual machine; each application running in the background of the first virtual machine is determined; each application running in the background of the second virtual machine is determined, and the second virtual machine is a virtual machine running in the background. Displaying an interface of each application running in the background of the first virtual machine and an interface of each application running in the background of the second virtual machine.
  • the present invention provides a background application display method, which enables a user to more conveniently view applications running in other virtual machine environments running in the background in a currently running virtual machine environment.
  • FIG. 1 is a schematic flowchart diagram of a background application display method in Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for running a foreground of an application in Embodiment 2 of the present invention
  • Embodiment 3 is a schematic flowchart of an application closing method in Embodiment 3 of the present invention.
  • FIG. 4 is a schematic flowchart of a method for shutting down a virtual machine in Embodiment 4 of the present invention
  • 5a and 5b are schematic diagrams showing the display of a background application in the fifth embodiment of the present invention.
  • 6a and 6b are schematic diagrams showing the display of a background application in the sixth embodiment of the present invention.
  • FIGS. 7a-7d are schematic diagrams showing the display of a background application in Embodiment 7 of the present invention.
  • FIG. 8 is a schematic structural diagram of a background application display device in Embodiment 8 of the present invention.
  • the present invention provides a background application display method, which enables a user to more conveniently view an application running in a virtual machine environment running in another background in a currently running virtual machine environment.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the background application display method includes:
  • Step 101 Acquire a background display request by using the first virtual machine.
  • Step 102 Determine each application running in the background of the first virtual machine; determine each application running in the background of the second virtual machine, where the second virtual machine is a virtual machine running in the background;
  • Step 103 displaying information about each application running in the background of the first virtual machine and the second Information about each application running in the background of the virtual machine.
  • a plurality of virtual machines are run in the virtualization system architecture, including at least a first virtual machine and a second virtual machine, and possibly one or more other virtual machines.
  • the first virtual machine is currently in a foreground running state
  • the foreground running state indicates that the first virtual machine is running
  • the display component of the device displays an operating system of the current virtual machine or a human machine of an application running in a current virtual machine environment.
  • An interactive interface that is visible to the user.
  • the virtualization layer in the virtualization system architecture runs a virtual machine monitor (abbreviated as VMM or Hypervisor), and the hypervisor obtains a background display request through the first virtual machine, that is, receives the user through the human interaction interface between the user and the first virtual machine.
  • VMM virtual machine monitor
  • Hypervisor obtains a background display request through the first virtual machine, that is, receives the user through the human interaction interface between the user and the first virtual machine.
  • a request to display information for a background application is a virtual machine monitor
  • the hypervisor determines each application running in the background of the first virtual machine, and determines an application running in the background in other virtual machine environments running in the background in the virtualized system architecture.
  • the second virtual machine is a virtual machine running in the background in the current virtualization system architecture, that is, the operating system of the second virtual machine or the applications running in the second virtual machine environment are running, but The human-computer interaction related service program is closed, so its human-computer interaction interface is invisible to the user.
  • Each application in the first virtual machine environment running in the foreground may be running in the foreground or in the background, but each application in the second virtual machine environment running in the background runs in the background.
  • the hypervisor acquires and displays information of an application running in the background of each virtual machine from each virtual machine, and the information of the application may include an application name, an icon, an introduction, a typical interface, and the last time it enters the background. A combination of one or several of the runtime interfaces.
  • the information of each application of each virtual machine can be arranged in chronological order and displayed in a tiled or stacked form. It should be noted that the information of all applications may not be completely displayed in one interface, for example, When the shop mode is displayed, the display screen can only display information of a limited number of 4 or 6 applications, but the user can view the information of all the applications by scrolling the screen or turning the page; the top mobile application is displayed in the cascading display.
  • Program information can be relatively enlarged Display, the information of each mobile application in the lower layer can be relatively reduced and partially occluded, but the user can view the information of all applications by adjusting the display hierarchy or switching the display hierarchy.
  • the application running in the foreground may become a background application while displaying the information of each application of each virtual machine, so the information thereof is also It can be displayed that all applications running on the first virtual machine may be displayed in step 103.
  • the information of each application running in the background of the first virtual machine has a first display feature; and the information of each application running in the background of the second virtual machine has a second display different from the first display feature. feature.
  • the user can clearly distinguish the virtual machines to which the respective applications belong, and add different display features to the information of the applications belonging to different virtual machines.
  • the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
  • the information of the application of different virtual machines may have different colors, different sizes, different display positions or different identifiers, and may also have multiple different display features at the same time.
  • This proposal enables users to view applications running in other virtual machine environments running in the background in a currently running virtual machine environment, and to display applications belonging to different virtual machines through various display features. The information allows the user to distinguish easily.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 2 is a schematic flowchart of the method for running the foreground of the application in the second embodiment of the present invention. After the steps in the first embodiment, the following steps are further added:
  • Step 201 Acquire a foreground running request according to the first operation, where the first operation is an operation performed by the user on the displayed information of the first application, where the first application is an application running in the background of the second virtual machine ;
  • Step 202 The foreground runs the first application.
  • the user can perform certain operations on the information of a displayed background running application, so that the application pointed to by the operation becomes a foreground operation.
  • the operation may be clicking, double-clicking information of an application; or dragging the information of the application to a fixed point or a fixed edge of the screen; or performing multiple operations on the information of the application through the touch screen. For example, two contacts drag in the opposite direction to expand the information of an application; and other methods known to those skilled in the art to operate on an object and enable its corresponding application to run in the foreground.
  • the foreground running request in step 201 is obtained according to the foregoing operation.
  • the application pointed to by the operation is an application running in the background in the currently running first virtual machine environment, the application is directly turned into a foreground operation.
  • step 202 the application running in the background in the second virtual machine environment is run in the foreground.
  • the application running in the background in the second virtual machine environment may be directly changed into the foreground operation, that is, when the application is running in the foreground and is closed, it will return to the first virtual machine.
  • the first virtual machine running in the foreground may be turned into a background
  • the second virtual machine may be turned into a foreground
  • the application of the second virtual machine may be run in the foreground.
  • the application runs in the foreground and is shut down, it will enter the operating environment of the second virtual machine.
  • the user in the case that the user can more conveniently view the application running in the virtual machine environment running in the other background, the user can be further conveniently switched to the application running in the background in different virtual machine environments.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 3 is a schematic flowchart of a method for shutting down an application in the third embodiment of the present invention. After the steps in the first embodiment, the following steps are further added:
  • Step 301 Acquire a shutdown request according to the second operation, where the second operation is an operation performed by the user on the displayed information of the second application, where the second application is an application running in the background of the first virtual machine or The second application is an application running in the background of the second virtual machine;
  • Step 302 closing the second application.
  • the user can perform certain operations on the information of a displayed background running application to close the application pointed to by the operation.
  • the operation may be clicking a close button of the application information box; or dragging the information of the application to the edge of the screen; and other applications known to those skilled in the art to operate on an object and make it correspond
  • the close request in step 301 is obtained according to the foregoing operation.
  • step 302 the background running application pointed to by the shutdown request is closed. After the application running in a certain background is closed, the information display interface of each application running in the background of each virtual machine can be stopped. When all the applications running in the background of each virtual machine are closed, the operation can be returned to the current operation.
  • the virtual machine which is the operating system interface of the first virtual machine.
  • the user in the case that the user can more conveniently view the application running in the virtual machine environment running in the other background, the user can be further conveniently closed to the application running in the background in the other virtual machine environment.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 4 is a schematic flowchart of a method for shutting down a virtual machine in the fourth embodiment of the present invention. After the steps in the first embodiment, the following steps are further added:
  • Step 401 Acquire a virtual machine shutdown request according to the third operation.
  • the third operation is an operation performed by the user on information of two or more application programs of the displayed virtual machine to be shut down, or
  • the third operation is an operation performed by a user on a display area, and the display area is used to display Close the information of the application running in the background of the virtual machine, or,
  • the third operation is an operation performed by the user on the control menu, where the control menu is generated by the information of the application running in the background of the virtual machine to be turned off displayed by the user;
  • Step 402 Close each application running in the background of the virtual machine to be shut down, and shut down the virtual machine to be shut down.
  • the user can perform some operations on the information of a displayed application running in the background to close the virtual machine corresponding to the application pointed to by the operation, that is, running in a batch to shut down a virtual machine environment. At the same time as the background application, shut down the virtual machine.
  • the operation can be one of the following:
  • the user can simultaneously touch information of a plurality of applications belonging to the same virtual machine at two or three points, and execute two or three applications belonging to the virtual machine.
  • the information of the program is dragged to the edge of the screen; or the user can select or select two or more information of the application belonging to the same virtual machine, and input a delete signal.
  • the display area corresponding to a certain virtual machine may be operated, for example, clicking a close button of the area, or dragging a closed module of the area, etc. .
  • control menu being generated by the user triggering display of information of an application running in the background of the virtual machine to be turned off.
  • long press or right click on an application's information triggers the display of a menu bar or menu window, which can include the option to "close the own virtual machine", then click or double-click the option.
  • step 402 each application running in the background of the virtual machine pointing to the shutdown in step 401 is closed, and the virtual machine is shut down.
  • Step 403 The foreground runs the second virtual machine, or the foreground runs an application running in the background of the second virtual machine.
  • the method further includes step 403, where the second virtual machine is running in the foreground, that is, the operating system interface of the second virtual machine is displayed; Alternatively, the foreground runs an application running in the background of the second virtual machine, and displays an interface of the application of the second virtual machine.
  • the user in the case that the user can more conveniently view the application running in the virtual machine environment running in the other background, the user can further conveniently close the virtual machine running in the foreground or the virtual machine running in the background.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • 5a and 5b are schematic diagrams showing the display of a background application in the fifth embodiment of the present invention.
  • the content displayed on the screen is as shown in FIG. 5a, and at least six applications are running in the current mobile phone, and the information of each application is displayed in a layered manner.
  • the information of the application APP1 that is in the background running time is displayed at the top layer, and the display area thereof is relatively large.
  • the information of the application APP2-APP5 is sequentially displayed in chronological order after the information of the APP1 application. Part of it may be occluded by the upper layer APP.
  • the user can slide the information of each application through the touch screen to display the information of each application in the lower layer.
  • the information for each application includes a name field indicating the application names APP1, APP2, etc., and an application interface display box below the name bar.
  • the name column has an X-shaped close button, and the interface display box is a thumbnail of the display interface before each application enters the background running.
  • the name column also includes different text identifiers of “VM1” or “VM2”, that is, the user can know which virtual machine environment each application runs in by using different text identification features.
  • the content displayed on the screen is as shown in FIG. 5b
  • the information of the application is displayed in the same manner as in FIG. 5a, except that the information of the application of different virtual machines is distinguished by the identifier in the upper right corner of the application information, and APP1 and APP4 running on VM1 have a special identifier but run on VM2. APP2 and APP3 do not have the identity.
  • the user can click the X-shaped close button in the upper right corner of an application information to close the background running application through the touch screen, and click on an application to change the information through the touch screen.
  • the application corresponding to the information of the application is displayed for the upper layer or directly to the foreground.
  • 6a and 6b are schematic diagrams showing the display of a background application in the sixth embodiment of the present invention.
  • the content displayed on the screen is as shown in FIG. 6a, and at least 6 applications are running in the current mobile phone, where APP1, APP4, and APP6 are running.
  • thumbnail interface of each application is displayed in the front row of the lower part of the screen in a cascade manner; APP2, APP3 and APP5 are running in another virtual machine environment running in the background, and the application of each application
  • the thumbnail interface is displayed in a cascading manner in the back row of the upper part of the screen, and the display area of the thumbnail interface of the application running in the background virtual machine is generally smaller than the display area of the thumbnail interface of the application running the virtual machine in the foreground, that is, different
  • the information of the application of the virtual machine has different size features and location characteristics at the same time.
  • the thumbnail interface of some applications is partially obscured, the user can slide the thumbnails of the front or back application through the touch screen to view the information of each application.
  • the user can click the X-shaped close button in the upper right corner of an application information to close the background running application through the touch screen, and click the thumbnail interface of an application through the touch screen to make the application.
  • the thumbnail interface of each application of the virtual machine to which the program belongs changes to the front display, or the thumbnail interface of the clicked application is converted to the upper display, or the application can be directly changed to the foreground.
  • 7a, 7b, 7c and 7d show schematic diagrams of the background application display in the seventh embodiment of the present invention.
  • the content displayed on the screen is as shown in FIG. 7a, and at least 6 applications are running in the current mobile phone, which are not fully displayed due to the limitation of the screen display. All applications running in the background of each virtual machine, but the user can get information about all applications by swiping down the screen.
  • the application icon is displayed on the left side of each application entry, and the application name such as "APP1" or "APP2" is displayed on the right side, and other information of each application can be displayed.
  • APP1, APP4 and APP6 run on one virtual machine
  • APP2 and APP3 run on another virtual machine, and the entries of each application are filled with different colors so that the user can clearly distinguish the virtual machines to which each application belongs.
  • the user can drag the entry of APP4 to the right to the edge of the screen to close the APP4.
  • the user can simultaneously drag the entries of the two applications running on the same virtual machine to the right to the edge of the screen to close the virtual machine described by the multiple applications being dragged, and run on it. For each application, close all applications whose application entries are APP1, APP4, and APP5 are white, and shut down the virtual machines running those applications.
  • the user can also perform long press operation on an application item, such as APP4, and select the option of “close APP” in the pop-up dialog menu to close the APP4; select in the pop-up dialog menu.
  • “Close VM” option to close APP1, APP4 and APP5 There are applications with application entries that are white, and the virtual machines running those applications are shut down.
  • FIG. 8 is a schematic structural diagram of a background application display device according to Embodiment 8 of the present invention. As shown in the figure, the device 800 includes:
  • the background requesting module 801 is configured to obtain a background display request by using the first virtual machine
  • a determining module 802 configured to: after the background requesting module 801 acquires a background display request, determine each application running in the background of the first virtual machine; determine each application running in the background of the second virtual machine, the second virtual The machine is a virtual machine running in the background;
  • the display module 803 is configured to display information about each application running in the background of the first virtual machine and information about each application running in the background of the second virtual machine.
  • the information of each application running in the background of the first virtual machine has a first display feature
  • the information of each application running in the background of the second virtual machine has a second display feature different from the first display feature.
  • the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
  • the device 800 further includes:
  • the foreground request module 804 is configured to obtain, according to the first operation, the information of each application running in the background of the first virtual machine and the information of each application running in the background of the second virtual machine after the display module 803 displays the information of each application running in the background of the first virtual machine
  • the foreground operation request, the first operation is an operation performed by the user on the displayed information of the first application, and the first application is an application running in the background of the second virtual machine;
  • the foreground running module 805 is configured to run the first application in the foreground.
  • the device 800 further includes:
  • An application close requesting module 806, configured to display, after the display module 803, the information of each application running in the background of the first virtual machine and the information of each application running in the background of the second virtual machine, according to the second operation Acquiring a shutdown request, the second operation is an operation performed by the user on the displayed information of the second application, the second application is an application running in the background of the first virtual machine, or the second application is An application running in the background of the second virtual machine;
  • the application close module 807 is configured to close the second application.
  • the device 800 further includes:
  • a virtual machine shutdown requesting module 808, configured to display, after the display module 803, the information of each application running in the background of the first virtual machine and the information of each application running in the background of the second virtual machine, according to the third The operation obtains a virtual machine shutdown request;
  • the third operation is an operation performed by the user on information of two or more application programs of the displayed virtual machine to be shut down, or
  • the third operation is an operation performed by the user on the display area, where the display area is used to display information of an application running in the background of the virtual machine to be shut down, or
  • the third operation is an operation performed by the user on the control menu, where the control menu is generated by the information of the application running in the background of the virtual machine to be turned off displayed by the user;
  • a virtual machine shutdown module 809 configured to shut down each application running in the background of the virtual machine to be shut down, and shut down the virtual machine to be shut down;
  • the virtual machine running module 810 is configured to: when the virtual machine to be shut down is the first virtual machine, close the applications running in the background of the virtual machine to be shut down, and close the application After the virtual machine to be shut down, the foreground runs the second virtual machine, or the foreground runs an application running in the background of the second virtual machine.
  • the embodiment of the present invention further provides a background application display electronic device. Since the principle is similar to a background application display method, the implementation may be implemented. See the implementation of the method, and the repetition will not be repeated.
  • the electronic device includes:
  • One or more modules include instructions for performing the various steps of any of the foregoing methods.
  • an embodiment of the present invention further provides a background application display computer program product used in combination with an electronic device including a display. Since the principle is similar to a background application display method, the implementation can be referred to the method. The implementation, repetitions will not be repeated.
  • the computer program product comprises a computer readable storage medium and a computer program mechanism embodied therein, the computer program mechanism comprising instructions for performing the various steps of any of the foregoing methods.
  • embodiments of the present invention can 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 a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

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)

Abstract

本发明提供了一种后台应用程序显示方法、装置、电子设备和计算机程序产品,所述方法包括:通过第一虚拟机获取后台显示请求;确定所述第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息。本发明提供了一种后台应用程序显示方法,使用户在当前运行的虚拟机环境下,能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序。

Description

一种后台应用程序显示方法、装置、电子设备和计算机程序产品 技术领域
本发明涉及虚拟化技术领域,特别涉及一种后台应用程序显示方法、装置、电子设备和计算机程序产品。
背景技术
现有技术中虚拟化技术允许多个操作系统或者虚拟机(VM)同时运行在电子设备上,用户可在一个电子设备上访问多个虚拟机的操作环境,并且根据需求切换不同的虚拟机操作环境。通过虚拟化技术带来的隔离性可实现单一终端上多个操作系统的隔离,避免各操作系统上的进程对其他操作系统产生不利影响,更加安全。
现有技术中,在电子设备具有多个虚拟机操作环境的场景中,用户在一个虚拟机操作环境下可以通过某些特定操作显示当前虚拟机操作环境下后台运行着的所有应用程序(application,APP)的信息,用户选择其中一个后台运行的应用程序的信息后,所述后台运行程序可变为前台运行,但是其他虚拟机操作环境中后台运行着的APP的界面在当前虚拟机环境下无法显示,用户如果需要知道其他虚拟机操作环境中后台运行着的APP的信息或者将其他虚拟机操作环境中后台运行着的APP变为前台运行,需要切换至其他虚拟机操作环境再进行相应操作。
现有技术的不足主要在于:
在当前运行的虚拟机环境下,不能显示在其他后台运行的虚拟机环境中运行的应用程序的信息。
发明内容
本发明实施例提出了一种后台应用程序显示方法、装置、电子设备和计算机程序产品,能够在当前运行的虚拟机环境下,显示在其他后台运行的虚拟机环境中运行的应用程序的信息。
在一个方面,本发明实施例提供了一种后台应用程序显示方法,其特征在于,所述方法包括:
通过第一虚拟机获取后台显示请求;
确定所述第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;
显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息。
优选的,所述第一虚拟机后台运行的各应用程序的信息具有第一显示特征;
所述第二虚拟机后台运行的各应用程序的信息具有与所述第一显示特征不同的第二显示特征。
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。
优选的,在显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,还包括:
根据第一操作获取前台运行请求,所述第一操作为用户对显示的第一应用程序的信息执行的操作,所述第一应用程序是所述第二虚拟机后台运行的应用程序;
前台运行所述第一应用程序。
优选的,在显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,还包括:
根据第二操作获取关闭请求,所述第二操作为用户对显示的第二应用程序的信息执行的操作,所述第二应用程序是所述第一虚拟机后台运行的应用 程序或者所述第二应用程序是所述第二虚拟机后台运行的应用程序;
关闭所述第二应用程序。
优选的,在显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,还包括:
根据第三操作获取虚拟机关闭请求;
所述第三操作为用户对显示的待关闭的虚拟机的两个或两个以上应用程序的信息执行的操作,或者,
所述第三操作为用户对显示区域执行的操作,所述显示区域用于显示待关闭的虚拟机后台运行的应用程序的信息,或者,
所述第三操作为用户对控制菜单执行的操作,所述控制菜单是用户触发显示的待关闭的虚拟机后台运行的应用程序的信息产生的;
关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机;
以及,当所述待关闭的虚拟机为第一虚拟机时,在关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机之后,还包括,前台运行所述第二虚拟机,或者前台运行所述第二虚拟机后台运行的应用程序。
在另一个方面,本发明实施例提供了一种后台应用程序显示装置,其特征在于,所述装置包括:
后台请求模块,用于通过第一虚拟机获取后台显示请求;
确定模块,用于在所述后台请求模块获取后台显示请求之后,确定所述第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;
显示模块,用于显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息。
优选的,所述第一虚拟机后台运行的各应用程序的信息具有第一显示特 征;
所述第二虚拟机后台运行的各应用程序的信息具有与所述第一显示特征不同的第二显示特征。
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。
优选的,所述装置还包括:
前台请求模块,用于在所述显示模块显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第一操作获取前台运行请求,所述第一操作为用户对显示的第一应用程序的信息执行的操作,所述第一应用程序是所述第二虚拟机后台运行的应用程序;
前台运行模块,用于前台运行所述第一应用程序。
优选的,所述装置还包括:
应用关闭请求模块,用于在所述显示模块显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第二操作获取关闭请求,所述第二操作为用户对显示的第二应用程序的信息执行的操作,所述第二应用程序是所述第一虚拟机后台运行的应用程序或者所述第二应用程序是所述第二虚拟机后台运行的应用程序;
应用关闭模块,用于关闭所述第二应用程序。
优选的,所述装置还包括:
虚拟机关闭请求模块,用于在所述显示模块显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第三操作获取虚拟机关闭请求;
所述第三操作为用户对显示的待关闭的虚拟机的两个或两个以上应用程序的信息执行的操作,或者,
所述第三操作为用户对显示区域执行的操作,所述显示区域用于显示待关闭的虚拟机后台运行的应用程序的信息,或者,
所述第三操作为用户对控制菜单执行的操作,所述控制菜单是用户触发显示的待关闭的虚拟机后台运行的应用程序的信息产生的;
虚拟机关闭模块,用于关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机;
以及,虚拟机运行模块,用于当所述待关闭的虚拟机为第一虚拟机时,在所述虚拟机关闭模块关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机之后,前台运行所述第二虚拟机,或者前台运行所述第二虚拟机后台运行的应用程序。
在另一个方面,本发明实施例提供了一种电子设备,其特征在于,所述电子设备包括:
显示器,存储器,一个或多个处理器;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行任一前述方法中各个步骤的指令。
在另一个方面,本发明实施例提供了一种与包括显示器的电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行任一前述方法中各个步骤的指令。
本发明的有益效果如下:
本发明中通过第一虚拟机获取后台应用显示请求;确定第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;显示所述第一虚拟机后台运行的各应用程序的界面和所述第二虚拟机后台运行的各应用程序的界面。本发明提供了一种后台应用程序显示方法,使用户在当前运行的虚拟机环境下,能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序。
附图说明
下面将参照附图描述本发明的具体实施例,其中:
图1示出了本发明实施例一中后台应用程序显示方法的流程示意图;
图2示出了本发明实施例二中应用程序前台运行方法的流程示意图;
图3示出了本发明实施例三中应用程序关闭方法的流程示意图;
图4示出了本发明实施例四中虚拟机关闭方法的流程示意图;
图5a和5b示出了本发明实施例五中后台应用程序显示示意图;
图6a和6b示出了本发明实施例六中后台应用程序显示示意图;
图7a-7d示出了本发明实施例七中后台应用程序显示示意图;
图8示出了本发明实施例八中后台应用程序显示装置的结构示意图。
具体实施方式
为了使本发明的技术方案及优点更加清楚明白,以下结合附图对本发明的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本发明的一部分实施例,而不是所有实施例的穷举。并且在不冲突的情况下,本说明中的实施例及实施例中的特征可以互相结合。
发明人在发明过程中注意到:虚拟化架构中,在当前运行的虚拟机环境下,不能显示在其他后台运行的虚拟机环境中运行的应用程序的信息。
针对上述不足,本发明提供了一种后台应用程序显示方法,使用户在当前运行的虚拟机环境下,能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序。
为了便于本发明的实施,下面以实例进行说明。
实施例一:
图1示出了本发明实施例一中后台应用程序显示方法流程示意图,如图1所示,所述后台应用程序显示方法包括:
步骤101,通过第一虚拟机获取后台显示请求;
步骤102,确定所述第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;
步骤103显示所述第一虚拟机后台运行的各应用程序的信息和所述第二 虚拟机后台运行的各应用程序的信息。
在步骤101中,虚拟化系统架构中运行了多个虚拟机,至少包括第一虚拟机和第二虚拟机,也可能包含其他一个或多个虚拟机。当前第一虚拟机处于前台运行状态,所述前台运行状态表明所述第一虚拟机正在运行,并且设备的显示部件显示当前虚拟机的操作系统或者当前虚拟机环境下运行的应用程序的人机交互界面,所述界面用户可见。
虚拟化系统架构中的虚拟化层运行虚拟机监控器(缩写为VMM或称为Hypervisor),Hypervisor通过第一虚拟机获取后台显示请求,即通过用户与第一虚拟机的人际交互界面接收用户的显示后台应用程序的信息的请求。
在步骤102中,Hypervisor确定第一虚拟机各后台运行的各应用程序,同时确定虚拟化系统架构中后台运行的其他虚拟机环境中后台运行的应用程序。本实施例中,所述第二虚拟机为当前虚拟化系统架构中后台运行的虚拟机,即第二虚拟机的操作系统或者第二虚拟机环境下运行的各应用程序虽然在运行,但是其人机交互的相关服务程序被关闭了,因此其人机交互界面对用户不可见。
前台运行的第一虚拟机环境下的各应用程序可以是前台运行的也可能是后台运行的,但后台运行的第二虚拟机环境下的各应用程序均为后台运行的。
在步骤103中,Hypervisor从各虚拟机获取各虚拟机后台运行的应用程序的信息并进行显示,所述应用程序的信息可以包括应用程序的名称、图标、简介、典型界面和其最后一次进入后台运行时的界面中的一种或者几种的组合。
显示时各虚拟机的各应用程序的信息可以按照时间顺序排列,并以平铺或者层叠的形式进行显示,需要说明的是,全部应用程序的信息可能不能在一个界面中完全显示,例如以平铺方式显示时,显示屏幕仅能显示有限的4条或6条应用程序的信息,但用户可通过滚动屏幕或翻页的形式查看全部应用程序的信息;在层叠显示时在最上层的移动应用程序的信息可以相对放大 显示,下层的各移动应用程序的信息可相对缩小显示并部分被遮挡,但是用户可通过调整显示层次或切换显示层次等操作查看全部应用程序的信息。
需要说明的是,当用户在第一虚拟机环境下发起后台显示请求时,原前台运行的应用程序可能在显示各虚拟机的各应用程序的信息的同时变为后台应用程序,因此其信息也可以被显示,即步骤103中可能显示了第一虚拟机上运行的所有应用程序。
优选的,所述第一虚拟机后台运行的各应用程序的信息具有第一显示特征;所述第二虚拟机后台运行的各应用程序的信息具有与所述第一显示特征不同的第二显示特征。
为了在显示各应用程序的信息时,能够使用户明确分辨各应用程序所属的虚拟机,为属于不同虚拟机的应用程序的信息附加不同的显示特征。
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。
即不同虚拟机的应用程序的信息可以具有不同的颜色、不同的大小、不同的显示位置或者不同的标识,也可以同时具有多种不同的显示特征。
本提案中使用户在当前运行的虚拟机环境下,能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序,并通过各种不同的显示特征区别显示属于不同虚拟机的应用程序的信息,使用户能够方便的区分。
实施例二:
本实施例在上述实施例一的后台应用程序显示方法的基础上实施,与上述实施例一相似或重复之处可参照上述实施例一的描述。图2示出了本发明实施例二中应用程序前台运行方法的流程示意图,本实施例在实施例一的各步骤后,进一步增加了如下步骤:
步骤201,根据第一操作获取前台运行请求,所述第一操作为用户对显示的第一应用程序的信息执行的操作,所述第一应用程序是所述第二虚拟机后台运行的应用程序;
步骤202,前台运行所述第一应用程序。
本实施例中,用户能够对某个显示的后台运行的应用程序的信息进行某些操作,使操作指向的应用程序变为前台运行。所述操作可以为点击、双击某一应用程序的信息;或者向屏幕的固定点或固定边拖动所述应用程序的信息;也可以为通过触摸屏对所述应用程序的信息进行多点操作,例如两个触点向相反方向拖动扩大某一应用程序的信息;以及其他本领域技术人员知晓的,对某一对象进行操作并使其对应的应用程序能够前台运行的操作方式。根据前述操作获取步骤201中的前台运行请求。
当所述操作指向的应用程序是当前运行的第一虚拟机环境下后台运行的应用程序时,直接将所述应用程序变为前台运行。
当所述操作指向的应用程序是后台运行的第二虚拟机环境下后台运行的应用程序时,在步骤202前台运行所述第二虚拟机环境下后台运行的应用程序。在步骤202的具体执行过程中,可以直接将所述第二虚拟机环境下后台运行的应用程序变为前台运行,即当该应用程序前台运行并被关闭后,将回到第一虚拟机的操作环境下;也可以将前台运行的第一虚拟机变为后台运行,并将所述第二虚拟机变为前台运行,再前台运行所述第二虚拟机的应用程序,这种情况下,当该应用程序前台运行并被关闭后,将进入第二虚拟机的操作环境。
本实施例在使用户能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序的情况下,能够进一步使用户更方便的切换不同虚拟机环境下后台运行的应用程序。
实施例三:
本实施例在上述实施例一的后台应用程序显示方法的基础上实施,与上述实施例一相似或重复之处可参照上述实施例一的描述。图3示出了本发明实施例三中应用程序关闭方法的流程示意图,本实施例在实施例一的各步骤后,进一步增加了如下步骤:
步骤301,根据第二操作获取关闭请求,所述第二操作为用户对显示的第二应用程序的信息执行的操作,所述第二应用程序是所述第一虚拟机后台运行的应用程序或者所述第二应用程序是所述第二虚拟机后台运行的应用程序;
步骤302,关闭所述第二应用程序。
本实施例中,用户能够对某个显示的后台运行的应用程序的信息进行某些操作,以关闭所述操作指向的应用程序。所述操作可以为点击应用程序信息框的关闭按钮;或者将所述应用程序的信息拖动至屏幕边缘;以及其他本领域技术人员知晓的,对某一对象进行操作并使其对应的应用程序能够被关闭的操作方式。根据前述操作获取步骤301中的关闭请求。
在步骤302中,关闭所述关闭请求指向的后台运行的应用程序。在关闭某一后台运行的应用程序后,可以停留在各虚拟机后台运行的各应用程序的信息的显示界面,当各虚拟机所有后台运行的应用程序均被关闭后,可以回到当前运行的虚拟机,即第一虚拟机的操作系统界面。
本实施例在使用户能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序的情况下,能够进一步使用户更方便的关闭其他虚拟机环境下后台运行的应用程序。
实施例四:
本实施例在上述实施例一的后台应用程序显示方法的基础上实施,与上述实施例一相似或重复之处可参照上述实施例一的描述。图4示出了本发明实施例四中虚拟机关闭方法的流程示意图,本实施例在实施例一的各步骤后,进一步增加了如下步骤:
步骤401,根据第三操作获取虚拟机关闭请求;
所述第三操作为用户对显示的待关闭的虚拟机的两个或两个以上应用程序的信息执行的操作,或者,
所述第三操作为用户对显示区域执行的操作,所述显示区域用于显示待 关闭的虚拟机后台运行的应用程序的信息,或者,
所述第三操作为用户对控制菜单执行的操作,所述控制菜单是用户触发显示的待关闭的虚拟机后台运行的应用程序的信息产生的;
步骤402,关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机。
本实施例中,用户能够对某个显示的后台运行的应用程序的信息进行某些操作,以关闭所述操作指向的应用程序对应的虚拟机,即在批量关闭某一虚拟机环境下运行的后台应用程序的同时,关闭该虚拟机。所述操作可以为以下各种情况之一:
a)对显示的待关闭的虚拟机的两个或两个以上应用程序的信息执行的操作。
例如在移动设备具有触摸显示屏的情况下,用户可以以两点或者三点同时触摸属于同一虚拟机的多个应用程序的信息,并执行将两个或者三个同属于所述虚拟机的应用程序的信息拖动至屏幕边缘的操作;或者用户可以通过框选或多选两个或两个以上属于同一虚拟机的应用程序的信息,并输入删除(delete)信号等。
b)对显示区域执行的操作,所述显示区域用于显示待关闭的虚拟机后台运行的应用程序的信息。
例如当不同虚拟机后台运行的应用程序的信息在不同区域显示时,可对某一虚拟机对应的显示区域进行操作,例如点击所述区域的关闭按钮,或者拖动所述区域的关闭模块等。
c)对控制菜单执行的操作,所述控制菜单是用户触发显示的待关闭的虚拟机后台运行的应用程序的信息产生的。
例如对某一应用程序的信息进行长按或者右键点击的操作,触发显示菜单栏或菜单窗口,其中可包含“关闭所属虚拟机”的选项,之后单击或者双击该选项。
在步骤402中,关闭步骤401中指向关闭的虚拟机后台运行的各应用程序,并且关闭所述虚拟机。
步骤403,前台运行所述第二虚拟机,或者前台运行所述第二虚拟机后台运行的应用程序。
当前述步骤中所述待关闭的虚拟机为第一虚拟机时,关闭所述第一虚拟机后,还包括步骤403,前台运行第二虚拟机,即显示第二虚拟机的操作系统界面;或者,前台运行第二虚拟机后台运行的应用程序,显示所述第二虚拟机的应用程序的界面。
本实施例在使用户能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序的情况下,能够进一步使用户更方便的关闭当前前台运行的虚拟机或者后台运行的虚拟机。
实施例五:
图5a和5b示出了本发明实施例五中后台应用程序显示示意图。
以具有多个虚拟机的手机为例,当获取用户的后台显示请求后,屏幕显示的内容如图5a所示,当前手机中共运行了至少6个应用程序,各应用程序的信息层叠显示,其进入后台运行的时间距当前时间最近的应用程序APP1的信息显示在最上层,其显示面积也相对较大,应用程序APP2-APP5等的信息按照时间顺序依次显示在APP1的应用程序的信息后,可能部分被上层APP遮挡。用户可通过触摸屏滑动各应用程序的信息以显示下层的各应用程序的信息。
每个应用程序的信息包括标明应用程序名称APP1,APP2等的名称栏,和名称栏下方的应用程序界面显示框。其中名称栏中具有X状关闭按钮,界面显示框中为各应用程序进入后台运行前的显示界面的缩略图。并且在名称栏中还包括“VM1”或“VM2”的不同文字标识,即用户可通过不同的文字标识特征知晓各应用程序运行在哪个虚拟机环境下。
或者,当获取用户的后台显示请求后,屏幕显示的内容如图5b所示,其 应用程序的信息的显示方式与图5a相同,只是不同的虚拟机的应用程序的信息通过应用程序信息右上角的标识进行区别,运行于VM1的APP1和APP4具有具有特殊标识,但运行于VM2的APP2和APP3不具有所述标识。
在图5a或5b显示的基础上,用户均可以通过触摸屏点击某个应用程序信息右上角的X状关闭按钮关闭所述后台运行的应用程序,以及通过触摸屏点击某个应用程序的信息使其转换为上层显示或者直接将所述应用程序的信息对应的应用程序变为前台运行。
实施例六:
图6a和6b示出了本发明实施例六中后台应用程序显示示意图。
以具有多个虚拟机的手机为例,当获取用户的后台显示请求后,屏幕显示的内容如图6a所示,当前手机中共运行了至少6个应用程序,其中APP1、APP4和APP6为运行在当前前台运行的虚拟机上的应用程序,各应用程序的缩略界面以层叠方式显示在屏幕下部的前排;APP2,APP3和APP5运行在后台运行的另一虚拟机环境下,各应用程序的缩略界面以层叠方式显示在屏幕上部的后排,并且后台运行的虚拟机的应用程序的缩略界面的显示面积普遍小于前台运行的虚拟机的应用程序的缩略界面的显示面积,即不同虚拟机的应用程序的信息同时具有不同的大小特征和位置特征。虽然一些应用程序的缩略界面被部分遮挡,但是用户可通过触摸屏滑动前排或后排的应用程序的缩略图以查看各应用程序的信息。
在图6a显示的基础上,用户可以通过触摸屏点击某个应用程序信息右上角的X状关闭按钮关闭所述后台运行的应用程序,以及通过触摸屏点击某个应用程序的缩略界面使所述应用程序所属的虚拟机的各应用程序的缩略界面变为前排显示,或者使点击的应用程序的缩略界面转换为上层显示,或者也可以直接将所述应用程序变为前台运行。
并且,当某一虚拟机的各应用程序的缩略图已经显示最边缘的应用程序的缩略图时,对所述虚拟机的应用程序的缩略图的显示区域继续进行大幅的 滑动将能够关闭所述虚拟机上的所有应用程序,同时关闭所述虚拟机。如图6b所示,当后排应用程序已经显示最边缘的应用程序的缩略图时,若仍向左滑动所述区域,则将关闭APP2和APP3和APP5,同时关闭这些应用程序所属的虚拟机。当然用户还可以通过对不同虚拟机的显示区域进行其他操作以关闭所述虚拟机,例如长按后排应用程序缩略图显示区域空白处,待弹出关闭所述虚拟机的对话框后选择关闭所述区域对应的虚拟机的选项等(图中未示出)。
实施例七:
图7a、7b、7c和7d示出了本发明实施例七中后台应用程序显示示意图。
以具有多个虚拟机的手机为例,当获取用户的后台显示请求后,屏幕显示的内容如图7a所示,当前手机中共运行了至少6个应用程序,由于屏幕显示的限制未能完全显示各虚拟机后台运行的所有应用程序,但是用户可通过向下滑动屏幕获取全部应用程序的信息。各应用程序条目的左侧显示所述应用程序的图标,右侧显示应用程序的名称如“APP1”或“APP2”等,还可以显示各应用程序其他信息等。并且APP1、APP4和APP6运行在一个虚拟机上,APP2和APP3运行在另一虚拟机上,为各应用程序的条目填涂不同的颜色以使用户能够明确区分各应用程序所属的虚拟机。
如图7b所示,用户可将APP4的条目向右拖动至屏幕边缘以关闭所述APP4。
如图7c所示,用户可对运行在同一虚拟机上的两个应用程序的条目同时向右拖动至屏幕边缘以关闭被拖动的多个应用程序所述的虚拟机,和其上运行的各应用程序,即关闭APP1、APP4和APP5等所有应用程序条目为白色的应用程序,并关闭运行这些应用程序的虚拟机。
如图7d所示,用户还可以对某一应用程序条目,如APP4进行长按操作,在弹出的对话菜单中选择“关闭APP”的选项即可关闭所述APP4;在弹出的对话菜单中选择“关闭所属VM”的选项即可关闭APP1、APP4和APP5等所 有应用程序条目为白色的应用程序,并关闭运行这些应用程序的虚拟机。
实施例八:
基于同一发明构思,本发明实施例中还提供了一种后台应用程序显示装置,由于这些设备解决问题的原理与一种后台应用程序显示方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。图8示出了本发明实施例八中后台应用程序显示装置的结构示意图,如图所示,所述装置800包括:
后台请求模块801,用于通过第一虚拟机获取后台显示请求;
确定模块802,用于在所述后台请求模块801获取后台显示请求之后,确定所述第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;
显示模块803,用于显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息。
优选的,所述第一虚拟机后台运行的各应用程序的信息具有第一显示特征;
所述第二虚拟机后台运行的各应用程序的信息具有与所述第一显示特征不同的第二显示特征。
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。
优选的,所述装置800还包括:
前台请求模块804,用于在所述显示模块803显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第一操作获取前台运行请求,所述第一操作为用户对显示的第一应用程序的信息执行的操作,所述第一应用程序是所述第二虚拟机后台运行的应用程序;
前台运行模块805,用于前台运行所述第一应用程序。
优选的,所述装置800还包括:
应用关闭请求模块806,用于在所述显示模块803显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第二操作获取关闭请求,所述第二操作为用户对显示的第二应用程序的信息执行的操作,所述第二应用程序是所述第一虚拟机后台运行的应用程序或者所述第二应用程序是所述第二虚拟机后台运行的应用程序;
应用关闭模块807,用于关闭所述第二应用程序。
优选的,所述装置800还包括:
虚拟机关闭请求模块808,用于在所述显示模块803显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第三操作获取虚拟机关闭请求;
所述第三操作为用户对显示的待关闭的虚拟机的两个或两个以上应用程序的信息执行的操作,或者,
所述第三操作为用户对显示区域执行的操作,所述显示区域用于显示待关闭的虚拟机后台运行的应用程序的信息,或者,
所述第三操作为用户对控制菜单执行的操作,所述控制菜单是用户触发显示的待关闭的虚拟机后台运行的应用程序的信息产生的;
虚拟机关闭模块809,用于关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机;
以及,虚拟机运行模块810,用于当所述待关闭的虚拟机为第一虚拟机时,在所述虚拟机关闭模块809关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机之后,前台运行所述第二虚拟机,或者前台运行所述第二虚拟机后台运行的应用程序。
实施例九:
基于同一发明构思,本发明实施例中还提供了一种后台应用程序显示电子设备,由于其原理与一种后台应用程序显示方法相似,因此其实施可以参 见方法的实施,重复之处不再赘述。所述电子设备包括:
显示器,存储器,一个或多个处理器;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行任一前述方法中各个步骤的指令。
实施例十:
基于同一发明构思,本发明实施例还提供了一种与包括显示器的电子设备结合使用的后台应用程序显示计算机程序产品,由于其原理与一种后台应用程序显示方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行任一前述方法中各个步骤的指令。
为了描述的方便,以上所述装置的各部分以功能分为各种模块分别描述。当然,在实施本发明时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。

Claims (14)

  1. 一种后台应用程序显示方法,其特征在于,所述方法包括:
    通过第一虚拟机获取后台显示请求;
    确定所述第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;
    显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息。
  2. 如权利要求1所述的方法,其特征在于,
    所述第一虚拟机后台运行的各应用程序的信息具有第一显示特征;
    所述第二虚拟机后台运行的各应用程序的信息具有与所述第一显示特征不同的第二显示特征。
  3. 如权利要求2所述的方法,其特征在于,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。
  4. 如权利要求1至3中任一项权利要求所述的方法,其特征在于,在显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,还包括:
    根据第一操作获取前台运行请求,所述第一操作为用户对显示的第一应用程序的信息执行的操作,所述第一应用程序是所述第二虚拟机后台运行的应用程序;
    前台运行所述第一应用程序。
  5. 如权利要求1至3中任一项权利要求所述的方法,其特征在于,在显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,还包括:
    根据第二操作获取关闭请求,所述第二操作为用户对显示的第二应用程 序的信息执行的操作,所述第二应用程序是所述第一虚拟机后台运行的应用程序或者所述第二应用程序是所述第二虚拟机后台运行的应用程序;
    关闭所述第二应用程序。
  6. 如权利要求1至3中任一项权利要求所述的方法,其特征在于,在显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,还包括:
    根据第三操作获取虚拟机关闭请求;
    所述第三操作为用户对显示的待关闭的虚拟机的两个或两个以上应用程序的信息执行的操作,或者,
    所述第三操作为用户对显示区域执行的操作,所述显示区域用于显示待关闭的虚拟机后台运行的应用程序的信息,或者,
    所述第三操作为用户对控制菜单执行的操作,所述控制菜单是用户触发显示的待关闭的虚拟机后台运行的应用程序的信息产生的;
    关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机;
    以及,当所述待关闭的虚拟机为第一虚拟机时,在关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机之后,还包括,前台运行所述第二虚拟机,或者前台运行所述第二虚拟机后台运行的应用程序。
  7. 一种后台应用程序显示装置,其特征在于,所述装置包括:
    后台请求模块,用于通过第一虚拟机获取后台显示请求;
    确定模块,用于在所述后台请求模块获取后台显示请求之后,确定所述第一虚拟机后台运行的各应用程序;确定第二虚拟机后台运行的各应用程序,所述第二虚拟机为后台运行的虚拟机;
    显示模块,用于显示所述第一虚拟机后台运行的各应用程序的信息和所 述第二虚拟机后台运行的各应用程序的信息。
  8. 如权利要求7所述的装置,其特征在于,
    所述第一虚拟机后台运行的各应用程序的信息具有第一显示特征;
    所述第二虚拟机后台运行的各应用程序的信息具有与所述第一显示特征不同的第二显示特征。
  9. 如权利要求8所述的装置,其特征在于,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。
  10. 如权利要求7至9中任一项权利要求所述的装置,其特征在于,所述装置还包括:
    前台请求模块,用于在所述显示模块显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第一操作获取前台运行请求,所述第一操作为用户对显示的第一应用程序的信息执行的操作,所述第一应用程序是所述第二虚拟机后台运行的应用程序;
    前台运行模块,用于前台运行所述第一应用程序。
  11. 如权利要求7至9中任一项权利要求所述的装置,其特征在于,所述装置还包括:
    应用关闭请求模块,用于在所述显示模块显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第二操作获取关闭请求,所述第二操作为用户对显示的第二应用程序的信息执行的操作,所述第二应用程序是所述第一虚拟机后台运行的应用程序或者所述第二应用程序是所述第二虚拟机后台运行的应用程序;
    应用关闭模块,用于关闭所述第二应用程序。
  12. 如权利要求7至9中任一项权利要求所述的装置,其特征在于,所述装置还包括:
    虚拟机关闭请求模块,用于在所述显示模块显示所述第一虚拟机后台运行的各应用程序的信息和所述第二虚拟机后台运行的各应用程序的信息之后,根据第三操作获取虚拟机关闭请求;
    所述第三操作为用户对显示的待关闭的虚拟机的两个或两个以上应用程序的信息执行的操作,或者,
    所述第三操作为用户对显示区域执行的操作,所述显示区域用于显示待关闭的虚拟机后台运行的应用程序的信息,或者,
    所述第三操作为用户对控制菜单执行的操作,所述控制菜单是用户触发显示的待关闭的虚拟机后台运行的应用程序的信息产生的;
    虚拟机关闭模块,用于关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机;
    以及,虚拟机运行模块,用于当所述待关闭的虚拟机为第一虚拟机时,在所述虚拟机关闭模块关闭所述待关闭的虚拟机后台运行的各应用程序,并且关闭所述待关闭的虚拟机之后,前台运行所述第二虚拟机,或者前台运行所述第二虚拟机后台运行的应用程序。
  13. 一种电子设备,其特征在于,所述电子设备包括:
    显示器,存储器,一个或多个处理器;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行权利要求1-6中任一所述方法中各个步骤的指令。
  14. 一种与包括显示器的电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行权利要求1-6中任一所述方法中各个步骤的指令。
PCT/CN2016/083007 2016-05-23 2016-05-23 一种后台应用程序显示方法、装置、电子设备和计算机程序产品 WO2017201655A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680002706.9A CN106716364A (zh) 2016-05-23 2016-05-23 一种后台应用程序显示方法、装置、电子设备和计算机程序产品
PCT/CN2016/083007 WO2017201655A1 (zh) 2016-05-23 2016-05-23 一种后台应用程序显示方法、装置、电子设备和计算机程序产品

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/083007 WO2017201655A1 (zh) 2016-05-23 2016-05-23 一种后台应用程序显示方法、装置、电子设备和计算机程序产品

Publications (1)

Publication Number Publication Date
WO2017201655A1 true WO2017201655A1 (zh) 2017-11-30

Family

ID=58904012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083007 WO2017201655A1 (zh) 2016-05-23 2016-05-23 一种后台应用程序显示方法、装置、电子设备和计算机程序产品

Country Status (2)

Country Link
CN (1) CN106716364A (zh)
WO (1) WO2017201655A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020199089A1 (en) * 2019-04-01 2020-10-08 Citrix Systems, Inc. Unified application notification framework

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681480B (zh) * 2017-09-30 2020-02-11 Oppo广东移动通信有限公司 后台应用程序管控方法、装置、存储介质及电子设备
CN111176508A (zh) * 2019-12-27 2020-05-19 深圳集智数字科技有限公司 一种任务界面处理的方法和相关装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239142A (zh) * 2014-09-17 2014-12-24 宇龙计算机通信科技(深圳)有限公司 一种双系统的快捷切换方法、装置及终端
CN104267907A (zh) * 2014-09-29 2015-01-07 深圳酷派技术有限公司 多操作系统间应用程序的启动或切换方法、系统和终端
CN105487921A (zh) * 2015-11-23 2016-04-13 广州视睿电子科技有限公司 一种任务栈管理方法及装置
CN105573753A (zh) * 2015-12-11 2016-05-11 北京元心科技有限公司 多系统切换的方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201229910A (en) * 2011-01-14 2012-07-16 Hon Hai Prec Ind Co Ltd Method of activating application in virtual environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239142A (zh) * 2014-09-17 2014-12-24 宇龙计算机通信科技(深圳)有限公司 一种双系统的快捷切换方法、装置及终端
CN104267907A (zh) * 2014-09-29 2015-01-07 深圳酷派技术有限公司 多操作系统间应用程序的启动或切换方法、系统和终端
CN105487921A (zh) * 2015-11-23 2016-04-13 广州视睿电子科技有限公司 一种任务栈管理方法及装置
CN105573753A (zh) * 2015-12-11 2016-05-11 北京元心科技有限公司 多系统切换的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020199089A1 (en) * 2019-04-01 2020-10-08 Citrix Systems, Inc. Unified application notification framework
US11249785B2 (en) 2019-04-01 2022-02-15 Citrix Systems, Inc. Unified application notification framework

Also Published As

Publication number Publication date
CN106716364A (zh) 2017-05-24

Similar Documents

Publication Publication Date Title
US9588674B2 (en) Methods and systems for providing an automated split-screen user interface on a device
US7996787B2 (en) Plug-in architecture for window management and desktop compositing effects
US9542020B2 (en) Remote session control using multi-touch inputs
AU2014296339B2 (en) Multi-monitor full screen mode in a windowing environment
TWI515646B (zh) 擴展螢幕模式下之應用程式運作方法以及使用該方法的平板電腦
US20130263042A1 (en) Method And System To Manage Multiple Applications and Corresponding Display Status On A Computer System Having A Touch Panel Input Device
US20120167005A1 (en) Creating an immersive environment
CN104063128B (zh) 一种信息处理方法及电子设备
WO2018119905A1 (zh) 多系统移动终端的控制方法、控制装置及电子设备
US20140359538A1 (en) Systems and methods for moving display objects based on user gestures
CA2964175A1 (en) Heterogeneous application tabs
KR20160114745A (ko) 단일 사용자 인터페이스를 사용하여 복수의 애플리케이션과 상호작용하기 위한 방법 및 시스템
US20160231870A1 (en) Systems and methods for composite applications
WO2017201655A1 (zh) 一种后台应用程序显示方法、装置、电子设备和计算机程序产品
WO2017206136A1 (zh) 一种通知消息显示方法、装置、电子设备和计算机程序产品
WO2024103831A1 (zh) 一种桌面窗口显示方法、装置、终端及存储介质
US9542764B2 (en) Displaying contents of a file in different regions
CN106371715B (zh) 实现多条目切换的方法和装置
US9727292B1 (en) Desktop with active corners
WO2014023148A1 (zh) 一种电子设备及控制所述电子设备的方法及装置
EP2791773B1 (en) Remote display area including input lenses each depicting a region of a graphical user interface
EP3210101B1 (en) Hit-test to determine enablement of direct manipulations in response to user actions
US10019274B2 (en) Menu bar integration in desktop virtualization environments
EP3276474A1 (en) View port array of graphic user interface components
US9582158B2 (en) Efficient usage of screen real estate on an electronic device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16902645

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902645

Country of ref document: EP

Kind code of ref document: A1