Private group chat method and system based on keyword interception and message visibility management

By receiving and identifying messages in the private group chat system, and dynamically managing the visibility of messages with context perception and personalized configuration, the problems of low keyword interception effectiveness and low message visibility management in the existing system are solved, and more efficient and flexible private group chat management is achieved.

CN119996367AActive Publication Date: 2025-05-13GUANGZHOU YUGANG NETWORK SECURITY TECHNOLOGY CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202510154269.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2025-05-13
Estimated Expiration
2045-02-12

AI Technical Summary

Technical Problem

In the complex language environment and changing communication scenarios, the existing private group chat system has low validity of keyword interception, low efficiency of message visibility management and poor flexibility.

Method used

By receiving messages in the target private group, identify the sender's permissions, and determine the keyword collection based on the group attributes and permissions. If the message contains these keywords, intercept it; otherwise, the visibility configuration information of the message is generated dynamically and the message is broadcast selectively to the group members.

Benefits of technology

It improves the effectiveness of keyword interception and the efficiency of message visibility management, enhances the flexibility and security of the system, and adapts to complex and changeable communication scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996367A_ABST
    Figure CN119996367A_ABST
Patent Text Reader

Abstract

The invention provides a private group chat method and system based on keyword interception and message visibility management, and relates to the field of communication. The method comprises the following steps: receiving a first message sent by a first member in a target private group, and identifying the authority of the first member; determining a keyword set according to the attribute of the target private group and the authority of the first member, and intercepting the first message when the content of the first message comprises any keyword in the keyword set; under the condition that the first message does not comprise all keywords in the keyword set, dynamically generating target visibility configuration information of the first message for each second member in combination with a context awareness algorithm and a personalized visibility configuration result; and selectively broadcasting the first message to all members or specified members in the target private group according to the target visibility configuration information of the first message for each second member. According to the technical scheme provided by the invention, the flexibility of keyword interception and message visibility management is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of communication technology, and in particular, to a private group chat method and system based on keyword interception and message visibility management. Background Art

[0002] In the current instant messaging and social networking environment, private group chat functions are widely used in project management, team communication, file sharing and other scenarios. In order to protect user privacy and ensure message security, developers have been exploring how to more effectively manage and control the spread and visibility of messages. Traditional private group chat systems usually use a broadcast messaging method, that is, once a message is sent, all members of the group can see it. Although this method is simple and direct, it lacks fine control over message dissemination, especially when it comes to sensitive content, which can easily lead to information leakage or inappropriate information exposure.

[0003] Existing private group chat systems mainly manage and control the scope and visibility of messages through static permission control, fixed keyword interception, and rule-based visibility configuration. Among them, the static permission control method is simple and easy to implement. For example, the administrator sets different speaking permissions for different members, which is suitable for situations where the permission structure is relatively fixed. The fixed keyword interception method can effectively prevent the spread of obviously illegal messages. The rule-based visibility configuration method manually configures the visibility of messages to different members, such as setting certain messages to be visible only to specific teams or roles.

[0004] However, static permission control lacks flexibility, fixed keyword interception has problems of false positives and missed negatives when the scenario changes, and rule-based visibility configuration is inefficient. Therefore, the existing private group chat system has problems of low keyword interception effectiveness, low message visibility management efficiency and poor flexibility in complex language environments and changing communication scenarios. Summary of the invention

[0005] The embodiments of the present application provide a private group chat method and system based on keyword interception and message visibility management, so as to solve the problems of low keyword interception effectiveness, low message visibility management efficiency and poor flexibility existing in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a private group chat method based on keyword interception and message visibility management, including:

[0007] receiving a first message sent by a first member of a target private group, and identifying permissions of the first member;

[0008] Determine a keyword set according to the attributes of the target private group and the authority of the first member, and when the content of the first message includes any keyword in the keyword set, intercept the first message so that the first message is invisible to all members of the target private group;

[0009] In the case where the first message does not include all the keywords in the keyword set, dynamically generating target visibility configuration information of the first message for each second member in combination with the context awareness algorithm and the personalized visibility configuration result, where the second member is a member other than the first member in the target private group;

[0010] According to the target visibility configuration information of the first message for each second member, the first message is selectively broadcast to all members or designated members in the target private group.

[0011] Optionally, the dynamically generating target visibility configuration information of the first message for each second member by combining the context awareness algorithm and the personalized visibility configuration result includes:

[0012] Obtaining initial visibility configuration information of the first message for each second member;

[0013] In a case where the group configuration information of the target private group indicates that there is a situational awareness requirement and a personalized visibility configuration requirement, a multimodal parsing algorithm is used to extract features of the first message, and a preset classification algorithm is applied to classify the first message into a media type according to the features of the first message to obtain a media type of the first message, where the media type is text, image, audio, video, file, business card, positioning message, email, or chat record;

[0014] Based on the media type of the first message, combined with the role and authority of each second member, applying a security assessment algorithm, assessing the security of the first message for each second member, and obtaining a security assessment result of the first message for each second member;

[0015] Adjust visibility configuration information based on the security assessment result of the first message for each second member to obtain intermediate visibility configuration information of the first message for each second member;

[0016] In combination with the situation awareness algorithm and the personalized visibility configuration result, the intermediate visibility configuration information of the first message for each second member is optimized to obtain the target visibility configuration information of the first message for each second member.

[0017] Optionally, the obtaining of initial visibility configuration information of the first message for each second member includes:

[0018] Construct a multi-level knowledge graph corresponding to the target private group, wherein the multi-level knowledge graph includes multi-level nodes and edges, wherein the first-level nodes in the multi-level nodes are used to represent members in the target private group, the second-level nodes are used to represent the teams to which the members belong, and the third-level nodes are used to represent the projects in which the teams participate; different edges are used to reflect the relationship between different nodes, and each node has corresponding node attributes;

