CN110602221A - Notification level processing method and device and readable storage medium - Google Patents

Notification level processing method and device and readable storage medium Download PDF

Info

Publication number
CN110602221A
CN110602221A CN201910880646.6A CN201910880646A CN110602221A CN 110602221 A CN110602221 A CN 110602221A CN 201910880646 A CN201910880646 A CN 201910880646A CN 110602221 A CN110602221 A CN 110602221A
Authority
CN
China
Prior art keywords
notification
application
level
target
channel
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.)
Withdrawn
Application number
CN201910880646.6A
Other languages
Chinese (zh)
Inventor
关志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201910880646.6A priority Critical patent/CN110602221A/en
Publication of CN110602221A publication Critical patent/CN110602221A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a notification level processing method, a notification level processing device and a readable storage medium, wherein the method comprises the following steps: when a target application installed in the electronic equipment sends a notification message, acquiring a first notification channel corresponding to the target application, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application; determining whether a notification level of a first notification channel corresponding to the target application is configured, if so, acquiring the configured target notification level; sending the notification message based on the target notification level. Through the scheme, the modification of the notification level of the target application is realized, the management of the notification level of the application in the electronic equipment is further realized, and the user experience is improved.

Description

Notification level processing method and device and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a notification level processing method and apparatus, and a readable storage medium.
Background
With the continuous development of scientific technology, the functions of electronic equipment are more and more abundant, and users can realize various functions through various applications installed on the electronic equipment. For example, a user may communicate with other users via a chat-like application and shop online via a shopping-like application.
In the prior art, an application installed in an electronic device is usually provided with a notification function, for example, when the application receives a new message, the application sends a new message notification, and when the application performs daily recommendation, the application sends a notification of daily recommendation content, so that various notifications of various applications are often displayed on the electronic device of a user.
However, the notification level of the application is default, which causes confusion in pushing the application notification on the electronic device, for example, the notification level of the application with a lower importance level is higher, and the notification level of the application with a higher importance level is lower, which causes poor user experience.
Disclosure of Invention
The embodiment of the specification provides a notification level processing method, a notification level processing device and a readable storage medium.
In a first aspect, an embodiment of the present specification provides a notification level processing method, which is applied to an electronic device, and includes:
when a target application installed in the electronic equipment sends a notification message, acquiring a first notification channel corresponding to the target application, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application;
determining whether a notification level of a first notification channel corresponding to the target application is configured, if so, acquiring the configured target notification level;
sending the notification message based on the target notification level.
Optionally, the method further comprises:
acquiring an installed application list of the electronic equipment;
and traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
Optionally, the method further comprises:
when configuration operation of a configurable application on a notification level configuration interface is detected, judging whether the configurable application corresponds to a first notification channel;
if yes, configuring a notification level of a first notification channel of the configurable application based on the configuration operation;
and if not, creating a first notification channel of the configurable application, and configuring the notification level of the first notification channel of the configurable application based on the configuration operation.
Optionally, the method further comprises:
and monitoring whether the electronic equipment is provided with a new application, and if so, establishing a first notification channel for the new application.
Optionally, before the obtaining of the first notification channel corresponding to the target application, the method further includes:
and acquiring a default notification grade of the second notification channel, and taking the default notification grade as an initial notification grade of the notification message.
Optionally, the sending the notification message based on the target notification level includes:
and determining whether the target notification level is the same as the initial notification level, and if not, modifying the notification level of the notification message from the initial notification level to the target notification level.
In a second aspect, an embodiment of the present specification provides a notification level processing apparatus, including:
the first acquisition module is used for acquiring a first notification channel corresponding to a target application when the target application installed in the electronic equipment sends a notification message, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application;
the first processing module is used for determining whether the notification level of a first notification channel corresponding to the target application is configured or not, and if so, acquiring the configured target notification level;
and the sending module is used for sending the notification message based on the target notification level.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring an installed application list of the electronic equipment;
and the creating module is used for traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
Optionally, the apparatus further comprises:
the second processing module is used for judging whether the configurable application corresponds to the first notification channel or not when the configuration operation of the configurable application on the notification level configuration interface is detected; if yes, configuring a notification level of a first notification channel of the configurable application based on the configuration operation; and if not, creating a first notification channel of the configurable application, and configuring the notification level of the first notification channel of the configurable application based on the configuration operation.
Optionally, the apparatus further comprises:
the monitoring module is used for monitoring whether the electronic equipment is provided with a new application or not, and if so, a first notification channel is established for the new application.
Optionally, the apparatus further comprises:
and the third acquisition module is used for acquiring the default notification level of the second notification channel and taking the default notification level as the initial notification level of the notification message.
Optionally, the sending module is configured to:
and determining whether the target notification level is the same as the initial notification level, and if not, modifying the notification level of the notification message from the initial notification level to the target notification level.
In a third aspect, an embodiment of the present specification provides a notification level processing apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor performs the steps of any one of the above methods.
In a fourth aspect, the present specification provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any of the above methods.
The embodiment of the specification has the following beneficial effects:
in the solution in this embodiment of the present description, a first notification channel is created for a target application in advance, and when the target application sends a notification message, the first notification channel corresponding to the target application is acquired, and it is determined whether a notification level of the first notification channel is configured, and if so, the configured target notification level is acquired, and the notification message is sent based on the target notification level. Since the target application usually sends the notification message by using the notification level of the default second notification channel, the solution in this embodiment of the specification creates the first notification channel for the target application, and uses the configured notification level of the first notification channel as the notification level for the target application to send the notification message. In this way, the notification level of the target application is not limited to the notification level of the default second notification channel, but the notification level can be modified by configuring the notification level of the first notification channel, so that the notification level of the application in the electronic device can be managed, and the user experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a notification level processing method provided in a first aspect of an embodiment of the present specification;
fig. 2 is a flowchart of a method for creating a first notification channel according to an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating configuring notification levels through a configuration interface according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a notification level modification method for a notification message according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a notification message display of an initial notification level provided by an embodiment of the present description;
FIG. 6 is a schematic diagram of a display of a notification message of a target notification level provided by an embodiment of the present specification;
fig. 7 is a schematic diagram of a notification level processing apparatus provided in a second aspect of an embodiment of the present specification;
fig. 8 is a schematic diagram of a notification level processing apparatus according to a third aspect of the embodiments of the present specification.
Detailed Description
In order to better understand the technical solutions, the technical solutions of the embodiments of the present specification are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features of the embodiments and embodiments of the present specification are detailed descriptions of the technical solutions of the embodiments of the present specification, and are not limitations of the technical solutions of the present specification, and the technical features of the embodiments and embodiments of the present specification may be combined with each other without conflict.
In a first aspect, an embodiment of the present specification provides a notification level processing method, as shown in fig. 1, which is a flowchart of the notification level processing method provided in the embodiment of the present specification, and the method includes the following steps:
step S11: when a target application installed in the electronic equipment sends a notification message, acquiring a first notification channel corresponding to the target application, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application;
step S12: determining whether a notification level of a first notification channel corresponding to the target application is configured, if so, acquiring the configured target notification level;
step S13: sending the notification message based on the target notification level.
The notification level processing method in the embodiment of the present description may be applied to an electronic device, where the electronic device may be a mobile phone, a tablet computer, or other devices, and is not limited herein. Taking the electronic device as the user mobile phone as an example, more than one application is installed in the electronic device, and taking the electronic device as the user mobile phone as an example, the user mobile phone can be installed with applications such as WeChat, Taobao, safety guard, and the like.
It is to be understood that the target application installed in the electronic device may be any application in the electronic device, for example, the target application is a WeChat installed in the electronic device, or the target application is a security guard application installed in the electronic device. The trigger condition for the target application to send the notification message may include various conditions, for example, when the target application receives a new message, the target application may be triggered to send the notification message; when the target application detects a version update, the target application may be triggered to send a notification message, and of course, other trigger conditions for sending a notification message exist, which are not illustrated here.
When detecting that the target application executes the operation of sending the notification message, acquiring a first notification channel of the target application through a system notification service of the electronic equipment, wherein the first notification channel is created in advance and is different from a second notification channel which is default to the application. Note that a Notification Channel (Notification Channel) may be used to set a manner in which an application sends a Notification message, and the Notification Channel may include parameters such as a Channel ID, a Channel name, a Notification level, a Notification sound, and a Notification position.
For an application, the application itself is provided with a default notification channel, namely a second notification channel, and when the application sends the notification message, the notification message is sent by the parameters of the second notification channel if no processing is performed. In the embodiment of the present specification, in order to uniformly manage application notifications, a respective first notification channel is created for each application, and the notification level of each application is adjusted by configuring the notification level of the first notification channel.
Further, after the first notification channel of the target application is acquired, whether the notification level of the first notification channel is configured is judged, and if yes, the configured target notification level is acquired. Specifically, the manner of dividing the notification level may be set according to actual needs, for example, the notification level may be divided according to important, general, and unimportant, and may also be divided according to preset levels, such as level 1, level 2, level 3, and the like. Different notification levels, display modes and prompt modes may also be different, and are not limited herein. After the target notification level is obtained, the target application may send the notification message according to the target notification level.
According to the scheme in the embodiment of the description, the first notification channels are established for the applications installed in the electronic equipment, the user selects the application to be configured according to the self requirement, the notification level is configured for the first notification channel of the selected application, when the application sends the notification message, the notification message can be sent according to the notification level of the configured first notification channel, and by means of the method, the management of the application notification is achieved, so that the user can set the notification level of each application according to the self requirement, and the user experience is improved.
In a specific implementation process, the first notification channel of each application in the electronic device may be created in the following manner: acquiring an installed application list of the electronic equipment; and traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
Referring to fig. 2, a flowchart of a method for creating a first notification channel provided in an embodiment of the present disclosure includes the following steps:
step S21: acquiring an installed application list;
step S22: acquiring an application in the list;
step S23: judging whether a first notification channel needs to be created, if so, executing a step S24, and if not, executing a step S25;
step S24: creating a first notification channel;
step S25: judging whether a next application exists, if so, executing step S26, otherwise, ending the process;
step S26: the next application is obtained.
In particular, the above process may be implemented by a system notification service of the electronic device. The method comprises the steps of firstly obtaining an installed application list in the electronic equipment, then traversing each application in the installed application list, wherein the traversing process can start from the first application in the list and sequentially traverse downwards, and can also start from any application in the list and cyclically traverse each application.
And judging whether a first notification channel needs to be established for the application or not every time one application is acquired, wherein the judgment condition can be set according to actual needs in the specific implementation process. For example, whether the application has created a first notification channel is judged, if not, the first notification channel needs to be created for the application, and if so, the first notification channel does not need to be created for the application; or, firstly, judging whether the notification level of the application needs to be configured, if so, then judging whether the application has already created the first notification channel, and if not, then needing to create the first notification channel for the application.
Further, when the first notification channel needs to be created for the acquired application, the operation of creating the first notification channel is executed. If the application is not required to be created, continuously judging whether the next application still exists, namely judging whether the applications in the list are completely traversed or not, and if not, indicating that all the applications in the list are completely traversed; and if the next application exists, acquiring the next application, and repeating the process until all the applications in the list are traversed.
In this embodiment of the present description, after respective first notification channels are created for installed applications in an electronic device, notification levels of the respective first notification channels may be configured, and specific configuration may be implemented in the following manner: when configuration operation of a configurable application on a notification level configuration interface is detected, judging whether the configurable application corresponds to a first notification channel; if yes, configuring a notification level of a first notification channel of the configurable application based on the configuration operation; and if not, creating a first notification channel of the configurable application, and configuring the notification level of the first notification channel of the configurable application based on the configuration operation.
In a specific implementation process, when configuring the notification level of each application in the electronic device, the notification level may be implemented through a notification level configuration interface. All applications installed in the current electronic equipment can be included on the notification level configuration interface, and when a user wants to configure the notification levels of one or more applications, the configurable applications of the notification level configuration interface can be selected through a selection operation.
After the configurable application is selected, the notification level of the selected configurable application can be further set through a configuration operation. In one embodiment, after the configurable application is selected, a notification level configuration interface may be displayed, where three notification levels of importance, general, and non-importance may be displayed on the interface, the configuration operation may be a selection operation for the notification level, and a user may select one of the three levels as a notification level of the selected configurable application according to actual needs.
In this embodiment of the present specification, the configuration of the notification level of the first notification channel may be implemented through interaction between a notification level configuration interface and a system notification service. After detecting the configuration operation of the notification level configuration interface, sending a corresponding instruction to a system notification service side, after the system notification service side receives the instruction, further judging whether the configurable application has created a first notification channel, if so, configuring the notification level of the first notification channel to the notification level set by the user based on the configuration operation of the user, if not, firstly creating the first notification channel for the configurable application, and then configuring the notification level of the first notification channel based on the configuration operation.
Referring to fig. 3, a flowchart for configuring notification levels for configurable applications through a configuration interface is provided according to an embodiment of the present disclosure. In fig. 3, the configuration of the notification level is implemented by interaction between a user setting side and a system notification service side of the electronic device, where the user setting side is provided with a notification level configuration interface, the configuration interface includes an application currently installed in the electronic device, and a specific configuration flow is as follows:
user setting side: selecting a configurable application in a configuration interface; configuring a notification level through a configuration operation; after determining the configuration operation, sending an instruction to a system notification service side.
The system notifies the service side: after receiving an instruction sent by a setting side, judging whether a first notification channel is established by the configurable application, and if so, configuring a notification level of the first notification channel; if not, a first notification channel is established for the configurable application, and the notification level of the first notification channel is configured; and writing the configured notification level into a configuration file.
It should be noted that the applications in the electronic device are not invariable, and a user can install new applications at any time during the process of using the electronic device. If the list of installed applications in the electronic device is not updated in a timely manner, the first notification channel may not be created for the newly installed application in a timely manner, and thus, the first notification channel may be created for the newly installed application for which the first notification channel is not created in configuring the notification level of the application.
In order to create a first notification channel for each application in the electronic device in a timely manner, in this embodiment of the present specification, the following manner may be adopted: and monitoring whether the electronic equipment is provided with a new application, and if so, establishing a first notification channel for the new application. In this embodiment, if it is monitored that the electronic device installs a new application, a corresponding first notification channel may be created for the new application through the system notification service. Of course, the first notification channel may also be created for the new application in other manners, for example, the list of installed applications is updated at predetermined time intervals, then the updated list of installed applications is traversed, and if there is an application that has not created the first notification channel, the first notification channel is created for the application.
In this embodiment, before sending the notification message, the target application needs to create the notification message based on the second notification channel. Specifically, a default notification level of the second notification channel is obtained, and the default notification level is used as an initial notification level of the notification message. The second notification channel of the target application may be created in advance, or may be created when the simultaneous message is sent, and the second notification channel corresponds to a default notification level. Since the second notification channel is the default channel of the target application itself, when creating the notification message, the default notification level of the second notification channel is first acquired as the initial notification level of the notification message. The initial notification level is the default notification level of the target application, and since the default notification level of the target application is usually randomly set by the application, if the notification is sent according to the default notification level, the notification message is pushed unreasonably.
In this embodiment of this specification, in order to configure an initial notification level of a target application, an initial notification level needs to be modified based on a target notification level of a first notification channel, and in a specific implementation process, the notification message is sent based on the target notification level, which may be implemented in the following manner: and determining whether the target notification level is the same as the initial notification level, and if not, modifying the notification level of the notification message from the initial notification level to the target notification level.
Specifically, when the target notification level is the same as the initial notification level, and the notification levels of the configured first notification channel and the default second notification channel are unchanged, the notification message can be continuously transmitted at the initial notification level. And if the target notification level is changed compared with the initial notification level, the configured target notification level is taken as the standard, namely, the notification level of the notification message is modified into the target notification level.
Referring to fig. 4, a flowchart of a method for modifying a notification level of a notification message according to an embodiment of the present disclosure is provided. In this embodiment, the modification of the notification level may be accomplished through interaction between the target application and the system notification service, and the method in this embodiment may include the steps of:
the steps executed by the target application side include: creating a second notification channel; setting a default notification grade of a second notification channel; creating a notification message; the creation of the notification message is broadcast to the system notification service side.
The steps executed by the system notification service side comprise: after receiving a broadcast created by a notification message sent by a target application side, acquiring a first notification channel of a target application; determining whether a notification level of a first notification channel is configured; if yes, acquiring a configured target notification level, modifying the notification level of the notification message from a default notification level to the target notification level, and sending the notification message; if not, sending a notification message.
In this embodiment, when the target application needs to create the second notification channel first and set the default notification level of the second notification channel, the default notification level may be set randomly by the target application or may be a level that has already been set. When the target application sends the notification message, the notification message needs to be created according to the default notification level of the second notification channel, and the notification level of the notification message is the default notification level at this time. After the notification message is created, the target application sends a broadcast to a system notification service side, and after the system notification service receives the broadcast, the system notification service acquires a first notification channel corresponding to the target application and judges whether the first notification channel is configured. And if the notification message is configured, acquiring the configured target notification level, modifying the notification level of the notification message into the target notification level, and sending the notification message. If not, the notification message is sent according to an initial default notification level.
For better understanding of the method provided by the embodiment of the present specification, please refer to fig. 5 and fig. 6, which are schematic diagrams of a notification message display of an initial notification level and a notification message display modified to a target notification level provided by the embodiment of the present specification, respectively.
In this embodiment, the target application is a WeChat, and when the WeChat receives a new message, a notification message of the new message is pushed to the user. The initial notification level of the WeChat is an importance level, that is, the default notification level configured in the second notification channel is an importance level, and the display mode corresponding to the importance level is to display an application icon on the notification bar. Then, when the WeChat sends a notification message, an icon of the WeChat is displayed on the notification bar, as shown in FIG. 5.
If the user configures the notification level of the first notification channel of the WeChat to be the unimportant level through the method provided by the embodiment of the present specification, and the display manner corresponding to the unimportant level is such that the icon is not displayed on the notification bar, when the WeChat sends the notification message, the notification level of the WeChat is modified from the importance level to the unimportant level, and therefore the icon of the WeChat is not displayed on the notification bar, as shown in FIG. 6.
Of course, the specific division and display manner of the notification level may be set according to actual needs, and is not limited herein.
Therefore, according to the scheme in the embodiment of the description, the first notification channel is created for the application in the electronic device, the user modifies the notification level of the notification message sent by the target application by configuring the notification level of the first notification channel, the notification level of each application can be managed, the important application notification level is configured to be a higher level, and the unimportant application notification level is configured to be a lower level, so that the application notification better conforms to the use habit of the user, and the user experience is improved.
In a second aspect, based on the same inventive concept, an embodiment of the present specification provides a notification level processing apparatus, please refer to fig. 7, including:
a first obtaining module 71, configured to, when a target application installed in the electronic device sends a notification message, obtain a first notification channel corresponding to the target application, where the first notification channel corresponding to the target application is a notification channel that is created in advance and is different from a second notification channel that is default to the target application;
a first processing module 72, configured to determine whether a notification level of a first notification channel corresponding to the target application is configured, and if so, obtain a configured target notification level;
a sending module 73, configured to send the notification message based on the target notification level.
In an alternative implementation, the apparatus further includes:
the second acquisition module is used for acquiring an installed application list of the electronic equipment;
and the creating module is used for traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
In an alternative implementation, the apparatus further includes:
the second processing module is used for judging whether the configurable application corresponds to the first notification channel or not when the configuration operation of the configurable application on the notification level configuration interface is detected; if yes, configuring a notification level of a first notification channel of the configurable application based on the configuration operation; and if not, creating a first notification channel of the configurable application, and configuring the notification level of the first notification channel of the configurable application based on the configuration operation.
In an alternative implementation, the apparatus further includes:
the monitoring module is used for monitoring whether the electronic equipment is provided with a new application or not, and if so, a first notification channel is established for the new application.
In an alternative implementation, the apparatus further includes:
and the third acquisition module is used for acquiring the default notification level of the second notification channel and taking the default notification level as the initial notification level of the notification message.
In an alternative implementation, the sending module 73 is configured to:
and determining whether the target notification level is the same as the initial notification level, and if not, modifying the notification level of the notification message from the initial notification level to the target notification level.
With regard to the above-mentioned apparatus, the specific functions of the respective modules have been described in detail in the embodiment of the notification level processing method provided in the embodiment of the present invention, and will not be elaborated herein.
In a third aspect, based on the same inventive concept as the notification level processing method in the foregoing embodiment, the present invention further provides a notification level processing apparatus, as shown in fig. 8, including a memory 404, a processor 402, and a computer program stored in the memory 404 and executable on the processor 402, wherein the processor 402 implements the steps of any one of the foregoing notification level processing methods when executing the program.
Where in fig. 8 a bus architecture (represented by bus 400), bus 400 may include any number of interconnected buses and bridges, bus 400 linking together various circuits including one or more processors, represented by processor 402, and memory, represented by memory 404. The bus 400 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 406 provides an interface between the bus 400 and the receiver 401 and transmitter 403. The receiver 401 and the transmitter 403 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 402 is responsible for managing the bus 400 and general processing, while the memory 404 may be used for storing data used by the processor 402 in performing operations.
In a fourth aspect, based on the inventive concept based on the notification level processing method in the foregoing embodiments, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of any one of the foregoing notification level processing methods.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
The invention also discloses A1: a notification level processing method is applied to electronic equipment and comprises the following steps:
when a target application installed in the electronic equipment sends a notification message, acquiring a first notification channel corresponding to the target application, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application;
determining whether a notification level of a first notification channel corresponding to the target application is configured, if so, acquiring the configured target notification level;
sending the notification message based on the target notification level.
A2, the method of A1, the method further comprising:
acquiring an installed application list of the electronic equipment;
and traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
A3, the method of A1 or A2, the method further comprising:
when configuration operation of a configurable application on a notification level configuration interface is detected, judging whether the configurable application corresponds to a first notification channel;
if yes, configuring a notification level of a first notification channel of the configurable application based on the configuration operation;
and if not, creating a first notification channel of the configurable application, and configuring the notification level of the first notification channel of the configurable application based on the configuration operation.
A4, the method of A1, the method further comprising:
and monitoring whether the electronic equipment is provided with a new application, and if so, establishing a first notification channel for the new application.
A5, before the obtaining of the first notification channel corresponding to the target application according to the method of A1, the method further comprising:
and acquiring a default notification grade of the second notification channel, and taking the default notification grade as an initial notification grade of the notification message.
A6, the sending the notification message based on the target notification rating according to the method of A5, comprising:
and determining whether the target notification level is the same as the initial notification level, and if not, modifying the notification level of the notification message from the initial notification level to the target notification level.
B7, an apparatus for processing notification level, applied to an electronic device, the apparatus comprising:
the first acquisition module is used for acquiring a first notification channel corresponding to a target application when the target application installed in the electronic equipment sends a notification message, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application;
the first processing module is used for determining whether the notification level of a first notification channel corresponding to the target application is configured or not, and if so, acquiring the configured target notification level;
and the sending module is used for sending the notification message based on the target notification level.
B8, the apparatus of B7, the apparatus further comprising:
the second acquisition module is used for acquiring an installed application list of the electronic equipment;
and the creating module is used for traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
B9, the apparatus of B7 or B8, the apparatus further comprising:
the second processing module is used for judging whether the configurable application corresponds to the first notification channel or not when the configuration operation of the configurable application on the notification level configuration interface is detected; if yes, configuring a notification level of a first notification channel of the configurable application based on the configuration operation; and if not, creating a first notification channel of the configurable application, and configuring the notification level of the first notification channel of the configurable application based on the configuration operation.
B10, the apparatus of B7, the apparatus further comprising:
the monitoring module is used for monitoring whether the electronic equipment is provided with a new application or not, and if so, a first notification channel is established for the new application.
B11, the apparatus of B7, the apparatus further comprising:
and the third acquisition module is used for acquiring the default notification level of the second notification channel and taking the default notification level as the initial notification level of the notification message.
B12, the apparatus of B11, the means for transmitting:
and determining whether the target notification level is the same as the initial notification level, and if not, modifying the notification level of the notification message from the initial notification level to the target notification level.
C13, a notification level handling device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the steps of the method of any one of a1-a 6.
D14, a computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of a1-a 6.

