CN113810262B - Message reminding method and device, electronic equipment and readable storage medium - Google Patents

Message reminding method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113810262B
CN113810262B CN202010531034.9A CN202010531034A CN113810262B CN 113810262 B CN113810262 B CN 113810262B CN 202010531034 A CN202010531034 A CN 202010531034A CN 113810262 B CN113810262 B CN 113810262B
Authority
CN
China
Prior art keywords
message
content
information
message content
matching
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
CN202010531034.9A
Other languages
Chinese (zh)
Other versions
CN113810262A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010531034.9A priority Critical patent/CN113810262B/en
Publication of CN113810262A publication Critical patent/CN113810262A/en
Application granted granted Critical
Publication of CN113810262B publication Critical patent/CN113810262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Landscapes

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

Abstract

The application relates to the technical field of computers and discloses a message reminding method, a device, electronic equipment and a readable storage medium, wherein the message reminding method comprises the following steps: acquiring an instant communication message and acquiring the message content of the instant communication message; matching the preset characteristic information with the message content to obtain a matching result corresponding to the message content; wherein the characteristic information is associated with a target message to be prompted; based on the matching result, a hint is sent before the occurrence of the target message. The message reminding method provided by the application can reserve the response time for the user so that the information can be processed in time when the target message appears.

Description

