WO2022028352A1 - 通知处理方法、装置、终端和存储介质 - Google Patents

通知处理方法、装置、终端和存储介质 Download PDF

Info

Publication number
WO2022028352A1
WO2022028352A1 PCT/CN2021/109990 CN2021109990W WO2022028352A1 WO 2022028352 A1 WO2022028352 A1 WO 2022028352A1 CN 2021109990 W CN2021109990 W CN 2021109990W WO 2022028352 A1 WO2022028352 A1 WO 2022028352A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification
window
bar
current
displayed
Prior art date
Application number
PCT/CN2021/109990
Other languages
English (en)
French (fr)
Inventor
韩国辉
刘彬
王波
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110868907.XA external-priority patent/CN114064166A/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to US18/040,359 priority Critical patent/US12118176B2/en
Priority to EP21853705.8A priority patent/EP4187379A4/en
Publication of WO2022028352A1 publication Critical patent/WO2022028352A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • the present application relates to the technical field of terminal equipment, and in particular, to a notification processing method, apparatus, terminal, and storage medium.
  • the technical solution of the present application provides a notification processing method, device, terminal and storage medium.
  • notification messages of the corresponding application or window will be displayed according to the window, so that users can more easily find the ones they care about. notification message.
  • the technical solution of the present application provides a notification processing method, including: displaying a first window and a second window in different areas on a display screen; in response to a preset operation for the first window, pop-up corresponding to the first window
  • the first notification bar, the current notification message of the first window or the notification message of the current application corresponding to the first window is displayed in the first notification bar; if the current notification message of the first window is displayed in the first notification bar, the first notification message No other notification messages other than the current one of the first window are displayed in the notification bar; if the notification message of the current application corresponding to the first window is displayed in the first notification bar, then no other notification messages except the current one corresponding to the first window are displayed in the first notification bar. Additional notification messages outside of the app.
  • a notification bar corresponding to the window is popped up, and the window or the corresponding window is displayed in the notification bar
  • the notification message of the current application is displayed, so that only the notification message that the user is concerned about is displayed, thereby avoiding the interference of other notification messages to the user, and making it easier for the user to find the notification message that he is concerned about.
  • the method further includes: displaying a window notification mode selection interface, where the window notification mode selection interface includes the first mode. options and second mode options; first mode as the current notification display mode in response to selection of the first mode option, or second mode as the current notification display mode in response to selection of the second mode option ;
  • the window notification mode selection interface includes the first mode. options and second mode options; first mode as the current notification display mode in response to selection of the first mode option, or second mode as the current notification display mode in response to selection of the second mode option ;
  • pop up the first notification bar corresponding to the first window and display the current notification message of the first window or the notification of the current application corresponding to the first window in the first notification bar
  • the process of the message includes: in response to a preset operation for 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 first window in the first notification bar
  • the current notification message in response to the preset operation for the first window, if the current notification display mode
  • the display screen displays a status bar outside the first window and the second window; the notification processing method further includes: in response to a preset operation for the status bar, popping up a third notification bar, and displaying all the notifications in the third notification bar.
  • the notification message for the app is not limited to a preset operation for the status bar.
  • 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.
  • 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 expanding the preview notification messages into multiple pieces in response to selection of the preview notification message. The complete display of the notification message.
  • a first notification bar corresponding to the first window pops up, and the current notification message of the first window or the current notification message corresponding to the first window is displayed in the first notification bar.
  • the process of the notification message of the application includes: in response to an instruction generated by a preset operation for the first window, obtaining current information of the first window or information of the current application corresponding to the first window; obtaining corresponding information based on the current information of the first window.
  • the window notification message set of the window, or the application notification message set of the corresponding application is obtained based on the information of the current application corresponding to the first window; the first notification bar is generated according to the window notification message set or the application notification message set, and displayed in the first notification bar The current notification message of the first window or the notification message of the current application corresponding to the first window.
  • the preset operation is a swipe gesture operation.
  • the technical solution of the present application provides a notification processing device, comprising: a processor and a memory, the memory is used for storing at least one instruction, and the instruction is loaded and executed by the processor to implement the above notification processing method.
  • the technical solution of the present application provides a terminal, including the above notification processing apparatus.
  • the technical solution of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, the computer executes the above notification processing method.
  • Fig. 1 is a kind of multi-window scene state schematic diagram
  • FIG. 2 is a schematic flowchart of a notification processing method in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an interface change for popping up a first notification bar in an embodiment of the application
  • 4a is a schematic diagram of another interface change of popping up a first notification bar in an embodiment of the present application.
  • 4b is a schematic diagram of another interface change of popping up the first notification bar in the embodiment of the present application.
  • FIG. 5 is a schematic diagram of an interface change for popping up a second notification bar in an embodiment of the present application
  • FIG. 6 is a schematic diagram of another interface change of popping up a second notification bar in an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another notification processing method in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a window notification mode selection interface in an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another notification processing method in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an interface change of popping up a third notification bar in an embodiment of the application.
  • FIG. 11 is a flowchart of an overall architecture corresponding to a notification processing method in an embodiment of the present application.
  • FIG. 12 is a schematic partial flowchart of a notification processing method in an embodiment of the present application.
  • FIG. 13 is a system architecture diagram in an embodiment of the present application.
  • the terminals involved in this application may be mobile phones, tablet computers, personal computers (PCs), personal digital assistants (PDAs), smart watches, netbooks, wearable electronic devices, augmented reality technology (augmented reality, AR) devices, virtual reality (VR) devices, in-vehicle devices, smart cars, smart speakers, robots, smart glasses, etc.
  • the terminal has a display screen.
  • Figure 1 is a schematic diagram of the state of a multi-window scenario.
  • the user opens two windows at the same time in the foreground, and the two windows are displayed simultaneously in different areas on the display screen.
  • Each window corresponds to an application.
  • the first window A1 and the second window A2 are displayed on the display screen.
  • Open the social application chat in A1 and at the same time open the browser application in the second window A2 to browse the web page.
  • 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 users to find the notifications they want.
  • the inventor proposes the technical solutions of the embodiments of the present application, and the technical solutions of the embodiments of the present application are described below.
  • FIG. 2 is a schematic flowchart of a notification processing method in an embodiment of the application
  • FIG. 3 is an interface change of popping up a first notification bar in an embodiment of the application
  • 4a is a schematic diagram of another interface change of popping up a first notification bar in an embodiment of the present application.
  • An embodiment of the present application provides a notification processing method, including:
  • Step 101 Display the first window A1 and the second window A2 in different areas on the display screen, that is, enter the multi-window scene as shown in FIG.
  • a window is used as an example for description, but the number of windows in a multi-window scenario is not limited. In other achievable implementations, a larger number of windows can be displayed on the display screen, for example, three windows can be displayed;
  • Step 102 In response to the preset operation for the first window A1, a first notification bar corresponding to the first window A1 is popped up, and the current notification message of the first window A1 or the message corresponding to the first window A1 is displayed in the first notification bar.
  • the notification message of the current application if the current notification message of the first window A1 is displayed in the first notification bar, other notification messages other than the current notification message of the first window A1 will not be displayed in the first notification bar.
  • the notification message of the current application corresponding to the first window A1, other notification messages other than the current application corresponding to the first window A1 are not displayed in the first notification bar.
  • the user performs a pull-down gesture operation on the title bar of the first window A1, and when the terminal recognizes the operation, it will generate and pop up a first notification bar.
  • the current application corresponding to the first window A1 is a social application B
  • the first window A1 corresponds to the chat window C
  • the first notification bar shown in FIG. 3 only displays the current notification message of the first window A1, which will not display any other than this window.
  • the user pays attention to the first window A1 and performs a pull-down gesture operation for the first window A1 he will directly browse to the current notification message of the first window A1, avoiding a large number of notifications in other windows or applications.
  • notification 1 and notification 2 belonging to the chat window C are displayed in the first notification bar, while notification messages belonging to other chat windows will not be displayed in the first notification bar, and notification messages belonging to other applications Likewise, it will not be displayed in the first notification bar; similarly, in the first notification bar shown in FIG. 4a, only the notification message of the current application corresponding to the first window A1 will be displayed, and no other than the application will be displayed. other notification messages.
  • the user pays attention to the first window A1 and performs a pull-down gesture operation on the first window A1 he will browse directly to the notification messages of the current application corresponding to the first window A1, avoiding a large number of notification messages in other applications.
  • notification 1 and notification 2 and notification 3 belonging to social application B are displayed in the first notification bar, where notification 1 and notification 2 belong to chat window C, and notification 3 belongs to chat window D, but notification 1, notification Both the second and the third notification belong to the social application B, and the notification messages belonging to other applications will not be displayed in the first notification bar.
  • 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 may be preset or automatically switched based on a policy.
  • the display screen displays the first notification bar, the level of the notification bar is higher than that of the window, and the first window A1 is hidden under the notification bar. If the user controls to hide the first notification bar, the first notification bar will be displayed again. Window A1.
  • the scenario in which the notification message of the current application corresponding to the first window A1 is displayed in the first notification bar can be further understood in conjunction with FIG. 4b.
  • the first notification bar shown in FIG. 4b only the message corresponding to the first window A1 is displayed.
  • the notification message of the current application in which other notification messages other than the application will not be displayed.
  • the user pays attention to the first window A1 and performs a pull-down gesture operation on the first window A1 he will browse directly to the first window A1
  • the corresponding notification message of the current application avoids interference to the user by notification messages in a large number of other applications.
  • the first window A1 corresponds to the current application B.
  • a first notification bar corresponding to the first window A1 pops up, and the current application corresponding to the first window A1 is displayed in the first notification bar.
  • the notification messages of B include notification 1, notification 2, notification 3, notification 4, notification 5, notification 6 and notification 7, wherein notification 1 and notification 2 belong to window a of the current application B corresponding to the first window A1, notification 3
  • the notification 4 belongs to the window b of the current application B corresponding to the first window A1, and the notification 5, the notification 6 and the notification 7 belong to the window c of the current application B corresponding to the first window A1, wherein, for example, the window a can be the first window A1 , the current application B is a social application B, the first window A1 and window a are a group chat window a of the social application B, the window b is the single-person chat window b of the social application B and A, and the window c is the social application B's chat window b With B's single chat window c, in step 101, the
  • FIG. 5 is a schematic diagram of an interface change for popping up a second notification bar in an embodiment of the application
  • FIG. 6 is another pop-up in an embodiment of the application.
  • a schematic diagram of an interface change of the second notification bar the above notification processing method further includes: in response to a preset operation for the second window, popping up a second notification bar corresponding to the second window, and displaying the second window A2 in the second notification bar The current notification message or the notification message of the current application corresponding to the second window, if the current notification message of the second window A2 is displayed in the second notification bar, other than the current notification message of the second window A2 is not displayed in the second notification bar Notification message, if the notification message of the current application corresponding to the second window A2 is displayed in the second notification bar, other notification messages other than the current application corresponding to the second window A2 are not displayed in the second notification bar.
  • the user performs a pull-down gesture operation on the title bar of the second window A2, and when the terminal recognizes the operation, it will generate and pop up a second notification bar.
  • the current application corresponding to the second window A2 is the browser application E
  • the second window A2 is the webpage window F therein.
  • the second notification bar shown in FIG. 5 only the current notification message of the second window A2 is displayed, and other than this window will not be displayed.
  • Notification messages for example, the second notification bar only displays the notification four belonging to the webpage window F, and the notification messages belonging to other webpage windows will not be displayed in the second notification bar, and the notification messages belonging to other applications will also not be displayed in the same.
  • the second notification bar similarly, in the second notification bar shown in FIG. 6, only the notification message of the current application corresponding to the second window A2 is displayed, and other notification messages other than the application will not be displayed, such as the first 2. Only notification 4 and notification 5 belonging to browser application E are displayed in the notification bar, among which notification 4 belongs to webpage window F, and notification 5 belongs to webpage window G, but both notification 4 and notification 5 belong to browser application E, but belong to other applications. will not be displayed in this secondary notification bar.
  • a notification bar corresponding to the window is popped up, and the current notification of the window is displayed in the notification bar message or the notification message of the current application corresponding to the window, so as to display only the notification message that the user is concerned about, thereby avoiding the interference of other notification messages to the user, and making it easier for the user to find the notification message that he is concerned about.
  • FIG. 7 is a schematic flowchart of another notification processing method in an embodiment of the application
  • FIG. 8 is a window notification mode selection in an embodiment of the application
  • the schematic diagram of the interface, before the process of popping up the first notification bar corresponding to the first window A1 in response to the preset operation for the first window A1 in the above step 102, further includes:
  • Step 201 displaying a window notification mode selection interface
  • the window notification mode selection interface includes a first mode option and a second mode option, for example, the text description corresponding to the first mode option in the window notification mode selection interface of FIG. "Notifications”, the text description corresponding to the second mode option is "Display the notifications of the current application";
  • Step 202 in response to the selection of the first mode option, use the first mode as the current notification display mode, or, in response to the selection of the second mode option, use the second mode as the current notification display mode;
  • Step 102 in response to the preset operation for the first window A1, pop up a first notification bar corresponding to the first window A1, and display the current notification message of the first window or the current application corresponding to the first window in the first notification bar
  • the process of notification messages includes:
  • 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, then enter step 1022, if the current notification display mode If the display mode is the second mode, enter step 1023;
  • Step 1022 pop up the 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 that shown in FIG. 3, that is, if the user is in the window If the first mode is selected in the notification mode selection interface, then the first notification bar that pops up subsequently corresponds to the current notification message of the first window A1;
  • Step 1023 Pop up the 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 the process shown in FIG. 4a, that is, If the user selects the second mode in the window notification mode selection interface, the subsequent pop-up first notification bars all correspondingly display the notification message of the current application corresponding to the first window A1.
  • step 201 the process of displaying the window notification mode selection interface can be performed in a multi-window scenario or before entering a multi-window scenario, and the user can enter the interface at any time to notify the window notification mode. Select and switch.
  • 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 is displayed.
  • the notification bar displays the current notification message of the second window A2. 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, so as to realize the flexible configuration of the display of the notification bar and adapt to the needs of the user.
  • FIG. 9 is a schematic flowchart of another notification processing method in an embodiment of the present application
  • FIG. 10 is a pop-up third method in an embodiment of the present application.
  • Step 103 In response to the 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.
  • a notification bar corresponding to the window through a preset operation for the window, so as to display the notification message of the current window of the window or the corresponding notification message of the window.
  • Notification messages of the current application and when the user wants to view all notification messages, he can perform a preset operation on the status bar A3, for example, perform a pull-down gesture operation on the status bar A3.
  • a third Notification bar in which notification messages of all applications will be displayed, so that users can find other notifications outside the current window.
  • each notification message in the first notification bar is completely displayed in the first notification bar, and as shown in FIG. 10 , at least one notification in the third notification bar The message is incompletely 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 in it is small, in order to facilitate the user to read the notifications more intuitively, each notification can be completely displayed in the first notification bar
  • the third notification bar is used to display notification messages of all applications, so it may lead to the number of notification messages that need to be displayed. Users can read a larger number of notification messages within the limited notification bar.
  • 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 the preview notification messages being displayed in the third notification bar selection to expand the preview notification message into multiple fully displayed notification messages.
  • the notification messages displayed in the third notification bar include the first application preview notification message, the second application preview notification message and the third application preview notification message, each of which only uses In order to preview the notification messages belonging to the same application, so that the user can browse the notification messages of all applications, when the user, for example, clicks and selects the first application preview notification message, the first application preview notification message will expand and display all the first application’s notification messages. specific notification message.
  • FIG. 11 is a flowchart of the overall architecture corresponding to a notification processing method in an embodiment of the present application.
  • the overall flow of the notification processing method in the embodiment of the present application includes:
  • Step 301 the user performs a sliding window operation on the input device of the terminal
  • the input device is a touch screen of a terminal, and the user performs a sliding window operation for the first window A1 on the touch screen.
  • Step 302 the input device sends an instruction to the processor
  • the input device 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;
  • Step 303 the processor sends an instruction to the operating system
  • the processor converts the instructions generated by the input device into identifiable instructions and sends them to the operating system
  • Step 304 the operating system generates an interface to be displayed
  • the operating system generates an interface to be displayed according to the instruction, which includes the notification bar to be displayed, and the specific process includes the above-mentioned step 102, as shown in FIG. 12 and FIG. 13
  • FIG. 12 is a notification in an embodiment of the application
  • FIG. 13 is a system architecture diagram in an embodiment of the application.
  • a first notification bar corresponding to the first window A1 is popped up,
  • 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:
  • Step 3041 in response to the command generated by the preset operation for the first window A1, obtain the current information of the first window A or the information of the current application corresponding to the first window A1;
  • Step 3042 Obtain the window notification message set of the corresponding window based on the current information of the first window A1, or obtain the application notification message set of the corresponding application based on the information of the current application corresponding to the first window A1;
  • 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.
  • the window sliding event is monitored, that is, whether an instruction generated by a preset operation for the first window A1 is received, and if the instruction is received, that is, the window sliding event is monitored, then the The information corresponding to the window, it should be noted that, at the same time, it is also necessary to obtain the current window notification mode from the setting database through the setting module, whether it is the first mode or the second mode, and the current window notification mode determines the subsequent notification bar.
  • the notification message of the current window is still the notification message of the current application.
  • the top-level window view module DecorView in the mobile phone 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, SystemServer
  • the Notification Manager Service 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 Interface, UI
  • the module obtains from the setting database whether the current window notification mode is the first mode or the second mode.
  • the current window notification mode calls all the notification message sets of the current window in the NMS and generates them according to the notification message set
  • the first notification bar if the current window notification module is the second mode, call all the notification message sets of the current application in the NMS and generate the first notification bar according to the set, that is, generate the interface to be displayed, and the interface includes the generated The first notification bar, wherein the setting module and the system UI module belong to the application layer, and the PhoneWindow and SystemServer belong to the framework layer Framework.
  • step 304 it also 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;
  • Step 306 the display screen displays a notification bar to show the notification bar to the user.
  • the above-mentioned preset operation is a sliding gesture operation.
  • the preset operation can also be other operations, as long as the operation object can be identified and distinguished, the preset operation can be determined. Whether the object of the operation is the window or the status bar, and determine which window the object of the preset operation is.
  • Embodiments of the present application further provide a notification processing apparatus, including: a processor and a memory, where the memory is used to store at least one instruction, which, when loaded and executed by the processor, implements the notification processing methods in the foregoing embodiments.
  • the number of processors may be one or more, and the processors and the memory may be connected by a bus or in other ways.
  • the memory can be used to store non-transitory software programs, non-transitory computer-executable programs and modules.
  • the processor runs the non-transitory software programs, instructions and modules stored in the memory. , so as to perform various functional applications and data processing, that is, to implement the methods in any of the above method embodiments.
  • the memory may include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function; and necessary data and the like. Additionally, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • An embodiment of the present application further provides a terminal, including the notification processing apparatus in the foregoing embodiment.
  • the terminal may specifically 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, Virtual reality (VR) devices, in-vehicle devices, smart cars, smart speakers, robots, smart glasses, etc.
  • Embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program runs on the computer, the computer executes the notification processing method in the foregoing embodiment.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • 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.
  • the computer program instructions when loaded and executed on a computer, result in whole or in part of the processes or functions described herein.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk), and the like.
  • “at least one” refers to one or more, and “multiple” refers to two or more.
  • “And/or”, which describes the association relationship of the associated objects means that there can be three kinds of relationships, for example, A and/or B, which can indicate the existence of A alone, the existence of A and B at the same time, and the existence of B alone. where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are 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.
  • At least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple.

