CN106970797B - Message prompting method and device and electronic equipment - Google Patents

Message prompting method and device and electronic equipment Download PDF

Info

Publication number
CN106970797B
CN106970797B CN201710202762.3A CN201710202762A CN106970797B CN 106970797 B CN106970797 B CN 106970797B CN 201710202762 A CN201710202762 A CN 201710202762A CN 106970797 B CN106970797 B CN 106970797B
Authority
CN
China
Prior art keywords
message data
application
priority
sender
prompt
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
CN201710202762.3A
Other languages
Chinese (zh)
Other versions
CN106970797A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710202762.3A priority Critical patent/CN106970797B/en
Publication of CN106970797A publication Critical patent/CN106970797A/en
Application granted granted Critical
Publication of CN106970797B publication Critical patent/CN106970797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application provides a message prompting method, a message prompting device and electronic equipment, when at least one piece of message data of at least one application is detected, the sequence of the at least one piece of message data is a first sequence, and the first sequence is sorted according to the generation time of the at least one piece of message data, by obtaining the relevant information of at least one message data and determining the prompting priority of at least one message data based on the relevant information, the prompt priority includes a second order of the at least one message data, the second order being different from the first order, at which point, the prompt priority can be determined according to the importance of the message data to the user, and then the prompt information representing the corresponding message data is output according to the prompt priority, so that the important information can be informed to the user in time, the user does not need to screen the message data obtained by the electronic equipment, and the missing of the important message data is avoided.

Description

