Group chat processing method and device, electronic equipment and storage medium

By creating a group chat directory in the group chat list, gathering related group chats and updating the number in real time, the cumbersome problem of group chat management is solved and the efficiency of viewing and management is improved.

CN119884420APending Publication Date: 2025-04-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311376787.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the lack of correlation between multiple group chats makes it complicated to query and manage group chat messages, and the sorting method is single, affecting efficiency.

Method used

By creating a group chat directory in the group chat list, gathering relevant group chats in the same directory, and updating the number of group chats in the directory in real time, realizing directory management of group chats.

Benefits of technology

It improves the efficiency of viewing and management of group chat messages, and users can view related group chats in the same directory at the same time, simplifying the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119884420A_ABST
    Figure CN119884420A_ABST
Patent Text Reader

Abstract

The invention provides a group chat processing method and device, electronic equipment and a storage medium. The method comprises the steps that a group chat list is displayed, and the group chat list comprises a plurality of group chats; in response to a directory creation operation, displaying the created group chat directory and the number of group chats included in the group chat directory in the group chat list; in response to a selection operation for the plurality of group chats, moving at least one selected group chat to the group chat directory, and updating and displaying the number of group chats included in the group chat directory; and displaying the at least one group chat in the group chat directory in response to a viewing operation for the group chat directory. Through the method and the device, the group chat viewing and management efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a group chat processing method, device, electronic device and storage medium. Background Art

[0002] In the workplace, there are often scenarios where multiple group chats are initiated for a single issue or project, and each group chat discusses different issues or content in the project. Since these group chats are not related to each other, and the order of group chats in the chat tool is generally based on the time when the last message was sent, it becomes more troublesome to query and connect the context of the content discussed in these group chats, and managing these group chats becomes more cumbersome. Summary of the invention

[0003] Embodiments of the present application provide a group chat processing method, device, electronic device, computer-readable storage medium, and computer program product, which can improve the efficiency of viewing and managing group chats.

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

[0005] The present application embodiment provides a group chat processing method, including:

[0006] Displaying a group chat list, wherein the group chat list includes multiple group chats;

[0007] In response to the directory creation operation, displaying the created group chat directory and the number of group chats included in the group chat directory in the group chat list;

[0008] In response to a selection operation on the plurality of group chats, moving at least one selected group chat to the group chat directory, and updating and displaying the number of group chats included in the group chat directory;

[0009] In response to a viewing operation on the group chat directory, the at least one group chat is displayed in the group chat directory.

[0010] The present application embodiment provides a group chat processing device, including:

[0011] A display module, used to display a group chat list, wherein the group chat list includes multiple group chats;

[0012] The display module is further configured to display the created group chat directory and the number of group chats included in the group chat directory in response to the directory creation operation in the group chat list;

[0013] A moving module, configured to move at least one selected group chat to the group chat directory in response to a selection operation on the plurality of group chats;

[0014] The display module is further used to update and display the number of group chats included in the group chat directory;

[0015] The display module is further configured to display the at least one group chat in the group chat directory in response to a viewing operation on the group chat directory.

[0016] An embodiment of the present application provides an electronic device, including:

[0017] A memory for storing executable instructions;

[0018] The processor is used to implement the group chat processing method provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0019] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for implementing the group chat processing method provided in the embodiment of the present application when executed by a processor.

[0020] An embodiment of the present application provides a computer program product, including a computer program or a computer executable instruction, which is used to implement the group chat processing method provided in the embodiment of the present application when executed by a processor.

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

[0022] By creating a group chat directory in the group chat list, related group chats in the group chat list can be aggregated in the same group chat directory, and by displaying the number of group chats included in the group chat directory in real time, directory management of multiple group chats in the group chat list is achieved. That is to say, through the technical solution provided in the embodiment of the present application, users can view related group chats in the same group chat directory at the same time, thereby improving the efficiency of viewing group chat messages and managing group chats. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 1 is a schematic diagram of the architecture of a group chat processing system 100 provided in an embodiment of the present application;

[0024] Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;

[0025] Figure 3 It is a flowchart of a group chat processing method provided in an embodiment of the present application;

[0026] Figure 4A and Figure 4B It is a flowchart of a group chat processing method provided in an embodiment of the present application;

[0027] FIG. 5A to FIG. 5I It is a schematic diagram of an application scenario of the group chat processing method provided in an embodiment of the present application;

[0028] Figure 6 This is a schematic diagram of the directory ID data format provided in the embodiment of the present application;

[0029] Figure 7 This is a schematic diagram of the group chat directory data format provided in an embodiment of the present application;

[0030] FIG. 8A to FIG. 8D It is a flowchart of the group chat processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

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

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

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

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

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

[0038] 2) Timestamp: refers to the number of seconds that have passed since January 1, 1970 (midnight UTC / GMT), excluding leap seconds. It is also called Unix Timestamp. Unix timestamp is not only used in Unix systems and Unix-like systems, but also widely used in many other operating systems.

[0039] 3) Group chat: refers to chatting between multiple objects. It is a convenient and fast way of communication. It can concentrate the topics and information of multiple users in one place, facilitating communication and coordination among everyone.

[0040] In the related art, multiple group chats in a chat tool are usually sorted by the last message sent, and group chats of related topics may be separated in multiple locations. To view and manage these group chat messages, you need to search by group title, group members or chat keywords and determine whether it is the target group chat, and then view the group messages. This viewing operation is very cumbersome. Moreover, if you need to view multiple related group chats, you need to repeat the same operation each time, which is also very inefficient.

[0041] In view of this, the embodiments of the present application provide a group chat processing method, device, electronic device, computer-readable storage medium and computer program product, which can improve the viewing and management efficiency of group chat. The electronic device provided by the embodiments of the present application is described below. The electronic device provided by the embodiments of the present application can be implemented as a terminal device, or can be implemented by a terminal device and a server in collaboration. The following is an example of the group chat processing method provided by the embodiments of the present application being implemented by a server and a terminal device in collaboration.

[0042] For example, see Figure 1 , Figure 1 1 is a schematic diagram of the architecture of a group chat processing system 100 provided in an embodiment of the present application, in order to realize an application supporting improved viewing and management efficiency of group chats, such as Figure 1As shown, the group chat processing system 100 includes: a server 200, a network 300 and a terminal device 400, wherein the server 200 is a background server of a client 410 running on the terminal device 400, the network 300 can be a local area network or a wide area network, or a combination of the two, the terminal device 400 is a terminal device associated with a target object (such as user A), and a client 410 runs on the terminal device 400, which can be, for example, a personal instant messaging client, an enterprise instant messaging client, and a browser.