Message reminding method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a message reminding method, a device, an electronic apparatus, and a readable storage medium.
Background
With the development of internet and computer technology, mobile terminals such as mobile phones and tablet computers are widely used, and when the terminal is in a standby state, a received message is prompted in a notification bar of the terminal.
For some special target messages, the user is required to process immediately, for example, when a red packet is sent out in a group, the red packet is not robbed if the red packet cannot be processed in time. Typically, when the target message appears, the prompt message will appear, and the user may not be able to process the target message in time, so that the instantaneity of processing the target message is poor.
Disclosure of Invention
The present application aims to solve at least one of the above technical drawbacks, and specifically proposes the following technical solutions:
in a first aspect, a message reminding method is provided, including:
acquiring the message content of an instant communication message;
matching the preset characteristic information with the message content to obtain a matching result corresponding to the message content; wherein the characteristic information is associated with a target message to be prompted;
based on the matching result, a hint is sent before the occurrence of the target message.
In an optional embodiment of the first aspect, before acquiring the instant communication message, the method further includes:
detecting an instant communication message of a user terminal; the instant communication message includes at least one of an application message and a system notification bar message.
In an optional embodiment of the first aspect, detecting the instant communication message of the user terminal is triggered based on at least one of the following conditions:
Detecting that the current time is in a preset detection time period or a preset detection period;
and receiving a detection instruction of a user.
In an optional embodiment of the first aspect, before obtaining the message content of the instant communication message, the method further includes:
determining an application corresponding to the issued instant communication message;
acquiring the message content of the instant communication message, including:
if the determined application is associated with the target message, the message content of the instant communication message is acquired.
In an optional embodiment of the first aspect, before matching the preset feature information with the message content, the method further includes:
determining a message format corresponding to the message content;
matching the preset characteristic information with the message content, including:
if the message format conforms to the specific format associated with the target message, the preset characteristic information is matched with the message content.
In an alternative embodiment of the first aspect, matching the preset feature information with the message content includes:
determining a specific character associated with the valid message content in the message content;
extracting valid message content from the message content based on the specific character;
and matching the characteristic information with the effective message content.
In an alternative embodiment of the first aspect, based on the matching result, the sending of the hint information before the occurrence of the target message includes:
and if the matching result is that the characteristic information is matched with the message content, sending prompt information before the target message appears.
In an alternative embodiment of the first aspect, based on the matching result, the sending of the hint information before the occurrence of the target message includes:
and if the number of the matching results of the characteristic information and the message content is larger than the preset number in the matching results respectively corresponding to the message contents belonging to the same group in the same application within the preset time length, sending prompt information before the occurrence of the target message.
In an optional embodiment of the first aspect, before matching the preset feature information with the message content, the method further includes:
acquiring rule information for a target message from a server; the rule information includes feature information, a preset duration, and a preset number.
In an optional embodiment of the first aspect, after sending the prompt information, the method further includes:
the message content is sent to the server to cause the server to update the feature information based on the message content.
In an optional embodiment of the first aspect, the form of sending the prompt information includes at least one of:
A bell form; vibration form; a wake-up screen form; a pop-up floating window form; an instant messaging message format is published.
In an optional embodiment of the first aspect, the message alert method further comprises:
and if the response operation of the user for the prompt information is received, jumping to an application interface corresponding to the message content based on the response operation.
In a second aspect, a message alert device is provided, including:
the acquisition module is used for acquiring the message content of the instant communication message;
the matching module is used for matching the preset characteristic information with the message content to obtain a matching result corresponding to the message content; wherein the characteristic information is associated with a target message to be prompted;
and the prompt module is used for sending prompt information before the occurrence of the target message based on the matching result.
In an alternative embodiment of the second aspect, the message alert device further comprises a detection module for:
detecting an instant communication message of a user terminal; the instant communication message includes at least one of an application message and a system notification bar message.
In an optional embodiment of the second aspect, the detection module detects that the instant communication message of the user terminal is triggered based on at least one of the following conditions:
Detecting that the current time is in a preset detection time period or a preset detection period;
and receiving a detection instruction of a user.
In an alternative embodiment of the second aspect, the message alert device further includes a first determining module configured to:
determining an application corresponding to the issued instant communication message;
the first determining module is specifically configured to, when acquiring the message content of the instant communication message:
if the determined application is associated with the target message, the message content of the instant communication message is acquired.
In an alternative embodiment of the second aspect, the message alert device further includes a second alert module for:
determining a message format corresponding to the message content;
matching the preset characteristic information with the message content, including:
if the message format conforms to the specific format associated with the target message, the preset characteristic information is matched with the message content.
In an optional embodiment of the second aspect, the matching module is specifically configured to, when matching the preset feature information with the message content:
determining a specific character associated with the valid message content in the message content;
extracting valid message content from the message content based on the specific character;
And matching the characteristic information with the effective message content.
In an alternative embodiment of the second aspect, the prompting module is specifically configured to, when sending the prompting message before the occurrence of the target message based on the matching result:
and if the matching result is that the characteristic information is matched with the message content, sending prompt information before the target message appears.
In an alternative embodiment of the second aspect, the prompting module is specifically configured to, when sending the prompting message before the occurrence of the target message based on the matching result:
and if the number of the matching results of the characteristic information and the message content is larger than the preset number in the matching results respectively corresponding to the message contents belonging to the same group in the same application within the preset time length, sending prompt information before the occurrence of the target message.
In an alternative embodiment of the second aspect, the message alert device further includes a rule acquisition module for:
acquiring rule information for a target message from a server; the rule information includes feature information, a preset duration, and a preset number.
In an alternative embodiment of the second aspect, the message alert device further comprises an update module for:
the message content is sent to the server to cause the server to update the feature information based on the message content.
In an alternative embodiment of the second aspect, the form of sending the alert information includes at least one of:
a bell form; vibration form; a wake-up screen form; a pop-up floating window form; an instant messaging message format is published.
In an alternative embodiment of the second aspect, the message alert device further includes a skip module:
and if the response operation of the user for the prompt information is received, jumping to an application interface corresponding to the message content based on the response operation.
In a third aspect, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the message alert method according to the first aspect of the present application when the program is executed by the processor.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the message alert method of the first aspect of the present application.
The beneficial effects that this application provided technical scheme brought are:
by acquiring the instant messaging message, matching the message content of the instant messaging message with the characteristic information associated with the target message, judging whether the target message is about to appear or not based on a matching result, sending a prompt before the target message appears, and reserving reaction time for a user so as to process the information in time when the target message appears; in addition, the corresponding application program can also not respond to the opening or refreshing operation of the user for finding the target message in time frequently, so that the load of the user terminal can be reduced, and resources can be saved.
Further, whether the instant communication message belongs to the application program which possibly sends the target message is determined, if so, the message content of the instant communication message is obtained, the instant communication message which is not related to the target message can be removed, and the efficiency of identifying the message content to send the prompt information is improved.
Further, whether the message format is associated with the target message is determined, if the message format accords with the specific format associated with the target message, the preset characteristic information is matched with the message content, and instant communication messages which are not related with the target message can be eliminated, so that the efficiency of identifying the message content to send the prompt information is improved.
Furthermore, by extracting the effective message content in the message content and then matching the effective message content with the characteristic information, irrelevant message content can be filtered out first, and the matching efficiency is improved, so that the response target message can be prepared more quickly.
Furthermore, the server can continuously collect precursor information of target messages of a plurality of user terminals and continuously update the characteristic information, so that the accuracy of judging whether to send prompt information according to the characteristic information is improved. Accordingly, as the feature information is updated, when the application program for carrying out message reminding starts to run each time, the corresponding feature information can be acquired from the server, so that the accuracy of sending prompt information after running is improved.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is an application environment diagram of a message reminding method provided in an embodiment of the present application;
fig. 2 is a flow chart of a message reminding method according to an embodiment of the present application;
FIG. 3 is a schematic illustration of a notification bar interface provided in one example of the present application;
FIG. 4 is a schematic illustration of a notification bar interface provided in one example of the present application;
FIG. 5 is a schematic diagram of a reminder scheme provided in one example of the present application;
FIG. 6 is a schematic diagram of a reminder scheme provided in one example of the present application;
FIG. 7 is a schematic diagram of a reminder scheme provided in one example of the present application;
FIG. 8 is a schematic diagram of a reminder scheme provided in one example of the present application;
FIG. 9 is a schematic diagram of a reminder scheme provided in one example of the present application;
FIG. 10 is a schematic illustration of an application interface provided in one example of the present application;
FIG. 11 is a flow chart of a message alert method in an example provided herein;
FIG. 12 is a flow chart of a message alert method in an example provided herein;
fig. 13 is a schematic structural diagram of a message reminding device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an electronic device with message reminding according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of illustrating the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The message reminding method, device, electronic equipment and computer readable storage medium provided by the application aim to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
The message reminding method provided by the application can be applied to an application environment shown in fig. 1. Specifically, the message reminding method provided by the Application can be applied to an Application (APP) or a plug-in of a user terminal, taking the Application applied to the user terminal as an example, the Application 101 obtains feature information associated with a target message from the server 200; the application 101 detects an instant communication message of the user terminal 100; if the application 101 detects the instant communication message, acquiring the message content of the instant communication message; matching the preset characteristic information with the message content to obtain a matching result corresponding to the message content; based on the matching result, the application 101 sends a hint message before the occurrence of the target message.
As will be appreciated by those skilled in the art, a "terminal" as used herein may be a cell phone, tablet computer, PDA (Personal Digital Assistant ), MID (Mobile Internet Device, mobile internet device), etc.; the "server" may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
In an embodiment of the present application, as shown in fig. 2, a message reminding method is provided, and an application program in fig. 1 to which the method is applied is illustrated as an example, which may include the following steps:
step S201, obtaining instant communication message and obtaining message content of the instant communication message.
The instant communication message can be at least one of characters, expressions or voices, and if the instant communication message comprises voices, the voices can be identified to obtain corresponding character information; if the instant messaging message comprises the expression, the text information corresponding to the expression can be obtained.
Specifically, the instant messaging messages for all applications in the system notification bar of the user terminal or the instant messaging messages for all applications of the user terminal may be obtained, or the instant messaging messages for at least one specific application may be obtained.
Step S202, matching the preset characteristic information with the message content to obtain a matching result corresponding to the message content; wherein the characteristic information is associated with a target message to be prompted.
The target message may be a message of special interest to the user, a message needing immediate reply or browsing, for example, a red packet message, a conference message, etc.; the target message may be a text message, a multimedia message, or the like, or may be a message with interactive properties such as a red packet.
The feature information is associated with the target message to be prompted, that is, if the message content is matched with the feature information, that is, the message content may include precursor information of the target message, or is associated with the precursor information, the message to be prompted will appear in a short time with high probability.
For example, if the subject message is a red envelope message, the precursor information may include information prior to the occurrence of the usual red envelope message such as "ready to rob a red envelope," "mayonnaise XX," "new year happy," and so forth.
In particular, the feature information may be represented in a particular form, such as in the form of a regular expression.
The regular expression is a logic formula for operating the character string, namely, a rule character string is formed by a plurality of specific characters defined in advance and the combination of the specific characters, and the rule character string is used for expressing a filtering logic for the character string, namely, whether the content of the message has the content related to precursor information of the information to be prompted or not can be judged by using the characteristic information.
Specifically, the feature message may be pre-stored in the user terminal, may be set according to an input of the user, or may be acquired from the server.
In the implementation process, the matching result can be that the message content and the characteristic information are matched or not matched aiming at the message content of one instant messaging message.
Step S203, based on the matching result, a prompt message is sent before the occurrence of the target message.
Specifically, the prompt message can be sent before the occurrence of the target message according to the matching result of the message content and the characteristic information of the currently-occurring instant messaging message.
Taking the target message as a red packet message as an example, if one instant communication message currently appears comprises "ready to rob red packets", prompt information can be sent.
In other embodiments, a plurality of matching results can be obtained according to the message content and the feature information of the plurality of instant messaging messages, and the prompt message is sent before the target message appears.
Still taking the example of the target message as the red packet message, when a plurality of instant messaging messages including "May you be happy XX" continuously appear, the prompt message is sent, and the specific basis for sending the prompt message will be described in detail below.
Specifically, if the target message appears, no prompt message is sent any more, so that redundant signaling interaction process can be avoided.
According to the message reminding method provided by the embodiment, the instant communication message is obtained, the message content of the instant communication message is matched with the characteristic information associated with the target message, whether the target message is about to appear is judged based on the matching result, a reminder can be sent before the target message appears, and the response time can be reserved for a user, so that the information can be processed in time when the target message appears; in addition, the corresponding application program can also not respond to the opening or refreshing operation of the user for finding the target message in time frequently, so that the load of the user terminal can be reduced, and resources can be saved.
In one possible implementation manner provided in the embodiment of the present application, before the instant communication message is obtained in step S201, the method may further include:
detecting an instant communication message of a user terminal; the instant communication message includes at least one of an application message and a system notification bar message.
Specifically, an instant communication message of an application installed on a user terminal and having pop-up message authority in a system notification bar can be detected; the instant messaging messages of all applications on the user terminal can be detected, and the instant messaging messages of the social application can be detected only.
The instant messaging messages to the user terminal in the above embodiments may be generally used in applications of the user terminal, such as mobile phone households.
The embodiment of the present application provides a possible implementation manner, and before detecting the instant communication message of the user terminal, the method may further include:
acquiring an authorization indication of detection permission for an instant communication message;
detecting the instant communication message of the user terminal may include:
an instant communication message of the user terminal is detected based on the authorization indication.
Specifically, the instant communication message can be detected through a service of detecting message refreshing by a user of the system platform.
Taking the Android system as an example, the Android system platform Notification Listener Service (the capability of notifying the use right) can be used. Notification Listener Service is an android service for detecting refreshing of a notification bar message, an application program for carrying out message reminding can register the use of the capability with a system, and after a user grants permission to a system setting page, the application program for carrying out message reminding can acquire the content of the notification bar when the notification bar of the system changes (a notification bar is added and a notification bar is modified).
The embodiment of the application provides a possible implementation manner, and the detection of the instant communication message of the user terminal is triggered based on at least one of the following conditions:
(1) Detecting that the current time is in a preset detection time period or a preset detection period;
(2) And receiving a detection instruction of a user.
The preset detection time period may be set by a user, for example, may be during a corporate annual meeting, or may be set by an APP or a plug-in a user terminal for message reminding, or may be acquired from a server, for example, may be set during an annual passing period.
Specifically, the user may also set a detection period, and the APP or plug-in for message alert detects the instant communication message of the user terminal based on the detection period.
In one possible implementation manner provided in the embodiment of the present application, before obtaining the message content of the instant communication message in step S201, the method may further include:
an application corresponding to the published instant communication message is determined.
Specifically, when detecting instant communication messages, the packet name corresponding to each instant communication message may be obtained, and based on the packet name corresponding to each instant communication message, the application for sending the instant communication message is determined.
The package name is a unique identification of an application program on the user terminal, and the package names are the same on different user terminals for the same application program, for example, the package name of WeChat is com.tent.mm, and the package name of QQ is com.tent.mobileqq.
The obtaining the message content of the instant communication message in step S201 may include:
if the determined application is associated with the target message, the message content of the instant communication message is acquired.
The preset application type is an application type associated with the target message, that is, an application program corresponding to the preset application type may send the target message.
Specifically, whether the instant communication message belongs to the application program which possibly sends the target message is determined, if so, the message content of the instant communication message is obtained, the instant communication message which is not related to the target message can be removed, and the efficiency of identifying the message content to send the prompt information is improved.
In the embodiment of the present application, a possible implementation manner is provided, and before the matching of the preset feature information with the message content in step S202, the method may further include:
and determining a message format corresponding to the message content.
The message format may include a group format and a personal format, and may be determined based on the arrangement of the individual characters in the message content, whether a specific character is included or not, or a title in the message content.
Taking QQ as an example as shown in fig. 3, if the message is from a group chat, i.e. the message format is in conformity with the group format, 301 in fig. 3 is an instant communication message in the group format, the header of the message content is a group name, and the beginning of the message content includes a sending user identifier and a specific character, i.e. a colon ": the message content includes" user a: test ", and if the message content meets the above conditions, the instant communication message is judged to be from the group chat, where the user identifier may be the name displayed by the user in the group; in fig. 3, 302 is an instant messaging message in a personal format, the header in the message content is a user identifier, and the message content includes "test", that is, no user identifier or specific character is included except the header, at which time it may be determined that the instant messaging message is from a personal message.
As shown in fig. 4, taking a WeChat as an example, if the instant messaging message is in a group format, such as 401 in fig. 4, the header field in the message content is a group name; if the instant messaging message is in a personal format, as shown in 402a in fig. 4, when the number of message pieces is 1, the message content does not include the user identifier; if the number of messages is greater than 1, as shown at 402b, the message content also includes a user identification.
The step S202 of matching the preset feature information with the message content may include:
if the message format conforms to the specific format associated with the target message, the preset characteristic information is matched with the message content.
The specific format may be a group format or a personal format, and may be different according to the setting of the target message, where the specific format is associated with the format to be prompted.
For example, if the target message is a red envelope message, if the message format is a personal format, then it is possible that the target message in the personal format does not require immediate response by the user, e.g., a personal red envelope, which would not be received by other users due to private chat even if the user did not respond immediately.
At this time, if the message format is a group format, the target message needs to respond in time, i.e. the group format is associated with the target message.
In the above embodiment, it is determined whether the message format is associated with the target message, and if the message format accords with the specific format associated with the target message, the preset feature information is matched with the message content, or the instant communication message not associated with the target message can be removed, so that the efficiency of identifying the message content to send the prompt message is improved.
In the embodiment of the present application, a possible implementation manner is provided, and the matching of the preset feature information with the message content in step S203 may include:
(1) Determining a specific character associated with the valid message content in the message content;
(2) Extracting valid message content from the message content based on the specific character;
(3) And matching the characteristic information with the effective message content.
Wherein the specific character may be a specific symbol of a prefix and a suffix of the effective message content; the active message content may include content actually transmitted by the user, user identification, etc.
Specifically, the content located after the specific character in the message content may be extracted to obtain the effective message content, where the specific character may include "bar", ": "etc. fix the character appearing before the content transmitted by the other user terminal; taking the QQ message as an example, the "(x new messages)" at the end of the message header field in the QQ can be removed; taking the WeChat message as an example, the "[ x ]" at the beginning of the WeChat content field can be removed; the message content after the 'is' from the message content field is taken as effective message content; the message content before the ':' is used as a user identification and the like.
In the above embodiment, by extracting the effective message content from the message content and then matching the effective message content with the feature information, the irrelevant message content can be filtered out first, and the matching efficiency is improved, so that the response target message can be prepared more quickly.
The foregoing embodiment describes a process of preprocessing the content of the message, and a process of determining whether to perform a reminder based on the matching result will be described below with reference to the embodiment and the accompanying drawings.
In one embodiment, based on the matching result in step S204, sending the prompt message before the occurrence of the target message may include:
and if the matching result is that the characteristic information is matched with the message content, sending prompt information before the target message appears.
In this embodiment, if the message content and the feature information in the currently acquired instant communication message are matched, the prompt message is directly sent, and no matching result corresponding to other instant communication messages sent before or after the instant communication message is required to be acquired.
For example, if the message content includes "ready to rob red packets", the prompt message may be sent directly.
In another embodiment, based on the matching result in step S204, sending the prompt message before the occurrence of the target message may include:
And if the number of the matching results of the characteristic information and the message content is larger than the preset number in the matching results respectively corresponding to the message contents belonging to the same group in the same application within the preset time length, sending prompt information before the occurrence of the target message.
In this embodiment, each time a new instant communication message is issued in the notification bar, the application program for performing message reminding matches the message content and the feature information of the instant communication message to obtain a matching result corresponding to each instant communication message, and if a plurality of matching results obtained in a preset market meet a corresponding condition, for example, the number of matched matching results is greater than a preset number, a prompt message may be sent.
Specifically, the sending the prompt information based on the matching result may include the following steps:
(1) If the matching result is that the characteristic information is matched with the message content, storing the matching record of the message content into record data; the matching record comprises a user identifier for sending the message content and the release time of the message content;
(2) If detecting that the time length between the release time corresponding to any matching record and the current time is longer than the preset time length in a plurality of matching records of the record data, deleting the matching record from the record data;
(3) And if the number of the matched records reserved in the record data is detected to be greater than or equal to the preset number, sending prompt information.
Specifically, feature information can be preset, the feature information is matched with the content of each message, and the release time and the corresponding user identification are recorded as long as the content of the message is matched with the feature information; if the message content and the characteristic information are not matched, no record is carried out.
In the implementation process, the record data comprises matching records corresponding to a plurality of instant messaging messages, namely the release time and the user identification of each instant messaging message.
For example, the recorded data may be as shown in table 1 below:
table 1: recording data
User identification Issuing a timestamp
User A 1579362258
User B 1579364248
User C 1579365251
User D 1579367248
Specifically, whenever a matching record is stored, it is checked whether the release time of the matching record in the record data has expired, i.e. whether the release time from the current time exceeds a preset time length; if the matching record has expired, deleting the record; the recorded data stores the result that the message content and the characteristic information within the preset time length are matched.
If the number of the stored matching records is greater than the preset number, prompt information can be sent.
For example, if the characteristic information is "happy and happy", the prompt information is sent when the number of times of the message content containing the "happy and happy" is larger than the preset number.
In another implementation process, before storing a message record, the user identifier corresponding to the message record may be determined first, and whether there is a matching record corresponding to the same user identifier in the record data is determined, if so, the release time of the matching result corresponding to the current message record is covered with the release time of the matching record corresponding to the same user identifier in the record data.
In the above embodiment, if the feature message appears once, it can be determined that the corresponding message content includes the precursor information of the target message, then the prompt message is only required to be sent according to the once matching result; if the number of times and the time of the feature message are both required to meet a certain condition to determine whether the corresponding message content contains precursor information of the target message, the prompt message is required to be sent according to the matching result in the preset duration.
In the embodiment of the present application, a possible implementation manner is provided, and before the matching of the preset feature information with the message content in step S203, the method may further include:
Acquiring rule information for a target message from a server; the rule information includes feature information, a preset duration, and a preset number.
Specifically, the user may preset the feature information, the preset duration, and the preset number.
Or the server determines the corresponding characteristic information according to the information to be prompted and precursor information of the information to be prompted sent by the plurality of user terminals.
For example, the feature information, the preset duration, and the preset number may be set in the form of "xxxxxxxxx 5" where "xxxxxxxxx" is a regular expression corresponding to the feature information, "5" is the preset number, "60" may represent the preset duration, for example, 60 minutes, "xxxxxxxxxxxx 5" may represent: and if the message content meeting the requirement of Xxxxxx appears 5 times within 60 minutes, sending a prompt message.
Taking the target message as a red packet message as an example, the server can collect precursor information of the red packet message in the group message of a plurality of user terminals, namely what message content is sent by each user before the red packet is sent in the group message, and determine the characteristic information corresponding to the red packet message according to the precursor information of the red packet message collected by the plurality of user terminals.
In this embodiment of the present application, after the sending of the prompt information in step S204, a possible implementation manner is provided, which may further include:
the message content is sent to the server to cause the server to update the feature information based on the message content.
Specifically, the server may continuously collect precursor information of the target messages of the plurality of user terminals, and continuously update the feature information, thereby improving accuracy of judging whether to send the prompt information according to the feature information. Accordingly, as the feature information is updated, when the application program for carrying out message reminding starts to run each time, the corresponding feature information can be acquired from the server, so that the accuracy of sending prompt information after running is improved.
In the embodiment of the present application, a possible implementation manner is provided, and based on the matching result in step S203, sending the prompt information before the occurrence of the target message may include:
(1) Determining a probability value of occurrence of the scaled message based on the matching result;
(2) Generating prompt information based on the probability value;
(3) The hint information is sent before the occurrence of the target message.
In one implementation, generating the hint information based on the probability value may include: and if the probability value is larger than the preset threshold value, generating prompt information.
Specifically, a preset threshold may be preset, and if the probability value is greater than the preset threshold, it is indicated that the target message may appear, and at this time, a prompt message is generated.
In another implementation, generating the hint information based on the probability value may include:
a. if the probability value is larger than a preset threshold value, determining a numerical interval corresponding to the probability value;
b. determining the information content of the prompt information based on the determined numerical interval;
c. based on the determined information content, a hint information is generated.
Specifically, if the probability value is greater than the preset threshold value, the information content of the prompt information may be set according to the probability value.
In the implementation process, a plurality of numerical intervals can be preset, each numerical interval is provided with corresponding prompt content, and the larger the numerical value corresponding to the numerical interval is, the more specific and urgent the information content of the corresponding prompt information can be correspondingly set. As shown in fig. 5, if the target message is a red packet message, the numerical interval is 60% -70%, the corresponding prompting content may be "there is a probability that a red packet will appear", and as shown in fig. 6, if the numerical interval is 70% -80%, the corresponding prompting content may be set as "there is a high probability that a red packet will appear", and so on.
In yet another implementation, generating the hint information based on the probability value may include:
d. if the probability value is larger than a preset threshold value, determining a numerical interval corresponding to the probability value;
e. determining a prompting form of prompting information based on the determined numerical interval;
f. and generating prompt information according to the prompt form.
Specifically, the size of the probability value not only can determine the information content of the prompt message, but also can influence the prompt form of the prompt message.
In the implementation process, a plurality of numerical intervals can be preset, each numerical interval is provided with a corresponding prompt form, and the larger the numerical value corresponding to the numerical interval is, the more specific and urgent the prompt form of the corresponding prompt information can be correspondingly set.
The embodiment of the application provides a possible implementation manner, and the form of sending the prompt information comprises at least one of the following:
a bell form; vibration form; a wake-up screen form; a pop-up floating window form; an instant messaging message format is published.
In some implementations, the alert form may be determined based on a probability value of the occurrence of the targeted message, while the alert content may also be determined based on the probability value of the occurrence of the targeted message.
As shown in fig. 5, if the probability value of occurrence of the message is greater than the preset threshold value, but is relatively not too high, the notification may be performed only in the form of a notification message.
As shown in fig. 7, if the probability value of occurrence of the message is greater than the preset threshold value and is relatively high, the vibration and ringing prompt can be performed while the prompt is performed in the form of the notification message, and the prompt content is also set to "XX has a high probability of occurrence".
In some embodiments, the form of sending the prompt information may be set by the user, or may be set correspondingly according to the current state of the user terminal.
Taking a user terminal as a mobile phone as an example, if the mobile phone is in a screen-off state, a user can be reminded in a mode of waking up a screen. If the mobile phone is in a state of non-mute mode, the prompting message can be sent in the form of ringing and/or vibration.
In some embodiments, the corresponding settings may also be based on the permissions of the application for which the message alert is made.
For example, the user terminal is a mobile phone, the target message is a red packet message, as shown in fig. 8, if the application program for reminding the message has a floating window authority, the floating window form 801 can be used for sending a prompt message while ringing and vibrating, and an icon or a text associated with the target message, such as a red packet image, is displayed in the floating window.
As shown in fig. 9, if the application program for reminding the message has the notification bar authority, the notification bar may be used to send the prompt message in the form of ringing and vibrating, and the instant messaging message in the notification bar may display "X group chat has probability of going red, clicking to enter.
The embodiment of the application provides a possible implementation manner, and the message reminding method can further include:
and if the response operation of the user for the prompt information is received, jumping to an application interface corresponding to the message content based on the response operation.
As shown in fig. 10, after sending the prompt message, if a response operation of the user for the prompt message is received, the user directly jumps to the corresponding application interface, i.e. the group chat or private chat interface of the application program that issues the instant communication message.
In the above embodiment, if the response operation of the user to the prompt message is received, the user directly jumps to the corresponding application interface, so that the user can be prevented from opening the corresponding application and the corresponding interface in the application after receiving the prompt message, and the preparation time of the user before the occurrence of the target message is increased, thereby enabling the user to respond to the target message more quickly when the target message occurs.
In order to better understand the message alert method described above, as shown in fig. 11, an example of the message alert method of the present invention is described in detail below:
in one example, taking a target message as a conference message as an example, the message reminding method provided by the application may include the following steps:
step S1100, a server sets feature information, preset duration and preset quantity associated with a conference message;
step 1101, the server sends the feature information, the preset duration and the preset number to an application program for message reminding;
step S1102, obtaining an authorization indication of the detection authority for the instant communication message;
step S1103, detecting an instant communication message of the user terminal based on the authorization indication;
step S1104, determining an application corresponding to the issued instant communication message; if the determined application is associated with a conference message, executing step S1105;
step S1105, obtaining the message content of the instant communication message;
step S1106, determining a message format corresponding to the message content; if the message format conforms to the specific format associated with the conference message, step S1107 is executed;
step S1107 of determining a specific character associated with the effective message content in the message content;
Step S1108, extracting effective message content from the message content based on the specific character;
step S1109, matching the characteristic information with the effective message content;
step S1110, if the number of the matching results of the characteristic information and the message content matched in the matching results corresponding to the plurality of message contents belonging to the same group in the same application within the preset time period is greater than the preset number, sending prompt information;
step S1111, the message content is sent to a server;
in step S1112, the server updates the feature information based on the message content.
In order to better understand the message alert method described above, as shown in fig. 12, an example of the message alert method of the present invention is described in detail below:
in one example, taking a target message as a red packet message as an example, the message reminding method provided by the application may include the following steps:
s1, setting characteristic information, preset duration and preset quantity of application programs for message reminding; setting as ' Xxxxxxxx 5 ' 60 ', namely when a certain group chat appears to meet the requirement of a regular expression ' Xxxxxx ' for 5 times within 60 minutes, meeting the requirement of sending prompt information;
s2, setting a detection object of an application program for message reminding: detecting instant messaging messages corresponding to QQ and WeChat in a system notification bar;
S3, obtaining the message content of the instant communication message when the instant communication message issued by the system notification bar is detected;
s4, determining a message format corresponding to the message content, namely judging whether the message content corresponds to a group message or not; if yes, executing step S5; if not, executing the step S3;
s5, judging whether preset characteristic information is matched with the message content, namely, matching 'Xxxxxxxxx' with the message content; if yes, executing step S6; if not, executing the step S3;
s6, if the Xxxxxxxx is matched with the message content, writing a user identifier corresponding to the message content and the release time into the record data;
s7, clearly recording the expired matching record in the data, namely, the time length between the release time and the current time exceeds 60 minutes;
s8, judging whether the number of the matched records in the record data is larger than a preset number, if so, executing a step S9; if not, executing the step S3;
s9, sending prompt information.
According to the message reminding method, the instant communication message is obtained, the message content of the instant communication message is matched with the characteristic information associated with the target message, whether the target message is about to appear or not is judged based on the matching result, a reminding can be sent before the target message appears, and the response time can be reserved for a user, so that the information can be processed in time when the target message appears; in addition, the corresponding application program can also not respond to the opening or refreshing operation of the user for finding the target message in time frequently, so that the load of the user terminal can be reduced, and resources can be saved.
Further, whether the instant communication message belongs to the application program which possibly sends the target message is determined, if so, the message content of the instant communication message is obtained, the instant communication message which is not related to the target message can be removed, and the efficiency of identifying the message content to send the prompt information is improved.
Further, whether the message format is associated with the target message is determined, if the message format accords with the specific format associated with the target message, the preset characteristic information is matched with the message content, and instant communication messages which are not related with the target message can be eliminated, so that the efficiency of identifying the message content to send the prompt information is improved.
Furthermore, by extracting the effective message content in the message content and then matching the effective message content with the characteristic information, irrelevant message content can be filtered out first, and the matching efficiency is improved, so that the response target message can be prepared more quickly.
Furthermore, the server can continuously collect precursor information of target messages of a plurality of user terminals and continuously update the characteristic information, so that the accuracy of judging whether to send prompt information according to the characteristic information is improved. Accordingly, as the feature information is updated, when the application program for carrying out message reminding starts to run each time, the corresponding feature information can be acquired from the server, so that the accuracy of sending prompt information after running is improved.
In one possible implementation manner provided in the embodiments of the present application, as shown in fig. 13, a message reminding device 130 is provided, where the message reminding device 130 may include: a detection module 1301, an acquisition module 1302, a matching module 1303, and a prompting module 1304, wherein,
an obtaining module 1302, configured to obtain a message content of an instant communication message;
the matching module 1303 is configured to match the preset feature information with the message content to obtain a matching result corresponding to the message content; wherein the characteristic information is associated with a target message to be prompted;
a prompt module 1304 for sending a prompt before the subject message appears based on the matching result.
In one possible implementation manner provided in the embodiment of the present application, the message reminding device 130 further includes a detection module, configured to:
detecting an instant communication message of a user terminal; the instant communication message includes at least one of an application message and a system notification bar message.
The embodiment of the application provides a possible implementation manner, and the detection module detects that the instant communication message of the user terminal is triggered based on at least one of the following conditions:
detecting that the current time is in a preset detection time period or a preset detection period;
And receiving a detection instruction of a user.
In one possible implementation manner provided in the embodiment of the present application, the message reminding device 130 further includes a first determining module, configured to:
determining an application corresponding to the issued instant communication message;
the first determining module is specifically configured to, when acquiring the message content of the instant communication message:
if the determined application is associated with the target message, the message content of the instant communication message is acquired.
In this embodiment, a possible implementation manner is provided, where the message reminding device 130 further includes a second reminding module, configured to:
determining a message format corresponding to the message content;
matching the preset characteristic information with the message content, including:
if the message format conforms to the specific format associated with the target message, the preset characteristic information is matched with the message content.
In this embodiment of the present application, a possible implementation manner is provided, where the matching module 1303 is specifically configured to:
determining a specific character associated with the valid message content in the message content;
extracting valid message content from the message content based on the specific character;
and matching the characteristic information with the effective message content.
In this embodiment, a possible implementation manner is provided, where the prompting module 1304 is specifically configured to, when sending, based on a matching result, a prompting message before the occurrence of the target message:
and if the matching result is that the characteristic information is matched with the message content, sending prompt information before the target message appears.
In this embodiment, a possible implementation manner is provided, where the prompting module 1304 is specifically configured to, when sending, based on a matching result, a prompting message before the occurrence of the target message:
and if the number of the matching results of the characteristic information and the message content is larger than the preset number in the matching results respectively corresponding to the message contents belonging to the same group in the same application within the preset time length, sending prompt information before the occurrence of the target message.
In one possible implementation manner provided in the embodiment of the present application, the message reminding device 130 further includes a rule obtaining module 1302, configured to:
acquiring rule information for a target message from a server; the rule information includes feature information, a preset duration, and a preset number.
In one possible implementation manner provided in the embodiment of the present application, the message reminding device 130 further includes an update module, configured to:
The message content is sent to the server to cause the server to update the feature information based on the message content.
The embodiment of the application provides a possible implementation manner, and the form of sending the prompt information comprises at least one of the following:
a bell form; vibration form; a wake-up screen form; a pop-up floating window form; an instant messaging message format is published.
In one possible implementation manner provided in the embodiment of the present application, the message reminding device 130 further includes a skip module:
and if the response operation of the user for the prompt information is received, jumping to an application interface corresponding to the message content based on the response operation.
According to the message reminding device, the instant communication message is obtained, the message content of the instant communication message is matched with the characteristic information associated with the target message, whether the target message is about to appear is judged based on the matching result, a reminding can be sent before the target message appears, and the response time can be reserved for a user, so that the information can be processed in time when the target message appears; in addition, the corresponding application program can also not respond to the opening or refreshing operation of the user for finding the target message in time frequently, so that the load of the user terminal can be reduced, and resources can be saved.
Further, whether the instant communication message belongs to the application program which possibly sends the target message is determined, if so, the message content of the instant communication message is obtained, the instant communication message which is not related to the target message can be removed, and the efficiency of identifying the message content to send the prompt information is improved.
Further, whether the message format is associated with the target message is determined, if the message format accords with the specific format associated with the target message, the preset characteristic information is matched with the message content, and instant communication messages which are not related with the target message can be eliminated, so that the efficiency of identifying the message content to send the prompt information is improved.
Furthermore, by extracting the effective message content in the message content and then matching the effective message content with the characteristic information, irrelevant message content can be filtered out first, and the matching efficiency is improved, so that the response target message can be prepared more quickly.
Furthermore, the server can continuously collect precursor information of target messages of a plurality of user terminals and continuously update the characteristic information, so that the accuracy of judging whether to send prompt information according to the characteristic information is improved. Accordingly, as the feature information is updated, when the application program for carrying out message reminding starts to run each time, the corresponding feature information can be acquired from the server, so that the accuracy of sending prompt information after running is improved.
The message reminding device for a picture in the embodiment of the present disclosure may execute a message reminding method for a picture provided by the embodiment of the present disclosure, and its implementation principle is similar, and actions executed by each module in the message reminding device for a picture in each embodiment of the present disclosure correspond to steps in the message reminding method for a picture in each embodiment of the present disclosure, and detailed functional descriptions of each module in the message reminding device for a picture may be specifically referred to descriptions in the message reminding method for a corresponding picture shown in the foregoing, which are not repeated herein.
Based on the same principles as the methods shown in the embodiments of the present disclosure, there is also provided in the embodiments of the present disclosure an electronic device that may include, but is not limited to: a processor and a memory; a memory for storing computer operating instructions; and the processor is used for executing the message reminding method shown in the embodiment by calling the computer operation instruction. Compared with the prior art, the message reminding method can reserve the response time for the user so that the information can be processed in time when the target message appears.
In an alternative embodiment, there is provided an electronic device, as shown in fig. 14, the electronic device 4000 shown in fig. 14 includes: a processor 4001 and a memory 4003. Wherein the processor 4001 is coupled to the memory 4003, such as via a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The processor 4001 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 4001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 4002 may include a path to transfer information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The bus 4002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 14, but not only one bus or one type of bus.
Memory 4003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 4003 is used for storing application program codes for executing the present application, and execution is controlled by the processor 4001. The processor 4001 is configured to execute application program codes stored in the memory 4003 to realize what is shown in the foregoing method embodiment.
Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 14 is merely an example, and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above. Compared with the prior art, the message reminding method can reserve the response time for the user so that the information can be processed in time when the target message appears.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above-described embodiments.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of the module is not limited to the module itself in some cases, and for example, the prompt module may be described as "a module that transmits prompt information based on a matching result".
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (18)

1. A message alert method comprising:
acquiring an instant communication message and acquiring the message content of the instant communication message;
matching the preset characteristic information with the message content to obtain a matching result corresponding to the message content;
wherein the characteristic information is associated with a target message to be prompted; the characteristic information is used for judging whether the message content has the content related to the precursor message of the target message to be prompted; the matching result characterizes at least one of the following: characterizing whether the message content contains a precursor message to a subject message or whether the message content is associated with a precursor message to a subject message;
And based on the matching result, sending prompt information before the target message appears.
2. The message alert method according to claim 1, wherein prior to the obtaining the instant communication message, further comprising:
detecting an instant communication message of a user terminal; the instant communication message includes at least one of an application message and a system notification bar message.
3. The message alert method according to claim 2, wherein the detecting of the instant communication message of the user terminal is triggered based on at least one of the following conditions:
detecting that the current time is in a preset detection time period or a preset detection period;
and receiving a detection instruction of a user.
4. The message alert method according to claim 1, wherein before the obtaining the message content of the instant communication message, further comprising:
determining an application corresponding to the issued instant communication message;
the obtaining the message content of the instant communication message includes:
and if the determined application is associated with the target message, acquiring the message content of the instant communication message.
5. The message alert method according to any one of claims 1 to 4, further comprising, before the matching of the preset characteristic information with the message content:
Determining a message format corresponding to the message content;
the matching the preset characteristic information with the message content comprises the following steps:
and if the message format accords with the specific format associated with the target message, matching the preset characteristic information with the message content.
6. The message alert method according to claim 1, wherein the matching the preset feature information with the message content includes:
determining a specific character associated with the valid message content in the message content;
extracting the valid message content from the message content based on the specific character;
and matching the characteristic information with the effective message content.
7. The message alert method according to claim 1, wherein the sending a hint message before the occurrence of the subject message based on the matching result includes:
and if the matching result is that the characteristic information is matched with the message content, sending prompt information before the target message appears.
8. The message alert method according to claim 1, wherein the sending a hint message before the occurrence of the subject message based on the matching result includes:
And if the number of the matching results of the characteristic information and the message content is larger than the preset number in the matching results respectively corresponding to a plurality of message contents belonging to the same group in the same application within the preset time period, sending prompt information before the occurrence of the target message.
9. The message alert method according to claim 8, wherein before the matching of the preset feature information with the message content, further comprising:
obtaining rule information for the target message from a server; the rule information includes the feature information, the preset duration, and the preset number.
10. The message alert method according to claim 9, further comprising, after the sending the alert message:
and sending the message content to the server so that the server updates the characteristic information based on the message content.
11. The message alert method according to claim 1, wherein the sending a hint message before the occurrence of the subject message based on the matching result includes:
determining a probability value of occurrence of the scaled message based on the matching result;
Generating prompt information based on the probability value;
a prompt is sent before the subject message appears.
12. The message alert method according to claim 11, wherein the generating the alert message based on the probability value includes:
if the probability value is larger than a preset threshold value, determining a numerical interval corresponding to the probability value;
determining the information content of the prompt information based on the determined numerical interval;
and generating the prompt information based on the determined information content.
13. The message alert method according to claim 11, wherein the generating the alert message based on the probability value includes:
if the probability value is larger than a preset threshold value, determining a numerical interval corresponding to the probability value;
determining a prompting form of prompting information based on the determined numerical interval;
and generating the prompt information according to the determined prompt form.
14. The message alert method according to claim 1, wherein the form of the transmission alert message includes at least one of:
a bell form; vibration form; a wake-up screen form; a pop-up floating window form; an instant messaging message format is published.
15. The message alert method according to claim 1, further comprising:
and if a response operation of the user for the prompt information is received, jumping to an application interface corresponding to the message content based on the response operation.
16. A message alert device comprising:
the acquisition module is used for acquiring the instant communication message and acquiring the message content of the instant communication message;
the matching module is used for matching the preset characteristic information with the message content to obtain a matching result corresponding to the message content; wherein the characteristic information is associated with a target message to be prompted; the characteristic information is used for judging whether the message content has the content related to the precursor message of the target message to be prompted; the matching result characterizes at least one of the following: characterizing whether the message content contains a precursor message to a subject message or whether the message content is associated with a precursor message to a subject message;
and the prompt module is used for sending prompt information before the target message appears based on the matching result.
17. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the message alert method of any one of claims 1-15 when the program is executed by the processor.
18. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the message alert method according to any of claims 1-15.
CN202010531034.9A 2020-06-11 2020-06-11 Message reminding method and device, electronic equipment and readable storage medium Active CN113810262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010531034.9A CN113810262B (en) 2020-06-11 2020-06-11 Message reminding method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010531034.9A CN113810262B (en) 2020-06-11 2020-06-11 Message reminding method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113810262A CN113810262A (en) 2021-12-17
CN113810262B true CN113810262B (en) 2023-06-09

Family

ID=78892010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010531034.9A Active CN113810262B (en) 2020-06-11 2020-06-11 Message reminding method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113810262B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118691A (en) * 2022-06-22 2022-09-27 亿咖通(湖北)技术有限公司 Instant message processing method, terminal and storage medium
CN115277617B (en) * 2022-08-02 2024-02-23 北京达佳互联信息技术有限公司 Information processing method and apparatus, electronic device, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827501A (en) * 2015-07-30 2016-08-03 维沃移动通信有限公司 Message reminding method and electronic equipment
CN107943599A (en) * 2017-11-20 2018-04-20 珠海市魅族科技有限公司 Red packet based reminding method, device, computer installation and computer-readable recording medium
CN110912801A (en) * 2018-09-17 2020-03-24 Oppo广东移动通信有限公司 Method, system and terminal device for detecting electronic red packet

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371964B (en) * 2015-07-21 2020-02-21 腾讯科技(深圳)有限公司 Method and device for prompting message
CN107172137A (en) * 2017-05-09 2017-09-15 北京小米移动软件有限公司 Information processing method and device
CN109102264B (en) * 2018-08-29 2021-07-16 Oppo广东移动通信有限公司 Electronic red packet detection method and device and terminal equipment
CN110881001B (en) * 2018-09-06 2022-06-03 Oppo广东移动通信有限公司 Electronic red packet detection method, system and terminal equipment
CN110879733B (en) * 2018-09-06 2023-10-03 Oppo广东移动通信有限公司 Detection method, device, terminal and computer readable storage medium for electronic red envelope

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827501A (en) * 2015-07-30 2016-08-03 维沃移动通信有限公司 Message reminding method and electronic equipment
CN107943599A (en) * 2017-11-20 2018-04-20 珠海市魅族科技有限公司 Red packet based reminding method, device, computer installation and computer-readable recording medium
CN110912801A (en) * 2018-09-17 2020-03-24 Oppo广东移动通信有限公司 Method, system and terminal device for detecting electronic red packet

Also Published As

Publication number Publication date
CN113810262A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN106940641B (en) Notification message processing method and device
CN106911556B (en) Message reminding management method and terminal
CN113810262B (en) Message reminding method and device, electronic equipment and readable storage medium
CN108846295B (en) Sensitive information filtering method and device, computer equipment and storage medium
CN106658568B (en) Method and equipment for providing available wireless access point information
CN109743246B (en) Message emergency reminding method and device and electronic equipment
CN109995939B (en) Information processing method and electronic device
CN109672608B (en) Method for transmitting messages according to time
CN103106369A (en) File sharing method and device based on media server
AU2018393399B2 (en) Notification prompt method, group addition method and apparatus, terminal and storage medium
CN110740088B (en) Method, device, terminal and medium for recommending and adding social resources
CN112422409A (en) Instant messaging method, device, terminal and storage medium
CN110008740B (en) Method, device, medium and electronic equipment for processing document access authority
CN111431797A (en) Method and device for checking unread people of instant messaging group messages
CN108184131B (en) Broadcasting reminding method and device and readable storage medium
CN107360331B (en) Short message display method
CN112788090B (en) Network resource transmission method, device and system
CN111381819A (en) List creation method and device, electronic equipment and computer-readable storage medium
US9882903B2 (en) Method for protecting personal information in audience measurement of digital broadcasting system
CN104023138A (en) Caller identity display method and device, outgoing call dialing method and device and communication system
CN113595884B (en) Message reminding method and application terminal
CN106657316B (en) Message withdrawing method and device
WO2022057581A1 (en) Content display method and apparatus, electronic device, and computer readable storage medium
CN112230819B (en) Information processing method, information processing apparatus, storage medium, and electronic device
US8417291B2 (en) Method and apparatus for managing phonebook in a portable terminal

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
GR01 Patent grant
GR01 Patent grant