CN110392155B - Notification message display and processing method, device and equipment - Google Patents

Notification message display and processing method, device and equipment Download PDF

Info

Publication number
CN110392155B
CN110392155B CN201810337338.4A CN201810337338A CN110392155B CN 110392155 B CN110392155 B CN 110392155B CN 201810337338 A CN201810337338 A CN 201810337338A CN 110392155 B CN110392155 B CN 110392155B
Authority
CN
China
Prior art keywords
theme
notification message
category
notification
subject
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.)
Active
Application number
CN201810337338.4A
Other languages
Chinese (zh)
Other versions
CN110392155A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810337338.4A priority Critical patent/CN110392155B/en
Publication of CN110392155A publication Critical patent/CN110392155A/en
Application granted granted Critical
Publication of CN110392155B publication Critical patent/CN110392155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/214Monitoring or handling of messages using selective forwarding
    • 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/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • 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/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • H04M1/72472User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use

Abstract

The application discloses a display method of a notification message, which comprises the following steps: obtaining notification messages classified according to the subject categories to which the notification messages belong; the categorized notification messages are displayed, thereby solving the problem that notification messages belonging to the same topic category cannot be collectively displayed.

Description

Notification message display and processing method, device and equipment
Technical Field
The application relates to the field of terminal information processing, in particular to a notification message display method and device, electronic equipment and storage equipment. The application also relates to a processing method and device of the notification message, the electronic equipment and the storage equipment. The application also relates to a method and a device for generating the theme class judgment model, electronic equipment and storage equipment.
Background
With the popularization of terminal devices and terminal applications, more and more terminal applications notify users in a message push manner, and messages notifying the users are called notification messages. The message push is an active message push performed by an operator on a user terminal device through a product or a third-party tool of the operator. The user can see these pushed notification messages on the terminal device lock screen and the notification bar of the terminal device.
The popularization of terminal applications and the number of terminal applications installed by users have increased, with the consequent excessive number of notification messages and unfocused contents, the various notification messages being interleaved with each other, making it difficult for users to find the notification messages of their own interest quickly. Terminal equipment often merges notification messages from the same source, and displays the merged notification messages in a notification bar, so that the interface of the notification bar is concise and not cluttered to a certain extent.
When a terminal device installs a plurality of applications of the same theme category, for example, a user may install a plurality of shopping applications of different e-commerce at the same time, in the existing notification message display scheme, because notification messages of respective applications are merged, the notification messages belonging to the same theme category are displayed independently and cannot be displayed in a centralized manner, so that it is difficult for the user to quickly focus on the notification message of a certain theme category, and thus user experience is reduced.
Disclosure of Invention
The application provides a display method of notification messages, which aims to solve the problem that the notification messages belonging to the same theme category cannot be displayed in a centralized manner.
The application provides a display method of a notification message, which comprises the following steps:
obtaining notification messages classified according to the subject categories to which the notification messages belong;
displaying the categorized notification messages.
Optionally, the obtaining the notification message classified according to the topic category to which the notification message belongs includes:
acquiring a notification message;
determining a subject category to which the notification message belongs;
and merging the notification messages according to the subject categories to obtain the classified notification messages.
Optionally, the obtaining the notification message classified according to the topic category to which the notification message belongs includes:
acquiring a notification message;
receiving a subject category to which a notification message belongs, wherein the subject category is provided by an entity which determines the subject category of the notification message;
and merging the notification messages according to the subject categories to which the notification messages belong to obtain the classified notification messages.
Optionally, the obtaining the notification message classified according to the topic category to which the notification message belongs includes:
and receiving the notification messages classified according to the subject categories to which the notification messages belong, wherein the notification messages are provided by the entity classifying the notification messages.
Optionally, the method for displaying the notification message further includes: determining an ordering of the categorized notification messages; alternatively, the first and second electrodes may be,
the obtaining of the notification message classified according to the subject category to which the notification message belongs includes: obtaining notification messages which are classified and sorted according to the subject categories to which the notification messages belong;
correspondingly, the displaying the categorized notification message includes: displaying the sorted classified notification messages.
Optionally, the determining the ranking of the categorized notification messages includes: the notification messages of different topic categories are ordered.
Optionally, the sorting the notification messages of different topic categories includes:
sorting the classified notification messages according to the importance sorting of the subject categories to which the notification messages belong; alternatively, the first and second electrodes may be,
and determining the importance degree of the theme category to which the notification message belongs according to the clicking behavior of the user aiming at the notification message or the downloading amount of the terminal application to which the notification message belongs, and sequencing the classified notification messages.
Optionally, the determining the ranking of the categorized notification messages includes:
the notification messages within the same subject category are ordered.
Optionally, the sorting notification messages in the same topic category includes:
in the same subject category, sequencing according to the receiving time sequence of the notification messages; alternatively, the first and second electrodes may be,
within the same subject category, ordered according to the importance of the notification messages.
Optionally, the displaying the sorted classified notification messages includes:
distinguishing the importance degree of the theme category and/or the importance degree of the notification messages in the same theme category by using colors, and displaying the sorted and classified notification messages; or the like, or, alternatively,
the importance level marks the importance level of distinguishing the topic categories and/or the importance level of the notification messages in the same topic category, and displays the classified notification messages.
Optionally, the notification message is a message that the terminal application notifies the user in a message push manner.
Optionally, the topic category is a category defined according to a content topic of the notification message.
The application also provides a method for processing the notification message, which comprises the following steps:
acquiring a notification message;
determining a subject category to which the notification message belongs;
and informing the notification message and the subject class to which the notification message belongs to an entity needing to classify the notification message, or classifying the notification message into the subject class to which the notification message belongs.
Optionally, the determining the topic category to which the notification message belongs includes:
determining the subject category to which the notification message belongs through a subject category judgment model according to the content subject of the notification message;
and/or
And determining the subject category of the notification message through a source category judgment model according to the source information of the notification message.
Optionally, the determining the topic category to which the notification message belongs includes:
determining an application to which the notification message belongs;
determining whether the application has been categorized into a corresponding topic type using the source category determination model;
if so, acquiring a theme category corresponding to the application as the theme category to which the notification message belongs;
if not, extracting the content subject of the notification message, and judging the subject type of the notification message according to the content subject by using the subject type judgment model.
Optionally, the method for processing the notification message further includes:
and completing desensitization treatment on the sensitive content in the notification message through data deformation.
Optionally, the data transformation of the sensitive content in the notification message includes: replacing the numerical information in the notification message with special characters.
Optionally, the determining the topic category to which the notification message belongs includes: and determining the topic class to which the notification message after desensitization belongs.
Optionally, the method for processing the notification message further includes:
obtaining source information and content subject of the notification message;
and taking the source information, the content subject and the desensitized notification message as the characteristic information of the notification message, packaging and encrypting the notification message, and sending the notification message to other entities.
Optionally, the feature information of the notification message further includes: click behavior of the user on the notification message.
The application also provides a method for generating a theme class judgment model, which comprises the following steps:
determining a subject category;
determining notification messages participating in training;
and generating a theme category judgment model for judging the theme category to which the notification message belongs according to the theme category and the notification message participating in training.
Optionally, the generating a topic category determination model for determining the topic category to which the notification message belongs according to the topic category and the notification message participating in training includes:
determining an application to which the notification message belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs;
obtaining the content subject contained in the notification message, and determining the content subject corresponding to the subject category;
and performing learning training by taking the theme type and the corresponding content theme as training samples to obtain a theme type judgment model for determining the theme type to which the content theme belongs.
Optionally, the performing learning training by using the theme category and the content theme corresponding to the theme category as training samples includes:
and if the same content subject corresponds to a plurality of subject categories, comparing the number of the notification messages containing the content subject in the subject categories, and taking the subject category with the largest number of the notification messages as the subject category to which the content subject belongs.
Optionally, the method for generating the theme category judgment model further includes:
and determining the theme type to which the application belongs according to the application market data to obtain a source type judgment model for judging the theme type to which the notification message belongs according to the source information of the notification message.
Optionally, the method for generating the theme category judgment model further includes:
and determining the importance ranking of the theme categories to which the notification messages belong according to the clicking behaviors of the user on the notification messages or the downloading amount of the applications to which the notification messages belong.
The present application also provides a display device of a notification message, including:
the classification unit is used for obtaining the notification messages classified according to the subject categories to which the notification messages belong;
a display unit for displaying the classified notification message.
The application provides a processing device of notification message, including:
a notification message acquisition unit for acquiring a notification message;
a subject category determination unit, configured to determine a subject category to which the notification message belongs;
and the classification unit is used for notifying the entity needing to classify the notification message of the notification message and the subject class to which the notification message belongs, or classifying the notification message into the subject class to which the notification message belongs.
The application provides a generating device of a theme class judgment model, comprising:
the theme category definition unit is used for determining a theme category;
a training sample determining unit for determining a notification message participating in training;
and the model generating unit is used for generating a theme category judgment model used for judging the theme category to which the notification message belongs according to the theme category and the notification message participating in training.
Compared with the prior art, the method has the following advantages:
according to the notification message display method and device, the notification messages belonging to the same theme category are displayed in a centralized manner by obtaining the notification messages classified according to the theme categories to which the notification messages belong, so that the problem that the notification messages belonging to the same theme category cannot be displayed in a centralized manner is solved.
Furthermore, the notification bar of the terminal device and the lock screen of the terminal device are intensively displayed according to the subject type to which the notification message belongs, so that the display of the notification message interface of the terminal device becomes more concise and organized, a user can quickly focus on the notification message of a certain subject type concerned by the user, and better user experience is provided.
Drawings
Fig. 1 is a processing flow chart of a display method of a notification message according to an embodiment of the present application;
fig. 2 is a flowchart of a notification message processing method according to an embodiment of the present application;
fig. 3 is a flowchart of a method for generating a topic category determination model according to an embodiment of the present application;
fig. 4 is a schematic diagram of a display device for notification messages according to an embodiment of the present application;
fig. 5 is a schematic diagram of a notification message processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of a device for generating a topic category determination model according to an embodiment of the present application;
fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit and scope of this application, and thus this application is not limited to the specific implementations disclosed below.
An embodiment of the application provides a method for displaying a notification message. A method for displaying a notification message according to an embodiment of the present application is described below with reference to fig. 1. Fig. 1 is a processing flow chart of a method for displaying a notification message according to an embodiment of the present application.
The method for displaying the notification message shown in fig. 1 includes: step S101 to step S102.
Step S101, obtaining the notification messages classified according to the subject categories to which the notification messages belong.
The method for displaying the notification message provided by the embodiment of the application can be deployed in terminal equipment, such as mobile phones, tablet computers and other terminal equipment. Wherein the notification message is a notification message from a terminal application. The notification message may refer to a message that the terminal application notifies the user in a message push manner.
In this step, the notification messages classified according to the topic categories to which the notification messages belong are obtained, so that the notification messages belonging to the same topic category are displayed in a centralized manner.
The topic category is a category defined according to a content topic of the notification message. The content topic is a topic extracted or summarized from the content included in the notification message. Each topic category includes one or more content topics, and the same content topic may belong to different topic categories.
In the embodiment of the application, the categories of the notification messages applied by the terminal are divided into the following 10 categories according to different subjects: social applications, map navigation, online shopping payments, call communications, consumer goods, tools for inquiry, photography beautification, entertainment audio, education and news information. Specifically, the embodiment of the present application provides the following three ways to obtain the categorized notification message to be displayed:
the first method is as follows: the terminal equipment acquires the notification message, classifies the notification message into the subject category to which the notification message belongs, and obtains the notification message classified according to the subject category to which the notification message belongs. The method specifically comprises the following steps:
acquiring a notification message;
determining a subject category to which the notification message belongs;
and merging the notification messages according to the subject categories to obtain the classified notification messages.
The second method comprises the following steps: the terminal equipment acquires the subject category of the notification message from the entity for judging the subject category of the notification message, classifies the notification message by the terminal equipment, and classifies the notification message according to the subject category of the notification message. The method specifically comprises the following steps:
acquiring a notification message;
receiving a subject category to which a notification message belongs, wherein the subject category is provided by an entity which determines the subject category of the notification message;
and merging the notification messages according to the subject categories to which the notification messages belong to obtain the classified notification messages.
In a display scheme of a notification message actually deployed, an embodiment of the display scheme includes: after an entity for judging the theme type of the notification message acquires the notification message and judges the theme type of the notification message, the notification message and the theme type to which the notification message belongs are sent to terminal equipment. Of course, the following embodiments may also be employed: the terminal equipment acquires the notification message and determines the subject type of the notification message through an entity which judges the subject type of the notification message.
The third method comprises the following steps: the terminal device obtains the notification message classified according to the subject category to which the notification message belongs from the entity that determines the subject category of the notification message. The method specifically comprises the following steps:
and receiving the notification messages classified according to the subject categories to which the notification messages belong, wherein the notification messages are provided by the entity classifying the notification messages.
Examples are as follows: take the case that the mobile phone a displays the notification message.
Handset a will display 6 notification messages as follows:
[ Notification message 1] 2018/04/0810: 00 shopping application 1, a certain brand coat is only 100 yuan, originally 120 yuan;
[ Notification message 2] 2018/04/0810: 02 social application 1, some of a group chat, requesting to add a friend;
[ Notification message 3] 2018/04/0810: 04 shopping application 2, price reduction of a certain commodity in your shopping cart by 10 yuan;
notification message 4 2018/04/0810: 06 social application 2, purchase routinely every Saturday, welcome contact;
[ Notification message 5] 2018/04/0810: 08 shopping application 3, you received a coupon yesterday;
[ Notification message 6] 2018/04/0810: 10 map application 1, for planning ahead travel, congestion near a certain attraction.
The method for acquiring the classified notification message to be displayed by the mobile phone A specifically comprises the following steps:
the mobile phone A acquires the 6 notification messages;
the mobile phone A determines that [ notification message 1], [ notification message 3], [ notification message 5] belongs to the online shopping payment subject category, that [ notification message 2], [ notification message 4] belongs to the social application subject category, and that [ notification message 6] belongs to the map navigation subject category;
the mobile phone A merges the notification messages 1, 3 and 5 into the online shopping payment subject category, merges the notification messages 2 and 4 into the social application subject category, and merges the notification message 6 into the map navigation subject category to obtain three types of classified notification messages.
In addition, the mobile phone a can also obtain the classified notification message to be displayed in the second or third mode, and the information needs to be obtained from the entity B that determines the subject category of the notification message in the second or third mode. The method for obtaining the classified notification message to be displayed by the mobile phone A in the second mode comprises the following steps: the mobile phone A acquires the 6 notification messages; the mobile phone A receives the subject categories of the 6 notification messages provided by the B; the mobile phone A merges the notification messages according to the fact that the notification messages 1, the notification messages 3 and the notification messages 5 belong to the online shopping payment subject category, the notification messages 2 and the notification messages 4 belong to the social application subject category, and the notification messages 6 belong to the map navigation subject category to obtain three types of classified notification messages.
The method for obtaining the classified notification message to be displayed by the mobile phone A in the third mode comprises the following steps: receiving the classified three types of notification messages provided by the B: [ Notification message 1], [ Notification message 3], [ Notification message 5] belongs to the Online shopping Payment subject category, [ Notification message 2], [ Notification message 4] belongs to the social application subject category, and [ Notification message 6] belongs to the map navigation subject category.
And step S102, displaying the classified notification message.
This step is to display the notification messages categorized by the same topic category acquired in step S101. The notification messages classified according to the theme categories are displayed, so that not only the notification messages from the same terminal application are displayed in a centralized manner, but also the notification messages of the same theme can be displayed in a centralized manner, and the notification message interface display of the terminal equipment is more concise, for example, the interface display of a lock screen of the terminal equipment and the interface display of a notification bar are more concise.
Preferably, the method for displaying notification messages displays sorted and categorized notification messages, and specifically, in the embodiment of the present application, the method further includes: determining an ordering of the categorized notification messages; correspondingly, the displaying the classified notification messages comprises: displaying the sorted classified notification messages. And displaying the sorted and classified notification messages, so that a notification message display interface is organized, a user can conveniently and quickly check the concerned notification messages, and better experience can be provided for the user when more notification messages exist.
It should be noted that, in the display method of the notification message, the notification messages classified and ordered according to the subject categories to which the notification messages belong may also be directly obtained; correspondingly, the displaying the classified notification messages comprises: displaying the sorted classified notification messages.
In an embodiment of the present application, the determining the ranking of the categorized notification messages includes: the notification messages of different topic categories are ordered. Specifically, the classified notification messages are ranked according to the importance ranking of the subject categories to which the notification messages belong. And displaying the sorted and classified notification messages according to the importance of the subject categories, so that the display interface of the notification messages highlights the key messages, the user can quickly focus the key notification messages, and the user can process the key notification messages preferentially. In addition, the notification messages of different topic categories may also be sorted in other manners, for example, according to a click behavior of a user for the notification message or a download amount of a terminal application to which the notification message belongs, the importance degree of the topic category to which the notification message belongs is determined, so as to sort the sorted notification messages.
In order to make the interface display of the notification message more orderly, the embodiment of the present application further specifically provides the following two optional ways to sort the notification messages in the same subject category:
the first method is as follows: in the same subject category, sequencing according to the receiving time sequence of the notification messages; for example, the latest notification messages are sorted in descending order of the reception time of the notification messages, i.e., the latest notification messages are arranged at the top, so that the user can pay attention to the latest notification messages of the most important subject categories with priority, and in addition, the reverse order can be adopted, i.e., the reception time of the notification messages is sorted in ascending order.
Alternatively, the first and second electrodes may be,
the second method comprises the following steps: the notification messages are sorted by their importance within the same topic category, which facilitates the user to focus preferentially on the most important notification messages of the most important topic category.
In the embodiment of the application, the importance degree marks or different colors are further used for showing the importance sequence of the notification messages, so that the important notification messages are more striking, and the use by a user is facilitated. The method specifically comprises the following steps:
distinguishing the importance degree of the theme category and/or the importance degree of the notification messages in the same theme category by using colors, and displaying the sorted and classified notification messages; or the like, or, alternatively,
the importance level marks the importance level of distinguishing the topic categories and/or the importance level of the notification messages in the same topic category, and displays the classified notification messages.
The above-described example of displaying the notification message by the mobile phone a is continued.
Marking the importance degree sequence of the subject categories according to the color sequence of red, yellow and green: social application, map navigation, online shopping payment; the notification messages within each topic category are sorted in descending order of time of notification messages. The lock screen of the mobile phone A is displayed in red in sequence: [ notification message 4], [ notification message 2 ];
the mobile phone A sequentially displays the following on a lock screen in yellow: [ Notification message 6 ];
the mobile phone A sequentially displays the following on a lock screen in green: [ Notification message 5], [ Notification message 3], [ Notification message 1 ].
In this embodiment of the present application, displaying the categorized notification messages according to different subject categories further includes: and displaying the summary statistical information of the topic category so that a user can conveniently see the summary condition of the unread notification messages, for example, the number information of the notification messages of the topic category.
Based on the embodiment of the notification message display method provided by the application, the application also provides a notification message processing method.
Referring to fig. 2, a flowchart of a notification message processing method provided in the present application is shown. Since the present embodiment is based on the above embodiments, the description is relatively simple, and the relevant portions should be referred to the corresponding descriptions of the above embodiments.
The method for processing the notification message in fig. 2 includes:
step S201, a notification message is acquired.
The method for processing the notification message provided in the embodiment of the present application classifies the notification according to the subject category to which the notification message belongs, and may be deployed in a terminal device, for example, a terminal device such as a mobile phone or a tablet computer, or may be deployed in another entity that determines the subject category of the notification message, for example, a server that deploys the method for processing the notification message.
In the embodiment of the application, the categories of the notification messages applied by the terminal are divided into the following 10 categories according to different topics: social applications, map navigation, online shopping payments, call communications, consumer goods, tools for inquiry, photography beautification, entertainment audio, education, and news information. The topic category is a category defined according to a content topic of the notification message. Each topic category includes one or more content topics, and the same content topic may belong to different topic categories. The content topic is a topic extracted or summarized from the content included in the notification message. For example, a "coupon" is a content subject, which may be included in the online shopping payment subject category, the life consumption subject category, or the entertainment audio and video subject category. Of course, other subject categories may be defined to classify notification messages.
The notification message is a notification message from a terminal application, and one or more content subjects of the notification message can be extracted according to the main content of the notification message. For example, [ Notification message 5] 2018/04/0810: 08 shopping application 3, you receive a coupon yesterday, whose content subject can be generalized as "online shopping" and "coupon".
This step is to obtain notification messages to be categorized according to topic categories. For example, for a terminal device that deploys the processing method of the notification message, the notification message pushed to the terminal device by a server or a third-party tool of a terminal application is received for the terminal device; and receiving the notification message sent by the terminal equipment or other servers for the server deploying the processing method of the notification message.
Examples are as follows: take the classification of the notification message by the mobile phone a as an example.
The mobile phone a receives 6 notification messages to be classified, as follows:
[ Notification message 1] 2018/04/0810: 00 shopping application 1, a certain brand coat is only 100 yuan, originally 120 yuan;
[ Notification message 2] 2018/04/0810: 02 social application 1, some of a group chat, requesting to add a friend;
[ Notification message 3] 2018/04/0810: 04 shopping application 2, price reduction of a certain commodity in your shopping cart by 10 yuan;
notification message 4 2018/04/0810: 06 social application 2, purchase routinely every Saturday, welcome contact;
[ Notification message 5] 2018/04/0810: 08 shopping application 3, you successfully buys, pays 100 yuan through a certain bank card 12345;
[ Notification message 6] 2018/04/0810: 10 map application 1, for planning ahead travel, congestion near a certain attraction.
Step S202, determining the subject category to which the notification message belongs.
After the notification message is acquired, the subject category to which the notification message belongs is determined so as to classify and combine the notification message according to the subject category.
The step is to determine the subject category to which the notification message belongs according to the content information and/or the source information of the notification message.
According to the method for processing the notification messages, the notification messages are not only classified according to the source information of the notification messages, but the content information of the notification messages is used as the basis for classification, so that the notification messages with the same subjects are gathered together, and the users can focus on the subjects concerned by themselves more conveniently.
The processing method of the notification message provided by the application provides the following three ways to determine the theme category to which the notification message belongs:
the first method is as follows: and determining the subject category of the notification message through a subject category judgment model according to the content subject of the notification message.
The second method comprises the following steps: and determining the subject category of the notification message through a source category judgment model according to the source information of the notification message.
The third method comprises the following steps: determining the subject category to which the notification message belongs through a subject category judgment model according to the content subject of the notification message; and determining the subject category of the notification message through a source category judgment model according to the source information of the notification message.
In the embodiment of the application, the notification message is preferably processed in a third mode, so that the subject category to which the notification message belongs can be quickly determined. For example, the following processing is specifically employed:
determining an application to which the notification message belongs;
determining whether the application has been categorized into a corresponding topic type using the source category determination model;
if so, acquiring a theme category corresponding to the application as the theme category to which the notification message belongs;
if not, extracting the content subject of the notification message, and judging the subject type of the notification message according to the content subject by using the subject type judgment model.
Considering that a lock screen of a terminal device can display a notification message, in order to protect sensitive data in the notification message, user sensitive data, such as account information or password information, is not displayed on the lock screen, the method for processing the notification message further includes: and completing desensitization treatment on the sensitive content in the notification message through data deformation. For example, the numerical information in the notification message is replaced with special characters. If desensitization processing is performed before the processing step of determining the topic type to which the notification message belongs, correspondingly, the determining the topic type to which the notification message belongs includes: and determining the topic class to which the notification message after desensitization belongs.
The example of categorizing the notification message using handset a follows.
For the 6 received notification messages, the mobile phone a determines that the sources are respectively:
[ Notification message 1] from shopping application 1, [ Notification message 2] from social application 1, [ Notification message 3] from shopping application 2, [ Notification message 4] from social application 2, [ Notification message 5] from shopping application 3, [ Notification message 6] from mapping application 1;
the mobile phone a judges that the notification message 5 contains sensitive content "some bank card 12345", and desensitizes the sensitive content to "some bank card";
the mobile phone A judges that the shopping application 1 and the shopping application 2 are classified into corresponding online shopping payment subject types, the social application 1 and the social application 2 are classified into corresponding social application subject types, the map application 1 is classified into corresponding map navigation subject types, and the shopping application 3 is not classified into corresponding subject types by using the source type judgment model;
the mobile phone A determines that the subject categories of the notification messages 1 and 3 are online shopping payment, the subject categories of the notification messages 2 and 4 are social application, and the subject category of the notification message 6 is map navigation;
the mobile phone A further extracts the content theme of the desensitized notification message 5, and judges the theme type of the notification message 5 to be online shopping payment by using the theme type judgment model according to the main contents of 'emergency purchase', 'bank card' and 'payment'.
Step S203, notifying the entity that needs to classify the notification message about the notification message and the topic type to which the notification message belongs, or classifying the notification message into the topic type to which the notification message belongs.
In this step, the notification messages of which the subject categories are determined in step S202 are categorized according to the subject categories to which they belong.
Specifically, one implementation manner of the method is to send the notification message and the subject category to which the notification message belongs to an entity for classifying the notification message, and the entity classifies the notification message. In a further embodiment, the notification message is categorized by an entity determining the subject category of the notification message into the subject category to which the notification message belongs.
If the processing method of the notification message is deployed on the terminal device displaying the notification message, the classified notification message can be directly displayed on the terminal device, for example, on a lock screen of the terminal device and on a notification bar of the terminal device.
And if the processing method of the notification message is not deployed on the terminal equipment displaying the notification message, sending the notification message classified according to the belonging subject category to the terminal equipment displaying the notification message for display.
In the embodiment of the application, the method further comprises the step of reporting the notification message or the notification message after desensitization processing to a data analysis entity related to the analysis of the topic type judgment model, wherein the characteristic data of the notification message is extracted from the notification message reported by the data analysis entity or the notification message after desensitization processing, and the characteristic data is used for generating a more accurate topic type judgment model. Of course, after extracting the feature data of the notification message, reporting the extracted feature data to the data analysis entity may also include:
obtaining source information and content subject of the notification message;
and taking the source information, the content subject and the desensitized notification message as the characteristic information of the notification message, packaging and encrypting the notification message, and sending the notification message to other entities.
In the embodiment of the application, the method further comprises reporting the notification message or the desensitized notification message to an entity related to the topic category importance ranking to help determine a more reasonable topic category importance ranking. Another specific embodiment is to extract the notification message or the notification message characteristic data after desensitization processing, for example, the source information of the notification message and the content topic of the notification message, and report the notification message characteristic data to the entity related to the topic category importance ranking. Preferably, the notification message feature data further includes: and clicking behavior of the user aiming at the notification message.
Based on the embodiment of the notification message display method and the embodiment of the notification message processing method provided by the application, the application further provides a method for generating a theme class judgment model.
Referring to fig. 3, a flowchart of a method for generating a topic category determination model provided in the present application is shown. Since the present embodiment is based on the above embodiments, the description is relatively simple, and the relevant portions should be referred to the corresponding descriptions of the above embodiments.
The method for generating the topic category determination model shown in fig. 3 includes:
in step S301, a topic category is determined.
The method for generating the theme category judgment model provided by the embodiment of the application defines the theme category in advance, and trains to obtain the theme category judgment model according to the sample data participating in the training. The method for generating the topic category judgment model is generally deployed with a server, but is not limited to the server.
This step is to determine the subject matter category.
In the embodiment of the present application, the topic categories are categories defined according to content topics of the notification message, each topic category includes one or more content topics, and the same content topic may also belong to different topic categories. Specifically, the category of the notification message applied by the terminal is divided into the following 10 categories according to different topics: social applications, map navigation, online shopping payments, call communications, consumer goods, tools for inquiry, photography beautification, entertainment audio, education and news information. For example, a "coupon" is a content subject, which may be included in the online shopping payment subject category, the life consumption subject category, or the entertainment audio and video subject category. Of course, other subject categories may be defined to classify notification messages.
Step S302, determining the notification message participating in training.
This step is to determine the sample data that participates in the training.
In practical application, the notification message is acquired from the terminal device and/or the entity storing the notification message. Specifically, in the embodiment of the present application, the notification message after desensitization processing and related data thereof are acquired by the terminal device, and the notification message includes at least any one of the following information:
the notification message after desensitization processing, the source information of the notification message, and the content subject of the notification message.
Step S303, generating a theme category judgment model for judging the theme category to which the notification message belongs according to the theme category and the notification message participating in training.
According to the sample data and the theme category, a theme category judgment model is generated through training. Specifically, the embodiment of the present application includes the following processes:
determining an application to which the notification message belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs;
obtaining the content subject contained in the notification message, and determining the content subject corresponding to the subject category;
and performing learning training by taking the theme type and the corresponding content theme as training samples to obtain a theme type judgment model for determining the theme type to which the content theme belongs.
Wherein the subject category to which the application belongs can be determined from the application market data. The application market data is information such as an application type, a function introduction, source information (for example, a company to which the application belongs), a download amount, and the number of comments made to the terminal application, which are related to the terminal application and are disclosed in a software store or an application market. Preferably, in the embodiment of the present application, the topic type to which the application belongs is further determined according to the application market data, and a source type determination model for determining the topic type to which the notification message belongs according to the source information of the notification message is obtained.
In the embodiment of the present application, in the process of performing learning training by using the theme classes and the content themes corresponding to the theme classes as training samples, if the same content theme corresponds to a plurality of theme classes, the number of notification messages including the content theme in the theme classes is compared, and the theme class with the largest number of notification messages is used as the theme class to which the content theme belongs.
In this embodiment of the application, the topic category determination model further includes providing importance of a topic category after determining the topic category of the notification message, and specifically includes:
and determining the importance ranking of the theme categories to which the notification messages belong according to the clicking behaviors of the user on the notification messages or the downloading amount of the applications to which the notification messages belong.
And acquiring the click behavior of the notification message from the terminal equipment and/or the entity storing the click behavior aiming at the notification message. Specifically, in the embodiment of the application, the terminal device acquires the notification message after desensitization processing and related data thereof; the download amount of the application to which the notification message belongs may be extracted from the application market data.
In addition, in the embodiment of the present application, the notification message after the desensitization processing is reported to the entity related to the importance ranking of the topic categories, so as to help determine a more reasonable importance ranking of the topic categories. Therefore, the feature information of the notification message further includes: click behavior of the user on the notification message.
Corresponding to the embodiment of the display method of the notification message provided by the application, the application also provides a display device of the notification message.
Referring to fig. 4, a schematic diagram of a display device for notification messages provided in accordance with the present application is shown. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant portions only need to refer to the corresponding description of the method embodiment. The device embodiments described below are merely illustrative.
The display device of the notification message shown in fig. 4 includes:
a classification unit 401, configured to obtain notification messages classified according to the subject categories to which the notification messages belong;
a display unit 402, configured to display the categorized notification message.
Optionally, the classifying unit 401 is specifically configured to:
acquiring a notification message;
determining a subject category to which the notification message belongs;
and merging the notification messages according to the subject categories to obtain the classified notification messages.
Optionally, the classifying unit 401 is specifically configured to:
acquiring a notification message;
receiving a subject category to which a notification message belongs, wherein the subject category is provided by an entity which determines the subject category of the notification message;
and merging the notification messages according to the subject categories to which the notification messages belong to obtain the classified notification messages.
Optionally, the classifying unit 401 is specifically configured to:
and receiving the notification messages classified according to the subject categories to which the notification messages belong, wherein the notification messages are provided by the entity classifying the notification messages.
Optionally, the display apparatus of the notification message further includes a sorting unit 403, configured to: determining an ordering of the categorized notification messages; alternatively, the first and second electrodes may be,
the obtaining of the notification message classified according to the subject category to which the notification message belongs includes: obtaining notification messages which are classified and ordered according to the subject categories to which the notification messages belong;
correspondingly, the displaying the categorized notification message includes: displaying the sorted classified notification messages.
Optionally, the sorting unit 403 includes a subject category sorting subunit, configured to sort the notification messages of different subject categories.
Optionally, the subject category sorting subunit is specifically configured to:
sorting the classified notification messages according to the importance sorting of the subject categories to which the notification messages belong; alternatively, the first and second electrodes may be,
and determining the importance degree of the theme category to which the notification message belongs according to the clicking behavior of the user aiming at the notification message or the downloading amount of the terminal application to which the notification message belongs, and sequencing the classified notification messages.
Optionally, the sorting unit 403 includes a notification message sorting subunit in the same subject category, and is configured to sort the notification messages in the same subject category.
Optionally, the notification message sorting subunit in the same topic category is specifically configured to:
in the same subject category, sequencing according to the receiving time sequence of the notification messages; alternatively, the first and second electrodes may be,
within the same subject category, ordered according to the importance of the notification messages.
Optionally, the display unit 402 is specifically configured to:
distinguishing the importance degree of the theme category and/or the importance degree of the notification messages in the same theme category by using colors, and displaying the sorted and classified notification messages; or the like, or, alternatively,
the importance level marks the importance level of distinguishing the topic categories and/or the importance level of the notification messages in the same topic category, and displays the classified notification messages.
Optionally, the notification message is a message that the terminal application notifies the user in a message push mode.
Optionally, the topic category is a category defined according to a content topic of the notification message.
Corresponding to the embodiment of the method for processing the notification message, the application also provides a device for processing the notification message.
Referring to fig. 5, a schematic diagram of a notification message processing apparatus provided in the present application is shown. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant portions only need to refer to the corresponding description of the method embodiment. The device embodiments described below are merely illustrative.
The apparatus for processing notification message shown in fig. 5 comprises:
a notification message obtaining unit 501, configured to obtain a notification message;
a subject category determining unit 502, configured to determine a subject category to which the notification message belongs;
a classifying unit 503, configured to notify the entity that needs to classify the notification message about the notification message and the topic category to which the notification message belongs, or classify the notification message into the topic category to which the notification message belongs.
Optionally, the subject category determining unit 502 is specifically configured to:
determining the subject category to which the notification message belongs through a subject category judgment model according to the content subject of the notification message;
and/or
And determining the subject category of the notification message through a source category judgment model according to the source information of the notification message.
Optionally, the subject category determining unit 502 is specifically configured to:
determining an application to which the notification message belongs;
determining whether the application has been categorized into a corresponding topic type using the source category determination model;
if so, acquiring a theme category corresponding to the application as the theme category to which the notification message belongs;
if not, extracting the content subject of the notification message, and judging the subject type of the notification message according to the content subject by using the subject type judgment model.
Optionally, the processing apparatus of the notification message further includes a desensitization unit 503, configured to complete desensitization processing on the sensitive content in the notification message through data transformation.
Optionally, the desensitization unit 503 is specifically configured to: replacing the numerical information in the notification message with special characters.
Optionally, the subject category determining unit 502 is specifically configured to: and determining the topic class to which the notification message after desensitization belongs.
Optionally, the apparatus for processing the notification message further includes a data reporting unit 504, configured to:
obtaining source information and a content subject of the notification message;
and taking the source information, the content subject and the desensitized notification message as the characteristic information of the notification message, packaging and encrypting the notification message, and sending the notification message to other entities.
Optionally, the feature information of the notification message further includes: click behavior of the user on the notification message.
Corresponding to the embodiment of the method for generating the theme class judgment model provided by the application, the application also provides a device for generating the theme class judgment model.
Referring to fig. 6, a schematic diagram of a device for generating a topic category determination model provided in the present application is shown. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to the corresponding description of the method embodiments for relevant portions. The device embodiments described below are merely illustrative.
The apparatus for generating the topic type determination model shown in fig. 6 includes:
a subject category defining unit 601, configured to determine a subject category;
a training sample determination unit 602, configured to determine notification messages participating in training;
a model generating unit 603, configured to generate a topic category determination model for determining a topic category to which the notification message belongs according to the topic category and the notification message participating in training.
Optionally, the model generating unit 603 is specifically configured to:
determining an application to which the notification message belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs;
obtaining the content subject contained in the notification message, and determining the content subject corresponding to the subject category;
and performing learning training by taking the theme type and the corresponding content theme as training samples to obtain a theme type judgment model for determining the theme type to which the content theme belongs.
Optionally, the model generating unit 603 includes a voting subunit, configured to perform the following processing:
and if the same content subject corresponds to a plurality of subject categories, comparing the number of the notification messages containing the content subject in the subject categories, and taking the subject category with the largest number of the notification messages as the subject category to which the content subject belongs.
Optionally, the apparatus for generating the theme category determination model further includes a source category determination model generating unit, configured to determine a theme category to which the application belongs according to the application market data, and obtain a source category determination model used for determining a theme type to which the notification message belongs according to source information of the notification message.
Optionally, the device for generating the theme category determination model further includes a sorting unit, configured to determine importance sorting of the theme category to which the notification message belongs according to a click behavior of the user for the notification message or a download amount of an application to which the notification message belongs.
The application also provides an electronic device for implementing the notification message display method, and fig. 7 shows a schematic diagram of an electronic device provided in this embodiment.
The embodiments of the electronic device provided in the present application are described more simply, and for related parts, reference may be made to the corresponding description of the embodiments of the display method of the notification message provided above.
The application provides an electronic device, including:
a memory 701, and a processor 702;
the memory 701 is configured to store computer-executable instructions, and the processor 702 is configured to execute the computer-executable instructions to:
obtaining notification messages classified according to the subject categories to which the notification messages belong;
displaying the categorized notification messages.
Optionally, the processor 702 is specifically configured to execute the following computer-executable instructions:
acquiring a notification message;
determining a subject category to which the notification message belongs;
and merging the notification messages according to the subject categories to obtain the classified notification messages.
Optionally, the processor 702 is specifically configured to execute the following computer-executable instructions:
acquiring a notification message;
receiving a subject category to which a notification message belongs, wherein the subject category is provided by an entity which determines the subject category of the notification message;
and merging the notification messages according to the subject categories to which the notification messages belong to obtain the classified notification messages.
Optionally, the processor 702 is specifically configured to execute the following computer-executable instructions:
and receiving the notification messages classified according to the subject categories to which the notification messages belong, wherein the notification messages are provided by the entity classifying the notification messages.
Optionally, the processor 702 is further configured to execute the following computer-executable instructions:
determining an ordering of the categorized notification messages; alternatively, the first and second electrodes may be,
the obtaining of the notification message classified according to the subject category to which the notification message belongs includes: obtaining notification messages which are classified and ordered according to the subject categories to which the notification messages belong;
correspondingly, the displaying the categorized notification message includes: displaying the sorted classified notification messages.
Optionally, the determining the ranking of the categorized notification messages includes: the notification messages of different topic categories are ordered.
Optionally, the processor 702 is further specifically configured to execute the following computer-executable instructions:
sorting the classified notification messages according to the importance sorting of the subject categories to which the notification messages belong; alternatively, the first and second electrodes may be,
and determining the importance degree of the theme category to which the notification message belongs according to the clicking behavior of the user aiming at the notification message or the downloading amount of the terminal application to which the notification message belongs, and sequencing the classified notification messages.
Optionally, the determining the rank of the categorized notification message includes:
the notification messages within the same subject category are ordered.
Optionally, the processor 702 is further specifically configured to execute the following computer-executable instructions:
in the same subject category, sequencing according to the receiving time sequence of the notification messages; alternatively, the first and second electrodes may be,
within the same subject category, ordered according to the importance of the notification messages.
Optionally, the processor 702 is further configured to execute the following computer-executable instructions:
distinguishing the importance degree of the theme category and/or the importance degree of the notification messages in the same theme category by using colors, and displaying the sorted and classified notification messages; or the like, or, alternatively,
the importance level marks the importance level of distinguishing the topic categories and/or the importance level of the notification messages in the same topic category, and displays the classified notification messages.
Optionally, the notification message is a message that the terminal application notifies the user in a message push manner.
Optionally, the topic category is a category defined according to a content topic of the notification message.
The present application further provides a second electronic device, configured to implement a method for processing a notification message, where a schematic diagram of the electronic device provided in this embodiment is similar to fig. 7.
The embodiments of the electronic device provided in the present application are described more simply, and please refer to the corresponding description of the embodiments of the notification message processing method provided above for related portions.
The present application provides a second electronic device comprising:
a memory, and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring a notification message;
determining a subject category to which the notification message belongs;
and informing the notification message and the subject class to which the notification message belongs to an entity needing to classify the notification message, or classifying the notification message into the subject class to which the notification message belongs.
Optionally, the determining the topic category to which the notification message belongs includes:
determining the subject category to which the notification message belongs through a subject category judgment model according to the content subject of the notification message;
and/or
And determining the subject category of the notification message through a source category judgment model according to the source information of the notification message.
Optionally, the processor is specifically configured to execute the following computer-executable instructions:
determining an application to which the notification message belongs;
determining whether the application has been categorized into a corresponding topic type using the source category determination model;
if so, acquiring a theme category corresponding to the application as the theme category to which the notification message belongs;
if not, extracting the content subject of the notification message, and judging the subject type of the notification message according to the content subject by using the subject type judgment model.
Optionally, the processor is further configured to execute the following computer-executable instructions:
and completing desensitization treatment on the sensitive content in the notification message through data deformation.
Optionally, the data transforming the sensitive content in the notification message includes: replacing the numerical information in the notification message with special characters.
Optionally, the determining the topic category to which the notification message belongs includes: and determining the topic class to which the notification message after desensitization belongs.
Optionally, the processor is further configured to execute the following computer-executable instructions:
obtaining source information and a content subject of the notification message;
and taking the source information, the content subject and the desensitized notification message as the characteristic information of the notification message, packaging and encrypting the notification message, and sending the notification message to other entities.
Optionally, the feature information of the notification message further includes: click behavior of the user on the notification message.
The present application further provides a third electronic device, configured to implement the method for generating the theme class determination model, where a schematic diagram of the electronic device provided in this embodiment is similar to that in fig. 7.
The embodiments of the electronic device provided in the present application are described more simply, and for related parts, reference may be made to the corresponding description of the embodiment of the method for generating the theme category determination model provided above.
The present application provides a third electronic device, comprising:
a memory, and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
determining a subject category;
determining notification messages participating in training;
and generating a theme category judgment model for judging the theme category to which the notification message belongs according to the theme category and the notification message participating in training.
Optionally, the processor is specifically configured to execute the following computer-executable instructions:
determining an application to which the notification message belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs;
obtaining the content subject contained in the notification message, and determining the content subject corresponding to the subject category;
and performing learning training by taking the theme type and the corresponding content theme as training samples to obtain a theme type judgment model for determining the theme type to which the content theme belongs.
Optionally, the performing learning training by using the theme category and the content theme corresponding to the theme category as training samples includes:
and if the same content subject corresponds to a plurality of subject categories, comparing the number of the notification messages containing the content subject in the subject categories, and taking the subject category with the largest number of the notification messages as the subject category to which the content subject belongs.
Optionally, the processor is further configured to execute the following computer-executable instructions:
and determining the theme type to which the application belongs according to the application market data to obtain a source type judgment model for judging the theme type to which the notification message belongs according to the source information of the notification message.
Optionally, the processor is further configured to execute the following computer-executable instructions:
and determining the importance ranking of the theme categories to which the notification messages belong according to the clicking behaviors of the user on the notification messages or the downloading amount of the applications to which the notification messages belong.
The present application also provides a storage device embodiment for a display method of storing notification messages.
The embodiments of the storage device provided in the present application are described more simply, and for related parts, reference may be made to the corresponding descriptions of the embodiments of the method for displaying a notification message provided above
An embodiment of the present application provides a storage device, which stores instructions that can be loaded by a processor and execute the following steps:
obtaining notification messages classified according to the subject categories to which the notification messages belong;
displaying the categorized notification messages.
The application also provides a second storage device for storing the processing method of the notification message.
The storage device embodiment provided by the present application is described relatively simply, and for related parts, reference may be made to the corresponding description of the embodiment of the notification message processing method provided above.
An embodiment of the present application provides a storage device, which stores instructions that can be loaded by a processor and execute the following steps:
acquiring a notification message;
determining a topic category to which the notification message belongs;
and informing the notification message and the subject class to which the notification message belongs to an entity needing to classify the notification message, or classifying the notification message into the subject class to which the notification message belongs.
The application also provides a third storage device for storing the generation method of the theme class judgment model.
The embodiment of the storage device provided in the present application is described more simply, and for related parts, reference may be made to the corresponding description of the embodiment of the method for generating the theme class determination model provided above.
An embodiment of the present application provides a storage device, which stores instructions that can be loaded by a processor and execute the following steps:
determining a subject category;
determining notification messages participating in training;
and generating a theme category judgment model for judging the theme category to which the notification message belongs according to the theme category and the notification message participating in training.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.