Claims (10)

1. A notification level processing method applied to electronic equipment is characterized by comprising the following steps:
when a target application installed in the electronic equipment sends a notification message, acquiring a first notification channel corresponding to the target application, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application;
determining whether a notification level of a first notification channel corresponding to the target application is configured, if so, acquiring the configured target notification level;
sending the notification message based on the target notification level.
2. The method of claim 1, further comprising:
acquiring an installed application list of the electronic equipment;
and traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
when configuration operation of a configurable application on a notification level configuration interface is detected, judging whether the configurable application corresponds to a first notification channel;
if yes, configuring a notification level of a first notification channel of the configurable application based on the configuration operation;
and if not, creating a first notification channel of the configurable application, and configuring the notification level of the first notification channel of the configurable application based on the configuration operation.
4. The method of claim 1, further comprising:
and monitoring whether the electronic equipment is provided with a new application, and if so, establishing a first notification channel for the new application.
5. The method of claim 1, wherein prior to obtaining the first notification channel corresponding to the target application, the method further comprises:
and acquiring a default notification grade of the second notification channel, and taking the default notification grade as an initial notification grade of the notification message.
6. The method of claim 5, wherein sending the notification message based on the target notification level comprises:
and determining whether the target notification level is the same as the initial notification level, and if not, modifying the notification level of the notification message from the initial notification level to the target notification level.
7. An apparatus for processing notification level, applied to an electronic device, the apparatus comprising:
the first acquisition module is used for acquiring a first notification channel corresponding to a target application when the target application installed in the electronic equipment sends a notification message, wherein the first notification channel corresponding to the target application is a notification channel which is created in advance and is different from a second notification channel defaulted by the target application;
the first processing module is used for determining whether the notification level of a first notification channel corresponding to the target application is configured or not, and if so, acquiring the configured target notification level;
and the sending module is used for sending the notification message based on the target notification level.
8. The apparatus of claim 7, further comprising:
the second acquisition module is used for acquiring an installed application list of the electronic equipment;
and the creating module is used for traversing each installed application in the installed application list, determining whether the installed application creates a first notification channel or not aiming at each installed application, and if not, creating the first notification channel corresponding to the installed application.
9. A notification level processing apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 6 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201910880646.6A 2019-09-18 2019-09-18 Notification level processing method and device and readable storage medium Withdrawn CN110602221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910880646.6A CN110602221A (en) 2019-09-18 2019-09-18 Notification level processing method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910880646.6A CN110602221A (en) 2019-09-18 2019-09-18 Notification level processing method and device and readable storage medium