Message prompting method and device and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a message prompting method and apparatus, and an electronic device.
Background
Nowadays, in order to meet the requirements of users in terms of life, work and the like, electronic devices usually have various applications installed, such as various social applications, audio and video applications, security management applications, various system applications and the like. In practical application, the electronic device usually outputs prompt information to remind a user to check the application message detected by the application program in time, which is very convenient.
However, the prompt information output by the electronic device is usually the same, and when receiving a plurality of application messages, the electronic device usually outputs only a few currently received application messages, and the importance degree of the application messages cannot be judged, so that the user needs to check the application messages one by one, which is very troublesome, and easily overlooks the important messages, which brings inconvenience to life, work, and the like of the user.
Disclosure of Invention
In view of this, the present application provides a message prompting method, device and electronic device, which determine the prompting order and manner of each message data according to the detected prompting priority of each message data,
therefore, the user can check the important message data in time and quickly without one screening check, and the method is very convenient.
In order to achieve the above object, the present application provides the following technical solutions:
the application discloses an information prompting method, which comprises the following steps:
detecting at least one message data of at least one application, wherein the sequence of the at least one message data is a first sequence, and the first sequence is ordered according to the generation time of the at least one message data;
obtaining related information of the at least one piece of message data;
determining a prompt priority for the at least one message data based on the correlation information, the prompt priority comprising a second order of the at least one message data, the second order being different from the first order;
and outputting prompt information representing corresponding message data according to the prompt priority.
Preferably, the related information includes an application attribute of the at least one application, and the determining the prompt priority of the at least one message data based on the related information includes:
obtaining application sorting rules generated based on application attributes of different applications;
sequencing the message data among the at least one application by utilizing the application attribute of the at least one application according to the application sequencing rule;
a prompt priority for at least one message data of the at least one application is obtained.
Preferably, the related information includes a sender attribute of the at least one message data, and the determining the prompt priority of the at least one message data based on the related information includes:
obtaining sender sequencing rules generated based on sender attributes of different senders;
according to the sender sorting rule, sorting the message data sent by different senders by using the sender attribute of the at least one message data;
a prompt priority for the at least one message data is obtained.
Preferably, the outputting the prompt information representing the corresponding message data according to the prompt priority includes:
screening message data with the highest prompt priority;
and displaying the screened message data on the current display interface, or broadcasting the screened message data.
Preferably, the method may further comprise:
acquiring historical data associated with the related information;
analyzing the historical data and determining the response time of the message data corresponding to the relevant information;
sorting the message data corresponding to the relevant information by using the response time to generate a sorting rule corresponding to the relevant information;
wherein, the smaller the response time, the higher the prompt priority of the message data corresponding to the relevant information.
The application also discloses an electronic device, which includes:
the system comprises a processor, a first storage unit, a second storage unit, a third storage unit and a fourth storage unit, wherein the processor is used for detecting at least one message data of at least one application, obtaining relevant information of the at least one message data, and determining a prompt priority of the at least one message data based on the relevant information, wherein the sequence of the at least one message data is a first sequence, the first sequence is ordered according to the generation time of the at least one message data, the prompt priority comprises a second sequence of the at least one message data, and the second sequence is different from the first sequence;
and the prompting component is used for outputting prompting information representing corresponding message data according to the determined prompting priority.
Preferably, the related information includes an application attribute of the at least one application, and the processor is specifically configured to obtain an application sorting rule generated based on the application attribute of different applications, sort, according to the application sorting rule, message data between the at least one application by using the application attribute of the at least one application, and obtain a prompt priority of at least one piece of message data of the at least one application.
Preferably, the related information includes a sender attribute of the at least one piece of message data, and the processor is specifically configured to obtain a sender sorting rule generated based on the sender attributes of different senders, and sort, according to the sender sorting rule, the message data sent by different senders by using the sender attribute of the at least one piece of message data, so as to obtain a prompt priority of the at least one piece of message data.
Preferably, the prompting component is a display or a loudspeaker;
the display is used for presenting the message data which is screened out by the processor and has the highest prompt priority on a current display interface;
the loudspeaker is used for broadcasting the message data which are screened out by the processor and have the highest prompt priority.
Preferably, the electronic device further includes:
a memory for storing historical data of the relevant information;
the processor is further configured to analyze the historical data, determine response time of message data corresponding to the relevant information, sort the message data corresponding to the relevant information by using the response time, and generate a sort rule corresponding to the relevant information;
wherein, the smaller the response time, the higher the prompt priority of the message data corresponding to the relevant information.
Therefore, compared with the prior art, the application provides a message prompting method, a message prompting device and electronic equipment, the electronic equipment detects at least one message data of at least one application, at the moment, the sequence of the at least one message data is a first sequence obtained according to the generation time sequence, in order to enable a user to check the message data important to the user in time, the application obtains the relevant information of the at least one message data, determines the prompting priority of the at least one message data based on the relevant information, and outputs the prompting information representing the corresponding message data according to the prompting priority. Therefore, for more important message data of the user, the method and the device can set the message data to have higher prompt priority, so that the message data can be informed to the user at the fastest speed, the user does not need to screen the message data obtained by the electronic equipment, missing of the important message data is avoided, and great convenience is provided for life, work and the like of the user.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an embodiment of a message prompting method provided in the present application;
FIG. 2 is a flowchart of an embodiment of a message prompting method based on application attributes according to the present application;
FIG. 3 is a flowchart of an embodiment of a method for message prompting based on sender attributes provided by the present application;
FIG. 4 is a flowchart of an embodiment of a method for generating a sort rule corresponding to related information provided herein;
fig. 5 is a schematic structural diagram of an embodiment of a message prompt apparatus provided in the present application;
FIG. 6 is a schematic structural diagram of an electronic device provided in the present application;
FIG. 7 is a schematic structural diagram of yet another electronic device provided herein;
fig. 8 is a schematic diagram of a hardware structure of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart of an embodiment of a message prompting method in an embodiment of the present application is shown, where the method may be applied to an electronic device, and the embodiment may include the following steps:
step 101: detecting at least one message data of at least one application, wherein the sequence of the at least one message data is a first sequence, and the first sequence is ordered according to the generation time of the at least one message data.
In this embodiment, the electronic device detects, in real time, message data received by an application program, for example, message data received by a social application, message data received by a system application, message data received by an audio-video application, and the like. Generally, the electronic device receives a plurality of message data, and therefore generally, all applications on the electronic device receive a plurality of message data, in this embodiment, the plurality of applications are collectively referred to as at least one application, and the plurality of message data are collectively referred to as at least one message data.
When the electronic equipment detects at least one piece of message data of at least one application, the message data are sequenced according to the sequence of receiving the message data, and the sequence obtained by sequencing is called as a first sequence. Then, the electronic device needs to determine the priority of each piece of message data corresponding to the first order.
Step 102: information related to at least one piece of message data is obtained.
After the electronic device detects at least one piece of message data, the electronic device needs to acquire relevant information of the at least one piece of message data, and determine a prompt priority of the at least one piece of message data according to the relevant information, where the relevant information is an attribute that can classify the message data, for example, an application attribute of an application that receives the message data, an attribute of a sender that sends the message data, and the like, and certainly, the relevant information of the message data may also be other attributes that can classify the message data, and the specific content of the relevant information of the message data is not limited in the embodiment of the present application.
Step 103: determining a prompt priority for the at least one message data based on the correlation information, the prompt priority including a second order of the at least one message data, the second order being different from the first order.
In order to determine the priority of the message data after the electronic device detects the message data received by the application, the electronic device needs to sort the detected message data according to a certain sorting rule. Generally, there are various ordering rules of the message data, and the electronic device may determine the prompt priority of the message data according to the importance degree of the relevant information to the user. For example, when the related information is an application type, the electronic device may determine the prompt priority of each type of application according to the importance degree of each type of application to the user.
Of course, the electronic device may also determine the attribute prompt priority according to the importance degree of other attributes in the related information to the user, and this embodiment is not particularly limited.
In this embodiment, the priority order of the at least one piece of message data is referred to as a second order, and therefore, the second order in this step is ordered according to the importance degree of the message data to the user, and is different from the first order ordered according to the time of receiving the message data in step 101.
Step 104: and outputting prompt information representing corresponding message data according to the prompt priority.
After the electronic device determines the prompt priority of the detected message data, the electronic device may prompt the message data of the first N priorities in the prompt priorities corresponding to the user according to the actual application, where N is an integer not less than 1. The embodiment can prompt all the received message data according to the sorted priority order. Preferably, the message data corresponding to the highest priority in the prompt priorities may be filtered to prompt the user.
For a specific manner of prompting the user, the screened message data may be displayed on the current interface of the electronic device, for example, a floating window is presented on the current interface of the electronic device, the screened message data is displayed in the floating window, and when the user views the current interface of the electronic device, the specific content of the message data in the floating window is directly viewed. Or, displaying all received message prompts in a notification bar of the equipment according to the sorted priority order, and arranging the received message with the highest priority at the top; or only the notification message with the high priority screened out is displayed in the notification bar.
Besides displaying the screened message data on the current interface to prompt users, the screened message data can be broadcasted in voice to prompt users. Of course, the electronic device may prompt the user for the screened message data in other ways besides displaying the screened message data on the interface and broadcasting the screened message data by voice, and the embodiment does not specifically limit the form of the electronic device prompting the user for the screened message data.
Optionally, on the basis of the above embodiment, the present application may further set different prompt information for different prompt priorities, so that a user can intuitively determine whether currently received message data is important for the user, whether the currently received message data needs to be checked immediately, and the like according to the prompt information, which is very convenient and practical.
In summary, according to the embodiment, after the electronic device acquires the relevant information of the detected at least one piece of message data, the electronic device determines the prompt priority of the message data based on the relevant information, and outputs the information for prompting the user according to the prompt priority. The method and the device have the advantages that the more important message data of the user can be informed to the user at the fastest speed, the user does not need to screen the message data obtained by the electronic equipment one by one, missing of the important message data is avoided, and great convenience is brought to life, work and the like of the user.
Referring to fig. 2, a flowchart of a message prompting method based on application attributes provided in an embodiment of the present application is shown, where the method embodiment may include the following steps:
step 201: detecting at least one message data of at least one application, wherein the sequence of the at least one message data is a first sequence, and the first sequence is ordered according to the generation time of the at least one message data.
In this embodiment, the electronic device detects in real time whether the application receives at least one piece of message data of at least one application, and for specific details, reference may be made to step 101, which is not described herein again.
Step 202: an application attribute of at least one piece of message data is obtained.
After detecting at least one piece of message data, the electronic device obtains application attributes of the at least one piece of message data, where the attribute values of the application attributes are many, for example, the application attributes may be application types of applications that receive the message data, and specifically, the application types may be social types, audio-video types, and the like; of course, the application attribute value in this step may be other content besides the application type, and the specific attribute value of the application attribute is not specifically limited in this embodiment of the application.
Step 203: application ranking rules generated based on application attributes of different applications are obtained.
In order to determine the prompt priority of at least one piece of message data according to the application attribute of the message data, before this step, the electronic device needs to establish an application sequencing rule based on the application attribute according to the importance degree of the attribute of the application receiving the message data to the user.
Optionally, the application attribute may be an application type, and at this time, the application attribute may specifically include a social class, an audio-video class, and other application types, and the application may determine, by using the frequency of the application belonging to each application type for the user, an important program of the application of different application types to the user, but is not limited to this determination manner. Then, the application types can be sequenced according to the preset important programs of the users of the multiple application types to obtain the corresponding application sequencing rule.
For example, if the social application has the highest importance degree to the user, the audio/video application has the second importance degree to the user, and the security application has the lowest importance degree to the user in the social application, the audio/video application, and the security application, it can be known that the application ranking rule based on the social application, the audio/video application, and the security application has the highest priority for the social application, the priority for the audio/video application, and the priority for the security application.
It should be noted that, this embodiment only uses an attribute of an application type in the application attributes as an example to describe a process of the electronic device for establishing the application sorting rule, in practice, the electronic device may use other application attributes to establish the application sorting rule, and this step does not limit a specific attribute value of the application attribute.
In this step, in order to determine the prompt priority of the detected at least one piece of message data, the electronic device needs to acquire an application sequencing rule generated based on application attributes of different applications.
Step 204: and sequencing the message data among the at least one application by utilizing the application attribute of the at least one application according to the application sequencing rule.
After the electronic equipment acquires the application sorting rule, comparing the application attribute of any piece of message data with the application attribute in the application sorting rule, and taking the sequence corresponding to the application attribute of the message data in the application sorting rule as the priority sequence of the message data. Preferably, the at least one message data may be determined one by one in the first order in accordance with a priority of the application of the ordering rule.
For example, for the example in step 203, the electronic device knows that the social application has the highest priority, the audio-video application has the lowest priority, and the security application has the lowest priority, and in this step, the electronic device determines the priority of at least one piece of message data according to the attribute of the application receiving the at least one piece of message data, for example, four pieces of message data detected by the electronic device, where three pieces of message data are received by the social application and one piece of message data is received by the security application, and therefore, the electronic device may obtain the four pieces of message data in the order that the three pieces of message data received by the social application are ranked in the piece of message data received by the security application.
In addition to determining the priority order of at least one piece of message data by comparing the application attributes of at least one piece of message data with the application attributes in the application sorting rule one by one, if a classification model for automatically determining the priority order of the message data based on the application sorting rule is preset in the electronic device, in this step, the electronic device can also directly input all the detected at least one piece of message data into the classification model, and the classification model automatically outputs the priority sorting of all the message data.
Step 205: a prompt priority for at least one message data of the at least one application is obtained.
And sequencing the priority of the obtained at least one piece of message data to be used as the prompt priority of the at least one piece of message data.
Step 206: and outputting prompt information representing corresponding message data according to the prompt priority.
The details of this step can refer to step 104, and are not described here.
In summary, in the embodiment, priority ranking is performed on at least one piece of detected message data according to a preset application ranking rule, so that the electronic device firstly prompts the message data with higher priority, and then the user is prevented from checking all message data one by one to screen important message data, convenience is brought to the user, and the user is prevented from missing important message data.
Preferably, referring to fig. 3, a flowchart of an embodiment of a method for prompting a message based on a sender attribute in an embodiment of the present application is shown, where the method may include the following steps:
step 301: detecting at least one message data of at least one application, wherein the sequence of the at least one message data is a first sequence, and the first sequence is ordered according to the generation time of the at least one message data.
In this embodiment, the electronic device detects in real time whether the application receives at least one piece of message data of at least one application, and for specific details, reference may be made to step 101, which is not described herein again.
Step 302: a sender attribute of at least one piece of message data is obtained.
The sender attribute may include a name of the sender, a type in an application, and the like, and the specific content included in the sender attribute is not limited in the present application.
For example, the communication objects in the application can be divided into various types, such as family, friend, colleague, client, etc., and after the message data of the application is detected, the type of the sender sending the message data can be determined, so as to determine the important program for the user according to the type of the sender, and determine the prompting sequence of the message data sent by the sender of the type.
Step 303: sender sort rules generated based on sender attributes of different senders are obtained.
In order to determine the prompt priority of at least one piece of message data according to the sender attribute of the message data, before this step, the electronic device may establish an application ordering rule based on the sender attribute according to the importance degree of the sender attribute of the message data to the user, that is, order different sender attributes, so as to determine the prompt order of the message data corresponding to each sender attribute according to the ordering result.
For example, when the sender attribute is the sender type, the sender attribute may be the sender types of family, friend, co-worker, client, and the like, and the sender application ordering rule is established according to the importance degree of the various senders of family, friend, co-worker, client, and the like to the user. Suppose that in a family, a friend, a colleague, and a client, the importance of the family to the user ranks first, the importance of the client to the user ranks second, the importance of the friend to the user ranks third, and the importance of the colleague to the user ranks fourth. Therefore, the electronic device can know that the sender sorting rule based on family, friends, colleagues and clients indicates that the priority corresponding to the family is the first place, the priority corresponding to the client is the second place, the priority corresponding to the friends is the third place, and the priority corresponding to the colleagues is the fourth place.
It should be noted that, this embodiment only uses an attribute of a sender type in the sender attribute as an example to introduce the electronic device to establish the sender sequencing rule, in practice, the electronic device may use other sender attributes to establish the application sequencing rule, and this step does not limit a specific attribute value of the sender attribute.
In this step, in order to determine the prompt priority of the detected at least one piece of message data, the electronic device needs to acquire an application sequencing rule generated based on the sender attributes of different senders.
Step 304: and sequencing the message data sent by different senders by using the sender attribute of at least one message data according to the sender sequencing rule.
After the electronic device obtains the sender sort rule, when at least one piece of message data is detected, comparing the sender attribute of the at least one piece of message data with the sender attribute in the sender sort rule to obtain the priority order of the at least one piece of message data, specifically, the electronic device determines the details of the priority order of the at least one piece of message data according to the sender sort rule, which may refer to the process of determining the priority order of the at least one piece of message data by the electronic device according to the application sort rule in step 204, and details are not described here.
If a classification model based on sender sorting rules is preset in the electronic device and the prompt priority order of the message data is automatically determined, in this step, the electronic device can also output all at least one message data to the classification model, and the classification model automatically determines the prompt priority order of at least one message data. For details, reference may be made to step 204, which is not described herein again.
Step 305: a prompt priority for at least one piece of message data is obtained.
And sequencing the priority of the obtained at least one piece of message data to be used as the prompt priority of the at least one piece of message data.
Step 306: and outputting prompt information representing corresponding message data according to the prompt priority.
The details of this step can refer to step 104, and are not described here.
In summary, in the embodiment, priority ranking is performed on at least one piece of detected message data according to a preset sender ranking rule, so that the electronic device firstly prompts the message data with higher priority, and then the user is prevented from checking all message data one by one to screen important message data, convenience is brought to the user, and the user is prevented from missing important message data.
Preferably, in addition to determining the prompt priority of the at least one piece of message data according to the application ordering rule or according to the sender ordering rule, the electronic device may determine the prompt priority of the at least one piece of message data by combining the application ordering rule and the sender ordering rule. For example, the electronic device determines the prompt priority of at least one piece of message data according to the application sorting rule, and then further determines the prompt priority of the message data according to the sender sorting rule for the message data of each priority. Of course, the electronic device may also determine the prompt priority of the at least one piece of message data according to the sender sequencing rule first and then according to the application sequencing rule.
It should be noted that, in this embodiment, it is not limited to only use a combination of an application ordering rule and a sender ordering rule to determine the prompt priority of at least one piece of message data, and ordering rules corresponding to other related information may also be combined.
In order to determine the priority of the message data after the electronic device detects the message data received by the application, the electronic device needs to sort the detected message data according to a certain sorting rule. Therefore, before the electronic device sorts the message data, a certain sorting rule needs to be established. In the embodiment of the application, whether the application ordering rule is generated based on the application attribute of the application or the sender ordering rule is generated based on the sender attribute of different senders, the electronic device generates the ordering rule corresponding to the relevant information according to the relevant information of at least one piece of message data and the importance degree of the relevant information to the user.
Preferably, referring to fig. 4, a flowchart of an embodiment of a method for generating a ranking rule corresponding to related information in an embodiment of the present application is shown, where the embodiment of the method may include the following steps:
step 401: historical data associated with the relevant information is obtained.
In this embodiment, the electronic device needs to generate the sort rule corresponding to the related information according to the related information of the message data, so the electronic device needs to first acquire the message data related to the related information in the past, and in this step, the message data related to the related information in the past is collectively referred to as history data related to the related information.
For example, when the related information is an application type, the electronic device needs to acquire historical data from application types related to social, audio-video, security, and so on. Further, when the related information is of a sender type, the electronic device needs to acquire history data from senders about family, friends, colleagues, clients, and the like. Of course, in actual applications, the related information is different attribute values, and the history data to be acquired by the electronic device may be history data associated with the related information.
Step 402: and analyzing the historical data and determining the response time of the message data corresponding to the relevant information.
After the electronic device obtains various types of historical data from social applications, audio and video applications, security applications, family members, friends, colleagues, clients and the like, the electronic device aims at the response time of the user to each piece of message data in each type of historical data, namely the time interval from the time when the electronic device detects the message data to the time when the user views the message data. The response time corresponding to each type of historical data can be calculated, and at the moment, the electronic equipment obtains the response time of each type of historical data.
Step 403: and sequencing the message data corresponding to the relevant information by utilizing the response time to generate a sequencing rule corresponding to the relevant information.
After the electronic equipment obtains the response time of various types of historical data, the various types of historical data are sorted according to the response time according to the relevant information. For example, when the relevant information is an application type, it is assumed that the historical data acquired by the electronic device is message data related to three applications, namely, a social application, an audio-video application, and a security application, and then the electronic device sorts according to response times corresponding to the three applications, where the sorting results of the three types of applications are sorting rules obtained by the electronic device according to application attributes, and the sorting results obtained according to the application attributes and the response times are referred to as application sorting rules in this embodiment.
Similarly, when the related information is the sender type, assuming that the history data acquired by the electronic device is message data related to four types of senders, namely, family, friends, colleagues, and clients, the electronic device may also obtain the ranking results of the four types of senders according to the method for establishing the application ranking rule, and the ranking results obtained according to the sender attribute and according to the response time are referred to as sender ranking rules in this embodiment.
Of course, the electronic device may also sort the historical data of other related information according to the response time, and the obtained sorting result is referred to as a corresponding sorting rule. In the sort rule, the smaller the response time, the higher the presentation priority of the message data indicating the relevant information.
In order to improve the efficiency of generating the sort rule corresponding to the related information, preferably, the electronic device may use, as a training set, historical data obtained when the sort rule corresponding to the related information is generated and an order of the historical data in the sort rule corresponding to the related information, and train and generate a classifier, so that when the electronic device inputs at least one piece of message data into the classification model, the classifier outputs at least one piece of message data according to a sort of the sort rule corresponding to the related information.
In this embodiment, the electronic device may directly determine the rank of at least one piece of message data in the ranking rule corresponding to the related information according to the classifier generated by the training set, and certainly, in practical applications, the electronic device may also generate a model with a classification function in any form according to the training set, for example, a neural network.
In summary, according to the embodiment, the electronic device sorts the historical data of the related information according to the response time to obtain the corresponding sorting rule, and the response time can directly reflect the importance degree of the historical data to the user, so that the sorting rule corresponding to the related information obtained in the embodiment is higher in accuracy, the prompt priority obtained according to the sorting rule is higher in accuracy, the electronic device can train and generate the classification model according to the historical data when the sorting rule corresponding to the related information is established and the sequence of each piece of message data in the historical data in the sorting rule, and the electronic device can more quickly determine the sorting of the related information according to the applied sorting rule according to the classification model.
Corresponding to the method provided by the above embodiment of the message prompting method in the present application, referring to fig. 5, the present application further provides a schematic structural diagram of an embodiment of a message prompting device, and in this embodiment, the device may include:
a detecting module 501, configured to detect at least one message data of at least one application, where an order of the at least one message data is a first order, and the first order is sorted according to a generation time of the at least one message data;
an obtaining module 502, configured to obtain information related to the at least one piece of message data;
a determining module 503, configured to determine a prompt priority of the at least one piece of message data based on the related information, where the prompt priority includes a second order of the at least one piece of message data, and the second order is different from the first order;
preferably, when the related information includes an application attribute of at least one application, the determining module 503 may include:
the first rule obtaining unit is used for obtaining application sorting rules generated based on application attributes of different applications;
the first sequencing unit is used for sequencing the message data among the at least one application by utilizing the application attribute of the at least one application according to the application sequencing rule;
a first obtaining unit, configured to obtain a prompt priority of at least one piece of message data of the at least one application.
Preferably, when the related information includes a sender attribute of at least one piece of message data, the determining module 503 may include:
a second rule obtaining unit, configured to obtain sender sort rules generated based on sender attributes of different senders;
a second sorting unit, configured to sort, according to the sender sorting rule, the message data sent by different senders by using the sender attribute of the at least one message data;
and the second acquisition unit is used for acquiring the prompt priority of the at least one message data.
And an output module 504, configured to output, according to the prompt priority, prompt information representing corresponding message data.
Preferably, the output module 504 may include:
the screening unit is used for screening the message data with the highest prompt priority;
and the display unit is used for presenting the screened message data on the current display interface or broadcasting the screened message data.
The apparatus embodiment may further include:
a historical data acquisition module for acquiring historical data associated with the related information;
a response time determining module, configured to sort, by using the response time, the message data corresponding to the relevant information, and generate a sort rule corresponding to the relevant information;
wherein, the smaller the response time, the higher the prompt priority of the message data corresponding to the relevant information.
In summary, according to the embodiment of the apparatus, after the electronic device obtains the relevant information of the detected at least one piece of message data, the electronic device determines the prompt priority of the message data based on the relevant information, and outputs the information prompting the user according to the prompt priority. The method and the device have the advantages that the more important message data of the user can be informed to the user at the fastest speed, the user does not need to screen the message data obtained by the electronic equipment one by one, missing of the important message data is avoided, and great convenience is brought to life, work and the like of the user.
Fig. 6 is a schematic structural diagram of an electronic device 600 in an embodiment of the present invention. The electronic device may be used to implement message prompting. I.e. an electronic device, may be used to perform the methods provided in the above embodiments. In this embodiment, the electronic device may include: a processor 601 and a prompt component 602.
A processor 601, configured to detect at least one piece of message data of at least one application, obtain relevant information of the at least one piece of message data, and determine a prompt priority of the at least one piece of message data based on the relevant information, where an order of the at least one piece of message data is a first order, the first order is sorted according to a generation time of the at least one piece of message data, the prompt priority includes a second order of the at least one piece of message data, and the second order is different from the first order.
Preferably, when the related information includes an application attribute of at least one application, the processor is specifically configured to obtain an application sorting rule generated based on the application attribute of different applications, and sort the message data between the at least one application by using the application attribute of the at least one application according to the application sorting rule, so as to obtain a prompt priority of at least one piece of message data of the at least one application.
Preferably, when the related information includes a sender attribute of at least one piece of message data, the processor is further specifically configured to obtain a sender sorting rule generated based on the sender attributes of different senders, and sort, according to the sender sorting rule, the message data sent by the different senders by using the sender attribute of the at least one piece of message data, so as to obtain a prompt priority of the at least one piece of message data.
A prompt component 602, configured to output prompt information representing corresponding message data according to the determined prompt priority.
Preferably, the prompting component may be a display, and the display is used for presenting the message data screened by the processor and having the highest prompting priority on the current display interface;
preferably, the prompting means may be a speaker for broadcasting the message data screened by the processor as having the highest prompting priority.
Fig. 7 is a schematic structural diagram of an electronic device 700 according to an embodiment of the present invention. The electronic device may be used to implement message prompting. I.e. an electronic device, may be used to perform the methods provided in the above embodiments. In this embodiment, the electronic device may further include a memory 703 in addition to the processor 701 and the prompting component 702.
A memory 703 for storing historical data of the related information.
The processor 701 is further configured to analyze the historical data, determine response time of message data corresponding to the relevant information, sort the message data corresponding to the relevant information by using the response time, and generate a sort rule corresponding to the relevant information;
wherein, the smaller the response time, the higher the prompt priority of the message data corresponding to the relevant information.
Fig. 8 is a schematic hardware block diagram of an electronic device 800 in an embodiment of the present application. The electronic device 800 may be used to implement information processing. I.e. the electronic device 800 may be adapted to perform the methods provided in the above-described embodiments. In this embodiment, the electronic device 800 may further include, in addition to the processor 801, the prompting component 802, and the memory 803: a bus system 804 and a communication module 805.
The bus system 704 is used to couple the various hardware components of the electronic device 700 together.
The communication module 705 is configured to implement communication connection between the electronic device and other electronic devices.
In addition, it should be noted that, in the embodiments described above, relational terms such as first, second and the like are only used for distinguishing one operation, unit or module from another operation, unit or module, and do not necessarily require or imply any actual relation or order between the units, the units or modules. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or system that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device disclosed by the embodiment, the description is relatively simple because the device corresponds to the method disclosed by the embodiment, and the relevant part can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for message prompting, the method comprising:
detecting at least one message data of at least one application, wherein the sequence of the at least one message data is a first sequence, and the first sequence is ordered according to the generation time of the at least one message data;
obtaining related information of the at least one piece of message data, wherein the related information comprises sender attributes of the at least one piece of message data;
determining a prompt priority for the at least one message data based on the relevant information, including: obtaining sender sorting rules generated based on the sender attributes of different senders, and sorting the message data sent by the different senders by using the sender attribute of the at least one message data according to the sender sorting rules to obtain the prompt priority of the at least one message data; the sender sorting rule is a sorting result obtained according to sender attributes and response time, the prompt priority comprises a second sequence of the at least one piece of message data, and the second sequence is different from the first sequence; the response time refers to the time interval from the time when the electronic equipment detects the message data to the time when the user views the message data;
and outputting prompt information representing corresponding message data according to the prompt priority.
2. The method of claim 1, wherein the related information comprises application attributes of the at least one application, and wherein determining the prompt priority of the at least one message data based on the related information comprises:
obtaining application sorting rules generated based on application attributes of different applications;
sequencing the message data among the at least one application by utilizing the application attribute of the at least one application according to the application sequencing rule;
a prompt priority for at least one message data of the at least one application is obtained.
3. The method of claim 1, wherein outputting the alert information indicative of the corresponding message data according to the alert priority comprises:
screening message data with the highest prompt priority;
and displaying the screened message data on the current display interface, or broadcasting the screened message data.
4. The method of claim 1, further comprising:
acquiring historical data associated with the related information;
analyzing the historical data and determining the response time of the message data corresponding to the relevant information;
sorting the message data corresponding to the relevant information by using the response time to generate a sorting rule corresponding to the relevant information;
wherein, the smaller the response time, the higher the prompt priority of the message data corresponding to the relevant information.
5. An electronic device, characterized in that the electronic device comprises:
the system comprises a processor, a first storage unit, a second storage unit, a third storage unit and a fourth storage unit, wherein the processor is used for detecting at least one message data of at least one application, obtaining relevant information of the at least one message data, and determining a prompt priority of the at least one message data based on the relevant information, wherein the sequence of the at least one message data is a first sequence, the first sequence is ordered according to the generation time of the at least one message data, the prompt priority comprises a second sequence of the at least one message data, and the second sequence is different from the first sequence;
the prompting component is used for outputting prompting information representing corresponding message data according to the determined prompting priority;
the related information comprises sender attributes of the at least one piece of message data, and the processor is specifically configured to obtain sender sorting rules generated based on the sender attributes of different senders, sort the message data sent by the different senders by using the sender attributes of the at least one piece of message data according to the sender sorting rules, and obtain a prompt priority of the at least one piece of message data, where the sender sorting rules refer to sorting results obtained according to the sender attributes and according to response times; the response time refers to a time interval from the time when the electronic device detects the message data to the time when the user views the message data.
6. The electronic device according to claim 5, wherein the related information includes application attributes of the at least one application, and the processor is specifically configured to obtain an application ranking rule generated based on the application attributes of different applications, and rank the message data between the at least one application according to the application ranking rule by using the application attributes of the at least one application, so as to obtain a prompt priority of at least one piece of message data of the at least one application.
7. The electronic device of claim 5, wherein the prompting component is a display or a speaker;
the display is used for presenting the message data which is screened out by the processor and has the highest prompt priority on a current display interface;
the loudspeaker is used for broadcasting the message data which are screened out by the processor and have the highest prompt priority.
8. The electronic device of claim 5, further comprising:
a memory for storing historical data of the relevant information;
the processor is further configured to analyze the historical data, determine response time of message data corresponding to the relevant information, sort the message data corresponding to the relevant information by using the response time, and generate a sort rule corresponding to the relevant information;
wherein, the smaller the response time, the higher the prompt priority of the message data corresponding to the relevant information.
CN201710202762.3A 2017-03-30 2017-03-30 Message prompting method and device and electronic equipment Active CN106970797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710202762.3A CN106970797B (en) 2017-03-30 2017-03-30 Message prompting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710202762.3A CN106970797B (en) 2017-03-30 2017-03-30 Message prompting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106970797A CN106970797A (en) 2017-07-21
CN106970797B true CN106970797B (en) 2021-05-18

