A message sending control method and device, electronic equipment, chip and medium

By analyzing the matching degree between the target topic of the group message to be sent and the historical topics of the target group, and combining this with the user's confirmation command, the problem of mis-sent group messages was solved, achieving efficient and accurate information delivery and improved user experience.

CN118921343BActive Publication Date: 2026-04-07CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, missending of group messages often occurs, leading to reduced user efficiency and a deterioration in user experience, and cannot fundamentally prevent missending of messages.

Method used

By analyzing the content of the message to be sent to the group, the target topic is determined and compared with the historical topics of the target group to determine whether to send the message directly. If necessary, user confirmation instructions are obtained to decide whether to send the message.

Benefits of technology

It improves user efficiency and experience, effectively prevents missent messages, and ensures accurate information delivery and efficient communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921343B_ABST
    Figure CN118921343B_ABST
Patent Text Reader

Abstract

This disclosure provides a message sending control method, apparatus, electronic device, chip, and medium, relating to the field of cloud computing technology. The message sending control method includes: in response to a message sending instruction for a target group, acquiring a group message to be sent; determining a target topic based on the content of the group message to be sent; and sending the group message to be sent to the target group based on the matching degree between the target topic and the historical topics of the target group. The technical solution provided by this disclosure solves the problem of reduced user efficiency and experience in preventing accidental message sending in related technologies, thereby improving user efficiency and experience in preventing accidental message sending.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of cloud computing, and particularly relates to a message sending control method and device, electronic equipment, chip and medium. BACKGROUND

[0002] With the development of computer and network technology, instant messaging tools have been widely used in daily life and work, greatly facilitating people's daily communication. However, due to the negligence or misoperation of the sender, and due to the fact that various groups cannot be accurately distinguished in terms of identification, the situation of group message mis-sending often occurs.

[0003] In the related art, a password is set for a preset group chat to prevent message mis-sending. When sending a message, it is judged whether the target group is set with a group chat password. If the target group is not set with a group chat password, or is set with a group chat password but is not activated, the message is directly sent, otherwise, the group chat password is verified. Although the sending of group chat messages is verified, there are problems of reduced user use efficiency and reduced user use experience, and the message mis-sending cannot be fundamentally prevented. SUMMARY

[0004] The present disclosure provides a message sending control method, device, electronic equipment, chip and medium to solve the problems of reduced user use efficiency and reduced user use experience in preventing message mis-sending. By analyzing the content of the to-be-sent group message, the target topic is determined, and based on the matching degree of the target topic and the historical topic of the target group, it is confirmed whether to directly send the message. The user use efficiency and use experience are improved, and the problem of message mis-sending is fundamentally solved.

[0005] A first aspect embodiment of the present disclosure provides a message sending control method, which comprises:

[0006] In response to a message sending instruction for a target group, a to-be-sent group message is obtained;

[0007] According to the content of the to-be-sent group message, a target topic is determined;

[0008] Based on the matching degree of the target topic and the historical topic of the target group, the to-be-sent group message is sent to the target group.

[0009] In an embodiment of the present disclosure, the matching degree of the target topic and the historical topic of the target group is determined, and the to-be-sent group message is sent to the target group, comprising:

[0010] The historical topic of the target group is obtained;

[0011] The topic matching degree of the target topic and the historical topic is determined by a topic matching algorithm;

[0012] determine whether the to-be-sent group message is a false trigger message based on the topic matching degree;

[0013] If the to-be-sent group message is a false trigger message, send the to-be-sent group message to the target group according to the user confirmation instruction.

[0014] In an embodiment of the present disclosure, sending the to-be-sent group message to the target group according to the user confirmation instruction comprises:

[0015] obtaining the user confirmation instruction;

[0016] If the user confirmation instruction is to confirm sending, send the to-be-sent group message to the target group;

[0017] If the user confirmation instruction is to abandon sending, abandon sending the to-be-sent group message to the target group.

[0018] In an embodiment of the present disclosure, determining the target topic according to the content of the to-be-sent group message comprises:

[0019] converting the content of the to-be-sent group message into structured message data, the structured message data comprising a topic list of the to-be-sent group message, the topic list comprising at least one topic, the topic list comprising a topic category and a confidence degree;

[0020] determining the target topic according to the topic category and the confidence degree of the structured message.

[0021] In an embodiment of the present disclosure, determining the topic matching degree of the target topic and the historical topic by a topic matching algorithm comprises:

[0022] determining whether the confidence degree and the topic proportion of the first topic in the first topic list are greater than or equal to a corresponding threshold value, the first topic list being the topic list of the to-be-sent group message, the topic proportion being the percentage of the number of characters in the first topic used to represent the topic category in the total number of characters of the content of the to-be-sent group message;

[0023] If the confidence degree of the first topic list is greater than or equal to a first confidence degree threshold value, and the topic proportion of the first topic list is greater than or equal to a first topic proportion threshold value, determining the topic matching degree according to the topic list of the historical topic and the topic category of the first topic.

[0024] In an embodiment of the present disclosure, determining the topic matching degree according to the topic list of the historical topic and the topic category of the first topic comprises:

[0025] The second topic list is traversed, and the second topic list is a list of historical topics. If the second topic list and the first topic list meet the preset conditions, the topic is determined to be successfully matched. The preset conditions are: the topic category of the first topic exists in the topic category of the second topic list, the topic frequency of the second topic list is greater than or equal to the preset topic frequency threshold, and the topic proportion of the second topic list is greater than or equal to the second topic proportion threshold. The topic frequency is the number of times the first topic appears in the second topic list.

[0026] In one embodiment of this disclosure, after sending the group message to be sent to the target group, the method further includes:

[0027] Iterate through the first topic list and determine whether the topic category of the first topic exists in the second topic list;

[0028] If the topic category of the first topic exists in the second topic list, update the second topic list based on the frequency of the first topic and the proportion of the second topic determined by the confidence level of the first topic;

[0029] If the topic category of the first topic does not exist in the second topic list, the first topic will be added to the second topic list.

[0030] In one embodiment of this disclosure, the group message to be sent includes one or more multimedia messages such as text, images, audio, video, and emoticons.

[0031] A second aspect of this disclosure provides a message sending control device, the device comprising:

[0032] The acquisition module is used to acquire group messages to be sent in response to message sending instructions for a target group;

[0033] The determination module is used to determine the target topic based on the content of the group message to be sent;

[0034] The confirmation module is used to send pending group messages to the target group based on the matching degree between the target topic and the target group's historical topics.

[0035] A third aspect of this disclosure provides an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any of the methods described in the first aspect of this disclosure.

[0036] A fourth aspect of this disclosure provides a non-transitory computer-readable storage medium storing computer instructions, characterized in that the computer instructions are used to cause a computer to perform the method described in the first aspect of this disclosure.

[0037] A fifth aspect of this disclosure provides a computer program product characterized by comprising a computer program that, when executed by a processor, implements the method of any one of the first aspects of this disclosure.

[0038] A sixth aspect of this disclosure provides a chip including at least one processor and a communication interface; the communication interface is used to receive signals input to the chip or signals output from the chip, and the processor communicates with the communication interface and implements the method of any one of the first aspects of this disclosure through logic circuits or executing code instructions.

[0039] In summary, the message sending control method proposed in this disclosure, in response to a message sending command for a target group, retrieves the group message to be sent, providing message data to prevent accidental message sending; based on the content of the group message to be sent, determines the target topic and obtains the topic type of the target topic; and based on the matching degree between the target topic and the target group's historical topics, sends the group message to the target group, automatically completing the matching degree verification between the target topic and the target group. This improves user efficiency and experience in preventing accidental message sending.

[0040] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0042] Figure 1 This is a flowchart of a message sending control method according to an embodiment of the present disclosure;

[0043] Figure 2 This is a flowchart illustrating how to send a group message to a target group based on the matching degree between a target topic and the historical topics of the target group, according to an embodiment of this disclosure.

[0044] Figure 3 This is a flowchart illustrating how a message to be sent to a target group is sent according to a user confirmation instruction, as per an embodiment of this disclosure.

[0045] Figure 4 This is a flowchart illustrating how to determine a target topic based on the content of a group message to be sent, according to an embodiment of this disclosure.

[0046] Figure 5 This is a flowchart illustrating an embodiment of the present disclosure of determining the topic matching degree between a target topic and historical topics using a topic matching algorithm;

[0047] Figure 6This is a flowchart illustrating an embodiment of the present disclosure for determining topic matching degree based on a list of historical topics and the topic category of a first topic;

[0048] Figure 7 This is a flowchart illustrating an embodiment of the present disclosure of updating a second topic list of historical topics;

[0049] Figure 8 This is a flowchart of a message sending control method according to an embodiment of the present disclosure;

[0050] Figure 9 This is a schematic diagram of the structure of a message sending control device according to an embodiment of the present disclosure;

[0051] Figure 10 This is a block diagram illustrating an electronic device for implementing the message sending control method of this disclosure, according to an exemplary embodiment. Detailed Implementation

[0052] Embodiments of this disclosure are described in detail below, with examples of embodiments shown in the accompanying drawings, wherein the same or similar reference numerals identify the same or similar originals or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.

[0053] With the widespread use of instant messaging tools, users create groups to chat with other users for efficient multi-person group communication. As life and work require more and more people, the number of groups is increasing. However, due to user negligence or misoperation when sending messages, or the inability to accurately distinguish between different group identifiers, group messages are often sent to the wrong people. Furthermore, unintended group messages can often lead to irreparable and significant social consequences, causing problems in the lives, work, and legal aspects of those involved.

[0054] In related technologies, the following method is used to prevent accidental group chat sending. First, it checks whether a group chat password is set and activated in the preset group chat. Then, if the preset group chat has a password and is activated, the password is entered before sending the message; if the preset group chat does not have a password, or has a password but is not activated, the message is sent directly. While this method solves the problem of accidental message sending in group chats and prevents it, the requirement to enter a password for every group chat message, despite some improvements, still significantly impacts efficiency and user experience. Furthermore, it lacks message categorization and differentiation, and does not provide an effective method to determine the relevance of messages to the target group's discussion topics, failing to help users send large amounts of normal messages seamlessly. There is no logical connection between password input and accidental message sending, essentially failing to prevent accidental message sending. In summary, related technologies address the issue of reduced user efficiency and experience when preventing accidental message sending.