Publications (1)

Publication Number Publication Date
CN110602221A true CN110602221A (en) 2019-12-20

Family

ID=68860584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910880646.6A Withdrawn CN110602221A (en) 2019-09-18 2019-09-18 Notification level processing method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN110602221A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671883A (en) * 2020-12-18 2021-04-16 浙江融象数科控股有限公司 Design method of multifunctional message notification system
CN114741210A (en) * 2020-12-23 2022-07-12 成都鼎桥通信技术有限公司 Multi-system notification message processing method, device, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786313A (en) * 2016-02-25 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device
CN106055198A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Method for displaying notifications based on content and mobile terminal
CN106126399A (en) * 2016-06-22 2016-11-16 维沃移动通信有限公司 The based reminding method of a kind of notification message and mobile terminal
WO2016192244A1 (en) * 2015-05-29 2016-12-08 中兴通讯股份有限公司 Message management method and device, mobile terminal and storage medium
CN107861786A (en) * 2017-11-09 2018-03-30 维沃移动通信有限公司 The reminding method and mobile terminal of a kind of notice
CN108235811A (en) * 2016-11-26 2018-06-29 华为技术有限公司 A kind of method and device of Message Processing
CN108833661A (en) * 2018-04-20 2018-11-16 维沃移动通信有限公司 A kind of display methods and mobile terminal of information
WO2019114352A1 (en) * 2017-12-15 2019-06-20 中兴通讯股份有限公司 Method and device for application notification control, and terminal
CN110601952A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Multi-channel message notification sending method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016192244A1 (en) * 2015-05-29 2016-12-08 中兴通讯股份有限公司 Message management method and device, mobile terminal and storage medium
CN105786313A (en) * 2016-02-25 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device
CN106055198A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Method for displaying notifications based on content and mobile terminal
CN106126399A (en) * 2016-06-22 2016-11-16 维沃移动通信有限公司 The based reminding method of a kind of notification message and mobile terminal
CN108235811A (en) * 2016-11-26 2018-06-29 华为技术有限公司 A kind of method and device of Message Processing
CN107861786A (en) * 2017-11-09 2018-03-30 维沃移动通信有限公司 The reminding method and mobile terminal of a kind of notice
WO2019114352A1 (en) * 2017-12-15 2019-06-20 中兴通讯股份有限公司 Method and device for application notification control, and terminal
CN108833661A (en) * 2018-04-20 2018-11-16 维沃移动通信有限公司 A kind of display methods and mobile terminal of information
CN110601952A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Multi-channel message notification sending method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671883A (en) * 2020-12-18 2021-04-16 浙江融象数科控股有限公司 Design method of multifunctional message notification system
CN114741210A (en) * 2020-12-23 2022-07-12 成都鼎桥通信技术有限公司 Multi-system notification message processing method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
RU2605919C2 (en) Method and apparatus for displaying push messages
CN109561118B (en) Software upgrading method, device, system, storage medium, electronic equipment and vehicle
CN105389191B (en) A kind of method for upgrading software based on LAN, device and system
CN110995554A (en) Method and device for configuring and accessing intelligent household electrical appliance network and storage medium
CN108235763B (en) Detection system, method and related device
CN108028858B (en) Mobile computing device, method for operating mobile computing device, and medium
US11716244B2 (en) Data driven user interface for configuring device settings
CN113892279A (en) Resource subscription method, device, server and computer storage medium
CN110650503B (en) Network access method, device, system and computer readable storage medium
CN106331152B (en) Method and device for realizing information synchronization between modules
JP6433578B2 (en) Information self-registration method, apparatus, system, and computer storage medium
CN106897162B (en) Communication mode selection method of component in application, communication system and mobile terminal
CN110602221A (en) Notification level processing method and device and readable storage medium
CN103810010A (en) Information processing method and first electronic device terminal
CN105530323B (en) File upgrading method, related equipment and system
EP2854027B1 (en) Method for downloading application program, user equipment and application server
EP2911428A1 (en) Management of virtual subscriptions
CN105281940B (en) Method, equipment and system for HELLO message interaction based on NETCONF protocol
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
CN104301419A (en) Non-local-machine remote download control system and method
CN111182536A (en) SIM card state detection method, device, network equipment and storage medium
CN113721936B (en) Application management method, intelligent terminal, device and storage medium
CN107608722B (en) Application program downloading method and device
EP3195528B1 (en) Application control interworking in network
CN107872493B (en) Information processing method, terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20191220

WW01 Invention patent application withdrawn after publication