Instant messaging processing method and device, equipment and medium

By introducing the "only colleagues can invite upstream and downstream members into the group" switch in the enterprise instant messaging client, the permissions of downstream organizations to invite groups are restricted, and information security issues among enterprises are solved, and the balance between information security and communication efficiency is achieved.

CN119324910APending Publication Date: 2025-01-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310879158.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-17
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

Existing enterprise instant messaging clients cannot effectively protect the information security between enterprises in group chats, resulting in the problem of corporate privacy leakage.

Method used

By introducing the "only colleagues can invite upstream and downstream members into the group" switch in the instant messaging client, the upstream person in charge or super-management controls whether the member accounts of the downstream organization can invite other accounts to join the group, and the permission to invite the group to join the group is realized. limit.

Benefits of technology

It effectively prevents the privacy of the member accounts of downstream organizations from leaking privacy, improves information security between organizations, and does not affect the smoothness of information exchange between enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324910A_ABST
    Figure CN119324910A_ABST
Patent Text Reader

Abstract

The invention provides an instant messaging processing method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the steps that an address book interface is displayed, the address book interface comprises at least one upstream and downstream address book, and a first account is a member account of a downstream organization in the upstream and downstream address books; and in response to a trigger operation that the first account invites the at least one second account to join the group, displaying a group joining verification result of the at least one second account according to a current permission of the group joining invitation permission, the current permission being one of a prohibition permission and an permission permission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an instant messaging processing method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] Upstream and downstream is a "cross-enterprise collaboration" solution launched by the enterprise instant messaging client to meet the various needs of enterprises in management, communication, collaboration, and business chain, and is committed to better connecting enterprises and their suppliers, distributors, platform merchants and other business partners. The upstream and downstream group is an important communication medium between upstream and downstream members. The upstream and downstream group is an enterprise instant messaging client group chat used for cross-enterprise communication. By inviting distributors, suppliers and other business partners to join the upstream and downstream group, and using special features such as receipt messages and chat toolbars, the efficiency of communication, collaboration and business processing between enterprises can be improved.

[0003] In related technologies, upstream and downstream groups have well met the communication and collaboration needs between enterprises. However, since the upstream and downstream enterprises need to match transaction relationships in the group, downstream enterprises can directly invite other enterprises to join the upstream and downstream groups. This solution has the problem of leaking the privacy of enterprises and cannot guarantee information security. Summary of the invention

[0004] The embodiments of the present application provide an instant messaging processing method, device, electronic device, computer-readable storage medium, and computer program product, which can protect the privacy between organizations and improve the information security between organizations.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The embodiment of the present application provides an instant messaging processing method, which is applied to a first instant messaging client, in which a first account is currently logged in, and the first account is configured with a group invitation permission, and the group invitation permission includes a prohibition permission and an allowance permission, wherein the prohibition permission indicates prohibiting a member account of a downstream organization in an upstream and downstream address book from inviting an account to join the group, and the allowance permission indicates allowing a member account of the downstream organization to invite an account to join the group;

[0007] The method comprises:

[0008] Displaying an address book interface, wherein the address book interface includes at least one of the upstream and downstream address books, and the first account is a member account of a downstream organization in the upstream and downstream address books;

[0009] In response to a triggering operation in which the first account invites at least one second account to join a group, a group entry verification result of the at least one second account is displayed according to a current permission of the group entry invitation permission, wherein the current permission is one of the prohibited permission and the allowed permission.

[0010] The embodiment of the present application provides an instant messaging processing method, which is applied to a second instant messaging client, in which a management account is currently logged in;

[0011] The method comprises:

[0012] Display a group invitation switch, wherein the group invitation switch is used to configure the group invitation permission of the member account of the downstream organization in the upstream and downstream address books, and the group invitation permission includes a prohibition permission and an allowance permission. The prohibition permission indicates that the member account of the downstream organization is prohibited from inviting the account to join the group, and the allowance permission indicates that the member account of the downstream organization is allowed to invite the account to join the group;

[0013] In response to satisfying the triggering condition of the group invitation switch, configuring the group invitation permission for at least one member account of the downstream organization.

[0014] The embodiment of the present application provides an instant messaging processing device, which is applied to a first instant messaging client, in which a first account is currently logged in, and the first account is configured with a group invitation permission, and the group invitation permission includes a prohibition permission and an allowance permission, wherein the prohibition permission indicates prohibiting a member account of a downstream organization in an upstream and downstream address book from inviting an account to join the group, and the allowance permission indicates allowing a member account of the downstream organization to invite an account to join the group;

[0015] The device comprises:

[0016] A first display module, configured to display an address book interface, wherein the address book interface includes at least one of the upstream and downstream address books, and the first account is a member account of a downstream organization in the upstream and downstream address books;

[0017] The second display module is used to respond to the triggering operation of the first account inviting at least one second account to join the group, and display the group entry verification result of the at least one second account according to the current permission of the group entry invitation permission, wherein the current permission is one of the prohibited permission and the allowed permission.

[0018] The embodiment of the present application provides an instant messaging processing device, which is applied to a second instant messaging client, in which a management account is currently logged in;

[0019] The device comprises:

[0020] A third display module is used to display a group invitation switch, wherein the group invitation switch is used to configure the group invitation permission of the member account of the downstream organization in the upstream and downstream address book, and the group invitation permission includes a prohibition permission and a permission permission. The prohibition permission indicates that the member account of the downstream organization is prohibited from inviting the account to join the group, and the permission permission indicates that the member account of the downstream organization is allowed to invite the account to join the group;

[0021] The setting module is used to configure the group invitation permission for at least one member account of the downstream organization in response to satisfying the triggering condition of the group invitation switch.

[0022] An embodiment of the present application provides an electronic device for instant messaging processing, the electronic device comprising:

[0023] Memory for storing computer programs or computer executable instructions;

[0024] The processor is used to implement the instant messaging processing method provided in the embodiment of the present application when executing the computer program or computer executable instructions stored in the memory.

[0025] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the instant messaging processing method provided in the embodiment of the present application is implemented.

[0026] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, implements the instant messaging processing method provided in the embodiment of the present application.

[0027] The embodiments of the present application have the following beneficial effects:

[0028] When a first account in a downstream organization invites at least one second account to join a group, the first account is prohibited or allowed to invite the second account to join the group according to the current permissions of the group invitation permissions configured for the first account, thereby limiting the group invitation permissions of the member accounts of the downstream organization. Compared with the solutions provided by related technologies, this can prevent the privacy of the member accounts of the downstream organization from being leaked, and while ensuring smooth information exchange between organizations, it also protects the privacy of the organizations and improves the information security between organizations. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of the architecture of the instant messaging processing system provided in the embodiment of the present application;

[0030] Figure 2A-2Bis a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0031] Figure 3A-3D It is a flowchart of an instant messaging processing method provided in an embodiment of the present application;

[0032] Figure 4 It is a schematic diagram of the "only colleagues can invite upstream and downstream members to join the group" switch provided in an embodiment of the present application;

[0033] Figure 5 is a schematic diagram of a "Select Contact" interface provided in an embodiment of the present application;

[0034] Figure 6-Figure 8 It is a schematic diagram of the group entry prompt information provided in an embodiment of the present application;

[0035] Fig. 9 is a schematic diagram of a "Select Contact" interface provided in an embodiment of the present application;

[0036] Fig.10 It is a flowchart of the instant messaging processing method provided in the embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0038] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0039] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0041] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0042] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.

[0043] 2) Instant messaging applications: also known as instant messaging clients, refer to programs that can instantly send and receive Internet messages. Based on instant messaging applications, users can create group conversations, thereby enabling communication and exchanges between multiple contacts based on group conversations. According to the different service objects, instant messaging clients can be divided into: personal instant messaging clients and corporate instant messaging clients. Among them, personal instant messaging clients are instant messaging clients that provide Internet social services for individual users, and corporate instant messaging clients are instant messaging clients that provide Internet social services for corporate users.

[0044] 3) Group: Also known as group chat, it is a collection of members in companies, enterprises and other units that provide external services (such as technical support, pre-sales consultation, after-sales service, etc.).

[0045] 4) Upstream and downstream address book: The enterprise instant messaging client is used for cross-enterprise address books for collaboration between enterprises (B2B, Business-to-Business). Members who join the upstream and downstream can communicate and collaborate without adding each other as friends.

