CN118426640A - Processing method of notification message and electronic equipment - Google Patents
Processing method of notification message and electronic equipment Download PDFInfo
- Publication number
- CN118426640A CN118426640A CN202410391063.8A CN202410391063A CN118426640A CN 118426640 A CN118426640 A CN 118426640A CN 202410391063 A CN202410391063 A CN 202410391063A CN 118426640 A CN118426640 A CN 118426640A
- Authority
- CN
- China
- Prior art keywords
- notification
- terminal
- icon
- module
- display
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 95
- 230000004044 response Effects 0.000 claims abstract description 23
- 238000012545 processing Methods 0.000 claims description 60
- 230000015654 memory Effects 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 14
- 238000007726 management method Methods 0.000 description 50
- 238000004891 communication Methods 0.000 description 30
- 230000008569 process Effects 0.000 description 26
- 230000005540 biological transmission Effects 0.000 description 25
- 238000010586 diagram Methods 0.000 description 25
- 230000006870 function Effects 0.000 description 24
- 238000010295 mobile communication Methods 0.000 description 12
- 230000003190 augmentative effect Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 238000012546 transfer Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 229920001621 AMOLED Polymers 0.000 description 2
- 230000003416 augmentation Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000001356 surgical procedure Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
- G06F3/04817—Interaction 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 using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
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)
- Telephone Function (AREA)
Abstract
The embodiment of the application provides a notification message processing method and electronic equipment, which are applied to the technical field of terminals, and the method comprises the following steps: when the first terminal receives a notification message of a local application program, the first terminal can display a setting icon and a deleting icon, and the first terminal can respond to the triggering operation of a user on the setting icon and display a setting interface for setting the display mode of the notification message; when the first terminal receives the notification message streamed from the second terminal, the first terminal may display the delete icon and either not display the set icon or display the set icon in the disabled state. Therefore, when the first terminal continuously displays the notification message of the second terminal, the user cannot use the setting icon, so that the scene of displaying an error interface by the first terminal in response to the triggering operation of the user on the setting icon is reduced, and the use experience of the user is improved.
Description
The application is a divisional application, the application number of the original application is 202211193475.8, the original application date is 2022, 09 and 28,
The entire content of the parent application is incorporated by reference into the present application
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method for processing a notification message and an electronic device.
Background
Currently, terminal devices may support the installation of various types of applications that may push notification messages to the terminal device. When the terminal device receives a notification message from an application, the terminal device may display the notification message in a drop-down notification bar.
The user may use a plurality of terminal devices, which may be a first terminal and a second terminal, respectively. In some cases, after receiving the notification message of the local application, the second terminal may stream the notification message to the first terminal, and the first terminal displays the notification message. The user may process the notification message based on the first terminal. For example, the first terminal may be a tablet computer pad, the second terminal may be a mobile phone, and when the mobile phone receives a notification message pushed by an application program installed on the mobile phone, the mobile phone may send the notification message to the pad, and the pad displays the notification message.
In the case that the notification message of the first terminal is obtained from the second terminal, how to make the user process the notification message at the first terminal conveniently and effectively is a problem that needs to be solved at present.
Disclosure of Invention
The embodiment of the application provides a processing method of notification messages and electronic equipment, which are applied to the technical field of terminals, and can provide a processing mode for processing cross-equipment notification messages for users and improve the use experience of the users.
In a first aspect, an embodiment of the present application provides a method for processing a notification message. The method comprises the following steps: the first terminal receives a first notification from a first application in the first terminal at a first moment; the first terminal receives a first operation of a user; responding to a first operation, and displaying a first desktop by the first terminal, wherein the first desktop displays a first notification; the first terminal receives a second operation aiming at the first notification by the user; in response to the second operation, the first terminal displays a first icon and a second icon matched with the first notification on the first desktop, wherein the first icon is used for setting the display mode of the first notification (the first icon is an icon used for setting the display mode of the first notification), and the second icon is used for deleting the first notification on the first desktop (the second icon is an icon used for deleting the first notification on the first desktop); the first terminal receives a second notification from the second terminal at a second moment, wherein the second moment is later than the first moment; the first terminal receives a third operation of the user; responding to a third operation, the first terminal displays a second desktop, wherein the second desktop displays a third notification, and the third notification is a notification message obtained based on the second notification; the first terminal receives a fourth operation known by a user aiming at the third; in response to the fourth operation, the first terminal displays a third icon matched with the third notification on the second desktop, and does not display a fourth icon matched with the third notification; the third icon is used for deleting the third notification on the second desktop (the third icon is an icon for deleting the third notification on the second desktop), and the fourth icon is used for setting the display mode of the third notification (the fourth icon is an icon for setting the display mode of the third notification); or in response to the fourth operation, the first terminal displays a third icon and a fifth icon matched with the third notification on the second desktop, the fifth icon being used for setting the display mode of the third notification (the fifth icon being an icon used for setting the display mode of the third notification), and the fifth icon being disabled. Therefore, when the first terminal continuously displays the notification message of the second terminal, the user cannot use the setting icon, so that the scene of displaying an error interface by the first terminal in response to the triggering operation of the user on the setting icon is reduced, and the use experience of the user is improved.
The first desktop may be a drop-down notification bar interface for displaying the first notification, for example, the first desktop may be an interface shown as a in fig. 5, and the first desktop may also be an interface shown as b in fig. 5; the first icon may be the setup icon 502 in the interface shown in b in fig. 5; the second icon may be a delete icon 503 in the interface shown in b in fig. 5. The second desktop may be a drop-down notification bar interface for displaying a third notification, e.g., the second desktop may be the interface shown as b in FIG. 6 or the interface shown as c in FIG. 6; the second desktop may be the interface shown in b of fig. 7 or the interface shown in c of fig. 7; the third icon may be the delete icon 603 in the interface shown in c in fig. 6 or the delete icon 704 in the interface shown in c in fig. 7, and the fifth icon may be the set icon 702 in the interface shown in c in fig. 7.
In one possible implementation, the first operation is a pull-down operation and the second operation is a left-slide operation. In this way, the first terminal may view and process the first notification of the first desktop based on the first operation and the second operation.
In one possible implementation, the third operation is a pull-down operation and the fourth operation is a left-slide operation. In this way, the first terminal may view and process the third notification of the second desktop based on the third operation and the fourth operation.
In one possible implementation, the first terminal is a tablet device and the second terminal is a mobile phone. Thus, the user can receive and process the notification message of the mobile phone terminal based on the tablet equipment, and the user experience is improved.
In one possible implementation manner, the terminal account number logged in by the first terminal and the terminal account number logged in by the second terminal are the same terminal account number. In this way, the first terminal and the second terminal may form a trust ring so that notification messages on the second terminal may be streamed to the first terminal.
In one possible implementation, the second notification includes one or more of: the name of the second application, the icon of the second application, the content of the second notification, and the notification time of the second notification; after the first terminal receives the second notification from the second terminal at the second moment, the method further comprises: and the first terminal sets the attribute of the notification setting item in the second notification to obtain a third notification. In this way, the first terminal may obtain a third notification based on the second notification such that the first terminal may display the third notification on the second desktop.
In a possible implementation manner, the first terminal sets an attribute of a notification setting item in the second notification to obtain a third notification, including: the first terminal reads the second notification; the first terminal writes first attribute information in the second notification, wherein the first attribute information is used for indicating whether a notification setting item of a notification message is forbidden; and the first terminal constructs a notification message according to the second notification and the first attribute information to obtain a third notification. Therefore, the first terminal can construct the second notification as the third notification that the display mode of the notification message cannot be set, so that the scene of displaying an error interface by the first terminal in response to the triggering operation of the user on the setting icon is reduced, and the use experience of the user is improved.
In a possible implementation manner, the first attribute information includes a key name key value and a key value, where the key value is used to indicate attribute information of a notification setting item of the notification message; when the value is a first preset value, the first attribute information indicates that the notification setting item of the notification message is not disabled; when the value is a second preset value, the first attribute information indicates that the notification setting item of the notification message is disabled. Therefore, the first terminal can display the fourth icon for setting the display mode of the third notification on the second desktop or display the fifth icon incapable of setting the display mode of the third notification, the scene of displaying an error interface in response to the triggering operation of the user on the setting icon by the first terminal is reduced, and the use experience of the user is improved.
In one possible implementation manner, the first terminal includes a notification reconstruction module, a notification display module, and a customized menu module; the method further comprises the steps of: the notification reconstruction module of the first terminal reports the third notification to the notification display module; the notification display module of the first terminal calls the customized menu module and transmits a third notification to the customized menu module; the customized menu module of the first terminal reads the first attribute information of the third notice; the customization menu module draws and displays a third icon matched with the third notification according to the first attribute information of the third notification on the second desktop, and does not display a fourth icon matched with the third notification; or the customized menu module draws and displays a third icon and a fifth icon matched with the third notification on the second desktop according to the first attribute information of the third notification. In this way, the first terminal can display the second desktop through the first attribute information of the third notification, wherein the third icon is displayed in the second desktop, and the fourth icon is not displayed; or the third icon and the fifth icon are displayed, so that the scene of displaying an error interface in response to the triggering operation of the user on the setting icon by the first terminal is reduced, and the use experience of the user is improved.
In a second aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (SMART GRID), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (SMART CITY), a wireless terminal in smart home (smart home), or the like.
The terminal device includes: comprising the following steps: a processor and a memory; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to cause the terminal device to perform a method as in the first aspect.
In a third aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program. The computer program, when executed by a processor, implements a method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when run, causes a computer to perform the method as in the first aspect.
In a fifth aspect, an embodiment of the application provides a chip comprising a processor for invoking a computer program in memory to perform a method as in the first aspect.
It should be understood that the second to fifth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the advantages obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
Fig. 1 is a system architecture diagram of a plurality of terminal devices according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface for a terminal device to process notification messages in a possible implementation;
fig. 3 is a schematic structural diagram of a terminal device 100 according to an embodiment of the present application;
Fig. 4 is a schematic software structure diagram of a terminal device 100 according to an embodiment of the present application;
Fig. 5 is an interface schematic diagram of a method for processing a notification message according to an embodiment of the present application;
FIG. 6 is an interface schematic diagram of a method for processing notification messages according to an embodiment of the present application;
FIG. 7 is an interface schematic diagram of another method for processing notification messages according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a method for processing a notification message according to an embodiment of the present application;
Fig. 9 is an interface schematic diagram of a plurality of terminal devices logging in the same terminal account according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a method for processing a notification message according to an embodiment of the present application;
FIG. 11 is a flowchart illustrating a method for processing a notification message according to an embodiment of the present application;
Fig. 12 is an internal interaction flow chart of a terminal device according to an embodiment of the present application;
Fig. 13 is a flowchart illustrating a method for processing a notification message according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present application.
Detailed Description
For purposes of clarity in describing the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It should be noted that "at … …" in the embodiment of the present application may be an instant when a certain situation occurs, or may be a period of time after a certain situation occurs, which is not particularly limited in the embodiment of the present application. In addition, the display interface provided by the embodiment of the application is only used as an example, and the display interface can also comprise more or less contents.
Currently, terminal devices may support the installation of various types of applications that may push notification messages to the terminal device. When the terminal device receives a notification message from an application, the terminal device may display the notification message in a drop-down notification bar.
The user may use a plurality of terminal devices, which may be a first terminal and a second terminal, respectively. In some cases, after receiving the notification message of the local application, the second terminal may stream the notification message to the first terminal, and the first terminal displays the notification message. The user may process the notification message based on the first terminal.
The plurality of terminal devices in the embodiment of the application can be applied to the system architecture shown in fig. 1. The plurality of terminal devices may include a first terminal 101 and a second terminal 102, and the first terminal 101 and the second terminal 102 may be different devices under the management of the same terminal account number. The first terminal 101 and the second terminal 102 have a communication relationship, which includes one or more of the following: bluetooth communication, wireless fidelity WiFi communication, near Field Communication (NFC), and ZigBee (ZigBee) communication, etc.
The terminal account may be an account a, the first terminal 101 may be a pad of the login account a, and the second terminal may be a mobile phone of the login account a. It should be noted that, the terminal account is a user credential when the user uses the terminal service, and the terminal account can provide multiple service functions, for example, the terminal device can upload data such as contacts, short messages, gallery, etc. to the cloud for backup based on the terminal account. In some embodiments, a plurality of applications may be installed on a terminal device that has logged into a terminal account, where the plurality of applications may correspond to a plurality of application accounts.
Illustratively, as shown in FIG. 1, the second terminal 102 receives a notification message pushed by an application on the second terminal 102. In one possible implementation, the drop-down notification bar of the second terminal 102 may display a notification message pushed by the application. In another possible implementation manner, in a scenario where both the first terminal and the second terminal have logged into the same terminal account, the second terminal 102 may send the notification message to the first terminal 101 through a transmission manner such as bluetooth communication or WiFi communication. The notification message may be displayed in a drop-down notification bar of the first terminal 101.
In some embodiments, the user may process the notification message of the first terminal, e.g., the user may view the notification message and delete the notification message using the first terminal, etc. In some cases, the user wants to set the processing policy of the notification message, for example, when the user does not want to receive the notification message pushed by the application program, the first terminal may not set the notification message, which affects the user experience.
This is because, in a possible implementation, some notification messages received by the first terminal may be the notification messages of the second terminal that are streamed, and the source application corresponding to the streamed notification messages is not installed in the first terminal, so that the first terminal cannot set the streamed notification messages. The source application is an application program for pushing the notification message on the second terminal, and the notification message circulated by the second terminal may refer to: after receiving the notification message, the second terminal may send the notification message to the first terminal for subsequent notification message display. The user may view or process the notification message using the second terminal and the user may view or process the notification message using the first terminal.
It should be noted that, after receiving the notification message of the circulation, the first terminal cannot set the display mode of the notification message of the application program on the second terminal based on the notification message. Therefore, in this case, when the first terminal receives a trigger operation by the user for setting the icon, the first terminal cannot provide a setting interface of a notification message display mode of the application program on the second terminal, resulting in the first terminal displaying a messy code interface or failing to respond to the trigger operation by the user.
In the following, an example of an application program being a social application program, a first terminal being a tablet computer, and a second terminal being a mobile phone is described with reference to fig. 2, where a possible implementation scenario of processing a notification message of a first terminal to a second terminal circulation is described. Fig. 2 is a schematic diagram of an interface for a terminal device to process notification messages in a possible implementation.
In a possible implementation, when the second terminal receives a pull-down operation for the screen, the second terminal enters the interface shown as a in fig. 2. The interface a in fig. 2 includes a drop-down notification bar and a notification message, where the notification message may include a name, an icon, notification content, notification time, etc. of the social application.
The user may process the notification message of the second terminal at interface a in fig. 2, for example: the user can view the notification message, set the display mode of the notification message in the application program, delete the notification message, and the like.
In some embodiments, multiple terminal devices may log into the same terminal account, and multiple terminal devices logging into the same terminal account may form a trust ring. In order to facilitate the user to view and process the notification message in time, any terminal device on the trust ring can transfer the notification message to other terminal devices after receiving the notification message, and other devices on the trust ring continuously display the notification message. For example, in the embodiment of the present application, the first terminal and the second terminal log in the same terminal account, and when the second terminal receives the notification message, the second terminal may send the notification message to the first terminal, and the first terminal may display the notification message of the second terminal continuously.
For example, after the first terminal receives the notification message circulated by the second terminal, the first terminal may display a drop-down notification bar interface, which may be shown as b in fig. 2. In the interface shown in b of fig. 2, the first terminal may display a notification message; when the first terminal receives a trigger operation for the notification message to slide to the left, the first terminal enters an interface as shown by c in fig. 2. In the interface shown in c of fig. 2, the first terminal may display a notification message and a set icon and a delete icon that match the notification message. The setting icon is used for setting the display mode of the notification message in the application program, and the deleting icon is used for deleting the notification message in the drop-down notification bar interface.
When the first terminal receives a trigger operation for setting an icon, the first terminal enters an interface as shown by d in fig. 2. In the interface shown in d of fig. 2, the interface may display a messy code or the first terminal may not be able to load into the setup interface. The notification message is pushed by the application program installed on the second terminal, the first terminal can set the notification authority of the application program on the first terminal, but after receiving the notification message circulated by other terminal devices, the first terminal cannot set the application program on the other terminal devices, so that in the interface shown in c in fig. 2, when the first terminal receives the trigger operation for setting the icon, the first terminal cannot enter the notification setting interface in response to the trigger operation, or the first terminal can not respond to the trigger operation by mistake, and the messy code interface is displayed.
In view of this, an embodiment of the present application provides a method for processing a notification message, where when a first terminal receives a notification message of a local application, the first terminal may display a setting icon and a delete icon, and the first terminal may display a setting interface for setting the notification message in response to a triggering operation of a user on the setting icon; when the first terminal receives the notification message streamed from the second terminal, the first terminal may display the delete icon and either not display the set icon or display the set icon in the disabled state. Therefore, when the first terminal continuously displays the notification message of the second terminal, the user cannot use the setting icon, so that the scene of displaying an error interface by the first terminal in response to the triggering operation of the user on the setting icon is reduced, and the use experience of the user is improved.
It may be understood that, in the embodiment of the present application, the terminal device may include: mobile phone, smart television, wearable device, tablet (Pad), computer with wireless transceiver function, virtual Reality (VR) terminal device, augmented reality (augmented reality, AR) device, wireless device in industrial control (industrial control), wireless device in self-driving (self-driving). Wherein the wearable device may comprise: smart watches, smart bracelets, smart gloves, smart glasses, virtual Reality (VR) terminal devices, or smart belts. The specific form of the electronic device and the wearable device in the embodiment of the application is not particularly limited.
In order to better understand the embodiments of the present application, the structure of the terminal device 100 according to the embodiments of the present application is described below:
Fig. 3 shows a schematic structural diagram of the terminal device 100. The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriberidentification module, SIM) card interface 195, etc.
The sensor module 180 may include, among other things, a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processingunit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUITSOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purposeinput/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is illustrated schematically, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. The antennas in the terminal device 100 may be used to cover single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wirelesslocal area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied on the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques can include a global system for mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (codedivision multiple access, CDMA), wideband code division multiple access (wideband code division multipleaccess, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidounavigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith satellitesystem, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The terminal device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) screen (liquid CRYSTAL DISPLAY), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-34 diode, a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot light-emitting diode (quantum dot lightemitting diodes, QLED), or the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
Illustratively, the terminal device 100 may also include one or more of a key 190, a motor 191, an indicator 192, a SIM card interface 195 (eSIM card), and the like.
The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture, etc. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the terminal device 100 is illustrated.
Fig. 4 is a software configuration block diagram of the terminal device 100 of the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android runtime) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 4, the application layer may include a first application and a second application, where the first application is an application installed on the first terminal and may include a camera, a phone, music, a gallery, and the like; the second application is an application program installed on the second terminal and may include a camera, a phone, music, a gallery, etc. The application layer also includes a continuation framework module and a system user interface (System used interface, systemUI), etc., wherein SystemUI may include a notification display module, a notification flow module, and a notification reconstruction module.
The connection frame module is used for controlling the bottom layer regulation and node transmission control of the notification stream.
SystemUI belongs to a system-level application program installation package, and SystemUI is used for displaying status bar information, such as icon displays of batteries, wifi signals, 3G/4G signals and the like; displaying notification panels such as system messages and third party application messages; displaying a recent task bar display panel, such as displaying recently used applications after long-pressing a recent task shortcut key; providing screenshot service; providing wallpaper services, and the like.
The notification display module is used for displaying the notification message. The notification display module may include a custom menu module that may be used to customize the view of the notification status bar for notification messages.
The notification flow module is used for determining whether the notification message needs to be subjected to notification flow. When the notification message can flow, the notification flow module can flow the notification message to the continuous terminal. Otherwise, the notification message is not circulated by the notification circulation module.
The notification reconstruction module is used for constructing the notification message according to various attributes of the notification message.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 4, the application framework layer may include a window manager, a content provider, a resource manager, a view system, a notification manager, an activity manager, and the like.
The window manager is used for managing window programs. The window manager may obtain the display screen size, determine if there is a status bar, lock the screen, touch the screen, drag the screen, intercept the screen, etc.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification management module enables the application to display notification messages in the status bar, can be used to communicate notification type messages, and can automatically disappear after a short dwell without user interaction. Such as notification management modules are used to notify of the completion of the download, message alerts, etc. The notification management module may also be a notification in the form of a chart or scroll bar text presented in the system top status bar, such as a notification of a background running application, or a notification presented on a screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
Android runtime include core libraries and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver and a notification transmission module.
The notification transmission module at least comprises a Bluetooth driver and a WIFI driver. It can be understood that, in the process of sending the notification message from the second terminal to the first terminal, the notification transmission module of the second terminal may invoke the bluetooth driver or the wifi driver to send the notification message to the notification transmission module of the first terminal.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
In the embodiment of the application, the first terminal is taken as a tablet personal computer in the large-screen equipment, and the second terminal is taken as a mobile phone for illustration, and the illustration does not limit the embodiment of the application.
An application scenario of the notification message processing method provided by the embodiment of the present application is described below with reference to fig. 5, and fig. 5 shows an interface schematic diagram of the notification message processing method provided by the embodiment of the present application. As shown in fig. 5:
The first terminal is installed with a first application, and the first terminal may receive a first notification of the first application from the first terminal. When the first terminal receives a first notification pushed by the first application, the first terminal can remind the user of a new notification message to be processed in a prompt tone or vibration mode. The first terminal may enter an interface as shown in a of fig. 5 in response to a user's pull-down operation in the screen while in an unlocked state. When the first terminal is in a screen locking state, the first terminal can unlock the screen first, and then enter an interface shown as a in fig. 5 in response to a pull-down operation of a user in the screen. The interface shown in a of fig. 5 may be a drop-down notification bar interface. The notification message may be presented in the form of a message notification box, as shown at a in fig. 5. The notification message may display at least one of: the name of the application, the icon of the application, the content of the notification message, and the notification time of the notification message. For example, the first notification 501 may display a name of the first application, an icon of the first application, content of the first notification, and a notification time of the first notification. The interface shown in a in fig. 5 includes a name, an icon of a social application program, and before the notification time is 12 minutes, the content of the first notification is user a: the meeting is carried out at five afternoon.
The user may view the first notification using the first terminal. For example: when the first terminal receives a trigger operation for the first notification, the terminal device may start the first application and display the first notification. The first terminal may further set a display manner of the first notification of the first application and delete the first notification.
For example, the method for setting the display manner of the first notification of the first application and deleting the first notification by the first terminal may be as shown in fig. 5. In the interface shown in a of fig. 5, the first terminal receives a trigger operation for the first notification to slide left, and in response to the trigger operation for the first notification 501 to slide left, the terminal device may enter the interface shown in b of fig. 5. The interface shown in b in fig. 5 may display a first notification 501, a setting icon 502 and a deleting icon 503 that are matched with the first notification, and a deleting icon 504, where the setting icon 502 is used to set a display manner of the first notification pushed by the first application; the delete icon 503 is used to delete the first notification.
In some embodiments, when the first terminal receives a trigger operation for the set icon 502, the first terminal may enter an interface as shown by c in fig. 5. The interface shown in c in fig. 5 may display a notification setting interface of the first application, and the first terminal may set a display manner in which the first application pushes the first notification, for example, the interface shown in c in fig. 5 is a notification setting interface of a social application program, where the interface may include a prompt text allowing notification and a switch icon 505 allowing notification, a notification manner of a notification message, and a corresponding switch icon (for example, the notification display manner may be displayed on a notification status bar, displayed on a top banner of a screen, displayed on a lock screen, and the like, and corresponds to the switch icon 506, the switch icon 507, the switch icon 508, and the like, respectively). The user may set the display manner of the notification message of the social application based on the icon of the interface shown in c in fig. 5.
It should be noted that, in the embodiment of the present application, the notification manner is shown on the notification status bar as an exemplary processing method for the notification message, and the notification manner of the notification message in the embodiment of the present application may also be that the notification manner is displayed on the top banner of the screen and displayed on the lock screen, so that the principle of implementing the processing method for the notification message provided in the embodiment of the present application in the notification manner is similar, and the embodiments of the present application are not listed one by one.
In other embodiments, in the interface shown in b in fig. 5, when the first terminal receives a trigger operation for the delete icon 503, the first terminal may delete the first notification 501. It will be appreciated that the first terminal may display multiple notification messages simultaneously, the user may empty all notification messages using the delete icon 504, and illustratively, when the first terminal receives a trigger operation for the delete icon 504, the first terminal may delete multiple notification messages in the drop-down notification bar and exit the drop-down notification bar interface.
The above embodiment describes, with reference to fig. 5, a scenario in which the first terminal receives the notification message of the local application in the embodiment of the present application, and the following describes, with reference to fig. 6 and fig. 7, a scenario in which the first terminal receives the notification message of the application of the second terminal in the embodiment of the present application. Fig. 6 is an interface schematic diagram of a method for processing a notification message according to an embodiment of the present application, where the interface schematic diagram is shown in fig. 6:
the second terminal is installed with a second application, and the second terminal may receive and display a second notification of the second application from the second terminal. When the second terminal and the first terminal are in the same trust ring, the second terminal can also transfer the second notification flow to the first terminal, and the first terminal can display the second notification continuously.
It can be understood that in the embodiment of the present application, the first terminal and the second terminal may log in the same terminal account. In order to facilitate the user to view and process the notification message in time, the second terminal may stream the second message to the first terminal, which then displays the second notification. At this time, the first terminal and the second terminal can both display the second notification, and the user can use any terminal device to check and process the second notification, so that the condition that the user is missed in the message is reduced.
In one possible implementation, the second terminal may display a second notification from a second application of the second terminal. Illustratively, when the second terminal receives a pull-down operation for the screen, the second terminal enters the interface shown as a in fig. 6. The interface shown in a of fig. 6 may be a drop-down notification bar interface. The second notification 601 may be presented in the form of a message notification box, as shown by a in fig. 6. The second notification may display at least one of: the name of the second application, the icon of the second application, the content of the second notification, and the notification time of the second notification.
When the second terminal receives a trigger operation for the second notification 601 to slide to the left, the second terminal enters the interface shown as d in fig. 6. The interface shown in d in fig. 6 displays a second notification 601 and a set icon 604 and a delete icon 605 that match the second notification. The user may set a display manner of the notification message of the second application using the setting icon 604, for example, when the second terminal receives a trigger operation for the setting icon 604, the second terminal may enter a notification setting interface of the second application (the notification setting interface may refer to the interface shown by c in fig. 5).
In another possible implementation, the first terminal may receive a second notification from a second application of the second terminal and display the second notification.
For example, when the first terminal receives the second notification from the second terminal, the first terminal may process the second notification as a third notification, and the first terminal may display the third notification. The third notification is based on the second notification, which may be a notification message with the set icon disabled. Illustratively, the first terminal receives a second notification from the second terminal. When the first terminal receives a pull-down operation for the screen, the first terminal may enter an interface as shown in b in fig. 6. In the interface shown in b in fig. 6, a third message 602 is displayed, and when the first terminal receives a trigger operation for the third notification 602 to slide to the left, the terminal device may enter the interface shown in c in fig. 6 in response to the trigger operation for the third notification to slide to the left. The interface shown in c in fig. 6 may display a third notification 602 and a delete icon 603 matching the third notification, and no set icon is displayed in the interface.
It will be appreciated that the second notification 601 of the interface shown in fig. 6a is consistent with the display information of the third notification 602 of the interface shown in fig. 6 b, for example: the name of the application, the icon of the application, the content of the notification message, and the notification time of the notification message.
However, in the processing operations for the second notification and the third notification, for example, the interface shown in d in fig. 6 is different from the interface shown in c in fig. 6, and the interfaces displayed by the first terminal and the second terminal are different. When the user processes the second notification using the second terminal, the second terminal may display a setting icon since the second application is installed on the second terminal, and the second terminal may enter a notification setting interface of the second application based on the setting icon. When the user uses the first terminal to process the second notification, the second notification is that the second terminal flows to the first terminal, and the first terminal cannot set the source application program of the second notification, so in the embodiment of the application, the first terminal closes the setting entry of the notification display mode for setting the source application program of the second notification, and the first terminal does not display the setting icon. It is understood that the display information of the second notification is the same as that of the third notification, but the second terminal may display a setting icon for setting the second notification, and the first terminal may not display a setting icon for setting the third notification.
According to the method for processing the notification message, the first terminal receives the second notification from the second terminal; the first terminal obtains a third notification based on the second notification, and the first terminal receives a left sliding operation aiming at the third notification; in response to the left-hand slide operation, the first terminal displays the third notification and the delete icon matching the third notification, and does not display the set icon matching the third notification. Therefore, the first terminal does not display the icon for setting the display mode of the third notification, and further, the scene of displaying an error interface due to the fact that the first terminal responds to the triggering operation of the user on the setting icon can be reduced, and the use experience of the user can be improved.
Fig. 6 is a schematic diagram illustrating a scenario in which the first terminal does not display the setting icon matched with the third notification in the embodiment of the present application, and in the following, a scenario in which the first terminal displays the setting icon in the disabled state in the embodiment of the present application is described with reference to fig. 7. Fig. 7 is an interface schematic diagram of another method for processing a notification message according to an embodiment of the present application, where the interface schematic diagram is shown in fig. 7:
In a possible implementation, the second terminal may display a second notification of a second application from the second terminal, such as the interfaces shown as a and d in fig. 7. The second terminal may enter the notification setting interface of the second application through the interface shown as d in fig. 7. Reference may be made to the description of the interface shown in a in fig. 6 and the interface shown in d in fig. 6, and the description of this embodiment of the present application will not be repeated.
In another possible implementation, the first terminal may receive a second notification from a second application of the second terminal and display the second notification.
For example, when the first terminal receives the second notification from the second terminal, the first terminal may process the second notification as a third notification, and the first terminal may display the third notification. The third notification is based on the second notification, which may be a notification message with the set icon disabled. Illustratively, the first terminal receives a second notification from the second terminal. When the first terminal receives a pull-down operation for the screen, the first terminal may enter an interface as shown in b in fig. 7. In the interface shown in b in fig. 7, a third message 702 is displayed, and when the first terminal receives a trigger operation for the third notification 702 to slide to the left, the terminal device may enter the interface shown in c in fig. 7 in response to the trigger operation for the third notification to slide to the left. The interface shown in c in fig. 7 may display a third notification 702, a delete icon 704 that matches the third notification, and a set icon 703 in a disabled state. The disabled state of the set icon 703 may be understood as a set icon displayed on the second desktop, but with a gray level to indicate to the user that the current set icon is not available.
It will be appreciated that the second notification 701 of the interface shown in a in fig. 7 is consistent with the display information of the third notification 702 of the interface shown in b in fig. 7, for example: the name of the application, the icon of the application, the content of the notification message, and the notification time of the notification message.
However, in the processing operations for the second notification and the third notification, for example, the interface shown in d in fig. 7 is different from the interface shown in c in fig. 7, and the interfaces displayed by the first terminal and the second terminal are different. When the user processes the second notification using the second terminal, the second terminal may display the setting icon 705 and the delete icon 706 since the second application is installed on the second terminal, and the second terminal may enter the notification setting interface of the second application based on the setting icon 705. When the user processes the second notification by using the first terminal, the second terminal flows to the first terminal, and the first terminal cannot set the source application of the second notification, so in the embodiment of the application, the first terminal closes the setting entry of the notification display mode for setting the source application of the second notification, and the first terminal displays the delete icon 704 and the setting icon 703 in the disabled state. It is understood that the display information of the second notification is the same as that of the third notification, but the second terminal may display the setting icon 705 for setting the second notification, and the first terminal displays the setting icon 703 for setting the third notification in the disabled state.
According to the other method for processing the notification message, the first terminal receives the second notification from the second terminal; the first terminal obtains a third notification based on the second notification; the first terminal receives a left-hand sliding operation aiming at a third notification; in response to the left-hand slide operation, the first terminal displays a third notification, a delete icon matching the third notification, and a set icon of a disabled state. Therefore, the setting icon is in the disabled state, so that the user can be reminded of the fact that the corresponding setting function of the setting icon cannot be used currently, the scene that an error interface is displayed due to the fact that the first terminal responds to the triggering operation of the user on the setting icon can be reduced, and the use experience of the user can be improved.
The above embodiments describe the use field Jing Jin of the notification message processing method provided by the embodiments of the present application, and the flow of the notification message processing method provided by the embodiments of the present application will be described below.
For example, in order to facilitate understanding of the method for processing a notification message according to the embodiment of the present application, a flow of receiving, by a first terminal, a second notification from a second terminal is described first, and fig. 8 is a schematic flow diagram illustrating the method for processing a notification message according to the embodiment of the present application, where fig. 8 is a flow diagram illustrating the method for processing a notification message according to the embodiment of the present application:
It should be noted that, in the flowchart shown in fig. 8, the second terminal may include: the second application, the notification circulation module and the connection frame module in the application program layer; a notification management module of the application framework layer; and a notification transmission module of the kernel layer, etc., each module may refer to the related description of fig. 4, and will not be described herein. The flow of the second notification from the second terminal to the first terminal is described below with reference to fig. 8.
Exemplary, S801, the second application of the second terminal reports the second notification to the notification management module.
The second application of the second terminal may generate a second notification of the information to be notified, and report the second notification to the notification management module of the application framework layer. The notification management module may be a Notification Management Service (NMS) that may be used to manage notifications in a notification status bar, responsible for issuing notifications, deleting notifications, etc. For example, the second terminal may display the second notification in a drop-down notification bar through the notification management module. For example, as shown in an interface a in fig. 6, the second terminal may display a second message 601.
In the embodiment of the present application, the notification management module of the second terminal may report the obtained second notification to other modules to complete the notification circulation flow of the second notification in the embodiment of the present application, as shown in steps S802 to S808:
S802, the notification management module of the second terminal judges whether the second notification meets the circulation rule.
The notification management module may be used to determine whether the second notification is capable of being streamed to the other terminal (e.g., the first terminal). The second terminal may send the second notification to the first terminal when the second notification is streamable; and when the second notification is not capable of being circulated, the second terminal does not perform notification circulation on the second notification.
Alternatively, the circulation rule may include at least one of the following, and by way of example, the notification management module may perform steps S8021-S8023:
S8021, the notification management module of the second terminal performs notification filtering on the second notification.
Wherein, part of the notification messages cannot be notified, for example: multimedia class notifications, music class notifications, etc., which may be filtered out by the notification management module without notification streaming.
S8022, the notification management module of the second terminal judges whether a terminal supporting cross-device notification exists on the trust ring.
The notification management module may select a terminal on the same trust ring as the second terminal as the terminal supporting cross-device notification. For example, multiple terminal devices logged into the same terminal account may form a trust ring, as shown in fig. 9.
As shown in the interface a of fig. 9, the user may log in to the user's terminal account on the mobile phone, for example, the terminal account of user a is 123456789. As shown in the interface b in fig. 9, the user may also log in the terminal account of the user on the pad, for example, the user also logs in the terminal account on the pad: 123456789. at this time, the mobile phone and the pad which are simultaneously logged in the terminal account 123456789 trust each other, and a trust ring can be formed.
When the notification management module determines that there are other devices (e.g., the first terminal) on the trust ring of the second terminal, the notification management module may forward the second notification stream to the first terminal.
S8023, the notification management module determines whether the second application is set to support notification message streaming.
The notification management module can acquire an application program which is set by a user or is set by a system and supports notification message flow; the second terminal may send the second notification to the first terminal when the second application may support notification message streaming.
The embodiment of the application is described in the description of the circulation rule of the second notification, and the second terminal can also determine whether the notification message supports circulation based on other circulation rules, which are not listed in one by one.
S803, when the second notification meets the circulation rule, the notification management module of the second terminal reports the second notification to the notification circulation module.
When the notification management module determines that the second notification can be transferred to the first terminal, the notification management module reports the second notification to the notification transfer module.
S804, the notification circulation module of the second terminal codes the second notification.
The second notification may include: the name of the second application, the icon of the second application, the content of the second notification, the notification time of the second notification, and the like. The notification circulation module can analyze the data of the second notification when receiving the second notification. For example: the notification flow module may parse the visual text data in the second notification into a lightweight data interaction format (JavaScript Object Notation, JSON). The notification flow module obtains the encoded second notification.
S805, the notification circulation module of the second terminal reports the second notification to the connection frame module.
S806, the connection frame module of the second terminal configures the second notification.
Illustratively, the splice frame module may be used to control underlying calls and node transmission control of the notification flow module. The splice frame module may configure the encoded second notification. For example, after obtaining the JSON data encoded by the notification stream module, the connection framework module encrypts the JSON data, adds stream device information and the like (for example, the second notification is to be stream to the first terminal), and generates a configuration such as a compressed packet. The embodiment of the application does not limit the encryption mode of the second notification.
S807, the connection frame module of the second terminal reports the second notification to the notification transmission module.
S808, the notification transmission module of the second terminal transmits the second notification to the first terminal.
The notification transmission module may be a WiFi channel, a bluetooth channel, etc. of the second terminal. When the channel is opened, the notification transmission module of the second terminal can send the second notification to the notification transmission module of the first terminal, and the first terminal obtains the second notification.
The above embodiment describes a method for the first terminal to receive the second notification from the second terminal in the embodiment of the present application in connection with steps S801 to S808. The method for processing the second notification by the first terminal in the embodiment of the present application will be described below with reference to fig. 10.
It should be noted that, in the flowchart shown in fig. 10, the first terminal may include: the notification display module, the notification reconstruction module, the connection framework module, the notification transmission module, and the like of the application layer, and each module may refer to the related description of fig. 4, and will not be described herein. In order to facilitate description of the method for processing notification messages provided by the embodiment of the present application, the notification display module distinguishes the customization menu module from the notification management module, and the customization menu module may be understood as a sub-module in the notification management module for displaying notification messages of a cross device, where the notification messages of the cross device may be third notification.
The flow of the second notification from the second terminal to the first terminal will be described below with reference to fig. 10.
The notification transmission module of the first terminal receives the second notification from the second terminal in S1001.
S1002, the notification transmission module of the first terminal reports the second notification to the connection frame module.
S1003, the connection frame module of the first terminal configures the second notification.
After the second terminal executes step S806, a configured second notification is obtained; the splice frame module of the first terminal may receive a second notification streamed by the second terminal. The connection framework module of the first terminal configures the second notification accordingly, and illustratively, the connection framework module may decrypt the encrypted second notification. The decryption method in step S1003 corresponds to the encryption method in step S806. The embodiment of the application does not limit the decryption mode of the second notification.
S1004, the connection framework module of the first terminal reports the second notification to the notification reconstruction module.
S1005, a notification reconstruction module of the first terminal sets the attribute of the notification setting item in the second notification to obtain a third notification.
Upon reconstructing the notification message, the notification reconstruction module may write attribute information related to the notification setting item in the second notification, thereby obtaining a third notification without the setting icon or a third notification including the setting icon of the disabled state.
S1006, the notification reconstruction module of the first terminal reports the third notification to the notification display module.
The notification reconstruction module of the first terminal may report the third notification to the notification display module via the notification management module.
S1007, when the first terminal receives a fourth operation aiming at the third notification, the notification display module of the first terminal transmits the third notification to the customization menu module, and the customization menu module displays the second desktop.
The fourth operation may be, for example, a trigger operation for the third notification to slide to the left. In one possible implementation, the second desktop may correspond to the interface shown at c in FIG. 6. And the first terminal receives the fourth operation, and the customized menu module of the first terminal reads the third notification and displays the second desktop in response to the fourth operation. Wherein, the customized menu module may draw and display a delete icon 603 matching the third notification according to the first attribute information of the third notification on the second desktop, and not display a set icon matching the third notification.
In another possible implementation, the second desktop may correspond to the interface shown as c in fig. 7. And the first terminal receives the fourth operation, and the customized menu module of the first terminal reads the third notification and displays the second desktop in response to the fourth operation. Wherein the customized menu module draws and displays a delete icon 704 and a disable state setting icon 703 matching the third notification on the second desktop according to the first attribute information of the third notification.
Steps S1005-S1007 are further described below in conjunction with fig. 11. Fig. 11 is a flow chart illustrating a method for processing a notification message according to an embodiment of the present application, as shown in fig. 11:
s1101, the notification reconstruction module of the first terminal decodes the second notification.
The second notification may be JSON data, and the notification reconstruction module of the first terminal may decode the JSON data to obtain the decoded second notification. It may be appreciated that in the embodiment of the present application, the second terminal may perform step S804 to encode the second notification, and the first terminal may perform step S1101 to decode the second notification after receiving the second notification. Wherein the decoded data fields are consistent with the encoded data fields, e.g., the icon, content, time, etc., of the notification message. In the decoding process, the notification reconstruction module can analyze the encoded notification data.
S1102, a notification reconstruction module of the first terminal reads the second notification.
The second notification may include one or more of the following: the name of the second application, the icon of the second application, the content of the second notification, and the notification time of the second notification. The notification reconfiguration module may obtain a notification attribute of the second notification. For example: the second notification may include an icon, a notification title contentTitle, notification content contentText, notification time wsen, notification type flags, notification view contentView, notification sound effect sound, and the like. In the embodiment of the present application, the notification reconfiguration module of the first terminal may set the above notification attribute based on the method of construction bulid, and construct the notification message.
S1103, the notification reconfiguration module of the first terminal writes first attribute information in the second notification, where the first attribute information is used to indicate whether the notification setting item of the notification message is disabled.
In an embodiment of the present application, the first attribute information may be an extension extras attribute, for example, a extras attribute may also be added to the notification message, where the extras attribute is used to transfer additional data required by the target component. The notification reconstruction module may write the first attribute information in the second notification to cause the first terminal to obtain a third notification of the disabled notification setting item.
In one possible implementation, the first attribute information may include a key name key value and a key value, where the key value is used to indicate attribute information of a notification setting item of the notification message; the value may determine whether the attribute information of the notification setting item is valid according to a preset value. For example, when the value is a first preset value, the first attribute information indicates that the notification setting item of the notification message is disabled; when the value is a second preset value, the first attribute information indicates that the notification setting item of the notification message is not disabled.
In one possible implementation, the first attribute information is extras attributes, extras attributes may be set by a putExtras ("key", "value") method, where the notification reconfiguration module may set the key of the extras attribute to disable the notification setting item, and set the value of the extras attribute to a first preset value that is used to indicate that the notification setting item of the notification message is disabled. For example, the preset value of value may be a boolean value, for example, a first preset value of value may be set to true, and a second preset value may be false. The preset Value of Value may also be in the form of 0,1, etc., and the embodiment of the present application does not limit the preset Value.
S1104, the notification reconstruction module of the first terminal constructs a notification message according to the second notification and the first attribute information to obtain a third notification.
The notification attribute of the third notification may include the notification attribute of the second notification and the added first attribute information; when the notification reconstruction module reads the second notification and the added first attribute information, a build method can be used for constructing a third notification. For example, the notification reconstruction module creates a notification object of the third notification using the constructor builer. In the notification object, the notification reconstruction module sets the attributes of icon, contentTitle, contentText, and the wsen, etc. and the extras attribute of the second notification, respectively. The notification reconstruction module reconstructs the notification object based on the notification attribute to obtain a third notification.
S1105, the notification reconstruction module of the first terminal reports the third notification to the notification display module.
The notification display module may be a sub-module of a system user interface (system user interface, systemUI) that is operable to display notification messages. In the embodiment of the application, the notification reconstruction module of the first terminal can report the third notification to the notification management module, and the notification management module flows to the notification display module.
S1106, the notification display module of the first terminal calls the customized menu module and transmits a third notification to the customized menu module.
The custom menu module may be a sub-module of the notification display module for displaying notification messages across devices, e.g., the notification messages across devices may be third notifications. The notification display module may invoke the custom menu module to display the view of the third notification via the custom menu module when creating the view of the drop-down notification bar of the third notification.
S1107, the customized menu module of the first terminal draws and displays the second desktop according to the first attribute information of the third notification.
And the customization menu module obtains a third notification and reads the first attribute information in the third notification. The custom menu module may query whether the notification setting item indicating the third notification is disabled in the incoming first attribute information.
When the first terminal obtains the third notification, the second desktop can be drawn and displayed according to the first attribute information. The second desktop may be interfaced as shown at c in fig. 6 or as shown at c in fig. 7. Taking the second desktop as an example of the interface shown in c in fig. 6, the second desktop may be displayed with a delete icon 603 that matches the third notification. Taking the second desktop as an example of the interface shown in c in fig. 7, the second desktop may be displayed with a delete icon 704 and a disable state set icon 703 that match the third notification.
In one possible implementation manner, the customization menu module may query a key value and a value in the first attribute information, where the key value is attribute information indicating a notification setting item of the notification message, and the value is a first preset value. The customization menu module can draw the View of the drop-down notification bar of the third notification according to the first attribute information, so that the first terminal displays the second desktop.
It will be appreciated that for a notification message across devices, the customization menu module may customize the drop-down notification bar interface for the notification message. The interface includes a delete icon and no set icon, or includes a delete icon and a disable state set icon. When the first terminal displays the third notification, the setting icon is hidden, the setting function of the setting icon is disabled, the drop-down notification bar interface of the third notification does not provide an entry of the setting function, and the situation that the user clicks the setting icon but cannot use the setting function does not occur.
The processing method of the notification message provided by the embodiment of the application writes the first attribute information in the second notification and reconstructs the second notification into the third notification; the customized menu module displays a second desktop according to the first attribute information of the third notification, and the second desktop may not display a setting icon matched with the third notification or display a setting icon in a disabled state. Therefore, the user cannot use the setting icon of the third notification, the situation that the user uses the setting icon but cannot set the notification message cannot occur, and the use experience of the user is further improved.
The following describes the internal implementation of the terminal device of the notification message processing method according to the embodiment of the present application with reference to fig. 12, and fig. 12 shows an internal interaction flow chart of the first terminal and the second terminal according to the embodiment of the present application. As shown in fig. 12:
Illustratively, the application layer of the first terminal may include SystemUI and a continuation framework module, where SystemUI includes a notification reconfiguration module and a notification display module, where the notification display module includes a custom menu module; the kernel layer of the first terminal may include a notification transmission module. The application layer of the second terminal may include SystemUI and a connection framework module, where SystemUI includes a notification flow module and a notification display module; the kernel layer of the second terminal may include a notification transmission module.
The following describes an internal interaction procedure of the second terminal, taking a circulation procedure of the second notification of the second terminal as an example.
In some embodiments, the notification flowing module of the second terminal may receive the second notification from the second application, and when the second notification satisfies the flowing rule, the notification flowing module of the second terminal may perform steps S804 and S805 to flow the second notification to the connection framework module. The connection frame module is responsible for controlling the bottom layer call and node transmission control of the notification flow module, and the connection frame module processes the second notification and then reports the second notification to the notification transmission module. The notification transmission module of the second terminal may send the second notification to the notification transmission module of the first terminal.
In other embodiments, the second notification of the second terminal may not satisfy the circulation rule, and the second notification may not be circulated to the other terminal. The notification display module of the second terminal may display the second notification, for example, the notification display module may support a notification setting function and a notification deleting function, and the notification display module may display a setting icon and a deleting icon.
The following describes an internal interaction procedure of the first terminal, taking a circulation procedure of the third notification of the first terminal as an example.
The notification transmission module of the first terminal may receive the second notification from the notification transmission module of the second terminal. The notification transmission module of the first terminal reports the second notification to the connection frame module, and the connection frame module can configure the second notification and report the configured second notification to the notification reconstruction module. The notification reconfiguration module may perform steps S1101 to S1104, reconfigure the second notification to a third notification, and report the third notification to the notification display module. The notification display module queries the first attribute information in the third notification, and the notification display module can display the third notification according to the first attribute information, for example, the notification display module can support a notification deletion function, and the notification display module can display a deletion icon and not display a setting icon; for another example, the notification display module may support a notification delete function and the notification display module may display a delete icon and a disable state setting icon.
On the basis of the above embodiment, the embodiment of the present application provides a method for processing a notification message. Fig. 13 is a schematic flow chart of a method for processing a notification message according to an embodiment of the present application.
As shown in fig. 13, the processing method of the notification message includes:
s1301, the first terminal receives a first notification from a first application in the first terminal at a first time.
The first terminal receives a first notification from a first application in the first terminal at a first time, the first notification 501 may be as shown in the interface a in fig. 5.
S1302, the first terminal receives a first operation of a user.
The first operation is a pull-down operation, and the first operation may be a pull-down operation for displaying a pull-down notification bar. For example, the first operation may be a trigger operation of the user sliding down on the screen.
And S1303, responding to the first operation, and displaying a first desktop by the first terminal, wherein the first desktop displays a first notification.
The first desktop may be understood as a drop-down notification bar interface on which a first notification is displayed, and may correspond to the interface shown as a in fig. 5, on which the first notification 501 is displayed.
S1304, the first terminal receives a second operation of the user for the first notification.
Wherein the second operation is a left-slide operation, the second operation may correspond to a trigger operation of the user for left-slide of the first notification 501 in the interface shown in a in fig. 5.
And S1305, responding to a second operation, the first terminal displays a first icon and a second icon matched with the first notification on the first desktop, wherein the first icon is used for setting the display mode of the first notification in the first application, and the second icon is used for deleting the first notification on the first desktop.
Wherein, the first icon matched with the first notification may be the setting icon 502 in the interface shown in b in fig. 5; the second icon that matches the first notification may be a delete icon 503 in the interface shown in b in fig. 5.
It may be understood that the first desktop is a drop-down notification bar interface for displaying the first notification, and in an embodiment of the present application, the drop-down notification bar interface for displaying the first notification may be defined as the first desktop. That is, the first desktop may be the interface shown as a in fig. 5 or the interface shown as b in fig. 5. In step S1305, the first desktop may correspond to the scene corresponding to the interface shown in b in fig. 5.
S1306, the first terminal receives a second notification from the second terminal at a second moment, wherein the second moment is later than the first moment.
S1307, the first terminal receives a third operation by the user.
Wherein the third operation is a pull-down operation, and the third operation may be a pull-down operation for displaying a pull-down notification bar. For example, the third operation may be a trigger operation of the user sliding down on the screen.
S1308, responding to a third operation, and displaying a second desktop by the first terminal, wherein the second desktop is displayed with a third notification; the third notification is a notification message based on the second notification.
Wherein the second desktop can be understood as a drop-down notification bar interface with a third notification displayed, the second desktop can correspond to the interface shown as b in fig. 6, with a third notification 602 displayed on the second desktop; or the second desktop may correspond to the interface shown in b of fig. 7 with the third notification 702 displayed thereon.
S1309, the first terminal receives a fourth operation known by the user for the third.
Wherein the fourth operation is a left-slide operation, which may correspond to a trigger operation of the user for left-slide of the third notification 602 in the interface shown in b in fig. 6; the fourth operation may also correspond to a trigger operation for the user to slide left for the third notification 702 in the interface shown in b in fig. 7.
After step S1309, the terminal device may perform step S1310 or S1311, exemplarily:
S1310, responding to a fourth operation, the first terminal displays a third icon matched with the third notification on the second desktop, and does not display a fourth icon matched with the third notification; the third icon is used for deleting the third notification on the second desktop, and the fourth icon is used for setting the display mode of the third notification.
Wherein the third icon matching the third notification may be the delete icon 603 in the interface shown in c in fig. 6.
Or S1311, in response to the fourth operation, the first terminal displays a third icon and a fifth icon that are matched with the third notification on the second desktop, the fifth icon is used for setting the display mode of the third notification, and the fifth icon is disabled.
Wherein the fifth icon may correspond to the disabled state set button 703 in the interface shown in c in fig. 7.
It may be understood that the second desktop is a drop-down notification bar interface displaying the third notification, and in an embodiment of the present application, the drop-down notification bar interface displaying the third notification may be defined as the second desktop. That is, the second desktop may be the interface shown in b of fig. 6, or the interface shown in c of fig. 6; the second desktop may be the interface shown as b in fig. 7 or the interface shown as c in fig. 7. In step S1310, the second desktop may correspond to the scene corresponding to the interface shown in c in fig. 6. In step S1311, the second desktop may correspond to the scene corresponding to the interface shown in c in fig. 7.
Optionally, the terminal account number logged in by the first terminal and the terminal account number logged in by the second terminal are the same terminal account number.
The interface of the first terminal login terminal account may correspond to the interface b in fig. 9, and the interface of the second terminal login terminal account may correspond to the interface a in fig. 9. The terminal account number of the first terminal login is the same as the terminal account number of the second terminal login.
The method for processing the notification message according to the embodiment of the present application has been described above, and the device for executing the method according to the embodiment of the present application is described below. As shown in fig. 14, fig. 14 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present application, where the notification message processing apparatus may be a terminal device in the embodiment of the present application, or may be a chip or a chip system in the terminal device.
As shown in fig. 14, the apparatus 1400 for processing a notification message may be used in a communication device, a circuit, a hardware component, or a chip, and the apparatus for processing a notification message includes: a display unit 1401, and a processing unit 1402. Wherein the display unit 1401 is used for supporting the step of display performed by the processing device 1400 of the notification message; the processing unit 1402 is for the processing device 1400 supporting the notification message to perform the steps of information processing.
In a possible implementation, the processing device 1400 of the notification message may also include a communication unit 1403. Specifically, the communication unit is configured to execute the steps of transmitting data and receiving data by the processing apparatus 1400 supporting the notification message. The communication unit 1403 may be an input or output interface, a pin, a circuit, or the like.
In a possible embodiment, the processing device of the notification message may further include: a storage unit 1404. The processing unit 1402 and the storage unit 1404 are connected by a line. The storage unit 1404 may include one or more memories, which may be one or more devices, devices in a circuit for storing programs or data. The storage unit 1404 may exist independently and be connected to the processing unit 1402 provided in the processing device of the notification message through a communication line. The memory unit 1404 may also be integrated with the processing unit 1402.
The storage unit 1404 may store computer-executable instructions of the method in the terminal device to cause the processing unit 1402 to perform the method in the above-described embodiment. The storage unit 1404 may be a register, a cache, a RAM, or the like, and the storage unit 1404 may be integrated with the processing unit 1402. The storage unit 1404 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the storage unit 1404 may be independent of the processing unit 1402.
The embodiment of the application provides a terminal device, which may also be called a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), and the like. The terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (SMART GRID), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (SMART CITY), a wireless terminal in smart home (smart home), or the like.
The terminal device includes: comprising the following steps: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to cause the terminal device to perform the method described above.
The embodiment of the application provides terminal equipment, and the structure is shown in fig. 3. The memory of the terminal device may be configured to store at least one program instruction, and the processor is configured to execute the at least one program instruction, so as to implement the technical solution of the foregoing method embodiment. The implementation principle and technical effects are similar to those of the related embodiments of the method, and are not repeated here.
The embodiment of the application provides a chip. The chip comprises a processor for invoking a computer program in a memory to perform the technical solutions in the above embodiments. The principle and technical effects of the present application are similar to those of the above-described related embodiments, and will not be described in detail herein.
An embodiment of the present application provides a computer program product, which when executed on an electronic device, causes the terminal device to execute the technical solution in the foregoing embodiment. The principle and technical effects of the present application are similar to those of the above-described related embodiments, and will not be described in detail herein.
An embodiment of the present application provides a computer readable storage medium having stored thereon program instructions that, when executed by a terminal device, cause the terminal device to execute the technical solution of the above embodiment. The principle and technical effects of the present application are similar to those of the above-described related embodiments, and will not be described in detail herein. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
The computer readable medium may include RAM, ROM, a compact disc-read only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium targeted for carrying or storing the desired program code in the form of instructions or data structures and may be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (Digital Subscriber Line, DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes optical disc, laser disc, optical disc, digital versatile disc (DIGITAL VERSATILE DISC, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing detailed description of the invention has been presented for purposes of illustration and description, and it should be understood that the foregoing is by way of illustration and description only, and is not intended to limit the scope of the invention.
Claims (12)
1. A method for processing a notification message, the method comprising:
After a first application of a first terminal generates a first notification, the first terminal receives a first operation of a user;
responding to the first operation, the first terminal displays a first desktop, wherein the first desktop displays the first notification;
the first terminal receives a second operation of the user aiming at the first notification;
Responding to the second operation, the first terminal displays a first icon and a second icon matched with the first notification on the first desktop, wherein the first icon is used for setting the display mode of the first notification, and the second icon is used for deleting the first notification on the first desktop;
the first terminal receives a second notification from a second terminal, wherein the terminal account number logged in by the first terminal and the terminal account number logged in by the second terminal are the same terminal account number;
the first terminal receives a third operation of a user;
responding to the third operation, the first terminal displays a second desktop, wherein the second desktop displays a third notification, and the third notification is a notification message obtained based on the second notification;
the first terminal receives a fourth operation of the user aiming at the third notification;
In response to the fourth operation, the first terminal displays a third icon matched with the third notification on the second desktop, and does not display a fourth icon matched with the third notification; the third icon is used for deleting the third notification on the second desktop, and the fourth icon is used for setting the display mode of the third notification;
or in response to the fourth operation, the first terminal displays the third icon and the fifth icon matched with the third notification on the second desktop; the third icon is used for deleting the third notification on the second desktop, the fifth icon is used for setting the display mode of the third notification, and the fifth icon is disabled.
2. The method of claim 1, wherein the first operation is a pull-down operation and the second operation is a left-slide operation.
3. The method of claim 1, wherein the third operation is a pull-down operation and the fourth operation is a left-slide operation.
4. A method according to any of claims 1-3, wherein the first terminal is a tablet device and the second terminal is a mobile phone.
5. A method according to any one of claims 1 to 3, wherein the second notification comprises one or more of: a name of a second application, an icon of the second application, content of the second notification, and notification time of the second notification; after the first terminal receives the second notification from the second terminal, the method further comprises:
And the first terminal sets the attribute of the notification setting item in the second notification to obtain the third notification.
6. The method according to claim 5, wherein the first terminal sets the attribute of the notification setting item in the second notification, and obtaining the third notification includes:
The first terminal reads the second notification;
The first terminal writes first attribute information in the second notification, wherein the first attribute information is used for indicating whether a notification setting item of the notification message is forbidden;
And the first terminal constructs a notification message according to the second notification and the first attribute information to obtain the third notification.
7. The method according to claim 6, wherein the first attribute information includes a key name key value and a key value, the key value being attribute information indicating a notification setting item of the notification message;
When the value is a first preset value, the first attribute information indicates that a notification setting item of the notification message is not disabled; when the value is a second preset value, the first attribute information indicates that a notification setting item of the notification message is disabled.
8. The method according to any of claims 1-3, 6-7, wherein the first terminal comprises a notification reconstruction module, a notification display module, and a custom menu module; the method further comprises the steps of:
the notification reconstruction module of the first terminal reports the third notification to the notification display module;
the notification display module of the first terminal calls the customized menu module and transmits the third notification to the customized menu module;
the customized menu module of the first terminal reads the first attribute information of the third notification;
The customized menu module draws and displays the third icon matched with the third notification according to the first attribute information of the third notification on the second desktop, and does not display the fourth icon matched with the third notification;
or the customized menu module draws and displays the third icon and the fifth icon matched with the third notification according to the first attribute information of the third notification on the second desktop.
9. The method of claim 1, wherein the first terminal further comprises a notification management module; before the first terminal receives the first operation of the user, the method further comprises:
The notification management module of the first terminal receives the first notification from the first application.
10. A terminal device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
The processor executing computer-executable instructions stored in the memory to cause the terminal device to perform the method of any one of claims 1-9.
11. A computer readable storage medium storing a computer program, which when executed by a processor implements the method according to any one of claims 1-9.
12. A computer program product comprising a computer program which, when run, causes a computer to perform the method of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410391063.8A CN118426640A (en) | 2022-09-28 | 2022-09-28 | Processing method of notification message and electronic equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410391063.8A CN118426640A (en) | 2022-09-28 | 2022-09-28 | Processing method of notification message and electronic equipment |
CN202211193475.8A CN116737036B (en) | 2022-09-28 | 2022-09-28 | Processing method of notification message and electronic equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211193475.8A Division CN116737036B (en) | 2022-09-28 | 2022-09-28 | Processing method of notification message and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118426640A true CN118426640A (en) | 2024-08-02 |
Family
ID=87908591
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211193475.8A Active CN116737036B (en) | 2022-09-28 | 2022-09-28 | Processing method of notification message and electronic equipment |
CN202410391063.8A Pending CN118426640A (en) | 2022-09-28 | 2022-09-28 | Processing method of notification message and electronic equipment |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211193475.8A Active CN116737036B (en) | 2022-09-28 | 2022-09-28 | Processing method of notification message and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN116737036B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3511811A1 (en) * | 2013-12-20 | 2019-07-17 | Huawei Device Co., Ltd. | Method and apparatus for managing notification bar message |
CN106648661B (en) * | 2016-12-22 | 2020-05-22 | 北京珠穆朗玛移动通信有限公司 | Notification bar message processing method and mobile terminal |
CN114157756A (en) * | 2020-08-20 | 2022-03-08 | 华为技术有限公司 | Task processing method and related electronic equipment |
CN114554005B (en) * | 2020-11-11 | 2023-11-10 | 华为技术有限公司 | Notification message management method and electronic equipment |
CN113821132B (en) * | 2021-07-27 | 2023-08-15 | 荣耀终端有限公司 | Message processing method and device |
-
2022
- 2022-09-28 CN CN202211193475.8A patent/CN116737036B/en active Active
- 2022-09-28 CN CN202410391063.8A patent/CN118426640A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
CN116737036A (en) | 2023-09-12 |
CN116737036B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111404802A (en) | Notification processing system and method and electronic equipment | |
CN114442969B (en) | Inter-equipment screen collaboration method and equipment | |
CN112860445B (en) | Method and terminal for sharing data between fast application and native application | |
CN116089056B (en) | Method for image drawing and related device | |
CN113835802A (en) | Device interaction method, system, device and computer readable storage medium | |
CN116737036B (en) | Processing method of notification message and electronic equipment | |
CN118153110A (en) | Data processing method and related device | |
CN117149044B (en) | Fingerprint unlocking method and electronic equipment | |
CN116708647B (en) | Notification message reply method and electronic equipment | |
CN111159734A (en) | Communication terminal and multi-application data inter-access processing method | |
CN116841686B (en) | Application page display method | |
EP4422230A1 (en) | Content sharing method and electronic device | |
CN116708334B (en) | Notification message display method and electronic equipment | |
WO2024037346A1 (en) | Page management method and electronic device | |
CN116541188B (en) | Notification display method, terminal device and storage medium | |
WO2023061298A1 (en) | Picture backup system and method, and device | |
CN117216428B (en) | Webpage resource request method, terminal equipment and computer readable storage medium | |
CN116846853A (en) | Information processing method and electronic equipment | |
CN117978907A (en) | Data processing method, electronic equipment and medium | |
CN117951662A (en) | Data processing method and electronic equipment | |
CN118734349A (en) | Privacy protection method and electronic equipment | |
CN117119097A (en) | Method, equipment and storage medium for incoming call resonance | |
CN118057798A (en) | Application sharing method and electronic equipment | |
CN117135532A (en) | Audio data processing method, device and storage medium | |
CN117130696A (en) | Interface jumping method, device and storage medium of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |