CN112311659A - Message processing method and device and electronic equipment - Google Patents

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN112311659A
CN112311659A CN202011194304.8A CN202011194304A CN112311659A CN 112311659 A CN112311659 A CN 112311659A CN 202011194304 A CN202011194304 A CN 202011194304A CN 112311659 A CN112311659 A CN 112311659A
Authority
CN
China
Prior art keywords
notification message
message
notification
confidence
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011194304.8A
Other languages
Chinese (zh)
Inventor
孙海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011194304.8A priority Critical patent/CN112311659A/en
Publication of CN112311659A publication Critical patent/CN112311659A/en
Pending legal-status Critical Current

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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/06Message adaptation to terminal or network requirements
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a message processing method, a message processing device and electronic equipment, which belong to the technical field of communication, wherein the method comprises the following steps: under the condition that a first notification message corresponding to a first event is received, displaying the first notification message; determining a first confidence level between the first notification message and a second notification message if the second notification message is received; under the condition that the first confidence degree is greater than a preset confidence degree, performing content aggregation on the first notification message and the second notification message to obtain an aggregated message; and replacing the first notification message with the aggregated message for display. According to the message processing method, the notification messages corresponding to the same event can be aggregated and displayed, so that frequent user disturbance is avoided, and the use experience of the user can be improved.

Description