Family

ID=59336348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710202762.3A Active CN106970797B (en) 2017-03-30 2017-03-30 Message prompting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106970797B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911278B (en) * 2017-10-11 2021-02-02 五八有限公司 Message ordering method and device
CN110324495A (en) * 2019-07-05 2019-10-11 联想(北京)有限公司 A kind of information processing method and device
WO2021115228A1 (en) * 2019-12-13 2021-06-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and system for prioritizing notifications in electronic device
CN114531511A (en) * 2020-10-31 2022-05-24 华为技术有限公司 Service card display method and device
CN112597361B (en) * 2020-12-16 2023-12-12 北京五八信息技术有限公司 Ordering processing method and device, electronic equipment and storage medium
WO2023283924A1 (en) * 2021-07-16 2023-01-19 北京小米移动软件有限公司 Data transmission method, data transmission apparatus, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895608A (en) * 2010-07-14 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for reminding new information
CN102291497A (en) * 2011-09-15 2011-12-21 中兴通讯股份有限公司 Displaying method for prompting messages and mobile terminal
CN103648084A (en) * 2013-12-05 2014-03-19 百度在线网络技术(北京)有限公司 Method and system for message displaying at message notification board
CN104572942A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Push message display method and push message display device
CN105760041A (en) * 2015-12-14 2016-07-13 魅族科技(中国)有限公司 Unread message display method and system
CN106302924A (en) * 2016-09-18 2017-01-04 乐视控股(北京)有限公司 The sort method of contact person and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050204002A1 (en) * 2004-02-16 2005-09-15 Friend Jeffrey E. Dynamic online email catalog and trust relationship management system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895608A (en) * 2010-07-14 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for reminding new information
CN102291497A (en) * 2011-09-15 2011-12-21 中兴通讯股份有限公司 Displaying method for prompting messages and mobile terminal
CN103648084A (en) * 2013-12-05 2014-03-19 百度在线网络技术(北京)有限公司 Method and system for message displaying at message notification board
CN104572942A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Push message display method and push message display device
CN105760041A (en) * 2015-12-14 2016-07-13 魅族科技(中国)有限公司 Unread message display method and system
CN106302924A (en) * 2016-09-18 2017-01-04 乐视控股(北京)有限公司 The sort method of contact person and device