[0043] In some embodiments, user A can use a pre-registered instant messaging account to log in to the client 410 running on the terminal device 400. After receiving the instant messaging account and password input by user A, the client 410 sends the received instant messaging account and password to the server 200 through the network 300 so that the server 200 can verify. When the client 410 receives the verification pass message returned by the server 200, it can jump from the login interface to the main interface, wherein the main interface may include an address book entry. When a click operation of user A on the address book entry is received, a group chat can be displayed, and a group chat list is displayed in the address book, wherein the group chat list includes multiple group chats joined by user A (for example, 4 group chats, namely group chat A, group chat B, group chat C, and group chat D). Next, the client 410 may, in response to the directory creation operation triggered by user A, display the created group chat directory and the number of group chats included in the group chat directory in the group chat list. For example, for the group chat directory newly created by user A, the number of group chats included in the group chat directory is 0 (i.e., it is an empty group chat directory). Subsequently, in response to the selection operation for multiple group chats triggered by user A, the client 410 may move at least one group chat selected by user A (e.g., 2 group chats, namely, group chat C and group chat D) to the group chat directory, and update the number of group chats included in the displayed group chat directory. For example, the number of group chats included in the group chat directory can be updated from 0 to 2 to indicate that there are currently 2 group chats in the group chat directory. Finally, when a viewing operation of user A on the group chat directory is received, the 2 group chats selected by user A (i.e., group chat C and group chat D) can be displayed in the group chat directory, that is, user A can view the related group chat C and group chat D in the group chat directory at the same time. In other words, the embodiment of the present application can bring together related group chats by creating a group chat directory in the group chat list, thereby realizing catalog management of group chats and improving the efficiency of group chat message viewing and group chat management.

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

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

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

[0047] In some embodiments, the terminal device can also implement the group chat processing method provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a native application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a personal instant messaging APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0048] The structure of the electronic device provided in the embodiment of the present application is further described below. Taking the electronic device as a terminal device as an example, see Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application, Figure 2The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .

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

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

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

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

[0053] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

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

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

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

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

[0058] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2 The group chat processing device 555 stored in the memory 550 is shown, which can be software in the form of programs and plug-ins, including the following software modules: display module 5551, moving module 5552, receiving module 5553, determining module 5554, deleting module 5555, sending module 5556, allocating module 5557, acquiring module 5558 and binding module 5559. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. It should be pointed out that in Figure 2 For the sake of convenience, all the above modules are shown at once, but it should not be regarded as excluding the implementation of the group chat processing device 555 that only includes the display module 5551 and the mobile module 5552. The functions of each module will be explained below.

[0059] The group chat processing method provided in the embodiment of the present application will be specifically described below in combination with the exemplary application and implementation of the terminal device provided in the embodiment of the present application.

[0060] See also Figure 3 , Figure 3 is a flow chart of the group chat processing method provided in the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.

[0061] It should be noted that Figure 3The method shown can be executed by various forms of computer programs running on the terminal device, and is not limited to the client. For example, it can also be the operating system, software module, script, and applet mentioned above. Therefore, the example of the client in the following should not be regarded as a limitation on the embodiments of the present application. In addition, for the convenience of expression, the terminal device and the client running on the terminal device are not specifically distinguished in the following.

[0062] In step 101, a group chat list is displayed.

[0063] Here, the group chat list may include multiple group chats joined by the target object (eg, user A).

[0064] In some embodiments, taking the target object as user A as an example, an instant messaging client (for example, including a personal instant messaging client and an enterprise instant messaging client) is running on the terminal device associated with user A. User A can use a pre-registered instant messaging account to log in to the instant messaging client. For example, after receiving the instant messaging account and password input by user A through the login interface, the instant messaging client can send the received instant messaging account and password to the background server of the instant messaging client so that the background server can verify. For example, the background server can compare the instant messaging account and password sent by the instant messaging client with the instant messaging account and password pre-stored in the database. When the two are consistent, the background server can send a verification pass message to the instant messaging client. When the instant messaging client receives the verification pass message sent by the background server, it can jump from the login interface to the main interface of the instant messaging, wherein the main interface can include an address book entry. When a click operation of user A on the address book entry is received, the instant messaging address book can be displayed, and a group chat list can be displayed in the address book, wherein the group chat list can include multiple group chats joined by user A, for example, all group chats joined by user A can be displayed in the group chat list, or only multiple group chats recently joined by user A can be displayed.

[0065] It should be noted that in addition to displaying the group chat list in the address book of the instant messaging client, the group chat list can also be displayed in other interfaces of the instant messaging client. For example, a group chat list including multiple group chats can be displayed in the main interface of the instant messaging client. The embodiments of the present application do not specifically limit this.

[0066] In step 102, in response to the directory creation operation, the created group chat directory and the number of group chats included in the group chat directory are displayed in the group chat list.

[0067] In some embodiments, for a group chat directory newly created by a user in a group chat list, the number of group chats included in the group chat directory is 0 (i.e., it is an empty group chat directory). Assuming that the user subsequently drags two group chats into the group chat directory, the number of group chats included in the group chat directory will be updated from 0 to 2 to indicate that the group chat directory currently includes two group chats; and the display method of the group chat directory can be different from the display method of multiple group chats in the group chat list. For example, the font of the directory name of the group chat directory can be displayed in bold, while the font of the group names (or group titles) of the multiple group chats can be displayed in italic, thereby preventing the user from mistaking the group chat directory for one group chat.

[0068] In some embodiments, step 102 may be implemented in the following manner: in response to a trigger operation (e.g., a right-click operation) on any one of a plurality of group chats, displaying a first candidate function menu, wherein the first candidate function menu includes a create directory option; in response to a trigger operation on the create directory option, receiving an input directory name; in response to the directory name being different from a directory name of an already created group chat directory, displaying the currently created group chat directory and the number of group chats included in the group chat directory in the group chat list.

[0069] For example, see Figure 5A , Figure 5A Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Figure 5A As shown, a plurality of group chats are displayed in the group chat list 501, for example, including group chat A, group chat B, group chat C, and group chat D. When a right-click operation of user A on any of the plurality of group chats is received, a first candidate function menu 502 may be displayed in a floating window, wherein the first candidate function menu 502 includes a create directory option 503. When a click operation of user A on the create directory option 503 is received, a directory name edit box ( Figure 5A ), so as to receive the directory name input by user A through the directory name edit box. After receiving the directory name input by user A, the directory name input by user A can be compared with the directory name of the group chat directory that has been created. When the directory name input by user A is different from the directory name of the group chat directory that has been created (i.e., not the same name), the newly created group chat directory 504 and the number 505 of group chats included in the group chat directory 504 can be displayed in the group chat list 501. In addition, in order to prevent user A from mistaking the group chat directory 504 for one group chat, the font of the group chat directory 504 can be displayed in bold to distinguish it from the multiple group chats in the group chat list 501.

[0070] In other embodiments, continuing with the above example, when the directory name input by the target object (e.g., user A) is the same as the directory name of an already created group chat directory, the following processing may also be performed: displaying a first prompt message, wherein the first prompt message is used to prompt that the creation of the group chat directory has failed; in response to a modification operation on the directory name, and the modified directory name is different from the directory name of the already created group chat directory, displaying the currently created group chat directory in the group chat list.

[0071] For example, taking the target object as user A, when the directory name entered by user A in the directory name edit box is the same as the directory name of the group chat directory that has been created (i.e., a duplicate name), a first prompt message can be displayed in a pop-up window to prompt user A that the group chat directory creation failed. User A can modify the directory name in the directory name edit box. When the modified directory name is different from the directory name of the group chat directory that has been created, the newly created group chat directory can be displayed in the group chat list, so as to avoid confusion in subsequent group chat management due to duplicate directory names of group chat directories.