Message processing method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a message processing method and device and electronic equipment.
Background
With the rapid development of electronic device technology, the types of applications that can be installed in electronic devices are increasing. The user can chat by voice, watch videos, shoot images, perform navigation routing or pay online, etc. through the electronic device.
At present, when a user uses electronic equipment to carry out online payment, a plurality of transaction notification messages aiming at the same payment event are received after each transaction is completed, and each transaction notification message is displayed in a notification bar one by one, so that the user is frequently disturbed, and the use experience of the user is influenced. Such as: and the payment service point takeout of the application program A is used, and the application program A, the software of the point takeout and the bank to which the bank card bound by the application program A belongs all output transaction notification messages.
Disclosure of Invention
The embodiment of the application aims to provide a message processing method, which can solve the problem that after a payment event is completed once in the existing scheme, transaction notification messages corresponding to the payment event are displayed one by one.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present application provides a message processing method, where the method includes: displaying a first notification message corresponding to a first event under the condition that the first notification message is received, wherein the first notification message is a first notification message of the received first event; determining a first confidence level between the first notification message and a second notification message if the second notification message is received; under the condition that the first confidence degree is greater than a preset confidence degree, performing content aggregation on the first notification message and the second notification message to obtain an aggregated message; and replacing the first notification message with the aggregated message for display.
In a second aspect, an embodiment of the present application provides a message processing apparatus, where the apparatus includes: the device comprises a first display module, a second display module and a display module, wherein the first display module is used for displaying a first notification message corresponding to a first event under the condition that the first notification message is received, and the first notification message is a first notification message of the received first event; a first determining module, configured to determine, in a case that a second notification message is received, a first confidence degree between the first notification message and the second notification message; the aggregation module is used for performing content aggregation on the first notification message and the second notification message to obtain an aggregated message under the condition that the first confidence degree is greater than a preset confidence degree; and the replacing module is used for replacing the first notification message with the aggregation message for displaying.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the first notification message is displayed under the condition that the first notification message corresponding to the first event is received; determining a first confidence level between the first notification message and the second notification message in case the second notification message is received; under the condition that the first confidence degree is larger than the preset confidence degree, performing content aggregation on the second notification message of the first communication message to obtain an aggregated message; the aggregation message is adopted to replace the first notification message for display, and a plurality of notification messages corresponding to the same event can be aggregated into one notification message for display, so that frequent user disturbance is avoided, and the use experience of the user can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating the steps of a message processing method according to an embodiment of the present application;
fig. 2 is a block diagram showing a structure of a message processing apparatus according to an embodiment of the present application;
fig. 3 is a block diagram showing a configuration of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of 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 some, but not all, embodiments of the present application. 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.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a message processing method according to an embodiment of the present application is shown.
The message processing method of the embodiment of the application comprises the following steps:
step 101: and displaying the first notification message under the condition that the first notification message corresponding to the first event is received.
The first notification message is a first notification message of the received first event. The first notification message is displayed in a notification bar.
Step 102: in an instance in which a second notification message is received, a first confidence level between the first notification message and the second notification message is determined.
The first confidence degree can be determined according to the characteristic points of the source, the content, the type and the like of the first notification message and the second notification message. In the actual implementation process, feature point extraction can be performed on the first notification message and the second notification message, then the feature points are compared, and a first confidence coefficient of the first notification message and the second notification message is determined according to the comparison result. The specific manner of determining the first confidence between the first notification message and the second notification message based on the extracted feature points may be flexibly determined by those skilled in the art, and the embodiment of the present application is not particularly limited herein.
In an optional embodiment, after receiving the first notification message, performing confidence level analysis only on the second notification message received within a preset time period. After the execution of an event is completed, the electronic device receives notification messages related to the event in a short time, so that only the confidence level analysis is performed on the notification messages received within the preset time length, and the processing load of the processor can be reduced.
The preset duration can be set by a person skilled in the art according to actual needs, and details thereof are not described in the embodiment of the present application. For example: the preset time period may be set to 10s, 15s, 30s, or the like.
Step 103: and under the condition that the first confidence degree is greater than the preset confidence degree, performing content aggregation on the first notification message and the second notification message to obtain an aggregated message.
The preset confidence may be set by a person skilled in the art according to actual requirements, and this is not specifically limited in the embodiment of the present application. A higher confidence indicates that the second notification message is more similar to the first notification message, with a greater likelihood of aggregation.
The aggregated message comprises the feature point information extracted from the first notification message and the second notification message, such as payment amount, message type, message source and the like. For example: the aggregated message may be "you consumed XXX elements in the XXX application.
Step 104: and replacing the first notification message with the aggregated message for display.
And under the condition that the first confidence coefficient between the second notification message and the first notification message exceeds the preset confidence coefficient, the first notification message and the second notification message are considered to belong to different notification messages of the same event, so that the first notification message and the second notification message need to be aggregated and then displayed.
When the first notification message and the second notification message are aggregated and then displayed, the second notification message may not be displayed, but the first notification message is removed in the notification bar and then one aggregated message is displayed. The second notification message can also be displayed in the notification bar, after the aggregation of the first notification message and the second notification message is completed, the first notification message and the second notification message are removed from the notification bar, and then one aggregated message is displayed.
In the embodiment of the present application, only the example of aggregating and displaying two notification messages for the same event is described, and in a specific implementation process, each second notification message received after a first notification message may be processed by using the message processing method provided in the embodiment of the present application.
According to the message processing method provided by the embodiment of the application, the first notification message is displayed under the condition that the first notification message corresponding to the first event is received; determining a first confidence level between the first notification message and the second notification message in case the second notification message is received; under the condition that the first confidence degree is larger than the preset confidence degree, performing content aggregation on the first communication message and the second communication message to obtain an aggregated message; the aggregation message is adopted to replace the first notification message for display, and a plurality of notification messages corresponding to the same event can be aggregated into one notification message for display, so that frequent user disturbance is avoided, and the use experience of the user can be improved.
In an alternative embodiment, the step of determining, in the case of receiving the second notification message, a first confidence level between the first notification message and the second notification message comprises the sub-steps of:
the first substep: under the condition of receiving the second notification message, extracting each first preset feature point contained in the first notification message;
wherein, the preset feature points comprise at least one of the following: payment amount, message type, and message source; according to the type of the first event, the first preset feature point contained in the first notification message is different. For example: in the case that the first event is a payment event, the first preset feature point may include a payment amount, a message type, and a message source; in the case that the first event is a conference setting event, the first preset feature point may include a message type and a message source.
And a second substep: extracting each second preset feature point contained in the second notification message;
and a third substep: and determining a first confidence degree between the first notification message and the second notification message according to the first characteristic points and the second characteristic points.
When the first confidence coefficient is calculated, each first feature point and each second feature point can be compared one by one, the matching number of the feature points is determined through comparison, and the first confidence coefficient is finally calculated after the matched feature points are weighted. The weight of each feature point can be flexibly set by those skilled in the art, and is not particularly limited in the embodiment of the present application.
The method optionally determines the first confidence degree between the first notification message and the second notification message based on the characteristic point comparison result, and the obtained result is more accurate.
Optionally, according to each first feature point and each second feature point, the manner of determining the first confidence degree between the first notification message and the second notification message is as follows:
firstly, searching a second characteristic point matched with the first characteristic point;
the two feature point matches are used for indicating that the similarity of the two feature points is higher than a preset value; the preset value can be set by a person skilled in the art according to actual requirements, and is not particularly limited in the embodiment of the present application.
Secondly, matching the matched first characteristic points with the second characteristic points;
and thirdly, weighting and summing the characteristic points forming the pair to obtain a first confidence coefficient between the first notification message and the second notification message.
The weights of different characteristic points can be preset in the system, and each matched characteristic point corresponds to a similarity. And calculating the product of the corresponding similarity and the weight of the feature point of each group of pairs according to the feature points of each group of pairs, and taking the sum of the obtained product results as a first confidence coefficient.
The method for determining the first confidence degree optionally based on the weighted summation of the feature points has the advantages of small calculation amount and high calculation result precision.
In an optional embodiment, after the step of replacing the first notification message with the aggregated message for displaying, the following steps may be further included:
receiving a first input of the aggregated message by a user; in response to the first input, a first notification message and a second notification message are displayed.
The first input may be a pressing operation, a clicking operation, a long-time pressing operation, or the like on the aggregated message or a preset control corresponding to the aggregated message. The first input is used for triggering the electronic device to expand and display the aggregated message. It should be noted that, in this embodiment, only two notification messages are expanded and displayed as an example, in a specific implementation process, if multiple notification messages are aggregated in an aggregated message, and after receiving a first input, each notification message included in the aggregated message is displayed.
In this alternative embodiment, the manner in which the notifications before aggregation are displayed after the first input is received facilitates the user to know the specific content of the notification messages.
In an optional embodiment, in the case that the first notification message corresponding to the first event is received, before the step of displaying the first notification message, the following step may be further included:
under the condition of receiving the notification message, extracting feature points of the notification message;
judging whether the notification message is a payment notification message or not based on the extracted feature points;
respectively determining second confidence degrees between the notification message and the displayed payment notification messages under the condition that the notification message is the payment notification message;
and under the condition that each second confidence coefficient is smaller than the preset confidence coefficient, determining that the notification message is a first notification message corresponding to the first event.
The optional mode of determining whether the received notification message is the first notification message can effectively judge the type of the received notification message.
In an optional embodiment, after the step of displaying by replacing the first notification message with the aggregated message, the method further includes the following steps:
the method comprises the following steps: determining a third confidence between the third notification message and the first and second notification messages in the event that the third notification message is received;
in an actual implementation process, the confidence level of the third notification message is not limited to be determined by combining the first notification message and the second notification message together, and the confidence level of the third notification message may also be determined by combining only the first notification message or the second notification message.
Step two: and updating the display content of the aggregated message under the condition that the third confidence coefficient is greater than the preset confidence coefficient.
And the updated aggregation message is obtained by aggregating the contents of the first notification message, the second notification message and the third notification message.
The optional mode can be used for carrying out aggregation display on the notification messages of the same event in real time for multiple times, and the information of the notification messages after the aggregation display is more comprehensive.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution main body may be a message processing apparatus, or a control module in the message processing apparatus for executing the message processing method. In the embodiment of the present application, a message processing module executes a message processing method as an example to describe the message processing apparatus provided in the embodiment of the present application.
Fig. 2 is a block diagram of a message processing apparatus for implementing an embodiment of the present application.
The message processing apparatus 200 according to the embodiment of the present application includes:
a first display module 201, configured to display a first notification message corresponding to a first event when the first notification message is received, where the first notification message is a first notification message of the received first event;
a first determining module 202, configured to determine, in a case that a second notification message is received, a first confidence degree between the first notification message and the second notification message;
the aggregation module 203 is configured to perform content aggregation on the first notification message and the second notification message to obtain an aggregated message when the first confidence is greater than a preset confidence;
a replacing module 204, configured to replace the first notification message with the aggregated message for display.
Optionally, the first determining module includes:
the first extraction submodule is configured to extract, when a second notification message is received, first preset feature points included in the first notification message, where the preset feature points include at least one of: payment amount, message type, and message source;
the second extraction submodule is used for extracting each second preset feature point contained in the second notification message;
and the confidence degree determining submodule is used for determining a first confidence degree between the first notification message and the second notification message according to each first characteristic point and each second characteristic point.
Optionally, the confidence level determination sub-module includes:
the searching unit is used for searching second feature points matched with the first feature points, wherein the matching of the two feature points is used for indicating that the similarity of the two feature points is higher than a preset value;
the matching unit is used for matching the matched first characteristic points with the second characteristic points;
and the weighted summation unit is used for summing the weighted characteristic points forming the pair to obtain a first confidence coefficient between the first notification message and the second notification message.
Optionally, the apparatus further comprises:
the receiving module is used for receiving a first input of the aggregation message from a user after the replacing module replaces the first notification message with the aggregation message for displaying;
a second display module to display the first notification message and the second notification message in response to the first input.
Optionally, the apparatus further comprises:
the extracting module is used for extracting the characteristic points of the notification message under the condition of receiving the notification message before the first display module displays the first notification message;
the judging module is used for judging whether the notification message is a payment notification message or not based on the extracted feature points;
a second determining module, configured to determine, when the notification message is a payment notification message, second confidence degrees between the notification message and the displayed payment notification messages respectively;
and the third determining module is used for determining the notification message as a first notification message corresponding to the first event under the condition that each second confidence coefficient is smaller than a preset confidence coefficient.
Optionally, the apparatus further comprises:
a fourth determining module, configured to determine, in a case that a third notification message is received, a third confidence level between the third notification message and the first notification message and the second notification message;
and an updating module, configured to update the display content of the aggregated message when the third confidence is greater than a preset confidence, where the updated aggregated message is obtained by aggregating the contents of the first notification message, the second notification message, and the third notification message.
The message processing device provided by the embodiment of the application displays the first notification message when receiving the first notification message corresponding to the first event; determining a first confidence level between the first notification message and the second notification message in case the second notification message is received; under the condition that the first confidence degree is larger than the preset confidence degree, performing content aggregation on the first communication message and the second communication message to obtain an aggregated message; the aggregation message is adopted to replace the first notification message for display, and a plurality of notification messages corresponding to the same event can be aggregated into one notification message for display, so that frequent user disturbance is avoided, and the use experience of the user can be improved.
The message processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The message processing apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the foregoing message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 406 is configured to display a first notification message corresponding to a first event when the first notification message is received, where the first notification message is a first notification message of the received first event;
a processor 410 for determining a first confidence between the first notification message and a second notification message if the second notification message is received; under the condition that the first confidence degree is greater than a preset confidence degree, performing content aggregation on the first notification message and the second notification message to obtain an aggregated message;
the display unit 406 is further configured to replace the first notification message with the aggregated message for displaying.
According to the electronic device provided by the embodiment of the application, the first notification message is displayed under the condition that the first notification message corresponding to the first event is received; determining a first confidence level between the first notification message and the second notification message in case the second notification message is received; under the condition that the first confidence degree is larger than the preset confidence degree, performing content aggregation on the first communication message and the second communication message to obtain an aggregated message; the aggregation message is adopted to replace the first notification message for display, and a plurality of notification messages corresponding to the same event can be aggregated into one notification message for display, so that frequent user disturbance is avoided, and the use experience of the user can be improved.
Optionally, when the processor 410 determines the first confidence degree between the first notification message and the second notification message in the case that the second notification message is received, it is specifically configured to: under the condition that a second notification message is received, extracting each first preset feature point contained in the first notification message, wherein the preset feature points comprise at least one of the following points: payment amount, message type, and message source; extracting each second preset feature point contained in the second notification message; and determining a first confidence degree between the first notification message and the second notification message according to each first characteristic point and each second characteristic point.
Optionally, when the processor 410 determines the first confidence degree between the first notification message and the second notification message according to each first feature point and each second feature point, the processor is specifically configured to:
searching second feature points matched with the first feature points, wherein the matching of the two feature points is used for indicating that the similarity of the two feature points is higher than a preset value; matching the matched first characteristic points with the second characteristic points; and weighting and summing all the characteristic points forming the pair to obtain a first confidence coefficient between the first notification message and the second notification message.
Optionally, the user input unit 407 is configured to receive a first input of the aggregated message by the user after the display unit 406 replaces the first notification message with the aggregated message for displaying;
a display unit 406, further configured to display the first notification message and the second notification message in response to the first input.
Optionally, the processor 410 is further configured to, before the display unit 406 displays the first notification message, perform feature point extraction on the notification message when the notification message is received; judging whether the notification message is a payment notification message or not based on the extracted feature points; respectively determining second confidence degrees between the notification message and displayed payment notification messages under the condition that the notification message is a payment notification message; and under the condition that each second confidence degree is smaller than a preset confidence degree, determining that the notification message is a first notification message corresponding to a first event.
Optionally, the processor 410 is further configured to determine, if a third notification message is received, a third confidence level between the third notification message and the first notification message and the second notification message; and updating the display content of the aggregated message under the condition that the third confidence coefficient is greater than a preset confidence coefficient, wherein the updated aggregated message is obtained by aggregating the contents of the first notification message, the second notification message and the third notification message.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of message processing, the method comprising:
displaying a first notification message corresponding to a first event under the condition that the first notification message is received, wherein the first notification message is a first notification message of the received first event;
determining a first confidence level between the first notification message and a second notification message if the second notification message is received;
under the condition that the first confidence degree is greater than a preset confidence degree, performing content aggregation on the first notification message and the second notification message to obtain an aggregated message;
and replacing the first notification message with the aggregated message for display.
2. The method of claim 1, wherein the step of determining a first confidence level between the first notification message and the second notification message if the second notification message is received comprises:
under the condition that a second notification message is received, extracting each first preset feature point contained in the first notification message, wherein the preset feature points comprise at least one of the following points: payment amount, message type, and message source;
extracting each second preset feature point contained in the second notification message;
and determining a first confidence degree between the first notification message and the second notification message according to each first characteristic point and each second characteristic point.
3. The method of claim 2, wherein the step of determining a first confidence level between the first notification message and the second notification message according to each of the first feature points and each of the second feature points comprises:
searching second feature points matched with the first feature points, wherein the matching of the two feature points is used for indicating that the similarity of the two feature points is higher than a preset value;
matching the matched first characteristic points with the second characteristic points;
and weighting and summing all the characteristic points forming the pair to obtain a first confidence coefficient between the first notification message and the second notification message.
4. The method of claim 1, wherein after the step of replacing the first notification message with the aggregated message for display, the method further comprises:
receiving a first input of the aggregation message from a user;
in response to the first input, displaying the first notification message and the second notification message.
5. The method of claim 1, wherein prior to the step of displaying the first notification message in the case that the first notification message corresponding to the first event is received, the method further comprises:
under the condition of receiving a notification message, extracting feature points of the notification message;
judging whether the notification message is a payment notification message or not based on the extracted feature points;
respectively determining second confidence degrees between the notification message and displayed payment notification messages under the condition that the notification message is a payment notification message;
and under the condition that each second confidence degree is smaller than a preset confidence degree, determining that the notification message is a first notification message corresponding to a first event.
6. The method of claim 1, further comprising:
determining, if a third notification message is received, a third confidence level between the third notification message and the first and second notification messages;
and updating the display content of the aggregated message under the condition that the third confidence coefficient is greater than a preset confidence coefficient, wherein the updated aggregated message is obtained by aggregating the contents of the first notification message, the second notification message and the third notification message.
7. A message processing apparatus, characterized in that the apparatus comprises:
the device comprises a first display module, a second display module and a display module, wherein the first display module is used for displaying a first notification message corresponding to a first event under the condition that the first notification message is received, and the first notification message is a first notification message of the received first event;
a first determining module, configured to determine, in a case that a second notification message is received, a first confidence degree between the first notification message and the second notification message;
the aggregation module is used for performing content aggregation on the first notification message and the second notification message to obtain an aggregated message under the condition that the first confidence degree is greater than a preset confidence degree;
and the replacing module is used for replacing the first notification message with the aggregation message for displaying.
8. The apparatus of claim 7, wherein the first determining module comprises:
the first extraction submodule is configured to extract, when a second notification message is received, first preset feature points included in the first notification message, where the preset feature points include at least one of: payment amount, message type, and message source;
the second extraction submodule is used for extracting each second preset feature point contained in the second notification message;
and the confidence degree determining submodule is used for determining a first confidence degree between the first notification message and the second notification message according to each first characteristic point and each second characteristic point.
9. The apparatus of claim 8, wherein the confidence determination submodule comprises:
the searching unit is used for searching second feature points matched with the first feature points, wherein the matching of the two feature points is used for indicating that the similarity of the two feature points is higher than a preset value;
the matching unit is used for matching the matched first characteristic points with the second characteristic points;
and the weighted summation unit is used for summing the weighted characteristic points forming the pair to obtain a first confidence coefficient between the first notification message and the second notification message.
10. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the message processing method of any of claims 1-6.
CN202011194304.8A 2020-10-30 2020-10-30 Message processing method and device and electronic equipment Pending CN112311659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011194304.8A CN112311659A (en) 2020-10-30 2020-10-30 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011194304.8A CN112311659A (en) 2020-10-30 2020-10-30 Message processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112311659A true CN112311659A (en) 2021-02-02

Family

ID=74334150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011194304.8A Pending CN112311659A (en) 2020-10-30 2020-10-30 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112311659A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562475A (en) * 2017-08-29 2018-01-09 广东欧珀移动通信有限公司 Message display method, device and terminal
CN108563520A (en) * 2018-04-18 2018-09-21 维沃移动通信有限公司 A kind of processing method and mobile terminal of notification bar message
CN109446323A (en) * 2018-10-16 2019-03-08 北京小米智能科技有限公司 Information aggregation method, device and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562475A (en) * 2017-08-29 2018-01-09 广东欧珀移动通信有限公司 Message display method, device and terminal
CN108563520A (en) * 2018-04-18 2018-09-21 维沃移动通信有限公司 A kind of processing method and mobile terminal of notification bar message
CN109446323A (en) * 2018-10-16 2019-03-08 北京小米智能科技有限公司 Information aggregation method, device and equipment

Similar Documents

Publication Publication Date Title
CN112286887A (en) File sharing method and device and electronic equipment
CN112099684A (en) Search display method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN112947807A (en) Display method and device and electronic equipment
CN113194200A (en) Message display method and device and electronic equipment
CN112181253A (en) Information display method and device and electronic equipment
CN112099714A (en) Screenshot method and device, electronic equipment and readable storage medium
CN112269504B (en) Information display method and device and electronic equipment
CN112702258B (en) Chat message sharing method and device and electronic equipment
CN112416212A (en) Program access method, device, electronic equipment and readable storage medium
CN112306320A (en) Page display method, device, equipment and medium
CN112286615A (en) Information display method and device of application program
CN113364915B (en) Information display method and device and electronic equipment
CN112311659A (en) Message processing method and device and electronic equipment
CN111694498B (en) Interface display method and device and electronic equipment
CN114416264A (en) Message display method and device
CN113282830A (en) Display method and display device
CN113868397A (en) Personal information display method, device, equipment and storage medium
CN114090883A (en) Service account processing method and device, electronic equipment and storage medium
CN113239212A (en) Information processing method and device and electronic equipment
CN112738336A (en) Message processing method and device
CN113515701A (en) Information recommendation method and device
CN112418942A (en) Advertisement display method and device and electronic equipment
CN112765946A (en) Chart display method and device and electronic equipment
CN112286613A (en) Interface display method and interface display device

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210202

WD01 Invention patent application deemed withdrawn after publication