Also Published As

Publication number Publication date
CN106970797A (en) 2017-07-21

Similar Documents

Publication Publication Date Title
CN106970797B (en) Message prompting method and device and electronic equipment
CN107329761B (en) Message prompt processing method and electronic equipment
US9130778B2 (en) Systems and methods for spam detection using frequency spectra of character strings
CN103699662A (en) Method and device for displaying messages of notification bars
CN108390818B (en) Method, device, equipment and storage medium for interaction of instant messaging and mails
KR20120140404A (en) Automatic picture recognition and transmission mabile terminal
CN110545232A (en) group message prompting method, group message prompting device, data processing method, data processing device, electronic equipment and storage equipment
CN105991722B (en) Downloader recommendation method, application server, terminal and system
CN104376022B (en) Data processing method and device
WO2017201666A1 (en) Message reply reminding method for electronic social software, and device therefor
CN105045833A (en) Classification method and apparatus for user friend relations
CN103763181A (en) Automatic attribute setting device and method
CN105740294B (en) Information pushing method and equipment
CN112291136B (en) Method and device for processing session message
CN112165390B (en) Information processing method and device, electronic equipment and computer readable storage medium
CN106506774B (en) Display method and device for contact persons in address list
CN108710682A (en) Object recommendation method, apparatus and equipment
CN111131002B (en) Method, system and storage medium for tracing chat records
CN110109597B (en) Singing list switching method, device, system, terminal and storage medium
CN106231426B (en) Information display control method, smart television and mobile terminal
CN108763242B (en) Label generation method and device
CN110941949A (en) Data table rendering control method and device, computer equipment and storage medium
CN106649678B (en) Data processing method and system
CN110046306B (en) Method and device for acquiring relative object
CN111147361B (en) Method, device and storage medium for adding mailbox account

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant