Application display method and device and storage medium
By implementing the application display method on the terminal device, triggering the display of the second application when displaying the first application in full screen, and determining the switching mode according to the application type, it solves the problem that the current application is difficult to take into account both the front-end interaction and the timely processing of the message when processing notification messages. , improves the timeliness of user experience and message reply.
Patent Information
- Application Number
- CN202310998574.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-09
- Publication Date
- 2025-02-18
AI Technical Summary
In terminal devices, it is difficult for the current application to take into account both the foreground interaction and the timely processing of messages when processing notification messages, resulting in poor user experience.
By implementing an application display method on the terminal device, the second application is triggered to be displayed in response to the full screen display of the first application, and it is decided whether to switch it to the small window mode according to the application type of the first application, so that the second application can be displayed in full screen.
It realizes that when processing floating notification messages, the applications that need to be displayed in the foreground are automatically switched to small window mode, avoiding applications entering the background, and improving the timeliness of message reply and user experience.
Smart Images

Figure CN119473452A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to an application display method, device and storage medium. Background Art
[0002] With the development of communication technology, especially the rapid development of smart terminals, the types of applications installed in terminals are becoming more and more diverse. When an application is running, a user may receive a notification message from an instant messaging application.
[0003] In the related art, when a notification message is clicked, the current application will enter the background, and it is impossible to take into account both the foreground interaction of the current application and the timely processing of the notification message. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides an application display method, device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, an application display method is provided, including: in response to a second application being triggered to be displayed during full-screen display of a first application on a terminal, determining an application type of the first application; if it is determined that the application type of the first application is an application type that needs to be displayed in the foreground, switching the first application to a small window mode display, and displaying the second application in full screen.
[0006] In one embodiment, the terminal is triggered to display a second application during the process of displaying a first application in full screen, including: receiving a floating notification message of the second application during the process of displaying the first application in full screen on the terminal, and detecting an operation on the floating notification message, wherein the operation is used to trigger the display of the content of the floating notification message.
[0007] In one embodiment, determining that the application type of the first application is an application type that needs to be displayed in the foreground includes: obtaining the application package name of the first application; if the application package name of the first application belongs to a target application package name list, determining that the application type of the first application is an application type that needs to be displayed in the foreground.
[0008] In one implementation, the method further includes: if the application type of the first application is an application type that does not need to be displayed in the foreground, running the first application in the background.
[0009] In one implementation, the first application is an application that provides a navigation function, and the second application is an instant messaging application.
[0010] According to a second aspect of an embodiment of the present disclosure, an application display device is provided, including: a determination unit, for determining an application type of the first application in response to being triggered to display a second application during a process in which a terminal displays a first application in full screen; a processing unit, for switching the first application to a small window mode display and displaying the second application in full screen if the determination unit determines that the application type of the first application is an application type that needs to be displayed in the foreground.
[0011] In one embodiment, the determination unit is triggered to display the second application during the process of the terminal displaying the first application in full screen in the following manner: a floating notification message of the second application is received during the process of the terminal displaying the first application in full screen, and an operation on the floating notification message is detected, and the operation is used to trigger the display of the content of the floating notification message.
[0012] In one embodiment, the determination unit determines that the application type of the first application is the application type that needs to be displayed in the foreground in the following manner: obtaining the application package name of the first application; if the application package name of the first application belongs to the target application package name list, determining that the application type of the first application is the application type that needs to be displayed in the foreground.
[0013] In one implementation, the processing unit is further configured to: if the application type of the first application is an application type that does not need to be displayed in the foreground, run the first application in the background.
[0014] In one implementation, the first application is an application that provides a navigation function, and the second application is an instant messaging application.
[0015] According to a third aspect of the present disclosure, an application display device is provided, characterized in that it includes: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: execute the application display method described in the aforementioned first aspect or any one of the embodiments of the first aspect.
[0016] According to a fourth aspect of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the application display method described in the first aspect or any one of the embodiments of the first aspect.
[0017] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when processing a floating notification message, by automatically switching the application that needs to be displayed in the foreground to the small window mode, the application that needs to be displayed in the foreground is prevented from entering the background when processing the floating notification message. By starting the instant messaging application as a full-screen application, the user can conveniently process the notification message without exiting the current application to the background, thereby improving the timeliness of message reply and user experience.
[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] Figure 1 The figure is a flowchart of a method for displaying an application according to an exemplary embodiment.
[0021] Figure 2 The figure is a flowchart of a method for displaying a second application according to an exemplary embodiment.
[0022] Figure 3 The figure is a flowchart of a method for displaying an application according to an exemplary embodiment.
[0023] Figure 4 The figure is a flowchart of a method for running a first application in the background according to an exemplary embodiment.
[0024] Figure 5 The figure is a flow chart showing an interactive method based on a small window according to an exemplary embodiment.
[0025] Figure 6 The diagram is a schematic diagram showing a first application displayed in full screen according to an exemplary embodiment.
[0026] Figure 7 The diagram is a schematic diagram showing a method of receiving a floating notification message of a second application according to an exemplary embodiment.
[0027] Figure 8 The diagram is a schematic diagram showing a method of processing a floating notification message to trigger display of a second application according to an exemplary embodiment.
[0028] Fig. 9 It is a schematic diagram showing an application display method according to an exemplary embodiment.
[0029] Fig.10 The invention is a block diagram showing an application display device according to an exemplary embodiment.
[0030] Fig.11 It is a block diagram of a device 200 for application display according to an exemplary embodiment. DETAILED DESCRIPTION
[0031] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
[0032] The technical solution of the exemplary embodiment of the present disclosure can be applied to the application scenario of terminal application display. In the exemplary embodiments described below, the terminal can be a mobile terminal, which can also be referred to as a user equipment (UE), a mobile station (MS), etc. For example, a handheld device with a wireless connection function, a vehicle-mounted device, etc. For example, examples of terminals may include: mobile phones, tablet computers, laptops, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in unmanned driving, wireless terminals in remote surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc.
[0033] In today's terminal application scenarios, users' needs are increasingly diverse, and they often need to use multiple applications with real-time interactive functions at the same time to meet the needs of different scenarios. For example, when a user is using a terminal navigation application, he may receive a floating notification message from an instant messaging application. In this case, no matter what choice the user makes, it may cause a certain degree of inconvenience.
[0034] First, if the user clicks on the floating notification message to process it, the navigation app will be put into the background, during which time it will be difficult for the user to get accurate navigation instructions, which may affect the actual navigation experience such as driving or walking, and even increase certain safety risks. Second, if the user does not click on the message, although the navigation app can be kept in the foreground, it will not be able to respond to the notification message in time, and may miss important information or miss the processing of instant messages.
[0035] In view of this, an embodiment of the present disclosure provides an application display method.
[0036] Figure 1 FIG. 1 is a flow chart showing an application display method according to an exemplary embodiment. Figure 1 As shown, the method includes steps S11 to S12.
[0037] In step S11 , in response to the terminal being triggered to display a second application during the process of displaying a first application in full screen, the application type of the first application is determined.
[0038] When the first application is operated in the foreground of the terminal, the operation of displaying the second application may be triggered. For example, a floating notification message of an instant messaging application is received, a call request is received, etc. By determining the application type of the first application, it is determined whether to exit the current full-screen application to the background.
[0039] In step S12, if it is determined that the application type of the first application is an application type that needs to be displayed in the foreground, the first application is switched to a small window mode display, and the second application is displayed in full screen.
[0040] The first application may be an application with high real-time requirements such as a navigation application, a video application, an online conference application, etc. The small window mode may be a floating window in which an application is suspended and / or a mini window in which an application is displayed in the form of an icon.
[0041] According to determining that the application type of the first application is an application that needs to be displayed in the foreground, the first application is switched to a small window mode display, and the second application is displayed in full screen for operation. For example, if it is determined that the application type of the first application is a navigation application that needs to be displayed in the foreground, the first application is switched to a small window mode display, and the second application is set to be displayed in full screen, ensuring that the user can continue to view the navigation indication information of the navigation application in the small window, and reply to messages or handle other tasks in the full screen application.
[0042] After the second application is displayed in full screen and the corresponding processing is completed, the first application can be switched back to full screen display. For example, after completing the operation on the second application, close the second application or put the second application into the background, and the system automatically switches the first application back to full screen display. You can also operate the first application displayed in small window mode after completing the operation on the second application to switch the first application back to full screen display, for example, double-click or long press the first application displayed in small window mode or pull down the small window floating bar, etc.
[0043] In the disclosed embodiment, when the first application is displayed in full screen, the operation of displaying the second application is triggered. If the first application is an application that needs to be displayed in the foreground, the first application is automatically switched to the small window mode, and the second application is displayed in full screen. The application display method in the disclosed embodiment enables the interfaces of two applications to be displayed simultaneously in the foreground of the terminal device, and the switching method is flexibly adjusted according to the application type. By continuously displaying the first application information in the small window mode, the user can maintain real-time monitoring of the first application while processing other tasks, thereby improving user efficiency. At the same time, displaying the second application in full screen allows the user to conveniently operate on the second application, thereby improving the timeliness and efficiency of task processing.
[0044] In one embodiment, the terminal is triggered to display a second application during the process of displaying a first application in full screen, including: receiving a floating notification message of the second application during the process of displaying the first application in full screen at the terminal, and detecting an operation of processing the floating notification message.
[0045] Figure 2 FIG. 1 is a flow chart showing a method for displaying a second application according to an exemplary embodiment. Figure 2 As shown, the method includes steps S21 to S23.
[0046] In step S21, the terminal displays the first application in full screen.
[0047] In step S22, a floating notification message of a second application is received, and an operation on the floating notification message is detected, where the operation is used to trigger display of the content of the floating notification message.
[0048] The terminal device receives a floating notification message from a second application, where the floating notification message can be an instant messaging application message, a schedule reminder, or other types of messages. At the same time, the system or application will also detect the user's operation on the floating notification message, which is used to trigger the display of the floating notification message content. For example, when the first application is displayed in full screen, a floating notification message from the second application is received, and it is detected that the user has performed an operation to trigger the display of the floating notification message content. The operation can be an operation such as clicking on the floating notification message, an air gesture operation, or a voice operation that triggers the display of the second application and / or retreats the first application to the background. By detecting the user's operation on the floating notification message, the system can determine whether the user has processed the floating notification message. This provides a basis for subsequent processing to determine whether application switching and interface display operations are required.
[0049] In step S23, the display of the second application is triggered.
[0050] Based on the detection of the user's operation of processing the floating notification message, the system triggers the display of the second application to meet the user's demand for processing the second application message.
[0051] When the terminal device is displaying the first application in full screen, it receives a floating notification message from the second application. After receiving the floating notification message, the system or application detects that the user has performed an operation that triggers the display of the floating notification message content, and will trigger the display of the second application so that the user can perform corresponding processing. For example, if it is detected that the user clicks on the floating notification message, performs an air gesture operation, or performs a voice operation to trigger the display of the second application and / or retreats the first application to the background, the system will display the second application in full screen so that the user can reply to messages or browse content.
[0052] In the embodiment of the present disclosure, when the first application is displayed in full screen, a floating notification message from the second application is processed. By receiving the floating notification message and triggering the display of the second application, the notification content can be quickly viewed without leaving the first application, and corresponding operations can be taken as needed.
[0053] In the process of displaying terminal applications, not all applications need to be displayed in the terminal foreground when processing other applications. In view of this, an embodiment of the present disclosure provides a method for determining an application type.
[0054] Figure 3 FIG. 1 is a flow chart showing an application display method according to an exemplary embodiment. Figure 3 As shown, the method includes steps S31 to S32.
[0055] In step S31, the application package name of the first application is obtained.
[0056] Acquiring the application package name of the first application means that in the process of responding to the floating notification message and triggering the display of the second application, the system or application obtains the unique identifier of the first application currently running in the foreground, that is, the application package name, by calling the corresponding interface or method.
[0057] The application package name is a string used to uniquely identify each application in the Android system. It is unique in the entire system and can be used to distinguish different applications. By obtaining the application package name, the first application currently running in the foreground can be accurately determined, thereby determining whether it is the target application that needs to be displayed in the foreground.
[0058] In step S32, if the application package name of the first application belongs to the target application package name list, it is determined that the application type of the first application is an application type that needs to be displayed in the foreground.
[0059] After responding to the floating notification message and obtaining the application package name of the first application, if the application package name of the first application belongs to the target application package name list, it is determined that the application type of the first application is an application type that needs to be displayed in the foreground.
[0060] For example, the system or application matches the package name with the target application package name list. If the application package name of the first application finds a match in the target application package name list, it is determined that the application type of the first application is an application type that needs to be displayed in the foreground. If the application package name of the first application is not in the target application package name list, or the target application package name list is empty, it means that the current first application is not an application that needs to be displayed in the foreground of the terminal when processing other applications.
[0061] Among them, users can be allowed to customize the list of target application package names. For example, an option is added in the application settings or system settings to allow users to select the application that needs to automatically switch to small window mode when receiving a notification and triggering the display of the second application. Users can set it according to their preferences to achieve a more personalized experience.
[0062] In the disclosed embodiment, by matching the application package name of the first application with the target application package name list, it is possible to accurately determine whether the application type of the first application is the target application type. This can avoid misoperation of other applications and improve the accuracy of the switching operation. In addition, the user can customize the target application package name list according to their needs. When the operation of displaying the second application is triggered, the system will automatically determine whether the small window mode needs to be switched according to the user's settings. In this way, the user does not need to switch manually, which improves the user experience and convenience of use.
[0063] In one embodiment, if the application type of the first application is an application type that does not need to be displayed in the foreground, the first application is run in the background.
[0064] Figure 4 FIG. 1 is a flowchart of a method for running a first application in the background according to an exemplary embodiment. Figure 4 As shown, the method includes steps S41 to S42.
[0065] In step S41, it is determined that the application type of the first application is an application type that does not need to be displayed in the foreground.
[0066] If the application package name of the first application does not belong to the target application package name list, it is determined that the application type of the first application is an application type that does not need to be displayed in the foreground.
[0067] In step S42, the first application is run in the background.
[0068] If the application package name of the first application does not belong to the target application package name list, the application type of the first application is determined to be an application type that does not need to be displayed in the terminal foreground when processing other applications, that is, a non-target application type. In this case, the second application is displayed in full screen, and the first application is retreated to the background.
[0069] In the disclosed embodiment, if the application package name of the first application does not belong to the target application package name list, the application type of the first application is determined to be an application type that does not need to be displayed in the foreground. The application type that does not need to be displayed in the foreground is run in the background, ensuring that only the target application is switched to the small window mode, while other applications that do not need to be displayed in the foreground are placed in the background to run, and the second application is displayed in full screen at the same time, thereby improving the practicality of application display and user experience.
[0070] In one embodiment, the first application is an application that provides a navigation function, and the second application is an instant messaging application.
[0071] In an embodiment of the present disclosure, a user may be using a navigation application to obtain route guidance, and at the same time receive a floating notification message from an instant messaging application. This notification message may contain urgent information, chat messages, or other content that needs to be processed in a timely manner. Through the application display method in the present disclosure, when the user clicks on the floating notification message, the navigation application is automatically switched to small window mode. At the same time, the instant messaging application will be displayed in full screen, allowing users to reply to messages instantly without interrupting the operation of the navigation application. This method takes into account both real-time and operational convenience, ensuring that users can efficiently complete navigation and communication operations in a multi-tasking environment.
[0072] The present disclosure embodiment will now illustrate the above-mentioned application display method with reference to an example. In the following example, a navigation application is used as the first application, and an instant messaging application is used as the second application.
[0073] Navigation apps and instant messaging apps are frequently used and are also the two apps with the strongest demand for real-time interaction. However, when using a mobile navigation app, if you receive a floating notification message, if you click on the message, the third-party instant messaging app will be launched, covering the current navigation app, and the navigation app will be retreated to the background; if you do not click on the message, you will not be able to reply in time.
[0074] In view of this, the embodiment of the present disclosure adopts an interactive method based on a small window in combination with the above-mentioned application display method.
[0075] Figure 5 The figure is a flow chart showing an interactive method based on a small window according to an exemplary embodiment.
[0076] like Figure 5 As shown, the small window-based interaction method in the embodiment of the present disclosure is applied to an application scenario in which a floating notification message from an instant messaging application is suddenly received when a navigation application is used on a terminal device to obtain route guidance.
[0077] When the floating notification message is processed to trigger the operation of displaying the second application, for example, when the floating notification message is clicked, the current full-screen navigation application will be switched to the small window mode, and the instant messaging application will be displayed in full screen to facilitate the reply of the notification message. In this way, the navigation application will not be retreated to the background, and the timeliness and efficiency of message reply will not be affected. Among them, the small window mode can be a floating window that displays the application in suspension or a mini window that displays the application in the form of an icon.
[0078] When you click the floating notification message, the system will call the interface to switch the full-screen application to small window mode, identify the navigation scenario through the application package name, switch the navigation application to small window mode, and start the instant messaging application in full screen display.
[0079] In the disclosed embodiment, when the terminal device is in the application running scenario, other instant messaging applications will receive messages and a floating notification will pop up on the terminal device. When the floating notification is clicked, the current scenario of the terminal device is first determined by obtaining the foreground application currently running on the terminal device.
[0080] If the current terminal device is not in a navigation scenario, the operation is performed according to the original application display logic. For example, when you click on the floating notification, the application currently used by the terminal device retreats to the background, and the floating notification opens in full screen in the foreground. If the current terminal device is in a navigation scenario, while sending the application startup information corresponding to the notification, it is also necessary to call the interface that suspends the full-screen application as a small window to switch the navigation application to small window mode. After clicking on the floating notification, the navigation application currently used by the terminal device will not retreat to the background, but will be displayed on the terminal device in the form of a small window, allowing the floating notification to open in full screen in the foreground. In this way, it is ensured that the two applications are displayed in the foreground at the same time, and the navigation application will not retreat to the background because the foreground message opens in full screen.
[0081] The embodiment of the present disclosure will be described below with reference to examples to illustrate the above-mentioned application display method. A smart mobile terminal device is used as the terminal device in the application display method, a navigation application is used as the first application, and an instant messaging application is used as the second application.
[0082] Figure 6 FIG. 1 is a schematic diagram showing a first application displayed in full screen according to an exemplary embodiment. Figure 6 As shown, the smart mobile terminal device is in a navigation application scenario, and the user can use the navigation application to obtain route guidance. At this time, the terminal displays the navigation application in full screen.
[0083] Figure 7 FIG. 1 is a schematic diagram showing a method of receiving a floating notification message of a second application according to an exemplary embodiment. Figure 7 As shown, a floating notification message from an instant messaging application is received during the full screen display of the navigation application on the terminal. This notification message may contain urgent information, chat messages or other content that needs to be processed in a timely manner.
[0084] Figure 8 FIG. 1 is a schematic diagram showing a method of processing a floating notification message to trigger display of a second application according to an exemplary embodiment. Figure 8 As shown, the user processes the floating notification message, for example, the user clicks on the floating notification message from the instant messaging application.
[0085] By detecting the user's operation on the floating notification message, it can be determined whether the user has processed the floating notification message. This provides a basis for subsequent operations on the navigation application and instant messaging application to determine whether application switching and interface display operations are required.
[0086] If the current terminal device is not in the navigation scenario, the original application display logic is used. For example, when clicking on the floating notification message, the application currently used by the terminal device retreats to the background, and the floating notification message opens in full screen in the foreground. If the current terminal device is in the navigation scenario, while sending the application startup information corresponding to the notification, it is also necessary to call the interface that suspends the full-screen application as a small window to switch the navigation application to the small window mode.
[0087] Fig. 9 FIG. 1 is a schematic diagram showing an application display method according to an exemplary embodiment. Fig. 9 As shown, it is detected that the user clicks on the floating notification message, and the application type of the current application is determined to be a navigation application through the application package name, that is, the application type that needs to be displayed in the terminal foreground when processing other applications.
[0088] The navigation application currently used by the terminal device will not retreat to the background, but will be displayed on the terminal device in the form of a small window, allowing the instant messaging application that sends the floating notification message to open in full screen in the foreground. In this way, both applications are displayed in the foreground at the same time, and the navigation application will not retreat to the background because the foreground message is opened in full screen.
[0089] In the disclosed embodiment, when the terminal device is in the state of displaying the navigation application in full screen, it receives a floating notification message from the instant messaging application and performs a click operation. The system automatically switches the navigation application to the small window mode and displays the instant messaging application in full screen. This intelligent adjustment of the display mode can realize the simultaneous display of these two applications with high real-time requirements in the foreground of the terminal device.
[0090] Through this application display method, users can continue to use the navigation application in small window mode while displaying the instant messaging application in full screen. The small window mode continuously displays navigation information, allowing users to maintain real-time monitoring of the navigation application while handling other tasks and use the navigation application to obtain route guidance. At the same time, the full-screen display of the instant messaging application provides users with a convenient operation interface, ensuring that users can handle communication information in a timely manner, improving the immediacy of information and the convenience of user operation. Users can communicate with others in real time without interrupting navigation information, without frequently switching application interfaces, which brings greater convenience and practicality to the use of terminal devices.
[0091] Based on the same concept, an embodiment of the present disclosure also provides an application display device.
[0092] It is understandable that the application display device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0093] Fig.10 is a block diagram of an application display device according to an exemplary embodiment. Fig.10 , the device includes a determining unit 101 and a processing unit 102.
[0094] The determining unit 101 is configured to determine an application type of a first application in response to a terminal being triggered to display a second application during a process in which the terminal displays a first application in full screen.
[0095] The processing unit 102 is used to switch the first application to a small window mode display and display the second application in full screen when the determination unit determines that the application type of the first application is an application type that needs to be displayed in the foreground.
[0096] In one embodiment, the determination unit 101 is triggered to display the second application during the process of the terminal displaying the first application in full screen in the following manner: a floating notification message of the second application is received during the process of the terminal displaying the first application in full screen, and an operation on the floating notification message is detected, and the operation is used to trigger the display of the content of the floating notification message.
[0097] In one embodiment, the determination unit 101 determines that the application type of the first application is the application type that needs to be displayed in the foreground in the following manner: obtain the application package name of the first application; if the application package name of the first application belongs to the target application package name list, determine that the application type of the first application is the application type that needs to be displayed in the foreground.
[0098] In one embodiment, the processing unit 102 is further configured to: if the application type of the first application is an application type that does not need to be displayed in the foreground, run the first application in the background.
[0099] In one embodiment, the first application is an application that provides a navigation function, and the second application is an instant messaging application.
[0100] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0101] Fig.11 2 is a block diagram of a device 200 for application display according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0102] Reference Fig.11 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0103] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0104] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0105] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0106] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0107] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0108] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0109] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0110] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0111] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0112] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0113] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0114] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0115] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0116] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0117] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0118] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. An application display method, characterized in that: include: In response to the terminal being triggered to display a second application during the process of displaying a first application in full screen, determining an application type of the first application; If it is determined that the application type of the first application is an application type that needs to be displayed in the foreground, the first application is switched to a small window mode and the second application is displayed in full screen.
2. The application display method according to claim 1, characterized in that: The terminal is triggered to display a second application during a process of displaying a first application in full screen, including: A floating notification message of a second application is received during full-screen display of a first application on a terminal, and an operation on the floating notification message is detected, wherein the operation is used to trigger display of content of the floating notification message.
3. The application display method according to claim 1 or 2, characterized in that: The determining that the application type of the first application is an application type that needs to be displayed in the foreground includes: Obtaining an application package name of the first application; If the application package name of the first application belongs to the target application package name list, it is determined that the application type of the first application is an application type that needs to be displayed in the foreground.
4. The application display method according to claim 1, characterized in that: The method further comprises: If the application type of the first application is an application type that does not need to be displayed in the foreground, the first application is run in the background.
5. The application display method according to claim 1, characterized in that: The first application is an application that provides a navigation function, and the second application is an instant messaging application.
6. An application display device, characterized in that: include: A determining unit, configured to determine an application type of the first application in response to the terminal being triggered to display a second application during the process of displaying the first application in full screen; A processing unit is used to switch the first application to a small window mode display and display the second application in full screen when the determination unit determines that the application type of the first application is an application type that needs to be displayed in the foreground.
7. The application display device according to claim 6, characterized in that: The determining unit is triggered to display the second application during the process of the terminal displaying the first application in full screen in the following manner: A floating notification message of a second application is received during full-screen display of a first application on a terminal, and an operation on the floating notification message is detected, wherein the operation is used to trigger display of content of the floating notification message.
8. The application display device according to claim 6 or 7, characterized in that: The determining unit determines that the application type of the first application is an application type that needs to be displayed in the foreground in the following manner: Obtaining an application package name of the first application; If the application package name of the first application belongs to the target application package name list, it is determined that the application type of the first application is an application type that needs to be displayed in the foreground.
9. The application display device according to claim 6, characterized in that: The processing unit is also used for: If the application type of the first application is an application type that does not need to be displayed in the foreground, the first application is run in the background.
10. The application display device according to claim 6, characterized in that: The first application is an application that provides a navigation function, and the second application is an instant messaging application.
11. An application display device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the method described in any one of claims 1 to 5.
12. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the method according to any one of claims 1 to 5.