Claims (32)

1. A method for displaying a notification message, comprising:
obtaining notification messages classified according to subject categories to which the notification messages belong, wherein the subject categories to which the notification messages belong are obtained according to the notification messages and a subject category judgment model, and the subject categories are categories defined according to content subjects of the notification messages and/or source information of the notification messages; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in the training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
displaying the categorized notification messages.
2. The method of claim 1, wherein obtaining notification messages categorized by a subject category to which the notification message belongs comprises:
acquiring a notification message;
determining a subject category to which the notification message belongs;
and merging the notification messages according to the subject categories to obtain the classified notification messages.
3. The method of claim 1, wherein obtaining notification messages categorized by a subject category to which the notification message belongs comprises:
acquiring a notification message;
receiving a subject category to which a notification message belongs, wherein the subject category is provided by an entity which determines the subject category of the notification message;
and merging the notification messages according to the subject categories to which the notification messages belong to obtain the classified notification messages.
4. The method of claim 1, wherein obtaining notification messages categorized by a subject category to which the notification message belongs comprises:
and receiving the notification messages classified according to the subject categories to which the notification messages belong, wherein the notification messages are provided by the entity classifying the notification messages.
5. The method of claim 1, further comprising: determining an ordering of the categorized notification messages; alternatively, the first and second electrodes may be,
the obtaining of the notification message classified according to the subject category to which the notification message belongs includes: obtaining notification messages which are classified and ordered according to the subject categories to which the notification messages belong;
correspondingly, the displaying the categorized notification message includes: displaying the sorted classified notification messages.
6. The method of claim 5, wherein determining the ranking of the categorized notification messages comprises: the notification messages of different topic categories are ordered.
7. The method of claim 6, wherein the ordering notification messages of different topic categories comprises:
sorting the classified notification messages according to the importance sorting of the subject categories to which the notification messages belong; alternatively, the first and second electrodes may be,
and determining the importance degree of the theme category to which the notification message belongs according to the clicking behavior of the user aiming at the notification message or the downloading amount of the terminal application to which the notification message belongs, and sequencing the classified notification messages.
8. The method of claim 5, wherein determining the ranking of the categorized notification messages comprises:
the notification messages within the same subject category are ordered.
9. The method of claim 8, wherein ranking the notification messages within the same subject category comprises:
in the same subject category, sequencing according to the receiving time sequence of the notification messages; alternatively, the first and second liquid crystal display panels may be,
within the same subject category, ordered according to the importance of the notification messages.
10. The method of claim 9, wherein displaying the ranked categorized notification messages comprises:
distinguishing the importance degree of the theme category and/or the importance degree of the notification messages in the same theme category by using colors, and displaying the sorted and classified notification messages; or the like, or, alternatively,
the importance level marks the importance level of distinguishing the topic categories and/or the importance level of the notification messages in the same topic category, and displays the classified notification messages.
11. The method according to claim 1, wherein the notification message is a message that the terminal application notifies the user by using a message push method.
12. A method for processing a notification message, comprising:
acquiring a notification message;
determining a subject category to which the notification message belongs according to the notification message and a subject category judgment model, wherein the subject category is a category defined according to a content subject of the notification message and/or source information of the notification message; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
and informing the notification message and the subject class to which the notification message belongs to an entity needing to classify the notification message, or classifying the notification message into the subject class to which the notification message belongs.
13. The method of claim 12, wherein the determining the topic category to which the notification message belongs comprises:
determining an application to which the notification message belongs;
determining whether the application has been categorized into a corresponding topic type using the source category determination model;
if so, acquiring a theme category corresponding to the application as the theme category to which the notification message belongs;
if not, extracting the content subject of the notification message, and judging the subject type of the notification message according to the content subject by using the subject type judgment model.
14. The method of claim 12, further comprising:
and completing desensitization treatment on the sensitive content in the notification message through data deformation.
15. The method of claim 14, wherein the data morphing of sensitive content in the notification message comprises: replacing the numerical information in the notification message with special characters.
16. The method of claim 14, wherein the determining the topic category to which the notification message belongs comprises: and determining the topic class to which the notification message after desensitization belongs.
17. The method of claim 14, further comprising:
obtaining source information and content subject of the notification message;
and taking the source information, the content subject and the desensitized notification message as the characteristic information of the notification message, packaging and encrypting the notification message, and sending the notification message to other entities.
18. The method of claim 17, wherein the feature information of the notification message further comprises: click behavior of the user on the notification message.
19. A method for generating a topic category determination model, comprising:
determining a topic category, wherein the topic category is a category defined according to a content topic of a notification message and/or source information of the notification message;
determining notification messages participating in training;
and generating a theme category judgment model for judging the theme category to which the notification message belongs according to the theme category and the notification message participating in training.
20. The method of claim 19, wherein generating a topic category determination model for determining a topic category to which a notification message belongs according to the topic category and the notification messages participating in training comprises:
determining an application to which the notification message belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs;
obtaining the content subject contained in the notification message, and determining the content subject corresponding to the subject category;
and performing learning training by taking the theme type and the corresponding content theme as training samples to obtain a theme type judgment model for determining the theme type to which the content theme belongs.
21. The method according to claim 20, wherein the performing learning training by using the topic category and the corresponding content topic as training samples comprises:
and if the same content subject corresponds to a plurality of subject categories, comparing the number of the notification messages containing the content subject in the subject categories, and taking the subject category with the largest number of the notification messages as the subject category to which the content subject belongs.
22. The method of claim 19, further comprising:
and determining the theme type to which the application belongs according to the application market data to obtain a source type judgment model for judging the theme type to which the notification message belongs according to the source information of the notification message.
23. The method of claim 19, further comprising:
and determining the importance ranking of the theme categories to which the notification messages belong according to the clicking behaviors of the user on the notification messages or the downloading amount of the applications to which the notification messages belong.
24. A display device for notification messages, comprising:
the classification unit is used for obtaining the notification messages classified according to the subject categories to which the notification messages belong, wherein the subject categories to which the notification messages belong are obtained according to the notification messages and a subject category judgment model, and the subject categories are categories defined according to the content subjects of the notification messages and/or the source information of the notification messages; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
a display unit for displaying the classified notification message.
25. An apparatus for processing a notification message, comprising:
a notification message acquisition unit for acquiring a notification message;
a subject category determination unit, configured to determine a subject category to which the notification message belongs according to the notification message and a subject category determination model, where the subject category is a category defined according to a content subject of the notification message and/or source information of the notification message; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in the training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
and the classification unit is used for notifying the entity needing to classify the notification message and the subject class to which the notification message belongs, or classifying the notification message into the subject class to which the notification message belongs.
26. An apparatus for generating a topic type determination model, comprising:
the system comprises a theme category defining unit, a notification message sending unit and a notification message receiving unit, wherein the theme category defining unit is used for determining a theme category, and the theme category is defined according to a content theme of the notification message and/or source information of the notification message;
a training sample determining unit for determining a notification message participating in training;
the model generating unit is used for generating a theme category judgment model used for judging the theme category to which the notification message belongs according to the theme category and the notification message participating in training; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of the notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of the notification messages as the theme category to which the content theme belongs.
27. An electronic device, comprising:
a memory, and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
obtaining notification messages classified according to the subject categories to which the notification messages belong; the topic type to which the notification message belongs is obtained according to the notification message and a topic type judgment model, wherein the topic type is a type defined according to the content topic of the notification message and/or the source information of the notification message; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in the training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
displaying the categorized notification messages.
28. An electronic device, comprising:
a memory, and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring a notification message;
determining a subject category to which the notification message belongs according to the notification message and a subject category judgment model, wherein the subject category is a category defined according to a content subject of the notification message and/or source information of the notification message; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in the training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
and informing the notification message and the subject class to which the notification message belongs to an entity needing to classify the notification message, or classifying the notification message into the subject class to which the notification message belongs.
29. An electronic device, comprising:
a memory, and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
determining a topic category, wherein the topic category is a category defined according to a content topic of a notification message and/or source information of the notification message;
determining notification messages participating in training;
generating a theme class judgment model for judging the theme class to which the notification message belongs according to the theme class and the notification message participating in training; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in the training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of the notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of the notification messages as the theme category to which the content theme belongs.
30. A storage device having stored thereon instructions capable of being loaded by a processor and performing the steps of:
obtaining notification messages classified according to subject categories to which the notification messages belong, wherein the subject categories to which the notification messages belong are obtained according to the notification messages and a subject category judgment model, and the subject categories are categories defined according to content subjects of the notification messages and/or source information of the notification messages; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
displaying the categorized notification messages.
31. A storage device having stored thereon instructions capable of being loaded by a processor and performing the steps of:
acquiring a notification message;
determining a subject category to which the notification message belongs according to the notification message and a subject category judgment model, wherein the subject category is a category defined according to a content subject of the notification message and/or source information of the notification message; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in the training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of notification messages as the theme category to which the content theme belongs;
and informing the entity needing to classify the notification message of the notification message and the subject class to which the notification message belongs, or classifying the notification message into the subject class to which the notification message belongs.
32. A storage device having stored thereon instructions that are capable of being loaded by a processor and performing the steps of:
determining a topic category, wherein the topic category is a category defined according to a content topic of a notification message and/or source information of the notification message;
determining notification messages participating in training;
generating a theme class judgment model for judging the theme class to which the notification message belongs according to the theme class and the notification message participating in training; the theme category judgment model is obtained by training by adopting the following method:
predefining a theme category;
determining an application to which a notification message participating in training belongs and a theme category corresponding to the application, and taking the theme category corresponding to the application as the theme category to which the notification message belongs; the notification message participating in the training is a notification message after desensitization treatment;
obtaining content subjects contained in the notification messages participating in training, and determining the content subjects corresponding to the subject categories;
taking the theme type and the corresponding content theme as training samples to carry out learning training to obtain the theme type judgment model; in the training process, if the same content theme corresponds to a plurality of theme categories, comparing the number of the notification messages containing the content theme in the theme categories, and taking the theme category with the largest number of the notification messages as the theme category to which the content theme belongs.
CN201810337338.4A 2018-04-16 2018-04-16 Notification message display and processing method, device and equipment Active CN110392155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810337338.4A CN110392155B (en) 2018-04-16 2018-04-16 Notification message display and processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810337338.4A CN110392155B (en) 2018-04-16 2018-04-16 Notification message display and processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN110392155A CN110392155A (en) 2019-10-29
CN110392155B true CN110392155B (en) 2022-05-24

Family

ID=68282678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810337338.4A Active CN110392155B (en) 2018-04-16 2018-04-16 Notification message display and processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN110392155B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367247B (en) * 2020-11-09 2023-04-07 深圳前海微众银行股份有限公司 Message notification display method, device and equipment
CN112422746A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Push message processing method and device, storage medium and electronic device
CN112882619B (en) * 2021-02-08 2022-08-26 维沃移动通信有限公司 Application interface management method and device, electronic equipment and medium
CN114610199B (en) * 2022-03-21 2023-04-21 北京明略昭辉科技有限公司 Session message processing method and device, storage medium and electronic equipment
CN117609986A (en) * 2022-08-22 2024-02-27 荣耀终端有限公司 Method for processing message and electronic equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9256862B2 (en) * 2012-02-10 2016-02-09 International Business Machines Corporation Multi-tiered approach to E-mail prioritization
US8751500B2 (en) * 2012-06-26 2014-06-10 Google Inc. Notification classification and display
KR101457632B1 (en) * 2012-12-20 2014-11-10 주식회사 팬택 Mobile electronic device having program notification function and program notification method thereof
US8954521B1 (en) * 2014-07-22 2015-02-10 Google Inc. Management and presentation of notification content
CN104506715B (en) * 2014-12-05 2018-10-12 小米科技有限责任公司 Notification message display methods and device
CN104793938B (en) * 2015-04-23 2018-02-16 广州视源电子科技股份有限公司 Informing message display method and system
CN105488025B (en) * 2015-11-24 2019-02-12 小米科技有限责任公司 Template construction method and device, information identifying method and device
CN106856447A (en) * 2015-12-09 2017-06-16 北京三星通信技术研究有限公司 The processing method and relevant apparatus and terminal device of interactive contents information
CN105718533A (en) * 2016-01-15 2016-06-29 百度在线网络技术(北京)有限公司 Information pushing method and device
CN107346487A (en) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 Data processing method and device
CN106130974A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 A kind of method intercepting notice and terminal

