WO2017206136A1 - Method and device for displaying notification message, electronic apparatus, and computer program product - Google Patents
Method and device for displaying notification message, electronic apparatus, and computer program product Download PDFInfo
- Publication number
- WO2017206136A1 WO2017206136A1 PCT/CN2016/084475 CN2016084475W WO2017206136A1 WO 2017206136 A1 WO2017206136 A1 WO 2017206136A1 CN 2016084475 W CN2016084475 W CN 2016084475W WO 2017206136 A1 WO2017206136 A1 WO 2017206136A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual machine
- notification message
- display
- application
- security level
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45587—Isolation or security of virtual machine instances
Definitions
- the present invention relates to the field of virtualization technologies, and in particular, to a notification message 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 a notification message of each application (application, APP) running in the current virtual machine operating environment in a virtual machine operating environment. For example, “receive a new short message” or "a missed call”, etc., the user can know the operation of the application according to the notification message, or switch to the interface of the corresponding application by clicking the notification message.
- the notification message of the application running in other virtual machine operating environments cannot be displayed in the currently running virtual machine. The user can view the application running in the virtual machine operating environment only after switching to the corresponding virtual machine operating environment. Notification message.
- the embodiment of the invention provides a method, a device, an electronic device and a computer program product for displaying a notification message, which can display a notification message of an application running in another virtual machine environment in a currently running virtual machine environment.
- an embodiment of the present invention provides a method for displaying a notification message, where The method described in 1/21 includes:
- the first notification message is displayed by the second virtual machine.
- the method further includes:
- the first notification message has a first display feature
- the second notification message has a second display feature that is 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 displaying, by the second virtual machine, the first notification message comprises: displaying the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
- the method before displaying the first notification message by using the second virtual machine, the method further includes:
- the method before displaying the first notification message by using the second virtual machine, the method further includes:
- the displaying the first notification message by using the second virtual machine includes: displaying the simplified first notification message by using the second virtual machine.
- the method further includes:
- the first application runs in the foreground.
- an embodiment of the present invention provides a notification message display apparatus, where the apparatus includes:
- An acquiring module configured to acquire a first notification message of the first application, where the first application runs on the first virtual machine
- a display module configured to display the first notification message by using the second virtual machine.
- the obtaining module is further configured to acquire a second notification message of the second application, where the second application runs on the second virtual machine;
- the display module is further configured to display the second notification message by using a second virtual machine
- the first notification message has a first display feature
- the second notification message has a second display feature that is 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 display module is configured to display the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
- the device further includes a determining module, configured to determine, before the display module displays the first notification message by using the second virtual machine, that the security level of the first virtual machine is lower than or equal to the second The security level of the virtual machine; or determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
- a determining module configured to determine, before the display module displays the first notification message by using the second virtual machine, that the security level of the first virtual machine is lower than or equal to the second The security level of the virtual machine; or determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
- the device further includes a determining module, configured to determine that the first virtual machine has a higher security level than the second virtual machine before the display module displays the first notification message by using the second virtual machine. a security level; or determining that the security level of the first application is higher than a security level of the second virtual machine;
- the display module is specifically configured to display the simplified first notification message by using the second virtual machine. 3/21
- the device further comprises:
- a requesting module configured to: after the display module displays the first notification message by using the second virtual machine, obtain a running request according to the triggering operation, where the triggering operation is performed by the user by using the second virtual machine to display the first notification message Operation
- an embodiment of the present invention provides an electronic device, including: a display, a memory, one or more processors; and one or more modules, the one or more A module is stored in the memory and configured to be executed by the one or more processors, the one or more modules including instructions for performing the various steps of any of the above 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 above methods.
- the present invention by acquiring the first notification message of the first application, the first application runs on the first virtual machine; and the first notification message is displayed by the second virtual machine.
- the present invention provides a notification message display method, which enables a user to obtain a notification message of an application running in another virtual machine environment in a currently running virtual machine environment, thereby improving user convenience.
- FIG. 1 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 1 of the present invention
- FIG. 2 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 2 of the present invention
- FIG. 3 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 3 of the present invention.
- FIG. 4 is a schematic flowchart of a method for running a foreground application in an embodiment of the present invention
- 5a and 5b are schematic diagrams showing the display of a notification message in Embodiment 5 of the present invention. 4/21
- FIG. 6a and 6b are schematic diagrams showing the display of a notification message in Embodiment 6 of the present invention.
- FIGS. 7a-7c are schematic diagrams showing the display of a notification message in Embodiment 7 of the present invention.
- FIG. 8 is a schematic structural diagram of a notification message display apparatus in Embodiment 8 of the present invention.
- the present invention provides a notification message display method, which enables a user to obtain a notification message of an application running in another virtual machine environment in a currently running virtual machine environment, thereby improving user convenience.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- FIG. 1 is a schematic flowchart of a method for displaying a notification message according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method for displaying a notification message includes:
- Step 101 Acquire a first notification message of the first application, where the first application runs on the first virtual machine.
- Step 102 Display the first notification message by using a second 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 may also include one or more other virtual machines; the virtualization layer operates in the virtualized system architecture.
- a virtual machine monitor (abbreviated as VMM or Hypervisor) that coordinates all physical devices and virtual machines in a virtualized fabric.
- the first virtual machine is a virtual machine running in the background in the current virtualization system architecture, that is, 5/21
- the operating system of the first virtual machine or the applications running in the first virtual machine environment are running, but the related service program of the human-computer interaction is closed, so the human-computer interaction interface is invisible to the user.
- the second virtual machine is currently in a foreground running state, the foreground running state indicates that the second virtual machine is running, and the display component of the device displays an operating system of the current second virtual machine or an application running in the current second virtual machine environment.
- the human-computer interaction interface of the program which is visible to the user.
- Each application running in the first virtual machine environment running in the background runs in the background.
- a notification message is generated.
- a notification message is obtained by the hypervisor.
- the notification message may be a notification message that the short message application receives the new short message, or a notification message that the mail application receives the new mail, or a notification message of the missed call newly recorded by the call application, or the browser application is downloaded, The updated notification message, or the notification message prompted by the alarm or various notification messages of various other applications known to those skilled in the art.
- the hypervisor displays the obtained notification message through the second virtual machine, and can send related information to the second virtual machine, and the second virtual machine displays the notification message; or the hypervisor can directly perform the display component.
- Display that is, display the notification message by displaying the display interface of the currently running second virtual machine.
- the display form may be displayed on the lock screen interface, and a prompt box is displayed when the notification message is acquired in the non-lock screen state, and is displayed in the notification bar or displayed on the dedicated notification message display interface when receiving the display command of the user. .
- the notification message may display: "You have a new SMS”, “You have a new email”, “You have a missed call” or "The conference is about to be held”, etc.
- the notification message may further include the notification message.
- a brief description of the notification content such as displaying the first line of text of a new message, displaying a summary of the new message, displaying the incoming caller of the missed call, or displaying the meeting place and the participant, or a notification message for other applications. related information.
- the user can obtain the notification message of the application running in another virtual machine environment in the currently running virtual machine environment, thereby improving the convenience of the user operation.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- FIG. 2 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 2 of the present invention, where the notification message display method includes:
- Step 201 Acquire a first notification message of the first application, where the first application runs on the first virtual machine.
- Step 202 Display the first notification message by using a second virtual machine, where the first notification message has a first display feature.
- Step 203 Acquire a second notification message of the second application, where the second application runs on the second virtual machine.
- Step 204 Display, by the second virtual machine, the second notification message, where the second notification message has a second display feature different from the first display feature.
- Step 201 and step 202 in this embodiment are similar to steps 101 and 102 in the first embodiment.
- each application in the second virtual machine environment running in the foreground may be running in the foreground or in the background, and usually the application running in the background encounters new data interaction and task execution update.
- a notification message that is, a second notification message, may be generated when other states change.
- the second notification message is obtained by the Hypervisor or the second virtual machine.
- the notification message may also be a notification message for receiving a new short message for the obtained short message application, or a notification message for receiving a new mail by the mail application, or a notification message of a missed call newly recorded by the call application, or a browser application.
- the hypervisor or the second virtual machine displays the obtained notification message through the second virtual machine.
- the display form may be displayed on the lock screen interface, and a prompt box is displayed when the notification message is acquired in the non-lock screen state, and is displayed in the notification bar or displayed on the dedicated notification message display interface when receiving the display command of the user. . 7/21
- the notification message may display: "You have a new message”, “You have a new message”, “You have a missed call” or "The meeting is going to be held”, etc.
- the notification message may further include the content of the prompt. Briefly, for example, the time of receiving the notification message, displaying the first line of text of the new message, displaying a summary of the new message, displaying the incoming caller of the missed call, or displaying the meeting place and the participant, or for other applications.
- the relevant content of the notification message may display: "You have a new message”, “You have a new message”, “You have a missed call” or "The meeting is going to be held”, etc.
- the notification message may further include the content of the prompt. Briefly, for example, the time of receiving the notification message, displaying the first line of text of the new message, displaying a summary of the new message, displaying the incoming caller of the missed call, or displaying the meeting place and the participant, or for other applications. The relevant content of the notification message.
- step 202 of the embodiment when the first notification message of the first application running by the first virtual machine is displayed, the first display feature is attached; and in step 204, the second application of the second application running by the second virtual machine is displayed.
- the second display feature is appended when the message is notified.
- the first display feature is different from the second display feature, so that the user can distinguish the virtual machine to which the application corresponding to each notification message belongs by using different display features.
- the sequence of the two steps of steps 201 and 202 and steps 203 and 204 is not limited, and the order of implementation may be determined according to the time of the notification message acquired by each virtual machine application.
- the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
- the notification messages of the applications 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.
- the displaying, by the second virtual machine, the first notification message comprises: displaying the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
- each notification message of the application running by the first virtual machine and the notification message of each application running by the second virtual machine When receiving the display command of the user, displaying, on the dedicated notification message display interface, each notification message of the application running by the first virtual machine and the notification message of each application running by the second virtual machine, so that the user can be in the same
- the interface also obtains notification messages of applications running by different virtual machines at the same time, which is convenient for the user to operate.
- the user can obtain the notification message of the application running in another virtual machine environment in the currently running virtual machine environment, thereby improving the convenience of the user operation; and the user can distinguish the notification messages according to different display features.
- Virtual machine and can notify each virtual machine 8/21 information is displayed on the same interface, making it easy for users to arrange work;
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- FIG. 3 is a schematic flowchart of a method for displaying a notification message according to Embodiment 3 of the present invention, where the notification message display method includes:
- Step 301 Acquire a first notification message of the first application, where the first application runs on the first virtual machine.
- Step 302 Determine whether the security level of the first virtual machine is higher than the security level of the second virtual machine; or determine whether the security level of the first application is higher than the security level of the second virtual machine. . If otherwise, step 303 is performed, and if yes, step 304 is performed.
- Step 303 Display the first notification message by using a second virtual machine.
- Step 304 Display the simplified first notification message by using the second virtual machine.
- Step 301 is implemented in the same manner as step 101.
- the hypervisor determines whether the security level of the first virtual machine is higher than the security level of the second virtual machine, or determines whether the security level of the first application is higher than the security level of the second virtual machine.
- the security level here is preset.
- a terminal device can run two virtual machines, an enterprise virtual machine and a personal virtual machine at the same time, wherein the enterprise virtual machine is dedicated to processing work-related content, and the personal virtual machine is dedicated to processing work-independent.
- the security level of the enterprise virtual machine is higher than the security level of the personal virtual machine; of course, the security level of the enterprise virtual machine and the personal virtual machine can be the same, that is, the common security level, but on the enterprise virtual machine Some applications that run, such as enterprise mailbox applications, involve confidential information, and you can preset these specific applications to have a higher security level than the normal security level.
- step 303 is performed to directly display the first notification message by using the second virtual machine.
- step 304 is performed, and the second virtual machine is displayed.
- the first notification message is simplified, that is, the complete notification message is not displayed, for example, the relevant brief description of the notification message is not displayed, or only the notification message is displayed without displaying any content of the notification message.
- the application of the virtual machine of the user with a higher security level or a higher-level security application may be inadvertently peeked out. some information.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- This embodiment is implemented on the basis of the notification message display methods of the first embodiment to the third embodiment.
- the similarities or repetitions of the first to third embodiments reference may be made to the descriptions of the first to third embodiments.
- 4 is a schematic flowchart of a method for running a foreground of an application in the fourth embodiment of the present invention. After the steps in any one of the first to third embodiments, the following steps are further added:
- the foreground runs the first application.
- the user can perform certain operations on the notification message of a displayed application, so that the application pointed to by the operation becomes an interface that is directed to the foreground or after the foreground operation enters the notification message.
- the operation may be clicking, double-clicking a notification message of an application; or dragging the notification message of the application to a fixed point or a fixed edge of the screen; or performing a notification message to the application through the touch screen.
- Point operations such as two contacts dragging in the opposite direction to expand a notification message for 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 run request in 10/21.
- the application pointed to by the operation is an application running in the background in the first virtual machine environment running in the background
- the application running in the background in the first virtual machine environment may be directly changed into a foreground operation, that is, when the application is After the program runs in the foreground and is closed, it will return to the operating environment of the second virtual machine; or the second virtual machine running in the foreground can be turned into a background operation, and the first virtual machine is turned into a foreground operation, and then the foreground is operated.
- the application of the first virtual machine in this case, when the application runs in the foreground and is closed, it will enter the operating environment of the first virtual machine.
- This embodiment enables the user to more conveniently view notification messages of applications running in other virtual machine environments running in the background, and can further enable the user to more conveniently switch to applications running in the background in different virtual machine environments.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- 5a and 5b are schematic diagrams showing the display of a notification message in Embodiment 5 of the present invention.
- the current foreground is running the operating system of the personal virtual machine
- the operating system of the enterprise virtual machine is running in the background
- FIG. 5a when the operating environment of the personal virtual machine running in the foreground is obtained.
- the SMS notification message is displayed in the form of the popup window above, and no logo is added when the display is displayed, and the popup window can disappear after 3 seconds.
- FIG. 5b after obtaining the notification message of the conference application in the enterprise virtual machine operating environment running in the background or the calendar application having the conference notification function, the conference can be displayed in the operating environment of the current personal virtual machine.
- the notification message, and the displayed notification message has a circular identifier, and the user can determine, according to the circular identifier, that the application corresponding to the notification message runs on the enterprise virtual machine.
- clicking the pop-up window can enter the corresponding application, that is, viewing a new short message or viewing the conference information.
- 6a and 6b are schematic diagrams showing the display of a notification message in Embodiment 6 of the present invention.
- the current foreground is running the operating system of the personal virtual machine
- the operating system of the enterprise virtual machine is running in the background, corresponding to the fifth embodiment, as shown in FIG. 6a.
- the short message window displays the short message notification message in the form of a pop-up window
- the pop-up window has a blue display feature, and the pop-up window can disappear after 3 seconds.
- the conference may be displayed in the operating environment of the current personal virtual machine.
- Notifying the message, and the displayed notification message has a white display feature, and the user can determine that the application corresponding to the notification message runs on the enterprise virtual machine according to the color of the popup; and because the security level of the enterprise virtual machine is higher than that of the personal virtual machine The security level, so the meeting reminder is only simplified, and the content such as the meeting time and location in the notification message is not displayed, so that the user currently using the mobile phone cannot peek into the information about the application in the enterprise virtual machine.
- clicking the pop-up window can enter the corresponding application, that is, viewing a new short message or viewing the conference information.
- FIGS. 7a-7c are schematic diagrams showing the display of a notification message in Embodiment 7 of the present invention.
- the current foreground is running the operating system of the personal virtual machine
- the operating system of the enterprise virtual machine is running in the background.
- a notification message display interface is displayed.
- the notification message in the enterprise virtual machine operating environment may be more important to the user, it is displayed in the upper part of the screen, with the area identified by the "Enterprise System", and because the enterprise virtual machine is more secure than the individual.
- the virtual machine so only the simplified notification message is displayed; the notification message in the personal virtual machine operating environment is displayed in the lower part of the screen, with the area identified by the "personal system", and a complete notification message is displayed.
- the notification messages displayed in the "Enterprise System” and “Personal System” areas can be further arranged in chronological order. After the 12/21 user clicks on the relevant item, they can enter the corresponding application. Through the interface shown in FIG. 7a, the user can obtain a notification message in a certain virtual machine operating environment more concentrated by displaying the distinction of the location area.
- FIG. 7b shows another schematic diagram of the notification message display interface.
- the notification messages of the enterprise virtual machine and the personal virtual machine in the mobile phone are sorted in chronological order, and the notification message closest to the current time is placed at the top.
- the notification message in the enterprise virtual machine operating environment has a blue display feature, and since the security level of the enterprise virtual machine is higher than the personal virtual machine, only the simplified notification message is displayed; the notification message in the personal virtual machine operating environment Has a white display feature and displays a full notification message.
- FIG. 7c is similar to FIG. 7b in that the notification message in the operating environment of different virtual machines is distinguished by a circular identifier instead of a color, and the time for receiving the notification message is added to each notification message.
- the user can have complete time dimension perception for each notification message, and on the other hand, it can easily distinguish the virtual machine to which the notification message belongs by using display features such as color or logo.
- FIG. 8 is a schematic structural diagram of a notification message display apparatus according to Embodiment 8 of the present invention. As shown in the figure, the apparatus 800 includes:
- the obtaining module 801 is configured to obtain a first notification message of the first application, where the first application runs on the first virtual machine;
- the display module 803 is configured to display the first notification message by using the second virtual machine.
- the obtaining module 801 is further configured to acquire a second notification message of the second application, where the second application is running in the second virtual machine;
- the display module 803 is further configured to display the second notification message by using the second virtual machine.
- the first notification message has a first display feature
- the second notification message has a The first display feature of the first display feature is 13/21.
- the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
- the display module 803 is specifically configured to display the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
- the device 800 further includes a determining module 802, configured to determine, before the displaying module 803 displays the first notification message by using the second virtual machine, that the security level of the first virtual machine is lower than or equal to the second The security level of the virtual machine; or determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
- a determining module 802 configured to determine, before the displaying module 803 displays the first notification message by using the second virtual machine, that the security level of the first virtual machine is lower than or equal to the second The security level of the virtual machine; or determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
- the device 800 further includes a determining module 802, configured to determine that the first virtual machine has a higher security level than the second virtual machine before the displaying module 803 displays the first notification message by using the second virtual machine. a security level; or determining that the security level of the first application is higher than a security level of the second virtual machine;
- the display module 803 is specifically configured to display the simplified first notification message by using the second virtual machine.
- the device 800 further includes:
- the requesting module 804 is configured to obtain, after the displaying module 803 displays the first notification message by using the second virtual machine, the running request according to the triggering operation, where the triggering operation is the first notification that the user displays through the second virtual machine pair The operation performed by the message;
- the running module 804 is configured to run the first application in the foreground.
- an embodiment of the present invention further provides a notification message display electronic device. Since the principle is similar to a notification message display method, the implementation of the method can be referred to the implementation of the method, and the repeated description is not repeated.
- the electronic device includes: a display, a memory, one or more 14/21 processors; and one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more The module includes instructions for performing the various steps in any of the above methods.
- an embodiment of the present invention further provides a notification message display computer program product for use in combination with an electronic device including a display. Since the principle is similar to a notification message display method, the implementation thereof can refer to the implementation of the method. , the repetition 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)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Provided are a method and device for displaying a notification message, an electronic apparatus, and a computer program product. The method comprises: acquiring a first notification message associated with a first application, the first application being executed in a first virtual machine (101); and displaying the first notification message by means of a second virtual machine (102). The method for displaying a notification message of the invention enables a user to acquire, in a virtual machine environment in which an application is currently executed, notification messages associated with applications executed in other virtual machine environments, thereby enhancing operation convenience for a user.
Description
本发明涉及虚拟化技术领域,特别涉及一种通知消息显示方法、装置、电子设备和计算机程序产品。The present invention relates to the field of virtualization technologies, and in particular, to a notification message display method, apparatus, electronic device, and computer program product.
现有技术中虚拟化技术允许多个操作系统或者虚拟机(VM)同时运行在电子设备上,用户可在一个电子设备上访问多个虚拟机的操作环境,并且根据需求切换不同的虚拟机操作环境。通过虚拟化技术带来的隔离性可实现单一终端上多个操作系统的隔离,避免各操作系统上的进程对其他操作系统产生不利影响,更加安全。In the prior art, 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.
现有技术中,在电子设备具有多个虚拟机操作环境的场景中,用户在一个虚拟机操作环境下可以显示运行于当前虚拟机操作环境下的各应用程序(application,APP)的通知消息,例如“收到一条新短消息”或者“一个未接电话”等,用户可根据通知消息知晓应用程序的运行情况,或者通过点击通知消息切换至相应的应用程序的界面进行操作。但是其他虚拟机操作环境中运行着的应用程序的通知消息将无法显示在当前运行的虚拟机中,用户只有切换到相应的虚拟机操作环境后才能查看所述虚拟机操作环境下运行的应用程序的通知消息。In the prior art, in a scenario where the electronic device has multiple virtual machine operating environments, the user can display a notification message of each application (application, APP) running in the current virtual machine operating environment in a virtual machine operating environment. For example, "receive a new short message" or "a missed call", etc., the user can know the operation of the application according to the notification message, or switch to the interface of the corresponding application by clicking the notification message. However, the notification message of the application running in other virtual machine operating environments cannot be displayed in the currently running virtual machine. The user can view the application running in the virtual machine operating environment only after switching to the corresponding virtual machine operating environment. Notification message.
发明内容Summary of the invention
本发明实施例提出了一种通知消息显示方法、装置、电子设备和计算机程序产品,能够在当前运行的虚拟机环境下,显示其他虚拟机环境下运行的应用程序的通知消息。The embodiment of the invention provides a method, a device, an electronic device and a computer program product for displaying a notification message, which can display a notification message of an application running in another virtual machine environment in a currently running virtual machine environment.
在一个方面,本发明实施例提供了一种通知消息显示方法,其特征在于,
1/21所述方法包括:In one aspect, an embodiment of the present invention provides a method for displaying a notification message, where
The method described in 1/21 includes:
获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;Obtaining a first notification message of the first application, where the first application runs on the first virtual machine;
通过第二虚拟机显示所述第一通知消息。The first notification message is displayed by the second virtual machine.
优选的,所述方法还包括:Preferably, the method further includes:
获取第二应用程序的第二通知消息,所述第二应用程序运行于所述第二虚拟机;Obtaining a second notification message of the second application, where the second application runs on the second virtual machine;
通过第二虚拟机显示所述第二通知消息;Displaying the second notification message by using the second virtual machine;
并且,所述第一通知消息具有第一显示特征,所述第二通知消息具有与所述第一显示特征不同的第二显示特征。And, the first notification message has a first display feature, and the second notification message has a second display feature that is different from the first display feature.
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。Preferably, the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
优选的,所述通过第二虚拟机显示所述第一通知消息,包括:通过第二虚拟机的通知消息显示界面显示所述第一通知消息和第二通知消息。Preferably, the displaying, by the second virtual machine, the first notification message comprises: displaying the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
优选的,在通过第二虚拟机显示所述第一通知消息之前,还包括:Preferably, before displaying the first notification message by using the second virtual machine, the method further includes:
确定所述第一虚拟机的安全级别低于或者等于所述第二虚拟机的安全级别;或者,Determining that the security level of the first virtual machine is lower than or equal to the security level of the second virtual machine; or
确定所述第一应用程序的安全级别低于或者等于所述第二虚拟机的安全级别。Determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
优选的,在通过第二虚拟机显示所述第一通知消息之前,还包括:Preferably, before displaying the first notification message by using the second virtual machine, the method further includes:
确定所述第一虚拟机的安全级别高于所述第二虚拟机的安全级别;或者,Determining that the security level of the first virtual machine is higher than the security level of the second virtual machine; or
确定所述第一应用程序的安全级别高于所述第二虚拟机的安全级别;Determining that the security level of the first application is higher than the security level of the second virtual machine;
所述通过第二虚拟机显示所述第一通知消息包括:通过第二虚拟机显示简化的所述第一通知消息。The displaying the first notification message by using the second virtual machine includes: displaying the simplified first notification message by using the second virtual machine.
优选的,在通过第二虚拟机显示所述第一通知消息之后,还包括:Preferably, after the displaying the first notification message by using the second virtual machine, the method further includes:
根据触发操作获取运行请求,所述触发操作为用户通过第二虚拟机对显
2/21示的第一通知消息执行的操作;Obtaining a running request according to the triggering operation, where the triggering operation is performed by the user through the second virtual machine
2/21 shows the operation performed by the first notification message;
前台运行所述第一应用程序。The first application runs in the foreground.
在另一个方面,本发明实施例提供了一种通知消息显示装置,其特征在于,所述装置包括:In another aspect, an embodiment of the present invention provides a notification message display apparatus, where the apparatus includes:
获取模块,用于获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;An acquiring module, configured to acquire a first notification message of the first application, where the first application runs on the first virtual machine;
显示模块,用于通过第二虚拟机显示所述第一通知消息。And a display module, configured to display the first notification message by using the second virtual machine.
优选的,Preferably,
所述获取模块,还用于获取第二应用程序的第二通知消息,所述第二应用程序运行于所述第二虚拟机;The obtaining module is further configured to acquire a second notification message of the second application, where the second application runs on the second virtual machine;
所述显示模块,还用于通过第二虚拟机显示所述第二通知消息;The display module is further configured to display the second notification message by using a second virtual machine;
并且,所述第一通知消息具有第一显示特征,所述第二通知消息具有与所述第一显示特征不同的第二显示特征。And, the first notification message has a first display feature, and the second notification message has a second display feature that is different from the first display feature.
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。Preferably, the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
优选的,所述显示模块,具体用于,通过第二虚拟机的通知消息显示界面显示所述第一通知消息和第二通知消息。Preferably, the display module is configured to display the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
优选的,所述装置还包括确定模块,用于在所述显示模块通过第二虚拟机显示所述第一通知消息之前,确定所述第一虚拟机的安全级别低于或者等于所述第二虚拟机的安全级别;或者,确定所述第一应用程序的安全级别低于或者等于所述第二虚拟机的安全级别。Preferably, the device further includes a determining module, configured to determine, before the display module displays the first notification message by using the second virtual machine, that the security level of the first virtual machine is lower than or equal to the second The security level of the virtual machine; or determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
优选的,所述装置还包括确定模块,用于在所述显示模块通过第二虚拟机显示所述第一通知消息之前,确定所述第一虚拟机的安全级别高于所述第二虚拟机的安全级别;或者,确定所述第一应用程序的安全级别高于所述第二虚拟机的安全级别;Preferably, the device further includes a determining module, configured to determine that the first virtual machine has a higher security level than the second virtual machine before the display module displays the first notification message by using the second virtual machine. a security level; or determining that the security level of the first application is higher than a security level of the second virtual machine;
所述显示模块,具体用于通过第二虚拟机显示简化的所述第一通知消息。
3/21The display module is specifically configured to display the simplified first notification message by using the second virtual machine.
3/21
优选的,所述装置还包括:Preferably, the device further comprises:
请求模块,用于在所述显示模块通过第二虚拟机显示所述第一通知消息之后,根据触发操作获取运行请求,所述触发操作为用户通过第二虚拟机对显示的第一通知消息执行的操作;a requesting module, configured to: after the display module displays the first notification message by using the second virtual machine, obtain a running request according to the triggering operation, where the triggering operation is performed by the user by using the second virtual machine to display the first notification message Operation
运行模块,用于前台运行所述第一应用程序。Running a module for running the first application in the foreground.
在另一个方面,本发明实施例提供了一种电子设备,其特征在于,所述电子设备包括:显示器,存储器,一个或多个处理器;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行任一上述方法中各个步骤的指令。In another aspect, an embodiment of the present invention provides an electronic device, including: a display, a memory, one or more processors; and one or more modules, the one or more A module is stored in the memory and configured to be executed by the one or more processors, the one or more modules including instructions for performing the various steps of any of the above methods.
在另一个方面,本发明实施例提供了一种与包括显示器的电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行任一上述方法中各个步骤的指令。In another aspect, 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 above methods.
本发明的有益效果如下:The beneficial effects of the present invention are as follows:
本发明中通过获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;通过第二虚拟机显示所述第一通知消息。本发明提供了一种通知消息显示方法,使用户在当前运行的虚拟机环境下,能够获取其他虚拟机环境下运行的应用程序的通知消息,提升了用户操作的便捷性。In the present invention, by acquiring the first notification message of the first application, the first application runs on the first virtual machine; and the first notification message is displayed by the second virtual machine. The present invention provides a notification message display method, which enables a user to obtain a notification message of an application running in another virtual machine environment in a currently running virtual machine environment, thereby improving user convenience.
下面将参照附图描述本发明的具体实施例,其中:Specific embodiments of the present invention will be described below with reference to the accompanying drawings, in which:
图1示出了本发明实施例一中通知消息显示方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 1 of the present invention;
图2示出了本发明实施例二中通知消息显示方法的流程示意图;FIG. 2 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 2 of the present invention;
图3示出了本发明实施例三中通知消息显示方法的流程示意图;FIG. 3 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 3 of the present invention;
图4示出了本发明实施例四中应用程序前台运行方法的流程示意图;4 is a schematic flowchart of a method for running a foreground application in an embodiment of the present invention;
图5a和5b示出了本发明实施例五中通知消息显示示意图;
4/215a and 5b are schematic diagrams showing the display of a notification message in Embodiment 5 of the present invention;
4/21
图6a和6b示出了本发明实施例六中通知消息显示示意图;6a and 6b are schematic diagrams showing the display of a notification message in Embodiment 6 of the present invention;
图7a-7c示出了本发明实施例七中通知消息显示示意图;7a-7c are schematic diagrams showing the display of a notification message in Embodiment 7 of the present invention;
图8示出了本发明实施例八中通知消息显示装置的结构示意图。FIG. 8 is a schematic structural diagram of a notification message display apparatus in Embodiment 8 of the present invention.
为了使本发明的技术方案及优点更加清楚明白,以下结合附图对本发明的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本发明的一部分实施例,而不是所有实施例的穷举。并且在不冲突的情况下,本说明中的实施例及实施例中的特征可以互相结合。The embodiments of the present invention are further described in detail with reference to the accompanying drawings, in which FIG. An exhaustive example. And in the case of no conflict, the features in the embodiments and the embodiments in the description can be combined with each other.
发明人在发明过程中注意到:虚拟化架构中,在当前运行的虚拟机环境下,不能显示其他虚拟机环境下运行的应用程序的通知消息,用户无法及时得到应用程序的通知,使用不便。The inventor noticed in the process of the invention that in the virtualized architecture, in the currently running virtual machine environment, the notification message of the application running in other virtual machine environments cannot be displayed, and the user cannot obtain the notification of the application in time, which is inconvenient to use.
针对上述不足,本发明提供了一种通知消息显示方法,使用户在当前运行的虚拟机环境下,能够获取其他虚拟机环境下运行的应用程序的通知消息,提升了用户操作的便捷性。In response to the above-mentioned deficiencies, the present invention provides a notification message display method, which enables a user to obtain a notification message of an application running in another virtual machine environment in a currently running virtual machine environment, thereby improving user convenience.
为了便于本发明的实施,下面以实例进行说明。In order to facilitate the implementation of the present invention, the following description will be made by way of examples.
实施例一:Embodiment 1:
图1示出了本发明实施例一中通知消息显示方法流程示意图,如图1所示,所述通知消息显示方法包括:FIG. 1 is a schematic flowchart of a method for displaying a notification message according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method for displaying a notification message includes:
步骤101,获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;Step 101: Acquire a first notification message of the first application, where the first application runs on the first virtual machine.
步骤102,通过第二虚拟机显示所述第一通知消息。Step 102: Display the first notification message by using a second virtual machine.
在步骤101中,虚拟化系统架构中运行了多个虚拟机,至少包括第一虚拟机和第二虚拟机,也可能包含其他一个或多个虚拟机;虚拟化系统架构中的虚拟化层运行虚拟机监控器(缩写为VMM或称为Hypervisor),用于协调虚拟化架构中的所有物理设备和虚拟机。In step 101, 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 may also include one or more other virtual machines; the virtualization layer operates in the virtualized system architecture. A virtual machine monitor (abbreviated as VMM or Hypervisor) that coordinates all physical devices and virtual machines in a virtualized fabric.
本实施例中第一虚拟机为当前虚拟化系统架构中后台运行的虚拟机,即
5/21第一虚拟机的操作系统或者第一虚拟机环境下运行的各应用程序虽然在运行,但是其人机交互的相关服务程序被关闭了,因此其人机交互界面对用户不可见。第二虚拟机当前处于前台运行状态,所述前台运行状态表明所述第二虚拟机正在运行,并且设备的显示部件显示当前第二虚拟机的操作系统或者当前第二虚拟机环境下运行的应用程序的人机交互界面,所述界面用户可见。In this embodiment, the first virtual machine is a virtual machine running in the background in the current virtualization system architecture, that is,
5/21 The operating system of the first virtual machine or the applications running in the first virtual machine environment are running, but the related service program of the human-computer interaction is closed, so the human-computer interaction interface is invisible to the user. The second virtual machine is currently in a foreground running state, the foreground running state indicates that the second virtual machine is running, and the display component of the device displays an operating system of the current second virtual machine or an application running in the current second virtual machine environment. The human-computer interaction interface of the program, which is visible to the user.
后台运行的第一虚拟机环境下的各应用程序均为后台运行的,当这些后台运行的应用程序在遇到新的数据交互、任务执行情况更新或者其他状态变化时会产生通知消息,即第一通知消息,Hypervisor获取所述第一通知消息。所述通知消息可以为短信应用接到新短信的通知消息,或者邮件应用程序接到新邮件的通知消息,或者通话应用程序新记录的未接来电的通知消息,或者浏览器应用程序下载完毕、更新完毕的通知消息,或者闹钟提示的通知消息或者本领域技术人员知晓的各种其他应用程序的各种通知消息。Each application running in the first virtual machine environment running in the background runs in the background. When these applications running in the background encounter new data interaction, task execution update or other state changes, a notification message is generated. A notification message is obtained by the hypervisor. The notification message may be a notification message that the short message application receives the new short message, or a notification message that the mail application receives the new mail, or a notification message of the missed call newly recorded by the call application, or the browser application is downloaded, The updated notification message, or the notification message prompted by the alarm or various notification messages of various other applications known to those skilled in the art.
步骤102中,Hypervisor将获取的通知消息通过第二虚拟机进行显示,可以将相关信息发送至第二虚拟机,由第二虚拟机对所述通知消息进行显示;或者Hypervisor可直接通过显示部件进行显示,即通过显示当前运行的第二虚拟机的显示界面对通知消息进行显示。显示形式可以是在锁屏界面显示,在非锁屏状态下获取到通知消息时弹出提示框进行显示,在通知栏提示或者在接收到用户的显示命令时在专用的通知消息显示界面进行显示等。In step 102, the hypervisor displays the obtained notification message through the second virtual machine, and can send related information to the second virtual machine, and the second virtual machine displays the notification message; or the hypervisor can directly perform the display component. Display, that is, display the notification message by displaying the display interface of the currently running second virtual machine. The display form may be displayed on the lock screen interface, and a prompt box is displayed when the notification message is acquired in the non-lock screen state, and is displayed in the notification bar or displayed on the dedicated notification message display interface when receiving the display command of the user. .
通知消息显示的内容可以为:“您有一条新短信”、“您有一封新邮件”、“您有一个未接来电”或者“会议即将举行”等,通知消息还可以进一步包括通知消息涉及的通知内容的简述,例如显示新短信的第一行文字,显示新邮件的摘要,显示未接来电的来电联系人,或者显示会议举办地点和参与人,也可以为其他应用程序的通知消息的相关内容。The notification message may display: "You have a new SMS", "You have a new email", "You have a missed call" or "The conference is about to be held", etc. The notification message may further include the notification message. A brief description of the notification content, such as displaying the first line of text of a new message, displaying a summary of the new message, displaying the incoming caller of the missed call, or displaying the meeting place and the participant, or a notification message for other applications. related information.
本实施例中用户在当前运行的虚拟机环境下,能够获取其他虚拟机环境下运行的应用程序的通知消息,提升了用户操作的便捷性。
6/21In this embodiment, the user can obtain the notification message of the application running in another virtual machine environment in the currently running virtual machine environment, thereby improving the convenience of the user operation.
6/21
实施例二:Embodiment 2:
本实施例在上述实施例一的通知消息显示方法的基础上实施,与上述实施例一相似或重复之处可参照上述实施例一的描述。图2示出了本发明实施例二中通知消息显示方法的流程示意图,所述通知消息显示方法包括:This embodiment is implemented on the basis of the method for displaying the notification message in the first embodiment. For the similarities or repetitions of the first embodiment, reference may be made to the description of the first embodiment. FIG. 2 is a schematic flowchart diagram of a method for displaying a notification message according to Embodiment 2 of the present invention, where the notification message display method includes:
步骤201,获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;Step 201: Acquire a first notification message of the first application, where the first application runs on the first virtual machine.
步骤202,通过第二虚拟机显示所述第一通知消息,所述第一通知消息具有第一显示特征;Step 202: Display the first notification message by using a second virtual machine, where the first notification message has a first display feature.
步骤203,获取第二应用程序的第二通知消息,所述第二应用程序运行于所述第二虚拟机;Step 203: Acquire a second notification message of the second application, where the second application runs on the second virtual machine.
步骤204,通过第二虚拟机显示所述第二通知消息,所述第二通知消息具有与所述第一显示特征不同的第二显示特征。Step 204: Display, by the second virtual machine, the second notification message, where the second notification message has a second display feature different from the first display feature.
本实施例中的步骤201和步骤202与上述实施例一中的步骤101和步骤102实施相似。Step 201 and step 202 in this embodiment are similar to steps 101 and 102 in the first embodiment.
在步骤203中,前台运行的第二虚拟机环境下的各应用程序可以是前台运行的也可能是后台运行的,通常其中的后台运行的应用程序在遇到新的数据交互、任务执行情况更新或者其他状态变化时会产生通知消息,即第二通知消息。Hypervisor或者第二虚拟机获取所述第二通知消息。所述通知消息同样可以为获取的短信应用接到新短信的通知消息,或者邮件应用程序接到新邮件的通知消息,或者通话应用程序新记录的未接来电的通知消息,或者浏览器应用程序下载完毕、更新完毕的通知消息,或者闹钟提示的通知消息或者本领域技术人员知晓的各种其他应用程序的各种通知消息。In step 203, each application in the second virtual machine environment running in the foreground may be running in the foreground or in the background, and usually the application running in the background encounters new data interaction and task execution update. Or a notification message, that is, a second notification message, may be generated when other states change. The second notification message is obtained by the Hypervisor or the second virtual machine. The notification message may also be a notification message for receiving a new short message for the obtained short message application, or a notification message for receiving a new mail by the mail application, or a notification message of a missed call newly recorded by the call application, or a browser application. The downloaded, updated notification message, or the alert message prompted by the alarm or various notification messages of various other applications known to those skilled in the art.
步骤204中,Hypervisor或者第二虚拟机将获取的通知消息通过第二虚拟机进行显示。显示形式可以是在锁屏界面显示,在非锁屏状态下获取到通知消息时弹出提示框进行显示,在通知栏提示或者在接收到用户的显示命令时在专用的通知消息显示界面进行显示等。
7/21In step 204, the hypervisor or the second virtual machine displays the obtained notification message through the second virtual machine. The display form may be displayed on the lock screen interface, and a prompt box is displayed when the notification message is acquired in the non-lock screen state, and is displayed in the notification bar or displayed on the dedicated notification message display interface when receiving the display command of the user. .
7/21
通知消息显示的内容可以为:“您有一条新短信”、“您有一封新邮件”、“您有一个未接来电”或者“会议即将举行”等,通知消息还可以进一步包括其提示内容的简述,例如接收通知消息的时间、显示新短信的第一行文字,显示新邮件的摘要,显示未接来电的来电联系人,或者显示会议举办地点和参与人,也可以为其他应用程序的通知消息的相关内容。The notification message may display: "You have a new message", "You have a new message", "You have a missed call" or "The meeting is going to be held", etc. The notification message may further include the content of the prompt. Briefly, for example, the time of receiving the notification message, displaying the first line of text of the new message, displaying a summary of the new message, displaying the incoming caller of the missed call, or displaying the meeting place and the participant, or for other applications. The relevant content of the notification message.
并且在本实施例中的步骤202显示第一虚拟机运行的第一应用程序的第一通知消息时,附加第一显示特征;在步骤204显示第二虚拟机运行的第二应用程序的第二通知消息时,附加第二显示特征。所述第一显示特征与所述第二显示特征不同,使用户能够通过不同的显示特征分辨各通知消息对应的应用程序所属的虚拟机。And in step 202 of the embodiment, when the first notification message of the first application running by the first virtual machine is displayed, the first display feature is attached; and in step 204, the second application of the second application running by the second virtual machine is displayed. The second display feature is appended when the message is notified. The first display feature is different from the second display feature, so that the user can distinguish the virtual machine to which the application corresponding to each notification message belongs by using different display features.
需要说明的是,本实施例不限定步骤201和202与步骤203和204两组步骤的先后顺序,其实现顺序可随着各虚拟机应用程序获取的通知消息的时间确定。It should be noted that, in this embodiment, the sequence of the two steps of steps 201 and 202 and steps 203 and 204 is not limited, and the order of implementation may be determined according to the time of the notification message acquired by each virtual machine application.
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。Preferably, the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
即不同虚拟机的应用程序的通知消息可以具有不同的颜色、不同的大小、不同的显示位置或者不同的标识,也可以同时具有多种不同的显示特征。That is, the notification messages of the applications 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.
优选的,所述通过第二虚拟机显示所述第一通知消息,包括:通过第二虚拟机的通知消息显示界面显示所述第一通知消息和第二通知消息。Preferably, the displaying, by the second virtual machine, the first notification message comprises: displaying the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
在接收到用户的显示命令时在专用的通知消息显示界面显示第一虚拟机运行的应用程序的各通知消息和第二虚拟机运行的各应用程序的各通知消息的标识,使用户能够在同一界面同时获取不同虚拟机运行的应用程序的通知消息,便于用户操作。When receiving the display command of the user, displaying, on the dedicated notification message display interface, each notification message of the application running by the first virtual machine and the notification message of each application running by the second virtual machine, so that the user can be in the same The interface also obtains notification messages of applications running by different virtual machines at the same time, which is convenient for the user to operate.
本实施例中用户在当前运行的虚拟机环境下,能够获取其他虚拟机环境下运行的应用程序的通知消息,提升了用户操作的便捷性;同时用户可基于不同的显示特征区分各通知消息对应的虚拟机;并且可将各虚拟机的通知消
8/21息显示在同一界面,使用户便于安排工作;In this embodiment, the user can obtain the notification message of the application running in another virtual machine environment in the currently running virtual machine environment, thereby improving the convenience of the user operation; and the user can distinguish the notification messages according to different display features. Virtual machine; and can notify each virtual machine
8/21 information is displayed on the same interface, making it easy for users to arrange work;
实施例三:Embodiment 3:
本实施例在上述实施例一或二的通知消息显示方法的基础上实施,与上述实施例一或二相似或重复之处可参照上述实施例一或二的描述。图3示出了本发明实施例三中通知消息显示方法的流程示意图,所述通知消息显示方法包括:This embodiment is implemented on the basis of the notification message display method of the first embodiment or the second embodiment. For the similarity or repetition of the first embodiment or the second embodiment, reference may be made to the description of the first embodiment or the second embodiment. FIG. 3 is a schematic flowchart of a method for displaying a notification message according to Embodiment 3 of the present invention, where the notification message display method includes:
步骤301,获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;Step 301: Acquire a first notification message of the first application, where the first application runs on the first virtual machine.
步骤302,判断所述第一虚拟机的安全级别是否高于所述第二虚拟机的安全级别;或者,判断所述第一应用程序的安全级别是否高于所述第二虚拟机的安全级别。若否则执行步骤303,若是则执行步骤304。Step 302: Determine whether the security level of the first virtual machine is higher than the security level of the second virtual machine; or determine whether the security level of the first application is higher than the security level of the second virtual machine. . If otherwise, step 303 is performed, and if yes, step 304 is performed.
步骤303,通过第二虚拟机显示所述第一通知消息。Step 303: Display the first notification message by using a second virtual machine.
步骤304,通过第二虚拟机显示简化的所述第一通知消息。Step 304: Display the simplified first notification message by using the second virtual machine.
步骤301与步骤101的实现方式相同。Step 301 is implemented in the same manner as step 101.
在步骤302中,Hypervisor判断第一虚拟机的安全级别是否高于第二虚拟机的安全级别,或者判断第一应用程序的安全级别是否高于第二虚拟机的安全级别。这里的安全级别是预设的,例如一个终端设备可同时运行两个虚拟机,企业虚拟机和个人虚拟机,其中企业虚拟机专用于处理工作相关的内容,个人虚拟机专用于处理工作无关的内容,则可以预先设定企业虚拟机的安全级别高于个人虚拟机的安全级别;当然企业虚拟机与个人虚拟机的安全级别也可以是相同的,即普通的安全级别,但是企业虚拟机上运行的某些应用程序,例如企业邮箱的应用程序涉及保密信息,则可预设这些特定应用程序的安全级别高于普通安全级别。In step 302, the hypervisor determines whether the security level of the first virtual machine is higher than the security level of the second virtual machine, or determines whether the security level of the first application is higher than the security level of the second virtual machine. The security level here is preset. For example, a terminal device can run two virtual machines, an enterprise virtual machine and a personal virtual machine at the same time, wherein the enterprise virtual machine is dedicated to processing work-related content, and the personal virtual machine is dedicated to processing work-independent. Content, you can pre-set the security level of the enterprise virtual machine is higher than the security level of the personal virtual machine; of course, the security level of the enterprise virtual machine and the personal virtual machine can be the same, that is, the common security level, but on the enterprise virtual machine Some applications that run, such as enterprise mailbox applications, involve confidential information, and you can preset these specific applications to have a higher security level than the normal security level.
当判断后台运行的第一虚拟机或者运行在第一虚拟机上的后台运行的第一应用程序的安全级别不高于当前运行的虚拟机的安全级别时,即第一虚拟
9/21机的安全级别或者第一应用程序的安全级别低于或等于当前运行的虚拟机的安全级别时,执行步骤303,直接通过第二虚拟机显示所述第一通知消息。When it is determined that the first virtual machine running in the background or the first application running in the background running on the first virtual machine has a security level not higher than a security level of the currently running virtual machine, that is, the first virtual
When the security level of the 9/21 machine or the security level of the first application is lower than or equal to the security level of the currently running virtual machine, step 303 is performed to directly display the first notification message by using the second virtual machine.
当判断后台运行的第一虚拟机或者运行在第一虚拟机上的后台运行的第一应用程序的安全级别高于当前运行的虚拟机的安全级别时,执行步骤304,通过第二虚拟机显示简化所述第一通知消息,即不显示完全的通知消息,例如不显示通知消息的相关简述,或者不显示通知消息的任何内容而仅显示有通知消息。When it is determined that the first virtual machine running in the background or the first application running in the background running on the first virtual machine has a higher security level than the currently running virtual machine, step 304 is performed, and the second virtual machine is displayed. The first notification message is simplified, that is, the complete notification message is not displayed, for example, the relevant brief description of the notification message is not displayed, or only the notification message is displayed without displaying any content of the notification message.
本实施例可以避免他人在使用该用户的设备具有较低安全级别的虚拟机中的应用程序时,会不经意的窥见用户较高安全级别的虚拟机的应用程序或者较高级安全别的应用程序的一些信息。In this embodiment, when an application in a virtual machine with a lower security level of the device of the user is used, the application of the virtual machine of the user with a higher security level or a higher-level security application may be inadvertently peeked out. some information.
实施例四:Embodiment 4:
本实施例在上述实施例一至实施例三的通知消息显示方法的基础上实施,与上述实施例一至三相似或重复之处可参照上述实施例一至三的描述。图4示出了本发明实施例四中应用程序前台运行方法的流程示意图,本实施例在实施例一至三中任一实施例的各步骤后,进一步增加了如下步骤:This embodiment is implemented on the basis of the notification message display methods of the first embodiment to the third embodiment. For the similarities or repetitions of the first to third embodiments, reference may be made to the descriptions of the first to third embodiments. 4 is a schematic flowchart of a method for running a foreground of an application in the fourth embodiment of the present invention. After the steps in any one of the first to third embodiments, the following steps are further added:
401,根据触发操作获取运行请求,所述触发操作为用户通过第二虚拟机对显示的第一通知消息执行的操作;401. Acquire a running request according to the triggering operation, where the triggering operation is an operation performed by the user on the displayed first notification message by using the second virtual machine.
402,前台运行所述第一应用程序。402. The foreground runs the first application.
本实施例中,用户能够对某个显示的应用程序的通知消息进行某些操作,使操作指向的应用程序变为前台运行或者前台运行后进入通知消息指向的界面。所述操作可以为点击、双击某一应用程序的通知消息;或者向屏幕的固定点或固定边拖动所述应用程序的通知消息;也可以为通过触摸屏对所述应用程序的通知消息进行多点操作,例如两个触点向相反方向拖动扩大某一应用程序的通知消息;以及其他本领域技术人员知晓的,对某一对象进行操作并使其对应的应用程序能够前台运行的操作方式。根据前述操作获取步骤401
10/21中的前台运行请求。In this embodiment, the user can perform certain operations on the notification message of a displayed application, so that the application pointed to by the operation becomes an interface that is directed to the foreground or after the foreground operation enters the notification message. The operation may be clicking, double-clicking a notification message of an application; or dragging the notification message of the application to a fixed point or a fixed edge of the screen; or performing a notification message to the application through the touch screen. Point operations, such as two contacts dragging in the opposite direction to expand a notification message for 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 . Obtain step 401 according to the foregoing operation.
The foreground run request in 10/21.
当所述操作指向的应用程序是当前运行的第二虚拟机环境下后台运行的应用程序时,直接将所述应用程序变为前台运行。When the application pointed to by the operation is an application running in the background in the currently running second virtual machine environment, the application is directly turned into the foreground.
当所述操作指向的应用程序是后台运行的第一虚拟机环境下后台运行的应用程序时,可以直接将所述第一虚拟机环境下后台运行的应用程序变为前台运行,即当该应用程序前台运行并被关闭后,将回到第二虚拟机的操作环境下;也可以将前台运行的第二虚拟机变为后台运行,并将所述第一虚拟机变为前台运行,再前台运行所述第一虚拟机的应用程序,这种情况下,当该应用程序前台运行并被关闭后,将进入第一虚拟机的操作环境。When the application pointed to by the operation is an application running in the background in the first virtual machine environment running in the background, the application running in the background in the first virtual machine environment may be directly changed into a foreground operation, that is, when the application is After the program runs in the foreground and is closed, it will return to the operating environment of the second virtual machine; or the second virtual machine running in the foreground can be turned into a background operation, and the first virtual machine is turned into a foreground operation, and then the foreground is operated. The application of the first virtual machine, in this case, when the application runs in the foreground and is closed, it will enter the operating environment of the first virtual machine.
本实施例在使用户能够更方便的查看在其他后台运行的虚拟机环境中运行的应用程序的通知消息,并且能够进一步使用户更方便的切换至不同虚拟机环境下后台运行的应用程序。This embodiment enables the user to more conveniently view notification messages of applications running in other virtual machine environments running in the background, and can further enable the user to more conveniently switch to applications running in the background in different virtual machine environments.
实施例五:Embodiment 5:
图5a和5b示出了本发明实施例五中通知消息显示示意图。5a and 5b are schematic diagrams showing the display of a notification message in Embodiment 5 of the present invention.
以具有多个虚拟机的手机为例,当前前台运行的是个人虚拟机的操作系统,后台运行了企业虚拟机的操作系统,如图5a所示,当获取前台运行的个人虚拟机操作环境下运行的短信应用程序的通知消息后,以上边栏弹窗的形式显示该短信通知消息,并且显示时不添加任何标识,弹窗可在3秒后消失。如图5b所示,当获取后台运行的企业虚拟机操作环境下的会议应用程序或者具有会议通知功能的日历应用程序的通知消息后,可在当前的个人虚拟机的操作环境下显示该会议的通知消息,并且显示的通知消息具有圆形标识,用户能够根据所述圆形标识确定所述通知消息对应的应用程序运行于企业虚拟机。Taking a mobile phone with multiple virtual machines as an example, the current foreground is running the operating system of the personal virtual machine, and the operating system of the enterprise virtual machine is running in the background, as shown in FIG. 5a, when the operating environment of the personal virtual machine running in the foreground is obtained. After the notification message of the running SMS application, the SMS notification message is displayed in the form of the popup window above, and no logo is added when the display is displayed, and the popup window can disappear after 3 seconds. As shown in FIG. 5b, after obtaining the notification message of the conference application in the enterprise virtual machine operating environment running in the background or the calendar application having the conference notification function, the conference can be displayed in the operating environment of the current personal virtual machine. The notification message, and the displayed notification message has a circular identifier, and the user can determine, according to the circular identifier, that the application corresponding to the notification message runs on the enterprise virtual machine.
本实施例中,在有弹窗弹出时点击弹窗则可以进入相应的应用程序中,即查看新短信或者查看会议信息。
11/21In this embodiment, when the pop-up window pops up, clicking the pop-up window can enter the corresponding application, that is, viewing a new short message or viewing the conference information.
11/21
实施例六:Example 6:
图6a和6b示出了本发明实施例六中通知消息显示示意图。6a and 6b are schematic diagrams showing the display of a notification message in Embodiment 6 of the present invention.
以具有多个虚拟机的手机为例,当前前台运行的是个人虚拟机的操作系统,后台运行了企业虚拟机的操作系统,与实施例五中相对应的,如图6a所示,当获取前台运行的个人虚拟机操作环境下运行的短信应用程序的通知消息后,以上边栏弹窗的形式显示该短信通知消息,并且弹窗具有蓝色的显示特征,弹窗可在3秒后消失。如图6b所述,当获取后台运行的企业虚拟机操作环境下的会议应用程序或者具有会议通知功能的日历应用程序的通知消息后,可在当前的个人虚拟机的操作环境下显示该会议的通知消息,并且显示的通知消息具有白色的显示特征,用户能够根据弹窗的颜色确定所述通知消息对应的应用程序运行于企业虚拟机;并且由于企业虚拟机的安全级别高于个人虚拟机的安全级别,因此仅简化的显示了会议提醒,而并未将通知消息中如会议时间和地点等内容全部显示,使当前使用该手机的用户不能窥见企业虚拟机中应用程序的相关信息。Taking a mobile phone with multiple virtual machines as an example, the current foreground is running the operating system of the personal virtual machine, and the operating system of the enterprise virtual machine is running in the background, corresponding to the fifth embodiment, as shown in FIG. 6a. After the notification message of the short message application running in the personal virtual machine operating environment running in the foreground, the short message window displays the short message notification message in the form of a pop-up window, and the pop-up window has a blue display feature, and the pop-up window can disappear after 3 seconds. As shown in FIG. 6b, after obtaining the notification message of the conference application in the enterprise virtual machine operating environment running in the background or the calendar application having the conference notification function, the conference may be displayed in the operating environment of the current personal virtual machine. Notifying the message, and the displayed notification message has a white display feature, and the user can determine that the application corresponding to the notification message runs on the enterprise virtual machine according to the color of the popup; and because the security level of the enterprise virtual machine is higher than that of the personal virtual machine The security level, so the meeting reminder is only simplified, and the content such as the meeting time and location in the notification message is not displayed, so that the user currently using the mobile phone cannot peek into the information about the application in the enterprise virtual machine.
本实施例中,在有弹窗弹出时点击弹窗则可以进入相应的应用程序中,即查看新短信或者查看会议信息。In this embodiment, when the pop-up window pops up, clicking the pop-up window can enter the corresponding application, that is, viewing a new short message or viewing the conference information.
实施例七:Example 7:
图7a-7c示出了本发明实施例七中通知消息显示示意图。7a-7c are schematic diagrams showing the display of a notification message in Embodiment 7 of the present invention.
以具有多个虚拟机的手机为例,当前前台运行的是个人虚拟机的操作系统,后台运行了企业虚拟机的操作系统,当用户由屏幕上部开始向下滑动时会显示通知消息显示界面,如图7a所示,因为企业虚拟机操作环境下的通知消息可能对用户更加重要,因此将其显示在屏幕上部,具有“企业系统”标识的区域,并且由于企业虚拟机的安全级别高于个人虚拟机,所以仅显示了简化后的通知消息;个人虚拟机操作环境下的通知消息显示在屏幕下部,具有“个人系统”标识的区域,并且显示了完全的通知消息。在“企业系统”和“个人系统”区域中显示的通知消息,可以进一步按照时间先后顺序排列。
12/21用户点击了相关条目后,可以进入相应的应用程序中。通过图7a所示的界面,用户能够通过显示位置区域的区分,更集中的获取到某一虚拟机操作环境下的通知消息。Taking a mobile phone with multiple virtual machines as an example, the current foreground is running the operating system of the personal virtual machine, and the operating system of the enterprise virtual machine is running in the background. When the user starts to slide down from the upper part of the screen, a notification message display interface is displayed. As shown in Figure 7a, because the notification message in the enterprise virtual machine operating environment may be more important to the user, it is displayed in the upper part of the screen, with the area identified by the "Enterprise System", and because the enterprise virtual machine is more secure than the individual. The virtual machine, so only the simplified notification message is displayed; the notification message in the personal virtual machine operating environment is displayed in the lower part of the screen, with the area identified by the "personal system", and a complete notification message is displayed. The notification messages displayed in the "Enterprise System" and "Personal System" areas can be further arranged in chronological order.
After the 12/21 user clicks on the relevant item, they can enter the corresponding application. Through the interface shown in FIG. 7a, the user can obtain a notification message in a certain virtual machine operating environment more concentrated by displaying the distinction of the location area.
图7b示出了另一种通知消息显示界面示意图,如图7b所示,将手机中企业虚拟机和个人虚拟机的通知消息按照时间顺序排序,距当前时刻最近的通知消息置于最上方。其中企业虚拟机操作环境下的通知消息具有蓝色的显示特征,并且由于企业虚拟机的安全级别高于个人虚拟机,所以仅显示了简化后的通知消息;个人虚拟机操作环境下的通知消息具有白色的显示特征,并且显示了完全的通知消息。图7c与图7b相似,以圆形标识区分不同虚拟机的操作环境下的通知消息,而非颜色,并且在各通知消息中加入了接收通知消息的时间。通过图7b和7c所示的界面,一方面用户能够对各通知消息具有完整的时间维度感知,另一方面能够容易的通过颜色或者标识等显示特征区分通知消息所属的虚拟机。FIG. 7b shows another schematic diagram of the notification message display interface. As shown in FIG. 7b, the notification messages of the enterprise virtual machine and the personal virtual machine in the mobile phone are sorted in chronological order, and the notification message closest to the current time is placed at the top. The notification message in the enterprise virtual machine operating environment has a blue display feature, and since the security level of the enterprise virtual machine is higher than the personal virtual machine, only the simplified notification message is displayed; the notification message in the personal virtual machine operating environment Has a white display feature and displays a full notification message. FIG. 7c is similar to FIG. 7b in that the notification message in the operating environment of different virtual machines is distinguished by a circular identifier instead of a color, and the time for receiving the notification message is added to each notification message. Through the interfaces shown in FIGS. 7b and 7c, on the one hand, the user can have complete time dimension perception for each notification message, and on the other hand, it can easily distinguish the virtual machine to which the notification message belongs by using display features such as color or logo.
实施例八:Example 8:
基于同一发明构思,本发明实施例中还提供了一种通知消息显示装置,由于这些设备解决问题的原理与一种通知消息显示方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。图8示出了本发明实施例八中通知消息显示装置的结构示意图,如图所示,所述装置800包括:Based on the same inventive concept, an embodiment of the present invention also provides a notification message display device. Since the principle of solving the problem of these devices is similar to that of a notification message display method, the implementation of these devices can be referred to the implementation of the method, and the repetition is performed. No longer. FIG. 8 is a schematic structural diagram of a notification message display apparatus according to Embodiment 8 of the present invention. As shown in the figure, the apparatus 800 includes:
获取模块801,用于获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;The obtaining module 801 is configured to obtain a first notification message of the first application, where the first application runs on the first virtual machine;
显示模块803,用于通过第二虚拟机显示所述第一通知消息。The display module 803 is configured to display the first notification message by using the second virtual machine.
优选的,Preferably,
所述获取模块801,还用于获取第二应用程序的第二通知消息,所述第二应用程序运行于所述第二虚拟机;The obtaining module 801 is further configured to acquire a second notification message of the second application, where the second application is running in the second virtual machine;
所述显示模块803,还用于通过第二虚拟机显示所述第二通知消息;The display module 803 is further configured to display the second notification message by using the second virtual machine.
并且,所述第一通知消息具有第一显示特征,所述第二通知消息具有与
13/21所述第一显示特征不同的第二显示特征。And the first notification message has a first display feature, and the second notification message has a
The first display feature of the first display feature is 13/21.
优选的,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。Preferably, the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
优选的,所述显示模块803,具体用于,通过第二虚拟机的通知消息显示界面显示所述第一通知消息和第二通知消息。Preferably, the display module 803 is specifically configured to display the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
优选的,Preferably,
所述装置800还包括确定模块802,用于在所述显示模块803通过第二虚拟机显示所述第一通知消息之前,确定所述第一虚拟机的安全级别低于或者等于所述第二虚拟机的安全级别;或者,确定所述第一应用程序的安全级别低于或者等于所述第二虚拟机的安全级别。The device 800 further includes a determining module 802, configured to determine, before the displaying module 803 displays the first notification message by using the second virtual machine, that the security level of the first virtual machine is lower than or equal to the second The security level of the virtual machine; or determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
优选的,Preferably,
所述装置800还包括确定模块802,用于在所述显示模块803通过第二虚拟机显示所述第一通知消息之前,确定所述第一虚拟机的安全级别高于所述第二虚拟机的安全级别;或者,确定所述第一应用程序的安全级别高于所述第二虚拟机的安全级别;The device 800 further includes a determining module 802, configured to determine that the first virtual machine has a higher security level than the second virtual machine before the displaying module 803 displays the first notification message by using the second virtual machine. a security level; or determining that the security level of the first application is higher than a security level of the second virtual machine;
所述显示模块803,具体用于通过第二虚拟机显示简化的所述第一通知消息。The display module 803 is specifically configured to display the simplified first notification message by using the second virtual machine.
优选的,所述装置800还包括:Preferably, the device 800 further includes:
请求模块804,用于在所述显示模块803通过第二虚拟机显示所述第一通知消息之后,根据触发操作获取运行请求,所述触发操作为用户通过第二虚拟机对显示的第一通知消息执行的操作;The requesting module 804 is configured to obtain, after the displaying module 803 displays the first notification message by using the second virtual machine, the running request according to the triggering operation, where the triggering operation is the first notification that the user displays through the second virtual machine pair The operation performed by the message;
运行模块804,用于前台运行所述第一应用程序。The running module 804 is configured to run the first application in the foreground.
实施例九:Example 9:
基于同一发明构思,本发明实施例中还提供了一种通知消息显示电子设备,由于其原理与一种通知消息显示方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。所述电子设备包括:显示器,存储器,一个或多
14/21个处理器;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行任一上述方法中各个步骤的指令。Based on the same inventive concept, an embodiment of the present invention further provides a notification message display electronic device. Since the principle is similar to a notification message display method, the implementation of the method can be referred to the implementation of the method, and the repeated description is not repeated. The electronic device includes: a display, a memory, one or more
14/21 processors; and one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more The module includes instructions for performing the various steps in any of the above methods.
实施例十:Example 10:
基于同一发明构思,本发明实施例还提供了一种与包括显示器的电子设备结合使用的通知消息显示计算机程序产品,由于其原理与一种通知消息显示方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行任一前述方法中各个步骤的指令。Based on the same inventive concept, an embodiment of the present invention further provides a notification message display computer program product for use in combination with an electronic device including a display. Since the principle is similar to a notification message display method, the implementation thereof can refer to the implementation of the method. , the repetition 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.
为了描述的方便,以上所述装置的各部分以功能分为各种模块分别描述。当然,在实施本发明时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For the convenience of description, the various parts of the above-described apparatus are separately described by functions into various modules. Of course, the functions of the various modules or units may be implemented in one or more software or hardware in the practice of the invention.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that 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.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
15/21The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
15/21
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。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.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
16/21While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
16/21
Claims (16)
- 一种通知消息显示方法,其特征在于,所述方法包括:A notification message display method, characterized in that the method comprises:获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;Obtaining a first notification message of the first application, where the first application runs on the first virtual machine;通过第二虚拟机显示所述第一通知消息。The first notification message is displayed by the second virtual machine.
- 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:获取第二应用程序的第二通知消息,所述第二应用程序运行于所述第二虚拟机;Obtaining a second notification message of the second application, where the second application runs on the second virtual machine;通过第二虚拟机显示所述第二通知消息;Displaying the second notification message by using the second virtual machine;并且,所述第一通知消息具有第一显示特征,所述第二通知消息具有与所述第一显示特征不同的第二显示特征。And, the first notification message has a first display feature, and the second notification message has a second display feature that is different from the first display feature.
- 如权利要求2所述的方法,其特征在于,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。The method of claim 2 wherein the display feature is any one or combination of color features, size features, location features, and identification features.
- 如权利要求2所述的方法,其特征在于,所述通过第二虚拟机显示所述第一通知消息,包括:通过第二虚拟机的通知消息显示界面显示所述第一通知消息和第二通知消息。The method of claim 2, wherein the displaying the first notification message by the second virtual machine comprises: displaying the first notification message and the second by a notification message display interface of the second virtual machine Notification message.
- 如权利要求1至4中任一项权利要求所述的方法,其特征在于,在通过第二虚拟机显示所述第一通知消息之前,还包括:The method according to any one of claims 1 to 4, further comprising: before displaying the first notification message by the second virtual machine, further comprising:确定所述第一虚拟机的安全级别低于或者等于所述第二虚拟机的安全级别;或者,Determining that the security level of the first virtual machine is lower than or equal to the security level of the second virtual machine; or确定所述第一应用程序的安全级别低于或者等于所述第二虚拟机的安全级别。Determining that the security level of the first application is lower than or equal to the security level of the second virtual machine.
- 如权利要求1至4中任一项权利要求所述的方法,其特征在于,在通 过第二虚拟机显示所述第一通知消息之前,还包括:A method according to any one of claims 1 to 4, characterized in that Before the second virtual machine displays the first notification message, the method further includes:确定所述第一虚拟机的安全级别高于所述第二虚拟机的安全级别;或者,Determining that the security level of the first virtual machine is higher than the security level of the second virtual machine; or确定所述第一应用程序的安全级别高于所述第二虚拟机的安全级别;Determining that the security level of the first application is higher than the security level of the second virtual machine;所述通过第二虚拟机显示所述第一通知消息包括:通过第二虚拟机显示简化的所述第一通知消息。The displaying the first notification message by using the second virtual machine includes: displaying the simplified first notification message by using the second virtual machine.
- 如权利要求1至4中任一项权利要求所述的方法,其特征在于,在通过第二虚拟机显示所述第一通知消息之后,还包括:The method according to any one of claims 1 to 4, further comprising: after displaying the first notification message by the second virtual machine, further comprising:根据触发操作获取运行请求,所述触发操作为用户通过第二虚拟机对显示的第一通知消息执行的操作;Obtaining a running request according to the triggering operation, where the triggering operation is an operation performed by the user on the displayed first notification message by the second virtual machine;前台运行所述第一应用程序。The first application runs in the foreground.
- 一种通知消息显示装置,其特征在于,所述装置包括:A notification message display device, characterized in that the device comprises:获取模块,用于获取第一应用程序的第一通知消息,所述第一应用程序运行于第一虚拟机;An acquiring module, configured to acquire a first notification message of the first application, where the first application runs on the first virtual machine;显示模块,用于通过第二虚拟机显示所述第一通知消息。And a display module, configured to display the first notification message by using the second virtual machine.
- 如权利要求8所述的装置,其特征在于:The device of claim 8 wherein:所述获取模块,还用于获取第二应用程序的第二通知消息,所述第二应用程序运行于所述第二虚拟机;The obtaining module is further configured to acquire a second notification message of the second application, where the second application runs on the second virtual machine;所述显示模块,还用于通过第二虚拟机显示所述第二通知消息;The display module is further configured to display the second notification message by using a second virtual machine;并且,所述第一通知消息具有第一显示特征,所述第二通知消息具有与所述第一显示特征不同的第二显示特征。And, the first notification message has a first display feature, and the second notification message has a second display feature that is different from the first display feature.
- 如权利要求9所述的装置,其特征在于,所述显示特征为颜色特征、大小特征、位置特征和标识特征中的任意一种或者几种的组合。The apparatus of claim 9, wherein the display feature is any one or a combination of a color feature, a size feature, a location feature, and an identification feature.
- 如权利要求9所述的装置,其特征在于,所述显示模块,具体用于通过第二虚拟机的通知消息显示界面显示所述第一通知消息和第二通知消息。 The device according to claim 9, wherein the display module is configured to display the first notification message and the second notification message by using a notification message display interface of the second virtual machine.
- 如权利要求8至11中任一项权利要求所述的装置,其特征在于,A device according to any one of claims 8 to 11 wherein:所述装置还包括确定模块,用于在所述显示模块通过第二虚拟机显示所述第一通知消息之前,确定所述第一虚拟机的安全级别低于或者等于所述第二虚拟机的安全级别;或者,确定所述第一应用程序的安全级别低于或者等于所述第二虚拟机的安全级别。The device further includes a determining module, configured to determine, before the display module displays the first notification message by using the second virtual machine, that the security level of the first virtual machine is lower than or equal to that of the second virtual machine a security level; or determining that the security level of the first application is lower than or equal to a security level of the second virtual machine.
- 如权利要求8至11中任一项权利要求所述的装置,其特征在于,A device according to any one of claims 8 to 11 wherein:所述装置还包括确定模块,用于在所述显示模块通过第二虚拟机显示所述第一通知消息之前,确定所述第一虚拟机的安全级别高于所述第二虚拟机的安全级别;或者,确定所述第一应用程序的安全级别高于所述第二虚拟机的安全级别;The device further includes a determining module, configured to determine that a security level of the first virtual machine is higher than a security level of the second virtual machine before the display module displays the first notification message by using the second virtual machine Or determining that the security level of the first application is higher than the security level of the second virtual machine;所述显示模块,具体用于通过第二虚拟机显示简化的所述第一通知消息。The display module is specifically configured to display the simplified first notification message by using the second virtual machine.
- 如权利要求8至11中任一项权利要求所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 8 to 11, wherein the device further comprises:请求模块,用于在所述显示模块通过第二虚拟机显示所述第一通知消息之后,根据触发操作获取运行请求,所述触发操作为用户通过第二虚拟机对显示的第一通知消息执行的操作;a requesting module, configured to: after the display module displays the first notification message by using the second virtual machine, obtain a running request according to the triggering operation, where the triggering operation is performed by the user by using the second virtual machine to display the first notification message Operation运行模块,用于前台运行所述第一应用程序。Running a module for running the first application in the foreground.
- 一种电子设备,其特征在于,所述电子设备包括:An electronic device, comprising:显示器,存储器,一个或多个处理器;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行权利要求1-7中任一所述方法中各个步骤的指令。a display, a memory, one or more processors; and one or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, The one or more modules include instructions for performing the various steps of the method of any of claims 1-7.
- 一种与包括显示器的电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所 述计算机程序机制包括用于执行权利要求1-7中任一所述方法中各个步骤的指令。 A computer program product for use in conjunction 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 the method of any of claims 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/084475 WO2017206136A1 (en) | 2016-06-02 | 2016-06-02 | Method and device for displaying notification message, electronic apparatus, and computer program product |
CN201680002687.XA CN107278291A (en) | 2016-06-02 | 2016-06-02 | A kind of notification message display methods, device, electronic equipment and computer program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/084475 WO2017206136A1 (en) | 2016-06-02 | 2016-06-02 | Method and device for displaying notification message, electronic apparatus, and computer program product |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017206136A1 true WO2017206136A1 (en) | 2017-12-07 |
Family
ID=60052873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/084475 WO2017206136A1 (en) | 2016-06-02 | 2016-06-02 | Method and device for displaying notification message, electronic apparatus, and computer program product |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107278291A (en) |
WO (1) | WO2017206136A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176771A (en) * | 2019-12-24 | 2020-05-19 | 西安万像电子科技有限公司 | Data processing method, system and equipment |
WO2020199089A1 (en) * | 2019-04-01 | 2020-10-08 | Citrix Systems, Inc. | Unified application notification framework |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889861B (en) * | 2019-03-13 | 2021-11-19 | 广州市网星信息技术有限公司 | Theme live broadcasting method, device, system, equipment and storage medium |
CN110768834B (en) * | 2019-10-25 | 2023-01-03 | 北京金山云网络技术有限公司 | Method, system, device and medium for notifying upgrading result of virtual machine configuration |
CN114615454B (en) * | 2020-12-09 | 2023-08-15 | 成都鼎桥通信技术有限公司 | Message prompting method, device, terminal and storage medium |
CN113176899A (en) * | 2021-03-15 | 2021-07-27 | 西安神鸟软件科技有限公司 | Operation method of multi-android operating system and terminal equipment |
CN115033347A (en) * | 2022-06-16 | 2022-09-09 | 亿咖通(湖北)技术有限公司 | Information sharing method, device, equipment and medium based on multi-virtual machine system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997960A (en) * | 2009-08-14 | 2011-03-30 | 黄金富 | High-safety two-operating system mobile phone capable of resisting hackers and being used for Internet banking |
US20110267367A1 (en) * | 2010-04-30 | 2011-11-03 | Acer Incorporated | Handheld electric apparatus and graphic interface operation method |
CN104796529A (en) * | 2015-03-05 | 2015-07-22 | 宇龙计算机通信科技(深圳)有限公司 | Dual systems-based unprocessed event warning method and system |
CN105072257A (en) * | 2015-07-16 | 2015-11-18 | 深圳前海达闼科技有限公司 | Double-card double-system terminal and incoming call processing method and apparatus thereof |
-
2016
- 2016-06-02 CN CN201680002687.XA patent/CN107278291A/en active Pending
- 2016-06-02 WO PCT/CN2016/084475 patent/WO2017206136A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997960A (en) * | 2009-08-14 | 2011-03-30 | 黄金富 | High-safety two-operating system mobile phone capable of resisting hackers and being used for Internet banking |
US20110267367A1 (en) * | 2010-04-30 | 2011-11-03 | Acer Incorporated | Handheld electric apparatus and graphic interface operation method |
CN104796529A (en) * | 2015-03-05 | 2015-07-22 | 宇龙计算机通信科技(深圳)有限公司 | Dual systems-based unprocessed event warning method and system |
CN105072257A (en) * | 2015-07-16 | 2015-11-18 | 深圳前海达闼科技有限公司 | Double-card double-system terminal and incoming call processing method and apparatus thereof |
Cited By (3)
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 |
CN111176771A (en) * | 2019-12-24 | 2020-05-19 | 西安万像电子科技有限公司 | Data processing method, system and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107278291A (en) | 2017-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017206136A1 (en) | Method and device for displaying notification message, electronic apparatus, and computer program product | |
US20220229521A1 (en) | Displaying a translucent version of a user interface element | |
CN107786730B (en) | Task management method and terminal | |
TWI604375B (en) | Methods for screen sharing and apparatuses using the same | |
CN109799938B (en) | Control display management method, terminal device and computer readable storage medium | |
TWI515646B (en) | Methods for handling applications running in the extend mode and tablet computers using the same | |
US20140049494A1 (en) | Method and apparatus for preventing accidental touch operation | |
CN105760045A (en) | Application program login method, application program login device and terminal | |
WO2018076673A1 (en) | Application icon display control method and apparatus, and terminal | |
CN105589619B (en) | terminal multi-window display method and device | |
CN108614655B (en) | Split screen display method and device, storage medium and electronic equipment | |
CN103713798B (en) | Application display methods and device in locking screen interface | |
CN108345483A (en) | A kind of reminding method of notification message, terminal and computer readable storage medium | |
WO2018112775A1 (en) | Method for operating another operating system, apparatus and electronic device | |
CN105183287A (en) | Display processing method and electronic device | |
CN112162807A (en) | Function execution method and device | |
WO2023046184A1 (en) | Message processing method and apparatus, and electronic device | |
KR102510846B1 (en) | Electronic apparatus and controlling method thereof | |
CN108845924B (en) | Control response area display control method, electronic device, and storage medium | |
WO2022213945A1 (en) | Application reminding method and apparatus, and electronic device | |
CN106951239B (en) | Method and device for setting display of application program | |
WO2020000263A1 (en) | Method and device for calling input method, and server and terminal | |
WO2017201655A1 (en) | Background application display method and apparatus, electronic device and computer program product | |
WO2018112772A1 (en) | Method and apparatus for operating another operating system and electronic device | |
CN102693064A (en) | Method and system for quitting protection screen by terminal |
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: 16903521 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16903521 Country of ref document: EP Kind code of ref document: A1 |