Landscapes

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

Abstract

本申请实施例提供一种通知处理方法、装置、终端和存储介质,涉及终端设备技术领域,在多窗口的场景下会根据窗口显示所对应的应用或窗口的通知消息,使用户可以更方便地找到自己所关注的通知消息。通知处理方法,包括:在显示屏中分区域显示第一窗口和第二窗口;响应于针对第一窗口的预设操作,弹出与第一窗口对应的第一通知栏,在第一通知栏中显示第一窗口当前的通知消息或第一窗口对应的当前应用的通知消息。

Description

通知处理方法、装置、终端和存储介质
本申请要求于2020年8月3日提交中国专利局、申请号为202010768422.9、申请名称为“通知处理方法、装置、终端和存储介质”,以及2021年7月30日提交中国专利局、申请号为202110868907.X、申请名称为“通知处理方法、装置、终端和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端设备技术领域,特别涉及一种通知处理方法、装置、终端和存储介质。
背景技术
随着手机等智能终端的发展,终端的功能越来越强大,用户所安装的应用数量也越来越多,不同的应用都会具有对应的通知消息,这就会导致用户在使用终端时,可能会面对大量的通知消息,如果用户没有及时清理通知消息,当面对大量的通知消息时,很难从其中找到自己所关注的通知消息。
发明内容
本申请技术方案提供了一种通知处理方法、装置、终端和存储介质,在多窗口的场景下会根据窗口显示所对应的应用或窗口的通知消息,使用户可以更方便地找到自己所关注的通知消息。
第一方面,本申请技术方案提供了一种通知处理方法,包括:在显示屏中分区域显示第一窗口和第二窗口;响应于针对第一窗口的预设操作,弹出与第一窗口对应的第一通知栏,在第一通知栏中显示第一窗口当前的通知消息或第一窗口对应的当前应用的通知消息;若第一通知栏中显示第一窗口当前的通知消息,则第一通知栏中不显示除第一窗口当前之外的其他通知消息;若第一通知栏中显示第一窗口对应的当前应用的通知消息,则第一通知栏中不显示除第一窗口对应的当前应用之外的其他通知消息。
本申请实施例中的通知处理方法,在多窗口的场景下,通过响应于针对某个窗口的预设操作,弹出与该窗口对应的通知栏,并在该通知栏中显示该窗口或窗口对应的当前应用的通知消息,以实现仅显示用户关注的通知消息,从而避免了其他通知消息对用户的干扰,使用户可以更方便地找到自己所关注的通知消息。
可选地,在响应于针对第一窗口的预设操作,弹出与第一窗口对应的第一通知栏的过程之前,还包括:显示窗口通知模式选择界面,窗口通知模式选择界面包括第一模式选项和第二模式选项;响应于对第一模式选项的选择,将第一模式作为当前的通知显示模式,或者,响应于对第二模式选项的选择,将第二模式作为当前的通知显示 模式;响应于针对所述第一窗口的预设操作,弹出与第一窗口对应的第一通知栏,在第一通知栏中显示第一窗口当前的通知消息或第一窗口对应的当前应用的通知消息的过程包括:响应于针对第一窗口的预设操作,若当前的通知显示模式为第一模式,则弹出与第一窗口对应的第一通知栏,在第一通知栏中显示第一窗口当前的通知消息;响应于针对第一窗口的预设操作,若当前的通知显示模式为第二模式,则弹出与第一窗口对应的第一通知栏,在第一通知栏中显示第一窗口对应的当前应用的通知消息。
可选地,显示屏在第一窗口和第二窗口之外显示状态栏;通知处理方法还包括:响应于针对状态栏的预设操作,弹出第三通知栏,在第三通知栏中显示所有应用的通知消息。
可选地,第一通知栏中的每条通知消息完整显示在所述第一通知栏中,第三通知栏中的至少一条通知消息非完整显示在第三通知栏中。
可选地,在第三通知栏中显示所有应用的通知消息包括:在第三通知栏中显示属于同一应用的预览通知消息,响应于对预览通知消息的选择,使预览通知消息展开为多条完整显示的通知消息。
可选地,响应于针对所述第一窗口的预设操作,弹出与第一窗口对应的第一通知栏,在第一通知栏中显示第一窗口当前的通知消息或第一窗口对应的当前应用的通知消息的过程包括:响应于针对第一窗口的预设操作所产生的指令,获取第一窗口当前的信息或第一窗口对应的当前应用的信息;基于第一窗口当前的信息获取对应窗口的窗口通知消息集合,或者基于第一窗口对应的当前应用的信息获取对应应用的应用通知消息集合;根据窗口通知消息集合或应用通知消息集合生成第一通知栏,在第一通知栏中显示第一窗口当前的通知消息或第一窗口对应的当前应用的通知消息。
可选地,预设操作为下滑手势操作。
第二方面,本申请技术方案提供了一种通知处理装置,包括:处理器和存储器,存储器用于存储至少一条指令,指令由处理器加载并执行时以实现上述的通知处理方法。
第三方面,本申请技术方案提供了一种终端,包括上述的通知处理装置。
第四方面,本申请技术方案提供了一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行上述的通知处理方法。
附图说明
图1为一种多窗口的场景状态示意图;
图2为本申请实施例中一种通知处理方法的流程示意图;
图3为本申请实施例中一种弹出第一通知栏的界面变化示意图;
图4a为本申请实施例中另一种弹出第一通知栏的界面变化示意图;
图4b为本申请实施例中另一种弹出第一通知栏的界面变化示意图;
图5为本申请实施例中一种弹出第二通知栏的界面变化示意图;
图6为本申请实施例中另一种弹出第二通知栏的界面变化示意图;
图7为本申请实施例中另一种通知处理方法的流程示意图;
图8为本申请实施例中一种窗口通知模式选择界面的示意图;
图9为本申请实施例中另一种通知处理方法的流程示意图;
图10为本申请实施例中一种弹出第三通知栏的界面变化示意图;
图11为本申请实施例中一种通知处理方法对应的整体架构流程图;
图12为本申请实施例中一种通知处理方法的部分流程示意图;
图13为本申请实施例中一种系统架构图。
具体实施方式
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。
在对本申请实施例进行具体介绍之前,首先对本申请所涉及的场景进行简单介绍。本申请所涉及的终端可能为手机、平板电脑、个人计算机(personal computer,PC)、个人数字助理(personal digital assistant,PDA)、智能手表、上网本、可穿戴电子设备、增强现实技术(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、车载设备、智能汽车、智能音响、机器人、智能眼镜等等。终端具有显示屏,随着用户对大屏幕使用的需求提升,使用多窗口的场景越来越频繁,如图1所示,图1为一种多窗口的场景状态示意图,多窗口的场景是指用户在前台同时打开两个窗口,两个窗口在显示屏中分区域同时显示,每个窗口对应一个应用,例如显示屏中显示有第一窗口A1和第二窗口A2,用户可以在第一窗口A1中打开社交应用聊天,同时在第二窗口A2中打开浏览器应用浏览网页,在这种多窗口的场景下,在现有技术中,如果一段时间没有清理通知,当用户下拉通知栏时,会看到大量的通知消息,用户很难找到自己想要的通知,针对上述问题,发明人提出了本申请实施例的技术方案,以下对本申请实施例的技术方案进行说明。
如图1、图2、图3和图4a所示,图2为本申请实施例中一种通知处理方法的流程示意图,图3为本申请实施例中一种弹出第一通知栏的界面变化示意图,图4a为本申请实施例中另一种弹出第一通知栏的界面变化示意图,本申请实施例提供一种通知处理方法,包括:
步骤101、在显示屏中分区域显示第一窗口A1和第二窗口A2,即进入如图1所示的多窗口场景,需要说明的是,本申请实施例仅以在显示屏中显示两个窗口为例的场景进行说明,但是对于多窗口场景下的窗口数量不作限定,在其他可实现的实施方式中,可以在显示屏中显示更多数量的窗口,例如显示三个窗口;
步骤102、响应于针对第一窗口A1的预设操作,弹出与第一窗口A1对应的第一通知栏,在第一通知栏中显示第一窗口A1当前的通知消息或第一窗口A1对应的当前应用的通知消息,若第一通知栏中显示第一窗口A1当前的通知消息,则第一通知栏中不显示除第一窗口A1当前之外的其他通知消息,若第一通知栏中显示第一窗口A1对应的当前应用的通知消息,则第一通知栏中不显示除第一窗口A1对应的当前应用之外的其他通知消息。
具体地,例如,用户在第一窗口A1的标题栏处进行下拉手势操作,当终端识别到该操作后,会生成并弹出第一通知栏,例如,第一窗口A1对应的当前应用为社交 应用B,其中具有多个聊天窗口,第一窗口A1对应其中的聊天窗口C,图3所示的第一通知栏中,仅显示第一窗口A1当前的通知消息,其中不会显示除该窗口之外的其他通知消息,这样,当用户关注第一窗口A1并针对第一窗口A1进行下拉手势操作时,则会直接浏览到第一窗口A1当前的通知消息,避免了大量其他窗口或应用中通知消息对于用户的干扰,比如第一通知栏中仅显示属于聊天窗口C的通知一和通知二,而属于其他聊天窗口的通知消息不会显示在该第一通知栏中,属于其他应用的通知消息同样不会显示在该第一通知栏中;类似地,图4a所示的第一通知栏中,仅显示第一窗口A1对应的当前应用的通知消息,其中不会显示除该应用之外的其他通知消息,这样,当用户关注第一窗口A1并针对第一窗口A1进行下拉手势操作时,则会直流浏览到第一窗口A1对应的当前应用的通知消息,避免了大量其他应用中通知消息对于用户的干扰,比如第一通知栏中仅显示属于社交应用B的通知一、通知二和通知三,其中通知一和通知二属于聊天窗口C,通知三属于聊天窗口D,但是通知一、通知二和通知三均属于社交应用B,而属于其他应用的通知消息不会显示在该第一通知栏中。对于第一通知栏具体显示第一窗口A1的通知消息还是显示第一窗口A1对应的应用的通知消息,可以预先设置或者基于策略自动切换。另外需要说明的是,当显示屏显示第一通知栏时,通知栏的层级比窗口高,第一窗口A1被隐藏在通知栏下方,如果用户控制隐藏第一通知栏,则会重新显示第一窗口A1。
另外,对于第一通知栏中显示第一窗口A1对应的当前应用的通知消息的场景,可以进一步结合图4b进行理解,图4b所示的第一通知栏中,仅显示第一窗口A1对应的当前应用的通知消息,其中不会显示除该应用之外的其他通知消息,这样,当用户关注第一窗口A1并针对第一窗口A1进行下拉手势操作时,则会直流浏览到第一窗口A1对应的当前应用的通知消息,避免了大量其他应用中通知消息对于用户的干扰。比如第一窗口A1对应当前应用B,响应于针对第一窗口A1的预设操作,弹出与第一窗口A1对应的第一通知栏,在第一通知栏中显示第一窗口A1对应的当前应用B的通知消息,包括通知一、通知二、通知三、通知四、通知五、通知六和通知七,其中,通知一和通知二属于第一窗口A1对应的当前应用B的窗口a,通知三和通知四属于第一窗口A1对应的当前应用B的窗口b,通知五、通知六和通知七属于第一窗口A1对应的当前应用B的窗口c,其中,例如窗口a可以为第一窗口A1,当前应用B为社交应用B,第一窗口A1和窗口a为社交应用B的某群聊天窗口a,窗口b为社交应用B的与甲的单人聊天窗口b,窗口c为社交应用B的与乙的单人聊天窗口c,步骤101中在显示屏中分区域显示的窗口包括社交应用B的该群聊天窗口a,响应于针对该群聊天窗口a的预设操作,弹出第一通知栏,第一通知栏中仅显示属于社交应用B的通知一~通知七,属于其他应用的通知消息不会显示在该第一通知栏中。
在一种可能的实现方式中,如图5和图6所示,图5为本申请实施例中一种弹出第二通知栏的界面变化示意图,图6为本申请实施例中另一种弹出第二通知栏的界面变化示意图,上述通知处理方法还包括:响应于针对第二窗口的预设操作,弹出与第二窗口对应的第二通知栏,在第二通知栏中显示第二窗口A2当前的通知消息或第二窗口对应的当前应用的通知消息,若第二通知栏中显示第二窗口A2当前的通知消息,则第二通知栏中不显示除第二窗口A2当前之外的其他通知消息,若第二通知栏中显 示第二窗口A2对应的当前应用的通知消息,则第二通知栏中不显示除第二窗口A2对应的当前应用之外的其他通知消息。例如,用户在第二窗口A2的标题栏处进行下拉手势操作,当终端识别到该操作后,会生成并弹出第二通知栏,例如,第二窗口A2对应的当前应用为浏览器应用E,其中具有多个网页窗口,第二窗口A2为其中的网页窗口F,图5所示的第二通知栏中,仅显示第二窗口A2当前的通知消息,不会显示除该窗口之外的其他通知消息,比如第二通知栏中仅显示属于网页窗口F的通知四,而属于其他网页窗口的通知消息不会显示在该第二通知栏中,属于其他应用的通知消息同样不会显示在该第二通知栏中;类似地,图6所示的第二通知栏中,仅显示第二窗口A2对应的当前应用的通知消息,其中不会显示除该应用之外的其他通知消息,比如第二通知栏中仅显示属于浏览器应用E的通知四和通知五,其中通知四属于网页窗口F,通知五属于网页窗口G,但是通知四和通知五均属于浏览器应用E,而属于其他应用的通知消息不会显示在该第二通知栏中。
本申请实施例中的通知处理方法,在多窗口的场景下,通过响应于针对某个窗口的预设操作,弹出与该窗口对应的通知栏,并在该通知栏中显示该窗口当前的通知消息或该窗口对应的当前应用的通知消息,以实现仅显示用户关注的通知消息,从而避免了其他通知消息对用户的干扰,使用户可以更方便地找到自己所关注的通知消息。
在一种可能的实现方式中,如图7和图8所示,图7为本申请实施例中另一种通知处理方法的流程示意图,图8为本申请实施例中一种窗口通知模式选择界面的示意图,在上述步骤102、响应于针对第一窗口A1的预设操作,弹出与第一窗口A1对应的第一通知栏的过程之前,还包括:
步骤201、显示窗口通知模式选择界面,窗口通知模式选择界面包括第一模式选项和第二模式选项,例如,图8的窗口通知模式选择界面中第一模式选项对应的文字说明是“显示当前窗口的通知”,第二模式选项对应的文字说明是“显示当前应用的通知”;
步骤202、响应于对第一模式选项的选择,将第一模式作为当前的通知显示模式,或者,响应于对第二模式选项的选择,将第二模式作为当前的通知显示模式;
步骤102、响应于针对第一窗口A1的预设操作,弹出与第一窗口A1对应的第一通知栏,在第一通知栏中显示第一窗口当前的通知消息或第一窗口对应的当前应用的通知消息的过程包括:
步骤1021、响应于针对第一窗口A1的预设操作,判断当前的通知显示模式属于第一模式还是第二模式,若当前的通知显示模式为第一模式,则进入步骤1022,若当前的通知显示模式为第二模式,则进入步骤1023;
步骤1022、弹出与第一窗口A1对应的第一通知栏,在第一通知栏中显示第一窗口A1当前的通知消息,具体过程与图3示意的过程相同,也就是说,如果用户在窗口通知模式选择界面中选择了第一模式,则后续弹出的第一通知栏均对应显示第一窗口A1所当前的通知消息;
步骤1023、弹出与第一窗口A1对应的第一通知栏,在第一通知栏中显示第一窗口A1对应的当前应用的通知消息,具体过程与图4a所示的过程相同,也就是说,如果用户在窗口通知模式选择界面中选择了第二模式,则后续弹出的第一通知栏均对应 显示第一窗口A1所对应的当前应用的通知消息。
具体地,在图7所示的方法中,步骤201、显示窗口通知模式选择界面的过程可以在多窗口的场景下或者在进入多窗口的场景之前执行,用户可以随时进入该界面对窗口通知模式进行选择和切换,另外,当弹出第二通知栏时,对于第二通知栏的显示逻辑,同样可以根据当前的窗口通知模式进行显示,即若当前的窗口通知模式为第一模式,则第二通知栏显示第二窗口A2当前的通知消息,若当前的窗口通知模式为第二模式,则第二通知栏显示第二窗口A2对应的当前应用的通知消息。根据用户选择可以对窗口对应的通知栏的显示逻辑进行切换,以实现通知栏显示的灵活配置,适应用户的需求。
在一种可实现的实施方式中,如图9和图10所示,图9为本申请实施例中另一种通知处理方法的流程示意图,图10为本申请实施例中一种弹出第三通知栏的界面变化示意图,显示屏在第一窗口A1和第二窗口A2之外显示状态栏A3,状态栏A3可以位于显示屏的边缘;上述方法还包括:
步骤103、响应于针对状态栏A3的预设操作,弹出第三通知栏,在第三通知栏中显示所有应用的通知消息。
具体地,当用户希望查看自己所关注的通知消息时,可以通过针对某个窗口的预设操作,弹出与该窗口对应的通知栏,以显示于该窗口当前窗口的通知消息或该窗口对应的当前应用的通知消息,而当用户希望查看所有的通知消息时,则可以针对状态栏A3进行预设操作,例如针对状态栏A3进行下拉手势操作,此时,响应于该操作,会弹出第三通知栏,在该通知栏中会显示所有应用的通知消息,以便于用户查找当前窗口之外的其他通知。
在一种可实现的实施方式中,如图3所示,第一通知栏中的每条通知消息完整显示在第一通知栏中,如图10所示,第三通知栏中的至少一条通知消息非完整显示在第三通知栏中。由于第一通知栏仅用于显示一个窗口或一个应用所对应的通知消息,其中的通知消息数量较少,因此为了便于用户更加直观地阅读通知,可以在第一通知栏中完整显示每条通知消息,而第三通知栏用于显示所有应用的通知消息,因此可能会导致其中需要显示的通知消息的数量角度,因此可以通过对通知消息折叠的方式非完整地显示其中的通知消息,以便于用户可以在有限的通知栏范围内阅读到更多数量的通知消息。
在一种可实现的实施方式中,步骤103中在第三通知栏中显示所有应用的通知消息的过程包括:在第三通知栏中显示属于同一应用的预览通知消息,响应于对预览通知消息的选择,使预览通知消息展开为多条完整显示的通知消息。
具体地,如图10所示,例如,第三通知栏中显示的通知消息包括第一应用预览通知消息、第二应用预览通知消息和第三应用预览通知消息,其中的每一条通知消息仅用于预览属于同一应用下的通知消息,以便于用户浏览到所有应用的通知消息,当用户例如点击选择其中的第一应用预览通知消息时,第一应用预览通知消息会展开显示第一应用的所有具体通知消息。
在一种可实现的实施方式中,如图11所示,图11为本申请实施例中一种通知处理方法对应的整体架构流程图,本申请实施例中通知处理方法的整体流程包括:
步骤301、用户在终端的输入装置上执行下滑窗口操作;
具体地,例如,输入装置为终端的触摸屏,用户在触摸屏上针对第一窗口A1执行下滑窗口操作。
步骤302、输入装置发送指令至处理器;
具体地,输入装置在用户针对第一窗口A1执行下滑窗口操作时,产生相对应的指令并将该指令发送至终端的处理器;
步骤303、处理器发送指令至操作系统;
具体地,处理器将输入装置所产生的指令转化为可识别的指令发送给操作系统;
步骤304、操作系统生成待显示的界面;
具体地,操作系统根据指令生成待显示的界面,其中包括所需要显示的通知栏,具体过程包括上述的步骤102,如图12和图13所示,图12为本申请实施例中一种通知处理方法的部分流程示意图,图13为本申请实施例中一种系统架构图,上述步骤102、响应于针对第一窗口A1的预设操作,弹出与第一窗口A1对应的第一通知栏,在第一通知栏中显示第一窗口A1当前的通知消息或第一窗口A1对应的当前应用的通知消息的过程可以包括:
步骤3041、响应于针对第一窗口A1的预设操作所产生的指令,获取第一窗口A当前的信息或第一窗口A1对应的当前应用的信息;
步骤3042、基于第一窗口A1当前的信息获取对应窗口的窗口通知消息集合,或者基于第一窗口A1对应的当前应用的信息获取对应应用的应用通知消息集合;
步骤3043、根据窗口通知消息集合或应用通知消息集合生成第一通知栏,在第一通知栏中显示第一窗口A1当前的通知消息或第一窗口A1对应的当前应用的通知消息。
具体地,例如,在安卓Android系统中,监听窗口下滑事件,即监听是否接收到针对第一窗口A1的预设操作所产生的指令,若接收到该指令,即监听到窗口下滑事件,则获取该窗口对应的信息,需要说明的是,同时还需要通过设置模块从设置数据库中获取当前的窗口通知模式为第一模式还是为第二模式,当前的窗口通知模式决定了后续通知栏显示的是当前窗口的通知消息还是当前应用的通知消息,监听到事件后,手机窗口模块PhoneWindow中的窗口顶级视图模块DecorView会传输对应窗口的当前页面的信息和当前应用进程的信息至系统进程SystemServer,SystemServer中的通知管理服务(Notification Manager Service,NMS)根据当前的窗口通知模式获取窗口当前的所有通知消息集合以及获取窗口对应的当前应用的所有通知消息集合,系统用户界面(User Interface,UI)模块通过设置模块从设置数据库中获取当前的窗口通知模式为第一模式还是为第二模式,若当前的窗口通知模式为第一模式,则调用NMS中当前窗口的所有通知消息集合并根据该通知消息集合生成第一通知栏,若当前的窗口通知模块为第二模式,则调用NMS中当前应用的所有通知消息集合并根据该集合生成第一通知栏,即生成待显示的界面,该界面中包括所生成的第一通知栏,其中,设置模块和系统UI模块属于应用层,PhoneWindow和SystemServer属于框架层Framework。
如图11所示,在步骤304之后,还包括:步骤305、操作系统发送数据至显示屏,即将所生成的包括第一通知栏的待显示的界面对应的显示数据发送至显示屏;
步骤306、显示屏显示通知栏,以将通知栏展示给用户。
在一种可实现的实施方式中,上述预设操作为下滑手势操作,在其他可实现的实施方式中,预设操作也可以为其他操作,只要能够识别区分操作对象即可,可以判断预设操作的对象是窗口还是状态栏,以及判断预设操作的对象具体为哪个窗口。
本申请实施例还提供一种通知处理装置,包括:处理器和存储器,存储器用于存储至少一条指令,该指令由处理器加载并执行时以实现上述各实施例中的通知处理方法。
其中,处理器的数量可以为一个或多个,处理器和存储器可以通过总线或者其他方式连接。存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,处理器通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而执行各种功能应用以及数据处理,即实现上述任意方法实施例中的方法。存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;以及必要数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。
本申请实施例还提供一种终端,包括上述实施例中的通知处理装置。终端具体可以为手机、平板电脑、个人计算机(personal computer,PC)、个人数字助理(personal digital assistant,PDA)、智能手表、上网本、可穿戴电子设备、增强现实技术(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、车载设备、智能汽车、智能音响、机器人、智能眼镜等等。
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行上述实施例中的通知处理方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a, b和c中的至少一项可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
以上仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (10)

  1. 一种通知处理方法,其特征在于,包括:
    在显示屏中分区域显示第一窗口和第二窗口;
    响应于针对所述第一窗口的预设操作,弹出与所述第一窗口对应的第一通知栏,在所述第一通知栏中显示所述第一窗口当前的通知消息或所述第一窗口对应的当前应用的通知消息;
    若所述第一通知栏中显示所述第一窗口当前的通知消息,则所述第一通知栏中不显示除所述第一窗口当前之外的其他通知消息;
    若所述第一通知栏中显示所述第一窗口对应的当前应用的通知消息,则所述第一通知栏中不显示除所述第一窗口对应的当前应用之外的其他通知消息。
  2. 根据权利要求1所述的方法,其特征在于,
    在所述响应于针对所述第一窗口的预设操作,弹出与所述第一窗口对应的第一通知栏的过程之前,还包括:
    显示窗口通知模式选择界面,所述窗口通知模式选择界面包括第一模式选项和第二模式选项;
    响应于对所述第一模式选项的选择,将第一模式作为当前的通知显示模式,或者,响应于对所述第二模式选项的选择,将第二模式作为当前的通知显示模式;
    所述响应于针对所述第一窗口的预设操作,弹出与所述第一窗口对应的第一通知栏,在所述第一通知栏中显示所述第一窗口当前的通知消息或所述第一窗口对应的当前应用的通知消息的过程包括:
    响应于针对所述第一窗口的预设操作,若当前的通知显示模式为所述第一模式,则弹出与所述第一窗口对应的第一通知栏,在所述第一通知栏中显示所述第一窗口当前的通知消息;
    响应于针对所述第一窗口的预设操作,若当前的通知显示模式为所述第二模式,则弹出与所述第一窗口对应的第一通知栏,在所述第一通知栏中显示所述第一窗口对应的当前应用的通知消息。
  3. 根据权利要求2所述的方法,其特征在于,
    所述显示屏在所述第一窗口和所述第二窗口之外显示状态栏;
    所述方法还包括:
    响应于针对所述状态栏的预设操作,弹出第三通知栏,在所述第三通知栏中显示所有应用的通知消息。
  4. 根据权利要求3所述的方法,其特征在于,
    所述第一通知栏中的每条通知消息完整显示在所述第一通知栏中,所述第三通知栏中的至少一条通知消息非完整显示在所述第三通知栏中。
  5. 根据权利要求4所述的方法,其特征在于,
    所述在所述第三通知栏中显示所有应用的通知消息包括:
    在所述第三通知栏中显示属于同一应用的预览通知消息,响应于对所述预览通知消息的选择,使所述预览通知消息展开为多条完整显示的通知消息。
  6. 根据权利要求1所述的方法,其特征在于,
    所述响应于针对所述第一窗口的预设操作,弹出与所述第一窗口对应的第一通知栏,在所述第一通知栏中显示所述第一窗口当前的通知消息或所述第一窗口对应的当前应用的通知消息的过程包括:
    响应于针对所述第一窗口的预设操作所产生的指令,获取所述第一窗口当前的信息或所述第一窗口对应的当前应用的信息;
    基于所述第一窗口当前的信息获取对应窗口的窗口通知消息集合,或者基于所述第一窗口对应的当前应用的信息获取对应应用的应用通知消息集合;
    根据所述窗口通知消息集合或所述应用通知消息集合生成第一通知栏,在所述第一通知栏中显示所述第一窗口当前的通知消息或所述第一窗口对应的当前应用的通知消息。
  7. 根据权利要求1所述的方法,其特征在于,
    所述预设操作为下滑手势操作。
  8. 一种通知处理装置,其特征在于,包括:
    处理器和存储器,所述存储器用于存储至少一条指令,所述指令由所述处理器加载并执行时以实现如权利要求1至7中任意一项所述的通知处理方法。
  9. 一种终端,其特征在于,包括如权利要求8所述的通知处理装置。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如权利要求1至7中任意一项所述的通知处理方法。
PCT/CN2021/109990 2020-08-03 2021-08-02 通知处理方法、装置、终端和存储介质 WO2022028352A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/040,359 US12118176B2 (en) 2020-08-03 2021-08-02 Notification processing method and apparatus, terminal, and storage medium
EP21853705.8A EP4187379A4 (en) 2020-08-03 2021-08-02 NOTIFICATION PROCESSING METHOD AND APPARATUS, TERMINAL, AND STORAGE MEDIUM

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202010768422 2020-08-03
CN202010768422.9 2020-08-03
CN202110868907.X 2021-07-30
CN202110868907.XA CN114064166A (zh) 2020-08-03 2021-07-30 通知处理方法、装置、终端和存储介质

Publications (1)

Publication Number Publication Date
WO2022028352A1 true WO2022028352A1 (zh) 2022-02-10

Family

ID=80117014

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109990 WO2022028352A1 (zh) 2020-08-03 2021-08-02 通知处理方法、装置、终端和存储介质

Country Status (3)

Country Link
US (1) US12118176B2 (zh)
EP (1) EP4187379A4 (zh)
WO (1) WO2022028352A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229399A1 (en) * 2011-03-11 2012-09-13 Hiroki Kobayashi Electronic device
CN106126288A (zh) * 2016-06-23 2016-11-16 宇龙计算机通信科技(深圳)有限公司 一种同时启动多应用的方法和装置
CN107220049A (zh) * 2017-05-24 2017-09-29 努比亚技术有限公司 一种通知栏中通知处理方法、移动终端以及计算机可读存储介质
CN107688478A (zh) * 2016-08-05 2018-02-13 阿里巴巴集团控股有限公司 终端、应用信息的显示方法及装置
CN109032732A (zh) * 2018-07-11 2018-12-18 Oppo广东移动通信有限公司 通知显示方法、装置、存储介质及电子设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG176315A1 (en) * 2003-12-01 2011-12-29 Research In Motion Ltd Previewing a new event on a small screen device
US20100281409A1 (en) * 2009-04-30 2010-11-04 Nokia Corporation Apparatus and method for handling notifications within a communications device
US9244698B2 (en) * 2010-09-14 2016-01-26 Microsoft Technology Licensing, Llc Download bar user interface control
US8599014B2 (en) * 2010-11-05 2013-12-03 Nokia Corporation Method and apparatus for managing notifications
US9146656B1 (en) * 2011-06-27 2015-09-29 Google Inc. Notifications user interface
ES2691471T3 (es) * 2011-12-19 2018-11-27 Orange Método para notificación de eventos en un dispositivo que ejecuta identidades de múltiples usuarios
US10754536B2 (en) * 2013-04-29 2020-08-25 Microsoft Technology Licensing, Llc Content-based directional placement application launch
KR102225945B1 (ko) * 2014-07-16 2021-03-10 엘지전자 주식회사 이동 단말기 및 그 제어 방법
KR102358749B1 (ko) 2014-12-26 2022-02-07 엘지전자 주식회사 디지털 디바이스 및 그 제어 방법
CN114741012A (zh) 2017-10-31 2022-07-12 华为技术有限公司 在通知栏下拉菜单中管理多个自由窗口
DK201870335A1 (en) * 2018-05-07 2019-12-04 Apple Inc. DEVICES, METHODS, AND GRAPHICAL USER INTERFACES FOR PROACTIVE MANAGEMENT OF NOTIFICATIONS
US10872024B2 (en) * 2018-05-08 2020-12-22 Apple Inc. User interfaces for controlling or presenting device usage on an electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229399A1 (en) * 2011-03-11 2012-09-13 Hiroki Kobayashi Electronic device
CN106126288A (zh) * 2016-06-23 2016-11-16 宇龙计算机通信科技(深圳)有限公司 一种同时启动多应用的方法和装置
CN107688478A (zh) * 2016-08-05 2018-02-13 阿里巴巴集团控股有限公司 终端、应用信息的显示方法及装置
CN107220049A (zh) * 2017-05-24 2017-09-29 努比亚技术有限公司 一种通知栏中通知处理方法、移动终端以及计算机可读存储介质
CN109032732A (zh) * 2018-07-11 2018-12-18 Oppo广东移动通信有限公司 通知显示方法、装置、存储介质及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4187379A4

Also Published As

Publication number Publication date
EP4187379A1 (en) 2023-05-31
US12118176B2 (en) 2024-10-15
US20230359317A1 (en) 2023-11-09
EP4187379A4 (en) 2024-01-03

Similar Documents

Publication Publication Date Title
CN110515576B (zh) 显示控制方法及装置
JP7366976B2 (ja) コンピューティング装置の通知のための通知チャネル
WO2020238815A1 (zh) 显示控制方法及装置、电子设备和存储介质
WO2020156379A1 (zh) 表情回应的显示方法、装置、终端设备和服务器
JP2023527229A (ja) 情報送信方法、装置及び電子機器
WO2016078254A1 (zh) 一种显示方法及终端、存储介质
WO2022105425A1 (zh) 显示方法、电子设备及可读存储介质
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
WO2022268177A1 (zh) 信息显示方法、装置和电子设备
JP2012527688A (ja) インスタントメッセージアプリケーションにおける情報の提示
JP2023521508A (ja) メール処理方法、装置、電子機器及び記憶媒体
CN102819436A (zh) 一种基于网页邮箱的用户界面交互方法和设备
CN113660504B (zh) 消息展示方法、装置、电子设备以及存储介质
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
CN112307375A (zh) 页面展示方法、装置、电子设备和计算机可读介质
US10469419B2 (en) Electronic device and method of processing message in electronic device
CN115022262B (zh) 一种会话处理方法、装置、设备及介质
WO2017190457A1 (zh) 一种短信编辑方法和终端
WO2024114571A1 (zh) 信息显示方法、装置、电子设备和存储介质
WO2023231852A1 (zh) 会话信息处理方法、装置和电子设备
WO2022028352A1 (zh) 通知处理方法、装置、终端和存储介质
EP4351117A1 (en) Information display method and apparatus, and electronic device
JP2024521790A (ja) メッセージ選択方法、装置及び機器
CN110221746B (zh) 信息交互方法、装置、介质和计算设备
US20150007059A1 (en) User interface with scrolling for multimodal communication framework

Legal Events

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

Ref document number: 21853705

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021853705

Country of ref document: EP

Effective date: 20230221

NENP Non-entry into the national phase

Ref country code: DE