[0046] 5) Upstream enterprises: also known as upstream organizations, which create upstream and downstream enterprises. Upstream enterprises refer to enterprises and manufacturers in the primary stage of industrial production and operation, mainly producing raw materials and primary products required by downstream enterprises. Upstream enterprises can be distributors and brands in the upstream of the collaboration process.

[0047] 6) Downstream enterprises: also known as downstream organizations, are enterprises that join the upstream and downstream after the creation of the upstream and downstream, and collaborate and communicate with the upstream enterprises. Downstream enterprises can be suppliers. One upstream enterprise corresponds to and collaborates with multiple downstream enterprises. Upstream and downstream enterprises are interdependent and survive and develop together.

[0048] 7) Enterprise Address Book: refers to the data that records enterprise member information and structural relationships, consisting of members, departments, labels and their organizational structure relationships within the enterprise.

[0049] 8) Upstream and downstream space: An upstream and downstream address book consisting of multiple upstream and downstream enterprises. An enterprise can create or join multiple different upstream and downstream spaces. The data of different upstream and downstream spaces of the same enterprise are completely isolated.

[0050] 9) Upstream and downstream groups: also known as enterprise interconnection groups, which are composed entirely of upstream and downstream members when created, and only include members of enterprise instant messaging clients during subsequent use, and do not include members of personal instant messaging clients. Upstream and downstream groups can be associated with a specific upstream and downstream space.

[0051] 10) External group: a group chat in an enterprise instant messaging client that includes members of enterprise instant messaging clients of different enterprises or members of personal instant messaging clients.

[0052] 11) Intercommunication group: specifically refers to an external group that includes members of personal instant messaging clients, and functions as a subset of a group composed entirely of members of enterprise instant messaging clients.

[0053] 12) Internal group: a group chat in an enterprise instant messaging client that includes members of the enterprise instant messaging client of the same enterprise or members of a personal instant messaging client.

[0054] 13) Visible relationship: The two users are visible to each other in the address book. For example, if user A can see user B’s account in his address book, and user A’s account in user B’s address book, it means that user A and user B are visible to each other in the address book.

[0055] 14) External contacts: refers to members of personal instant messaging clients other than the enterprise. Members within the enterprise can add contacts of other enterprises or personal instant messaging clients to communicate by adding friends. The account of external contacts in the enterprise instant messaging client will have an @ suffix after the account, while the member account of the same enterprise will not have an @ suffix.

[0056] The embodiments of the present application provide an instant messaging processing method, device, electronic device, computer-readable storage medium, and computer program product, which can protect the privacy between organizations and improve the information security between organizations. The following describes an exemplary application of the electronic device provided by the embodiments of the present application. The electronic device provided by the embodiments of the present application can be implemented as a terminal, or implemented by a terminal and a server in collaboration. The following is an example of an instant messaging processing method provided by the embodiments of the present application being implemented in collaboration with a terminal and a server.

[0057] See also Figure 1 , Figure 1 1 is a schematic diagram of the architecture of the instant messaging processing system 10 provided in the embodiment of the present application, in order to realize the support for providing a group invitation application for users, such as Figure 1As shown, terminals (exemplarily showing terminal 200-1 and terminal 200-2) are connected to server 100 via network 300, wherein network 300 may be a wide area network or a local area network, or a combination of the two. Terminal 200-1 is a terminal associated with user 1 (e.g., a management account of enterprise 1), and instant messaging client 210-1 runs on terminal 200-1. Terminal 200-2 is a terminal associated with user 2 (e.g., a member of enterprise 2, wherein enterprise 2 is a downstream enterprise of enterprise 1, i.e., a first account), and instant messaging client 210-2 runs on terminal 200-2.

[0058] In some embodiments, a group invitation switch is displayed in the instant messaging client 210-1, wherein the group invitation switch is used to configure the group invitation permissions of the member accounts of the downstream organizations in the upstream and downstream address books, wherein the group invitation permissions include prohibition permissions and permission permissions, wherein the prohibition permissions represent prohibition of the member accounts of the downstream organization from inviting the accounts to join the group, and the permission permissions represent permission of the member accounts of the downstream organization to invite the accounts to join the group, and in response to satisfying the triggering condition of the group invitation switch, the group invitation permission is configured for at least one member account of the downstream organization, and the configured group invitation permission (i.e., the current permission of the group invitation permission) is sent to the server 100 via the network 300, wherein the current permission is one of the prohibition permission and the permission permission.

[0059] An address book interface is displayed in the instant messaging client 210-2, wherein the address book interface includes at least one upstream and downstream address book, and the first account is a member account of a downstream organization in the upstream and downstream address books. In response to a trigger operation in which the first account invites at least one second account to join a group, the current permissions of the group invitation permission are pulled from the server 100 through the network 300, and based on the current permissions of the group invitation permission, the group entry verification result of the at least one second account is displayed.

[0060] In other embodiments, the embodiments of the present application can also be implemented with the aid of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.

[0061] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.

[0062] For example, Figure 1The server 100 in the example may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDNs), and big data and artificial intelligence platforms. The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a car terminal, etc., but is not limited thereto. The terminal and the server 100 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0063] In some embodiments, the terminal or server can also implement the instant messaging processing method provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, APPlication), that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plug-in.

[0064] The following is an example of electronic equipment Figure 1 The terminal 200-2 shown in FIG. 1 is used as an example for explanation. Figure 2A , Figure 2A is a schematic diagram of the structure of the terminal 200-2 provided in an embodiment of the present application, Figure 2A The terminal 200-2 shown includes: at least one processor 520, a memory 560, at least one network interface 530 and a user interface 540. The various components in the terminal 200-2 are coupled together via a bus system 550. It is understood that the bus system 550 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 550 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 550 is not shown in FIG. Figure 2A Various buses are labeled as bus system 550 .

[0065] The processor 520 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0066] The user interface 540 includes one or more output devices 541 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 540 also includes one or more input devices 542, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0067] The memory 560 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 560 may optionally include one or more storage devices that are physically remote from the processor 520.

[0068] The memory 560 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 560 described in the embodiments of the present application is intended to include any suitable type of memory.

[0069] In some embodiments, memory 560 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0070] Operating system 561, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0071] A network communication module 562, for reaching other computing devices via one or more (wired or wireless) network interfaces 530, exemplary network interfaces 530 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);

[0072] a presentation module 563 for enabling presentation of information via one or more output devices 541 (e.g., display screen, speaker, etc.) associated with the user interface 540 (e.g., a user interface for operating peripherals and displaying content and information);

[0073] The input processing module 564 is used to detect one or more user inputs or interactions from one of the one or more input devices 542 and translate the detected inputs or interactions.

[0074] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2A The instant messaging processing device 565 stored in the memory 560 is shown, which can be software in the form of programs and plug-ins, including the following software modules: a first display module 5651, a second display module 5652, these modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. It should be noted that in Figure 2A For the sake of convenience, all the above modules are shown at once, but it should not be considered that the instant messaging processing device 565 excludes the implementation of only including the first display module 5651 and the second display module 5652. The functions of each module will be explained below.

[0075] The following is an example of electronic equipment Figure 1 The terminal 200-1 shown in FIG. 1 is used as an example for explanation. Figure 2B , Figure 2B is a schematic diagram of the structure of the terminal 200-1 provided in the embodiment of the present application, such as Figure 2B As shown, the terminal 200-1 includes: a memory 660 for storing executable instructions; a processor 620 for processing the executable instructions stored in the memory 660 to implement the instant messaging processing method provided in the embodiment of the present application. In addition, the instant messaging processing device 665 stored in the memory 660 can be software in the form of programs and plug-ins, including the following software modules: a third display module 6651 and a setting module 6652. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below. In addition, the terminal 200-1 also includes: at least one network interface 630, a user interface 640 (including an output device 641 and an input device 642) and a bus system 650. The memory 660 also stores an operating system 661, a network communication module 662, a presentation module 663 and an input processing module 664. The functions of the above components are the same as those of the embodiment of the present application. Figure 2A The corresponding components in the function are similar, you can refer to Figure 2A The description of the embodiments of the present application will not be repeated here.

[0076] As mentioned above, the instant messaging processing method provided in the embodiment of the present application can be implemented by various types of electronic devices, such as a terminal, a server, or a combination of the two. Therefore, the execution subject of each step will not be repeatedly described below. Figure 3A , Figure 3A is a flow chart of the instant messaging processing method provided in the embodiment of the present application, combined with Figure 3A The steps shown are explained.