[0019] According to the content of the first message and the multi-level knowledge graph, the purpose of the group chat of the first message is determined, and based on the purpose of the group chat of the first message, the initial visibility configuration information of the first message for each second member is determined, and the content of the first message includes at least one of the following: project name, team name and member name.

[0020] Optionally, the combining of the context awareness algorithm and the personalized visibility configuration result to optimize the intermediate visibility configuration information of the first message for each second member to obtain the target visibility configuration information of the first message for each second member includes:

[0021] Based on the node attributes in the multi-level knowledge graph, the context perception results of each second member are determined by using a context perception algorithm; the node attributes include context features, and the context features include: time, geographic location and activity status. The context perception results of the second member are used to indicate: whether the second member is in the working time period, whether he is in the office area, and whether he is in the project discussion stage;

[0022] Based on the node attributes in the multi-level knowledge graph, combined with user profiling technology and collaborative filtering algorithm, a personalized visibility configuration result of each second member is constructed, wherein the node attributes include the role, authority and historical messages of the second member;

[0023] The situational perception results and personalized visibility configuration results of each second member are integrated to obtain a fusion result, and the intermediate visibility configuration information of the first message for each second member is optimized according to the fusion result to obtain the target visibility configuration information of the first message for each second member.

[0024] Optionally, the method of constructing a personalized visibility configuration result of each second member based on the node attributes in the multi-level knowledge graph in combination with user profiling technology and collaborative filtering algorithm includes:

[0025] Based on the node attributes in the multi-level knowledge graph, the user portrait information of the second member is constructed using user portrait technology;

[0026] Based on the user portrait information of the second member, a collaborative filtering algorithm is used to perform collaborative filtering between members and collaborative filtering between messages to obtain the collaborative filtering results of the second member and the filtering results of the first message; in the collaborative filtering process, the cosine similarity is used to calculate the similarity between the second members;

[0027] The user portrait information of the second member, the collaborative filtering results of the second member and the filtering results of the first message are integrated to obtain the personalized visibility configuration results of each second member.

[0028] Optionally, the applying a security assessment algorithm based on the media type of the first message in combination with the role and authority of each second member to assess the security of the first message for each second member, and obtaining a security assessment result of the first message for each second member includes:

[0029] Obtaining a mapping relationship between the role and permission of each second member and the media type of the first message, as well as context information of the first message;

[0030] Based on the mapping relationship, applying a security assessment algorithm, assessing the security of the first message for each second member to obtain an initial security score value, and assessing the security of the context information for each second member to obtain a context security score value;

[0031] Determine the influence of the context security score value based on the association between the context information and the first message, and determine the product of the influence of the context security score value and the context security score value as the adjustment value;

[0032] The adjustment value and the initial security score value are added to obtain a security evaluation result of the first message for each second member.

[0033] Optionally, selectively broadcasting the first message to all members or designated members in the target private group according to the target visibility configuration information of each second member in the first message includes:

[0034] Parsing the target visibility configuration information of each second member in the first message to obtain a visibility level, a time window, and a geographical restriction;

[0035] Classify the second members into multiple groups based on visibility level, time window and geographical restrictions;

[0036] Execute the message broadcast strategy corresponding to each group, and selectively broadcast the first message to all members or designated members in the target private group according to the message broadcast strategy.

[0037] In a second aspect, an embodiment of the present application provides a private group chat system based on keyword interception and message visibility management, including:

[0038] A receiving and identifying module, configured to receive a first message sent by a first member of a target private group and identify the authority of the first member;

[0039] a determination interception module, configured to determine a keyword set according to the attributes of the target private group and the authority of the first member, and intercept the first message when the content of the first message includes any keyword in the keyword set, so that the first message is invisible to all members of the target private group;

[0040] a generating module, configured to dynamically generate target visibility configuration information of the first message for each second member in combination with a context-aware algorithm and a personalized visibility configuration result when the first message does not include all keywords in the keyword set, where the second member is a member other than the first member in the target private group;

[0041] The broadcast module calls and selectively broadcasts the first message to all members or designated members in the target private group according to the target visibility configuration information of each second member of the first message.

[0042] In a third aspect, an embodiment of the present application provides a computing device, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement a private group chat method based on keyword interception and message visibility management as described in any one of the first aspects.

[0043] In a fourth aspect, an embodiment of the present application provides a computer storage medium storing a computer program. When the computer program is executed by a computer, it implements a private group chat method based on keyword interception and message visibility management as described in any one of the first aspects.

[0044] In an embodiment of the present application, a private group chat method based on keyword interception and message visibility management is provided, including: receiving a first message sent by a first member in a target private group, and identifying the authority of the first member; determining a keyword set according to the attributes of the target private group and the authority of the first member, and when the content of the first message includes any keyword in the keyword set, intercepting the first message so that the first message is invisible to all members of the target private group; when the first message does not include all keywords in the keyword set, dynamically generating target visibility configuration information of the first message for each second member in combination with a scenario-aware algorithm and a personalized visibility configuration result, the second member being other members of the target private group except the first member; and selectively broadcasting the first message to all members or designated members of the target private group according to the target visibility configuration information of the first message for each second member.

[0045] The embodiment of the present application comprehensively considers the attributes of the target private group and the permissions of the first member, and can more accurately determine the corresponding keyword set to ensure the effectiveness and pertinence of keyword interception. Combined with the scenario-aware algorithm and the personalized visibility configuration results, the target visibility configuration information of the first message for each second member is accurately managed, so that the target visibility configuration information can be flexibly adjusted according to the actual situation, which can improve the efficiency and flexibility of message visibility management, thereby improving the security and user experience of the private group chat system, and adapting to complex language environments and changing communication scenarios. Specifically, by constructing a multi-level knowledge graph and using a multimodal parsing algorithm to extract message features, it is possible to understand the content and background of the message, automatically determine the initial visibility configuration, and improve the intelligence level of message management. Considering the scenario-aware needs and personalized visibility configuration needs of the target private group, the final target visibility configuration information is dynamically generated. This flexibility enables the private group chat system to adapt to a variety of usage scenarios and provide a more personalized service experience.