[0072] In some embodiments, see Figure 4A , Figure 4A is a flow chart of a group chat processing method provided in an embodiment of the present application, such as Figure 4A As shown, after executing Figure 3 After step 102 shown, you can also perform Figure 4A Step 105 shown combines Figure 4A The steps shown are explained.

[0073] In step 105, in response to the sub-directory creation operation, the created group chat sub-directory and the number of group chats included in the group chat sub-directory are displayed in the group chat directory.

[0074] In some embodiments, step 105 can be implemented in the following manner: in response to a trigger operation on the group chat directory (such as a right-click operation), display a second candidate function menu, wherein the second candidate function menu includes a create sub-directory option; in response to a trigger operation on the create sub-directory option, receive an input sub-directory name; in response to the sub-directory name being different from the sub-directory names of other group chat sub-directories of the same level in the group chat directory, display the currently created group chat sub-directory in the group chat directory, and the number of group chats included in the group chat sub-directory.

[0075] For example, see Figure 5B , Figure 5B Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Figure 5BAs shown, when a right-click operation of user A on group chat directory 504 is received, a second candidate function menu 506 may be displayed in a floating window, wherein the second candidate function menu 506 includes a create subdirectory option 507. When a click operation of user A on create subdirectory option 507 is received, a subdirectory name edit box may be displayed ( Figure 5B ), so as to receive the sub-directory name input by user A through the sub-directory name edit box. After receiving the sub-directory name input by user A, the sub-directory name input by user A can be compared with the sub-directory names of other group chat sub-directories of the same level in the group chat directory 504. When the sub-directory name input by user A is different from the sub-directory names of other group chat sub-directories of the same level in the group chat directory 504 (i.e., they are not duplicated), the newly created group chat sub-directory 508 and the number 509 of group chats included in the group chat sub-directory 508 can be displayed in the group chat directory 504.

[0076] It should be noted that, in order to prevent users from mistaking group chat subdirectory 508 for one group chat, the display method of group chat subdirectory 508 can also be distinguished from the multiple group chats in group chat list 501. For example, the font of group chat subdirectory 508 can also be displayed in bold to distinguish it from the multiple group chats in group chat list 501.

[0077] In addition, it should be noted that user A can also create a group chat sub-sub-directory in the group chat sub-directory 508, wherein the creation method of the group chat sub-sub-directory is similar to the creation method of the group chat sub-directory 508, and can be created with reference to the creation method of the group chat sub-directory 508, which will not be described in detail in the present embodiment of the application. That is to say, the directory structure of the group chat directory in the embodiment of the present application can be multi-level, and the user can create a group chat directory of the corresponding level according to the actual situation.

[0078] In other embodiments, continuing with the above example, when the sub-directory name input by the target object (e.g., user A) is the same as the sub-directory name of other group chat sub-directories of the same level in the group chat directory, the following processing can also be performed: displaying a second prompt message, wherein the second prompt message is used to prompt that the creation of the group chat sub-directory failed; in response to a modification operation on the sub-directory name, and the modified sub-directory name is different from the sub-directory names of other group chat sub-directories of the same level in the group chat directory, displaying the currently created group chat sub-directory in the group chat directory, and the number of group chats included in the group chat sub-directory in real time.

[0079] For example, taking user A as the target object, when the subdirectory name entered by user A is the same as the subdirectory name of other group chat subdirectories at the same level in the group chat directory (i.e., a duplicate name), a second prompt message may be displayed in a pop-up window to prompt user A that the group chat subdirectory creation failed. User A may subsequently modify the subdirectory name previously entered in the subdirectory name edit box, and when the modified subdirectory name is different from the subdirectory name of other group chat subdirectories at the same level in the group chat directory, the newly created group chat subdirectory may be displayed in the group chat directory, thereby avoiding confusion in subsequent group chat management due to duplicate subdirectory names of group chat subdirectories.

[0080] In step 103, in response to the selection operation on the plurality of group chats, at least one selected group chat is moved to the group chat directory, and the number of group chats included in the group chat directory is updated and displayed.

[0081] In some embodiments, in the case where the group chat directory includes at least one group chat sub-directory (i.e., a group chat sub-directory is further created in the group chat directory), the target object (e.g., user A) can place the group chat in a certain group chat directory or group chat sub-directory by dragging and dropping the group chat. Then, the above-mentioned response to the selection operation on multiple group chats to move the selected at least one group chat to the group chat directory can be achieved in the following manner: in response to a click operation, the clicked group chat (e.g., group chat 1) among the multiple group chats is determined as the selected group chat; in response to a drag operation on the selected group chat, and the release position of the drag operation is the position of the target group chat sub-directory (e.g., group chat sub-directory 2), the selected group chat is moved to the target group chat sub-directory (i.e., group chat 1 is moved to group chat sub-directory 2), wherein the drag operation is implemented from the contact point of the click operation while the click operation is kept, and the target group chat sub-directory is any one of the at least one group chat sub-directory.

[0082] In other embodiments, when the release position of the above-mentioned drag operation is the position where the group chat directory is located, the selected group chat can be moved to the group chat directory, that is, the user can place the group chat in the group chat directory or in a group chat sub-directory of the group chat directory by dragging the group chat.

[0083] For example, see Figure 5C , Figure 5C Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Figure 5CAs shown, a group chat directory 504 newly created by a target object (e.g., user A) and a group chat subdirectory 508 newly created in the group chat directory 504 are displayed in the group chat list 501, wherein the number 505 of group chats currently included in the group chat directory 504 is 0, and the number 509 of group chats currently included in the group chat subdirectory 508 is also 0. Next, assuming that a click operation of user A on group chat 510 (e.g., group chat A) in the group chat list 501 is received, and user A drags group chat 510 to the position of group chat directory 504 without releasing the click operation and then releases it, group chat 510 can be moved to group chat directory 504, and at this time, the number 505 of group chats included in group chat directory 504 will be updated from 0 to 1. Subsequently, assuming that user A clicks on group chat 511 (for example, group chat B) in group chat list 501, and user A drags group chat 511 to the position of group chat subdirectory 508 without releasing the click operation and then releases it, group chat 511 can be moved to group chat subdirectory 508. At this time, the number 505 of group chats included in group chat directory 504 will be updated from 1 to 2, and the number 509 of group chats included in group chat subdirectory 508 will be updated from 0 to 1. In this way, the user can clearly understand the number of group chats currently included in each group chat subdirectory and the total number of group chats currently included in the group chat directory.

[0084] Continue to see Figure 5C The group chat subdirectory 508 can also be displayed in a folded or displayed manner. For example, when a folding operation triggered by user A is received, the group chat subdirectory 508 can be displayed in a folded manner, that is, only the group chat directory 504 is displayed in the group chat list 501, and the group chat subdirectory 508 is not displayed to save space. When an expansion operation triggered by user A is received, the group chat subdirectory 508 can be displayed again in an expanded manner, that is, the group chat subdirectory 508 is redisplayed in the group chat directory 504, so that user A can view the group chats included in the group chat sub-target 508 conveniently.

[0085] In other embodiments, the target object (such as user A) can also share the directory structure created by the target object with other objects (such as user B), and the following processing can also be performed: in response to a trigger operation on the group chat directory, a second candidate function menu is displayed, wherein the second candidate function menu also includes a shared directory structure option; in response to a trigger operation on the shared directory structure option, a candidate list is displayed, wherein the candidate list includes at least one of a candidate group and a candidate object; a structured message is sent to the group or object selected in the candidate list, wherein the structured message carries the directory structure of the group chat directory.

[0086] For example, see Figure 5D , Figure 5D Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Figure 5D As shown, when a right-click operation is received from a target object (e.g., user A) on the group chat directory 504, a second candidate function menu 506 may be displayed in a floating window, wherein the second candidate function menu 506 also includes a shared directory structure option 512. When a click operation is received from user A on the shared directory structure option 512, a candidate list 513 may be displayed in a pop-up window, wherein the candidate list 513 includes candidate groups and candidate objects. Finally, a structured message may be sent to the selected group or object (e.g., user B) in the candidate list 513, wherein the structured message may carry the directory structure of the group chat directory created by user A.

[0087] In some embodiments, continuing with the above example, the above structured message can be used for an electronic device associated with a selected object (e.g., user B) to perform the following processing: displaying the structured message in an instant messaging session interface; and in response to a confirmation operation on the structured message, adjusting the group chat structure in the address book of the selected object to the directory structure of the group chat directory.

[0088] For example, the target object is user A and the selected object is user B. Figure 5E , Figure 5E Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Figure 5E As shown, a structured message 514 sent by user A is displayed in the instant messaging session interface of user B. When user B clicks on the structured message 514 sent by user A, a prompt message 515 for confirming whether to accept the shared directory structure may be displayed, wherein the prompt message 515 includes a confirmation button 516 and a cancel button 517. When user B clicks on the confirmation button 516 displayed in the prompt message 515, the group chat structure of user B may be adjusted to the directory structure of the group chat directory shared by user A. For example, assuming that group chat B is placed under group chat subdirectory 1 in the directory structure shared by user A, group chat B may be automatically moved to group chat subdirectory 1 for group chat B in the group chat list of user B. That is, after user B accepts the directory structure shared by user A, the group chat structure of user B will be adjusted to the directory structure of the group chat directory created by user A.

[0089] In other embodiments, following the above example, the above structured message can also be used for the electronic device associated with the selected object to perform the following processing: shielding the display of the selected object as a joined group chat in the directory structure, and when the selected object subsequently joins the group chat, keeping the position of the group chat in the group chat list unchanged.

[0090] It should be noted that the above-mentioned keeping the position of the group chat (e.g., group chat B) unchanged in the group chat list means that after the selected object (e.g., user B) subsequently joins the group chat, the group chat will not be automatically moved to the corresponding group chat directory or group chat subdirectory in the directory structure. Of course, user B can manually drag the group chat to a certain group chat subdirectory later, and this embodiment of the application does not specifically limit this.

[0091] For example, let's take user B as the selected object. Fig. 5F , Fig. 5F Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Fig. 5F As shown, after user B accepts the directory structure shared by user A, only the group chats that user B has joined are displayed, and the group chats that user B has not joined are not displayed. For example, assuming that user B has joined group chat A but not group chat B, group chat A can be displayed under group chat directory 504, but group chat B will not be displayed under group chat subdirectory 508. If user B subsequently joins group chat B, group chat B will not be automatically moved to group chat subdirectory 508.

[0092] In other embodiments, see Figure 4B , Figure 4B is a flow chart of a group chat processing method provided in an embodiment of the present application, such as Figure 4B As shown, Figure 3 Step 103 shown can also be performed by Figure 4B Steps 1031 to 1033 shown in the figure are implemented by combining Figure 4B The steps shown are explained.

[0093] In step 1031, an input keyword is received.

[0094] In some embodiments, the target object (e.g., user A) can also enable the automatic directory group chat function by right-clicking any group chat in the group chat list. For example, when a right-click operation of user A on any group chat in the group chat list is received, a fourth candidate function menu can be displayed, wherein the fourth candidate function menu includes an automatic directory creation option. When a click operation of user A on the automatic directory creation option is received, a keyword editing box can be displayed to receive keywords input by user A through the keyword editing box.

[0095] In step 1032, at least one group chat including the keyword among the multiple group chats is determined as at least one selected group chat.

[0096] In some embodiments, after receiving the keyword input by the target object (e.g., user A), screening can be performed based on the keyword input by user A to obtain at least one group chat including the keyword from among the multiple group chats, as at least one group chat selected from among the multiple group chats. For example, taking the multiple group chats as 4 group chats, assuming that they are group chat A, group chat B, group chat C, and group chat D, and assuming that group chat A and group chat B include the keyword input by user A, group chat A and group chat B can be selected as the group chats selected from among the multiple group chats.

[0097] In step 1033, the at least one selected group chat is moved to the group chat directory, and the number of group chats included in the group chat directory is updated and displayed.

[0098] In some embodiments, continuing with the above example, after group chat A and group chat B are screened out from multiple group chats based on the keywords input by user A, group chat A and group chat B including the keywords can be automatically moved to the group chat directory. In this way, the user only needs to enter the keyword to automatically gather related group chats together, thereby realizing a structured directory of group chats and further improving the efficiency of group chat message viewing and group chat management.

[0099] For example, take the target object as user A, see Figure 5G , Figure 5G Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Figure 5G As shown, a plurality of group chats are displayed in the group chat list 501, for example, including group chat A, group chat B, new group chat C, and new group chat D. When a right-click operation of user A on any group chat in the group chat list 501 is received, a fourth candidate function menu 518 may be displayed in a floating window, wherein the fourth candidate function menu 518 includes an automatic creation directory option 519. When a click operation of user A on the automatic creation directory option 519 is received, a keyword editing box 520 may be displayed to receive a keyword input by user A through the keyword editing box 520. Subsequently, group chats (assuming group chat A and group chat B) including the keyword can be filtered out from multiple group chats based on the keyword input by user A. For example, only group chat A and group chat B including the keyword can be displayed in the group chat list 501. Finally, group chat A and group chat B obtained based on the keyword filtering can be automatically moved to the newly created group chat directory 521. At the same time, the number 522 of group chats included in the group chat directory 521 will also be updated from 0 to 2. In this way, group chats with the same keyword can be automatically gathered into the same group chat directory.

[0100] In other embodiments, see Figure 5H , Figure 5H Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Figure 5HAs shown, the target object (e.g., user A) can also search for all group chat messages in a group chat directory by selecting a group chat directory and clicking on a message record. For example, if user A enters the keyword "test" in the search box 523, all group chats in the group chat directory including the keyword "test" will be searched, such as group chat A and group chat B.