[0055] The method proposed in this disclosure is applied to message sending control tasks, with a wide range of applications, especially in environments where accurate information delivery and efficient group communication are crucial. For example, in enterprise communication scenarios, within internal team communications, it ensures that sent messages are relevant to the discussion topic, avoiding confusion between messages from different projects or issues. In project management, for cross-departmental or cross-team projects, this technology helps participants ensure that sent messages are project-related, reducing interference from irrelevant information. In online education, course discussion groups on online education platforms can utilize this technology to ensure discussions stay focused on specific course content, preventing digressions. In social media groups, interest- or topic-specific social media groups (such as photography, travel, etc.) can use this technology to maintain the relevance of group discussions. In customer support groups, support groups established by companies for products or services can use this technology to ensure that customer questions and answers are specific to the products and services. In forum and community management, online forums or communities use this technology to help guide users to post content relevant to the current topic, maintaining the coherence and order of the discussion. In gaming and entertainment groups, especially in team strategy games, players can use this technology to ensure communication is about the current game or strategy, reducing misunderstandings and errors. In health and medical groups, particularly those discussing specific diseases or treatments, this technology can help ensure the accuracy and relevance of information. In emergency response and coordination, such as in emergency situations like natural disasters or public safety incidents, this technology can assist relevant personnel in sending and receiving information directly relevant to the current situation. In the government and public service sectors, government departments can use this technology to ensure accurate and timely information delivery when discussing specific policies or services. The application scenarios described in this disclosure are not limited.

[0056] In these scenarios, matching the target topic of the group message to be sent with the topic types in the target group's historical chat history can reduce the occurrence of missent messages and improve communication efficiency without reducing user efficiency and experience.

[0057] The message sending control method provided in this disclosure will be described in detail below with reference to the accompanying drawings.

[0058] Figure 1 This is a flowchart illustrating a message sending control method according to an embodiment of this disclosure. This solution can run on the client or server side of instant messaging software. Figure 1 The embodiment shown includes the following message sending control method:

[0059] Step 101: In response to a message sending instruction for the target group, obtain the group message to be sent.

[0060] In this embodiment, the target group refers to the group to which the user wants to send the message. The pending group message refers to the group message that the user wants to send to the target group, and its form includes multimedia data such as text, voice, images, video, and emoticons. When the user triggers a send command to the target group, the instant messaging software client or server records the pending group message.

[0061] Step 102: Determine the target topic based on the content of the group message to be sent.

[0062] In this embodiment, the target topic refers to the topic type reflected in the content of the current group message to be sent. Based on the content information of the group message to be sent, the topic type of the group message to be sent can be determined through semantic understanding or classification algorithms.

[0063] Step 103: Based on the matching degree between the target topic and the target group's historical topics, send the group message to be sent to the target group.

[0064] In this embodiment, "historical topics" refers to topics included in the historical chat history of the target group. Optionally, historical topics can be represented as a set type, using topics included in the historical chat history as elements. A relevance matching process is performed between the topic type of the target topic and the topic types included in the historical topics. Based on the matching degree, a confirmation is made regarding whether to send a pending group message to the target group. If the confirmation is successful, the pending group message is sent to the target group; otherwise, the sending of the pending group message is rejected, and the user is notified that a message has been mistakenly sent.

[0065] In summary, the message sending control method proposed in this disclosure, in response to a message sending command for a target group, retrieves the group message to be sent, providing message data to prevent accidental message sending; based on the content of the group message to be sent, determines the target topic and obtains the topic type of the target topic; and based on the matching degree between the target topic and the target group's historical topics, sends the group message to the target group, automatically completing the matching degree verification between the target topic and the target group. This improves user efficiency and experience in preventing accidental message sending and fundamentally avoids the occurrence of accidental message sending.

[0066] Figure 2 This is a flowchart illustrating an embodiment of the present disclosure of determining the matching degree between a target topic and a target group's historical topics, and sending a group message to be sent to the target group. Figure 2 Yes Figure 1 Further explanation of step 103, based on Figure 2 The illustrated embodiment includes the following steps:

[0067] Step 201: Obtain the historical topics of the target group.

[0068] In this embodiment, the chat history of the target group is obtained before or after the sending command is triggered, that is, the historical topics of the target group are obtained.

[0069] Step 202: Determine the topic matching degree between the target topic and historical topics using a topic matching algorithm.

[0070] In this embodiment, the topic matching algorithm refers to a similarity calculation algorithm. It extracts features from two topics and calculates feature similarity to determine the topic matching degree. The topic matching degree refers to the similarity of the content of two topics. Examples include semantic similarity of text, similarity of images, and similarity of speech. The topic matching algorithm is used to perform topic matching between the target topic and historical topics to determine their topic matching degree.

[0071] Step 203: Based on topic matching degree, determine whether the group message to be sent is a false trigger message.

[0072] In this embodiment, a falsely triggered message refers to a message sent without the user's true intention, such as a message generated by user error or system malfunction. Based on the determined topic matching degree, a further judgment is made as to whether the message to be sent is a falsely triggered message. In other words, if the topic matching degree is high, it indicates successful topic matching, meaning it is not a falsely sent message but a normal message. If the topic matching degree is low, i.e., topic matching fails, it indicates that the message to be sent is a falsely triggered message.

[0073] Step 204: If the group message to be sent is a false trigger message, then send the group message to the target group according to the user's confirmation instruction.

[0074] In this embodiment, the confirmation command includes a confirmation to send command and a confirmation not to send command. If the group message to be sent is a mistakenly triggered message, then to confirm the user's true intention, the decision to send the group message to the target group is made based on the user's confirmation command. For example, if the group message to be sent is a mistakenly triggered message, a pop-up window will prompt the user that the current message sending operation may be a mistaken trigger, prompting the user to confirm sending or abandon sending. If the user confirms that the group message to be sent is to be sent, then the group message to be sent is sent directly to the target group. If the user confirms that the group message to be sent is not to be sent, then the current operation ends. This ensures that no mistaken sending occurs and achieves seamless sending of normal messages, improving user efficiency and user experience.

[0075] Figure 3 This is a flowchart illustrating how a group message is sent to a target group based on a user confirmation instruction, according to an embodiment of this disclosure. Figure 3 Yes Figure 2 Step 204 provides further explanation, based on Figure 3 The illustrated embodiment includes the following steps:

[0076] Step 301: Obtain user confirmation command.

[0077] In this embodiment, after confirming that the group message to be sent is a false trigger, a confirmation instruction from the user is needed to ensure that the message is indeed the user's true intention. This confirmation instruction is then obtained and a confirmation operation is performed. For example, if the chat software determines that the group message to be sent is a false trigger, a pop-up warning appears asking if the user truly intends to send the message to the target group. If yes, the user confirms sending; otherwise, the sending is abandoned.

[0078] Step 302: If the user confirms the command as "confirm send", then the pending group message will be sent to the target group.

[0079] In this embodiment, if the user confirms the message as a confirmation to send, then the message to be sent is sent to the target group, thereby confirming the user's intent.

[0080] Step 303: If the user confirms the instruction to abandon sending, then abandon sending the pending group message to the target group.

[0081] In this embodiment, if the user confirms the instruction as an abandonment of sending, the chat software refuses to send the pending group message to the target group, thereby avoiding the accidental sending of messages to the target group.

[0082] In this embodiment, when a pending group message is determined to be a false trigger message, a pending group message is sent to the target group according to the user's confirmation instruction to prompt and verify the false trigger message to the user. This avoids the occurrence of false message sending.

[0083] Figure 4 This is a flowchart illustrating how to determine a target topic based on the content of a group message to be sent, according to an embodiment of this disclosure. Figure 4 Yes Figure 3 The specific explanation of step 302 is based on Figure 4 The illustrated embodiment includes the following steps:

[0084] Step 401: Convert the content of the group message to be sent into structured message data. The structured message data includes a list of topics for the group message to be sent. The list of topics includes at least one topic, and each topic includes a topic category and a confidence level.

[0085] In this embodiment, structured message data refers to message data after the content of the group message to be sent has undergone structured processing. For example, the group message to be sent is parsed into a list of topics, represented by an array or list data structure. This list of topics includes at least one topic. Each topic includes a topic category and a confidence attribute. In response to the sending command of the group message to be sent, the group message to be sent is converted into structured message data.

[0086] Step 402: Determine the target topic based on the topic category and confidence level of the structured message.

[0087] In this embodiment, after converting the content of the group message to be sent into a structured message, the target topic is determined based on the topic category and confidence level of the structured message. For example, by using the topic category and confidence level values ​​of each topic in the topic list of the structured message, topics whose topic category and confidence level values ​​are both greater than the corresponding thresholds are selected as target topics. This facilitates the error prevention processing of the method disclosed herein.

[0088] Figure 5 This is a flowchart illustrating an embodiment of the present disclosure of determining the topic matching degree between a target topic and historical topics using a topic matching algorithm. Figure 5 Yes Figure 3 and Figure 2 The specific explanation of step 202 is based on Figure 5 The illustrated embodiment includes the following steps:

[0089] Step 501: Determine whether the confidence level and topic weight of the first topic in the first topic list are greater than or equal to the corresponding threshold. The first topic list is the topic list of the group message to be sent. The topic weight is the percentage of the number of characters used to represent the topic category in the first topic to the total number of characters in the content of the group message to be sent.

[0090] In this embodiment, the first topic list refers to the list of topic information contained in the content of the group message to be sent, including topic information, topic, confidence level, and topic weight. The first topic is a topic in the first topic list. To confirm that the first topic list of the group message to be sent can be used as a match for the topic list in the chat history of the target group, it is first necessary to confirm the reliability of the first topic list of the group message to be sent. When traversing the first topic list of the group message to be sent, it is determined whether the confidence level and topic weight of the first topic in the first topic list are greater than or equal to the corresponding threshold. By comparing the confidence level and topic weight with the preset threshold, the reliability of the first topic list of the group message to be sent can be determined. The topic weight is the percentage of the number of bytes in the first topic used to represent the topic category to the total number of bytes in the content of the group message to be sent.

[0091] Step 502: If the confidence level of the first topic is greater than or equal to the first confidence level threshold, and the topic weight of the first topic is greater than or equal to the first topic weight threshold, then the topic matching degree is determined based on the list of historical topics and the topic category of the first topic.

[0092] In this embodiment, the first confidence threshold refers to a value used to measure the confidence level of the first topic list. The first topic weight threshold refers to a value used to measure the weight of topics in the first topic list. If the confidence level of the first topic list is greater than or equal to the first confidence threshold, and the weight of topics in the first topic list is greater than or equal to the first topic weight threshold, then the group message to be sent is confirmed to meet the basic conditions for notification. Therefore, the topic matching degree is determined based on the topic list of historical topics and the topic categories of the first topic list, providing a basis for judging whether there is a possibility of accidental sending by the user.

[0093] Figure 6 This is a flowchart illustrating an embodiment of the present disclosure for determining topic matching degree based on a list of historical topics and the topic category of a first topic. Figure 6 Yes Figure 5 The specific explanation of step 502 is based on Figure 6 The illustrated embodiment includes the following steps:

[0094] Step 601: Iterate through the second topic list, which is a list of historical topics. If the second topic list and the first topic list meet the preset conditions, the topic is determined to be successfully matched. The preset conditions are: the topic category of the first topic exists in the topic category of the second topic list, the topic frequency of the second topic list is greater than or equal to the preset topic frequency threshold, and the topic proportion of the second topic list is greater than or equal to the second topic proportion threshold. The topic frequency is the number of times the first topic appears in the second topic list.

[0095] In this embodiment, the second topic list is a list of various topics from historical topics. Preferably, the data structure of the second topic list is a list or array. The preset topic frequency threshold is a value used to measure the frequency of topics in the second topic list. Topic frequency refers to the number of times the first topic appears in the second topic list. The second topic weight threshold refers to the proportion of topics in historical topics that are of the same category as the topic in the first topic list. After confirming the topic weight and confidence of the message to be sent, the second topic list of historical topics is traversed. If the second topic list and the first topic list meet preset conditions, then it is determined that the topic category of the second topic list matches the topic category of the first topic successfully. The preset conditions require the following three conditions to be met simultaneously: the topic category of the first topic exists in the topic category of the second topic list; the topic frequency of the second topic list is greater than or equal to the preset topic frequency threshold; and the topic weight of the second topic list is greater than or equal to the second topic weight threshold.

[0096] In this embodiment, the topic matching degree is determined by comparing the topic similarity between the historical topic list and the topic category of the first topic. This provides a basis for judging whether the topics of the historical chat messages of the target group match those of the group messages to be sent.

[0097] Figure 7 This is a flowchart illustrating an embodiment of the present disclosure of updating a second topic list of historical topics. Figure 7 Yes Figure 6 and Figure 3 The specific explanation of step 302 is based on Figure 9 The illustrated embodiment includes the following steps:

[0098] Step 701: Iterate through the first topic list and determine whether the topic category of the first topic exists in the second topic list.

[0099] In this embodiment, upon receiving a user confirmation instruction confirming the send, the pending group message is sent to the target group. This completes the correct sending of the pending group message. Afterwards, the chat history of the target group changes because the content of this sent pending group message has been added. To continuously prevent accidental sending of new pending group messages based on the historical chat history of the target group, the historical chat history of the target group needs to be updated. The topic categories (first topic list) contained in the content of the pending group messages already sent to the target group are traversed, and it is determined whether the topic category of the first topic in the first topic list exists in the topic list (second topic list) of the historical chat history of the target group.

[0100] Step 702: If the topic category of the first topic exists in the second topic list, update the second topic list based on the frequency of the first topic and the proportion of the second topic determined by the confidence level of the first topic.

[0101] In this embodiment, the first topic frequency refers to the number of times the content of a pending group message received by the target group appears in the target group. The second topic weight refers to the proportion of the content of a pending group message received by the target group out of all chat records in the target group. If a topic category from the first topic list already exists in the second topic list, then the topic frequency and topic weight of that topic category need to be updated. Based on the first topic frequency and second topic weight determined by the confidence level of the first topic list, the topic frequency and topic weight of the second topic list are replaced, thereby completing the update of the second topic list.

[0102] In one embodiment of this example, when the topic category of the first topic exists in the second topic list, it is determined whether the topic category of the first topic is greater than or equal to a preset threshold to confirm the credibility of the topic category. If the topic category of the first topic is greater than or equal to the preset threshold, then the topic category is valid data and can be used to update the frequency and weight of the topic. Then, based on the topic frequency f of the second topic list and the number of historical chat records n, f*n / (n+1) is taken as the first topic frequency of the second topic list. Based on the topic weight t1 of the second topic list, the total number of characters in the historical chat records c1, the topic weight t2 of the first topic, and the number of characters in the first topic c2, (t1*c1+t2*c2) / (c1+c2) is taken as the second topic weight.

[0103] Step 703: If the topic category of the first topic does not exist in the second topic list, add the first topic to the second topic list.

[0104] In this embodiment, if the topic category of the first topic does not exist in the second topic list, it means that the topic category of the first topic is a topic category that does not exist in the historical chat history of the target group, that is, a newly appeared topic category. Therefore, the content of the first topic needs to be added to the second topic list to update the second topic list.

[0105] In this embodiment, after a group message to be sent to the target group, it is determined whether the topic category of the message has appeared in the target group's historical chat history. If it has, the frequency and weight of the topic are updated; otherwise, the new topic category is added to the historical chat history, expanding and updating the historical chat history data. This facilitates timely updates to the target group data and provides accurate matching support for judging the missending of group messages during subsequent chat sessions.

[0106] Figure 8 This is a flowchart illustrating a message sending control method according to an embodiment of this disclosure. Figure 8 As shown, the system (instant messaging software client or server) monitors the send button. When the message to be sent is a group message,

[0107] Step 1: Intelligently detect message content, parse the topic list, and convert multimedia messages into structured data.

[0108] The system transforms received multimedia messages into structured data required for subsequent analysis, including but not limited to: sender ID, target group ID, sending time, content size (ContentSize), and a list of topic information (TopicInfoList). Each item in the TopicInfoList includes the topic (Topic), confidence score (CI), and topic percentage (TopicPercentage). The topic represents the category of the topic, such as travel, shopping, education, and photography. The confidence score indicates the accuracy of predicting the correct topic type. The topic percentage represents the percentage of the total number of characters in the message content for that topic type.

[0109] Step 2: Based on a topic matching algorithm, determine whether a message anti-misdelivery alert is needed. If not, send the message to the target group. If an alert is needed, ask the user for confirmation before sending. If they choose to continue, the message is sent to the target group; otherwise, the message is abandoned. If the message is sent to the target group, update the target group's historical topic list according to a specific algorithm.

[0110] The topic information in this message's topic information list is compared one by one with the target group's historical topic information list. If certain conditions are met, the next step requires user assistance to proceed to step 3. The comparison algorithm can be based on the confidence level and weight of the topic information, and also on whether the topic exists in the historical topic information list, combining the frequency and weight of the topic in the existing historical topic information list.

[0111] Otherwise, the possibility of the message being mistakenly sent is considered extremely low, and it can be sent directly to step 2.1. This step identifies the relationship between the topic and the target group from the source, which not only prevents messages with inappropriate topics from being mistakenly sent to the group due to human negligence, but also does not affect the seamless sending of normal messages. This greatly improves the accuracy of identifying whether a message is invalid, and also greatly improves the user experience and efficiency of the system.

[0112] Step 2.1: Send directly to the target group. Proceed to step 2.2.

[0113] Step 2.2: Obtain the total number of characters in historical messages (HistoricalContentSize), the total number of historical messages (HistoricalMessageNum), and the historical topic information list (HistoricalTopicInfoList) for the target group. Combine this with the topic information list (TopicInfoList) of the current message, and update the historical topic information list for the target group according to the update algorithm. The historical topic information list is a list composed of historical topic information (HistoricalTopicInfo). Each piece of historical topic information includes, but is not limited to, topic, topic frequency, and topic percentage. A topic represents a category, such as travel, shopping, education, and photography. Topic frequency represents the percentage of times the topic appears in all group messages. Topic percentage represents the percentage of characters in the content of the topic in the total number of characters in all group messages.

[0114] The update algorithm could be to compare each topic in the topic information list with each topic in the historical topic list in turn; if a match is found, update the topic; otherwise, add a new topic.

[0115] The group messages to be sent in this disclosure include one or more multimedia messages such as text, images, audio, video, and emoticons. Typically, the group messages to be sent are text messages; optionally, images, audio, video, emoticons, etc., can all be used as group messages. Based on the semantic understanding of multimedia data using large-scale modeling technology, the semantic content of the group messages to be sent can be parsed from one or more of the images, audio, video, and emoticons. Then, topic similarity matching is performed between the semantic content and the target group.

[0116] This disclosure proposes a message sending control method. In response to a message sending command for a target group, it acquires the group message to be sent, providing message data to prevent accidental message sending. Based on the content of the group message to be sent, it determines the target topic and obtains the topic type. Based on the matching degree between the target topic and the target group's historical topics, it sends the group message to the target group, automatically completing the matching degree verification between the target topic and the target group. This improves user efficiency and experience in preventing accidental message sending and fundamentally avoids the occurrence of accidental message sending.

[0117] Corresponding to the methods provided in the above embodiments, this disclosure also provides a message sending control device. Since the device provided in this disclosure corresponds to the methods provided in the above embodiments, the implementation of the methods is also applicable to the device provided in this embodiment, and will not be described in detail in this embodiment.

[0118] Figure 9 This is a schematic diagram of the structure of a message sending control device 900 according to an embodiment of this disclosure. Figure 9 As shown, the message sending control device includes:

[0119] The acquisition module 910 is used to acquire the group message to be sent in response to the message sending instruction for the target group;

[0120] Module 920 is used to determine the target topic based on the content of the group message to be sent;

[0121] The confirmation module 930 is used to send a pending group message to the target group based on the matching degree between the target topic and the target group's historical topics.

[0122] In some embodiments, the confirmation module 930 is configured to:

[0123] Retrieve the target group's historical topics;

[0124] The topic matching algorithm is used to determine the degree of topic matching between the target topic and historical topics;

[0125] Based on topic matching, determine whether the group message to be sent is a mistakenly triggered message;

[0126] If the message to be sent to the target group is a false trigger message, then the message to be sent to the target group will be sent according to the user's confirmation instruction.

[0127] In some embodiments, the confirmation module 930 sends the pending group message to the target group according to the user's confirmation instruction in the following manner:

[0128] Obtain user confirmation;

[0129] If the user confirms the message as "confirm send", the pending group message will be sent to the target group.

[0130] If the user confirms the instruction to abandon sending, then the sending of the pending group message to the target group will be abandoned.

[0131] In some embodiments, the determining module 920 is configured to:

[0132] The content of the group message to be sent is converted into structured message data. The structured message data includes a list of topics for the group message to be sent. The topic list includes at least one topic and includes topic category and confidence level.

[0133] The target topic is determined based on the topic category and confidence level of the structured message.

[0134] In some embodiments, the confirmation module 930 determines the topic matching degree between the target topic and historical topics using a topic matching algorithm in the following manner:

[0135] Determine whether the confidence level and topic weight of the first topic in the first topic list are greater than or equal to the corresponding threshold. The first topic list is the list of topics for the group message to be sent. The topic weight is the percentage of the number of characters in the first topic used to represent the topic category to the total number of characters in the group message to be sent.

[0136] If the confidence level of the first topic list is greater than or equal to the first confidence threshold, and the topic weight of the first topic list is greater than or equal to the first topic weight threshold, then the topic matching degree is determined based on the topic list of historical topics and the topic category of the first topic list.

[0137] In some embodiments, the confirmation module 930 determines the topic matching degree based on the topic list of historical topics and the topic categories of the first topic list in the following manner:

[0138] The second topic list is traversed, and the second topic list is a list of historical topics. If the second topic list and the first topic list meet the preset conditions, the topic is determined to be successfully matched. The preset conditions are: the topic category of the first topic exists in the topic category of the second topic list, the topic frequency of the second topic list is greater than or equal to the preset topic frequency threshold, and the topic proportion of the second topic list is greater than or equal to the second topic proportion threshold. The topic frequency is the number of times the first topic appears in the second topic list.

[0139] In some embodiments, after sending the group message to be sent to the target group, the confirmation module 930 is further configured to:

[0140] Iterate through the first topic list and determine whether the topic category of the first topic exists in the second topic list;

[0141] If the topic category of the first topic exists in the second topic list, update the second topic list based on the frequency of the first topic and the proportion of the second topic determined by the confidence level of the first topic;

[0142] If the topic category of the first topic does not exist in the second topic list, the first topic will be added to the second topic list.

[0143] In summary, the message sending control device, in response to a message sending command for a target group, retrieves the group message to be sent; determines the target topic based on the content of the group message; determines the matching degree between the target topic and the target group's historical topics; and sends the group message to the target group. This device solves the problem of reduced user efficiency and experience in preventing accidental message sending in related technologies, thus improving user efficiency and experience in preventing accidental message sending.

[0144] The methods and apparatus provided in the embodiments of this disclosure have been described above. To implement the functions of the methods provided in the embodiments of this disclosure, the electronic device may include a hardware structure and software modules, and may implement the above functions in the form of a hardware structure, software modules, or a hardware structure plus software modules. One of the above functions may be executed in the form of a hardware structure, software modules, or a hardware structure plus software modules.

[0145] Figure 10 This is a block diagram illustrating an electronic device 1000 for implementing the above-described message sending control method according to an exemplary embodiment.

[0146] For example, electronic device 1000 can be a mobile phone, computer, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0147] Reference Figure 10 The electronic device 1000 may include one or more of the following components: a processing component 1002, a memory 1004, a power supply component 1006, a multimedia component 1008, an audio component 1010, an input / output (I / O) interface 1012, a sensor component 1014, and a communication component 1016.

[0148] Processing component 1002 typically controls the overall operation of electronic device 1000, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1002 may include one or more processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1002 may include one or more modules to facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002.

[0149] Memory 1004 is configured to store various types of data to support the operation of electronic device 600. Examples of this data include instructions for any application or method operating on electronic device 1000, contact data, phonebook data, messages, pictures, videos, etc. Memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0150] Power supply component 1006 provides power to various components of electronic device 1000. Power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1000.

[0151] Multimedia component 1008 includes a screen that provides an output interface between electronic device 1000 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1008 includes a front-facing camera and / or a rear-facing camera. When electronic device 1000 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0152] Audio component 1010 is configured to output and / or input audio signals. For example, audio component 1010 includes a microphone (MIC) configured to receive external audio signals when electronic device 1000 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.

[0153] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0154] Sensor assembly 1014 includes one or more sensors for providing state assessments of various aspects of electronic device 1000. For example, sensor assembly 1014 may detect the on / off state of electronic device 1000, the relative positioning of components such as the display and keypad of electronic device 1000, changes in position of electronic device 1000 or a component of electronic device 1000, the presence or absence of user contact with electronic device 1000, the orientation or acceleration / deceleration of electronic device 1000, and temperature changes of electronic device 1000. Sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1014 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0155] Communication component 1016 is configured to facilitate wired or wireless communication between electronic device 1000 and other devices. Electronic device 1000 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR (NewRadio), or combinations thereof. In one exemplary embodiment, communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1016 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0156] In an exemplary embodiment, the electronic device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0157] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, which can be executed by a processor 1020 of an electronic device 1000 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0158] Embodiments of this disclosure also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the message sending control method described in the above embodiments of this disclosure.

[0159] Embodiments of this disclosure also provide a computer program product, including a computer program that is executed by a processor using the message sending control method described in the above embodiments of this disclosure.

[0160] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0161] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0162] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain.

[0163] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processing module, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (control method), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic device, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0164] It should be understood that various parts of the embodiments of this disclosure can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0165] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0166] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a single processing module, or each unit can exist physically separately, or two or more units can be integrated into a single module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The aforementioned storage medium can be a read-only memory, a hard disk, or an optical disk, etc.

[0167] Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure.

Claims

1. A message sending control method, characterized in that, The method includes: In response to a message sending command for a target group, retrieve the group messages to be sent; Based on the content of the group message to be sent, determine the target topic; Based on the matching degree between the target topic and the historical topics of the target group, the message to be sent is sent to the target group; The step of determining the matching degree between the target topic and the historical topics of the target group, and sending the group message to be sent to the target group, includes: Obtain the historical topics of the target group; The topic matching degree between the target topic and the historical topics is determined by a topic matching algorithm; Based on the topic matching degree, determine whether the group message to be sent is a falsely triggered message; If the message to be sent is the falsely triggered message, then the message to be sent is sent to the target group according to the user confirmation instruction; The step of determining whether the group message to be sent is a falsely triggered message based on the topic matching degree includes: Determine whether the confidence level and topic weight of the first topic in the first topic list are greater than or equal to the corresponding thresholds. The first topic list is the topic list of the group message to be sent. The topic weight is the percentage of the number of characters used to represent the topic category in the first topic to the total number of characters in the content of the group message to be sent. The first topic list includes at least topic information, topic, confidence level and topic weight. If the confidence level of the first topic is greater than or equal to the first confidence threshold, and the topic weight of the first topic is greater than or equal to the first topic weight threshold, then the topic matching degree is determined based on the topic list of the historical topics and the topic category of the first topic.

2. The method according to claim 1, characterized in that, Sending the pending group message to the target group according to the user's confirmation instruction includes: If the user confirmation instruction is to confirm sending, then the pending group message will be sent to the target group; If the user confirms that the message should be abandoned, then the message to be sent to the target group should be abandoned.

3. The method according to claim 1, characterized in that, The step of determining the target topic based on the content of the group message to be sent includes: The content of the group message to be sent is converted into structured message data. The structured message data includes a list of topics for the group message to be sent. The list of topics includes at least one topic, and each topic includes a topic category and a confidence level. The target topic is determined based on the topic category and confidence level of the structured message.

4. The method according to claim 3, characterized in that, Determining the topic matching degree based on the list of historical topics and the topic category of the first topic includes: The second topic list is traversed. The second topic list is the topic list of the historical topics. If the second topic list and the first topic list meet the preset conditions, the topic matching is determined to be successful. The preset conditions are: the topic category of the first topic exists in the topic category of the second topic list, the topic frequency of the second topic list is greater than or equal to the preset topic frequency threshold, and the topic proportion of the second topic list is greater than or equal to the second topic proportion threshold. The topic frequency is the number of times the first topic appears in the second topic list.

5. The method according to claim 4, characterized in that, After sending the group message to be sent to the target group, the method further includes: Iterate through the first topic list and determine whether the topic category of the first topic exists in the second topic list; If the topic category of the first topic exists in the second topic list, the second topic list is updated based on the frequency of the first topic and the proportion of the second topic determined by the confidence level of the first topic. If the topic category of the first topic does not exist in the second topic list, the first topic is added to the second topic list.

6. The method according to any one of claims 1 to 5, characterized in that, The group messages to be sent include one or more multimedia messages such as text, images, audio, video, and emoticons.

7. A message sending control device, characterized in that, The device includes: The acquisition module is used to acquire group messages to be sent in response to message sending instructions for a target group; The determination module is used to determine the target topic based on the content of the group message to be sent; The confirmation module is used to send the pending group message to the target group based on the matching degree between the target topic and the historical topics of the target group; The step of determining the matching degree between the target topic and the historical topics of the target group, and sending the group message to be sent to the target group, includes: Obtain the historical topics of the target group; The topic matching degree between the target topic and the historical topics is determined by a topic matching algorithm; Based on the topic matching degree, determine whether the group message to be sent is a falsely triggered message; If the message to be sent is the falsely triggered message, then the message to be sent is sent to the target group according to the user confirmation instruction; The step of determining whether the group message to be sent is a falsely triggered message based on the topic matching degree includes: Determine whether the confidence level and topic weight of the first topic in the first topic list are greater than or equal to the corresponding thresholds. The first topic list is the topic list of the group message to be sent. The topic weight is the percentage of the number of characters used to represent the topic category in the first topic to the total number of characters in the content of the group message to be sent. The first topic list includes at least topic information, topic, confidence level and topic weight. If the confidence level of the first topic is greater than or equal to the first confidence threshold, and the topic weight of the first topic is greater than or equal to the first topic weight threshold, then the topic matching degree is determined based on the topic list of the historical topics and the topic category of the first topic.

8. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Message sending control method, terminal and computer readable storage medium

    CN108039995A

  • Session message processing method and device

    CN110717011A