[0077] It should be noted that Figure 3AThe instant messaging processing method shown is applied to the second instant messaging client, in which a management account is currently logged in. The management account is used to manage at least some member accounts in the upstream and downstream address books, for example, the management account can be an account of an upstream person in charge, a super administrator, etc.

[0078] In step 101, a group invitation switch is displayed, wherein the group invitation switch is used to configure the group invitation permissions of the member accounts of the downstream organization in the upstream and downstream address books, and the group invitation permissions include prohibition permissions and permission permissions. The prohibition permission indicates that the member accounts of the downstream organization are prohibited from inviting accounts to join the group, and the permission permission indicates that the member accounts of the downstream organization are allowed to invite accounts to join the group.

[0079] like Figure 4 As shown, a new "Only colleagues can invite upstream and downstream members to join the group" switch (also known as the group invitation switch) is added in the "Manage this upstream and downstream" interface (also known as the upstream and downstream management interface). In response to the trigger operation of the "Manage this upstream and downstream" control 401 (also known as the upstream and downstream management trigger control), the "Manage this upstream and downstream" interface 402 is displayed, and the "Only colleagues can invite upstream and downstream members to join the group" switch 403 is displayed in the "Manage this upstream and downstream" interface 402.

[0080] In step 102, in response to satisfying a trigger condition of a group invitation switch, group invitation permissions are configured for a member account of at least one downstream organization.

[0081] Here, after configuring the group invitation permission for the member account of at least one downstream organization, the current permission of the configured group invitation permission is a prohibition permission or an allowance permission.

[0082] In some embodiments, step 102 can be implemented in the following manner: in response to the management account's on trigger operation for the group invitation switch, the current permission of the group invitation permission is configured as a prohibited permission; in response to the management account's off trigger operation for the group invitation switch, the current permission of the group invitation permission is configured as an allowed permission.

[0083] Here, the management account has the authority to manually trigger the group invitation switch. Therefore, when the second instant messaging client receives the management account's on trigger operation for the group invitation switch, the state of the group invitation switch is on, and the current permission of the group invitation permission is configured as prohibited permission, that is, member accounts of downstream organizations are prohibited from inviting accounts to join the group; when the second instant messaging client receives the management account's off trigger operation for the group invitation switch, the state of the group invitation switch is off, and the current permission of the group invitation permission is configured as allowed permission, that is, member accounts of downstream organizations are allowed to invite accounts to join the group.

[0084] See also Figure 3B , Figure 3B is another flow chart of the instant messaging processing method provided in the embodiment of the present application. Figure 3B Show Figure 3A Step 102 in the method can be implemented through steps 1021 and 1022.

[0085] In step 1021, in response to satisfying the on trigger condition of the group invitation switch, the current permission of the group invitation permission is configured as a prohibited permission.

[0086] Here, when the trigger condition for turning on the group invitation switch is met, the group invitation switch is automatically turned on, and the current permission of the group invitation permission is configured as a prohibited permission.

[0087] In some embodiments, the activation trigger condition in step 1021 is the arrival of the set activation time of the group invitation switch, wherein the permission to set the activation time is open to the second instant messaging client logged in with the management account.

[0088] Here, a setting control for the opening time is displayed in the second instant messaging client, and in response to a setting operation based on the setting control for the opening time, the set opening time is determined as the opening time of the set group invitation switch. Therefore, when the set opening time of the group invitation switch is reached, the opening trigger condition of the group invitation switch is satisfied, thereby automatically opening the group invitation switch, and configuring the current permission of the group invitation permission as a prohibited permission. For example, on certain holidays, it is easy for an enterprise instant messaging client to abnormally invite people to join a group. In order to avoid privacy leakage caused by inviting people to join a group, the group invitation switch can be automatically turned on on certain holidays, thereby prohibiting member accounts of downstream organizations from inviting accounts to join the group.

[0089] In some embodiments, the activation trigger condition in step 1021 is that a sensitive event occurs to members of the upstream and downstream address books, wherein the setting permission for sensitive events is open to the second instant messaging client logged in with an administrative account.

[0090] Here, a setting control for sensitive events is displayed in the second instant messaging client, and in response to the setting operation of the setting control based on the sensitive event, the set sensitive event is obtained. Therefore, when a sensitive event occurs to a member of the upstream and downstream address book, the trigger condition for turning on the group invitation switch is met, thereby automatically turning on the group invitation switch, and configuring the current permission of the group invitation permission to be a prohibited permission. Among them, sensitive events can be the posting of inappropriate remarks, downstream members (i.e., member accounts of downstream organizations) requesting upstream members (i.e., member accounts of upstream organizations) to chat privately, and downstream members being reported, etc. For example, when a downstream member requests an upstream member to chat privately, it means that the downstream member may want to take away certain resources in the upstream and downstream. In order to avoid resource leakage caused by downstream members pulling people into the group, the group invitation switch can be automatically turned on after a sensitive event occurs, thereby prohibiting member accounts of downstream organizations from inviting accounts to join the group.

[0091] In some embodiments, the activation trigger condition in step 1021 is that the number of accounts invited by the member account of the downstream organization is greater than the account number threshold, wherein the account number threshold is negatively correlated with the level of the organization to which the member account of the downstream organization belongs in the upstream and downstream address books.

[0092] Here, when the number of accounts invited by the member account of the downstream organization (also called the downstream account) is greater than the account number threshold, the trigger condition for turning on the group invitation switch is met, so that the group invitation switch is automatically turned on, and the current permission of the group invitation permission is configured as a prohibited permission. It should be noted that the higher the level of the organization to which the downstream account belongs in the upstream and downstream address book, the smaller the corresponding account number threshold, that is, the greater the restriction on the downstream account to invite people into the group. For example, the level of the organization to which the downstream account 1 belongs in the upstream and downstream address book is 2, and the level of the organization to which the downstream account 2 belongs in the upstream and downstream address book is 5, then the account number threshold corresponding to the downstream account 1 is 5, and the account number threshold corresponding to the downstream account 2 is 2.

[0093] In some embodiments, the activation trigger condition in step 1021 is that the number of times a member account of a downstream organization invites an account to join a group is greater than a number threshold, wherein the number threshold is negatively correlated with the depth of the organization to which the member account of the downstream organization belongs in the upstream and downstream address books.

[0094] Here, when the number of times a member account of a downstream organization (also called a downstream account) invites an account to join a group is greater than the number threshold, the trigger condition for turning on the group invitation switch is met, thereby automatically turning on the group invitation switch, and configuring the current permission of the group invitation permission to be a prohibited permission. It should be noted that the higher the level of the organization to which the downstream account belongs in the upstream and downstream address book, the smaller the corresponding number threshold, that is, the greater the restriction on the downstream account to invite people to join the group. For example, if the level of the organization to which downstream account 1 belongs in the upstream and downstream address book is 2, and the level of the organization to which downstream account 2 belongs in the upstream and downstream address book is 5, then the number threshold corresponding to downstream account 1 is 5, and the number threshold corresponding to downstream account 2 is 2.

[0095] In some embodiments, the activation trigger condition in step 1021 is that the management account agrees to the activation request of the prohibition permission, wherein the activation request is used by a third account to request the management account to activate the prohibition permission, and the third account is a member account other than the management account in the upstream and downstream address books.

[0096] Here, when the third account sends a request to enable the prohibited permission to the management account, and the management account agrees to the request to enable the prohibited permission, the trigger condition for enabling the group invitation switch is met, thereby automatically turning on the group invitation switch and configuring the current permission of the group invitation permission to the prohibited permission.

[0097] In some embodiments, the activation trigger condition in step 1021 is receiving a prediction instruction for activating the prohibited permission returned by the first neural network model, wherein the prediction instruction is used to instruct to set the current permission to the prohibited permission.

[0098] The prediction instruction is obtained by performing the following processing by the first neural network model: based on the feature data of the first account (i.e., the member account of the downstream organization) and the feature data of at least one second account, prediction processing is performed to obtain a prediction instruction for opening the prohibited permission; wherein the first neural network model is obtained by training the feature data of the first account sample, the feature data of the second account sample, and the prediction instruction annotation, and the first account sample is used to invite the second account sample to join the group. The embodiment of the present application is not limited to the model structure of the first neural network model, for example, the first neural network model can be a convolutional neural network, a deep neural network, etc.

[0099] It should be noted that before applying the first neural network model, it is necessary to train the initial first neural network model, and then put the trained first neural network model into use, and use artificial intelligence technology combined with the user's characteristic data to predict whether it is necessary to turn on the group invitation switch. Among them, the first neural network model is trained through the characteristic data of the first account sample, the characteristic data of the second account sample, and the prediction instruction annotation. For example, based on the characteristic data of the first account sample and the characteristic data of the second account sample, the initial first neural network model is called for prediction processing to obtain a prediction instruction (for example, the prediction instruction is 1, which means that the group invitation switch needs to be turned on; the prediction instruction is 0, which means that the group invitation switch needs to be turned off). After determining the value of the loss function of the first neural network model through the prediction instruction and the prediction instruction annotation, it can be determined whether the value of the loss function exceeds the preset threshold. When the value of the loss function exceeds the preset threshold, the error signal of the first neural network model is determined based on the loss function, and the error information is back-propagated in the first neural network model, and the model parameters of each layer are updated during the propagation process. Among them, the embodiment of the present application is not limited to the form of the loss function, for example, it can be a cross entropy loss function, an L2 loss function, etc.

[0100] Here, the back propagation is explained. The training sample data is input into the input layer of the neural network model, passes through the hidden layer, and finally reaches the output layer and outputs the result. This is the forward propagation process of the neural network model. Since there is an error between the output result of the neural network model and the actual result, the error between the output result and the actual value is calculated, and the error is back-propagated from the output layer to the hidden layer until it propagates to the input layer. In the back propagation process, the value of the model parameter is adjusted according to the error, that is, the loss function is constructed according to the error between the output result and the actual value, and the partial derivative of the loss function to the model parameter is calculated layer by layer to generate the gradient of the loss function to the model parameters of each layer. Since the direction of the gradient indicates the direction of error expansion, the gradient of the model parameter is inverted and summed with the original parameters of each layer model. The summed result is used as the updated model parameters of each layer, thereby reducing the error caused by the model parameters; the above process is iterated until convergence. Among them, the first neural network model is a neural network model.

[0101] In step 1022, in response to satisfying the closing trigger condition of the group invitation switch, the current permission of the group invitation permission is configured as a permission permission.

[0102] Here, when the closing trigger condition of the group invitation switch is met, the group invitation switch is automatically closed, and the current permission of the group invitation permission is configured as the allowed permission.

[0103] In some embodiments, the closing trigger condition is that the management account agrees to the permission opening request, wherein the opening request is used by the fourth account to request the management account to open the permission, and the fourth account is a member account other than the management account in the upstream and downstream address books.

[0104] Here, when the fourth account sends a request to enable permission to the management account, and the management account agrees to the request to enable permission, the closing trigger condition of the group invitation switch is met, thereby automatically closing the group invitation switch and configuring the current permission of the group invitation permission to allow permission.

[0105] In some embodiments, the closing trigger condition is receiving a predicted instruction returned by the first neural network model to enable the allowed permission, wherein the predicted instruction is used to instruct to set the current permission to the allowed permission.

[0106] The prediction instruction is obtained by performing the following processing by the first neural network model: based on the feature data of the first account (i.e., the member account of the downstream organization) and the feature data of at least one second account, prediction processing is performed to obtain a prediction instruction for opening the permission; wherein the first neural network model is obtained by training the feature data of the first account sample, the feature data of the second account sample, and the prediction instruction annotation, and the first account sample is used to invite the second account sample to join the group. The embodiment of the present application is not limited to the model structure of the first neural network model, for example, the first neural network model can be a convolutional neural network, a deep neural network, etc.

[0107] As mentioned above, the instant messaging processing method provided in the embodiment of the present application can be implemented by various types of electronic devices, such as a terminal, a server, or a combination of the two. Therefore, the execution subject of each step will not be repeatedly described below. Figure 3C , Figure 3C is a flow chart of the instant messaging processing method provided in the embodiment of the present application, combined with Figure 3C The steps shown are explained.

[0108] It should be noted that Figure 3C The instant messaging processing method shown is applied to a first instant messaging client. A first account is currently logged in to the first instant messaging client. The first account is configured with group invitation permissions. The group invitation permissions include prohibition permissions and permission permissions. The prohibition permission indicates that member accounts of downstream organizations in upstream and downstream address books are prohibited from inviting accounts to join the group. The permission permission indicates that member accounts of downstream organizations are allowed to invite accounts to join the group.

[0109] In step 201, a contact book interface is displayed, wherein the contact book interface includes at least one upstream and downstream contact book, and the first account is a member account of a downstream organization in the upstream and downstream contact books.

[0110] Here, each upstream and downstream address book may include member accounts of multiple organizations (eg, enterprises, units, institutions, etc.), and the multiple organizations are related to the upstream and downstream businesses of the organization to which the first account belongs.

[0111] In step 202, in response to a triggering operation of the first account inviting at least one second account to join the group, the group entry verification result of the at least one second account is displayed according to the current permission of the group entry invitation permission, wherein the current permission is one of a prohibited permission and an allowed permission.

[0112] Here, the group entry verification result may be prohibiting at least one second account from joining the group, or may be allowing at least one second account to join the group. In response to a trigger operation of the first account inviting at least one second account to join the group, the current permission of the configured group entry invitation permission is obtained, and the group entry verification result of the at least one second account is displayed according to the current permission of the group entry invitation permission.

[0113] In some embodiments, the group invitation permission is configured by triggering a group invitation switch, and the display permission of the group invitation switch is open to a second instant messaging client logged in with a management account, and the management account is different from the first account; in response to receiving a trigger operation of turning on the group invitation switch from the management account, the current permission of the group invitation permission is configured as a prohibited permission; in response to receiving a trigger operation of turning off the group invitation switch from the management account, the current permission of the group invitation permission is configured as an allowed permission.

[0114] In some embodiments, the group invitation permission is configured by triggering a group invitation switch; in response to satisfying the on trigger condition of the group invitation switch, the group invitation switch is automatically turned on, and the current permission of the group invitation permission is configured as a prohibited permission; in response to satisfying the off trigger condition of the group invitation switch, the group invitation switch is automatically turned off, and the current permission of the group invitation permission is configured as an allowed permission.

[0115] In some embodiments, when the set start time of the group invitation switch is reached, the start trigger condition of the group invitation switch is met, wherein the setting authority of the start time is open to the second instant messaging client logged in with a management account, and the management account is different from the first account.

[0116] In some embodiments, when a sensitive event occurs to members of the upstream and downstream address books, the trigger condition for turning on the group invitation switch is met, wherein the setting permission for setting the event is open to the second instant messaging client logged in with a management account, and the management account is different from the first account.

[0117] In some embodiments, when the number of second accounts invited by the first account is greater than an account number threshold, the trigger condition for turning on the group invitation switch is met, wherein the account number threshold is negatively correlated with the level of the organization to which the first account belongs in the upstream and downstream address books.

[0118] In some embodiments, when the number of times the first account invites an account to join the group is greater than a number threshold, the trigger condition for turning on the group invitation switch is met, wherein the number threshold is negatively correlated with the depth of the organization to which the first account belongs in the upstream and downstream address books.

[0119] In some embodiments, when the management account agrees to the request to enable the prohibition permission, the trigger condition for enabling the group invitation switch is met, wherein the enable request is used by a third account to request the management account to enable the prohibition permission, and the third account is a member account other than the management account in the upstream and downstream address books.

[0120] In some embodiments, when a prediction instruction to enable prohibited permissions returned by the first neural network model is received, the trigger condition for enabling the group invitation switch is met, wherein the prediction instruction is used to instruct to set the current permission to a prohibited permission.

[0121] In some embodiments, the prediction instruction is obtained by executing the following processing by a first neural network model: prediction processing is performed based on the characteristic data of the first account and the characteristic data of at least one second account to obtain a prediction instruction for enabling prohibited permissions; wherein the first neural network model is obtained by training through the characteristic data of the first account sample, the characteristic data of the second account sample and the prediction instruction annotation, and the first account sample is used to invite the second account sample to join the group.

[0122] In some embodiments, the closing trigger condition is at least one of the following: the management account agrees to the request to enable the permission, wherein the enable request is used by a fourth account to request the management account to enable the permission, and the fourth account is a member account other than the management account in the upstream and downstream address books; receiving a predicted instruction for enabling the permission returned by the first neural network model, wherein the predicted instruction is used to instruct to set the current permission to the permission.

[0123] The prediction instruction is obtained by performing the following processing by the first neural network model: prediction processing is performed based on the feature data of the first account and the feature data of at least one second account to obtain a prediction instruction for opening the permission; the first neural network model is obtained by training the feature data of the first account sample, the feature data of the second account sample and the prediction instruction annotation, and the first account sample is used to invite the second account sample to join the group. The embodiment of the present application is not limited to the model structure of the first neural network model. For example, the first neural network model can be a convolutional neural network, a deep neural network, etc.

[0124] See also Figure 3D , Figure 3D is another flow chart of the instant messaging processing method provided in the embodiment of the present application. Figure 3D Show Figure 3C Step 202 in the above description can be implemented through steps 2021 and 2022.

[0125] In step 2021, in response to a triggering operation in which a first account invites at least one second account to join a group, when the current permission is a prohibited permission, a first group joining prompt message is displayed, wherein the first group joining prompt message indicates that at least some of the second accounts are prohibited from joining the group, and other accounts have joined the group, and the other accounts are second accounts other than at least some of the second accounts in at least one second account.

[0126] In some embodiments, when the group is a created group or a group to be created, step 2021 can be implemented in the following ways: in response to a trigger operation in which a first account invites at least one second account to join the group, when the current permission is a prohibited permission, displaying a first group joining prompt information in the group's session interface; or, in the first instant messaging client, displaying the first group joining prompt information in a pop-up window; displaying the second group joining prompt information, including displaying the second group joining prompt information in the group's session interface; or, in the first instant messaging client, displaying the second group joining prompt information in a pop-up window.

[0127] like Figure 6 As shown in FIG. 1 , when a downstream member (i.e., the inviter) configured with prohibition authority selects an invitee (i.e., the second account) from the “Select Contact” interface to join the group, a group entry prompt message 601 (i.e., the first group entry prompt message) is displayed in the conversation interface of the inviter’s group, for example, “You do not have the authority to invite Xiaoming, Xiaohong, and 32 other users to join the group chat because the upstream and downstream of the other party prohibit you from inviting members to join the group”; Figure 7 As shown, when a downstream member (i.e., the inviter) configured with prohibition authority selects an invitee (i.e., the second account) to join the group from the "Select Contact" interface, a pop-up window is displayed in the inviter's enterprise instant messaging client (i.e., the first instant messaging client) to display a group entry prompt message 701 (i.e., the second group entry prompt message), for example, "You do not have the authority to invite Xiao Ming, Xiao Hong, and 32 other users to join the group chat because the upstream and downstream of the other party prohibit you from inviting members to join the group."

[0128] In some embodiments, when the group is a created group (for example, an already created internal group or an interconnected group), step 2021 can be implemented in the following manner: in response to a trigger operation in which a first account invites at least one second account to join the group, when the current permission is a prohibited permission, a new group is created, wherein the new group includes other accounts as well as accounts included in the group; and the first group entry prompt information is displayed in the session interface of the new group.

[0129] Here, when a first account invites at least one second account to join a group, a new group can be directly created to avoid the invited second account from affecting the created group, thereby improving information security within the group.

[0130] In some embodiments, step 2021 can be implemented in the following manner: in response to a triggering operation in which a first account invites at least one second account to join a group, when the current permission is a prohibited permission, at least some of the second accounts have no visible relationship with the first account, and other accounts have a visible relationship with the first account, a first group entry prompt message is displayed; wherein the visible relationship includes at least one of the following: an external contact relationship in the first instant messaging client (when the inviter invites the invitee through the "Add External Contact" control in the address book, the inviter and the invitee have an external contact relationship); a mutually visible relationship in other upstream and downstream address books; a relationship in the same organization's interconnected circle, where the organization's interconnected circle is a collection of associations between multiple organizations; a mutually visible colleague relationship; a mutually visible relationship in other address books in the first instant messaging client, where other address books include organization address books and contact address books.

[0131] In step 2022, when the current permission is an allowed permission, second group joining prompt information is displayed, wherein the second group joining prompt information indicates that at least one second account has joined the group.

[0132] In some embodiments, when the group is a created group or a group to be created, step 2022 can be implemented in the following ways: when the current permission is the allowed permission, the second group entry prompt information is displayed in the group session interface; or, in the first instant messaging client, a pop-up window displays the second group entry prompt information.

[0133] In some embodiments, before step 202, in response to a triggering operation in which the first account invites at least one second account to join the group, the second account is an external contact account, and the second account does not have external contact permissions, a third group entry prompt message is displayed, wherein the third group entry prompt message indicates that at least one second account is prohibited from joining the group.

[0134] Here, the management account can pre-set the permissions of the external contact. When the second account has not set the permissions of the external contact, the second account does not have the permissions of the external contact; when the second account has set the permissions of the external contact, the second account has the permissions of the external contact.

[0135] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.

[0136] Upstream and downstream is a "cross-enterprise collaboration" solution launched by the enterprise instant messaging client to meet the various needs of enterprises in management, communication, collaboration, and business chain, and is committed to better connecting enterprises and their suppliers, distributors, platform merchants and other business partners. The upstream and downstream group is an important communication medium between upstream and downstream members. The upstream and downstream group is an enterprise instant messaging client group chat used for cross-enterprise communication. By inviting distributors, suppliers and other business partners to join the upstream and downstream group, and using special features such as receipt messages and chat toolbars, the efficiency of communication, collaboration and business processing between enterprises can be improved.

[0137] In related technologies, upstream and downstream groups have well met the communication and collaboration needs between enterprises. However, since the upstream and downstream enterprises need to match transaction relationships in the group, downstream enterprises can directly invite other enterprises to join the upstream and downstream groups. This solution has the problem of leaking the privacy of enterprises and cannot guarantee information security.

[0138] In order to solve the above problems, the embodiment of the present application proposes a method for processing instant messaging, and implements a technical solution for upstream and downstream internal control of the invitation of downstream members to join the group. By adding a "only colleagues can invite upstream and downstream members to join the group" switch (also called the group invitation switch), the "only colleagues can invite upstream and downstream members to join the group" switch is used to control whether downstream members (i.e., the member account of the downstream enterprise in the enterprise instant messaging client) can invite members (i.e., the member account) to join the group chat. The "only colleagues can invite upstream and downstream members to join the group" switch is only operable by the upstream person in charge, super administrator and other management accounts. After turning on the "only colleagues can invite upstream and downstream members to join the group" switch, downstream invitations to user accounts that are prohibited from grouping are prohibited from joining the group, thereby protecting the privacy and information security between enterprises without affecting the communication and business processing efficiency between enterprises. Among them, the space that is prohibited from grouping is the upstream and downstream space that has turned on the "only colleagues can invite upstream and downstream members to join the group" switch. The user accounts that are prohibited from joining a group are user accounts that meet the following conditions: the inviter is a downstream user in the upstream and downstream spaces, and the invitee and the inviter are in the same space where the group is prohibited, and there is no other relationship that makes the address books of both parties (i.e. the invitee and the inviter) visible except for the address book of the space. Of course, if the invitee and the inviter have other address books that are visible to each other, the invitee is not prohibited from joining the group.

[0139] like Figure 4 As shown, a new switch "Only colleagues can invite upstream and downstream members to join the group" is added in the "Manage this upstream and downstream" interface. In response to the trigger operation of the "Manage this upstream and downstream" control 401, the "Manage this upstream and downstream" interface 402 is displayed, and the "Only colleagues can invite upstream and downstream members to join the group" switch 403 is displayed in the "Manage this upstream and downstream" interface 402.

[0140] When the upstream manager or super administrator turns on the "Only colleagues can invite upstream and downstream members to join the group" switch, the upstream and downstream will be a space where group creation is prohibited. Downstream members in this space cannot invite user accounts that are prohibited from group creation to join the group chat. Figure 5 As shown, the downstream member in the space where grouping is prohibited selects invitee 501 from the "Select Contact" interface to join the upstream and downstream group chat; Figure 6 As shown in FIG. 6 , when a downstream member (i.e., an inviter) in a space where grouping is prohibited selects an invitee from the “Select Contact” interface to join an upstream and downstream group chat, a group entry prompt message 601 is displayed in the conversation interface of the inviter’s upstream and downstream group chat, such as “You do not have the right to invite Xiaoming, Xiaohong, and 32 other users to join the group chat because the upstream and downstream of the other party prohibit you from inviting members to join the group”; Figure 7 As shown in FIG. 7 , when a downstream member (i.e., an inviter) in a space where grouping is prohibited selects an invitee from the “Select Contact” interface to join an upstream and downstream group chat, a pop-up window 701 is displayed in the inviter’s enterprise instant messaging client, such as “You do not have the right to invite Xiaoming, Xiaohong, and 32 other users to join the group chat because the upstream and downstream of the other party prohibit you from inviting members to join the group”; Figure 8 As shown, when a downstream member (i.e., the inviter) in a space where grouping is prohibited selects an invitee from the "Select Contact" interface to join an upstream and downstream group chat, a group entry prompt message 801 is displayed in the invitee's enterprise instant messaging client, such as "You are not authorized to join this group chat because your upstream and downstream prohibit the other party from inviting members to join the group"; Fig. 9 As shown, a downstream member in a space where group creation is prohibited wants to select a user account that is prohibited from group creation from the upstream and downstream spaces in the "Select Contact" interface to join an upstream and downstream group chat. During the selection process, the control 901 for selecting a user account that is prohibited from group creation is invalidated, so that the downstream member in the space where group creation is prohibited cannot select a user account that is prohibited from group creation to join an upstream and downstream group chat.

[0141] It should be noted that the instant messaging processing method provided in the embodiment of the present application mainly includes three parts, namely, issuing the status of the "only colleagues can invite upstream and downstream members to join the group" switch, judging the visible relationship between the inviter and the invitee, and intercepting the group entry. These three parts will be described in detail below.

[0142] (1) The status of the switch that only colleagues can invite upstream and downstream members to join the group

[0143] Here, the "Manage this upstream and downstream" interface is only open to the upstream person in charge or the enterprise super administrator, so only the upstream person in charge or the enterprise super administrator can modify the status of the "Only colleagues can invite upstream and downstream members to join the group" switch. The enterprise instant messaging background will store the status of the "Only colleagues can invite upstream and downstream members to join the group" switch in each upstream and downstream. When a downstream member invites a member to join the upstream and downstream group, the status of the "Only colleagues can invite upstream and downstream members to join the group" switch of the upstream and downstream will be pulled, and the status of the "Only colleagues can invite upstream and downstream members to join the group" switch of the upstream and downstream will be used to determine whether the invitee can be pulled into the group. For example, when the "Only colleagues can invite upstream and downstream members to join the group" switch of the upstream and downstream is in the on state, the invitee may not be pulled into the group; when the "Only colleagues can invite upstream and downstream members to join the group" switch of the upstream and downstream is in the off state, the invitee can be pulled into the group.

[0144] (2) Determine the visible relationship between the inviter and the invitee

[0145] When there is no visible relationship between the inviter and the invitee, the invitee is a user account that is prohibited from adding groups. When there is an act of adding people to a group, the enterprise instant messaging background will determine the visible relationship between the inviter and the invitee. When any of the following five conditions are met, the visible relationship between the inviter and the invitee is visible. Among them, the five conditions are: 1) There is an external contact (customer contact) relationship (when the inviter invites the invitee through the "Add External Contact" control in the address book, the inviter and the invitee have an external contact relationship); 2) They are visible to each other in other upstream and downstream address books, and the upstream and downstream spaces allow adding people to the group (that is, at least one upstream and downstream space does not prohibit adding people to the group); 3) They are in the same enterprise interconnected circle (enterprise interconnected circles refer to circles that are interconnected between multiple enterprises); 4) They have a mutually visible colleague relationship; 5) They have a mutually visible relationship in other address books (enterprise address books, contact address books, etc.) in the enterprise instant messaging client.

[0146] It should be noted that when the inviter and the invitee do not meet all the above conditions, the invitee is a user account that is prohibited from adding a group, and the enterprise instant messaging client prompts that the invitation to join the group has failed.

[0147] (3) Group Interception

[0148] There are four main ways to invite users to join a group: client plus sign invitation (invite users to join a group through the plus sign control in the enterprise instant messaging client), QR code invitation (the inviter sends a QR code to the invitee so that the invitee can scan the code to join the group), hypertext 5.0 (H5, HTML5.0) link invitation (the inviter sends an H5 link to the invitee so that the invitee can trigger the H5 link to join the group) and document group card (the inviter inserts a group chat business card into the document so that the invitee can trigger the group chat business card to join the group). In response to the above four ways, the embodiment of the present application adds a service interface to determine whether the invitee belongs to a user account that is prohibited from grouping, and calls the service interface at the group adding and group creating locations. When the invitee belongs to a user account that is prohibited from grouping, the invitee is blocked from joining the group.

[0149] The following describes specific interception methods for various situations where people are pulled into the group.

[0150] Case 1: In an existing internal group, the invitees have at least one upstream and downstream contact, wherein the invitees have no external contacts, and some of the invitees need to be blocked.

[0151] Here, the interception method of situation 1 is: intercept some users from joining the group, and do not intercept users (i.e., users other than some of the invitees) from joining the group, and display the users who have not joined the group (i.e., some of the blocked users) in a pop-up window, and display the users who have not joined the group through the group entry prompt message in the conversation interface in the group chat. It should be noted that when at least one upstream and downstream contact enters the internal group, the group form needs to be changed, that is, the internal group is upgraded to an interconnected group; when no upstream and downstream contacts enter the internal group, there is no need to change the group form.

[0152] Case 2: In an existing internal group, there is at least one upstream and downstream contact among the invitees, wherein the invitees include external contacts, and some of the invitees need to be blocked.

[0153] Here, the interception method of situation 2 is: intercept all invitees from joining the group, and create a new group, which includes unblocked users and all members of the existing internal group.

[0154] Case 3: In an existing interconnected group, the invitees have at least one upstream and downstream contact, wherein the invitees have no external contacts, and some of the invitees need to be blocked.

[0155] Here, the interception method of situation 3 is: intercept some users from joining the group, do not intercept users from joining the group, display the users who have not joined the group in a pop-up window, and display the users who have not joined the group through a group entry prompt message in the conversation interface in the group chat.

[0156] Case 4: In an existing interconnected group, there is at least one upstream and downstream contact among the invitees, wherein the invitees include external contacts, and some of the invitees need to be blocked.

[0157] Here, the interception method of situation 4 is: intercept all invitees from joining the group, and create a new group, which includes unblocked users and all members of the existing internal group.

[0158] Case 5: In an existing external group, the invitees have at least one upstream and downstream contact, wherein the invitees have no external contacts, and some of the invitees need to be blocked.

[0159] Here, the interception method of situation 5 is: intercept some users from joining the group, do not intercept users from joining the group, display the users who have not joined the group in a pop-up window, and display the users who have not joined the group through the group entry prompt message in the conversation interface in the group chat.

[0160] Case 6: In an existing external group, there is at least one upstream and downstream contact among the invitees, wherein the invitees include external contacts, and some of the invitees need to be intercepted.

[0161] Here, the interception method of situation 6 is: intercept some users from joining the group, do not intercept users from joining the group, display the users who have not joined the group in a pop-up window, and display the users who have not joined the group through a group entry prompt message in the conversation interface in the group chat.

[0162] Case 7: Create a new group.

[0163] Here, the interception method of situation 7 is: intercepting some users from joining the group, not intercepting users from joining the group, and displaying users who have not joined the group through a group entry prompt message in the conversation interface in the group chat.

[0164] See also Fig.10 , Fig.10 is a flow chart of the instant messaging processing method provided in the embodiment of the present application, combined with Fig.10 The steps shown are explained.

[0165] In step 301, when a request to invite a user to join a group is received, it is determined whether the invitee is an external contact. If the invitee is an external contact, the process proceeds to step 302; if the invitee is not an external contact, the process proceeds to step 303.

[0166] Here, when the user account of the invitee is a member account of a personal instant messaging client other than the enterprise, the invitee is an external contact; when the user account of the invitee is not a member account of a personal instant messaging client other than the enterprise, the invitee is not an external contact.

[0167] In step 302, it is determined whether the invitee has the authority of an external contact. When the invitee has the authority of an external contact, the process proceeds to step 303; when the invitee does not have the authority of an external contact, the process proceeds to step 306.

[0168] Among them, the upstream person in charge and the super administrator can pre-set the permissions of the external contact. When the permissions of the external contact of the invitee are not set, the invitee does not have the permissions of the external contact; when the permissions of the external contact of the invitee are set, the invitee has the permissions of the external contact.

[0169] In step 303 , it is determined whether the inviter is an upstream member. If the inviter is not an upstream member, the process proceeds to step 304 ; if the inviter is an upstream member, the process proceeds to step 307 .

[0170] In step 304, determine whether the "Only colleagues can invite upstream and downstream members to join the group" switch is turned on. When the "Only colleagues can invite upstream and downstream members to join the group" switch is turned on, go to step 305; when the "Only colleagues can invite upstream and downstream members to join the group" switch is not turned on, go to step 307.

[0171] Here, you can pull the status of the "Only colleagues can invite upstream and downstream members to join the group" switch. When the status of the "Only colleagues can invite upstream and downstream members to join the group" switch is on, the "Only colleagues can invite upstream and downstream members to join the group" switch is turned on; when the status of the "Only colleagues can invite upstream and downstream members to join the group" switch is off, the "Only colleagues can invite upstream and downstream members to join the group" switch is not turned on.

[0172] In step 305 , it is determined whether the inviter and the invitee have a visible relationship. If the inviter and the invitee have a visible relationship, the process proceeds to step 307 ; if the inviter and the invitee do not have a visible relationship, the process proceeds to step 306 .

[0173] Here, whether the inviter and the invitee have a visible relationship can be determined by the above five conditions.

[0174] In step 306, the invitee is prohibited from joining the group.

[0175] In step 307, the invitee is allowed to join the group.

[0176] In summary, the instant messaging processing method proposed in the embodiment of the present application realizes a technical solution for upstream and downstream internal control of downstream members inviting to join the group. The "only colleagues can invite upstream and downstream members to join the group" switch controls whether downstream members can invite members to join the group chat. This can limit the number of people who can be contacted in batches downstream without affecting the communication and business processing efficiency between enterprises, and can also well protect the privacy and information security between enterprises.

[0177] So far, the instant messaging processing method provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the instant messaging processing device 565 provided by the embodiment of the present application and the various modules in the instant messaging processing device 665 that cooperate to implement the instant messaging processing solution.

[0178] The first display module 5651 is used to display an address book interface, wherein the address book interface includes at least one of the upstream and downstream address books, and the first account is a member account of a downstream organization in the upstream and downstream address books; the second display module 5652 is used to respond to a triggering operation of the first account inviting at least one second account to join a group, and display the group entry verification result of the at least one second account according to the current permission of the group entry invitation permission, wherein the current permission is one of the prohibited permission and the allowed permission.

[0179] In some embodiments, the group invitation permission is configured by triggering a group invitation switch, and the display permission of the group invitation switch is open to a second instant messaging client logged in with a management account, and the management account is different from the first account; in response to receiving an on trigger operation of the management account for the group invitation switch, the current permission of the group invitation permission is configured as the prohibited permission; in response to receiving a off trigger operation of the management account for the group invitation switch, the current permission of the group invitation permission is configured as the allowed permission.

[0180] In some embodiments, the group invitation permission is configured by triggering a group invitation switch; in response to satisfying a trigger condition for turning on the group invitation switch, the group invitation switch is automatically turned on, and the current permission of the group invitation permission is configured as the prohibited permission; in response to satisfying a trigger condition for turning off the group invitation switch, the group invitation switch is automatically turned off, and the current permission of the group invitation permission is configured as the allowed permission.

[0181] In some embodiments, when the set start time of the group invitation switch is reached, the start trigger condition of the group invitation switch is met, wherein the setting authority of the start time is open to a second instant messaging client logged in with a management account, and the management account is different from the first account.

[0182] In some embodiments, when a sensitive event occurs to a member of the upstream and downstream address books, the trigger condition for turning on the group invitation switch is met, wherein the setting permission for the sensitive event is open to a second instant messaging client logged in with a management account, and the management account is different from the first account.

[0183] In some embodiments, when the number of the second accounts invited by the first account is greater than an account number threshold, the trigger condition for turning on the group invitation switch is met, wherein the account number threshold is negatively correlated with the level of the organization to which the first account belongs in the upstream and downstream address books.

[0184] In some embodiments, when the number of times the first account invites an account to join the group is greater than a number threshold, the trigger condition for turning on the group invitation switch is met, wherein the number threshold is negatively correlated with the depth of the organization to which the first account belongs in the upstream and downstream address books.

[0185] In some embodiments, when the management account agrees to the request to enable the prohibited permission, the trigger condition for enabling the group invitation switch is met, wherein the enable request is used by a third account to request the management account to enable the prohibited permission, and the third account is a member account in the upstream and downstream address books other than the management account.

[0186] In some embodiments, when a prediction instruction to enable the prohibited permission returned by the first neural network model is received, the trigger condition for enabling the group invitation switch is met, wherein the prediction instruction is used to instruct to set the current permission to the prohibited permission.

[0187] In some embodiments, the prediction instruction is obtained by executing the following processing by the first neural network model: prediction processing is performed based on the characteristic data of the first account and the characteristic data of the at least one second account to obtain a prediction instruction for enabling the prohibited permission; wherein the first neural network model is obtained by training through the characteristic data of the first account sample, the characteristic data of the second account sample and the prediction instruction annotation, and the first account sample is used to invite the second account sample to join the group.

[0188] In some embodiments, the second display module 5652 is also used to display a first group entry prompt message when the current permission is the prohibited permission, wherein the first group entry prompt message indicates that at least some of the second accounts are prohibited from joining the group, and other accounts have joined the group, and the other accounts are second accounts in the at least one second account other than at least some of the second accounts; when the current permission is the allowed permission, display a second group entry prompt message, wherein the second group entry prompt message indicates that the at least one second account has joined the group.

[0189] In some embodiments, the second display module 5652 is also used to display the first group entry prompt information in the conversation interface of the group; or, in the first instant messaging client, the first group entry prompt information is displayed in a pop-up window; the second group entry prompt information is displayed in the conversation interface of the group; or, in the first instant messaging client, the second group entry prompt information is displayed in a pop-up window.

[0190] In some embodiments, when the group is a created group, the second display module 5652 is also used to create a new group, wherein the new group includes the other accounts and the accounts included in the group; and the first group entry prompt information is displayed in the session interface of the new group.

[0191] In some embodiments, the second display module 5652 is also used to display the first group entry prompt information when at least part of the second accounts do not have a visible relationship with the first account, and the other accounts have the visible relationship with the first account; wherein the visible relationship includes at least one of the following: an external contact relationship in the first instant messaging client; a mutually visible relationship in other upstream and downstream address books; a relationship in the same organization interconnected circle, the organization interconnected circle is a collection of associations between multiple organizations; a mutually visible colleague relationship; a mutually visible relationship in other address books in the first instant messaging client, the other address books including organization address books and contact address books.

[0192] In some embodiments, before displaying the group entry verification result of the at least one second account based on the current permissions of the group entry invitation permission, the second display module 5652 is also used to display a third group entry prompt information in response to the second account being an external contact account and not having external contact permissions, wherein the third group entry prompt information indicates that the at least one second account is prohibited from joining the group.

[0193] The third display module 6651 is used to display the group invitation switch, wherein the group invitation switch is used to configure the group invitation permissions of the member accounts of the downstream organizations in the upstream and downstream address books, and the group invitation permissions include prohibition permissions and permission permissions. The prohibition permission indicates that the member accounts of the downstream organization are prohibited from inviting accounts to join the group, and the permission permission indicates that the member accounts of the downstream organization are allowed to invite accounts to join the group; the setting module 6652 is used to configure the group invitation permissions for at least one member account of the downstream organization in response to satisfying the triggering condition of the group invitation switch.

[0194] In some embodiments, the setting module 6652 is also used to configure the current permission of the group invitation permission as the prohibited permission in response to the management account's on trigger operation for the group invitation switch; and to configure the current permission of the group invitation permission as the allowed permission in response to the management account's off trigger operation for the group invitation switch.

[0195] In some embodiments, the setting module 6652 is also used to configure the current permission of the group invitation permission as the prohibited permission in response to satisfying the on trigger condition of the group invitation switch; and to configure the current permission of the group invitation permission as the allowed permission in response to satisfying the off trigger condition of the group invitation switch.

[0196] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer program or the computer executable instruction from the computer-readable storage medium, and the processor executes the computer program or the computer executable instruction, so that the electronic device executes the instant messaging processing method described in the embodiment of the present application.

[0197] The present application embodiment provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the instant messaging processing method provided by the present application embodiment, for example, Figure 3A-3D The instant messaging processing method is shown.

[0198] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0199] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0200] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0201] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0202] It is understandable that in the embodiments of the present application, related data such as user information is involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0203] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. An instant messaging processing method, characterized in that: Applied to a first instant messaging client, a first account is currently logged in to the first instant messaging client, the first account is configured with a group invitation permission, the group invitation permission includes a prohibition permission and an allowance permission, the prohibition permission indicates prohibiting a member account of a downstream organization in an upstream and downstream address book from inviting an account to join the group, and the allowance permission indicates allowing a member account of the downstream organization to invite an account to join the group; The method comprises: Displaying an address book interface, wherein the address book interface includes at least one of the upstream and downstream address books, and the first account is a member account of a downstream organization in the upstream and downstream address books; In response to a triggering operation in which the first account invites at least one second account to join a group, a group entry verification result of the at least one second account is displayed according to a current permission of the group entry invitation permission, wherein the current permission is one of the prohibited permission and the allowed permission.

2. The method according to claim 1, characterized in that: The group invitation permission is configured by triggering a group invitation switch, and the display permission of the group invitation switch is open to a second instant messaging client logged in with a management account, and the management account is different from the first account; In response to receiving a trigger operation of turning on the group invitation switch from the management account, the current permission of the group invitation permission is configured as the prohibited permission; In response to receiving a turning-off trigger operation of the management account for the group-joining invitation switch, the current permission of the group-joining invitation permission is configured as the allowed permission.

3. The method according to claim 1 or 2, characterized in that: The group invitation permission is configured by triggering the group invitation switch; In response to satisfying the activation trigger condition of the group invitation switch, the group invitation switch is automatically activated, and the current permission of the group invitation permission is configured as the prohibited permission; In response to satisfying a turn-off trigger condition of the group-joining invitation switch, the group-joining invitation switch is automatically turned off, and the current permission of the group-joining invitation permission is configured as the allowed permission.

4. The method according to claim 3, characterized in that When the set start time of the group invitation switch is reached, the start trigger condition of the group invitation switch is met, wherein the setting authority of the start time is open to the second instant messaging client logged in with a management account, and the management account is different from the first account.

5. The method according to claim 3, characterized in that: When a sensitive event occurs to a member of the upstream and downstream address books, the trigger condition for turning on the group invitation switch is met, wherein the setting permission for the sensitive event is open to a second instant messaging client logged in with a management account, and the management account is different from the first account.

6. The method according to claim 3, characterized in that When the number of the second accounts invited by the first account is greater than the account number threshold, the trigger condition for turning on the group invitation switch is met, wherein the account number threshold is negatively correlated with the level of the organization to which the first account belongs in the upstream and downstream address books.

7. The method according to claim 3, characterized in that When the number of times the first account invites an account to join the group is greater than a number threshold, the trigger condition for turning on the group invitation switch is met, wherein the number threshold is negatively correlated with the depth of the organization to which the first account belongs in the upstream and downstream address books.

8. The method according to claim 3, characterized in that When the management account agrees to the request to enable the prohibited permission, the trigger condition for enabling the group invitation switch is met, wherein the enable request is used by a third account to request the management account to enable the prohibited permission, and the third account is a member account in the upstream and downstream address books other than the management account.

9. The method according to claim 3, characterized in that: When a prediction instruction for enabling the prohibited permission returned by the first neural network model is received, the trigger condition for enabling the group invitation switch is met, wherein the prediction instruction is used to instruct to set the current permission to the prohibited permission.

10. The method according to claim 9, characterized in that The predicted instruction is obtained by performing the following processing by the first neural network model: Performing prediction processing based on the feature data of the first account and the feature data of the at least one second account to obtain a prediction instruction for enabling the prohibited permission; The first neural network model is trained through feature data of the first account sample, feature data of the second account sample and prediction instruction annotation, and the first account sample is used to invite the second account sample to join the group.

11. The method according to any one of claims 1 to 10, characterized in that: The displaying the group entry verification result of the at least one second account according to the current permission of the group entry invitation permission includes: When the current permission is the prohibited permission, displaying first group entry prompt information, wherein the first group entry prompt information indicates that at least some of the second accounts are prohibited from joining the group, and other accounts have joined the group, and the other accounts are second accounts other than at least some of the second accounts in the at least one second account; When the current permission is the allowed permission, second group joining prompt information is displayed, wherein the second group joining prompt information indicates that the at least one second account has joined the group.

12. The method according to claim 11, characterized in that The displaying of the first group entry prompt information includes: Displaying the first group joining prompt information in the conversation interface of the group; or displaying the first group joining prompt information in a pop-up window in the first instant messaging client; The displaying of the second group joining prompt information includes: The second group joining prompt information is displayed in the conversation interface of the group; or, in the first instant messaging client, the second group joining prompt information is displayed in a pop-up window.

13. The method according to claim 11, characterized in that When the group is a created group, the displaying of the first group entry prompt information includes: Creating a new group, wherein the new group includes the other accounts and the accounts included in the group; The first group joining prompt information is displayed in the conversation interface of the new group.

14. The method according to any one of claims 11 to 13, characterized in that: The displaying of the first group entry prompt information includes: When at least some of the second accounts do not have a visible relationship with the first account, and the other accounts have the visible relationship with the first account, displaying the first group joining prompt information; Among them, the visible relationship includes at least one of the following: an external contact relationship in the first instant messaging client; a mutually visible relationship in other upstream and downstream address books; a relationship in the same organization's interconnected circle, the organization's interconnected circle is a collection of associations between multiple organizations; a mutually visible colleague relationship; a mutually visible relationship in other address books in the first instant messaging client, the other address books including organization address books and contact address books.

15. The method according to any one of claims 1 to 14, characterized in that: Before displaying the group entry verification result of the at least one second account according to the current permission of the group entry invitation permission, the method further includes: In response to the second account being an external contact account and not having external contact authority, third group joining prompt information is displayed, wherein the third group joining prompt information indicates that the at least one second account is prohibited from joining the group.

16. An instant messaging processing method, characterized in that: Applied to a second instant messaging client, in which a management account is currently logged in; The method comprises: Display a group invitation switch, wherein the group invitation switch is used to configure the group invitation permission of the member account of the downstream organization in the upstream and downstream address books, and the group invitation permission includes a prohibition permission and an allowance permission. The prohibition permission indicates that the member account of the downstream organization is prohibited from inviting the account to join the group, and the allowance permission indicates that the member account of the downstream organization is allowed to invite the account to join the group; In response to satisfying the triggering condition of the group invitation switch, configuring the group invitation permission for at least one member account of the downstream organization.

17. The method according to claim 16, characterized in that In response to satisfying the triggering condition of the group invitation switch, configuring the group invitation permission for at least one member account of the downstream organization includes: In response to the management account triggering the on-activation operation of the group invitation switch, configuring the current permission of the group invitation permission as the prohibited permission; In response to a turn-off trigger operation of the management account on the group-joining invitation switch, the current permission of the group-joining invitation permission is configured as the allowed permission.

18. The method according to claim 16, characterized in that In response to satisfying the triggering condition of the group invitation switch, configuring the group invitation permission for at least one member account of the downstream organization includes: In response to satisfying the on trigger condition of the group invitation switch, configuring the current permission of the group invitation permission as the prohibited permission; In response to satisfying a turn-off trigger condition of the group-joining invitation switch, the current permission of the group-joining invitation permission is configured as the allowed permission.

19. An instant messaging processing device, characterized in that: Applied to a first instant messaging client, a first account is currently logged in to the first instant messaging client, the first account is configured with a group invitation permission, the group invitation permission includes a prohibition permission and an allowance permission, the prohibition permission indicates prohibiting a member account of a downstream organization in an upstream and downstream address book from inviting an account to join the group, and the allowance permission indicates allowing a member account of the downstream organization to invite an account to join the group; The device comprises: A first display module, configured to display an address book interface, wherein the address book interface includes at least one of the upstream and downstream address books, and the first account is a member account of a downstream organization in the upstream and downstream address books; The second display module is used to respond to the triggering operation of the first account inviting at least one second account to join the group, and display the group entry verification result of the at least one second account according to the current permission of the group entry invitation permission, wherein the current permission is one of the prohibited permission and the allowed permission.

20. An electronic device, characterized in that: The electronic device comprises: Memory for storing computer programs or computer executable instructions; The processor is used to implement the instant messaging processing method described in any one of claims 1 to 18 when executing the computer program or computer executable instructions stored in the memory.

21. A computer-readable storage medium, characterized in that: A computer program or a computer executable instruction is stored, and when the computer program or the computer executable instruction is executed by a processor, the instant messaging processing method according to any one of claims 1 to 18 is implemented.

22. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instructions are executed by a processor, the instant messaging processing method according to any one of claims 1 to 18 is implemented.