Message prompt method and device
By determining the message priority level in the instant communication application and generating corresponding prompt information, the problem of the consistent message prompt modes in the prior art is solved, the user experience is improved, and the user is allowed to perform selective processing according to the importance of the message.
Patent Information
- Application Number
- CN202211039466.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2024-11-19
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing instant messaging applications usually use the same prompt method when receiving different types of messages, resulting in users being unable to effectively distinguish the importance of messages.
By determining the priority level of the message when receiving the message, selecting the corresponding prompt template according to the priority level to generate prompt information, and sending prompt information to the user, so that the user can understand the importance of the message.
Improves the user experience, allowing users to know the importance of messages in advance based on prompt information, and facilitates the distinction and processing of different types of messages.
Smart Images

Figure CN115348230B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a message prompt method and device. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
[0003] With the development of Internet technology, various applications with instant messaging functions have become mainstream social tools. These applications may be, for example, instant messaging applications, social applications, game applications, etc.
[0004] In the related art, after receiving a message from an application such as instant messaging, a terminal device can prompt the received message, for example, by displaying a message notification bar. However, the terminal device often prompts different messages in the same way, so that the user cannot distinguish between different messages. Summary of the invention
[0005] The embodiments of the present invention provide a message prompting method and device to improve user experience.
[0006] The embodiment of the present invention also provides a message method, including:
[0007] Receive the message sent by the message sender;
[0008] Determine a priority level of the message, wherein the priority level is used to indicate the importance of the message;
[0009] Generate prompt information according to the prompt template and message corresponding to the priority level;
[0010] Send a prompt message to the message receiver.
[0011] The embodiment of the present invention further provides a message prompting device, comprising:
[0012] A receiving unit, used for receiving a message sent by a message sending end;
[0013] a determination unit, used to determine a priority level of a message, wherein the priority level is used to indicate the importance of the message;
[0014] A generating unit, used for generating prompt information according to a prompt template and a message corresponding to a priority level;
[0015] The sending unit is used to send prompt information to the message receiving end.
[0016] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned message prompt method when executing the computer program.
[0017] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned message prompt method is implemented.
[0018] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned message prompt method is implemented.
[0019] The technical solution of the embodiment of this specification can receive a message sent by a message sending end; can determine the priority level of the message; can generate prompt information according to the prompt template and message corresponding to the priority level; can send prompt information to the message receiving end. In this way, prompt information can be generated according to the priority level of the message. So that the receiver can know the importance of the message in advance according to the prompt information, which is convenient for distinguishing different messages. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0021] Figure 1 is a schematic diagram of a communication system in an embodiment of the present invention;
[0022] Figure 2 is a flow chart of a message prompt method in an embodiment of the present invention;
[0023] Figure 3 A schematic diagram showing prompt information in an embodiment of the present invention;
[0024] Figure 4 This is a functional structure diagram of a message prompt device in an embodiment of the present invention;
[0025] Figure 5 Schematic diagram of the functional structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0027] In the above-mentioned related technologies, the message may include a single chat message or a group chat message. The group chat message may further include a group chat message for individual reminders in a conversation group, a group chat message for reminding some members in a conversation group, and a group chat message for reminding all members in a conversation group. For the above-mentioned messages, the terminal device often uses the same method to prompt, such as displaying a prompt message "You have received a new message" in the notification bar.
[0028] See also Figure 1 . An embodiment of the present invention provides a communication system. The communication system may include a message sending end, a server, and a message receiving end. The message sending end and the message receiving end may be user-oriented devices, including but not limited to smart phones, tablet electronic devices, portable computers, personal computers, etc. The server may be a single server, or may also be a server cluster including multiple servers. The message sending end and the message receiving end may run an operating system (OS). Applications may be installed through the operating system. The applications may include instant messaging applications. The message sending end may send a message to the message receiving end through the server. Specifically, the message sending end may send a message to the server. The server may receive a message; may determine at least one message receiving end based on the attributes of the message; and may send a message to the at least one message receiving end. The at least one message receiving end may receive a message.
[0029] See also Figure 2 The embodiment of the present invention provides a message prompt method. The message prompt method can be applied to a message receiving end. The message prompt method can include the following steps.
[0030] Step S11: receiving a message sent by a message sender.
[0031] In some embodiments, the message sending end may directly send a message to the message receiving end. The message receiving end may receive the message sent by the message sending end. Alternatively, the message sending end may also send a message to a server. The server may receive the message; and may send the message to the message receiving end. The message receiving end may receive the message.
[0032] In some embodiments, the sender may input a message at a message sending terminal. The message sending terminal may receive a message; and may send a message to a server. The server may receive a message; and may determine at least one message receiving terminal according to the attributes of the message; and may send a message to at least one message receiving terminal. The at least one message receiving terminal may receive a message so that the receiver can read the message through the message receiving terminal. The message may include at least one of a text message, a link message, a picture message, a voice message, a gif, a video message, an emoticon message, and a file message. The attributes of the message may include the source data of the message, the message identifier of the message, the category of the message, the destination data of the message, and the like. The source data of the message may include the identifier of the sender (e.g., the sender's account). The destination data of the message may include the identifier of the receiver (e.g., the receiver's account). The categories of the message may include single chat messages and group chat messages, and the like. The at least one message receiving terminal may include a message receiving terminal corresponding to the identifier of the receiver, such as a message receiving terminal logged in to the receiver's account.
[0033] Step S13: Determine the priority level of the message.
[0034] In some embodiments, the recipient can set multiple priority levels through the message receiving terminal. The server can obtain the multiple priority levels. Specifically, the message receiving terminal can run an operating system. Applications can be installed through the operating system. The application can provide a message classification prompt function. The recipient can input the set multiple priority levels, the rules corresponding to each priority level, and the prompt template corresponding to each priority level at the message receiving terminal. The message receiving terminal can receive the multiple priority levels input by the recipient, the rules corresponding to each priority level, and the prompt template corresponding to each priority level; the multiple priority levels input by the recipient, the rules corresponding to each priority level, the prompt template corresponding to each priority level, and the recipient's identification can be sent to the server. The server can receive multiple priority levels, the rules corresponding to each priority level, the prompt template corresponding to each priority level, and the recipient's identification; and a corresponding relationship between the recipient's identification and the multiple priority levels can be established.
[0035] The priority level is used to indicate the importance of the message. The higher the priority level, the higher the importance of the message. The lower the priority level, the lower the importance of the message.
[0036] The rules corresponding to the priority level are used to determine whether the message belongs to the priority level.
[0037] For example, a rule may be used to determine whether a message is a one-on-one chat message sent by an important contact. Specifically, the rule may include: the message is a one-on-one chat message, and the sender's identifier belongs to a preset sender identifier set.
[0038] For another example, another rule can be used to determine whether a message is a group chat message for a separate reminder in an important conversation group. Specifically, the rule may include: the message is a group chat message, the group ID corresponding to the message belongs to a preset group ID set, and the destination data only contains the ID of the recipient itself.
[0039] For another example, another rule may be used to determine whether a message is a group chat message for reminding some members of an important conversation group. Specifically, the rule may include: the message is a group chat message, the group ID corresponding to the message belongs to a preset group ID set, and the destination data includes the ID of the recipient itself and the ID of at least one other recipient.
[0040] For another example, another rule may be used to determine whether a message is a group chat message to remind all members of an important conversation group. Specifically, the rule may include: the message is a group chat message, the group ID corresponding to the message belongs to a preset group ID set, and the destination data includes the IDs of all recipients.
[0041] The prompt template may include a sender identification area, a message summary area, words used to indicate the importance of the message, etc. The sender identification area is used to fill in the sender's identification. The message summary area is used to fill in the summary of the message. In different prompt templates, the words used to indicate the importance of the message may be different. For example, the multiple priority levels may include a high priority level, a medium priority level, and a low priority level. The prompt template corresponding to the high priority level may include: "AAA" which is relatively important sent "BBB". The prompt template corresponding to the medium priority level may include: "AAA" which is relatively important sent "BBB". The prompt template corresponding to the low priority level may include: "AAA" sent "BBB". AAA represents the sender's identification, such as the sender's name, nickname, etc. BBB represents the summary of the message, such as the first few words of the message, etc. "Relatively important", "relatively important", etc. are words used to indicate the importance of the message.
[0042] Of course, the prompt template may also include other areas. For example, the prompt template may also include a context area. The context area is used to fill in the context of the message. The context is used to distinguish between single chat messages and group chat messages. The context can also be used to distinguish between separate reminder group chat messages, group chat messages that remind some members, and group chat messages that remind all members. For example, a certain prompt template may include: "CCC: BBB" sent by the more important "AAA". The CCC can be, for example, a single chat message, a separate reminder group chat message, a group chat message that reminds some members, and a group chat message that reminds all members. The BBB can be, for example, a summary of the message.
[0043] In some embodiments, the priority level corresponding to the message can be selected from multiple priority levels based on the attributes of the message. As mentioned above, each of the multiple priority levels can correspond to a rule. The attributes of the message can be matched with the rules corresponding to each of the multiple priority levels; the priority level corresponding to the matched rule is used as the priority level of the message. Among them, the attributes of the message may include the source data of the message, the message identifier of the message, the category of the message, the destination data of the message, etc. The matching of the attributes of the message with the rules corresponding to the priority level can be understood as: the attributes of the message meet the rules corresponding to the priority level.
[0044] In some embodiments, at least one message receiving end may be determined based on the attributes of the message; multiple priority levels set by each message receiving end may be obtained; and the priority level of the message may be determined from the multiple priority levels set by each message receiving end based on the attributes of the message. The at least one message receiving end may include a message receiving end corresponding to the identifier of the recipient, such as a message receiving end logged into the recipient's account.
[0045] Step S15: Generate prompt information according to the prompt template and message corresponding to the priority level.
[0046] In some embodiments, the prompt template can be filled in according to the message to obtain prompt information. The prompt information includes a sender ID, a summary of the message, words used to indicate the importance of the message, etc. Specifically, the sender ID of the message and the summary of the message can be obtained; the sender ID of the message and the summary of the message can be filled in the prompt template to obtain prompt information. Of course, other information of the message can also be filled in the prompt template. For example, the context of the message can also be filled in the prompt template. This makes it easier for the recipient to know the context of the message.
[0047] As mentioned above, the context is used to distinguish between single chat messages and group chat messages. The context can also be used to distinguish between group chat messages for individual reminders, group chat messages for reminding some members, and group chat messages for reminding all members. In practical applications, for example, a message can be distinguished as a single chat message or a group chat message based on whether the message corresponds to a group identifier. A message can be distinguished as a group chat message for individual reminders, a group chat message for reminding some members, or a group chat message for reminding all members based on the number of recipient identifiers in the destination data of the message.
[0048] Step S17: Send a prompt message to the message receiving end.
[0049] In some embodiments, a prompt message may be sent to a message receiving end. The message receiving end may receive the prompt message; the prompt message may be displayed. For example, see Figure 3, the message receiving end can display the prompt information in the notification bar. Of course, the message receiving end can also display the prompt information in other ways. For example, the message receiving end can also display the prompt information in a pop-up window. The prompt information is used to prompt the message. The prompt information can prompt the importance of the message. Or, the prompt information can also prompt the context of the message.
[0050] In some embodiments, the message may also be sent to a message receiving end.
[0051] In actual application, the message and the prompt information may be sent to the message receiving end at the same time, or the message may be sent to the message receiving end first and then the prompt information may be sent to the message receiving end.
[0052] In some embodiments, the message may be a single chat message. The number of message receiving terminals may be 1. Accordingly, a priority level of the message may be determined in step S13. A prompt message may be generated in step S15. A prompt message may be sent to a message receiving terminal in step S17 so that the message receiving terminal displays the prompt message. In addition, the server may also send the single chat message to the one message receiving terminal. The single chat message refers to a message in a single chat session. The single chat session includes a sender and a receiver.
[0053] In some embodiments, the message may also be a group chat message. The number of message receiving terminals may be at least one. Accordingly, at least one priority level of the message may be determined in step S13. At least one prompt message may be generated in step S15. At least one prompt message may be sent to at least one message receiving terminal in step S17. Each message receiving terminal may receive a prompt message and display the received prompt message. In addition, the server may also send the group chat message to at least one message receiving terminal. The group chat message refers to a message in a group chat session. The group chat session includes a sender and multiple receivers.
[0054] The message prompt method of the embodiment of the present specification can receive a message sent by a message sending end; can determine the priority level of the message; can generate prompt information according to the prompt template and message corresponding to the priority level; can send prompt information to the message receiving end. In this way, prompt information can be generated according to the priority level of the message. So that the receiver can know the importance of the message in advance according to the prompt information, which is convenient for distinguishing different messages.
[0055] The message prompt method of the embodiment of the present specification can improve the user experience. Specifically, the recipient can know the importance of the message according to the prompt information without reading the message. Therefore, for messages with high importance, the recipient can view them immediately and process the messages. For example, the recipient can reply to the message immediately. For messages with low importance, the recipient can view them later. After viewing, the recipient can reply to the message or not, as needed. That is to say, according to the prompt information, the recipient can selectively view and process the message without reading the message.
[0056] See also Figure 4 The present invention also provides a message prompt device in an embodiment, as described in the following embodiment. Since the principle of solving the problem by the device is similar to that of the message prompt method, the implementation of the device can refer to the implementation of the message prompt method, and the repeated parts will not be repeated.
[0057] A receiving unit 21, configured to receive a message sent by a message sending end;
[0058] A determination unit 23, used to determine a priority level of the message, wherein the priority level is used to indicate the importance of the message;
[0059] A generating unit 25, configured to generate prompt information according to a prompt template and a message corresponding to a priority level;
[0060] The sending unit 27 is used to send prompt information to the message receiving end.
[0061] See also Figure 5 An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned message prompt method when executing the computer program.
[0062] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned message prompt method is implemented.
[0063] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned message prompt method is implemented.
[0064] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0065] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0066] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0067] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0068] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A message prompt method, characterized in that: include: Receiving a message sent by a message sending end, wherein the message includes a group chat message; According to the attributes of the message, multiple message receiving terminals are determined, and multiple priority levels set by each message receiving terminal are obtained; each priority level in the multiple priority levels corresponds to a rule and a prompt template, the priority level is used to indicate the importance of the message, the prompt template includes a sender identification area, a message summary area, a context area, and words used to indicate the importance of the message, and different prompt templates have different words used to indicate the importance of the message; Matching the attribute of the message with the rule corresponding to each priority level in the multiple priority levels, and taking the priority level corresponding to the matched rule as the priority level of the message; Generate prompt information according to the prompt template and message corresponding to the priority level of the message; Generating the prompt information includes: obtaining a sender identifier, summary and context of the message; the context of the message is used to distinguish between a group chat message for a separate reminder, a group chat message for reminding some members, and a group chat message for reminding all members; filling the sender identifier of the message into a sender identifier area in the prompt template, filling the summary of the message into a message summary area in the prompt template, and filling the context of the message into a sentence area in the prompt template to obtain the prompt information; Prompt information is sent to the multiple message receiving ends so that the message receiving ends display the prompt information, wherein the prompt information includes a sender identification, a summary, a context, and words used to indicate the importance of the message.
2. The method according to claim 1, characterized in that The method further comprises: Send a message to the message receiver.
3. A message prompting device, characterized in that: include: A receiving unit, configured to receive a message sent by a message sending end, wherein the message includes a group chat message; A determination unit, used to determine multiple message receiving terminals according to the attributes of the message, and obtain multiple priority levels set by each message receiving terminal; each priority level in the multiple priority levels corresponds to a rule and a prompt template, the priority level is used to indicate the importance of the message, the prompt template includes a sender identification area, a message summary area, a context area, and words used to indicate the importance of the message, and different prompt templates have different words used to indicate the importance of the message; Matching the attribute of the message with the rule corresponding to each priority level in the multiple priority levels, and taking the priority level corresponding to the matched rule as the priority level of the message; A generating unit, configured to generate prompt information according to a prompt template and a message corresponding to a priority level of the message; Generating the prompt information includes: obtaining a sender identifier, summary and context of the message; the context of the message is used to distinguish between a group chat message for a separate reminder, a group chat message for reminding some members, and a group chat message for reminding all members; filling the sender identifier of the message into a sender identifier area in the prompt template, filling the summary of the message into a message summary area in the prompt template, and filling the context of the message into a sentence area in the prompt template to obtain the prompt information; The sending unit is used to send prompt information to the multiple message receiving ends so that the message receiving ends display the prompt information, wherein the prompt information includes the sender identification, summary, context and words used to indicate the importance of the message.
4. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 2 is implemented.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.
Citation Information
Patent Citations
Message prompting method, device and system
CN105791099A
Method for displaying prompt message in application program, and mobile terminal
CN106371789A
Message grading processing method and device, equipment and storage medium
CN114448922A