[0101] In some embodiments, in the case where the group chat directory includes at least one group chat sub-directory, the above step 103 can also be implemented in the following manner: the following processing is performed for each group chat sub-directory: determining the similarity between the sub-directory name of the group chat sub-directory and the group chat messages included in each group chat; determining at least one group chat with a similarity greater than a similarity threshold (for example, 90%) as at least one selected group chat; moving the at least one selected group chat to the group chat sub-directory, and updating and displaying the number of group chats included in the group chat sub-directory.

[0102] For example, taking group chat sub-target 1 in at least one group chat sub-directory as an example, the similarities between the sub-directory name of group chat sub-directory 1 and the group chat messages included in multiple group chats in the group chat list (assuming there are 4 group chats, namely group chat A, group chat B, group chat C and group chat D) can be calculated respectively. For example, assuming that the similarity between the sub-directory name of group chat sub-directory 1 and the group chat messages included in group chat A is 89%, the similarity between the sub-directory name of group chat sub-directory 1 and the group chat messages included in group chat B is 96%, the similarity between the sub-directory name of group chat sub-directory 1 and the group chat messages included in group chat C is 86%, and the similarity between the sub-directory name of group chat sub-directory 1 and the group chat messages included in group chat D is 85%, then the group chat with a similarity greater than the similarity threshold (i.e., group chat B) can be moved to group chat sub-directory 1. In this way, the classification of group chats can be automatically achieved according to the similarity between the sub-directory name and the group chat messages.

[0103] It should be noted that, for the group chat directory, a similar method can also be used to move the group chat whose similarity with the directory name of the group chat directory is greater than the similarity threshold to the group chat directory, and the embodiment of the present application will not be repeated here.

[0104] In step 104, in response to a viewing operation on the group chat directory, at least one group chat is displayed in the group chat directory.

[0105] In some embodiments, after at least one group chat (for example, two related group chats) manually or automatically selected by the user is moved to the same group chat directory, the user can subsequently view the two group chats at the same time in the group chat directory. For example, when a viewing operation (such as a click operation) of the user on the group chat directory is received, the two group chats can be displayed in the group chat directory. In other words, the two related group chats in the group chat list are aggregated into the same group chat directory, thereby improving the efficiency of viewing and managing group chats.

[0106] In other embodiments, for the case where the group chat directory includes at least one group chat sub-directory, the following processing can also be performed: in response to a trigger operation on any group chat sub-directory, a third candidate function menu is displayed, wherein the third candidate function menu includes a delete sub-directory option; in response to a trigger operation on the delete sub-directory option, and the number of group chats included in the group chat sub-directory is zero, the group chat sub-directory is deleted from the group chat directory.

[0107] For example, take the target object as user A, see Fig.5I , Fig.5I Schematic diagram of an application scenario of the group chat processing method provided in the embodiment of the present application. Fig.5I As shown, when a right-click operation of user A on group chat subdirectory 508 is received, a third candidate function menu 524 may be displayed in a floating window, wherein the third candidate function menu 524 includes a delete subdirectory option 525. When a click operation of user A on delete subdirectory option 525 is received, it may be determined whether the number of group chats included in group chat subdirectory 508 is zero. When the number of group chats included in group chat subdirectory 508 is zero, group chat subdirectory 508 is deleted from group chat directory 504. In this way, by only allowing the user to delete empty directories, misoperation may be prevented.

[0108] In other embodiments, after the group chat directory is created, the following processing may also be performed: a corresponding directory identifier (e.g., directory ID) is assigned to the group chat directory, wherein the directory identifier corresponds to the directory name of the group chat directory and is obtained by combining the object identifier of the object that creates the group chat directory (e.g., user ID of user A) and the timestamp when the group chat directory is created.

[0109] For example, each group chat directory will be automatically assigned a directory ID after it is successfully created, where the directory ID can correspond one-to-one with the directory name of the group chat directory. The directory ID can be composed of the user ID of the user who created the group chat directory and the timestamp when the group chat directory was created. This ensures that the data of each user is independent of each other and that the directory ID will not be repeated. In addition, each group chat directory will also record the ID of the parent directory after it is created. If a first-level directory is created, the ID of the parent directory is NA (i.e., a null value). In this way, the structure of the entire directory can be derived based on the directory ID and the ID of the parent directory.

[0110] In some embodiments, following the above example, after at least one group chat is moved to the group chat directory, the following processing may be performed: obtaining the group name and group identification (e.g., group ID) of at least one group chat; and binding the group name and group identification to the directory identification of the group chat directory. For example, taking at least one group chat as group chat A, when the target object (e.g., user A) drags and drops group chat A to the newly created group chat directory, the group name and group ID of group chat A may be obtained, and the group name and group ID of group chat A may be bound to the directory ID of the group chat directory.

[0111] The group chat processing method provided in the embodiment of the present application can aggregate related group chats in the group chat list under the same group chat directory by creating a group chat directory in the group chat list, thereby realizing directory management of multiple group chats in the group chat list, thereby improving the efficiency of viewing group chat messages and group chat management.

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

[0113] In the workplace, there are often scenarios where multiple group chats are initiated for a single issue or project, and each group chat discusses different issues or content in the project. Since these group chats are not related to each other, and multiple group chats in the chat tool are generally sorted by the time the last message was sent, it becomes more troublesome to query and connect the content discussed in these group chats. For example, if users want to view and manage these group chat messages, they need to search and determine whether it is the target group chat by group title, group members or chat keywords, and then view the group messages. This viewing operation is very cumbersome. Moreover, the same operation needs to be repeated every time the view is viewed, which is also very inefficient.

[0114] In view of this, an embodiment of the present application provides a group chat processing method, which can manually or automatically bring together related group chats, implement catalog management of group chats, and improve the efficiency of group chat message viewing and group chat management.

[0115] The group chat processing method provided in the embodiment of the present application is described in detail below.

[0116] For example, Figure 5A As shown, the user can right-click on any group chat in the group chat list to create his own first-level directory structure, wherein the directory name can be specified or modified by the user, but cannot be the same name, and each user's operation is independent of each other and does not affect each other. In addition, in order to distinguish the group chat directory (referred to as the directory) from the group chat, the font of the group chat directory can be displayed in bold, and the number of specific group chats included is displayed, wherein the group chat directory is not counted, for example, for a newly created group chat directory, the number of group chats included in the group chat directory is 0.

[0117] For example, Figure 5B As shown, the user can right-click on any group chat directory (or group chat subdirectory) in the group chat list to create a next-level directory structure, and the directory names in the same group chat directory / group chat subdirectory cannot be repeated, but the directory names across directories / subdirectories can be repeated. Each user's operation is independent of each other and does not affect each other.

[0118] For example, Figure 5C As shown, the user can place the group chat in a certain group chat directory or group chat subdirectory (referred to as subdirectory) by dragging and dropping the group chat, and each level of directory can be folded or displayed, and each user's operation is independent of each other and does not affect each other.

[0119] For example, Figure 5D As shown, user A can right-click on the first-level group chat directory to share the directory structure with user B or a group. User B or the group being shared will receive the structured message sent by user A. The second-level and lower directory structures cannot be shared.

[0120] For example, Figure 5E As shown, user B can click on the structured message sent by user A to accept the sharing of the group chat directory. After acceptance, the group chat structure of user B will be adjusted to the group chat directory structure of user A.

[0121] For example, Fig. 5F As shown in the figure, after user B accepts the sharing of the group chat directory structure, only the group chats that user B has joined are displayed, and the group chats that user B has not joined are not displayed. If user B subsequently joins the group chat in the directory structure, the group chat will not be automatically attributed to the corresponding directory in the directory structure.

[0122] For example, Figure 5G As shown, users can also right-click on any group chat in the group chat list to enable the automatic directory group chat function, which supports automatic creation of a first-level directory. After enabling it, users can enter keywords, and after filtering, group chats with the same keywords will be automatically aggregated into the same group chat directory, where the directory name can be specified or modified by the user.

[0123] For example, Figure 5H As shown, the user can also select a group chat directory and click on the message record to search for all group chat messages under the directory. The specific operation logic is consistent with the search for group chat messages provided by the relevant technology, and the embodiments of the present application will not be repeated here.

[0124] For example, Fig.5I As shown, the user can right-click on the group chat subdirectory and delete the group chat subdirectory. To prevent misoperation, the user is allowed to delete the group chat subdirectory only when there is no group chat under the group chat subdirectory, that is, the user can only delete an empty directory.

[0125] The main logic of the technical solution provided in the embodiment of the present application includes the creation, deletion, storage, sharing and search of the group chat directory. Among them, since the search logic is consistent with the logic provided by the related technology, it will not be repeated here. The logic of creation, deletion, storage and sharing of the group chat directory will be elaborated in detail below.

[0126] In some embodiments, since the operations of creating group chat directories by users are independent of each other and do not affect each other, the directory information of each user is stored locally and the data is isolated from each other, specifically including the directory ID data format and the group chat directory data format. The directory ID data format is first described below.

[0127] For example, see Figure 6 , Figure 6 is a schematic diagram of the directory ID data format provided in the embodiment of the present application, such as Figure 6 As shown in the figure, each directory will be automatically assigned a directory ID after it is created, where the directory ID and the directory name correspond one to one. The directory ID can be composed of the user ID and the timestamp when the directory is created, which not only ensures that the data of each user is independent of each other, but also ensures that the directory ID will not be repeated. In addition, each directory will also record the ID of the parent directory after it is created. If a first-level directory is created, the ID of the parent directory is NA (i.e., a null value). In this way, the structure of the entire directory can be derived based on the directory ID and the ID of the parent directory.

[0128] The following will continue to explain the group chat directory data format.

[0129] For example, see Figure 7 , Figure 7 : is a schematic diagram of the group chat directory data format provided by the embodiment of the present application, such as Figure 7 As shown, each group chat corresponds to the ID of the directory where it is located. The position of the group chat in the directory structure can be determined based on the ID information of the directory where it is located. If the group chat does not belong to any directory, the ID of the directory where it is located is NA (i.e., null value). In addition, it should be noted that the group ID is unique, and the ID of the same group is the same.

[0130] Next, continue to combine Fig. 8A The process of creating a first-level group chat directory is described.

[0131] For example, see Fig. 8A , Fig. 8A is a flow chart of the group chat processing method provided in the embodiment of the present application, which will be combined with Fig. 8A The steps shown are explained.

[0132] In step 201, a right-click operation on any group chat is received.

[0133] In step 202, a directory name input by a user is received.

[0134] In step 203, it is determined whether there is a duplicate name. If not, step 204 is executed; if so, step 206 is executed.

[0135] In step 204, a first-level group chat directory is created and a directory ID is generated.

[0136] In step 205, the directory ID is stored locally.

[0137] In step 206, it is prompted that the creation of the first-level directory has failed.

[0138] In some embodiments, the user can right-click on any group chat and enter the name of the first-level directory they want to create. At this time, the system will search for all directory names whose parent directories are NA. If there is no duplicate name, the directory ID (user ID + creation timestamp) will be created, and the directory ID data (including directory name, directory ID, parent directory ID) will be stored locally. When the user drags and drops a group chat to a directory, the system will automatically generate or modify the group chat directory data, binding the group name, group ID and the directory ID.

[0139] It should be noted that the logic of automatically creating a first-level directory is the same as above and will not be repeated in the embodiment of the present application.

[0140] Next, continue to combine Figure 8B Describes the process of creating group chat directories at the second level and above.

[0141] For example, see Figure 8B , Figure 8B is a flow chart of the group chat processing method provided in the embodiment of the present application, which will be combined with Figure 8B The steps shown are explained.

[0142] In step 301, a right-click operation on a directory or a subdirectory is received.

[0143] In step 302, a sub-directory name input by a user is received.

[0144] In step 303, it is determined whether there is a duplicate name. If not, step 304 is executed; if yes, step 306 is executed.

[0145] In step 304, a subdirectory is created and a subdirectory ID is generated.

[0146] In step 305, the sub-directory ID is stored locally.

[0147] In step 306, it is prompted that the subdirectory creation fails.

[0148] In some embodiments, unlike creating a first-level directory, the user needs to right-click on the directory / subdirectory and enter the name of the subdirectory they want to create. At this time, the system will search for the subdirectory names of all subdirectories at the same level. If there is no duplicate name, the subdirectory ID (user ID + creation timestamp) will be created and the subdirectory ID data (including subdirectory name, subdirectory ID, parent directory ID) will be stored locally. When the user drags and drops a group chat into a subdirectory, the system will automatically generate or modify the group chat directory data, binding the group name, group ID and the subdirectory ID.

[0149] Next, continue to combine Figure 8C Describes the process of deleting a group chat directory.

[0150] For example, see Figure 8C , Figure 8C is a flow chart of the group chat processing method provided in the embodiment of the present application, which will be combined with Figure 8C The steps shown are explained.

[0151] In step 401, a right-click operation on a directory or a subdirectory is received.

[0152] In step 402, determine whether it is an empty directory, if not, execute step 403; if so, execute step 406.

[0153] In step 403, a delete option is displayed.

[0154] In step 404, in response to a click operation on a delete option, the clicked directory or subdirectory is deleted.

[0155] In step 405, the locally stored directory data is updated.

[0156] In step 406, no delete option is displayed.

[0157] In some embodiments, after the user right-clicks a directory / subdirectory, the system automatically determines whether there is still a group chat under the directory ID, and if not, displays a delete option, otherwise does not display the delete option. After the user chooses to delete the directory, the system automatically deletes the corresponding directory ID data entry.

[0158] Next, continue to combine Fig.8D Describes the process of sharing a group chat directory.

[0159] For example, see Fig.8D , Fig.8D is a flow chart of the group chat processing method provided in the embodiment of the present application, which will be combined with Fig.8D The steps shown are explained.

[0160] In step 501, a confirmation acceptance operation of a user for a shared directory structure is received.

[0161] In step 502, the system automatically deletes group chat data entries that the user has not joined.

[0162] In step 503, the system automatically deletes the empty directory data entry.

[0163] In step 504, the system updates the locally stored directory data.

[0164] In some embodiments, after the user accepts the shared directory structure, the system makes a judgment based on the group ID field in the group chat directory data and the user's existing group ID. If there is a group in the group chat directory data that the user has not joined, the data entry is deleted. Then the system makes a judgment based on the directory ID field in the group chat directory data and the directory ID field in the directory ID data. If there is an empty directory ID in the directory ID data, the data entry is deleted. Finally, the system stores the cleaned group chat directory data and directory ID data locally.

[0165] In summary, the technical solution provided by the embodiment of the present application has the following beneficial effects: related group chats are brought together manually or automatically, a structured directory of group chats is implemented, and the efficiency of group chat message viewing and group chat management is improved.

[0166] The following further describes the exemplary structure of the group chat processing device 555 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the group chat processing device 555 of the memory 550 may include: a display module 5551 and a movement module 5552.

[0167] Display module 5551 is used to display a group chat list, wherein the group chat list includes multiple group chats; display module 5551 is also used to display the created group chat directory and the number of group chats included in the group chat directory in response to a directory creation operation in the group chat list; moving module 5552 is used to move at least one selected group chat to the group chat directory in response to a selection operation on multiple group chats; display module 5551 is also used to update the number of group chats included in the displayed group chat directory; display module 5551 is also used to display at least one group chat in the group chat directory in response to a viewing operation on the group chat directory.

[0168] In some embodiments, the display module 5551 is also used to display a first candidate function menu in response to a trigger operation on any group chat among multiple group chats, wherein the first candidate function menu includes a create directory option; the group chat processing device 555 also includes a receiving module 5553, which is used to receive an input directory name in response to a trigger operation on the create directory option; the display module 5551 is also used to display the currently created group chat directory in the group chat list in response to the directory name being different from the directory name of an already created group chat directory.

[0169] In some embodiments, the display module 5551 is also used to display a first prompt message in response to the directory name being the same as the directory name of an already created group chat directory, wherein the first prompt message is used to prompt that the group chat directory creation failed; and to display the currently created group chat directory in the group chat list in response to a modification operation on the directory name, and the modified directory name is different from the directory name of the already created group chat directory.

[0170] In some embodiments, the group chat directory is displayed differently than the plurality of group chats.

[0171] In some embodiments, the display module 5551 is further used to display the created group chat subdirectory and the number of group chats included in the group chat subdirectory in response to the subdirectory creation operation.

[0172] In some embodiments, the display module 5551 is also used to display a second candidate function menu in response to a trigger operation on the group chat directory, wherein the second candidate function menu includes a create sub-directory option; the receiving module 5553 is also used to receive an input sub-directory name in response to a trigger operation on the create sub-directory option; the display module 5551 is also used to display the currently created group chat sub-directory and the number of group chats included in the group chat sub-directory in the group chat directory in response to the sub-directory name being different from the sub-directory names of other group chat sub-directories of the same level in the group chat directory.

[0173] In some embodiments, the display module 5551 is also used to display a second prompt message in response to the sub-directory name being the same as the sub-directory names of other group chat sub-directories of the same level in the group chat directory, wherein the second prompt message is used to prompt that the group chat sub-directory creation failed; and to display the currently created group chat sub-directory and the number of group chats included in the group chat sub-directory in response to a modification operation on the sub-directory name, and the modified sub-directory name is different from the sub-directory names of other group chat sub-directories of the same level in the group chat directory.

[0174] In some embodiments, the receiving module 5553 is further used to receive input keywords; the group chat processing device 555 also includes a determination module 5554, which is used to determine at least one group chat including the keyword in multiple group chats as at least one selected group chat; the moving module 5552 is further used to move the at least one selected group chat to the group chat directory.

[0175] In some embodiments, the group chat directory includes at least one group chat sub-directory; the determination module 5554 is further used to determine the clicked group chat among the multiple group chats as the selected group chat in response to a click operation; the moving module 5552 is further used to respond to a drag operation on the selected group chat, and the release position of the drag operation is the position of the target group chat sub-directory, and move the selected group chat to the target group chat sub-directory, wherein the drag operation is implemented from the contact point of the click operation while keeping the click operation from being released, and the target group chat sub-directory is any one of the at least one group chat sub-directory.

[0176] In some embodiments, the group chat directory includes at least one group chat sub-directory; the moving module 5552 is further used to perform the following processing for each group chat sub-directory: determine the similarity between the sub-directory name of the group chat sub-directory and the group chat messages included in each group chat; determine at least one group chat whose similarity is greater than a similarity threshold as at least one selected group chat; and move the at least one selected group chat to the group chat sub-directory.

[0177] In some embodiments, the group chat directory includes at least one group chat sub-directory; the display module 5551 is also used to display a third candidate function menu in response to a trigger operation on any group chat sub-directory, wherein the third candidate function menu includes a delete sub-directory option; the group chat processing device 555 also includes a deletion module 5555, which is used to delete the group chat sub-directory from the group chat directory in response to a trigger operation on the delete sub-directory option, and the number of group chats included in the group chat sub-directory is zero.

[0178] In some embodiments, the display module 5551 is also used to display a second candidate function menu in response to a trigger operation on the group chat directory, wherein the second candidate function menu includes a shared directory structure option; and to display a candidate list in response to a trigger operation on the shared directory structure option, wherein the candidate list includes at least one of a candidate group and a candidate object; the group chat processing device 555 also includes a sending module 5556, which is used to send a structured message to a group or object selected in the candidate list, wherein the structured message carries the directory structure of the group chat directory.

[0179] In some embodiments, the structured message is used for an electronic device associated with the selected object to perform the following processing: displaying the structured message in an instant messaging session interface; and in response to a confirmation operation on the structured message, adjusting the group chat structure in the address book of the selected object to the directory structure of the group chat directory.

[0180] In some embodiments, the structured message is also used for the electronic device associated with the selected object to perform the following processing: shielding the group chats that the selected object has not joined from being displayed in the directory structure, and when the selected object subsequently joins the group chat, keeping the position of the group chat in the group chat list unchanged.

[0181] In some embodiments, the group chat processing device 555 also includes an allocation module 5557, which is used to allocate a corresponding directory identifier to the group chat directory, wherein the directory identifier corresponds to the directory name of the group chat directory and is obtained by combining the object identifier of the object that creates the group chat directory and the timestamp when the group chat directory is created.

[0182] In some embodiments, the group chat processing device 555 also includes an acquisition module 5558 and a binding module 5559, wherein the acquisition module 5558 is used to obtain the group name and group identifier of at least one group chat after the moving module 5552 moves at least one selected group chat to the group chat directory; the binding module 5559 is used to bind the group name and group identifier to the directory identifier of the group chat directory.

[0183] It should be noted that the description of the device in the embodiment of the present application is similar to the description of the method embodiment described above, and has similar beneficial effects as the method embodiment, so it will not be repeated. Figure 3 , Figure 4A ,or Figure 4B The present invention should be understood by referring to the description of any one of the accompanying drawings.

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

[0185] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will be caused to execute the group chat processing method provided by the embodiment of the present application, for example, Figure 3 , Figure 4A ,or Figure 4B The group chat processing method shown.

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

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

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

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

Claims

1. A group chat processing method, characterized in that: The method comprises: Displaying a group chat list, wherein the group chat list includes multiple group chats; In response to the directory creation operation, displaying the created group chat directory and the number of group chats included in the group chat directory in the group chat list; In response to a selection operation on the plurality of group chats, moving at least one selected group chat to the group chat directory, and updating and displaying the number of group chats included in the group chat directory; In response to a viewing operation on the group chat directory, the at least one group chat is displayed in the group chat directory.

2. The method according to claim 1, characterized in that In response to the directory creation operation, displaying the created group chat directory in the group chat list includes: In response to a triggering operation on any group chat among the plurality of group chats, displaying a first candidate function menu, wherein the first candidate function menu includes a create directory option; In response to a trigger operation for the create directory option, receiving an input directory name; In response to the directory name being different from the directory name of the already created group chat directory, displaying the currently created group chat directory in the group chat list.

3. The method according to claim 2, characterized in that The method further comprises: In response to the directory name being the same as the directory name of an already created group chat directory, displaying a first prompt message, wherein the first prompt message is used to prompt that the creation of the group chat directory fails; In response to a modification operation on the directory name, where the modified directory name is different from the directory name of the group chat directory that has been created, the currently created group chat directory is displayed in the group chat list.

4. The method according to claim 1, characterized in that: The display manner of the group chat directory is different from the display manner of the plurality of group chats.

5. The method according to claim 1, characterized in that The method further comprises: In response to the sub-directory creation operation, the created group chat sub-directory and the number of group chats included in the group chat sub-directory are displayed in the group chat directory.

6. The method according to claim 5, characterized in that In response to the sub-directory creation operation, displaying the created group chat sub-directory and the number of group chats included in the group chat sub-directory in the group chat directory includes: In response to a trigger operation on the group chat directory, displaying a second candidate function menu, wherein the second candidate function menu includes a create sub-directory option; In response to a trigger operation for the create sub-directory option, receiving an input sub-directory name; In response to the subdirectory name being different from the subdirectory names of other group chat subdirectories at the same level in the group chat directory, the currently created group chat subdirectory and the number of group chats included in the group chat subdirectory are displayed in the group chat directory.

7. The method according to claim 6, characterized in that The method further comprises: In response to the sub-directory name being the same as the sub-directory name of another group chat sub-directory of the same level in the group chat directory, displaying a second prompt message, wherein the second prompt message is used to prompt that the creation of the group chat sub-directory fails; In response to a modification operation on the sub-directory name, and the modified sub-directory name is different from the sub-directory names of other group chat sub-directories of the same level in the group chat directory, the currently created group chat sub-directory and the number of group chats included in the group chat sub-directory are displayed in the group chat directory.

8. The method according to any one of claims 1 to 7, characterized in that: In response to the selection operation on the plurality of group chats, moving the selected at least one group chat to the group chat directory comprises: Receiving input keywords; Determine at least one group chat including the keyword among the multiple group chats as at least one selected group chat; The at least one selected group chat is moved to the group chat directory.

9. The method according to any one of claims 1 to 7, characterized in that: The group chat directory includes at least one group chat subdirectory; In response to the selection operation on the plurality of group chats, moving the selected at least one group chat to the group chat directory comprises: In response to the click operation, determining the clicked group chat among the multiple group chats as a selected group chat; In response to a drag operation on the selected group chat, and the release position of the drag operation is the position of the target group chat subdirectory, the selected group chat is moved to the target group chat subdirectory, wherein the drag operation is performed from the contact point of the click operation while keeping the click operation, and the target group chat subdirectory is any one of the at least one group chat subdirectory.

10. The method according to any one of claims 1 to 7, characterized in that: The group chat directory includes at least one group chat subdirectory; In response to the selection operation on the plurality of group chats, moving the selected at least one group chat to the group chat directory comprises: The following processing is performed for each of the group chat sub-directories: Determine the similarity between the subdirectory name of the group chat subdirectory and the group chat message included in each of the group chats; Determine at least one group chat whose similarity is greater than a similarity threshold as at least one selected group chat; The at least one selected group chat is moved to the group chat subdirectory.

11. The method according to any one of claims 1 to 7, characterized in that: The group chat directory includes at least one group chat subdirectory; The method further comprises: In response to a trigger operation on any of the group chat sub-directories, displaying a third candidate function menu, wherein the third candidate function menu includes a delete sub-directory option; In response to a trigger operation for the delete subdirectory option, and the number of group chats included in the group chat subdirectory is zero, deleting the group chat subdirectory from the group chat directory.

12. The method according to claim 1, characterized in that The method further comprises: In response to a trigger operation on the group chat directory, displaying a second candidate function menu, wherein the second candidate function menu includes a shared directory structure option; In response to a trigger operation on the shared directory structure option, displaying a candidate list, wherein the candidate list includes at least one of a candidate group and a candidate object; Send a structured message to the group or object selected in the candidate list, wherein the structured message carries the directory structure of the group chat directory.

13. The method according to claim 12, characterized in that The structured message is used for the electronic device associated with the selected object to perform the following processing: Displaying the structured message in an instant messaging session interface; In response to a confirmation operation on the structured message, the group chat structure in the address book of the selected object is adjusted to the directory structure of the group chat directory.

14. The method according to claim 13, characterized in that The structured message is also used for the electronic device associated with the selected object to perform the following processing: The group chats that the selected object has not joined are shielded and displayed in the directory structure, and when the selected object subsequently joins the group chat, the position of the group chat in the group chat list is kept unchanged.

15. The method according to any one of claims 1 to 14, characterized in that After creating the group chat directory, the method further includes: A corresponding directory identifier is allocated to the group chat directory, wherein the directory identifier corresponds to the directory name of the group chat directory and is obtained by combining an object identifier of an object that creates the group chat directory and a timestamp when the group chat directory is created.

16. The method according to claim 15, characterized in that After moving the selected at least one group chat to the group chat directory, the method further includes: Obtaining a group name and a group identifier of the at least one group chat; The group name and the group identifier are bound to the directory identifier of the group chat directory.

17. A group chat processing device, characterized in that: The device comprises: A display module, used to display a group chat list, wherein the group chat list includes multiple group chats; The display module is further configured to display the created group chat directory and the number of group chats included in the group chat directory in response to the directory creation operation in the group chat list; A moving module, configured to move at least one selected group chat to the group chat directory in response to a selection operation on the plurality of group chats; The display module is further used to update and display the number of group chats included in the group chat directory; The display module is further configured to display the at least one group chat in the group chat directory in response to a viewing operation on the group chat directory.

18. An electronic device, characterized in that: include: A memory for storing executable instructions; The processor is used to implement the group chat processing method described in any one of claims 1 to 16 when executing the executable instructions stored in the memory.

19. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by a processor, the group chat processing method described in any one of claims 1 to 16 is implemented.

20. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instruction is executed by a processor, the group chat processing method according to any one of claims 1 to 16 is implemented.