Notification processing method, device, terminal and storage medium
By popping up the notification bar corresponding to a specific window in a multi-window scenario, only displaying the current notification message in the window or the notification message of the current application corresponding to the window, it solves the problem that users find it difficult to find attention to notification messages in a multi-window scenario, and realizes more refined notification message management.
Patent Information
- Application Number
- CN202110868907.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-08-03
- Filing Date
- 2021-07-30
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-07-30
AI Technical Summary
In multi-window scenarios, it is difficult for users to find notification messages that they are following from a large number of notification messages.
By displaying multiple windows in a region in the display screen and responding to the user's preset operations, a notification bar corresponding to a specific window pops up, and only the notification message of the current application corresponding to the window is displayed.
It realizes that only the notification messages that users are concerned about are displayed in multi-window scenarios, avoiding interference from other notification messages, and making it more convenient for users to find the notification messages that they are concerned about.
Smart Images

Figure CN114064166B_ABST
Abstract
Description
[0001] This application claims priority to a Chinese patent application filed with the Chinese Patent Office on August 3, 2020, with application number 202010768422.9 and application name “Notification processing method, device, terminal and storage medium”, the entire contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the technical field of terminal equipment, and in particular to a notification processing method, device, terminal and storage medium. Background Art
[0003] With the development of smart terminals such as mobile phones, the functions of terminals are becoming more and more powerful, and the number of applications installed by users is also increasing. Different applications will have corresponding notification messages, which will cause users to face a large number of notification messages when using the terminals. If the user does not clear the notification messages in time, when faced with a large number of notification messages, it is difficult to find the notification messages that they are concerned about. Summary of the invention
[0004] The technical solution of the present application provides a notification processing method, device, terminal and storage medium, which will display the notification message of the corresponding application or window according to the window in a multi-window scenario, so that users can more easily find the notification message they are concerned about.
[0005] In a first aspect, the technical solution of the present application provides a notification processing method, including: displaying a first window and a second window in a display screen in different areas; in response to a preset operation for the first window, popping up a first notification bar corresponding to the first window, and displaying the current notification message of the first window or the notification message of the current application corresponding to the first window in the first notification bar; if the current notification message of the first window is displayed in the first notification bar, then the first notification bar does not display other notification messages except the current one of the first window; if the first notification bar displays the notification message of the current application corresponding to the first window, then the first notification bar does not display other notification messages except the current one of the first window.
[0006] The notification processing method in the embodiment of the present application, in a multi-window scenario, pops up a notification bar corresponding to a certain window in response to a preset operation for the window, and displays the notification message of the window or the current application corresponding to the window in the notification bar, so as to display only the notification messages that the user is concerned about, thereby avoiding interference with the user by other notification messages, and allowing the user to more conveniently find the notification messages he is concerned about.
[0007] Optionally, before the process of popping up the first notification bar corresponding to the first window in response to a preset operation on the first window, it also includes: displaying a window notification mode selection interface, the window notification mode selection interface includes a first mode option and a second mode option; in response to the selection of the first mode option, using the first mode as the current notification display mode, or, in response to the selection of the second mode option, using the second mode as the current notification display mode; in response to the preset operation on the first window, popping up the first notification bar corresponding to the first window, and displaying the current notification message of the first window or the notification message of the current application corresponding to the first window in the first notification bar. The process includes: in response to the preset operation on the first window, if the current notification display mode is the first mode, then popping up the first notification bar corresponding to the first window, and displaying the current notification message of the first window in the first notification bar; in response to the preset operation on the first window, if the current notification display mode is the second mode, then popping up the first notification bar corresponding to the first window, and displaying the notification message of the current application corresponding to the first window in the first notification bar.
[0008] Optionally, the display screen displays a status bar outside the first window and the second window; the notification processing method also includes: in response to a preset operation on the status bar, popping up a third notification bar, and displaying notification messages of all applications in the third notification bar.
[0009] Optionally, each notification message in the first notification bar is completely displayed in the first notification bar, and at least one notification message in the third notification bar is incompletely displayed in the third notification bar.
[0010] Optionally, displaying notification messages of all applications in the third notification bar includes: displaying preview notification messages belonging to the same application in the third notification bar, and in response to selection of the preview notification message, expanding the preview notification message into multiple fully displayed notification messages.
[0011] Optionally, in response to a preset operation for the first window, a first notification bar corresponding to the first window pops up, and the process of displaying the current notification message of the first window or the notification message of the current application corresponding to the first window in the first notification bar includes: in response to an instruction generated by the preset operation for the first window, obtaining the current information of the first window or the information of the current application corresponding to the first window; obtaining a window notification message set of the corresponding window based on the current information of the first window, or obtaining an application notification message set of the corresponding application based on the information of the current application corresponding to the first window; generating the first notification bar according to the window notification message set or the application notification message set, and displaying the current notification message of the first window or the notification message of the current application corresponding to the first window in the first notification bar.
[0012] Optionally, the preset operation is a sliding gesture operation.
[0013] In a second aspect, the technical solution of the present application provides a notification processing device, including: a processor and a memory, the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the above-mentioned notification processing method is implemented.
[0014] In a third aspect, the technical solution of the present application provides a terminal, including the above-mentioned notification processing device.
[0015] In a fourth aspect, the technical solution of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed on a computer, enables the computer to execute the above-mentioned notification processing method. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of a multi-window scene state;
[0017] Figure 2 A flowchart of a notification processing method in an embodiment of the present application;
[0018] Figure 3 This is a schematic diagram of an interface change of a pop-up first notification bar in an embodiment of the present application;
[0019] Figure 4a This is another schematic diagram of the interface change of the first notification bar popping up in the embodiment of the present application;
[0020] Figure 4b This is another schematic diagram of the interface change of the first notification bar popping up in the embodiment of the present application;
[0021] Figure 5 This is a schematic diagram of an interface change of a second notification bar popping up in an embodiment of the present application;
[0022] Figure 6 This is another schematic diagram of the interface change of popping up the second notification bar in an embodiment of the present application;
[0023] Figure 7 This is a flowchart of another notification processing method in an embodiment of the present application;
[0024] Figure 8 A schematic diagram of a window notification mode selection interface in an embodiment of the present application;
[0025] Fig. 9 This is a flowchart of another notification processing method in an embodiment of the present application;
[0026] Fig.10 This is a schematic diagram of an interface change of a pop-up third notification bar in an embodiment of the present application;
[0027] Fig.11This is an overall architecture flow chart corresponding to a notification processing method in an embodiment of the present application;
[0028] Fig.12 A partial flow chart of a notification processing method in an embodiment of the present application;
[0029] Fig.13 This is a system architecture diagram in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0031] Before specifically introducing the embodiments of the present application, a brief introduction to the scenarios involved in the present application is first given. The terminals involved in the present application may be mobile phones, tablet computers, personal computers (PCs), personal digital assistants (PDAs), smart watches, netbooks, wearable electronic devices, augmented reality (AR) devices, virtual reality (VR) devices, vehicle-mounted devices, smart cars, smart speakers, robots, smart glasses, etc. The terminal has a display screen. As users' demand for large screens increases, the use of multiple windows is becoming more and more frequent, such as Figure 1 As shown, Figure 1 This is a schematic diagram of a multi-window scenario state. The multi-window scenario means that the user opens two windows in the foreground at the same time. The two windows are displayed simultaneously in different areas on the display screen. Each window corresponds to an application. For example, the display screen displays a first window A1 and a second window A2. The user can open a social application to chat in the first window A1 and open a browser application to browse the web in the second window A2. In this multi-window scenario, in the prior art, if the notification is not cleared for a period of time, when the user pulls down the notification bar, a large number of notification messages will be seen, and it is difficult for the user to find the notification he wants. In response to the above problems, the inventor proposed a technical solution of the embodiment of the present application. The technical solution of the embodiment of the present application is described below.
[0032] like Figure 1 , Figure 2 , Figure 3 and Figure 4a As shown, Figure 2 This is a flowchart of a notification processing method in an embodiment of the present application. Figure 3 This is a schematic diagram of an interface change of a pop-up first notification bar in an embodiment of the present application. Figure 4aThis is another schematic diagram of interface changes of a pop-up first notification bar in an embodiment of the present application. An embodiment of the present application provides a notification processing method, including:
[0033] Step 101: Display the first window A1 and the second window A2 in different areas on the display screen, that is, enter the Figure 1 The multi-window scenario shown, it should be noted that the embodiment of the present application only takes the scenario of displaying two windows on the display screen as an example for description, but the number of windows in the multi-window scenario is not limited. In other achievable implementations, a larger number of windows may be displayed on the display screen, for example, three windows;
[0034] Step 102. In response to a preset operation for the first window A1, a first notification bar corresponding to the first window A1 pops up, and the current notification message of the first window A1 or the notification message of the current application corresponding to the first window A1 is displayed in the first notification bar. If the current notification message of the first window A1 is displayed in the first notification bar, then other notification messages except the current one of the first window A1 are not displayed in the first notification bar. If the notification message of the current application corresponding to the first window A1 is displayed in the first notification bar, then other notification messages except the current application corresponding to the first window A1 are not displayed in the first notification bar.
[0035] Specifically, for example, the user performs a pull-down gesture operation on the title bar of the first window A1. When the terminal recognizes the operation, a first notification bar is generated and popped up. For example, the current application corresponding to the first window A1 is a social application B, which has multiple chat windows, and the first window A1 corresponds to the chat window C. Figure 3 In the first notification bar shown, only the current notification message of the first window A1 is displayed, and no other notification messages except for this window are displayed. In this way, when the user focuses on the first window A1 and performs a pull-down gesture operation on the first window A1, the current notification message of the first window A1 can be directly browsed, avoiding the interference of a large number of notification messages in other windows or applications on the user. For example, the first notification bar only displays notification 1 and notification 2 belonging to the chat window C, while notification messages belonging to other chat windows will not be displayed in the first notification bar, and notification messages belonging to other applications will not be displayed in the first notification bar either; similarly, Figure 4aIn the first notification bar shown, only the notification message of the current application corresponding to the first window A1 is displayed, and no other notification messages except the application are displayed. In this way, when the user pays attention to the first window A1 and performs a pull-down gesture operation on the first window A1, the notification message of the current application corresponding to the first window A1 will be directly browsed, avoiding the interference of a large number of notification messages in other applications on the user. For example, the first notification bar only displays notifications 1, 2 and 3 belonging to social application B, wherein notifications 1 and 2 belong to chat window C, and notification 3 belongs to chat window D, but notifications 1, 2 and 3 all belong to social application B, and notification messages belonging to other applications will not be displayed in the first notification bar. Whether the first notification bar specifically displays the notification message of the first window A1 or the notification message of the application corresponding to the first window A1 can be preset or automatically switched based on a policy. It should also be noted that when the display screen displays the first notification bar, the level of the notification bar is higher than the window, and the first window A1 is hidden below the notification bar. If the user controls to hide the first notification bar, the first window A1 will be redisplayed.
[0036] In addition, for the scenario where the notification message of the current application corresponding to the first window A1 is displayed in the first notification bar, it can be further combined with Figure 4b To understand, Figure 4bIn the first notification bar shown, only notification messages of the current application corresponding to the first window A1 are displayed, and no other notification messages except for the application are displayed. In this way, when the user focuses on the first window A1 and performs a pull-down gesture operation on the first window A1, the user will directly browse to the notification messages of the current application corresponding to the first window A1, avoiding the interference of a large number of notification messages from other applications on the user. For example, the first window A1 corresponds to the current application B. In response to the preset operation on the first window A1, the first notification bar corresponding to the first window A1 pops up, and the notification messages of the current application B corresponding to the first window A1 are displayed in the first notification bar, including notification one, notification two, notification three, notification four, notification five, notification six and notification seven, wherein notification one and notification two belong to window a of the current application B corresponding to the first window A1, notification three and notification four belong to window b of the current application B corresponding to the first window A1, notification five, notification six and notification seven belong to window c of the current application B corresponding to the first window A1, wherein, For example, window a may be the first window A1, the current application B is the social application B, the first window A1 and window a are a group chat window a of the social application B, window b is a single chat window b of the social application B with A, and window c is a single chat window c of the social application B with B. In step 101, the windows displayed in different areas on the display screen include the group chat window a of the social application B. In response to a preset operation on the group chat window a, a first notification bar pops up, and only notifications one to seven belonging to the social application B are displayed in the first notification bar, and notification messages belonging to other applications will not be displayed in the first notification bar.
[0037] In one possible implementation, Figure 5 and Figure 6 As shown, Figure 5 This is a schematic diagram of an interface change of a second notification bar popping up in an embodiment of the present application. Figure 6 This is another schematic diagram of the interface changes of the pop-up second notification bar in the embodiment of the present application. The notification processing method also includes: in response to the preset operation for the second window, a second notification bar corresponding to the second window is popped up, and the current notification message of the second window A2 or the notification message of the current application corresponding to the second window is displayed in the second notification bar. If the current notification message of the second window A2 is displayed in the second notification bar, no other notification message except the current one of the second window A2 is displayed in the second notification bar. If the notification message of the current application corresponding to the second window A2 is displayed in the second notification bar, no other notification message except the current application corresponding to the second window A2 is displayed in the second notification bar. For example, the user performs a pull-down gesture operation on the title bar of the second window A2. When the terminal recognizes the operation, a second notification bar is generated and popped up. For example, the current application corresponding to the second window A2 is a browser application E, which has multiple web page windows, and the second window A2 is a web page window F among them. Figure 5In the second notification bar shown, only the current notification message of the second window A2 is displayed, and other notification messages except for the window are not displayed. For example, the second notification bar only displays the notification 4 belonging to the web page window F, while the notification messages belonging to other web page windows are not displayed in the second notification bar, and the notification messages belonging to other applications are also not displayed in the second notification bar; similarly, Figure 6 In the second notification bar shown, only the notification messages of the current application corresponding to the second window A2 are displayed, and no other notification messages except for the application are displayed. For example, the second notification bar only displays notification four and notification five belonging to browser application E, where notification four belongs to web page window F and notification five belongs to web page window G. However, notification four and notification five both belong to browser application E, and notification messages belonging to other applications will not be displayed in the second notification bar.
[0038] The notification processing method in the embodiment of the present application, in a multi-window scenario, pops up a notification bar corresponding to a certain window in response to a preset operation for the window, and displays the current notification message of the window or the notification message of the current application corresponding to the window in the notification bar, so as to display only the notification messages that the user is concerned about, thereby avoiding interference with the user by other notification messages, and allowing the user to more conveniently find the notification messages he is concerned about.
[0039] In one possible implementation, Figure 7 and Figure 8 As shown, Figure 7 FIG. 1 is a flow chart of another notification processing method in an embodiment of the present application. Figure 8 This is a schematic diagram of a window notification mode selection interface in an embodiment of the present application. Before the above step 102, in response to a preset operation on the first window A1, a process of popping up a first notification bar corresponding to the first window A1, it also includes:
[0040] Step 201: Display a window notification mode selection interface, which includes a first mode option and a second mode option. For example, Figure 8 In the window notification mode selection interface, the text description corresponding to the first mode option is "Show notifications for the current window", and the text description corresponding to the second mode option is "Show notifications for the current application";
[0041] Step 202: In response to the selection of the first mode option, the first mode is used as the current notification display mode, or, in response to the selection of the second mode option, the second mode is used as the current notification display mode;
[0042] Step 102, in response to a preset operation on the first window A1, a first notification bar corresponding to the first window A1 is popped up, and a process of displaying a current notification message of the first window or a notification message of the current application corresponding to the first window in the first notification bar includes:
[0043] Step 1021, in response to the preset operation for the first window A1, determine whether the current notification display mode belongs to the first mode or the second mode, if the current notification display mode is the first mode, proceed to step 1022, if the current notification display mode is the second mode, proceed to step 1023;
[0044] Step 1022: pop up a first notification bar corresponding to the first window A1, and display the current notification message of the first window A1 in the first notification bar. The specific process is the same as Figure 3 The illustrated process is the same, that is, if the user selects the first mode in the window notification mode selection interface, the first notification bar that pops up subsequently will display the current notification message of the first window A1;
[0045] Step 1023: pop up a first notification bar corresponding to the first window A1, and display the notification message of the current application corresponding to the first window A1 in the first notification bar. The specific process is the same as Figure 4a The process shown is the same, that is, if the user selects the second mode in the window notification mode selection interface, the first notification bar that pops up subsequently will display the notification message of the current application corresponding to the first window A1.
[0046] Specifically, in Figure 7 In the method shown, step 201, the process of displaying the window notification mode selection interface can be executed in a multi-window scenario or before entering a multi-window scenario. The user can enter the interface at any time to select and switch the window notification mode. In addition, when the second notification bar pops up, the display logic of the second notification bar can also be displayed according to the current window notification mode, that is, if the current window notification mode is the first mode, the second notification bar displays the current notification message of the second window A2, and if the current window notification mode is the second mode, the second notification bar displays the notification message of the current application corresponding to the second window A2. The display logic of the notification bar corresponding to the window can be switched according to the user's selection to achieve flexible configuration of the notification bar display to meet the needs of the user.
[0047] In one possible implementation, Fig. 9 and Fig.10 As shown, Fig. 9 FIG. 1 is a flow chart of another notification processing method in an embodiment of the present application. Fig.10This is a schematic diagram of an interface change of a pop-up third notification bar in an embodiment of the present application. The display screen displays a status bar A3 outside the first window A1 and the second window A2. The status bar A3 may be located at the edge of the display screen. The above method further includes:
[0048] Step 103 : In response to a preset operation on the status bar A3 , a third notification bar is popped up, and notification messages of all applications are displayed in the third notification bar.
[0049] Specifically, when the user wants to view the notification messages he is concerned about, he can perform a preset operation on a certain window to pop up the notification bar corresponding to the window to display the notification messages of the current window or the notification messages of the current application corresponding to the window. When the user wants to view all notification messages, he can perform a preset operation on the status bar A3, such as performing a pull-down gesture operation on the status bar A3. At this time, in response to the operation, a third notification bar will pop up, and notification messages of all applications will be displayed in this notification bar, so that the user can find other notifications outside the current window,
[0050] In one possible implementation, Figure 3 As shown, each notification message in the first notification bar is completely displayed in the first notification bar, such as Fig.10 As shown, at least one notification message in the third notification bar is not completely displayed in the third notification bar. Since the first notification bar is only used to display notification messages corresponding to one window or one application, and the number of notification messages is relatively small, in order to facilitate users to read notifications more intuitively, each notification message can be fully displayed in the first notification bar, and the third notification bar is used to display notification messages of all applications, which may result in the number of notification messages that need to be displayed. Therefore, the notification messages can be displayed incompletely by folding the notification messages, so that users can read more notification messages within the limited notification bar range.
[0051] In an achievable implementation, the process of displaying notification messages of all applications in the third notification bar in step 103 includes: displaying preview notification messages belonging to the same application in the third notification bar, and in response to selection of the preview notification message, expanding the preview notification message into multiple fully displayed notification messages.
[0052] Specifically, Fig.10As shown, for example, the notification messages displayed in the third notification bar include a first application preview notification message, a second application preview notification message and a third application preview notification message, each of which is only used to preview notification messages belonging to the same application, so that the user can browse notification messages of all applications. When the user clicks to select the first application preview notification message, the first application preview notification message will expand to display all specific notification messages of the first application.
[0053] In one possible implementation, Fig.11 As shown, Fig.11 This is a flowchart of the overall architecture corresponding to a notification processing method in an embodiment of the present application. The overall process of the notification processing method in an embodiment of the present application includes:
[0054] Step 301: The user performs a sliding window operation on the input device of the terminal;
[0055] Specifically, for example, the input device is a touch screen of the terminal, and the user performs a window sliding operation on the first window A1 on the touch screen.
[0056] Step 302: the input device sends a command to the processor;
[0057] Specifically, when the user performs a sliding window operation on the first window A1, the input device generates a corresponding instruction and sends the instruction to the processor of the terminal;
[0058] Step 303: The processor sends instructions to the operating system;
[0059] Specifically, the processor converts the instructions generated by the input device into recognizable instructions and sends them to the operating system;
[0060] Step 304: the operating system generates an interface to be displayed;
[0061] Specifically, the operating system generates an interface to be displayed according to the instruction, including the notification bar to be displayed. The specific process includes the above step 102, such as Fig.12 and Fig.13 As shown, Fig.12 This is a partial flow chart of a notification processing method in an embodiment of the present application. Fig.13 This is a system architecture diagram in an embodiment of the present application. In the above step 102, in response to a preset operation on the first window A1, a first notification bar corresponding to the first window A1 is popped up, and the process of displaying the current notification message of the first window A1 or the notification message of the current application corresponding to the first window A1 in the first notification bar may include:
[0062] Step 3041: In response to an instruction generated by a preset operation on the first window A1, obtain current information of the first window A or information of a current application corresponding to the first window A1;
[0063] Step 3042: acquiring a window notification message set of a corresponding window based on the current information of the first window A1, or acquiring an application notification message set of a corresponding application based on the information of the current application corresponding to the first window A1;
[0064] Step 3043: Generate a first notification bar according to the window notification message set or the application notification message set, and display the current notification message of the first window A1 or the notification message of the current application corresponding to the first window A1 in the first notification bar.
[0065] Specifically, for example, in the Android system, the window sliding down event is monitored, that is, whether the instruction generated by the preset operation for the first window A1 is received. If the instruction is received, that is, the window sliding down event is monitored, the corresponding information of the window is obtained. It should be noted that it is also necessary to obtain the current window notification mode from the setting database through the setting module to determine whether it is the first mode or the second mode. The current window notification mode determines whether the subsequent notification bar displays the notification message of the current window or the notification message of the current application. After monitoring the event, the window top-level view module DecorView in the mobile window module PhoneWindow will transmit the information of the current page of the corresponding window and the information of the current application process to the system process SystemServer. The notification management service (Notification ManagerService, NMS) in the SystemServer obtains all the current notification message sets of the window and all the notification message sets of the current application corresponding to the window according to the current window notification mode. The system user interface (User The system interface (UI) module obtains whether the current window notification mode is the first mode or the second mode from the setting database through the setting module. If the current window notification mode is the first mode, all notification message sets of the current window in the NMS are called and a first notification bar is generated according to the notification message set. If the current window notification module is the second mode, all notification message sets of the current application in the NMS are called and a first notification bar is generated according to the set, that is, an interface to be displayed is generated, and the interface includes the generated first notification bar, wherein the setting module and the system UI module belong to the application layer, and PhoneWindow and SystemServer belong to the framework layer Framework.
[0066] like Fig.11As shown, after step 304, the method further includes: step 305, the operating system sends data to the display screen, that is, the generated display data corresponding to the interface to be displayed including the first notification bar is sent to the display screen;
[0067] Step 306: The display screen displays a notification bar to show the notification bar to the user.
[0068] In one feasible implementation, the preset operation is a downward gesture operation. In other feasible implementations, the preset operation may also be other operations, as long as the operation object can be identified and distinguished. It can be determined whether the object of the preset operation is a window or a status bar, and it can be determined which specific window the object of the preset operation is.
[0069] An embodiment of the present application also provides a notification processing device, including: a processor and a memory, the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the notification processing method in the above embodiments is implemented.
[0070] Among them, the number of processors can be one or more, and the processor and memory can be connected through a bus or other means. The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs and modules. The processor executes various functional applications and data processing by running the non-transitory software programs, instructions and modules stored in the memory, that is, implementing the method in any of the above method embodiments. The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; and necessary data, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device.
[0071] The present application also provides a terminal, including the notification processing device in the above embodiment. The terminal can be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, a wearable electronic device, an augmented reality (AR) device, a virtual reality (VR) device, a vehicle-mounted device, a smart car, a smart speaker, a robot, smart glasses, etc.
[0072] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the notification processing method in the above embodiment.
[0073] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.
[0074] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0075] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A notification processing method, characterized in that: include: Displaying a first window and a second window in different areas on the display screen; In response to a preset operation on the first window, a first notification bar corresponding to the first window is popped up, the first notification bar covers the first window and the second window, and a current notification message of the first window or a notification message of the current application corresponding to the first window is displayed in the first notification bar according to the window notification mode; If the first notification bar displays the current notification message of the first window, the first notification bar does not display other notification messages except the current notification message of the first window; If the first notification bar displays a notification message of the current application corresponding to the first window, the first notification bar does not display other notification messages except for the current application corresponding to the first window; In response to a preset operation on the second window, a second notification bar corresponding to the second window is popped up, the second notification bar covers the first window and the second window, and a current notification message of the second window or a notification message of the current application corresponding to the second window is displayed in the second notification bar according to the window notification mode; If the second notification bar displays the current notification message of the second window, the second notification bar does not display other notification messages except the current notification message of the second window; If the second notification bar displays a notification message of the current application corresponding to the second window, the second notification bar does not display other notification messages except for the current application corresponding to the second window.
2. The method according to claim 1, characterized in that Before the process of popping up a first notification bar corresponding to the first window in response to a preset operation on the first window, the process further includes: Displaying a window notification mode selection interface, wherein the window notification mode selection interface includes a first mode option and a second mode option; In response to the selection of the first mode option, the first mode is used as the current notification display mode, or, in response to the selection of the second mode option, the second mode is used as the current notification display mode; The process of popping up a first notification bar corresponding to the first window in response to a preset operation on the first window, the first notification bar covering the first window and the second window, and displaying a current notification message of the first window or a notification message of a current application corresponding to the first window in the first notification bar according to a window notification mode includes: In response to a preset operation on the first window, if the current notification display mode is the first mode, popping up a first notification bar corresponding to the first window, and displaying the current notification message of the first window in the first notification bar; In response to a preset operation on the first window, if the current notification display mode is the second mode, a first notification bar corresponding to the first window is popped up, and a notification message of the current application corresponding to the first window is displayed in the first notification bar.
3. The method according to claim 2, characterized in that The display screen displays a status bar outside the first window and the second window; The method further comprises: In response to a preset operation on the status bar, a third notification bar is popped up, and notification messages of all applications are displayed in the third notification bar.
4. The method according to claim 3, characterized in that: Each notification message in the first notification bar is completely displayed in the first notification bar, and at least one notification message in the third notification bar is incompletely displayed in the third notification bar.
5. The method according to claim 4, characterized in that The displaying of notification messages of all applications in the third notification bar includes: A preview notification message belonging to the same application is displayed in the third notification bar, and in response to a selection of the preview notification message, the preview notification message is expanded into a plurality of fully displayed notification messages.
6. The method according to claim 1, characterized in that The process of popping up a first notification bar corresponding to the first window in response to a preset operation on the first window, and displaying a current notification message of the first window or a notification message of a current application corresponding to the first window in the first notification bar includes: In response to an instruction generated by a preset operation on the first window, obtaining current information of the first window or information of a current application corresponding to the first window; Acquire a window notification message set of a corresponding window based on the current information of the first window, or acquire an application notification message set of a corresponding application based on the information of a current application corresponding to the first window; A first notification bar is generated according to the window notification message set or the application notification message set, and a current notification message of the first window or a notification message of a current application corresponding to the first window is displayed in the first notification bar.
7. The method according to claim 1, characterized in that The preset operation is a sliding gesture operation.
8. A notification processing device, characterized in that: include: A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, it implements the notification processing method according to any one of claims 1 to 7.
9. A terminal, characterized in that: The invention comprises a notification processing device as claimed in claim 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the notification processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Prompting method of notification message, terminals and computer-readable storage medium
CN108345483A
Management of a plurality of free windows in pull-down menu of notification bar
CN109923507A
Cited By
Notification processing method and apparatus, and terminal and storage medium
EP4187379B1