[0046] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] Figure 1 A flowchart of a private group chat method based on keyword interception and message visibility management provided in an embodiment of the present application;

[0049] Figure 2 A structural diagram of a private group chat system based on keyword interception and message visibility management provided in an embodiment of the present application;

[0050] Figure 3 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0052] Figure 1 A flowchart of a private group chat method based on keyword interception and message visibility management provided in an embodiment of the present application, such as Figure 1 As shown, the method includes:

[0053] S11. Receive a first message sent by a first member in a target private group, and identify permissions of the first member.

[0054] It should be understood that the private group chat method based on keyword interception and message visibility management can be executed by a private group chat system, which can manage multiple private groups, wherein the target private chat group is any private group managed by the private group chat platform. The first message can be any multimedia type of message, such as: text, image, audio, video, file, business card, positioning message, email, chat record, etc. The first member is the member who sends the first message.

[0055] It should also be understood that in the target private group, different members have different permissions, for example: senior administrators correspond to senior management permissions, ordinary administrators correspond to ordinary management permissions, and ordinary members correspond to general permissions.

[0056] Specifically, a senior administrator with senior management privileges has the following functions: (1.1) manage all settings of the entire private group, including member addition / removal, permission allocation, etc.; (1.2) view all messages blocked by a keyword set and decide whether to release or further process; (1.3) adjust the message visibility configuration of any member and set personalized visibility rules; (1.4) formulate and update security policies such as keyword sets and context-aware rules. For example, senior administrator A can add a new member B to the private group chat of the development team and grant him ordinary administrator privileges. A can view and approve a message containing sensitive information that was originally automatically blocked by the system because it contained the keyword "confidential". A can dynamically adjust the message visibility configuration of certain members according to the progress of the project. For example, some members of the marketing team can view part of the development progress during the critical stage of the project.

[0057] Ordinary administrators with ordinary management permissions have the following functions: (2.1) can add or remove ordinary members, but cannot adjust the permissions of other administrators; (2.2) can view and manage messages sent by ordinary members, but cannot view private messages of senior administrators; (2.3) can set basic visibility configurations for ordinary members, but cannot modify complex rules set by senior administrators; (2.4) can adjust keyword sets and context-aware rules within a certain range, but require approval from senior administrators. For example, ordinary administrator B can add a new developer C to the development team and grant him ordinary member permissions. B can view and process messages sent by ordinary members to ensure that the message content meets security standards. B can set simple visibility rules for ordinary members, such as limiting certain sensitive information to be visible only during working hours.

[0058] Ordinary members with general permissions have the following functions: (3.1) can send and receive messages within the group, but are limited by the keyword set and the corresponding visibility configuration; (3.2) according to the visibility configuration, can only view the message content that they have permission to view; (3.3) can report suspected inappropriate messages to the administrator, but have no right to deal with them directly. For example, ordinary member C can send a message about code issues in the target private group, but if the message contains the keyword "password", it will be automatically intercepted by the private group chat system. C can only see the message content that the administrator has reviewed and believes that C has the permission to view, such as project progress, task assignment, etc. If C finds a suspected inappropriate message, then C can report it to the administrator, who will handle it further.

[0059] The above permission identification ensures the legitimacy of the message source. Only members with corresponding permissions can send messages, which enhances the security of the private group chat system.

[0060] S12. Determine a keyword set according to the attributes of the target private group and the authority of the first member, and when the content of the first message includes any keyword in the keyword set, intercept the first message so that the first message is invisible to all members of the target private group.

[0061] It should be understood that a keyword set is a group of sensitive or prohibited keywords, usually set by an administrator to filter message content. Interception is the act of preventing the first message from being seen by other members. The embodiment of the present application can customize keyword sets for different types of private groups, such as industry-specific vocabulary such as finance, medical care, and education.

[0062] It should also be understood that the attributes of the target private group include business characteristics of the industry field, group type (such as the company's overall team, project team, department discussion group, temporary working group, etc.), security level, etc. Among them, different security levels affect the strictness of the keyword set. Specifically, the keyword set with a high security level is more stringent and contains more sensitive words, such as "confidential", "password", "source code", etc. The private group chat system may enable more complex filtering rules and situational awareness mechanisms to ensure that all messages meet the highest security standards. The keyword set with a medium security level is more moderate and contains some common but important sensitive words, such as "contract", "quotation", etc. The private group chat system adopts a balanced security strategy to ensure information security without affecting work efficiency. The keyword set with a low security level is relatively loose, mainly containing a small number of basic sensitive words, such as "urgent", "important", etc. The private group chat system may allow more messages to pass through, which is suitable for open or low-sensitivity communication scenarios.

[0063] Analysis of the above technical solutions shows that: the keyword set effectively prevents the leakage of sensitive information, and by dynamically adjusting the keyword set, it can adapt to different business needs and security requirements. The real-time interception mechanism improves the response speed of the private group chat system and can prevent the spread of inappropriate messages in the first place. Combining the attributes of the target private group and the permissions of the first member, the private group chat system can more accurately manage and control the visibility and security of messages in the private group chat, ensuring that the delivery of the first message is both efficient and secure. This layered and customized security management mechanism not only improves the flexibility of the private group chat system, but also better adapts to complex and changing business needs.

[0064] S13. When the first message does not include all the keywords in the keyword set, dynamically generate target visibility configuration information of the first message for each second member in combination with the context-aware algorithm and the personalized visibility configuration result. The second members are other members in the target private group except the first member.

[0065] It should be understood that the context-aware algorithm can use factors such as time, geographic location, and activity status to evaluate the impact of the current context on message visibility. The personalized visibility configuration result can refer to the customized message visibility configuration based on each member's role, authority, historical behavior, etc. The target visibility configuration information refers to the finalized message visibility settings, including visibility level, time window, and geographic restrictions.

[0066] For example, all members of the development team in the target private group can view all the contents of the first message during working hours and in the office area, while some members of the marketing team (such as the team leader of the marketing team) can view part of the contents of the first message during non-working hours and in the office area.

[0067] In step S13, context awareness and personalized configuration improve the flexibility and accuracy of message management, ensuring that message delivery meets both security requirements and personalized needs. The dynamic generation mechanism can adaptively adjust and continuously optimize message management strategies to improve user experience.

[0068] S14. According to the target visibility configuration information of the first message for each second member, selectively broadcast the first message to all members or designated members in the target private group.

[0069] Specifically, according to the target visibility configuration information of each second member in the first message, one or more of the following operations are performed:

[0070] a) Visible to all: If the target visibility configuration information of the first message for all second members collectively indicates that all content is open to all members, the first message is directly broadcast to all members in the entire target private group.

[0071] b) Partially visible mode, including at least one of the following:

[0072] If the target visibility configuration information of the first message for some second members indicates that all contents are to be disclosed to these members, the first message will be broadcast to these members. Therefore, the first message in the embodiment of the present application is only visible to certain specific members, ensuring that the first message will not be leaked to irrelevant persons.

[0073] If the target visibility configuration information of the first message for some second members indicates that part of the content is to be disclosed to these members, the other undisclosed parts of the first message are blurred or made private so that the disclosed parts can be broadcast to some members.

[0074] c) Post-review visibility mode: For first messages that require additional review, it can be set to be submitted to the administrator or a member with review authority for approval first. After approval, the final visibility of the first message will be determined based on the review result.

[0075] d) Private message mode: allows the first member to select one or more specific members as recipients, forming a one-to-one or one-to-many private conversation, in which case the message is only visible to the selected recipients.

[0076] Therefore, selective broadcasting refers to configuring information based on target visibility to decide which members or all members to broadcast the message to. Selective broadcasting ensures the security and targeting of messages, avoids unnecessary information exposure, and protects sensitive data. Refined management improves communication efficiency, ensures that messages are only conveyed to those who need to know, and reduces interference from irrelevant personnel.

[0077] Analysis of the above technical solutions shows that: by executing steps S11 to S14, the embodiments of the present application can use keyword sets and real-time interception mechanisms to effectively prevent messages containing sensitive content from spreading within the target private group. The strictness of the keyword set is determined by the security level of the group to ensure that security requirements in different business scenarios are met. The real-time interception mechanism ensures that sensitive information will not be spread to other members unintentionally or maliciously, thereby enhancing the security of the private group chat system. Combined with the scenario-aware algorithm and personalized visibility configuration results, the target visibility configuration information for each member is dynamically generated to ensure that message transmission meets both security requirements and personalized needs.

[0078] In addition, the embodiment of the present application can continuously optimize visibility configuration according to actual conditions and member feedback to maintain the best security strategy and communication effect. The selective broadcast mechanism ensures that the message is only conveyed to those who need to know, reduces interference from irrelevant personnel, improves communication efficiency, and ensures the pertinence and security of the first message transmission, thereby improving the user experience.

[0079] Through situational awareness and personalized configuration, the private group chat system can more accurately assess the security and visibility of the first message, reducing unnecessary false positives and missed positives. Through hierarchical permission management and customized keyword sets, the private group chat system can more finely control the visibility and security of the first message. Therefore, the embodiment of the present application can not only accurately manage and control the visibility and security of messages in the private group chat, but also ensure that the security and personalized needs of the first message are fully considered. This method overcomes the shortcomings of the prior art and provides a more flexible, accurate and efficient private group chat management solution.

[0080] In a possible embodiment, after step S14, the embodiment of the present application may further perform steps 15 and 16.

[0081] S15. According to the completed message processing process, the results of each message processing are recorded and saved to generate a detailed message processing log. Specifically, the results of message processing include sender information, receiver information, message content summary (desensitization), keyword matching, visibility configuration details, broadcast range, etc. The results of message processing are stored in a structured manner in a secure log system to ensure data integrity and security. This step can clarify the processing process of each message, facilitate tracking of responsibilities, and ensure the transparency and traceability of the system. When an abnormal situation occurs, the embodiment of the present application can quickly locate the problem through the log and improve the efficiency of troubleshooting.

[0082] S16. Send a second message indicating instant feedback to the first member based on the processing status of the first message, so as to inform the first member whether the first message is successfully sent or intercepted, as well as the specific visibility configuration details. The feedback of the second message can be in the form of a pop-up window, text message, email, or direct display in the group to ensure that the first member can quickly obtain instant feedback. If the first message is intercepted or not sent as expected, the first member can adjust the message content or resend it in time based on the instant feedback. For the first message containing sensitive information, instant feedback can help the first member realize the potential security risks and take necessary preventive measures.

[0083] It can be seen from the above description that this embodiment provides detailed log recording and saving functions to ensure the traceability and security of the message processing process, and provides strong support for auditing, troubleshooting and security monitoring. Through the instant feedback mechanism, the first member can quickly understand the processing status and visibility setting details of the first message, which enhances the transparency and accuracy of communication, while helping users to correct errors in a timely manner and promote teamwork. The embodiment of the present application is not only suitable for complex communication scenarios within an enterprise, but can also be widely used in various industries.

[0084] In order to accurately and dynamically generate the target visibility configuration information of the first message for each second member, the embodiment of the present application can establish a dynamic generation process. Exemplarily, in one possible embodiment, combining the context-aware algorithm and the personalized visibility configuration result, dynamically generating the target visibility configuration information of the first message for each second member includes:

[0085] Step 131: Obtain initial visibility configuration information of the first message for each second member. It should be understood that the initial visibility configuration information refers to the message visibility rules set by the private group chat system for each second member based on the multi-level knowledge graph and the content of the first message at the initial stage of message processing. These rules determine whether the second member can see, partially see, or not see the first message at all.

[0086] As a possible implementation manner, step 131, obtaining initial visibility configuration information of the first message for each second member, includes:

[0087] Step a1, construct a multi-level knowledge graph corresponding to the target private group. The multi-level knowledge graph includes multi-level nodes and edges. The first-level nodes in the multi-level nodes are used to represent the members in the target private group, the second-level nodes are used to represent the team to which the members belong, and the third-level nodes are used to represent the projects in which the team participates; different edges are used to reflect the relationship between different nodes, and each node has corresponding node attributes. Edges represent the relationship between different nodes, such as members belonging to a certain team, teams participating in a certain project, etc. The multi-level knowledge graph provides a clear organizational structure view, which is convenient for understanding and managing complex relationship networks. The multi-level knowledge graph covers multi-level information from individual members to the entire project, ensuring the comprehensiveness and completeness of information management. The multi-level knowledge graph can be dynamically updated according to actual conditions to ensure the real-time and accuracy of information. Based on the rich node attributes in the multi-level knowledge graph, a more refined message visibility configuration can be achieved to meet the personalized needs in different scenarios.

[0088] Step a2: Determine the purpose of the group chat of the first message based on the content of the first message and the multi-level knowledge graph, and determine the initial visibility configuration information of the first message for each second member based on the purpose of the group chat of the first message. The content of the first message includes at least one of the following: project name, team name, and member name. Specifically, analyze the content of the first message and extract key information therein, such as project name, team name, or member name. Combined with the multi-level knowledge graph, determine the purpose of the group chat of the first message, such as whether it is about project progress, task assignment, or daily communication. Based on the purpose of the group chat, generate initial visibility configuration information for each second member to ensure that message transmission meets both security requirements and personalized needs.

[0089] Analysis of the above technical solution shows that: by executing steps a1-a2, the embodiment of the present application provides a clear organizational structure view, which is convenient for understanding and managing complex relationship networks. Moreover, by clarifying the purpose of the group chat, the present embodiment enables the private group chat system to more accurately configure the visibility of the first message, thereby ensuring the effectiveness and pertinence of the first message delivery. Based on the purpose of the group chat and the attributes of the members, a personalized visibility configuration is generated, which improves the flexibility and adaptability of the first message delivery. A clear group chat purpose helps members better understand the message background, promotes effective communication and collaboration, and ultimately makes the private group chat system more intelligent, efficient and secure, meeting complex and changing business needs.

[0090] Step 132: When the group configuration information of the target private group indicates the existence of situational awareness requirements and personalized visibility configuration requirements, a multimodal parsing algorithm is used to extract features of the first message, and a preset classification algorithm is applied to classify the media type of the first message according to the features of the first message to obtain the media type of the first message, where the media type is text, image, audio, video, file, business card, positioning message, email, or chat record. It should be understood that a multimodal parsing algorithm refers to an algorithm for processing multiple data types, which can simultaneously parse message content in multiple forms such as text, image, audio, video, etc., and extract its features. Feature extraction refers to extracting key information from a message that is helpful for classification and evaluation, such as keywords in text, visual features in images, voiceprint features in audio, etc. The preset classification algorithm is a pre-set machine learning or deep learning algorithm used to classify the first message into a specific media type.

[0091] It should be noted that when the media type of the first message is text, the embodiment of the present application can apply natural language processing technology to identify the language structure type of the first message, and generate visibility configuration information of the first message for each second member based on the media type of the first message and the language structure type of the first message.

[0092] Step 133: Based on the media type of the first message, combined with the role and authority of each second member, a security assessment algorithm is applied to assess the security of the first message for each second member, and a security assessment result of the first message for each second member is obtained. Step 133 can implement personalized security assessment, ensure the security and effectiveness of the first message transmission, reduce false positives and false negatives, and improve user experience and the reliability of the private group chat system.

[0093] Exemplarily, as a possible implementation, step 133, based on the media type of the first message, combined with the role and authority of each second member, applying a security assessment algorithm, assessing the security of the first message for each second member, and obtaining a security assessment result of the first message for each second member, includes:

[0094] Step b1: Obtain the mapping relationship between the role and permission of each second member and the media type of the first message, as well as the context information of the first message. The context information may refer to historical messages in the target private group before the first message.

[0095] Step b2: Based on the mapping relationship, apply a security assessment algorithm to assess the security of the first message for each second member to obtain an initial security score value, and assess the security of the context information for each second member to obtain a context security score value.

[0096] Step b3: Determine the influence of the context security score value based on the correlation between the context information and the first message, and determine the product of the influence of the context security score value and the context security score value as the adjustment value.

[0097] Step b4: Add the adjustment value and the initial security score value to obtain a security evaluation result of the first message for each second member.

[0098] Exemplarily, the security assessment result of the first message for each second member is:

[0099] F i =w S ·S i +w C ·(C i ×D i );

[0100] Among them, F i is the security evaluation result of the first message for the i-th second member in the target private group, i starts from 1 and continues to N, N is the total number of second members in the target private group, S i is the initial security score of the first message for the i-th second member in the target private group, C i is the contextual security score of the context information for the i-th second member in the target private group, D i is the influence of the contextual security score value for the i-th second member in the target private group, C i ×D i Used to indicate adjustment value; w S and w C are the adjustment coefficients of the corresponding items, respectively, through w S and w C With the introduction of the present invention, the embodiment of the present application can dynamically adjust the importance of the initial security scoring item and the context scoring item, making the embodiment of the present application more flexible and adaptable to different application scenarios.

[0101] By executing steps b1-b4, the embodiment of the present application combines roles, permissions and context information, so that the private group chat system can adjust security policies more flexibly and adapt to different communication scenarios. The embodiment of the present application can ensure that the permissions of each second member match the message types that they can receive, and better understand the background of the current message through the context information of historical messages. The embodiment of the present application independently evaluates the first message and context information to generate personalized initial and context security score values, thereby improving the accuracy and pertinence of the evaluation. The embodiment of the present application ensures the rationality of the adjustment value by evaluating the correlation between the context information and the first message, thereby achieving more refined security management. The final security assessment result comprehensively considers the security score of the first message and the context information, ensuring the comprehensiveness and accuracy of the assessment result. The embodiment of the present application ensures that the delivery of the first message meets both security requirements and personalized needs through accurate security assessment, enhances the user's sense of trust and satisfaction, and improves communication efficiency.

[0102] Step 134: Based on the security assessment result of the first message for each second member, adjust the visibility configuration information to obtain the intermediate visibility configuration information of the first message for each second member.

[0103] For example, before the adjustment, a certain initial visible configuration information is visible to all contents of member A1 in the marketing team. After the adjustment, the corresponding intermediate visibility configuration information is visible to part of the contents of member A1 in the marketing team. For another example, before the adjustment, a certain initial visible configuration information is invisible to member B1 in the R&D team. After the adjustment, the corresponding intermediate visibility configuration information is visible to part of the contents of member B1 in the R&D team.

[0104] Step 135: In combination with the context awareness algorithm and the personalized visibility configuration result, the intermediate visibility configuration information of the first message for each second member is optimized to obtain the target visibility configuration information of the first message for each second member.

[0105] As a possible implementation manner, step 135, combining the context awareness algorithm and the personalized visibility configuration result, optimizing the intermediate visibility configuration information of the first message for each second member, and obtaining the target visibility configuration information of the first message for each second member, includes:

[0106] Step c1: Based on the node attributes in the multi-level knowledge graph, the context-aware algorithm is used to determine the context-aware results of each second member; the node attributes include context features, and the context features include: time, geographic location, and activity status. The context-aware results of the second member are used to indicate: whether the second member is in the working time period, whether he is in the office area, and whether he is in the project discussion stage. It should be understood that the context-aware algorithm is an algorithm that can dynamically adjust the system behavior according to context features (such as time, location, and activity status), and is used to evaluate the impact of the current context on the visibility of the message.

[0107] Step c2: Based on the node attributes in the multi-level knowledge graph, combined with user profiling technology and collaborative filtering algorithm, construct the personalized visibility configuration results of each second member. The node attributes include the role, authority and historical messages of the second member.

[0108] Specifically, step c2, based on the node attributes in the multi-level knowledge graph, combined with user profiling technology and collaborative filtering algorithm, constructs the personalized visibility configuration results of each second member, including:

[0109] Step c21: Based on the node attributes in the multi-level knowledge graph, the user portrait information of the second member is constructed using the user portrait technology. The node attributes in the multi-level knowledge graph include roles, permissions, departments, historical behaviors, etc. The user portrait information of the second member is used to reflect the interests, preferences, behavior patterns, etc. of the second member. Through detailed user portraits, the private group chat system can more comprehensively understand the needs and behavior patterns of each member, providing technical support for subsequent personalized configuration.

[0110] Step c22: Based on the user portrait information of the second member, collaborative filtering is performed between members and between messages using a collaborative filtering algorithm to obtain the collaborative filtering results of the second member and the filtering results of the first message; in the collaborative filtering process, the similarity between the second members is calculated using cosine similarity. It should be understood that collaborative filtering between members may refer to using user portrait information to calculate the similarity between second members (such as using cosine similarity) to find members with similar interests and behavior patterns. Collaborative filtering between messages may refer to: evaluating the correlation between different messages to determine which messages may be more valuable to specific members.

[0111] Step c23, integrate the user portrait information of the second member, the collaborative filtering results of the second member and the filtering results of the first message to obtain the personalized visibility configuration results of each second member. It should be understood that integration can be understood as information fusion. Through collaborative filtering between members, the system can intelligently recommend members who may be interested to view specific messages, thereby improving the efficiency and accuracy of the first message delivery. Through collaborative filtering between messages, the system can discover potential message associations, ensure that relevant information will not be missed, and enhance the integrity of the information.

[0112] By executing steps c21 to c23, the embodiment of the present application can achieve accurate visibility configuration, ensuring that the delivery of the first message meets both security requirements and personalized needs, enhancing the user's sense of trust and satisfaction, and improving communication efficiency.

[0113] Step c3: Fuse the situational perception results and personalized visibility configuration results of each second member to obtain a fusion result, and optimize the intermediate visibility configuration information of the first message for each second member according to the fusion result to obtain the target visibility configuration information of the first message for each second member.

[0114] The fusion result is to combine the situational awareness result and the personalized visibility configuration result to form a comprehensive evaluation result, which is used to ensure the security and pertinence of the first message delivery. Exemplarily, the fusion result includes the visible time window and geographical restrictions of the first message for the second member, for example, the text can be displayed for 10 days, the image can be displayed for 3 hours; it is visible in the office area and visible inside the non-office area.

[0115] By executing steps c1 to c3, the embodiment of the present application can utilize the context features in the multi-level knowledge graph and determine the real-time context perception results of the second member through the context perception algorithm to determine whether the second member is in the working time period, office area, and project discussion stage. Then, combining user profiling technology and collaborative filtering algorithm, a personalized visibility configuration result is constructed based on the role, authority, and historical messages of the second member.

[0116] Finally, the situational awareness results and personalized visibility configuration results are integrated to optimize the intermediate visibility configuration information of the first message for each second member, and generate the final target visibility configuration information. Through the combination of situational awareness algorithm and user portrait technology, the private group chat system can dynamically adapt to the real-time situation of different members, accurately control the visibility of the first message, reduce unnecessary information exposure, and improve communication efficiency and user experience. At the same time, the personalized configuration based on the collaborative filtering algorithm makes the delivery of the first message more targeted and promotes effective team collaboration. In summary, the embodiment of the present application not only enhances the flexibility and accuracy of message management, but also greatly improves the reliability and user satisfaction of the private group chat system.

[0117] By executing steps 131-135, the embodiment of the present application can ensure that the features of different types of messages can be effectively extracted through multimodal analysis, thereby improving the accuracy of classification. The situational awareness requirements and personalized visibility configuration requirements enable the system to flexibly adjust strategies according to actual conditions and adapt to complex and changing communication scenarios. Automated feature extraction and classification reduce manual intervention and improve processing speed and efficiency. The private group chat system can handle various types of multimedia messages, ensuring that different forms of information can be effectively managed and controlled.

[0118] In a possible embodiment, step S14, selectively broadcasting the first message to all members or designated members in the target private group according to the target visibility configuration information of each second member in the first message, includes:

[0119] Step 141: parse the target visibility configuration information of the first message for each second member to obtain visibility level, time window and geographical restriction, wherein the visibility level includes all contents are fully visible, some contents are visible, all contents are completely invisible, etc.

[0120] Step 142: Classify the second members according to the visibility level, time window and geographical restriction to obtain multiple groups.

[0121] For example, group 1 includes 5 second members, all contents in the first message are fully visible to the 5 second members, and can be displayed for 6 hours, and the 5 second members are all in the office area. Group 2 includes 3 second members, and part of the contents in the first message are visible to the 3 second members, and can be displayed for 6 hours, and the 3 second members can be in the office area or in the non-office area.

[0122] Step 143: Execute the message broadcast strategy corresponding to each group, and selectively broadcast the first message to all members or designated members in the target private group according to the message broadcast strategy.

[0123] Exemplarily, for group 1, all contents in the first message are broadcast to all members of group 1; for group 2, part of the contents in the first message are broadcast to all members of group 2.

[0124] Optionally, the priority of group 1 is higher than that of group 2, so that the first message is preferentially received by the second member in group 1 when the network pressure is high.

[0125] By executing steps 141-143, the embodiment of the present application can analyze the visibility configuration information in detail, so that the private group chat system can more finely control the visibility and dissemination range of the first message, thereby ensuring the security and effectiveness of the first message transmission. The embodiment of the present application simplifies the subsequent message broadcast process by classifying the second members, improves the processing speed and efficiency, and ensures the personalization and accuracy of the first message transmission. According to the group classification and broadcast strategy, the embodiment of the present application enables the private group chat system to accurately deliver the first message to those who need to know, reduces interference from irrelevant personnel, and improves communication efficiency. The second member can clearly know which content in the first message is visible to him and which content is restricted, thereby enhancing the user's trust and satisfaction.

[0126] It should be understood that in order to execute the private group chat method based on keyword interception and message visibility management, the embodiment of the present application can establish a private group chat platform that supports keyword interception and message visibility management. The private group chat platform or the private group chat system based on keyword interception and message visibility management can also support multimedia types, such as: text, image, audio, video, file, business card, location message, email, chat history, etc. Exemplary, Figure 2 A structural diagram of a private group chat system based on keyword interception and message visibility management provided in an embodiment of the present application, such as Figure 2 As shown, the system includes:

[0127] The receiving and identifying module 21 is configured to receive a first message sent by a first member in a target private group and identify the authority of the first member.

[0128] The interception module 22 is used to determine a keyword set according to the attributes of the target private group and the authority of the first member, and intercept the first message when the content of the first message includes any keyword in the keyword set, so that the first message is invisible to all members of the target private group.

[0129] The generation module 23 is used to dynamically generate target visibility configuration information of the first message for each second member in combination with the scenario-aware algorithm and the personalized visibility configuration result when the first message does not include all the keywords in the keyword set. The second members are other members in the target private group except the first member.

[0130] The broadcast module 24 calls and selectively broadcasts the first message to all members or designated members in the target private group according to the target visibility configuration information of each second member of the first message.

[0131] Figure 2 The private group chat system based on keyword interception and message visibility management can be performed Figure 1The implementation principle and technical effect of the private group chat method based on keyword interception and message visibility management described in the illustrated embodiment will not be described in detail. The specific manner in which each module and unit performs operations in the private group chat system based on keyword interception and message visibility management in the above embodiment has been described in detail in the embodiment of the method, and will not be elaborated here.

[0132] In one possible design, Figure 2 The private group chat system based on keyword interception and message visibility management of the illustrated embodiment can be implemented as a computing device, such as Figure 3 As shown, the computing device may include a storage component 31 and a processing component 32 .

[0133] The storage component 31 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component 32 .

[0134] The processing component 32 is used to: receive a first message sent by a first member in a target private group and identify the authority of the first member; determine a keyword set according to the attributes of the target private group and the authority of the first member, and when the content of the first message includes any keyword in the keyword set, intercept the first message to make the first message invisible to all members in the target private group; when the first message does not include all keywords in the keyword set, dynamically generate target visibility configuration information of the first message for each second member in combination with a scenario-aware algorithm and a personalized visibility configuration result, where the second member is other members of the target private group except the first member; and selectively broadcast the first message to all members or designated members in the target private group according to the target visibility configuration information of the first message for each second member.

[0135] The processing component 32 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method.

[0136] The storage component 31 is configured to store various types of data to support operations at the terminal. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof.

[0137] The present application also provides a computer storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 1 The illustrated embodiment is a private group chat method based on keyword interception and message visibility management.

[0138] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0139] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A private group chat method based on keyword interception and message visibility management, characterized in that: include: receiving a first message sent by a first member of a target private group, and identifying permissions of the first member; Determine a keyword set according to the attributes of the target private group and the authority of the first member, and when the content of the first message includes any keyword in the keyword set, intercept the first message so that the first message is invisible to all members of the target private group; In the case where the first message does not include all the keywords in the keyword set, dynamically generating target visibility configuration information of the first message for each second member in combination with the context awareness algorithm and the personalized visibility configuration result, where the second member is a member other than the first member in the target private group; According to the target visibility configuration information of the first message for each second member, the first message is selectively broadcast to all members or designated members in the target private group.

2. The method according to claim 1, characterized in that The dynamically generating target visibility configuration information of the first message for each second member by combining the context awareness algorithm and the personalized visibility configuration result includes: Obtaining initial visibility configuration information of the first message for each second member; In a case where the group configuration information of the target private group indicates that there is a situational awareness requirement and a personalized visibility configuration requirement, a multimodal parsing algorithm is used to extract features of the first message, and a preset classification algorithm is applied to classify the first message into a media type according to the features of the first message to obtain a media type of the first message, where the media type is text, image, audio, video, file, business card, positioning message, email, or chat record; Based on the media type of the first message, combined with the role and authority of each second member, applying a security assessment algorithm, assessing the security of the first message for each second member, and obtaining a security assessment result of the first message for each second member; Adjust visibility configuration information based on the security assessment result of the first message for each second member to obtain intermediate visibility configuration information of the first message for each second member; In combination with the situation awareness algorithm and the personalized visibility configuration result, the intermediate visibility configuration information of the first message for each second member is optimized to obtain the target visibility configuration information of the first message for each second member.

3. The method according to claim 2, characterized in that The obtaining of initial visibility configuration information of the first message for each second member includes: Construct a multi-level knowledge graph corresponding to the target private group, wherein the multi-level knowledge graph includes multi-level nodes and edges, wherein the first-level nodes in the multi-level nodes are used to represent members in the target private group, the second-level nodes are used to represent the teams to which the members belong, and the third-level nodes are used to represent the projects in which the teams participate; different edges are used to reflect the relationship between different nodes, and each node has corresponding node attributes; According to the content of the first message and the multi-level knowledge graph, the purpose of the group chat of the first message is determined, and based on the purpose of the group chat of the first message, the initial visibility configuration information of the first message for each second member is determined, and the content of the first message includes at least one of the following: project name, team name and member name.

4. The method according to claim 2, characterized in that: The combining of the context awareness algorithm and the personalized visibility configuration result to optimize the intermediate visibility configuration information of the first message for each second member to obtain the target visibility configuration information of the first message for each second member includes: Based on the node attributes in the multi-level knowledge graph, the context perception results of each second member are determined by using a context perception algorithm; the node attributes include context features, and the context features include: time, geographic location and activity status. The context perception results of the second member are used to indicate: whether the second member is in the working time period, whether he is in the office area, and whether he is in the project discussion stage; Based on the node attributes in the multi-level knowledge graph, combined with user profiling technology and collaborative filtering algorithm, a personalized visibility configuration result of each second member is constructed, wherein the node attributes include the role, authority and historical messages of the second member; The situational perception results and personalized visibility configuration results of each second member are integrated to obtain a fusion result, and the intermediate visibility configuration information of the first message for each second member is optimized according to the fusion result to obtain the target visibility configuration information of the first message for each second member.

5. The method according to claim 4, characterized in that The personalized visibility configuration result of each second member is constructed based on the node attributes in the multi-level knowledge graph, combined with user profiling technology and collaborative filtering algorithm, including: Based on the node attributes in the multi-level knowledge graph, the user portrait information of the second member is constructed using user portrait technology; Based on the user portrait information of the second member, a collaborative filtering algorithm is used to perform collaborative filtering between members and collaborative filtering between messages to obtain the collaborative filtering results of the second member and the filtering results of the first message; in the collaborative filtering process, the cosine similarity is used to calculate the similarity between the second members; The user portrait information of the second member, the collaborative filtering results of the second member and the filtering results of the first message are integrated to obtain the personalized visibility configuration results of each second member.

6. The method according to claim 2, characterized in that The method of applying a security assessment algorithm based on the media type of the first message and in combination with the role and authority of each second member to assess the security of the first message for each second member and obtaining a security assessment result of the first message for each second member includes: Obtaining a mapping relationship between the role and permission of each second member and the media type of the first message, as well as context information of the first message; Based on the mapping relationship, applying a security assessment algorithm, assessing the security of the first message for each second member to obtain an initial security score value, and assessing the security of the context information for each second member to obtain a context security score value; Determine the influence of the context security score value based on the association between the context information and the first message, and determine the product of the influence of the context security score value and the context security score value as the adjustment value; The adjustment value and the initial security score value are added to obtain a security evaluation result of the first message for each second member.

7. The method according to claim 1, characterized in that The selectively broadcasting the first message to all members or designated members in the target private group according to the target visibility configuration information of each second member in the first message includes: Parsing the target visibility configuration information of each second member in the first message to obtain a visibility level, a time window, and a geographical restriction; Classify the second members into multiple groups based on visibility level, time window and geographical restrictions; Execute the message broadcast strategy corresponding to each group, and selectively broadcast the first message to all members or designated members in the target private group according to the message broadcast strategy.

8. A private group chat system based on keyword interception and message visibility management, characterized in that: include: A receiving and identifying module, configured to receive a first message sent by a first member of a target private group and identify the authority of the first member; a determination interception module, configured to determine a keyword set according to the attributes of the target private group and the authority of the first member, and intercept the first message when the content of the first message includes any keyword in the keyword set, so that the first message is invisible to all members of the target private group; a generating module, configured to dynamically generate target visibility configuration information of the first message for each second member in combination with a context-aware algorithm and a personalized visibility configuration result when the first message does not include all keywords in the keyword set, where the second member is a member other than the first member in the target private group; The broadcast module calls and selectively broadcasts the first message to all members or designated members in the target private group according to the target visibility configuration information of each second member of the first message.

9. A computing device, characterized in that It includes a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement a private group chat method based on keyword interception and message visibility management as described in any one of claims 1-7.

10. A computer storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a computer, a private group chat method based on keyword interception and message visibility management as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Group chat method and device

    CN110086639A

  • Group message prompting method and device, data processing method and device, electronic equipment and storage equipment

    CN110545232A

  • Method for intercepting mistakenly sent message and instant messaging system

    CN111526085A

  • Product pushing method and device

    CN112184370A

  • Organization authority processing method and device, electronic equipment and storage medium

    CN112445392A