Also Published As

Publication number Publication date
CN110392155A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN110392155B (en) Notification message display and processing method, device and equipment
CN110874440B (en) Information pushing method and device, model training method and device, and electronic equipment
US20190205998A1 (en) System and method for a prosumer crypto social media and cross bridge service collaboration based on operant tag(s) and d-emojis/d-emoticons
CN108563680A (en) Resource recommendation method and device
CN110175306A (en) A kind of processing method and processing device of advertising information
CN109634683B (en) Short message operation framework configuration and pushing method and device based on enterprise expectation
CN108550046A (en) A kind of resource and market recommendation method, apparatus and electronic equipment
CN112219200A (en) Facet-based query improvement based on multiple query interpretations
CN109598171A (en) A kind of data processing method based on two dimensional code, apparatus and system
CN102315955A (en) Control method for setting obstruction for junk information and corresponding control device
CN104408193B (en) The processing method and processing device of data visualization model
CN110674404A (en) Link information generation method, device, system, storage medium and electronic equipment
CN111383072A (en) User credit scoring method, storage medium and server
CN111177093A (en) Method, device and medium for sharing scientific and technological resources
CN111553749A (en) Activity push strategy configuration method and device
CN110377838A (en) Recruitment data recommendation method and its device on block chain
CN114546553A (en) Information display method, device, equipment and medium
US11061892B2 (en) Techniques for automated database query generation
CN112256836A (en) Recording data processing method and device and server
CN111143546A (en) Method and device for obtaining recommendation language and electronic equipment
CN110377839A (en) By the search data recommendation method and its device of block chain
CN110390053A (en) Knowledge payment data recommended method and its device based on block chain
CN110377834A (en) By means of the shared economic data recommended method and its device of block chain
CN110377836A (en) By block chain from media data personalized recommendation method and its device
CN110737693A (en) Data mining processing method, device, equipment and computer readable storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40015691

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant