CN111277637B - Method, device, terminal and storage medium for merging session groups - Google Patents

Method, device, terminal and storage medium for merging session groups Download PDF

Info

Publication number
CN111277637B
CN111277637B CN202010041157.4A CN202010041157A CN111277637B CN 111277637 B CN111277637 B CN 111277637B CN 202010041157 A CN202010041157 A CN 202010041157A CN 111277637 B CN111277637 B CN 111277637B
Authority
CN
China
Prior art keywords
group
merged
target
merging
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010041157.4A
Other languages
Chinese (zh)
Other versions
CN111277637A (en
Inventor
方昭潭
李赛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010041157.4A priority Critical patent/CN111277637B/en
Publication of CN111277637A publication Critical patent/CN111277637A/en
Application granted granted Critical
Publication of CN111277637B publication Critical patent/CN111277637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1059Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Abstract

The embodiment of the invention discloses a method, a device, a terminal and a storage medium for merging session groups, wherein the method comprises the following steps: displaying a merging setting interface, wherein the merging setting interface comprises a group selection area; if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area; generating a group merging request according to historical group members included in the at least two groups to be merged, wherein the group merging request is used for requesting generation of a target group, and the target group members included in the target group are determined according to the historical group members included in each group to be merged; and sending the group merging request to a server, and displaying the user interface of the target group if a merging success notification returned by the server is received. The embodiment of the invention is beneficial to efficiently solving the problem to be solved in a session group discussion mode.

Description

Method, device, terminal and storage medium for merging session groups
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for merging session groups.
Background
With the development of science and technology, communication through instant messaging applications has become one of popular social ways. In the prior art, in order to facilitate discussion and analysis on the same topic to be discussed or problem to be solved, a conversation group is generally established based on related persons of the problem, and each related person discusses the problem in the conversation group. However, there are generally a plurality of persons related to the topic to be discussed or the problem to be solved, and any one of the related persons may initiate a request for establishing a conversation group to establish the conversation group. Therefore, the number of session groups for a certain topic to be discussed or a problem to be solved may be multiple, and each session group has an analysis progress and a conclusion for the same topic or problem, so that analysis information of the problem to be solved cannot be shared, and the solution efficiency of the problem to be solved is easily affected. Therefore, in the instant communication application, how to solve the problem to be solved efficiently becomes a hot issue of research,
disclosure of Invention
The embodiment of the invention provides a method, a device, a terminal and a storage medium for merging session groups, which are beneficial to efficiently solving the problem to be solved in a session group discussion mode.
In one aspect, an embodiment of the present invention provides a method for merging session groups, including:
displaying a merging setting interface, wherein the merging setting interface comprises a group selection area;
if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area;
generating a group merging request according to historical group members included in the at least two groups to be merged, wherein the group merging request is used for requesting generation of a target group, and the target group members included in the target group are determined according to the historical group members included in each group to be merged;
and sending the merging request to a server, and displaying the user interface of the target group if a merging success notification returned by the server is received.
In another aspect, an embodiment of the present invention provides a merging device for session groups, including:
the display unit is used for displaying a merging setting interface, and the merging setting interface comprises a group selection area;
an obtaining unit, configured to, if a selection operation in the group selection area is detected, obtain at least two groups to be merged, which are determined by the selection operation in the group selection area;
a processing unit, configured to generate a group merging request according to group members in the at least two groups to be merged, where the group merging request is used to request generation of a target group, and a target member in the target group is determined according to the group members in the at least two groups to be merged; (ii) a
A sending unit, configured to send the merged application to a server;
the display unit is further configured to display a user group interface of the target group if the merging success notification returned by the server is received.
In another aspect, an embodiment of the present invention provides a terminal, where the terminal includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
displaying a merging setting interface, wherein the merging setting interface comprises a group selection area;
if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area;
generating a group merging request according to historical group members included in the at least two groups to be merged, wherein the group merging request is used for requesting generation of a target group, and the target group members included in the target group are determined according to the historical group members included in each group to be merged;
and sending the merging request to a server, and displaying the user interface of the target group if a merging success notification returned by the server is received.
In yet another aspect, an embodiment of the present invention provides a computer storage medium, where one or more instructions are stored, and the one or more instructions are adapted to be loaded by a processor and execute the following steps:
displaying a merging setting interface, wherein the merging setting interface comprises a group selection area;
if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area;
generating a group merging request according to historical group members included in the at least two groups to be merged, wherein the group merging request is used for requesting generation of a target group, and the target group members included in the target group are determined according to the historical group members included in each group to be merged;
and sending the merging request to a server, and displaying the user interface of the target group if a merging success notification returned by the server is received.
In the embodiment of the invention, if the selection operation on the group selection area is detected on the merging setting interface, at least two groups to be merged corresponding to the selection operation are obtained, a group merging request is generated according to group members included in the at least two groups to be merged, the group merging request is used for indicating the server to merge the at least two groups to be merged to obtain a target group, the target group members included in the target group are determined according to historical group members included in each group to be merged, a target group is obtained by merging the multiple groups to be merged, and when a subsequent terminal receives a session message of the target group member, the subsequent terminal does not need to be displayed in the multiple groups to be merged, only needs to be displayed in the target group, so that the information sharing among the multiple groups to be merged is realized, and the efficiency of solving problems is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a management system of a session group according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a merging method for session groups according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of a merge settings interface according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of another merge settings interface provided by embodiments of the invention;
FIG. 4a is a schematic diagram of a user interface for a target group according to an embodiment of the present invention;
FIG. 4b is a diagram illustrating a conversation interface of a target group according to an embodiment of the present invention;
FIG. 4c is a diagram of another target group user interface provided by the present embodiment;
fig. 5 is a flowchart illustrating another session group merging method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of yet another merge settings interface provided by embodiments of the invention;
FIG. 7a is a schematic diagram of a conversation interface of another target group according to an embodiment of the present invention;
FIG. 7b is a diagram illustrating a conversation interface of another target group according to an embodiment of the present invention;
fig. 8a is a schematic diagram of sending a session message according to an embodiment of the present invention;
fig. 8b is a schematic diagram of another sending session message according to the embodiment of the present invention;
fig. 8c is a schematic diagram of another session message sending method according to an embodiment of the present invention;
fig. 9 is a schematic diagram of merging at least two groups to be merged to obtain a target group according to an embodiment of the present invention;
fig. 10 is another schematic diagram of merging at least two groups to be merged to obtain a target group according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a merging device for session groups according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The embodiment of the invention provides a merging scheme of session groups, which can be applied to an application scene that two or more session groups follow the same problem, for example, in the application scene of development and test of game application, developers in charge of game application development are positioned in the same session group so as to discuss and communicate with each other when developing games, and testers in charge of game function test are positioned in the same session group; in the testing process of the game application, if a developer receives a problem fed back by a user, such as picture receiving failure, the developer conducts discussion on the problem in a conversation group where the developer is located; meanwhile, if the tester receives the same problem fed back by the user, such as failure in receiving the picture, the tester performs discussion on the problem in the session group where the tester is located, so that the two session groups follow up the same problem, discussion information of the problem in the two session groups cannot be shared, and the efficiency of solving the problem may be affected. In the prior art, an intermediary who is located in the two session groups at the same time may be required to forward the test result in the session group where the tester is located to the session group where the developer is located. If the method needs to forward too many messages, the forwarding process is complex, the two session groups can be merged into one group by adopting the merging method of the session groups provided by the embodiment of the invention, so that a game application developer and a game application tester are positioned in the same session group, the time consumed by message forwarding is reduced, and the problem solving efficiency can be improved.
In an embodiment, the merging scheme provided in the embodiment of the present invention may specifically include: displaying a merging setting interface, wherein the merging setting interface comprises a group selection area, and the group selection area can comprise a plurality of session groups where a merging initiator is located; then, if a selection operation in the group selection area is detected, at least two groups to be merged determined by the selection operation in the group selection area are obtained. Optionally, the merging initiator may select at least two or more session groups from the group selection area to merge, and the session groups selected by the merging initiator are referred to as groups to be merged.
Further, a group merging request is generated according to historical group members included in the at least two groups to be merged, the group merging request is used for requesting generation of a target group, and the group merging request may include the target group members, which actually include the identifiers of the target group members. When the server receives the group merging request, the target group members can be added to the target session group, and the target group members included in the target session group are determined according to the historical group members included in each group to be merged. In a specific implementation, all history group members included in each group to be merged are determined as target group members after deduplication processing; or, the merging initiator may delete a part of the history group members from the history group members subjected to the deduplication processing, and take the remaining history group members as target group members; or, the merging initiator may also add some newly added group members, and take the newly added group members and the history group members after the deduplication processing together as target group members; and finally, sending the group merging request to a server, and displaying the user interface of the target group if a merging success notification returned by the server is received. In the process of merging the groups, the target group members included in the target group are determined according to the historical group members included in each group to be merged, one target group is obtained by merging the groups to be merged, and when the subsequent terminal receives the session message of the target group members, the subsequent terminal does not need to be displayed in the groups to be merged but only needs to be displayed in the target group, so that the information sharing among the groups to be merged is realized, and the efficiency of solving the problems is improved.
Based on the above merging scheme of the session group, the embodiment of the present invention provides a merging system of a session group. Referring to fig. 1, for a merging system of a session group according to an embodiment of the present invention, the merging system shown in fig. 1 may include a server 101, a merging initiator terminal 102, and at least one other terminal 103 used by other group members except for the merging initiator. Any one client of the instant messaging application, such as a wechat client, a QQ client, an enterprise wechat client, and the like, can be installed in the merge initiator terminal 102 and the other terminal 103; alternatively, the merge initiator terminal 102 and the other terminal 103 may log in to any instant messaging application through a web page, such as a web page version enterprise WeChat, a web page version enterprise application, and so on.
The server 101 stores running data supporting the running of the instant messaging applications in the merge initiator terminal 102 and the other terminals 103, and the server 101 is connected with the merge initiator terminal 102 and the other terminals 103 so as to realize that the server supports the normal running of the instant messaging applications in the merge initiator terminal 102 and the other terminals 103 through the running data.
In the merging system shown in fig. 1, when the merging initiator terminal 102 detects that the merging initiator inputs a merging operation in the instant messaging application, a merging setting interface is displayed on a user interface of the merging initiator terminal 102, where the merging setting interface includes a group selection area, and the group selection area includes a plurality of groups to be merged; if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area; further, a group merging request is generated according to the history group members included in at least two groups to be merged, the group merging request is used for requesting generation of a target group, the group merging request includes the target group members included in the target group, and the target group members are determined according to the history group members included in each group to be merged. For example, the history group members included in each group to be merged may be subjected to deduplication processing, and the history group members subjected to deduplication processing are taken as target group members; or after the at least two groups to be merged are subjected to the duplicate removal processing, receiving the operation of deleting or adding the group members of the user, and determining the target group members according to the operation of the user and the historical group members subjected to the duplicate removal processing.
Finally, the merging initiator terminal sends a group merging request carrying the target group members to the server 101, and the server 101 creates the target group with the target group members after receiving all the requests. After the server 101 successfully creates the target group, a merging success notification is returned to the merging initiator terminal 102, and the merging initiator terminal 102 displays a user interface of the target group, so that the merging initiator can receive and send session messages in the target group through the user interface of the merging initiator terminal 102, and view target group members, group advertisement messages and the like included in the target group. Similarly, the server 101 may further send a notification that the target group is successfully merged to the other terminal 103, and the other terminal 103 also displays a user interface of the target group, so that the other user may receive and send session messages in the target group through the other terminal 103, and view target group members and group advertisement messages included in the target group. Optionally, the user interface may be a session interface of the target group, or may be another interface of the instant messaging application including the target group. It should be appreciated that, for convenience of description, the following description will be described with an example of the relevant operations performed in the user interface by the merging initiator. In the merging system shown in fig. 1, a target group is obtained by merging a plurality of groups to be merged, so that information sharing among the plurality of groups to be merged can be realized, that is, a group member of the target group can view a history session message of any one group to be merged, which is helpful to improve the efficiency of solving problems.
Based on the above description, the embodiment of the present invention further provides a method for merging session groups, and fig. 2 is a schematic flow diagram of the method for merging session groups according to the embodiment of the present invention. The merging method shown in fig. 2 may be performed by the terminal, and may be specifically performed by a processor in the terminal. The terminal described herein may correspond to the merge initiator terminal 102 in the merge system of the session group described in fig. 1. The merging method of the session group shown in fig. 2 may include the following steps:
step S201, displaying a merge setting interface, where the merge setting interface includes a group selection area.
In one embodiment, the merge setting interface is displayed after the terminal detects that the merge initiator inputs the merge operation of the session group in the instant messaging application. It should be understood that, in order to ensure the security of the session message, when using the instant messaging application, the merge initiator first registers a login account and a login password for logging in the instant messaging application with the server, and then logs in the instant messaging application through the registered login account and login password. Based on this, before entering the merging operation of the session group, the merging initiator needs to log in to the instant messaging application in the terminal using the login account and the login password that are registered before, and then enter the merging operation in the instant messaging application. In one embodiment, the instant messaging application may include a function option of session group merging, and the merging initiator inputs the merging operation by triggering the function option; alternatively, the instant terminal application may include a button for session group merging, which the merging initiator may click to enter the merging operation. It should be understood that the above are only two possible implementations of the merge initiator inputting merge operation listed in the embodiment of the present invention, and in practical applications, because of different product forms, the merge initiator inputs the merge operation in different ways, and the manner of inputting the merge operation in the embodiment of the present invention is not limited.
In order to ensure the security of the session group merging, the terminal may preset which group members in each session group have the permission to merge the group, and the administrator may set whether to open the function of group merging in the instant messaging application. Optionally, an account center option may be set in the instant messaging application of the administrator, and the account center option may include whether to open a certain or some users with the merged group right to open the right. If the administrator opens the group member with the merging group right (described below by taking the merging initiator as an example), the merging setting interface is displayed when the terminal detects that the merging initiator performs merging operation in the instant messaging application.
In an embodiment, the above-mentioned implementation manner of setting the group member with the merged group right for each session group may be: when a server receives a session group creation request sent by a terminal, after the session group is successfully created, a group owner carried in the creation request is determined as a group member with a merged session group authority; and sending the permission setting result to the terminal for storage. For example, the zhang triplet initiates a creating request for creating a session group to the server through the terminal, the group owner carried in the creating request may be default zhang triplet or a certain group member designated by zhang triplet, and the server determines the group owner as a group member having a merged session group right. Optionally, the server may further send notification information to the group owner having the authority to notify that it can perform session group merging.
In another embodiment, when the server receives a request for creating a session group sent by the terminal, the request may carry a group administrator specified by the session group creator, and the server may set that the group administrator of any session group has a session group merging right. And then sending the permission setting result to the terminal for storage. Optionally, a notification message may be sent to the group administrator with the authority to notify that the group administrator with the authority has the authority to merge the session groups.
In other embodiments, the instant messaging application may be an application associated with a certain enterprise, such as a corporate WeChat, where the group members of the conversation group are all enterprise employees of the enterprise, and the administrator (also referred to as a corporate administrator) may set which enterprise employees have permission to merge the group.
In one embodiment, the group selection area of the merge setting interface includes at least two groups to be merged, and specifically, the group selection area includes a group tag capable of identifying the groups to be merged, that is, the group selection area includes a group tag of at least two groups to be merged, so that the group tag may include a group name, such as XXXX project discussion group, XXX product development test group, and the like, or the group tag may further include a group number. The at least two groups to be merged may be displayed in a list form in the group selection area. The at least two groups to be merged are session groups joined in the instant messaging application by group members (taking a merging initiator as an example in the embodiment of the present invention) currently logged in the instant messaging application, and the groups include a session group and a session discussion group. Referring to fig. 3a, which is a schematic diagram of a merge setting interface according to an embodiment of the present invention, 301 denotes a group selection area, and 301 includes a group a, a group B, and a group C, which can be displayed in a list in the group selection area 301.
Step S202, if the selection operation in the group selection area is detected, at least two groups to be merged determined by the selection operation in the group selection area are obtained.
In an embodiment, in the merging setting interface shown in fig. 3a, each group to be merged may correspond to a selection box, for example, the selection box corresponding to the group a is 302, the selection box corresponding to the group B is 303, and the merging initiator wants to merge which groups to be merged, and then only needs to input a selection operation in the selection box corresponding to the corresponding group to be merged, and the terminal determines the group to be merged, to which the selection operation is input in the selection box, as at least two groups to be merged, which are determined by the selection operation. The selection operation can comprise any one or more of clicking operation, long-time pressing operation, checking operation, double-clicking operation and the like. In an embodiment, the selection box corresponding to the group to be merged may be a check box, and the selection operation includes a selection operation on the check box, for example, if the merging initiator wants to merge the group a and the group B, the check 302 and 303 may be performed. In other embodiments, the group to be merged in the 301 region may be displayed in a black font, and when any one group to be merged is selected, the group to be merged displayed in the 301 region may be changed from the black font to a gray font, or the group to be merged may also be displayed in the 301 region in any other two colors, which is not limited in the embodiment of the present invention. Therefore, the merging initiator can clearly know which group or groups to be merged has been selected by the merging initiator, and if a selection error is found, the wrongly selected group to be merged can be corrected in time, so that the selection process of the group to be merged is more humanized, and the efficiency of merging the groups is further improved.
It should be understood that if the group selection area includes a larger number of groups to be merged, the 301 area may further include a search box 304 in order to facilitate the merging initiator to select the group to be merged. The merging initiator may input a group tag of a group that the merging initiator wants to merge in the search box 304, and the terminal traverses all groups included in the instant messaging application of the merging initiator according to the group tag acquired in the search box 304, and displays a group related to the group tag in the search box 304 in the group selection area. The search box 304 may support fuzzy search, which may refer to searching for groups to be merged by incomplete group names or incomplete group tags, such as group name XXX product workshop D group, fuzzy search may refer to searching for XXX product workshop D group by searching XXX products, D group, etc. For example, the group name of the group to be merged that the merging initiator wants to select is XXX product study group D, but the merging initiator does not remember the complete group name, and at this time, "D group" may be input in 304, and all groups related to "D group" are displayed in 301 for the merging initiator to select.
In other embodiments, the group selection area may also display the group to be merged that the merging initiator has selected, such as the group selection area in fig. 3a that the merging initiator has selected group a and group B. The group selection area 301 may also display prompt information for some operations in the group selection area 301, for example, the area 301 in fig. 3a may also prompt how to select or deselect a group to be merged.
Step S203, generating a group merging request according to the historical group members included in the at least two groups to be merged, where the group merging request is used to instruct the server to generate the target group.
In one embodiment, the group merging request may carry target group members of a target group, and the target group members may be determined according to historical group members included in the at least two groups to be merged. In a specific implementation, after performing step S202, the terminal may further perform: traversing the historical group members included in each group to be merged, and performing duplicate removal processing on the historical group members obtained through traversal; and determining the target group members included in the target group according to the history group members subjected to the deduplication processing. The deduplication processing means that if a certain group member is located in at least two groups to be merged at the same time, only one group member is included in the merged target group, for example, three groups are located in the group a to be merged and the group B to be merged at the same time, and after the deduplication processing, only one group member is included in the merged target group, but two group members are not included.
In an embodiment, the merge setting interface may further include a group member setting area, where the group member setting area includes a first area for displaying the history group members and a second area for adding the group members, and the determining the target group members included in the target group according to the history group members after the deduplication processing may be performed by determining the target group members included in the target group according to the history group members after the deduplication processing and the group member setting area, where the operation instruction is detected. For example, referring to fig. 3b, which is a schematic diagram of another merged setting interface according to an embodiment of the present invention, in fig. 3b, 301 represents a group selection area, 305 represents a group member setting area, and the group setting area 305 includes a first area 3051 and a second area 3052.
In specific implementation, the history group members after the duplicate removal processing are displayed in the first area; if a deletion operation instruction is received in the first area, deleting the historical group member corresponding to the deletion operation instruction from the historical group members subjected to the deduplication processing; if an adding operation instruction of adding group members is received in the second area, acquiring newly added group members corresponding to the adding operation instruction; and adding the newly added group members and the deleted history group members to the target group members. Optionally, in the history group members subjected to deduplication processing displayed in the first area, each history group member may correspond to one deletion button, and when a deletion button is clicked, it is determined that a deletion operation instruction is received, and the history group member corresponding to the deletion button is to be deleted from the first area. Assuming that the history group members included after the deduplication process include zhang three, li four, wang five, and zhao six, the history members are displayed in the 3051 area as shown in fig. 3b, each history group member corresponds to one delete button, and it is assumed that 306 represents a delete button corresponding to zhao six.
In other embodiments, each history group member in the first area may correspond to a selection box, as shown in 307 in FIG. 3b, 307 representing a selection box corresponding to Zhang III. When the selection box corresponding to any one of the history group members is selected, it indicates that the history group member is selected in the first area shown in fig. 3b, and at this time, the selection boxes corresponding to zhang san and lie si are selected, which indicates that zhang san and lie si are selected. Optionally, the first area may further include a batch deletion option 308, and when zhang three and lie four are selected and a deletion button corresponding to the batch option is clicked, zhang three and lie four are deleted from the history group member list.
In order to ensure the session security of the target group, the new group member corresponding to the adding operation instruction should be a contact member of the merging initiator. Optionally, the second area may include a trigger option for selecting a group member, and the merging initiator may call up a contact member list by clicking the trigger option, and select a new group member from the contact member list. Referring to fig. 3b, the second region 3052 may include a trigger option 309 for selecting a group member, and when the merge initiator clicks 309, the terminal displays a contact member list of the merge initiator, so that the merge initiator may select an additional group member from the list, where the additional group member is to be added to the target group. In other embodiments, the terminal may not set the trigger option in the second area, and directly display the contact member of the merging initiator in the second area. It should be understood that the merge setting interface shown in fig. 3b is only one possible form listed in the embodiment of the present invention, and in practical applications, different merge setting interface forms may be set according to different forms of products and development requirements.
In one embodiment, if the merge initiator selects the new group member in the second area, the new group member may be displayed in the second area, and the new group member may correspond to a delete button, so that the merge initiator may change the new group member at any time. In other embodiments, if the second merge initiator selects the new group member in the second region, the new group member may also be added to the first region for display, and a corresponding delete button may be set for the new group member.
It should be understood that the above only illustrates an embodiment of determining the target group member according to the history group member after the deduplication processing and the detected operation instruction, and in practical applications, other embodiments are also included: if the deleting operation instruction is not received in the first area and the adding operation instruction is received in the second area, adding the history group members and the newly added group members after the duplicate removal processing into the target group members; if a deleting operation instruction is received in the first area and an adding operation instruction is not received in the second area, adding the history group members subjected to deleting processing to the target group members; and if the deleting operation instruction is not received in the first area and the adding operation instruction is not received in the second area, adding the history group members subjected to the deduplication processing to the target group members.
And step S204, sending a group merging request to the server, and displaying a user interface of the target group if a merging success notification returned by the server is received.
In an embodiment, the terminal generates a group merging request according to historical group members of at least two groups to be merged, where the group merging request carries a target group member, and the target group member may carry an identifier, such as a group number, of the at least two groups to be merged. And after the terminal sends the group merging request to the server, the server generates a target group according to the group merging request. Optionally, the implementation manner of the server generating the target group according to the group merging request may be: the server assigns a group number to the target group and assigns group rights to the members of the target group. The group authority may include an authority to release a target group, an authority to delete a target group member, an authority to change a group name, an authority to change a mark of a target group member in a target group (such as a group nickname, basic information displayed in a group, etc.), an authority to prohibit a certain target group member from speaking, and so on.
In one embodiment, the group owner of a group has the highest authority, and the group owner of the target group can execute the authority for resolving the target group owner, the authority for deleting the target group member, the authority for changing the group name and the authority for forbidding a certain target group member to speak in the group authorities; the administrator of a group has less rights than the group owner, and the group administrator of the target group may have rights including: deleting the authority of the target group member, changing the authority of the group name and the like; the normal group member of a group has the lowest group authority, and the normal group member of the target group may include: the authority of changing the group name and the authority marked in the target group.
In one embodiment, the server assigning group permissions to target group members of the target group comprises: the server searches the group owner of each group to be merged according to the identification of at least two groups to be merged included in the group merging request, then determines the merging initiator sending the group merging request as the group owner of the target group, sets the group owner of each group to be merged as the group manager of the target group, and sets other target group members except the merging initiator and the group owners of the at least two groups to be merged as common group members.
After generating the target group, the server returns a merging success notification to the terminal, wherein the merging success notification can carry the group number and the group authority of each group member in the target group members. And after the terminal receives the notification of successful combination, the user interface of the target group can be displayed.
In one embodiment, the user interface of the target group may include a user interface of an instant messaging application, and the user interface may include a plurality of session lists, and a session identifier (such as a group name) of the target group is added to the session list of the user interface, and the session interface of the target group may be entered when the merging initiator clicks the session identifier. Referring to fig. 4a, a schematic diagram of a user interface for displaying a target group according to an embodiment of the present invention is provided, where 401 represents a plurality of session lists included in the user interface, 402 represents a session identifier of the target group, the session identifier includes a name "XXX product discussion group D" of the target group and an avatar mark of the target session group, and a merge initiator may enter the session interface of the target session group by clicking the session identifier as shown in fig. 4 b.
In other embodiments, the user interface of the target group may include a session interface of the target group, and the terminal may display a list of the target group members and group permissions corresponding to the target group members in the session interface of the target group according to the group permissions of the target group members. Referring to the target group session interface shown in fig. 4b, 403 represents a target group member list, and the group right corresponding to each target group member is displayed in the session interface of the target group, for example, if the group right corresponding to zhang-three is displayed in the session interface as a group owner, the group right corresponding to lie-four is an administrator, and the group rights corresponding to other target group members are common members, then the corresponding mark may not be displayed. Optionally, a session area 404 may be further included in the session interface of the target group, and the merge initiator may input a session message in the session area 404 and view the session messages posted by other group members. Optionally, a group advertisement message may be further displayed in the session interface of the target group as shown in 405, entry marks for viewing the historical session messages of each group to be merged, which form the target group, may be further displayed in the session area 404 as shown in 406 and 407, and when the merge initiator clicks 406, a window for viewing the historical session messages of group a may be opened to view the historical session messages of group a; when the merge initiator clicks 407, a window to view group B's historical session messages may be opened to view group B's historical session messages.
In other embodiments, the user interface of the target group may also be a popup interface for notifying the merge initiator that at least two groups to be merged have been merged into the target group, as shown in fig. 4c, and assuming that the current interface is a reading novel interface, the popup interface may include a prompt message 408 indicating which groups to be merged into the target group is merged into and whether the target group enters the session interface of the target group. The popup interface may further include a confirm button 409 for a session interface immediately entering the target group and a cancel button 4010 for a session interface temporarily not entering the target group, the session interface entering the target group is as shown in fig. 4b if the merge initiator clicks 409, and the current interface continues to be maintained if the merge initiator clicks 4010.
In the embodiment of the present invention, if a selection operation on a group selection area is detected on a merge setting interface, at least two groups to be merged corresponding to the selection operation are obtained, a group merge request is generated according to group members included in the at least two groups to be merged, where the group merge request is used to instruct a server to merge the at least two groups to be merged to obtain a target group, and the target group member included in the target group is determined according to a history group member included in each group to be merged.
Based on the above-mentioned merging method for session groups, an embodiment of the present invention provides another merging method for session groups, and fig. 5 is a flowchart illustrating the another merging method for session groups according to the embodiment of the present invention. The merging method of the session group shown in fig. 5 may be performed by the terminal, and may be specifically performed by a processor in the terminal. The service processing method shown in fig. 5 may include the following steps:
step S501, a merging setting interface is displayed, and the merging setting interface comprises a group selection area, a group member setting area and a display data setting area.
In one embodiment, the display data setting area is used for providing configuration data for a merging initiator to set display data, the display data may include a group announcement message, a group notification and the like, the display configuration data is required to be provided for a server, the server obtains a display number according to the configuration data and historical conversation messages of each group to be merged and sends the display number to a terminal, and the terminal displays the display data in a conversation interface of a target group. This section will be described in detail in step S504.
Step S502, if the selection operation in the group selection area is detected, at least two groups to be merged determined by the selection operation in the group selection area are obtained.
Step S503, generating a group merging request according to the history group members included in the at least two groups to be merged, where the group merging request is used to request generation of a target group, and the target group members included in the target group are determined according to the history group members included in each group to be merged.
In one embodiment, some possible implementations included in step S502 and step S503 have been described in the relevant steps of the embodiment shown in fig. 2, and are not described herein again.
Step S504, obtaining the configuration data set in the display data setting area, carrying the configuration data in the group merging request, and sending the configuration data to the server, wherein the server obtains the display data according to the configuration data and the historical conversation message of each group to be merged, and the display data setting area comprises a group announcement message setting area and a customized conversation message setting area.
In an embodiment, if the terminal already stores the history session message of each group to be merged, the terminal may not need to carry the configuration data in the group merging request to send to the server, and the terminal may obtain the display data according to the configuration data obtained in the display data setting area and the history session message of each group to be merged. In the embodiment of the present invention, the following description is given by taking an example in which the server acquires the display data according to the configuration data and the history session message of each group to be merged.
As can be seen from the foregoing, the display data setting area is for providing the merge initiator with configuration data for setting the display data, wherein the display data includes a group advertisement message, the configuration data of the display data includes configuration data of the group advertisement message, and the display data setting area may include a group advertisement message setting area for setting the configuration data of the group advertisement message. Referring to fig. 6, a schematic diagram of another merging setup interface according to an embodiment of the present invention is shown, where 601 denotes a display data setup area, and 6011 denotes a group advertisement message setup area.
In a specific implementation, the acquiring configuration data set in the display data setting area in step S504 includes: if the screening operation is detected in the group notice message setting area, obtaining screening keywords set in the group notice message setting area; and adding the screening keywords to the configuration data set in the display data setting area, wherein the screening keywords can be input by a merging initiator in a group announcement message setting area. It should be understood that, if the configuration data set by the display data setting area includes the configuration data of the group advertisement message, the acquiring, by the server, the display data according to the configuration data and the historical session message of each group to be merged in step S504 may refer to acquiring the group advertisement message. In one embodiment, the obtaining of the group advertisement message may include: the server searches the content matched with the screening keywords from the historical conversation messages of each group to be merged according to the screening keywords, sends the matched content to the terminal, displays the matched content by the terminal, and determines the group announcement message according to the operation of the merging initiator on the matched content, for example, the merging initiator can select a part from the matched content to be used as the group announcement message.
For example, in fig. 6, the group advertisement message setting area includes an intelligent setting group advertisement message option 60, the intelligent setting group advertisement message option 60 includes a filtering keyword input area 61 and an intelligent filtering group advertisement message option 62, the merging initiator may input the filtering keyword in the area 61, and it is assumed that the filtering keyword input in the area 61 by the merging initiator is "XXX product test question". Then, a screening operation is input in an option 62 for intelligently screening the group advertisement messages, where the screening operation may include clicking, long pressing, double clicking or checking the option 62, at this time, the terminal sends a screening keyword to the server, the server finds out matched contents in the history session messages of each group to be merged according to the screening keyword, and sends the matched contents to the terminal, and the terminal displays the contents in a group advertisement message setting area as shown in fig. 6, where the matched contents may include "1, xxxxx", "2, xxxxx", and the like. Each matching content corresponds to a selection box, and the merging initiator can select one or more of the matching contents as the group advertisement messages.
In other embodiments, the group advertisement message setting area also includes a custom group advertisement message option 63, where the merge initiator may enter a group advertisement message in 63, such as "group a and group B merge," "current notice, 1, … …; 2.… … ", and the like.
In one embodiment, the display data setting area further includes a historical conversation message setting area, and the merge initiator may set the customized conversation message for a designated group member of any one of the target group members through the group selection area, the historical conversation message setting area, and the group member setting area. The customized session message setting means that a certain message or certain messages are selected from historical session messages of a group to be merged and are associated with a certain target group member or a plurality of target group members so as to prompt the certain target group member or the plurality of target group members to pay attention to the messages. In other words, the so-called customized session message may be: if some historical conversation messages that need to be focused by the target group members, such as a person in charge of xx project, are needed, the historical conversation messages related to xx project can be set as the customized conversation messages related to a person. Referring to fig. 6, in the merge setting interface shown in fig. 6, the display data setting area 601 further includes a history session message display area 6012.
In a specific implementation, for convenience of description, taking a target group to be merged of at least two groups to be merged as an example, the target group to be merged is any one of the at least two groups to be merged, and how to perform customized session message setting is described: if the group selection area detects that the historical conversation message of the target group to be merged is set, displaying the historical conversation message of the target group to be merged in the historical conversation message display area, and acquiring the target historical conversation message selected in the historical conversation message display area, wherein the target group to be merged is any one of at least two groups to be merged, and the target historical conversation message is any one of the historical conversation messages included in the target group to be merged; acquiring an appointed group member selected in the group member setting area; setting the appointed group member and the target historical conversation message as an association relationship, and adding the association relationship to the configuration data, so that the server displays the target historical conversation message in a preset form in a user interface of a target group corresponding to the appointed group member according to the association relationship.
Each group to be merged in the group selection area may correspond to a trigger option set for the history session message, the merging initiator may set the history session message of the corresponding group to be merged by triggering the trigger option, for example, each group to be merged in the group selection area 604 in fig. 6 may correspond to an edit button, the merging initiator may click the edit button corresponding to the group a, and at this time, the history session message display area displays the history session message of the group a.
Optionally, when the history session message display area displays the history session messages, each history session message corresponds to one selection box, and the merging initiator may select any one of the history session messages by clicking the selection box, to determine the history session message selected by the merging initiator each time as the target history session message, for example, in fig. 6, the merging initiator selects a red packet message, which is the target history session message. After the merging initiator selects the target historical session message, a designated group member which focuses on the red packet message can be selected in the group member setting area, and specifically, the designated group member can be selected from the historical group members or the newly added group members.
Optionally, in the history session messages displayed in the 603 area, each history session message may correspond to a save button, and when the target history session message is selected in the 603 area and the designated group member is selected in the group member setting area 602, the save button may be clicked, and at this time, the terminal may associate the target history session message with the designated group member set in the group member setting area.
Further optionally, each historical conversation message may also correspond to a modification button, and after the designated group member is set for the target historical conversation message, the designated group member corresponding to the target historical conversation message may be modified by clicking the modification button corresponding to the target historical conversation member.
The terminal sets the designated group member selected by the group member setting area and the target historical conversation message selected by the historical conversation message display area as an association relation, and adds the association relation to the configuration data to instruct the server to display the target historical conversation message in a preset form in a user interface of a target group corresponding to the designated group member according to the association relation. The preset form may be highlighted or a prompt message form is used to prompt the historical session message of the target group member a group that information that needs to be focused on is available. Or the target historical conversation message corresponding to the designated group member may be redisplayed in the conversation interface of the target group, for example, if the target historical conversation message is "xx item follow-up condition is …" and the corresponding designated group member is zhao, then displaying the target historical conversation message in a preset form may be sending the following conversation message "xx item follow-up condition is … @ zhao in the conversation interface of the target group.
In other words, the merge initiator may set some customized conversation messages in the merge setting interface, and assign the customized conversation messages to the specific group member with heavy attention. Therefore, after the merging group is successful, the target group member can be ensured to quickly acquire important information which needs to be mastered by the target group member, so that the target group member can quickly enter a problem solving state, and the problem can be solved in time.
In other embodiments, in order to quickly capture the historical session message that the target group member wants to focus on, each target group member may set the attention keyword through its corresponding terminal at any time, and the following takes the first group member of the target group member as an example to describe how the target group member sets the attention keyword that the target group member is interested in. The first swarm member can input the concerned keywords through the corresponding terminal, and the terminal uploads the concerned keywords to the server for storage; when detecting that a group related to the first group is established, the server may search, in a history session message included in the newly established group, a history session message including a keyword of interest set by a first group member, and send a display notification to a terminal corresponding to the first group member according to the searched history session message, so that the terminal corresponding to the first group member marks the keyword of interest in the history session message in a preset form. For example, the first group of thick members may set the attention keywords included in the history conversation message to be marked with different highlighting colors, such as "get single" with the attention keyword highlighted in red, "urgent need" with the attention keyword highlighted in green, "unit price" with the attention keyword highlighted in yellow, and the like.
In other embodiments, the first group member may also set the attention keywords in the group setting of the newly created group, and highlight colors corresponding to the attention keywords.
And step S505, if the merging success notification returned by the server is received, displaying the user interface of the target group and displaying the display data acquired by the server in the user interface.
In an embodiment, after the configuration data is set in the display data setting area in step S504, the server obtains the display data according to the configuration data and the historical session message of each group to be merged, and sends the display data carried in the merging success notification to the terminal, and the terminal displays the display data obtained by the server in the user interface of the target group, where the user interface of the target group includes the session interface of the target group. Assuming that the merging initiator sets configuration data of the group advertisement message in the display data setting area in step S504, and the server acquires the group advertisement message according to the configuration data of the group advertisement message and the historical session message of each group to be merged, the terminal displays the group advertisement message in the session interface of the target group. Referring to fig. 7a, which is a schematic view of another session interface of a target group corresponding to a merge initiator according to an embodiment of the present invention, a group advertisement message is displayed in the session interface shown in fig. 7a as 701.
Optionally, the merging initiator may also preset an attention keyword, and after detecting that the target group is successfully created, the server displays a notification to a terminal used by the merging initiator according to the historical session message of each group to be merged and the attention keyword set by the merging initiator, where the display notification may be used to prompt that the merging initiator has content related to the attention keyword set by the merging initiator in the historical session message of which group to be merged. Assuming that the attention keywords set by the merging initiator include "red pack" and "leave", the display notification received by the terminal may be as shown at 702 in fig. 7 a.
In other embodiments, the server may perform statistics on the historical conversation messages of each group to be merged, and perform statistics on how many pictures, how many red packet messages, how many characters, and the like are included in each group to be merged, and send the statistical result to the terminal, where the terminal displays the statistical result in the conversation interface of the target group as shown in 703.
In other embodiments, in order to facilitate the target group members to view the historical conversation messages of each group to be merged after the target group is obtained, the terminal creates a historical conversation message viewing window (which may be alternatively referred to as a client track window) to display the historical conversation messages of the groups to be merged. Optionally, the session interface of the target group may include an entry mark entering the history session message viewing window of each group to be merged, and when the entry mark is triggered, the history session message viewing window of the corresponding group to be merged is displayed in the session interface. For example, assuming that group a and group B are to be merged in fig. 7a, the conversation interface shown in fig. 7a may include an entry marker 704 for a history conversation message viewing exit into group a and an entry marker 705 for a history conversation message viewing window into group B. When 704 is triggered, then a group a historical conversation message view window may be displayed in the conversation interface as shown at 706 in fig. 7 b. A group to be merged in the historical conversation message viewing window can correspond to a track, different foldable hierarchies are displayed in one track according to dates, and conversation messages in the latest designated time period can be opened by default. The merge initiator may expand or collapse the historical session messages within a certain time node by clicking on button 707 in 706.
In one embodiment, a history session message search option (not shown in the figure) may be further included in the session interface, and the merge initiator may search for a desired history session message according to time, a session message type such as a picture or a file, and the like, in the history session message search option. It should be noted that, because the target group is obtained by merging at least two groups to be merged, when searching the history session message, the terminal sends the query request to the server by using the identifiers of the at least two groups to be merged, such as the group number, and the server sends the content matched with the history session message input by the merging initiator in each group to be merged to the terminal, and the content is displayed to the merging initiator by the terminal.
Step S506, the number of history group members included in each selected group to be merged is obtained.
Step S507, if the number of history group members included in each group to be merged is greater than the number threshold, adding a virtual group mark to the merged target group, and associating each group to be merged with the target group.
In some special cases, for example, the number of history group members included in the at least two groups to be merged obtained in step S502 is large, such as more than 1 thousand, and in such a case, if the at least two groups to be merged are really merged, the workload is large. To solve this problem, the target group obtained by merging at least two groups to be merged can be marked as a virtual group for this special case. The merging at this time is not a true merging, and can be understood as: and (3) establishing a new session interface of the target group (the session interfaces of at least two groups to be merged before merging are not displayed), splicing the target group members by historical group members of at least two groups to be merged, wherein the target group members can also comprise newly added group members.
In the case that the target group is a virtual group and a real group, the way of the target group members to send and receive session messages in the target group is different, so when creating the target group, it is also necessary to determine whether a virtual group mark should be added to the target group. It should be understood that the target group members described herein may refer to historical group members in each group to be merged included in the target group members in most cases, because for the new group members, which are included only in the target group and are not present in any group to be merged, the session messages sent and received by the new group members can only be based on the target group, and thus, no matter whether the target group is a virtual group or a real group, the way in which the new group members send and receive messages in the target group is different. In a specific implementation, adding a virtual group flag to the target group can be obtained through step S506 and step S507. The number threshold may be set to 1 thousand, 2 thousand or more in step S506. In other embodiments, the terminal may also send a request to the server to request the server to perform steps S506 and S507 to determine whether to add the virtual group tag for the target group.
In an embodiment, after associating each group to be merged with the target group, it can be known, according to the identifier of the target group, which groups to be merged are merged to obtain the virtual group. For example, the implementation of associating each group to be merged with the target group may include: the identifier of the target group is set to be composed of each group to be merged, for example, the identifier of the target group includes the group number of the target group, the group number of the target group may be set to be composed of the group number of each group to be merged, for example, the target group is group C, which is obtained by merging group a to be merged and group B to be merged, and the group number of group C may be the group number of group a + the group number of group B.
As can be seen from the foregoing, the user interface of the target group may include a session interface of the target group, and taking the user interface of the target group as the session interface of the target group as an example, and taking the merging initiator sending the session message as an example, and specifically referring to fig. 8a, how the target group members send the session message in the session interface of the target group when the target group is a virtual group or a real group.
Referring to fig. 8a, which is a schematic diagram of sending a session message according to an embodiment of the present invention, in fig. 8a, when receiving a session message sending operation input by a merging initiator on a user interface of a target group, detecting whether a virtual required marker exists in the target group; if the target group does not have the virtual group mark, namely the target group is not a virtual group, sending a first session message sending request to the server according to the session message sending operation, wherein the first session message sending request comprises a session message to be sent and an identifier of the target group, and the first session message sending request is used for indicating the server to send the session message to be sent to the target group according to the identifier of the target group and controlling the session message to be sent to be displayed in a user interface of the target group. The session message sending operation input by the merge initiator on the user interface of the target group may refer to that the merge initiator inputs a session message in a session message area of the user interface through a keyboard, as shown in fig. 7a, and triggers a sending instruction, such as clicking a sending button of the user interface, or clicking a sending button in the keyboard.
If the target group has a virtual group mark, namely the target group is a virtual group, sending a second session message sending request to the server according to the session message sending operation, wherein the second session message sending request comprises a session message to be sent and an identifier of a group to be merged corresponding to the merging initiator; the second session message sending request is used for indicating the server to determine that the target group is a virtual group according to the identification of the group to be merged corresponding to the merging initiator and the correlation between each group to be merged and the target group, sending the session message to be sent to each group to be merged, forwarding the session message to be sent to the target group by the group to be merged, controlling each group to be merged not to display the session message to be sent, and displaying the session message to be sent in the user interface by the target group.
To summarize, for the case that the target group is a virtual group, in the aspect of receiving and sending new session messages, the session messages initiated by the target group members in the target group are only displayed in the target group, and after the target group is actually established, the target group members send the session messages to the group to be merged corresponding to the target group members, and only after the server sees that the target group is marked as a virtual group, the session messages are forwarded to the group to be merged to which the target group members belong, and simultaneously copied to other groups to be merged and the target group, and the session messages in the other groups to be merged and the group to be merged are not displayed, but only displayed in the target group.
Fig. 8a is an example of sending a session message by a merge initiator, and a schematic diagram of sending a session message by other history group members except for the merge initiator can be referred to fig. 8 b. In fig. 8a, the merging initiator sends the session message in the target group, and since the merging initiator is necessarily located in a plurality of groups to be merged, after the target group is determined to be a virtual group in fig. 8a, the session message is directly sent according to the group to be merged to which the merging initiator corresponds. Different from fig. 8a, in fig. 8b, it is not determined whether other history group members are located in multiple groups to be merged, and therefore, after the target group is determined to be a virtual group, it is further determined whether other history groups are located in multiple groups to be merged, so as to determine how to send the session message.
It should be understood that, among the history group members included in at least two groups to be merged, there may be one or a part of history group members located in multiple groups to be merged, so that, in a case where the target group is a virtual group, if the session message sent by the part of history group members is sent to all groups to be merged including the part of history group members, the target group receives the same session message forwarded by multiple groups to be merged, and the session message is repeated. Therefore, for such a situation, the terminal should set a corresponding to-be-merged group for the history group members existing in multiple to-be-merged groups in the part of history group members, so that the session message sent by the history group members is sent to the only one corresponding to-be-merged group, and then the to-be-merged group is forwarded to the target group, thereby avoiding the occurrence of the situation that the target group receives the same session message. For the history group members only existing in one group to be merged, the group to be merged including the history group members is the group to be merged corresponding to the history group members.
In an embodiment, a target group history member included in history group members is taken as an example below to describe how to set a corresponding belonging group to be merged for history group members existing in a plurality of groups to be merged at the same time. The target history group member is any one of history group members, and a first group to be merged including the target history group member and a second group to be merged including the target history group member exist in the at least two groups to be merged, specifically: acquiring a first group permission of a target history group member in a first group to be merged and a second group permission of the target history group member in a second group to be merged; acquiring first creation time of the first group to be merged and second creation time of the second group to be merged; and determining the group to be merged for the target history group member according to the first group authority, the second group authority, the first creation time and the second creation time.
In a specific implementation, the determining a group to be merged for the target historical group member according to the first group permission, the second group permission, and the first creation time and the second creation time includes: if the first group authority is larger than the second group authority, setting the first group to be merged as the group to be merged corresponding to the target history group member; similarly, if the second group authority is greater than the first group authority, the second group to be merged is set as the group to be merged corresponding to the target historical group member; if the first group permission and the second group permission are the same, the first creation time and the second creation time are compared. If the first creation time is less than the second creation time, the second group to be merged can be set as the group to be merged corresponding to the target historical group member; if the second creation time is longer than the first creation time, the first group to be merged may be set as the group to be merged corresponding to the target history group member.
In other embodiments, the corresponding affiliated group to be merged may also be set for the target history group member according to the activity degree of the target history group member in the first group to be merged and the second group to be merged. The activity level may refer to a situation that a target history group member sends a session message in a session group, and if the frequency of sending the session message by the target history group member is higher, the activity level is higher. In specific implementation, the group to be merged with the higher activity degree is determined as the group to be merged corresponding to the target history group member.
In one embodiment, if a virtual group mark exists in a target group, aiming at any one group to be merged in at least two groups to be merged in order to avoid that part of target group members cannot take the rest electronic resources in an electronic resource package due to the particularity of the virtual group, when a history conversation message viewing window of the any one group to be merged is displayed, if the history conversation message comprises an electronic resource package message, the electronic resource package message is set not to be taken; and if the electronic resource packet message contains the residual electronic resources, returning the residual electronic resources to the historical group member of the electronic resource packet.
In other embodiments, when the target group is a virtual group, the embodiment of sending the session message in the target group by the merging initiator may further include: sending a third session message sending request to a server according to a session message sending operation input by a merging initiator in a user interface of a target group, wherein the third session message sending request comprises a session message to be sent and an identifier of the target group, the third session message sending request is used for indicating the server to determine that the target group is a virtual group according to the identifier of the target group, and sending the session message to be sent to each group to be merged of at least two groups to be merged and to a user interface of the target group corresponding to a newly-added group member included in the target group member, and each group to be merged forwards the session message to be sent to a user interface of the target group corresponding to a history group member included in the corresponding target group member, so that the session message to be sent is displayed in the user interface of the target group after being subjected to deduplication processing by the terminal corresponding to each history group member.
It should be understood that the merging initiator sends a session message to be sent in the target group, and the receivers of the session message to be sent include the merging initiator itself and other target group members in the target group except the merging initiator itself. For the new group members in other target group members, the new group members are only located in the target group, so that the server directly displays the session message to be sent in the user interface of the target group corresponding to the new group members in case that the receiver is the new group member. And for any history group member except the newly added group member, the conversation message to be sent displayed in the user interface of the target group corresponding to the receiver is sent to the user interface of the target group by the group to be merged including the receiver. If the receiver is located in two or more groups to be merged at the same time, two or more pieces of session messages to be sent with the same content may be displayed at the same time in the user interface of the target group corresponding to the receiver. For example, a target group obtained by combining a group a and a group B to be combined is a group C, the group C is a virtual group, an operation of sending a session message to be sent is input in the group C by a combination initiator, the server sends the session message to be sent to the group a and the group B, and if a member of a history group is in the group a and the group B, the session message to be sent is forwarded to a user interface of the group C to be displayed by a corresponding terminal of the member of the history group after detecting that the group a receives the session message to be sent; after detecting that the group B receives the session message to be sent, a terminal corresponding to a history group member also forwards the session message to be sent to a user interface of the target group C for display, so that the user interface corresponding to the history group member C comprises two same session messages to be sent.
In order to avoid the above situation, when receiving a session message to be sent by a server, a plurality of groups to be merged including each history group member do not directly forward the session message to be sent to a user interface of a target group corresponding to the history group member for display, but forward the session message to be sent after performing deduplication processing among the plurality of groups to be merged, so as to ensure that only one session message to be sent is displayed in the user interface of the target group corresponding to each history group member. In an embodiment, how to perform the process of removing duplicate of the session message to be sent is described below by taking the first historical group member of the plurality of historical group members as an example. Specifically, the method comprises the following steps: assuming that a group to be merged including a first history group member is a first group to be merged, after detecting that the first group to be merged receives a session message to be sent, a terminal corresponding to the first history group member determines whether other groups including the first history group member exist in the terminal of the first history group member except the first group to be merged; if yes, further judging whether a partner group which is combined with the first group to be combined to form a virtual group exists in other groups; if the conversation messages to be sent exist, when the partner group receives the conversation messages to be sent, the conversation messages to be sent received by the partner group and the first group to be combined are selected to be sent to a user interface of a target group corresponding to the first history group member to be displayed.
In other implementations, the implementation of performing deduplication processing on a message to be sent may further include: when detecting that a first group to be merged receives a session message to be sent, a terminal corresponding to a first history group member detects whether other groups of the terminal also receive the session message to be sent; if detecting that some other group receives the session message to be sent, further detecting whether the some other group is a partner group of the first group to be merged; if yes, the session message to be sent in some other group or the first group to be merged is selected to be forwarded to the user interface of the target group corresponding to the first history group member for display.
The above session message sending process can be as shown in fig. 8C, it is assumed in fig. 8C that two groups to be merged, group a and group B, are merged into a virtual group C, and after group a and group B are merged into a virtual group C, the user interface of group a and the user interface of group B are hidden, in other words, group a and group B are no longer displayed on any interface; supposing that a target group member in the group C is a certain member, sending a session message to be sent in the group C, and generating a third session message sending request by the terminal, wherein the third session message sending request comprises the session message to be sent and the identifier of the target group; and after receiving the third session message sending request, the server detects that the third session message sending request is from the virtual group, sends the session message to be sent to the group A and the group B, and controls the session message to be sent not to be displayed in the group A and the group B. Further, for a newly added group member in the target group members, the server sends the session message to be sent to a user interface of the target group corresponding to the newly added group member for display; for historical group members in the target group members, the group A and the group B forward the session message to be sent to the user interface of the target group C corresponding to each historical group member, the terminal corresponding to each historical group member performs the deduplication processing on the session message to be sent, and finally the session message to be sent is displayed in the user interface of the target group corresponding to each historical group member.
In the embodiment of the invention, a merging setting interface is displayed, wherein the merging setting interface comprises a group selection area, a group member setting area and a display data setting area; if the selection operation in the group selection area is detected, acquiring at least two groups to be merged selected by the selection operation; and generating a group merging request according to the historical group members included by the at least two groups to be merged. Further, configuration data set in the display data setting area is obtained, the configuration data is carried in the group merging request and sent to the server, and the server obtains the display data according to the configuration data and the historical session message of each group to be merged. And if the merging success notification returned by the server is received, displaying the user interface of the target group and displaying the display data acquired by the server in the user interface. In the process of merging the groups, the target group members included in the target group are determined according to the historical group members included in each group to be merged, one target group is obtained by merging the groups to be merged, and when the subsequent terminal receives the session message of the target group members, the subsequent terminal does not need to be displayed in the groups to be merged but only needs to be displayed in the target group, so that the information sharing among the groups to be merged is realized, and the efficiency of solving the problems is improved. In addition, when the groups are merged, display data and customized conversation messages can be set for the target group, and the historical conversation messages can be displayed to the members of the target group in a targeted mode.
Based on the foregoing embodiments, the following describes a specific process and steps for merging at least two QQ groups into one target group by taking the instant application as the QQ application as an example. Referring to fig. 9, a flowchart for merging at least two groups to be merged to obtain a target group according to an embodiment of the present invention is provided, and in a specific implementation:
and step S91, logging in the QQ application by the merging initiator through the pre-registered login account and the login password, assuming that the merging initiator has the right to merge the session group, and opening the group of the merging session group. The merging initiator may input the merging operation of the session group through the corresponding terminal, and after receiving the merging operation, the terminal may pop up a selector (corresponding to the merging setting interface, a schematic diagram of the merging setting interface may be shown in fig. 6), and obtain at least two groups to be merged selected by the merging initiator in the selector, and perform processing such as deduplication, deletion, group member addition and the like on the history group members included in the at least two groups to be merged, to obtain a target group member;
step S92: the merging initiator can select some important historical conversation messages as the group announcement messages in the selector so as to display the important historical conversation messages at the group announcement positions of the target groups after the target groups are created;
step S93: initiating a group merging request to a server according to the target group members and the set group announcement message, establishing a target group by the server according to the group merging request, setting a merging initiator as a group owner of the target group, and setting the group owner of each group to be merged as an administrator of the target group before;
step S94: after the server successfully creates the target group, the server sends a merging success notification to the terminal, and after the terminal receives the merging success notification, the terminal may display a session interface of the target group (as shown in fig. 7 a). The target group members can be displayed in the session interface, and the group announcement message set in the step S92 is displayed in the group announcement position of the session interface;
step S95: client track windows (namely the viewing windows for viewing the historical conversation messages of each group to be merged) can be created, one track in the client track windows corresponds to the historical conversation messages of one group to be merged, different foldable hierarchies are displayed in one track according to dates, and the messages in the latest specified time period are opened by default) and the latest historical conversation messages, and the historical conversation messages of other time nodes are placed in the tracks and are manually opened by a merging initiator or other target group members for viewing.
Through the completion of group merging in steps S90-S95, the target group members of any one target group can input session messages in the session interface of the target group for communication and discussion with other target group members.
In the group merging process described in fig. 9, the target group members included in the target group are determined according to the history group members included in each group to be merged, and one target group is obtained by merging a plurality of groups to be merged, so that information sharing among the plurality of groups to be merged can be realized, that is, the group members of the target group can view the history session message of any one group to be merged, which is helpful to improve the efficiency of solving the problem. In addition, the client track windows of a plurality of groups to be merged before merging can be displayed in the user interface of the target group obtained by merging, so that members of the target group can browse the discussion records before each group to be merged, the members can conveniently and quickly enter the discussion state, and the user experience is improved.
In some special cases, such as QQ application, where there are hundreds of people, thousands of people, 2 thousands of people, and 5000 of people, when the group to be merged selected by the merging initiator is an extreme case such as a thousand of people, a schematic diagram of sending a session message by any one target group member may be shown in fig. 10, where fig. 10 is another schematic diagram of merging at least two groups to be merged to obtain a target group according to an embodiment of the present invention, which may specifically include the following steps:
s11: the target group members are transmitted in the form of files, similar to the updating of a large capacity organization architecture, and the target group is created based on the target group members. Specifically, the terminal sends a group merging request carrying the target group members to the server, and the server creates the target group according to the target group members. A terminal or a server adds a virtual group mark to a target group;
step S12: the terminal displays a conversation interface of the target group, and displays members of the target group in a page turning mode in the conversation interface;
step S13: creating a client track window, displaying historical conversation messages of a group to be merged in the client track window, displaying the historical conversation messages of a recent period of time by default, putting other conversation messages in a track, and manually clicking and checking by a user;
step S14: when receiving the session message of the target group member (at this time, the target group member refers specifically to the history group member included in the group to be merged), the server not only needs to send the session message to the group to be merged corresponding to the target group member, but also forwards the session message to the target group and other groups to be merged, taking the group to be merged corresponding to the target group member as the main, and the session message sent by the target group member in the target group. And controlling the group to be merged and other groups to be merged corresponding to the target group members not to display the session messages, and only displaying the session messages in the target group.
Based on the embodiment of the merging method of the session group, the embodiment of the invention also provides a merging device of the session group. Referring to fig. 11, in order to provide a structure of a merging device of a session group according to an embodiment of the present invention, the merging device of the session group shown in fig. 11 may operate as follows:
a display unit 1101 configured to display a merge setting interface, where the merge setting interface includes a group selection area;
an obtaining unit 1102, configured to, if a selection operation in the group selection area is detected, obtain at least two groups to be merged, which are determined by the selection operation in the group selection area;
a processing unit 1103, configured to generate a group merging request according to group members in the at least two groups to be merged, where the group merging request is used to request generation of a target group, and a target member in the target group is determined according to the group members in the at least two groups to be merged; (ii) a
A sending unit 1104, configured to send the merged application to a server;
the display unit 1101 is further configured to display a user group interface of the target group if a merging success notification returned by the server is received.
In an embodiment, the processing unit 1103 is further configured to traverse history group members included in each group to be merged, and perform deduplication processing on the history group members obtained through traversal; and determining the target group members included in the target group according to the history group members subjected to the deduplication processing.
In an embodiment, the merge setting interface further includes a group member setting area, where the group member setting area includes a first area for displaying the history group members and a second area for adding the group members, and the processing unit 1103 performs the following operations when determining the target group members included in the target group according to the history group members after the deduplication processing: displaying the history group members subjected to the duplicate removal processing in the first area; if a deletion operation instruction is received in the first area, deleting the historical group member corresponding to the deletion operation instruction from the historical group members subjected to the deduplication processing; if an adding operation instruction of adding group members is received in the second area, acquiring newly added group members corresponding to the adding operation instruction; and adding the newly added group members and the deleted history group members to the target group members.
In one embodiment, the user interface of the target group includes a session interface of the target group, the merge setting interface further includes a display data setting area, and the obtaining unit 1102 is further configured to obtain configuration data set in the display data setting area; the sending unit 1104 is further configured to carry the configuration data in the group merging request and send the group merging request to the server, where the server obtains display data according to the configuration data and the historical session message of each group to be merged and carries the display data in a merging success notification; the display unit 1101 is further configured to display the display data in the user interface of the target group if a merging success notification sent by the server is received.
In one embodiment, the display data includes a group advertisement message, the display data setting area includes a group advertisement message setting area, and the acquiring unit 1102 performs the following operations when acquiring the configuration data set in the display data setting area: if the screening operation is detected in the group notice message setting area, obtaining screening keywords set in the group notice message setting area; and adding the screening keywords to the configuration data set in the display data setting area.
In one embodiment, the display data setting area includes a history session message display area, and the display unit 1101 is further configured to display the history session message of the target group to be merged in the history session message display area if a history session message setting operation on the target group to be merged is detected in the group selection area; the obtaining unit 1102 is further configured to obtain a target historical conversation message selected in the historical conversation message display area, where the target group to be merged is any one of at least two groups to be merged, and the target historical conversation message is any one of the historical conversation messages included in the target group to be merged; the obtaining unit 1102 is further configured to obtain a designated group member selected in the group member setting area; the processing unit 1103 is further configured to set the designated group member and the target historical conversation message as an association relationship, and add the association relationship to the configuration data, so that the server displays the target historical conversation message in a preset form in a user interface of a target group corresponding to the designated group member according to the association relationship.
In one embodiment, the obtaining unit 1102 is further configured to obtain the number of history group members included in each group to be merged, which is determined by selection; the processing unit 1103 is further configured to add a virtual group flag to the target group and associate each group to be merged with the target group if the number of history group members included in each group to be merged is greater than a number threshold.
In one embodiment, the merging device of the session group further includes a receiving unit 1105, where the receiving unit 1105 is configured to receive a session message sending operation input by a merging initiator on a user interface of the target group; the sending unit 1101 is further configured to send, if the target group does not have a virtual group tag, a first session message sending request to the server according to the session message sending operation, where the first session message sending request includes a session message to be sent and an identifier of the target group, and the first session message sending request is used to instruct the server to send the session message to be sent to the target group according to the identifier of the target group, and to control to display the session message to be sent in a user interface of the target group.
In one embodiment, the history group members include a target history group member, the target history group member is any one of the history group members, a first group to be merged including the target history group member and a second group to be merged including the target history group member exist in the at least two groups to be merged, and the obtaining unit 1102 is further configured to obtain a first group permission of the target history group member in the first group to be merged and a second group permission of the target history group member in the second group to be merged; the obtaining unit 1102 is further configured to obtain a first creation time of the first group to be merged and a second creation time of the second group to be merged; the processing unit 1103 is further configured to determine, for the target history group member, a group to be merged according to the first group permission, the second group permission, and the first creation time and the second creation time.
In an embodiment, the sending unit 1104 is further configured to send, if the target group has a virtual group identifier, a second session message sending request to the server according to the session message sending operation, where the second session message sending request includes a to-be-sent session message and an identifier of a to-be-merged group to which the merging initiator belongs; the second session message sending request is used for indicating the server to determine that the target group is a virtual group according to the identification of the group to be merged corresponding to the merging initiator and the correlation between each group to be merged and the target group, sending the session message to be sent to each group to be merged, forwarding the session message to be sent to the target group by the group to be merged, controlling each group to be merged not to display the session message to be sent, and displaying the session message to be sent in the user interface by the target group.
In one embodiment, the user interface of the target group comprises a session interface of the target group, the user interface of the target group comprises an entry mark entering a history session message viewing window of each group to be merged, and when the entry mark is triggered, the history session message viewing window of the corresponding group to be merged is displayed.
In one embodiment, the target group has a virtual group tag, and the processing unit 1103 is further configured to: aiming at any one group to be merged in at least two groups to be merged, when a historical conversation message viewing window of the any one group to be merged is displayed, if the historical conversation message of the any one group to be merged comprises an electronic resource package message, the electronic resource package message is set not to be available; the processing unit 1103 is further configured to, if there are remaining electronic resources in the electronic resource package message, return the remaining electronic resources to the target group member that sent the electronic resource package.
According to an embodiment of the present invention, the steps involved in the merging method of the session groups shown in fig. 2 and 5 may be performed by units in the merging device of the session group shown in fig. 11. For example, step S201 shown in fig. 2 may be performed by the display unit 1101 in the merging apparatus of the conversation group shown in fig. 11, step S202 may be performed by the obtaining unit 1102 in the merging apparatus of the conversation group shown in fig. 11, step S203 may be performed by the processing unit 1103 in the merging apparatus of the conversation group shown in fig. 11, and step S204 may be performed by the sending unit 1104 and the display unit 1101 in the merging apparatus of the conversation group shown in fig. 11. As another example, step 501 and step S506 shown in fig. 5 may be performed by the display unit 1101 in the merging apparatus of the session group shown in fig. 11, step S502 may be performed by the obtaining unit 1102 in the merging apparatus of the session group shown in fig. 11, step S503 and step S507 may be performed by the processing unit 1103 in the merging apparatus of the session group shown in fig. 11, step S504 may be performed by the obtaining unit 1102 and the sending unit 1104 in the merging apparatus of the session group shown in fig. 11, and step S505 may be performed by the display unit 1101 in the merging apparatus of the session group shown in fig. 11.
According to another embodiment of the present invention, the units in the combining apparatus of the session group shown in fig. 11 may be respectively or entirely combined into one or several other units to form the unit, or some unit(s) thereof may be further split into multiple units with smaller functions to form the unit(s), which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the merging device based on the session group may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present invention, the merging apparatus of the session group as shown in fig. 11 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 2 or fig. 6 on a general-purpose computing device, such as a computer, including a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like, as well as a storage element, and the merging method of the session group according to an embodiment of the present invention may be implemented. The computer program may be embodied on a computer-readable storage medium, for example, and loaded into and executed by the above-described computing apparatus via the computer-readable storage medium.
In the embodiment of the present invention, if a selection operation on a group selection area is detected on a merge setting interface, at least two groups to be merged corresponding to the selection operation are obtained, a group merge request is generated according to group members included in the at least two groups to be merged, where the group merge request is used to instruct a server to merge the at least two groups to be merged to obtain a target group, and the target group member included in the target group is determined according to a history group member included in each group to be merged.
Based on the above method embodiment and apparatus embodiment, an embodiment of the present invention further provides a terminal, referring to fig. 12, which is a schematic structural diagram of a terminal provided in an embodiment of the present invention, and the terminal shown in fig. 12 may at least include a processor 1201, an input interface 1202, an output interface 1203, and a computer storage medium 1204. The processor 1201, the input interface 1202, the output interface 1203, and the computer storage medium 1204 may be connected by a bus or other means.
A computer storage medium 1204 may be stored in the memory of the node device, the computer storage medium 1204 being for storing a computer program comprising program instructions, the processor 1201 being for executing the program instructions stored by the computer storage medium 1204. The processor 1201 (or CPU) is a computing core and a control core of the terminal, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function; in an embodiment, the processor 1201 according to an embodiment of the present invention may be configured to perform: displaying a merging setting interface, wherein the merging setting interface comprises a group selection area; if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area; generating a group merging request according to historical group members included in the at least two groups to be merged, wherein the group merging request is used for requesting generation of a target group, and the target group members included in the target group are determined according to the historical group members included in each group to be merged; and sending the group merging request to a server, and displaying the user interface of the target group if a merging success notification returned by the server is received.
An embodiment of the present invention further provides a computer storage medium (Memory), which is a Memory device in the node device and is used to store programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 1201. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by the processor 1201 to implement the corresponding steps of the method in the above-described embodiments related to the image processing method, and in particular, the one or more instructions stored in the computer storage medium may be loaded and executed by the processor 1201 to implement the steps of: displaying a merging setting interface, wherein the merging setting interface comprises a group selection area; if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area; generating a group merging request according to historical group members included in the at least two groups to be merged, wherein the group merging request is used for requesting generation of a target group, and the target group members included in the target group are determined according to the historical group members included in each group to be merged; and sending the group merging request to a server, and displaying the user interface of the target group if a merging success notification returned by the server is received.
In one embodiment, the processor 1201 is further configured to perform: traversing the historical group members included in each group to be merged, and performing duplicate removal processing on the historical group members obtained through traversal; and determining the target group members included in the target group according to the history group members subjected to the deduplication processing.
In one embodiment, the merge setting interface further includes a group member setting area, the group member setting area includes a first area for displaying the history group members and a second area for adding the group members, and the processor 1201 performs the following operations when determining the target group members included in the target group according to the history group members after the deduplication processing: displaying the history group members subjected to the duplicate removal processing in the first area; if a deletion operation instruction is received in the first area, deleting the historical group member corresponding to the deletion operation instruction from the historical group members subjected to the deduplication processing; if an adding operation instruction of adding group members is received in the second area, acquiring newly added group members corresponding to the adding operation instruction; and adding the newly added group members and the deleted history group members to the target group members.
In one embodiment, the user interface of the target group includes a session interface of the target group, the merge setting interface further includes a display data setting area, and the processor 1201 is further configured to: acquiring configuration data set in the display data setting area; carrying the configuration data in the group merging request and sending the group merging request to the server, and obtaining display data by the server according to the configuration data and the historical session message of each group to be merged and carrying the display data in a merging success notification; and if a merging success notification sent by the server is received, displaying the display data in a user interface of the target group.
In one embodiment, the display data includes a group advertisement message, the display data setting area includes a group advertisement message setting area, and the processor 1201 performs the following operations when acquiring the configuration data set in the display data setting area: if the screening operation is detected in the group notice message setting area, obtaining screening keywords set in the group notice message setting area; and adding the screening keywords to the configuration data set in the display data setting area.
In one embodiment, the display data setting area includes a history conversation message display area, and the processor 1201 is further configured to perform: if the group selection area detects that the historical conversation message of the target group to be merged is set, displaying the historical conversation message of the target group to be merged in the historical conversation message display area, and acquiring the target historical conversation message selected in the historical conversation message display area, wherein the target group to be merged is any one of at least two groups to be merged, and the target historical conversation message is any one of the historical conversation messages included in the target group to be merged; acquiring an appointed group member selected in the group member setting area; setting the appointed group member and the target historical conversation message as an association relationship, and adding the association relationship to the configuration data, so that the server displays the target historical conversation message in a preset form in a user interface of a target group corresponding to the appointed group member according to the association relationship.
In one embodiment, the processor 1201 is further configured to perform: acquiring the number of history group members included in each group to be merged; and if the number of the history group members included in each group to be merged is larger than the number threshold, adding a virtual group mark to the target group, and associating each group to be merged with the target group.
In one embodiment, the processor 1201 is further configured to perform: receiving a session message sending operation input by a merging initiator on a user interface of the target group; and if the target group does not have the virtual group mark, sending a first session message sending request to the server according to the session message sending operation, wherein the first session message sending request comprises a session message to be sent and an identifier of the target group, and the first session message sending request is used for indicating the server to send the session message to be sent to the target group according to the identifier of the target group and controlling the session message to be sent to be displayed in a user interface of the target group.
In one embodiment, the history group member includes a target history group member, the target history group member is any one of the history group members, there are a first group to be merged including the target history group member and a second group to be merged including the target history group member in the at least two groups to be merged, and the processor 1201 is further configured to perform: acquiring a first group permission of the target history group member in the first group to be merged and a second group permission of the target history group member in the second group to be merged; acquiring first creation time of the first group to be merged and second creation time of the second group to be merged; and determining the group to be merged for the target history group member according to the first group authority, the second group authority, the first creation time and the second creation time.
In one embodiment, the processor 1201 is further configured to perform: if the target group has the virtual group identification, sending a second session message sending request to the server according to the session message sending operation, wherein the second session message sending request comprises a session message to be sent and the identification of the group to be merged corresponding to the merging initiator; the second session message sending request is used for indicating the server to determine that the target group is a virtual group according to the identification of the group to be merged corresponding to the merging initiator and the correlation between each group to be merged and the target group, sending the session message to be sent to each group to be merged, forwarding the session message to be sent to the target group by the group to be merged, controlling each group to be merged not to display the session message to be sent, and displaying the session message to be sent in the user interface by the target group.
In one embodiment, the user interface of the target group comprises a session interface of the target group, the user interface of the target group comprises an entry mark entering a history session message viewing window of each group to be merged, and when the entry mark is triggered, the history session message viewing window of the corresponding group to be merged is displayed.
In one embodiment, the target group has a virtual group tag, and the processor 1201 is further configured to: aiming at any one group to be merged in at least two groups to be merged, when a historical conversation message viewing window of the any one group to be merged is displayed, if the historical conversation message of the any one group to be merged comprises an electronic resource package message, the electronic resource package message is set not to be available; and if the residual electronic resources exist in the electronic resource packet message, returning the residual electronic resources back to the target group members for sending the electronic resource packet.
In the embodiment of the present invention, if a selection operation on a group selection area is detected on a merge setting interface, at least two groups to be merged corresponding to the selection operation are obtained, a group merge request is generated according to group members included in the at least two groups to be merged, where the group merge request is used to instruct a server to merge the at least two groups to be merged to obtain a target group, and the target group member included in the target group is determined according to a history group member included in each group to be merged.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is intended to be illustrative of only some embodiments of the invention, and is not intended to limit the scope of the invention.

Claims (13)

1. A merging method of session groups is characterized by comprising the following steps:
displaying a merging setting interface, wherein the merging setting interface comprises a group selection area;
if the selection operation in the group selection area is detected, acquiring at least two groups to be merged, which are selected and determined by the selection operation in the group selection area;
generating a group merging request according to historical group members included in the at least two groups to be merged, wherein the group merging request is used for requesting generation of a target group, and the target group members included in the target group are determined according to the historical group members included in each group to be merged;
sending the group merging request to a server, and if a merging success notification returned by the server is received, displaying a user interface of the target group;
acquiring the number of history group members included in each group to be merged;
if the number of the history group members included in each group to be merged is larger than the number threshold, adding a virtual group mark for the target group, and associating each group to be merged with the target group;
receiving a session message sending operation input by a merging initiator on a user interface of the target group;
if the target group has the virtual group mark, sending a second session message sending request to the server according to the session message sending operation, wherein the second session message sending request comprises a session message to be sent and an identifier of the group to be merged corresponding to the merging initiator;
the second session message sending request is used for indicating the server to determine that the target group is a virtual group according to the identification of the group to be merged corresponding to the merging initiator and the correlation between each group to be merged and the target group, sending the session message to be sent to each group to be merged, forwarding the session message to be sent to the target group by the group to be merged, controlling each group to be merged not to display the session message to be sent, and displaying the session message to be sent in the user interface by the target group.
2. The method of claim 1, wherein the obtaining the selection operation is subsequent to the selecting the determined at least two groups to be merged by the group selection region, the method further comprising:
traversing the historical group members included in each group to be merged, and performing duplicate removal processing on the historical group members obtained through traversal;
and determining the target group members included in the target group according to the history group members subjected to the deduplication processing.
3. The method of claim 2, wherein the merge setting interface further comprises a group member setting area, the group member setting area comprises a first area for displaying historical group members and a second area for adding group members, and the determining target group members included in the target group according to the historical group members after the deduplication processing comprises:
displaying the history group members subjected to the duplicate removal processing in the first area;
if a deletion operation instruction is received in the first area, deleting the historical group member corresponding to the deletion operation instruction from the historical group members subjected to the deduplication processing;
if an adding operation instruction of adding group members is received in the second area, acquiring newly added group members corresponding to the adding operation instruction;
and adding the newly added group members and the deleted history group members to the target group members.
4. The method of claim 3, wherein the target group user interface comprises a session interface for the target group, the merge settings interface further comprising a display data settings area, the method further comprising:
acquiring configuration data set in the display data setting area;
carrying the configuration data in the group merging request and sending the group merging request to the server, and obtaining display data by the server according to the configuration data and the historical session message of each group to be merged and carrying the display data in a merging success notification;
and if a merging success notification sent by the server is received, displaying the display data in a user interface of the target group.
5. The method of claim 4, wherein the display data includes a group advertisement message, the display data setting area includes a group advertisement message setting area, and the obtaining the configuration data set in the display data setting area includes:
if the screening operation is detected in the group notice message setting area, obtaining screening keywords set in the group notice message setting area;
and adding the screening keywords to the configuration data set in the display data setting area.
6. The method of claim 4, wherein the display data setting area comprises a historical conversation message display area, the method further comprising:
if the group selection area detects that the historical conversation message of the target group to be merged is set, displaying the historical conversation message of the target group to be merged in the historical conversation message display area, and acquiring the target historical conversation message selected in the historical conversation message display area, wherein the target group to be merged is any one of at least two groups to be merged, and the target historical conversation message is any one of the historical conversation messages included in the target group to be merged;
acquiring an appointed group member selected in the group member setting area;
setting the appointed group member and the target historical conversation message as an association relationship, and adding the association relationship to the configuration data, so that the server displays the target historical conversation message in a preset form in a user interface of a target group corresponding to the appointed group member according to the association relationship.
7. The method of claim 1, wherein the method further comprises:
receiving a session message sending operation input by a merging initiator on a user interface of the target group;
and if the target group does not have the virtual group mark, sending a first session message sending request to the server according to the session message sending operation, wherein the first session message sending request comprises a session message to be sent and an identifier of the target group, and the first session message sending request is used for indicating the server to send the session message to be sent to the target group according to the identifier of the target group and controlling the session message to be sent to be displayed in a user interface of the target group.
8. The method of claim 1, wherein the history group member comprises a target history group member, the target history group member being any one of the history group members, there being a first to-be-merged group including the target history group member and a second to-be-merged group including the target history group member in the at least two to-be-merged groups, the method further comprising:
acquiring a first group permission of the target history group member in the first group to be merged and a second group permission of the target history group member in the second group to be merged;
acquiring first creation time of the first group to be merged and second creation time of the second group to be merged;
and determining the group to be merged for the target history group member according to the first group authority, the second group authority, the first creation time and the second creation time.
9. The method of claim 1, wherein the user interface of the target group comprises a session interface of the target group, the user interface of the target group comprises an entry mark of a history session message viewing window entering each group to be merged, and when the entry mark is triggered, the history session message viewing window of the corresponding group to be merged is displayed.
10. The method of claim 9, wherein the target group presents a virtual group signature, the method further comprising:
aiming at any one group to be merged in at least two groups to be merged, when a historical conversation message viewing window of the any one group to be merged is displayed, if the historical conversation message of the any one group to be merged comprises an electronic resource package message, the electronic resource package message is set not to be available;
and if the residual electronic resources exist in the electronic resource packet message, returning the residual electronic resources back to the target group members for sending the electronic resource packet.
11. An apparatus for merging session groups, comprising:
the display unit is used for displaying a merging setting interface, and the merging setting interface comprises a group selection area;
an obtaining unit, configured to, if a selection operation in the group selection area is detected, obtain at least two groups to be merged, which are determined by the selection operation in the group selection area;
a processing unit, configured to generate a group merging request according to group members in the at least two groups to be merged, where the group merging request is used to request generation of a target group, and a target member in the target group is determined according to the group members in the at least two groups to be merged;
a sending unit, configured to send the merge request to a server;
the display unit is further configured to display a user group interface of the target group if a merging success notification returned by the server is received;
the acquiring unit is used for acquiring the number of history group members included in each group to be merged, which is selected and determined;
the processing unit is further configured to add a virtual group tag to the target group and associate each group to be merged with the target group if the number of history group members included in each group to be merged is greater than a number threshold;
a receiving unit, configured to receive a session message sending operation input by a merging initiator on a user interface of the target group;
the sending unit is further configured to send, according to the session message sending operation, a second session message sending request to the server if the target group has a virtual group tag, where the second session message sending request includes a to-be-sent session message and an identifier of a to-be-merged group to which the merging initiator belongs;
the second session message sending request is used for indicating the server to determine that the target group is a virtual group according to the identification of the group to be merged corresponding to the merging initiator and the correlation between each group to be merged and the target group, sending the session message to be sent to each group to be merged, forwarding the session message to be sent to the target group by the group to be merged, controlling each group to be merged not to display the session message to be sent, and displaying the session message to be sent in the user interface by the target group.
12. A terminal, comprising:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the method of merging session groups according to any of claims 1-10.
13. A computer storage medium having stored thereon computer program instructions for executing the method of merging session groups according to any one of claims 1 to 10 when executed by a processor.
CN202010041157.4A 2020-01-14 2020-01-14 Method, device, terminal and storage medium for merging session groups Active CN111277637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010041157.4A CN111277637B (en) 2020-01-14 2020-01-14 Method, device, terminal and storage medium for merging session groups

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010041157.4A CN111277637B (en) 2020-01-14 2020-01-14 Method, device, terminal and storage medium for merging session groups

Publications (2)

Publication Number Publication Date
CN111277637A CN111277637A (en) 2020-06-12
CN111277637B true CN111277637B (en) 2021-08-24

Family

ID=70998953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010041157.4A Active CN111277637B (en) 2020-01-14 2020-01-14 Method, device, terminal and storage medium for merging session groups

Country Status (1)

Country Link
CN (1) CN111277637B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445392B (en) * 2020-10-20 2022-05-13 北京达佳互联信息技术有限公司 Organization authority processing method and device, electronic equipment and storage medium
JP7060666B1 (en) 2020-12-21 2022-04-26 テクマトリックス株式会社 Comment posting system
CN112822430B (en) * 2020-12-29 2022-12-30 上海掌门科技有限公司 Conference group merging method and device
CN114726811B (en) * 2021-01-04 2023-05-23 腾讯科技(深圳)有限公司 Method and device for processing session group in instant messaging application
CN112887803B (en) * 2021-01-28 2023-03-24 天津中新智冠信息技术有限公司 Session processing method, device, storage medium and electronic equipment
CN114827060B (en) * 2021-01-29 2024-01-30 北京字跳网络技术有限公司 Interaction method and device and electronic equipment
CN113992614A (en) * 2021-10-26 2022-01-28 广州博冠信息科技有限公司 Session group processing method and device, computer storage medium and electronic equipment
CN114064173A (en) * 2021-11-09 2022-02-18 广州博冠信息科技有限公司 Method, device, medium and equipment for creating instant session page

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549988A (en) * 2015-09-18 2017-03-29 腾讯科技(深圳)有限公司 Add group method, apparatus and system
CN110113249A (en) * 2019-04-19 2019-08-09 北京达佳互联信息技术有限公司 Merging method, device, electronic equipment and the storage medium of instant communication information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100411461C (en) * 2006-07-20 2008-08-13 华为技术有限公司 PoC group session realizing method and apparatus
CN102905228A (en) * 2011-07-29 2013-01-30 中兴通讯股份有限公司 Service group establishment methods and devices
US9232065B1 (en) * 2012-10-17 2016-01-05 Google Inc. Group pseudo-profiles for online sessions
CN103281237B (en) * 2013-06-14 2017-12-19 小米科技有限责任公司 A kind of group's treating method and apparatus
CN110233742B (en) * 2018-03-06 2022-04-01 阿里巴巴集团控股有限公司 Group establishing method, system, terminal and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549988A (en) * 2015-09-18 2017-03-29 腾讯科技(深圳)有限公司 Add group method, apparatus and system
CN110113249A (en) * 2019-04-19 2019-08-09 北京达佳互联信息技术有限公司 Merging method, device, electronic equipment and the storage medium of instant communication information

Also Published As

Publication number Publication date
CN111277637A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN111277637B (en) Method, device, terminal and storage medium for merging session groups
US9436728B1 (en) Methods and systems for developing an instant messaging network
US9230257B2 (en) Systems and methods for customer relationship management
KR101322821B1 (en) System and method for keyword searching in messenger and computer readable medium processing the method
US11829586B2 (en) System and method for reacting to messages
US10817840B2 (en) Use of a virtual persona emulating activities of a person in a social network
US8059797B2 (en) Method and system for establishing a new account for a user with an online service
WO2017084290A1 (en) Public account two-dimensional code generation method and server, and public account following method, server and terminal
US20210044650A1 (en) Method and a device for sharing a hosted application
US10037316B2 (en) Selective capture of incoming email messages for diagnostic analysis
CN110198219B (en) Group display method and device
CN111314201B (en) Application data processing method, system and related equipment
US20080134085A1 (en) Bi-Directional Widget for Recording User Feedback
US20160330151A1 (en) Method and system for managing an informational site using a social networking application
CN111740850A (en) Group chat creating method and device, electronic equipment and readable storage medium
US11822785B2 (en) Managing application focus transitions
CN115525834A (en) Method for screening and displaying messages, computer device and recording medium
US20230006949A1 (en) Information processing apparatus, information processing system, and information processing method
JP2020057143A (en) Data processing apparatus
CN116781763A (en) Information processing method and related product
CN110166505B (en) Session record storage method, device, equipment and storage medium
CN116155845A (en) Group message processing method, group message processing device, storage medium and computer program product
WO2020012659A1 (en) Management program, management method, and management device
CN116069423A (en) Interface display method and device for multiple organizations
CN114417049A (en) Song management method, device, equipment, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40023744

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant