Graphical code processing method and device for session group, electronic device and storage medium
By receiving scanning operations from instant messaging clients, new session group graphic codes are generated, solving the problems of high relationship chain requirements and limited validity period of group QR codes in existing technologies. This achieves efficient expansion of session groups and improved user experience.
Patent Information
- Application Number
- CN202110862659.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-29
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2041-07-29
AI Technical Summary
In existing technologies, inviting people to join a group requires invitations from members already in the conversation group, which requires a strong social network and is not conducive to acquiring new members. When inviting external users to join by sharing a group QR code, there are issues with validity period restrictions and the inability to expand the group after it is full, resulting in low efficiency in joining the group and affecting user experience.
A method for processing graphical codes of session groups is provided, which receives scanning operations from instant messaging clients, obtains session group information based on the access address, and generates graphical codes for new session groups when expansion conditions are met, ensuring that instant messaging clients can join expanded session groups.
By generating graphical codes in real time, the instant messaging client can join extended conversation groups, improving the efficiency of joining conversation groups and enhancing the user experience.
Smart Images

Figure CN115695361B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of Internet, and particularly relates to a method and device for processing a graphical code of a conversation group, an electronic device and a computer readable storage medium. BACKGROUND
[0002] With the development of Internet technology, a multi-user online group chat technology appears, for example, a client with a group chat function such as WeChat or Enterprise WeChat can realize multi-user online group chat. In related technologies, a group member can invite multiple users who have not joined a conversation group to join the conversation group by invitation or by sharing a group two-dimensional code.
[0003] However, the invitation method requires invitation by a member already in the conversation group, which has a high requirement for the relationship chain of the invited member (only suitable for transmission between acquaintances with existing friend relationships), and is not conducive to the acquisition of new members. The method of inviting external users to join the conversation group by sharing the group two-dimensional code is not conducive to continuous and effective long-term delivery because the group two-dimensional code has a validity period limit (generally only 7 days of validity period). In addition, since the group two-dimensional code and the conversation group have a one-to-one relationship, when the conversation group is full, it cannot dynamically expand a new conversation group, which leads to the user being unable to join the corresponding conversation group in time after scanning the code, reduces the group joining efficiency, and further affects the user experience. SUMMARY
[0004] The embodiments of the present application provide a method and device for processing a graphical code of a conversation group, an electronic device and a computer readable storage medium, which can improve the efficiency of joining a conversation group and improve the user experience.
[0005] The technical solutions of the embodiments of the present application are as follows:
[0006] The embodiments of the present application provide a method for processing a graphical code of a conversation group, comprising:
[0007] receiving a network request sent by an instant messaging client, wherein the network request is sent by the instant messaging client in response to a scanning operation on a first graphical code to obtain an access address of a first conversation group;
[0008] obtaining information of the first conversation group according to the access address carried in the network request;
[0009] when the information of the first conversation group meets an expansion condition, performing expansion processing on the first conversation group to obtain a second conversation group, and generating a second graphical code corresponding to the second conversation group;
[0010] send the second graphical code to the instant messaging client, wherein the second graphical code is used for an account bound by the instant messaging client to join the second session group.
[0011] The embodiment of the present application provides a kind of graphical code processing device of session group, comprising:
[0012] receiving module, for receiving the network request sent by instant messaging client, wherein the network request is sent by the instant messaging client in response to the scanning operation for first graphical code, obtains the access address of first session group;
[0013] acquiring module, for acquiring the information of the first session group according to the access address carried by the network request;
[0014] expansion module, for when the information of the first session group meets expansion condition, the first session group is expanded and handled, and the second session group is obtained;
[0015] generating module, for generating the second graphical code corresponding to the second session group;
[0016] sending module, for sending the second graphical code to the instant messaging client, wherein the second graphical code is used for an account bound by the instant messaging client to join the second session group.
[0017] In the above scheme, the expansion condition includes a quantity threshold;The expansion module is further used to extract the number of member accounts in the first session group from the information of the first session group;When the number of member accounts in the first session group is greater than the quantity threshold, a new session group different from the first session group is created as a second session group, wherein the second session group is the same as the administrator account of the first session group.
[0018] In the above scheme, the expansion condition further includes a preset level of the first session group;The expansion module is further used to extract the preset level of member accounts allowed to join the first session group from the information of the first session group when the number of member accounts in the first session group is greater than the quantity threshold;When the account level of the account bound by the instant messaging client carried by the network request is different from the preset level, and the number of member accounts of the session group that has been created and meets the account level is greater than the quantity threshold, a new session group different from the first session group is created as a second session group, wherein the preset level of member accounts allowed to join the second session group includes the account level of the account bound by the instant messaging client.
[0019] In the above solution, the expansion condition comprises a preset level of the first session group; the expansion module is further configured to extract a preset level of member accounts allowed to join the first session group from information of the first session group; when the account level of the account bound to the instant messaging client carried in the network request is different from the preset level, a new session group different from the first session group is created as a second session group, wherein the preset level allowed to join the second session group comprises the account level of the account bound to the instant messaging client.
[0020] In the above solution, the expansion condition comprises an associated region of the first session group; the expansion module is further configured to extract the associated region of the first session group from information of the first session group; when the resident region of the terminal running the instant messaging client carried in the network request is different from the associated region of the first session group, a new session group different from the first session group is created as a second session group, wherein the associated region of the second session group comprises the resident region of the terminal running the instant messaging client.
[0021] In the above solution, the expansion condition comprises an activity level threshold; the expansion module is further configured to extract an activity level of the first session group from information of the first session group; when the activity level of the first session group is higher than the activity level threshold, a new session group different from the first session group is created as a second session group, and when the activity level of the second session group reaches the activity level threshold, the second session group will be used to perform the expansion process to obtain a third session group.
[0022] In the above solution, the expansion condition comprises a service type of the first session group; the expansion module is further configured to extract the service type of the first session group from information of the first session group; when a service type required by the account bound to the instant messaging client carried in the network request is different from the service type of the first session group, a new session group different from the first session group is created as a second session group, wherein the service type of the second session group comprises the service type required by the account bound to the instant messaging client.
[0023] In the above solution, the apparatus further comprises a determination module configured to, when the account bound to the instant messaging client carried in the network request belongs to a blacklisted account that is shielded, reject responding to the network request, and determine that the information of the first session group will not be acquired according to the access address carried in the network request.
[0024] In the scheme, the sending module is further configured to send first prompt information to the instant messaging client when the administrator account of the first session group is in an invalid state, wherein the first prompt information is used to prompt that the network request cannot be responded to currently.
[0025] In the scheme, the device further includes a display module configured to display the member accounts in the first session group; the determination module is further configured to determine a selected member account in the first session group as a new administrator account in response to an account selection operation; the device further includes a deletion module configured to delete the administrator account in the invalid state from the first session group; and the sending module is further configured to send second prompt information to the instant messaging client, wherein the second prompt information is used to prompt to re-scan the first graphical code.
[0026] In the scheme, the device further includes a traversal module configured to traverse the member accounts in the first session group and other session groups extended from the first session group, wherein the other session groups are different from the first session group and the second session group; and the determination module is further configured to determine to allow the account bound by the instant messaging client to join the second session group when the account bound by the instant messaging client does not exist in the first session group and the other session groups extended from the first session group.
[0027] In the scheme, the obtaining module is further configured to obtain a historical scanning record of the instant messaging client for the first graphical code; and the determination module is further configured to determine to reject the network request and to determine not to execute the information obtaining of the first session group according to the access address carried in the network request when it is determined according to the historical scanning record that the number of scanning times of the instant messaging client for the first graphical code within a preset time length is greater than a number threshold.
[0028] In the scheme, the determination module is further configured to perform the following processing in response to a group entry channel data query operation: find a mapping relationship between the number of different graphical codes and different channel information according to the number of the first graphical code to obtain channel information of the first graphical code; record the channel information of the first graphical code as the group entry channel information corresponding to the account bound by the instant messaging client; and determine the number of group entries through each channel information according to the group entry channel information corresponding to a plurality of accounts bound by the instant messaging client, wherein the number of group entries is the number of accounts that join the first session group and new session groups extended from the first session group through each channel information; and the display module is further configured to display the number of group entries corresponding to each channel information.
[0029] In the scheme, the obtaining module is further configured to query a mapping relationship between different record access addresses and different record group identifiers according to the access address, to obtain a group identifier of the first session group associated with an access address of the first session group; and query a mapping relationship between different record group identifiers and information of different recorded session groups according to the group identifier of the first session group, to obtain information of the first session group associated with the group identifier of the first session group.
[0030] In the scheme, the sending module is further configured to send a third graphical code corresponding to a fourth session group to the instant messaging client when it is detected that the fourth session group is obtained by expanding the first session group and the number of group member accounts is less than a number threshold, wherein the third graphical code is used for the account bound by the instant messaging client to join the fourth session group; and the determining module is further configured to determine to perform expansion processing on the first session group to obtain a second session group when it is detected that there is no fourth session group obtained by expanding the first session group and the number of group member accounts is less than a number threshold.
[0031] An electronic device is provided in an embodiment of the present application, and the electronic device comprises:
[0032] A memory is configured to store executable instructions.
[0033] A processor is configured to execute the executable instructions stored in the memory, so as to implement the graphical code processing method of the session group provided in the embodiments of the present application.
[0034] A computer readable storage medium is provided in an embodiment of the present application, and the computer readable storage medium stores executable instructions, so as to cause the processor to execute the graphical code processing method of the session group provided in the embodiments of the present application when the executable instructions are executed.
[0035] A computer program product is provided in an embodiment of the present application, and the computer program product comprises computer executable instructions, so as to implement the graphical code processing method of the session group provided in the embodiments of the present application when the computer executable instructions are executed.
[0036] The embodiments of the present application have the following beneficial effects:
[0037] When the information of the first session group meets the expansion condition, the first session group is expanded to obtain a second session group, and a second graphical code of the second session group is returned to the instant messaging client. In this way, since the graphical code provided to the instant messaging client is generated in real time, and the session group corresponding to the graphical code is a new session group obtained by expanding the first session group, it is ensured that the account bound to the instant messaging client can join the corresponding session group, the efficiency of joining the session group is improved, and the user experience is improved. BRIEF DESCRIPTION OF DRAWINGS
[0038] Figure 1 is an architecture schematic diagram of a graphical code processing system 100 of a session group provided by an embodiment of the present application;
[0039] Figure 2 is a structure schematic diagram of a server 200 provided by an embodiment of the present application;
[0040] Figure 3 is a flow schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0041] Figures 4A-4E is a flow schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0042] Figure 5 is a flow schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0043] Figure 6 is an application scenario schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0044] Figure 7 is an application scenario schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0045] Figure 8 is an application scenario schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0046] Figure 9 is a flow schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0047] Figure 10 is a flow schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0048] Figure 11 is an application scenario schematic diagram of a graphical code processing method of a session group provided by an embodiment of the present application;
[0049] Figure 12FIG. 1 is a schematic diagram of an application scenario of a graphical code processing method of a session group provided by an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings, and the described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0051] In the following description, "some embodiments" are related to a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0052] In the following description, the terms "first\second" are only to distinguish similar objects, and do not represent a specific order of the objects, and it can be understood that "first\second" can be interchanged in a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
[0054] Before the embodiments of the present application are further described in detail, the terms and phrases involved in the embodiments of the present application are explained, and the terms and phrases involved in the embodiments of the present application are applicable to the following explanations.
[0055] 1) Graphical code: including two-dimensional code and bar code, wherein the two-dimensional code is a black and white pattern of recording data symbol information distributed in a plane (two-dimensional direction) by a certain specific geometric pattern, which cleverly uses the concept of "0" and "1" bit stream, which is the basis of computer internal logic, to represent text and numerical information using several geometric shapes corresponding to binary, and is automatically recognized by image input devices or photoelectric scanning devices to realize automatic information processing. It has some commonalities with bar code technology: each code has its own character set; each character occupies a certain width; has a certain check function, etc., and also has automatic identification function of different rows of information and processing of graphical rotation change points.
[0056] Among them, the live code is a senior form of two-dimensional code, which has more powerful functions than ordinary two-dimensional code. It points to the information stored in the server (such as the cloud) through the short URL. The pattern of the live code is simpler and easier to scan than the ordinary two-dimensional code, and the content in the cloud can be changed at any time, so that the same pattern can have different contents, greatly facilitating the printing management of two-dimensional codes. Even the pattern can be printed first, and then the content can be set.
[0057] 2) Mini Program: an application that can be used without downloading and installing. In order to provide users with more diversified business services, developers can develop corresponding Mini Programs for terminal device applications (such as instant messaging applications, shopping applications, email applications, etc.). The Mini Program can be embedded as a sub-application into the terminal device application, and by running the sub-application (i.e., the corresponding Mini Program) within the application, the user can be provided with corresponding business services.
[0058] 3) In response to: used to indicate the conditions or states on which the operations performed depend. When the dependent conditions or states are met, the one or more operations performed can be real-time or have a set delay. In the absence of specific instructions, there is no restriction on the execution order of multiple operations performed.
[0059] 4) Group: a collection of members of a company, enterprise, and other various units that provide services to the outside (such as technical support, pre-sales consultation, and after-sales service).
[0060] With the development of Internet technology, online group chat has become a common way of information interaction. In the process of cultivating a community (such as a customer group) using online group chat, an important part is to increase the number of group chat to enrich the community. Currently, new users are invited to join the conversation group by using the invitation to join the group or scanning the group QR code. Among them, the invitation to join the group requires an invitation from a member already in the group, which has a high requirement for the relationship chain of the member joining the group, and is not conducive to the acquisition of new customers. The scanning group QR code method has problems such as expiration of the group QR code or the group represented by the group QR code being full, which prevents users from joining the corresponding conversation group in a timely manner, reduces the efficiency of joining the group, and thus affects the user experience.
[0061] In view of this, the embodiments of the present application provide a graphical code processing method and device for conversation groups, electronic equipment and computer readable storage medium, which can improve the efficiency of joining the conversation group and improve the user experience. The following describes an exemplary application of the electronic equipment provided by the embodiments of the present application. The electronic equipment provided by the embodiments of the present application can be implemented as a server, or coordinated by a terminal and a server. The following describes an example of the graphical code processing method for conversation groups provided by the embodiments of the present application coordinated by a terminal and a server.
[0062] Referring to Figure 1 , Figure 1 FIG. 1 is a schematic diagram of an architecture of a system 100 for processing a graphical code of a session group according to an embodiment of the present application. A terminal 400 is connected to a server 200 through a network 300. The network 300 can be a wide area network or a local area network, or a combination of both.
[0063] The terminal 400 runs an instant messaging client 410. The instant messaging client 410 can be an instant messaging client (e.g., WeChat) for individual users or an instant messaging client (e.g., WeChat for Enterprise) for enterprise users. When the instant messaging client 410 receives a scanning operation (e.g., a user scans a first graphical code by clicking a scan function provided by the instant messaging client 410) on the first graphical code (e.g., a group live code), the instant messaging client 410 obtains an access address of a first session group (e.g., after scanning the first graphical code, the instant messaging client 410 parses the first graphical code to obtain the access address of the first session group to which the first graphical code is bound), and sends a network request carrying the access address of the first session group to the server 200 through the network 300.
[0064] After receiving the network request sent by the instant messaging client 410, the server 200 first obtains information of the first session group according to the access address of the first session group carried in the network request. Then, the server 200 determines whether the information of the first session group satisfies an expansion condition (e.g., whether the number of member accounts of the first session group is greater than a number threshold). When the information of the first session group satisfies the expansion condition, the server 200 expands the first session group to obtain a second session group (e.g., creates a new session group different from the first session group as the second session group), and generates a second graphical code (e.g., a group two-dimensional code) corresponding to the second session group. Subsequently, the server 200 can send the generated second graphical code to the instant messaging client 410 through the network 300. In this way, since the second graphical code returned by the server 200 corresponds to a new session group obtained by expanding the first session group, the user can join the corresponding session group by scanning the second graphical code, the efficiency of joining the session group is improved, and the user experience is improved.
[0065] In some embodiments, the embodiments of the present application can be implemented by means of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network to realize the calculation, storage, processing, and sharing of data in a wide area network or a local area network.
[0066] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on cloud computing business model applications, which can form a resource pool for on-demand use and flexible convenience. Cloud computing technology will become an important support. For example, the service interaction function between the server 200 and the terminal 400 can be implemented through cloud technology.
[0067] As an example, the server 200 can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and big data and artificial intelligence platforms, etc. The terminal 400 can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, and a smart watch, etc. Various types of user terminals, but not limited to. The terminal 400 and the server 200 can be connected directly or indirectly through wired or wireless communication, and the embodiments of the present application do not limit.
[0068] The structure of the server 200 shown in the following Figure 1 The structure of the server 200 shown in the following Figure 2 , Figure 2 The structure of the server 200 shown in the following Figure 2 The server 200 shown in the following Figure 2 The structure of the server 200 shown in the following
[0069] The processor 210 can be an integrated circuit chip with signal processing capability, such as a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc., wherein the general purpose processor can be a microprocessor or any conventional processor.
[0070] The memory 240 can be removable, non-removable or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drive, optical disk drive, etc. The memory 240 can optionally include one or more storage devices that are physically located away from the processor 210.
[0071] The memory 240 includes a volatile memory or a non-volatile memory, and can include both volatile and non-volatile memories. The non-volatile memory can be a read-only memory (ROM), and the volatile memory can be a random access memory (RAM). The memory 240 described in the embodiments of the present application is intended to include any suitable type of memory.
[0072] In some embodiments, the memory 240 can store data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, which are exemplarily illustrated below.
[0073] The operating system 241 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks.
[0074] The network communication module 242 is used to reach other computing devices via one or more (wired or wireless) network interfaces 220, exemplary network interfaces 220 including Bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB), etc.
[0075] In some embodiments, the graphical code processing apparatus for session group provided by the embodiments of the present application can be implemented in a software manner, Figure 2 The graphical code processing apparatus for session group stored in the memory 240 is shown in FIG. 3, which can be software in the form of programs and plug-ins, etc., including the following software modules: a receiving module 2431, an obtaining module 2432, an expanding module 2433, a generating module 2434, a sending module 2435, a determining module 2436, a displaying module 2437, a deleting module 2438, and a traversing module 2439. These modules are logical, and thus can be combined or further split according to the implemented functions. It should be noted that, for the convenience of description, all the above modules are shown at one time in the embodiments of the present application, and it can be understood that, in actual applications, the graphical code processing apparatus for session group 243 can also include only the implementation of the receiving module 2431, the obtaining module 2432, the expanding module 2433, the generating module 2434, and the sending module 2435, and the functions of each module will be described below. Figure 2
[0076] In some embodiments, the session group graphical code processing apparatus provided by the embodiments of the present application can be implemented in a hardware manner. For example, the session group graphical code processing apparatus provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the session group graphical code processing method provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can be one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic elements.
[0077] The session group graphical code processing method provided by the embodiments of the present application will be described below from the perspective of interaction between an instant messaging client and a server.
[0078] Referring to Figure 3 , Figure 3 is a flowchart of the session group graphical code processing method provided by the embodiments of the present application, which will be described in combination with the steps shown in Figure 3 .
[0079] In step S101, the instant messaging client obtains an access address of a first session group in response to a scanning operation on a first graphical code.
[0080] In some embodiments, the first graphical code (for example, a group live code, that is, a content-variable group two-dimensional code) can be added to a poster, an article (for example, a public number article) published by a social network account, a mini program, a product manual, or other scenarios that need to establish contact with a user. That is, the instant messaging client can obtain the access address of the first session group bound by the first graphical code by analyzing the first graphical code obtained by scanning in response to the scanning operation on the first graphical code displayed in the poster, the public number article, or the product manual.
[0081] For example, when the user clicks the mini program with the first graphical code displayed in the WeChat client, the WeChat background server will send a message carrying the first graphical code to the user's WeChat client. The effect of the user clicking the message is equivalent to scanning the first graphical code, and the access address of the first session group is obtained. The first session group can be an original session group (that is, a seed group without expansion processing) created by a session group creation user (for example, an enterprise administrator).
[0082] In step S102, the instant messaging client sends a network request carrying the access address to the server.
[0083] In some embodiments, after parsing the first graphic code obtained by scanning, and obtaining the access address (e.g., a web page link address) of the first session group bound to the first graphic code, the instant messaging client can send a network request carrying the access address of the first session group to the server.
[0084] In step S103, the server obtains information about the first session group based on the access address carried in the network request.
[0085] In some embodiments, the server executes Figure 3 Before step S103, the following processing can also be performed: when the account bound to the instant messaging client carried in the network request is a blacklisted account (e.g., a blacklisted account actively blocked by the administrator account of the first session group, or a blacklisted account automatically blocked by the backend system when it detects that an account has published information that violates laws and regulations, malicious advertisements, or other harassing information), the network request sent by the instant messaging client is refused to be responded to, and it is determined that the process of obtaining the information of the first session group based on the access address carried in the network request will not be transferred.
[0086] For example, to prevent malicious users from joining a chat group and harassing its members, the server can determine whether the account bound to the instant messaging client in the network request is actively blocked by the administrator account or automatically blocked by the backend system before obtaining information about the first chat group based on the access address carried in the network request.
[0087] In other embodiments, the server executes Figure 3 Before step S103 shown, the following process can also be performed: when the administrator account of the first session group is in an invalid state (for example, the employee corresponding to the administrator account has left the company), a first prompt message is sent to the instant messaging client, wherein the first prompt message is used to indicate that the network request cannot be responded to at present.
[0088] For example, to avoid new users joining a chat group not having a corresponding customer service representative to follow up with, when the server detects that the administrator account of the first chat group is in an invalid state (e.g., the customer service representative corresponding to the administrator account has left the company), it can temporarily disable the function corresponding to the first graphic code and return the corresponding prompt message to the instant messaging client, such as "Due to the departure of the customer service representative, the network request cannot be responded to at present. Please scan again in 10 minutes."
[0089] In some embodiments, following the above example, when the server detects that the administrator account of the first session group is in an invalid state, the following processing may also be performed: displaying the member accounts of the first session group; in response to the account selection operation, identifying the selected member account in the first session group as the new administrator account, and deleting the administrator account in an invalid state from the first session group; sending a second prompt message to the instant messaging client, wherein the second prompt message is used to prompt the first graphic code to be scanned again.
[0090] For example, when the server detects that the administrator account of the first session group is invalid, it can invoke the corresponding management terminal to display all member accounts of the first session group in the human-computer interaction interface of the management terminal. Then, in response to the user's (e.g., enterprise administrator's) selection operation on the account displayed in the human-computer interaction interface, the management terminal sends the member account selected by the user in the first session group to the server. Subsequently, the server confirms the member account selected by the user in the first session group as the new administrator account and deletes the invalid administrator account from the first session group. Finally, the server can send a corresponding prompt message to the instant messaging client, such as "The group owner inheritance has been completed, and you can scan the first graphic code again." In this way, when the server determines the new administrator account, it sends the corresponding prompt message to the instant messaging client, enabling users to join the corresponding session group by scanning the code as soon as possible, improving the efficiency of joining the session group and thus enhancing the user experience.
[0091] In some embodiments, the server executes Figure 3 Before step S103, the following processing may also be performed: obtaining the historical scanning record of the instant messaging client for the first graphic code; when it is determined from the historical scanning record that the number of times the instant messaging client scans the first graphic code within a preset time period is greater than the number threshold, refusing to respond to the network request sent by the instant messaging client, and determining that the process will not proceed to obtain the information of the first session group based on the access address carried in the network request.
[0092] For example, in order to avoid the same user constantly scanning the first graphic code and traversing the information of all session groups behind the first graphic code, the server can first obtain the historical scanning record of the instant messaging client for the first graphic code (for example, obtain the scanning record of the instant messaging client for the first graphic code within the last 20 minutes) before obtaining the information of the first session group according to the access address carried in the network request; when the server determines, according to the obtained historical scanning record, that the number of scanning times of the instant messaging client for the first graphic code within a preset time length is greater than a number threshold (for example, 5 times) (for example, the server determines, according to the historical scanning record, that the number of scanning times of the instant messaging client for the first graphic code within 10 minutes is 6 times), the server refuses to respond to the network request sent by the instant messaging client, so that the same user can be prevented from traversing the information of all session groups behind the first graphic code by constantly scanning the first graphic code, and the system resources of the server are also saved.
[0093] In some embodiments, the server can be implemented by the following way Figure 3 The step S103 shown is: querying the mapping relationship between different record access addresses and different record group identifiers to obtain the group identifier of the first session group associated with the access address of the first session group; querying the mapping relationship between different record group identifiers and different recorded information of session groups according to the group identifier of the first session group to obtain the information of the first session group associated with the group identifier of the first session group.
[0094] For example, after the enterprise administrator creates a session group, the server generates the group identifier (for example, the group number) corresponding to the session group and establishes the mapping relationship between different record group identifiers and different recorded information of session groups (that is, one group identifier corresponds to one information of a session group), and the server also establishes the mapping relationship between different record group identifiers and different record access addresses (that is, one access address corresponds to one group identifier), so that when the server receives the access address sent by the instant messaging client, the server can query the pre-established mapping relationship between different record access addresses and different record group identifiers according to the access address to obtain the group identifier of the first session group associated with the access address of the first session group, and after obtaining the group identifier of the first session group, the server can further query the pre-established mapping relationship between different record group identifiers and different recorded information of session groups according to the group identifier of the first session group to obtain the information of the first session group associated with the group identifier of the first session group, wherein the information of the first session group can include the number of member accounts in the first session group, the associated area of the first session group, the service type of the first session group, and the like.
[0095] In step S104, when the information of the first session group meets the expansion condition, the server performs expansion processing on the first session group to obtain a second session group.
[0096] In some embodiments, the expansion condition can include a quantity threshold, and Figure 3 The illustrated step S104 can be implemented by Figure 4A The illustrated steps S1041A to S1042A will be described in combination with Figure 4A The illustrated steps will be described.
[0097] In step S1041A, the number of member accounts in the first session group is extracted from the information of the first session group.
[0098] In some embodiments, after obtaining the information of the first session group based on step S103, the server can extract the number of member accounts in the first session group from the information of the first session group, i.e., the server determines the number of group member accounts currently included in the first session group.
[0099] In step S1042A, when the number of member accounts in the first session group is greater than the quantity threshold, a new session group that is different from the first session group is created as the second session group.
[0100] Here, the administrator account of the second session group can be the same as that of the first session group, e.g., the second session group can be created using the group owner identity of the first session group.
[0101] In some embodiments, when the server detects that the number of group member accounts currently included in the first session group is greater than the quantity threshold, the second session group can be automatically created in the identity of the administrator account of the first session group, where the quantity threshold can be the group size upper limit value of the first session group, e.g., assuming that the group size upper limit value of the first session group is 200, the quantity threshold can also be set to 200; of course, in actual application, after a user scans the first graphic code, the user can save the first graphic code for scanning by other users, therefore, in order to return the graphic code corresponding to the session group with an unfulfilled group size as much as possible to the instant messaging client, the quantity threshold can also be set to half of the group size upper limit value, e.g., when the group size upper limit value is 200, the quantity threshold can be set to 100.
[0102] In some embodiments, the expansion condition can include both the quantity threshold and a preset level of the first session group, and Figure 4A The illustrated step S1042A can be implemented by Figure 5 The illustrated steps S10421A to S10422A will be described in combination with Figure 5 The illustrated steps will be described.
[0103] In step S10421A, when the number of member accounts in the first session group is greater than the number threshold, a preset level of member accounts allowed to join the first session group is extracted from the information of the first session group.
[0104] In some embodiments, when the server detects that the number of member accounts in the first session group is greater than the number threshold, a preset level of member accounts allowed to join the first session group is further extracted from the information of the first session group. For example, the preset level of member accounts of the first session group can be 1-15 levels, i.e., only accounts of less than or equal to 15 levels are allowed to join the first session group, and accounts exceeding 15 levels cannot join the first session group.
[0105] In step S10422A, when the account level of the account bound to the instant messaging client carried by the network request is different from the preset level, and the number of member accounts of the session group meeting the account level that has been created is greater than the number threshold, a new session group different from the first session group is created as a second session group.
[0106] Here, the preset level of member accounts allowed to join the second session group includes the account level of the account bound to the instant messaging client.
[0107] In some embodiments, the network request sent by the instant messaging client can also carry the account bound to the instant messaging client. When the server detects that the account level of the account bound to the instant messaging client is different from the preset level of the first session group (for example, the account level of the account bound to the instant messaging client is 16 levels, and the preset level of the first session group is 1-15 levels), and the number of member accounts of the session group meeting the account level of the account bound to the instant messaging client that has been created is greater than the number threshold (i.e., the session group meeting the account level is also full), a new session group different from the first session group is automatically created as a second session group (i.e., a session group corresponding to a high-level account, for example, the preset level of the second session group can be 16-30 levels) in the identity of the administrator account of the first session group.
[0108] In some embodiments, the extension condition can include the preset level of the first session group, and then Figure 3 The step S104 shown can be implemented by Figure 4B The steps S1041B to S1042B shown are implemented, which will be combined Figure 4B The steps shown will be described.
[0109] In step S1041B, a preset level of member accounts allowed to join the first session group is extracted from the information of the first session group.
[0110] In some embodiments, after obtaining the information of the first session group based on step S103, the server can extract a preset level of member accounts allowed to join the first session group from the information of the first session group. For example, the preset level of member accounts allowed to join the first session group can be 1-10 levels, i.e., only accounts with a level less than or equal to 10 can join the first session group.
[0111] In step S1042B, when the account level of the account bound to the instant messaging client carried in the network request is different from the preset level, a new session group different from the first session group is created as the second session group.
[0112] Here, the preset level of member accounts allowed to join the second session group includes the account level of the account bound to the instant messaging client.
[0113] In some embodiments, the network request sent by the instant messaging client can also carry the account bound to the instant messaging client (for example, when the instant messaging client is a WeChat client, the account bound to the instant messaging client is the WeChat account registered by the user). After receiving the network request sent by the instant messaging client, the server first extracts the account bound to the instant messaging client from the network request, and then determines whether the account level of the account bound to the instant messaging client is the same as the preset level of member accounts allowed to join the first session group. When the server determines that the account level of the account bound to the instant messaging client is different from the preset level of member accounts allowed to join the first session group (for example, the account level of the account bound to the instant messaging client is higher than the preset level of member accounts allowed to join the first session group), a new session group different from the first session group is automatically created as the second session group (i.e., a session group for providing services to users corresponding to high-level accounts, such as VIP users) in the identity of the administrator account of the first session group. In this way, corresponding session groups are created for users of different levels, which improves service efficiency and user experience.
[0114] In some embodiments, the expansion condition can include an associated region of the first session group, and then Figure 3 The step S104 shown can be implemented by Figure 4C The steps S1041C to S1042C shown are implemented, which will be combined with Figure 4C The steps shown will be described.
[0115] In step S1041C, the associated region of the first session group is extracted from the information of the first session group.
[0116] In some embodiments, after obtaining the information of the first session group based on step S103, the server can extract the associated area of the first session group (for example, the service area associated with the first session group, that is, the service areas associated with different session groups are different, and each session group is associated with a service area) from the information of the first session group. For example, the associated area of the first session group can be A city, that is, the first session group is mainly used to provide corresponding services for users in A city.
[0117] In step S1042C, when the network request carries the running terminal of the instant messaging client is different from the associated area of the first session group, a new session group different from the first session group is created as the second session group.
[0118] Here, the associated area of the second session group includes the resident area of the terminal running the instant messaging client.
[0119] In some embodiments, the network request sent by the instant messaging client can also carry the resident area of the terminal running the instant messaging client (for example, the resident area of the terminal can be obtained by the built-in global positioning system of the terminal, or the resident area of the terminal can be obtained according to the wireless local area network connected by the terminal). When the server receives the network request sent by the instant messaging client, it first extracts the resident area of the terminal running the instant messaging client from the network request, and then judges whether the resident area of the terminal is the same as the associated area of the first session group. When the resident area of the terminal is different from the associated area of the first session group (for example, the resident area of the terminal is B city, and the associated area of the first session group is A city), the server creates a new session group different from the first session group as the second session group (that is, a session group mainly used to provide services for users in B city), so that the server expands and creates corresponding session groups for users in different areas, improving the service efficiency and user experience.
[0120] In some embodiments, the expansion condition can include a number threshold and an associated region of the first session group, and when the server determines that the number of member accounts in the first session group is greater than the number threshold, the following processing can be performed: extracting the associated region of the first session group from the information of the first session group; when the resident region of the terminal running the instant messaging client carried in the network request sent by the instant messaging client is different from the associated region of the first session group (for example, assuming that the associated region of the first session group is A city, and the resident region of the terminal is B city), and the number of member accounts of the session group that has been created and that is consistent with the resident region of the terminal is greater than the number threshold (i.e., the session group for providing services for users in B city has been full), creating a new session group different from the first session group as a second session group. In this way, by comprehensively considering the number threshold and the associated region of the first session group, repeated creation of the same type of session group is avoided, and the system resources of the server are saved.
[0121] In some embodiments, the expansion condition can also include an activity level threshold, and when the server determines that the activity level of the first session group is higher than the activity level threshold, the following processing can be performed: extracting the activity level of the first session group from the information of the first session group; when the resident region of the terminal running the instant messaging client carried in the network request sent by the instant messaging client is different from the associated region of the first session group (for example, assuming that the associated region of the first session group is A city, and the resident region of the terminal is B city), and the number of member accounts of the session group that has been created and that is consistent with the resident region of the terminal is greater than the number threshold (i.e., the session group for providing services for users in B city has been full), creating a new session group different from the first session group as a second session group. In this way, by comprehensively considering the number threshold and the associated region of the first session group, repeated creation of the same type of session group is avoided, and the system resources of the server are saved. Figure 3 The step S104 shown in the figure can be implemented by Figure 4D The steps S1041D to S1042D shown in the figure will be described in combination with Figure 4D The steps shown in the figure will be described.
[0122] In step S1041D, the activity level of the first session group is extracted from the information of the first session group.
[0123] In some embodiments, after obtaining the information of the first session group based on step S103, the server can also extract the activity program of the first session group from the information of the first session group, for example, extract the frequency of sending messages by the member accounts in the first session group.
[0124] In step S1042D, when the activity level of the first session group is higher than the activity level threshold, a new session group different from the first session group is created as a second session group.
[0125] Here, when the activity level of the second session group reaches the activity program threshold, the second session group will be used for expansion processing to obtain a third session group.
[0126] In some embodiments, when the server detects that the activity level of the first session group is higher than the activity level threshold, for example, when the server detects that the number of messages generated by the first session group per minute is greater than 100 (i.e., the messages sent by the member accounts in the first session group within 1 minute exceed 100), a new session group that is different from the first session group is automatically created as the second session group in the identity of the administrator account of the first session group, and in addition, when the server detects that the activity level of the second session group reaches the activity level threshold, the expansion processing of the second session group is continued to obtain the third session group, so that the new group user can avoid missing some important information published by the administrator account due to the over-activity of the member accounts in the session group (for example, the new group user cannot obtain the product information published by the group owner in time due to the screen brushing of the member accounts).
[0127] In some embodiments, the expansion condition can include the service type of the first session group, and Figure 3 The step S104 shown can be implemented by Figure 4E The steps S1041E to S1042E shown are implemented, which will be combined with Figure 4E The steps shown will be described.
[0128] In step S1041E, the service type of the first session group is extracted from the information of the first session group.
[0129] In some embodiments, after the server obtains the information of the first session group based on step S103, the service type of the first session group can also be extracted from the information of the first session group, for example, the service type of the first session group can be pre-sale consultation, that is, the service types provided by different session groups are different.
[0130] In step S1042E, when the service type required by the account bound to the instant messaging client carried by the network request is different from the service type of the first session group, a new session group that is different from the first session group is created as the second session group.
[0131] Here, the service type of the second session group includes the service type required by the account bound to the instant messaging client.
[0132] In some embodiments, the network request sent by the instant messaging client can also carry a service type required by the account bound by the instant messaging client (e.g., the service type required can be determined based on the purchase record, browsing record, etc. of the account bound by the instant messaging client), and the server, after receiving the network request sent by the instant messaging client, first extracts the service type required by the account bound by the instant messaging client from the network request, and then determines whether the service type required by the account is the same as the service type of the first session group. When the server determines that the service type required by the account bound by the instant messaging client is different from the service type of the first session group (e.g., the service type of the first session group is pre-sales consultation, and when it is determined based on the purchase record that the user has purchased the corresponding product, that is, the service type required by the account bound by the instant messaging client is after-sales service), a new session group different from the first session group is automatically created as a second session group (i.e., a session group for providing after-sales service). In this way, corresponding session groups are created for different service types, improving service efficiency and user experience.
[0133] In some embodiments, the network request sent by the instant messaging client can also carry a service type required by the account bound by the instant messaging client (e.g., the service type required can be determined based on the purchase record, browsing record, etc. of the account bound by the instant messaging client), and the server, after receiving the network request sent by the instant messaging client, first extracts the service type required by the account bound by the instant messaging client from the network request, and then determines whether the service type required by the account is the same as the service type of the first session group. When the server determines that the service type required by the account bound by the instant messaging client is different from the service type of the first session group (e.g., the service type of the first session group is pre-sales consultation, and when it is determined based on the purchase record that the user has purchased the corresponding product, that is, the service type required by the account bound by the instant messaging client is after-sales service), a new session group different from the first session group is automatically created as a second session group (i.e., a session group for providing after-sales service). In this way, corresponding session groups are created for different service types, improving service efficiency and user experience.
[0134] In some embodiments, before the server performs the expansion processing on the first session group to obtain the second session group, the server can also perform the following processing: when it is detected that there is a fourth session group that is expanded from the first session group and has a number of group member accounts less than the number threshold, a third graphical code corresponding to the fourth session group is sent to the instant messaging client, where the third graphical code is used for the account bound by the instant messaging client to join the fourth session group; and when it is detected that there is no fourth session group that is expanded from the first session group and has a number of group member accounts less than the number threshold, it is determined that the expansion processing on the first session group will be performed to obtain the second session group.
[0135] In an example, before performing the expansion processing on the first session group, the server first detects whether there exists an idle session group whose number of group members has not reached the maximum number. When there exists an idle session group, the server can directly send the group two-dimensional code corresponding to the idle session group to the instant messaging client, so that the user can join the idle session group by scanning the code. When it is detected that there does not exist an idle session group, it is determined that a new session group different from the first session group will be created. In this way, by pre-detecting whether there exists an idle session group, the server avoids repeatedly creating a new session group, thereby saving the system resources of the server.
[0136] In step S105, the server generates a second graphical code corresponding to the second session group.
[0137] In some embodiments, after performing the expansion processing on the first session group to obtain the second session group, the server can generate a second graphical code (e.g., a group two-dimensional code) corresponding to the second session group. The second graphical code can include the group identifier and the group name of the second session group, etc. That is, by scanning the second graphical code, the group identifier and the group name of the second session group can be obtained.
[0138] In step S106, the server sends the second graphical code to the instant messaging client.
[0139] Here, the second graphical code can be used for the account bound to the instant messaging client to join the second session group.
[0140] In some embodiments, before the account bound to the instant messaging client joins the second session group, the server can further perform the following processing: traversing the member accounts in the first session group and other session groups obtained by expanding the first session group, wherein the other session groups are different from the first session group and the second session group; when the account bound to the instant messaging client does not exist in the first session group and the other session groups obtained by expanding the first session group, it is determined that the account bound to the instant messaging client will be allowed to join the second session group. In this way, the resource waste caused by the same account joining multiple session groups at the same time can be avoided.
[0141] In some embodiments, the server can further perform the following processing in response to the group entry channel data query operation: find a mapping relationship between the number of the first graphic code and different channel information according to the number of the first graphic code, to obtain channel information of the first graphic code; record the channel information of the first graphic code as group entry channel information corresponding to the account bound by the instant messaging client; determine the number of accounts entering the group through each channel information according to the group entry channel information respectively corresponding to a plurality of accounts bound by instant messaging clients, wherein the number of accounts entering the group is the number of accounts entering a first session group and a new session group extended according to the first session group through each channel information, and display the number of accounts entering the group respectively corresponding to each channel information.
[0142] In some embodiments, after obtaining the first graphic code (e.g., a group live code), the server can number each group live code and establish a mapping relationship between the number of different group live codes and different channel information. For example, assume that the group live code numbered 1 is launched in a shopping mall, the group live code numbered 2 is launched in a station, and the group live code numbered 3 is launched in an airport. Then, the following mapping relationship can be established: number 1 - shopping mall; number 2 - station; number 3 - airport. In this way, when the server receives the group entry channel data query operation, it can find the mapping relationship between the number of different group live codes and different channel information in advance according to the number of the group live code to be queried, to obtain the channel information of the group live code to be queried (for example, assume that the number of the group live code to be queried is 1. By finding the mapping relationship established in advance, it can be found that the channel information of the group live code numbered 1 is the shopping mall, that is, the group live code numbered 1 is launched in the shopping mall). Then, the server can record the channel information of the group live code numbered 1 as the group entry channel information corresponding to the account bound by the instant messaging client, that is, record the group entry channel information corresponding to the account entering the corresponding session group by scanning the group live code numbered 1 as the group entry channel information corresponding to the account entering the group chat by the group live code in the shopping mall. Subsequently, the server can determine the number of accounts entering the group through each channel information according to the group entry channel information respectively corresponding to a plurality of accounts bound by instant messaging clients, for example, determine the number of accounts entering the corresponding session group (which can be the first session group or a new session group extended according to the first session group) through the group live code in the shopping mall, the number of accounts entering the corresponding session group through the group live code in the airport, and the number of accounts entering the corresponding session group through the group live code in the station, and call the human-computer interaction interface of the corresponding management terminal to display the number of accounts entering the group respectively corresponding to each channel information, for example, display the following content in the human-computer interaction interface of the management terminal: the number of accounts entering the group by scanning the code in the shopping mall is 5, the number of accounts entering the group by scanning the code in the airport is 10, and the number of accounts entering the group by scanning the code in the station is 8. In this way, by supporting the extraction of the group entry channel data of the user, the corresponding data support for the customer acquisition channel of the enterprise can be provided, and the ability of the enterprise to continuously acquire customers can be improved.
[0143] The method provided by the embodiment of the application can expand the first session group when the information of the first session group meets the expansion condition, obtain a second session group, and return a second graphical code of the second session group to the instant messaging client. In this way, the session group corresponding to the graphical code provided to the instant messaging client is a new session group obtained by expanding the first session group, which ensures that the account bound to the instant messaging client can join the corresponding session group, and improves the group joining efficiency and user experience.
[0144] In the following, the exemplary application of the embodiment of the application in an actual application scenario is described by taking the intercommunication between two versions of instant messaging clients, for example, a personal version and an enterprise version, as an example, wherein the personal version instant messaging client refers to an instant messaging client (for example, WeChat) providing Internet social services for personal users, and the enterprise version instant messaging client refers to an instant messaging client (for example, WeChat for Enterprise) providing Internet social services for enterprise users.
[0145] With the development of Internet technology, multi-user online group chat technology has appeared, for example, multi-user online group chat can be realized by using a client with group chat function such as WeChat and WeChat for Enterprise.
[0146] In the related art, a group member can invite multiple users not joining the group into the session group by an invitation into the group manner or by a group two-dimensional code sharing manner. However, the invitation into the group manner needs to be invited by a member already in the group, and is suitable for a scenario with a clear relationship chain (for example, the service personnel of WeChat for Enterprise and the WeChat user need to be in a friend relationship). That is, the invitation into the group manner has a high requirement for the relationship chain of the group member, is not conducive to the acquisition of new customers, and is only suitable for the transmission among acquaintances with an existing friend relationship.
[0147] In addition, although the way of inviting external users to join the group by sharing the group two-dimensional code is relatively loose in terms of relationship chain, each user can join the corresponding conversation group by scanning the group two-dimensional code, the group two-dimensional code is generally set to be valid for 7 days, and after expiration, it cannot be joined by scanning the group two-dimensional code shared before, that is, the group two-dimensional code has a validity period limit, and the short time is not conducive to the continuous and effective delivery of enterprises through posters, advertisements, public numbers, applets and the like. Moreover, the group two-dimensional code and the conversation group are in a one-to-one relationship, and when the conversation group is full, it cannot dynamically expand new conversation groups. At the same time, there is no correlation between different conversation groups, and the same user can be in multiple conversation groups of the same enterprise at the same time, which brings difficulties to the distribution of benefits and the operation of activities. Further, the pre-control of the user entering the group cannot be achieved, and there are risks of malicious users brushing advertisements and sending illegal and fraudulent content.
[0148] In addition, the ordinary conversation group operated on the side of WeChat lacks corresponding management ability of the enterprise to the customers, so that the customer resources managed by the enterprise employees will be lost along with the resignation of the enterprise employees, and the enterprise lacks data support and operation data analysis for customer channel conversion analysis.
[0149] In view of this, the embodiment of the present application provides a graph code processing method of a conversation group, which can support flexible configuration of group information behind a group living code and dynamic expansion of a conversation group, and is permanently valid, thereby solving the problems of the enterprise in the operation group, WeChat group or enterprise WeChat group, such as the invalidation of the group two-dimensional code, the inability to obtain new customers, the loss of customers after the resignation of the enterprise employees, the inability to dynamically expand the conversation group after the conversation group is full, and the problems of group advertisement and malicious fraud. At the same time, the graph code processing method of the conversation group provided by the embodiment of the present application also supports extraction of user group channel data, so as to improve the continuous customer acquisition ability of the enterprise, provide corresponding data support for the customer acquisition channel of the enterprise, maintain the activity between the enterprise and the customers, and increase the customer stickiness.
[0150] The graph code processing method of the conversation group provided by the embodiment of the present application will be described in detail below.
[0151] The graph code processing method of the conversation group provided by the embodiment of the present application can be applied to actual application scenarios such as customer groups and resident groups in the enterprise WeChat ecological system. For example, enterprise personnel can create a group living code through the use of the enterprise WeChat mobile terminal APP-workbench-customer group, web enterprise management terminal-customer contact, enterprise WeChat open platform-customer contact and the like.
[0152] It should be noted that the method for processing the graphical code of the conversation group provided in the embodiments of the present application can be applied not only to the ecological system of WeChat Enterprise, but also to other similar systems (for example, a group live code system constructed using a group two-dimensional code picture). In addition, the conversation group can be a group chat system composed of WeChat Enterprise users and WeChat users, or other similar group chat systems, which are not limited in the embodiments of the present application.
[0153] For example, referring to Figure 6 , Figure 6 is a schematic diagram of an application scenario of the method for processing the graphical code of the conversation group provided in the embodiments of the present application, as shown in Figure 6 , a conversation group selection area 602 is displayed in the configuration interface 601, which is used for an enterprise personnel to select a conversation group that can be joined or create a new conversation group. In addition, a group entry setting area 603 is also displayed in the configuration interface 601 to support the ability of automatically deriving a new group when the group members are full, and the ability of automatically numbering and naming the derived new group by serial number. Meanwhile, a note area 604 is also displayed in the configuration interface 601, which is used for the enterprise personnel to add corresponding note information to the configured group live code for subsequent searching. Further, a group live code preview area 605 and a create button 606 are also displayed in the configuration interface 601, and when the enterprise personnel sets the corresponding configuration information in the configuration interface 601 and clicks the create button 606, the finally generated group live code 607 can be obtained.
[0154] After obtaining the group live code, the enterprise personnel can add the group live code to a poster, an article of a public account, a product manual, or other scenarios that need to establish contact with customers. In this way, the customer can actively join the corresponding conversation group and reach the operation customer service personnel of the enterprise by using the personal WeChat or WeChat Enterprise to scan the group live code. Meanwhile, the enterprise personnel can also configure an entry welcome speech for the conversation group to reach the latest product information at the first time when the customer enters the conversation group. The presentation form of the welcome speech can include pictures, videos, web H5, and applets.
[0155] For example, referring to Figure 7 , Figure 7 is a schematic diagram of an application scenario of the method for processing the graphical code of the conversation group provided in the embodiments of the present application, as shown in Figure 7 , when the customer joins a certain conversation group (for example, a 6.1 activity benefit group 701) by scanning the code, the group member account information 702 that has joined the conversation group and the welcome speech 703 and applet 704 sent by the group administrator account (for example, the group owner account) are displayed in the 6.1 activity benefit group 701. In this way, the customer can obtain the latest product information of the enterprise at the first time by clicking the applet 704.
[0156] For example, refer to Figure 8 , Figure 8 FIG. 1 is a schematic diagram of an application scenario of a method for processing a graphical code of a conversation group according to an embodiment of the present application. As shown in FIG. 1, when a new customer joins a conversation group (for example, a 6.1 activity welfare group 801) by scanning a code, the new customer's relevant information 802 can be displayed in the 6.1 activity welfare group 801, for example, "Scarlett from WeChat has joined the external group chat by scanning the two-dimensional code you shared", and the group administrator account (for example, the group owner account) can be triggered to automatically send a welcome message 803 and a mini-program 804, so that the new customer can obtain the latest product information of the enterprise by clicking the mini-program 804 in the first time. Figure 8
[0157] The group live code in the embodiment of the present application is generally composed of the following parts: creation, update and deletion of the group live code. For example, refer to Figure 9 , Figure 9 FIG. 2 is a flowchart of a method for processing a graphical code of a conversation group according to an embodiment of the present application. The creation process of the group live code will be described in detail in combination with the steps shown in Figure 9 .
[0158] In step S201, the user selects an existing conversation group in the WeChat for Enterprise APP.
[0159] In step S202, the WeChat for Enterprise APP sends a request for creating a new conversation group to the WeChat for Enterprise background.
[0160] In step S203, the WeChat for Enterprise background returns a seed group to the WeChat for Enterprise APP.
[0161] For example, the user (for example, an enterprise administrator or an enterprise service personnel) can click the WeChat for Enterprise APP installed on the terminal, so that the terminal jumps to the customer contact interface (for example, the configuration interface 601 shown in FIG. 6) provided by the WeChat for Enterprise APP. In the configuration interface 601, the enterprise administrator can select an existing conversation group or select a group owner to create a new conversation group as a seed group, and configure whether to automatically create a new conversation group using the group owner identity of the seed group when the number of group members reaches the upper limit, and set the group name and number of the newly created conversation group. In addition, the enterprise administrator can also add note information in the note area 604 displayed in the configuration interface 601 for searching. Figure 6 In step S204, the WeChat for Enterprise APP sends a request for creating a group live code based on the seed group and group chat derivative information to the WeChat for Enterprise background.
[0162] In step S205, the WeChat for Enterprise background generates a globally unique group live code identifier.
[0163]
[0164] In step S206, the WeChat for Enterprise background stores the group live code information as a key.
[0165] In step S207, the WeChat for Enterprise background generates a two-dimensional code picture of the group live code identifier.
[0166] For example, after the user sets the corresponding group chat derivative information in the configuration interface 601 provided by the WeChat for Enterprise APP, the WeChat for Enterprise APP sends a group live code creation request based on the seed group and the group chat derivative information to the WeChat for Enterprise background. After receiving the creation request sent by the WeChat for Enterprise APP, the WeChat for Enterprise background generates a globally unique group live code identifier (code) for the group chat derivative information set by the user, and stores the corresponding configuration information using the code as a storage key (key) item, and then generates a corresponding group live code (i.e., a two-dimensional code picture containing the group live code code).
[0167] It should be noted that when editing the configuration information of the existing group live code on the web side, the generated two-dimensional code picture information will not change (i.e., the pattern of the two-dimensional code picture will not change), and only the related storage information will be modified, that is, the editing operation of the configuration information of the group live code will not cause the existing two-dimensional code to be invalid.
[0168] In addition, when the user (for example, an enterprise administrator) actively deletes the group live code, the corresponding storage information behind the group live code will be invalid, and the subsequent customers can no longer join the corresponding conversation group through the group live code, but the historical conversation group generated through the group live code and the customers joining the conversation group can still be used as assets of the enterprise and are not affected by the deletion of the group live code.
[0169] In step S208, the WeChat for Enterprise background sends a two-dimensional code picture download link of the group live code to the WeChat for Enterprise APP.
[0170] For example, after generating the two-dimensional code picture containing the group live code code, the WeChat for Enterprise background can send the two-dimensional code picture download link to the WeChat for Enterprise APP, so that the WeChat for Enterprise APP obtains the two-dimensional code picture according to the download link. Of course, the WeChat for Enterprise background can also directly send the two-dimensional code picture to the WeChat for Enterprise APP, and the present application embodiment does not make a specific limitation in this regard.
[0171] The process of joining the corresponding conversation group by scanning the group live code will be described below. For example, referring to Figure 10 , Figure 10 is a flowchart of a method for processing a graphical code of a conversation group provided by an embodiment of the present application. The process of joining the corresponding conversation group by scanning the group live code will be specifically described with reference to the steps shown in Figure 10 .
[0172] In step S301, the WeChat / WeChat for Enterprise APP scans the group live code, and parses the access address.
[0173] In step S302, the WeChat / WeChat for Enterprise APP sends a link for requesting the group live code to the WeChat for Enterprise background.
[0174] For example, when the customer scans the code, the WeChat / WeChat for Enterprise APP running on the terminal obtains the access address of the group live code by parsing the content of the two-dimensional code picture, and then accesses the group live code address with the identity information (for example, the WeChat account or WeChat for Enterprise account registered by the customer) of the code scanner in the built-in browser.
[0175] In step S303, the WeChat for Enterprise background reads the information of the group live code.
[0176] For example, after receiving the corresponding request, the WeChat for Enterprise background reads the stored information of the corresponding group live code, and obtains the configured session group list and the enterprise information to which the group live code belongs.
[0177] In step S304, the WeChat for Enterprise background verifies the validity of the group owner.
[0178] For example, after obtaining the corresponding session group according to the session group list, the WeChat for Enterprise background verifies whether the group administrator account (for example, the group owner account) of the session group configured by the current group live code is still valid (for example, whether the enterprise employee corresponding to the group owner account is dismissed), and the group live code of the dismissed enterprise employee will be logically invalid until the managed session group is inherited by the dismissed employee (after the employee is dismissed from the enterprise, the customer resources and customer group resources managed by the employee are received by the employee who replaces the employee), and the employee who changes the work can also transfer the group owner identity of the customer group through the in-service inheritance (the employee in the current enterprise, because the content of the work is changed, the customer resources and customer group resources managed by the employee are received by other employees).
[0179] For example, referring to Figure 11 , Figure 11 is an application scenario diagram of the group live code processing method of the session group provided by the embodiment of the application, as Figure 11As shown, if the group owner behind the group live code leaves the job, the group live code will be temporarily disabled, and the group owner needs to be replaced by inheritance after leaving the job to continue using, thereby avoiding the enterprise's customers without customer service personnel following up, and at the same time, the management end will appear a list of customer groups that have left and are waiting for inheritance, for example, in the management end interface 1101, there is a range of selection area 1102 of members who have left and a time range selection area 1103, when the user (for example, an enterprise administrator) selects "all" in the range of selection area 1102 of members who have left, and sets the time range to "2019-01-23 to 2021-05-31" in the time range selection area 1103, all lists of customer groups that have left and are waiting for inheritance in this time period will be displayed in the management end interface 1101, and in the customer group list 1104, the number of customers to be allocated to each employee, the number of group chats to be allocated (i.e., the number of conversation groups managed by the employee), and the leaving time of the employee, etc. are displayed.
[0180] In step S305, the WeChat for Enterprise background verifies the enterprise blacklist.
[0181] For example, the WeChat for Enterprise background verifies whether the identity of the code scanner belongs to the blacklisted users that the enterprise actively shields, and the blacklisted users cannot join the conversation groups of the enterprise.
[0182] In step S306, the WeChat for Enterprise background verifies whether it is repeated to enter the group.
[0183] For example, the WeChat for Enterprise background judges whether the code scanner has already been in the conversation group configured by the group live code, and the same customer is only allowed to join one conversation group in the group live code, for example, when the WeChat for Enterprise background judges that the code scanner has already been in one conversation group configured by the group live code, it will refuse to respond to the request sent by the WeChat / WeChat for Enterprise APP.
[0184] In step S307, the WeChat for Enterprise background judges whether it is repeated to scan the code.
[0185] For example, the WeChat for Enterprise background reads the latest scanning information (for example, the scanning information in the last 20 minutes) of the code scanner, and judges whether it has scanned the group live code without joining the conversation group, so as to avoid the same customer constantly brushing the group live code and traversing all the conversation group information behind the group live code.
[0186] In step S308, the WeChat for Enterprise background calculates the derived new group and processes the dissolved conversation group.
[0187] For example, the WeChat Enterprise background judges whether there is an idle session group (i.e., a session group whose number of group members is not full) in the session group behind the current group live code. If there is no idle session group, the WeChat Enterprise background automatically derives a new session group according to the configuration information set by the user in advance, and the WeChat Enterprise background can also check whether there is a dissolved session group, and remove the dissolved session group from the information of the group live code.
[0188] In step S309, the WeChat Enterprise background calculates the idle group and writes the channel information.
[0189] In step S310, the WeChat Enterprise background sends the group two-dimensional code to the WeChat / WeChat Enterprise APP.
[0190] In step S311, the WeChat / WeChat Enterprise APP scans the group two-dimensional code to join the group.
[0191] In step S312, the WeChat Enterprise background adds the account bound by the WeChat / WeChat Enterprise APP to the idle group.
[0192] For example, the WeChat Enterprise background selects the current idle session group, generates the corresponding group two-dimensional code, and writes the customer group entry channel according to the channel information of the group live code (for example, when the group live code is launched in a shopping mall, the corresponding customer group entry channel is to enter the group by scanning the group live code in the shopping mall; when the group live code is launched in a station, the corresponding customer group entry channel is to enter the group by scanning the group live code in the station), and then the WeChat Enterprise background can send the generated group two-dimensional code to the WeChat / WeChat Enterprise APP of the customer. In this way, the customer can join the corresponding session group by scanning the group two-dimensional code sent by the WeChat Enterprise background.
[0193] In step S313, the WeChat Enterprise background triggers the asynchronous group entry logic.
[0194] In step S314, the WeChat Enterprise background sends a welcome speech to the WeChat / WeChat Enterprise APP.
[0195] For example, when the customer (assuming that the customer's registered account name is "gopher") joins a new session group by scanning the code, the WeChat Enterprise background triggers the pre-configured welcome speech to be sent to the WeChat / WeChat Enterprise APP of the customer, such as "gopher, welcome to join the 6.1 activity welfare group", and the customer's group entry channel data and the corresponding group entry channel data of different customers are written asynchronously. In this way, by statistically analyzing the group entry channel data of different customers, the continuous customer acquisition ability of the enterprise can be improved, and corresponding data support can be provided for the customer acquisition channel of the enterprise.
[0196] For example, referring to Figure 12 Figure 12 This is a schematic diagram illustrating an application scenario of the graphical code processing method for session groups provided in this application embodiment, such as... Figure 12 As shown, the management interface can display information on customers joining chat groups and newly created chat groups using group activation codes, facilitating customer group management for businesses. For example, the management interface 1201 displays a group owner range selection area 1202, a group name range selection area 1203, and a time range selection area 1204. When a user (e.g., a business administrator) selects "All" in the group owner range selection area 1202, "All" in the group name range selection area 1203, and sets the time range to "from January 23, 2019 to May 31, 2021" in the time range selection area 1204, the management interface 1201 will display a list 1205 of all new chat groups created based on group activation codes within this time period. The chat group list 1205 displays the group name, number of member accounts, group owner account, and creation time of each chat group. Simultaneously, businesses can also obtain specific customer group joining channel data through the open API capabilities provided by the WeChat Work Open Platform, providing refined data for business operations.
[0197] The graphical code processing method for conversation groups provided in this application solves the problem of customer loss caused by the loss of sales or service personnel by building a complete system for joining groups with active group codes. It also provides automatic group generation capabilities to enhance the company's ability to continuously acquire customers. In addition, it provides a blacklist mechanism for companies to combat malicious users and supports the ability to send welcome messages, so that customers can access the latest information from the company as soon as they join the group, reducing the workload of customer service personnel and improving service efficiency.
[0198] The following description continues to illustrate the exemplary structure of the session group graphic code processing device 243 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 2 As shown, the software modules in the session group graphic code processing device 243 stored in the memory 240 may include: a receiving module 2431, an acquisition module 2432, an extension module 2433, a generation module 2434, and a sending module 2435.
[0199] The receiving module 2431 is configured to receive a network request sent by the instant messaging client, where the network request is sent by the instant messaging client in response to a scanning operation on the first graphical code and obtaining an access address of the first session group; the obtaining module 2432 is configured to obtain information of the first session group according to the access address carried in the network request; the expanding module 2433 is configured to perform expansion processing on the first session group to obtain a second session group when the information of the first session group meets an expansion condition; the generating module 2434 is configured to generate a second graphical code corresponding to the second session group; and the sending module 2435 is configured to send the second graphical code to the instant messaging client, where the second graphical code is used for the account bound by the instant messaging client to join the second session group.
[0200] In some embodiments, the expansion condition includes a quantity threshold; the expanding module 2433 is further configured to extract a quantity of member accounts in the first session group from the information of the first session group; and when the quantity of member accounts in the first session group is greater than the quantity threshold, a new session group that is different from the first session group is created as the second session group, where the second session group is the same as the administrator account of the first session group.
[0201] In some embodiments, the expansion condition further includes a preset level of the first session group; the expanding module 2433 is further configured to extract a preset level of member accounts allowed to join the first session group from the information of the first session group when the quantity of member accounts in the first session group is greater than the quantity threshold; and when the account level of the account bound by the instant messaging client carried in the network request is different from the preset level and the quantity of member accounts of the session group that has been created and meets the account level is greater than the quantity threshold, a new session group that is different from the first session group is created as the second session group, where the preset level of member accounts allowed to join the second session group includes the account level of the account bound by the instant messaging client.
[0202] In some embodiments, the expansion condition includes a preset level of the first session group; the expanding module 2433 is further configured to extract a preset level of member accounts allowed to join the first session group from the information of the first session group; and when the account level of the account bound by the instant messaging client carried in the network request is different from the preset level, a new session group that is different from the first session group is created as the second session group, where the preset level of member accounts allowed to join the second session group includes the account level of the account bound by the instant messaging client.
[0203] In some embodiments, the expansion condition comprises an associated region of the first session group; the expansion module 2433 is further configured to extract the associated region of the first session group from the information of the first session group; and when the network request carries a resident region of the terminal running the instant messaging client that is different from the associated region of the first session group, a new session group different from the first session group is created as the second session group, wherein the associated region of the second session group comprises the resident region of the terminal running the instant messaging client.
[0204] In some embodiments, the expansion condition comprises an activity threshold; the expansion module 2433 is further configured to extract the activity of the first session group from the information of the first session group; and when the activity of the first session group is higher than the activity threshold, a new session group different from the first session group is created as the second session group, and when the activity of the second session group reaches the activity threshold, the second session group will be used for expansion processing to obtain the third session group.
[0205] In some embodiments, the expansion condition comprises a service type of the first session group; the expansion module 2433 is further configured to extract the service type of the first session group from the information of the first session group; and when the network request carries a service type required by the account bound to the instant messaging client that is different from the service type of the first session group, a new session group different from the first session group is created as the second session group, wherein the service type of the second session group comprises the service type required by the account bound to the instant messaging client.
[0206] In some embodiments, the session group graphical code processing apparatus 243 further comprises a determination module 2436 configured to, when the account bound to the instant messaging client carried by the network request belongs to a blacklisted account that is shielded, reject the response to the network request, and determine that the information of the first session group will not be obtained according to the access address carried by the network request.
[0207] In some embodiments, the sending module 2435 is further configured to, when the administrator account of the first session group is in an invalid state, send first prompt information to the instant messaging client, wherein the first prompt information is used to prompt that the network request cannot be responded to at present.
[0208] In some embodiments, the graphical code processing apparatus 243 of the conversation group further comprises a display module 2437 configured to display the member accounts in the first conversation group; the determination module 2436 is further configured to, in response to an account selection operation, determine the selected member account in the first conversation group as a new administrator account; the graphical code processing apparatus 243 of the conversation group further comprises a deletion module 2438 configured to delete the administrator account in the invalid state from the first conversation group; and the sending module 2435 is further configured to send second prompt information to the instant messaging client, where the second prompt information is used to prompt a re-scanning operation on the first graphical code.
[0209] In some embodiments, the graphical code processing apparatus 243 of the conversation group further comprises a traversal module 2439 configured to traverse the member accounts in the first conversation group and other conversation groups extended from the first conversation group, where the other conversation groups are different from the first conversation group and the second conversation group; and the determination module 2436 is further configured to, when there is no account bound by the instant messaging client in the first conversation group and the other conversation groups extended from the first conversation group, determine that the account bound by the instant messaging client is allowed to join the second conversation group.
[0210] In some embodiments, the obtaining module 2432 is further configured to obtain a historical scanning record of the instant messaging client for the first graphical code; and the determination module 2436 is further configured to, when it is determined according to the historical scanning record that the number of scanning times of the instant messaging client for the first graphical code within a preset time length is greater than a number threshold, reject the network request, and determine not to execute the access address carried in the network request to obtain the information of the first conversation group.
[0211] In some embodiments, the determination module 2436 is further configured to, in response to a group entry channel data query operation, perform the following processing: find a mapping relationship between the number of different graphical codes and the channel information of different channels according to the number of the first graphical code, to obtain the channel information of the first graphical code; record the channel information of the first graphical code as the group entry channel information corresponding to the account bound by the instant messaging client; determine the number of group entries through each channel information according to the group entry channel information corresponding to each account bound by the instant messaging client, where the number of group entries is the number of accounts that join the first conversation group and the new conversation groups extended from the first conversation group through each channel information; and the display module 2437 is further configured to display the number of group entries corresponding to each channel information.
[0212] In some embodiments, the acquisition module 2432 is further configured to query the mapping relationship between different filing access addresses and different filing group identifiers based on the access address, to obtain the group identifier of the first session group associated with the access address of the first session group; and query the mapping relationship between different filing group identifiers and the information of different filing session groups based on the group identifier of the first session group, to obtain the information of the first session group associated with the group identifier of the first session group.
[0213] In some embodiments, the sending module 2435 is further configured to send a third graphic code corresponding to the fourth session group to the instant messaging client when it is detected that a fourth session group is obtained by expanding the first session group and the number of group member accounts is less than a quantity threshold, wherein the third graphic code is used for the account bound to the instant messaging client to join the fourth session group; the determining module 2436 is further configured to determine that when it is detected that a fourth session group is not obtained by expanding the first session group and the number of group member accounts is less than a quantity threshold, it will proceed to perform the expansion process of the first session group to obtain a second session group.
[0214] It should be noted that the description of the apparatus in this application embodiment is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, therefore it will not be repeated. For technical details not covered in the session group graphic code processing apparatus provided in this application embodiment, please refer to... Figure 3 , Figures 4A-4E , Figure 5 ,or Figures 9-10 The meaning is understood in accordance with the description of any of the accompanying drawings.
[0215] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the session group graphic code processing method described above in this application.
[0216] This application provides a computer-readable storage medium storing executable instructions. When these executable instructions are executed by a processor, they cause the processor to perform the method provided in this application, for example... Figure 3 , Figures 4A-4E , Figure 5 ,or Figures 9-10 The graphical code processing method for the session group is shown.
[0217] In some embodiments, the computer-readable storage media can be a memory such as a FRAM, ROM, PROM, EPROM, EEPROM, flash memory, a magnetic surface memory, an optical disk, or a CD-ROM, etc.; or various devices including one or any combination of the above memories.
[0218] In some embodiments, the executable instructions can be in the form of a program, software, software modules, scripts, or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages; and it can be deployed in any form, including being deployed as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0219] As an example, the executable instructions can but need not correspond to a file in a file system, can be stored in a part of a file that holds other programs or data, for example, in one or more scripts stored in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files, for example, files that store one or more modules, sub programs, or code portions.
[0220] As an example, the executable instructions can be deployed to execute on one computer device, or on multiple computer devices located at one site, or on multiple computer devices distributed across multiple sites and interconnected by a communication network.
[0221] In summary, the embodiments of the present application expand the first session group when the information of the first session group meets the expansion condition, obtain the second session group, and return the second graphical code of the second session group to the instant messaging client. Thus, since the graphical code provided to the instant messaging client corresponds to the new session group obtained by expanding the first session group, it ensures that the account bound to the instant messaging client can join the session group, improves the efficiency of joining the session group, and further improves the user experience.
[0222] The above merely describes the embodiments of the present application, but does not serve to limit the protection scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present application shall fall within the protection scope of the present application.
Claims
1. A method for processing a graphical code of a conversation group, characterized by, The method comprises: receiving a network request sent by an instant messaging client, wherein the network request is sent by the instant messaging client in response to a scanning operation on a first graphic code and obtaining an access address of a first session group; when the account bound by the instant messaging client carried in the network request does not belong to a blacklisted account that is shielded, the administrator account of the first session group is in a valid state, and the number of scanning times of the instant messaging client on the first graphic code within a preset time length is less than a threshold value, obtaining information of the first session group according to the access address carried in the network request, wherein the information of the first session group comprises one of the following: an associated region of the first session group, an activity level of the first session group, a service type of the first session group, and a preset level of a member account allowed to join the first session group; when the information of the first session group meets an expansion condition, performing expansion processing on the first session group to obtain a second session group, and generating a second graphic code corresponding to the second session group, wherein the expansion condition comprises one of the following: the account level of the account bound by the instant messaging client carried in the network request is different from the preset level, the resident region of the terminal running the instant messaging client carried in the network request is different from the associated region of the first session group, the activity level of the first session group is higher than an activity level threshold value, and the service type required by the account bound by the instant messaging client carried in the network request is different from the service type of the first session group; sending the second graphic code to the instant messaging client, wherein the second graphic code is used for the account bound by the instant messaging client to join the second session group; in response to a group entry channel data query operation, performing the following processing: finding a mapping relationship between the number of different graphic codes and different channel information according to the number of the first graphic code to obtain channel information of the first graphic code; recording the channel information of the first graphic code as group entry channel information corresponding to the account bound by the instant messaging client; determining the number of accounts joining the first session group and new session groups obtained by expansion of the first session group through each channel information according to the group entry channel information corresponding to a plurality of accounts bound by the instant messaging client, and displaying the number of accounts joining the first session group and new session groups obtained by expansion of the first session group through each channel information.
2. The method of claim 1, wherein, The method comprises: extracting the preset level of the member account allowed to join the first session group from the information of the first session group; When the account level of the account bound to the instant messaging client carried by the network request is different from the preset level, a new session group different from the first session group is created as a second session group, wherein the preset level of the member account allowed to join the second session group includes the account level of the account bound to the instant messaging client.
3. The method of claim 1, wherein, The expanding the first session group when the information of the first session group meets the expanding condition to obtain a second session group comprises: extracting an associated region of the first session group from the information of the first session group; When the permanent region of the terminal running the instant messaging client carried by the network request is different from the associated region of the first session group, a new session group different from the first session group is created as a second session group, wherein the associated region of the second session group includes the permanent region of the terminal running the instant messaging client.
4. The method of claim 1, wherein, The expanding the first session group when the information of the first session group meets the expanding condition to obtain a second session group comprises: extracting an activity level of the first session group from the information of the first session group; When the activity level of the first session group is higher than an activity level threshold, a new session group different from the first session group is created as a second session group, and when the activity level of the second session group reaches the activity level threshold, the second session group will be used to perform the expanding to obtain a third session group.
5. The method of claim 1, wherein, The expanding the first session group when the information of the first session group meets the expanding condition to obtain a second session group comprises: extracting a service type of the first session group from the information of the first session group; When the service type required by the account bound to the instant messaging client carried by the network request is different from the service type of the first session group, a new session group different from the first session group is created as a second session group, wherein the service type of the second session group includes the service type required by the account bound to the instant messaging client.
6. The method of claim 1, wherein, Before the information of the first session group is acquired according to the access address carried by the network request, the method further comprises: When the account bound to the instant messaging client carried by the network request belongs to a blacklisted account that is shielded, the network request is rejected, and it is determined that the information of the first session group will not be acquired according to the access address carried by the network request.
7. The method of claim 1, wherein, Before the information of the first session group is acquired according to the access address carried by the network request, the method further comprises: When the administrator account of the first session group is in an invalid state, first prompt information is sent to the instant messaging client, wherein the first prompt information is used to prompt that the network request cannot be responded at present.
8. The method of claim 7, wherein, The method further comprises: displaying the member accounts in the first session group; In response to the account selection operation, determine the selected member account in the first session group as a new administrator account, and delete the administrator account in the invalid state from the first session group; Send second prompt information to the instant messaging client, wherein the second prompt information is used to prompt to re-scan the first graphical code.
9. The method of claim 1, wherein, Before the account bound by the instant messaging client is added to the second session group, the method further comprises: Traverse the member accounts in the first session group and other session groups extended according to the first session group, wherein the other session groups are different from the first session group and the second session group; When the account bound by the instant messaging client does not exist in the first session group and the other session groups extended according to the first session group, determine that the account bound by the instant messaging client will be allowed to be added to the second session group.
10. The method of claim 1, wherein, Before the information of the first session group is acquired according to the access address carried in the network request, the method further comprises: Acquire the historical scanning record of the instant messaging client for the first graphical code; When it is determined according to the historical scanning record that the number of scanning times of the instant messaging client for the first graphical code within a preset time length is greater than a number threshold, refuse to respond to the network request, and determine that the process of acquiring the information of the first session group according to the access address will not be executed.
11. The method of claim 1, wherein, The process of acquiring the information of the first session group according to the access address carried in the network request comprises: According to the access address, query the mapping relationship between different record access addresses and different record group identifiers, to obtain the group identifier of the first session group associated with the access address of the first session group; According to the group identifier of the first session group, query the mapping relationship between different record group identifiers and the information of different recorded session groups, to obtain the information of the first session group associated with the group identifier of the first session group.
12. The method of claim 1, wherein, Before the second session group is obtained by extending the first session group, the method further comprises: When it is detected that there is a fourth session group extended according to the first session group and the number of group member accounts of which is less than a number threshold, send a third graphical code corresponding to the fourth session group to the instant messaging client, wherein the third graphical code is used for the account bound by the instant messaging client to join the fourth session group; When it is detected that there is no fourth session group extended according to the first session group and the number of group member accounts of which is less than a number threshold, determine that the process of obtaining the second session group by extending the first session group will be executed.
13. A graphical code processing apparatus of a conversation group, characterized by comprising: The device comprises: The receiving module is configured to receive a network request sent by an instant messaging client, wherein the network request is sent by the instant messaging client in response to a scanning operation for a first graphical code, and an access address of a first session group is obtained after the scanning operation; The acquisition module is configured to acquire information of the first session group according to the access address carried in the network request when the account bound by the instant messaging client carried in the network request does not belong to a blacklisted account that is shielded, the administrator account of the first session group is in a valid state, and the number of times of scanning the first graphic code by the instant messaging client within a preset time length is less than a threshold number, wherein the information of the first session group comprises one of the following: an associated region of the first session group, an activity level of the first session group, a service type of the first session group, and a preset level of member accounts allowed to join the first session group. The expansion module is configured to perform expansion processing on the first session group to obtain a second session group when the information of the first session group satisfies an expansion condition, wherein the expansion condition comprises one of the following: the account level of the account bound by the instant messaging client carried in the network request is different from the preset level, the resident region of the terminal running the instant messaging client carried in the network request is different from the associated region of the first session group, the activity level of the first session group is higher than an activity level threshold, and the service type required by the account bound by the instant messaging client carried in the network request is different from the service type of the first session group. The generation module is configured to generate a second graphic code corresponding to the second session group. The sending module is configured to send the second graphic code to the instant messaging client, wherein the second graphic code is used for the account bound by the instant messaging client to join the second session group. The determination module is configured to, in response to a group entry channel data query operation, perform the following processing: find a mapping relationship between the number of different graphic codes and different channel information according to the number of the first graphic code to obtain channel information of the first graphic code; record the channel information of the first graphic code as group entry channel information corresponding to the account bound by the instant messaging client; determine the number of accounts that enter a group through each channel information according to the group entry channel information corresponding to a plurality of accounts bound by the instant messaging client, wherein the number of accounts that enter a group through each channel information is the number of accounts that join the first session group and a new session group obtained by expansion of the first session group through each channel information, and display the number of accounts that enter a group corresponding to each channel information.
14. The apparatus of claim 13, wherein, The expansion module is further configured to extract the preset level of member accounts allowed to join the first session group from the information of the first session group, and create a new session group that is different from the first session group as a second session group when the account level of the account bound by the instant messaging client carried in the network request is different from the preset level, wherein the preset level of member accounts allowed to join the second session group comprises the account level of the account bound by the instant messaging client.
15. The apparatus of claim 13, wherein, The extension module is further configured to extract the associated area of the first session group from the information of the first session group; and create a new session group different from the first session group as a second session group when the resident area of the terminal running the instant messaging client carried by the network request is different from the associated area of the first session group, wherein the associated area of the second session group comprises the resident area of the terminal running the instant messaging client.
16. The apparatus of claim 13, wherein, The extension module is further configured to extract the activity level of the first session group from the information of the first session group; and create a new session group different from the first session group as a second session group when the activity level of the first session group is higher than an activity level threshold, and the second session group will be used to perform the extension processing to obtain a third session group when the activity level of the second session group reaches the activity level threshold.
17. An electronic device, comprising: The electronic device comprises: a memory configured to store executable instructions; a processor configured to execute the executable instructions stored in the memory to implement the session group graphical code processing method according to any one of claims 1-12.
18. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the session group graphical code processing method according to any one of claims 1-12.
19. A computer program product comprising computer programs or computer executable instructions, characterized in that, The computer program or computer executable instructions are executed by the processor to implement the session group graphical code processing method according to any one of claims 1-12.
Citation Information
Patent Citations
Group joining method and device, group management system, computer equipment and storage medium
CN111404702A
Two-dimensional code distribution method, device and equipment
CN113052285A