Nothing Special   »   [go: up one dir, main page]

CN106453066B - Group session processing method, terminal, server and system - Google Patents

Group session processing method, terminal, server and system Download PDF

Info

Publication number
CN106453066B
CN106453066B CN201611127513.4A CN201611127513A CN106453066B CN 106453066 B CN106453066 B CN 106453066B CN 201611127513 A CN201611127513 A CN 201611127513A CN 106453066 B CN106453066 B CN 106453066B
Authority
CN
China
Prior art keywords
group
target group
message
session
source
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
CN201611127513.4A
Other languages
Chinese (zh)
Other versions
CN106453066A (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 CN201611127513.4A priority Critical patent/CN106453066B/en
Publication of CN106453066A publication Critical patent/CN106453066A/en
Priority to PCT/CN2017/115077 priority patent/WO2018103709A1/en
Application granted granted Critical
Publication of CN106453066B publication Critical patent/CN106453066B/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a group session processing method, a terminal, a server and a system; the method comprises the following steps: determining a target group in a group sharing mode and a source group needing to share information to the target group; acquiring a message stream issued by the member user of the source group in the source group session; sending a message stream to the member users of the source group, wherein the sent message stream is a message stream issued in the source group session by other member users in the source group, and sending the message stream issued in the source group session to the member users of the target group; acquiring a message flow issued by member users of the target group in a target group session; and sending a message flow to the member users of the target group, wherein the sent message flow is the message flow issued by other member users in the target group session. By implementing the invention, the message sharing among the groups can be realized, and the efficiency of instant messaging is improved.

Description

Group session processing method, terminal, server and system
Technical Field
The present invention relates to communications technologies, and in particular, to a group session processing method, a terminal, a server, and a system.
Background
With the development of the internet, especially the mobile internet, Instant Messaging (IM) technology has been widely used for various Instant Messaging clients such as WeChat and QQ due to the deep integration of the IM technology and the social interaction with the internet.
The current instant messaging supports the establishment of a conversation of a group comprising a plurality of member users, and messages issued by any member user in the conversation in the group can be pushed to other member users of the group, so that the plurality of member users can discuss the same affair or the same topic conveniently, and the communication efficiency is improved.
In practical application, a large number of groups exist, and different groups have a demand for sharing messages, and related technologies provide a group merging mode to realize message sharing among original different groups, which causes a problem of interference after the groups are merged.
In particular, in practical applications, members of different groups have inevitable differences in attributes and security requirements, and often have topic agreement (closeness) in some cases, so that there is a need to temporarily share messages, for example, when a specific event is discussed in a specific period. Although the scheme of simply merging groups provided by the related art can implement message sharing, in most cases, because the topics of the original group before group merging are often inconsistent, the topics discussed by the group before merging are inevitably different from other groups before merging, and interference is often caused to other groups before merging.
In summary, no effective solution exists in the related art for avoiding interference between different groups and improving the efficiency of instant messaging while sharing messages among the groups of instant messaging.
Disclosure of Invention
The embodiment of the invention provides a group session processing method, a terminal, a server and a system, which can realize message sharing among groups and improve the efficiency of instant messaging.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a group session processing method, including:
determining a target group in a group sharing mode and a source group needing to share information to the target group;
acquiring a message stream issued by the member user of the source group in the source group session;
sending a message stream to the member users of the source group, wherein the sent message stream is a message stream issued in the source group session by other member users in the source group, and sending the message stream issued in the source group session to the member users of the target group;
acquiring a message flow issued by member users of the target group in a target group session;
and sending a message flow to the member users of the target group, wherein the sent message flow is the message flow issued by other member users in the target group session.
In a second aspect, an embodiment of the present invention provides a group session processing method, including:
submitting a target group in a group sharing mode and a source group needing to share information with the target group to a server;
acquiring a message stream issued in a source group session sent by the server and acquiring a message stream issued in a target group session sent by the server;
updating an original session window of the target group into a sharing session window corresponding to the target group and the source group;
and loading the message stream published in the source group session and the message stream published in the target group session in the sharing session window.
In a third aspect, an embodiment of the present invention provides a group session processing method, including:
the method comprises the steps that a server obtains a target group in a sharing mode submitted by member users of the group and a source group needing to share information with the target group;
the server acquires the message flow issued by the member users of the source group in the source group session and acquires the message flow issued by the member users of the target group in the target group session;
the server sends message streams to the member users of the source group, wherein the sent message streams are the message streams issued by other member users in the source group session and the message streams issued in the source group session to the member users of the target group;
the member user side terminal of the target group updates an original conversation window of the target group to a sharing conversation window corresponding to the target group and the source group, and loads the message stream issued in the source group conversation and the message stream issued in the target group conversation in the sharing conversation window;
and the server sends a message stream to the member users of the target group, wherein the sent message stream is the message stream issued by other member users in the target group session.
In a fourth aspect, an embodiment of the present invention provides a server, including:
the device comprises a determining unit, a sending unit and a receiving unit, wherein the determining unit is used for determining a target group in a group sharing mode and a source group needing to share information to the target group;
the acquisition unit is used for acquiring the message stream issued by the member users of the source group in the source group session; acquiring a message flow issued by member users of the target group in a target group session;
the sharing unit is used for sending the message stream issued in the source group session by other member users in the source group to the member users of the source group and sending the message stream issued in the source group session to the member users of the target group;
the sharing unit is further configured to send, to the member user of the target group, a message stream issued by other member users in the target group session.
In a fifth aspect, an embodiment of the present invention provides a terminal, including:
the system comprises a submitting unit, a receiving unit and a processing unit, wherein the submitting unit is used for submitting a target group in a group sharing mode and a source group needing to share information with the target group to a server;
an obtaining unit, configured to obtain a message stream issued in a source group session sent by the server, and obtain a message stream issued in a target group session sent by the server;
a window unit, configured to update an original session window of the target group to a shared session window corresponding to the target group and the source group;
and the loading unit is used for loading the message stream issued in the source group session and loading the message stream issued in the target group session in the sharing session window.
In a sixth aspect, an embodiment of the present invention provides a group session processing system, including:
the server is used for acquiring a target group in a sharing mode submitted by member users of the group and a source group needing to share messages with the target group;
the server is further configured to acquire a message stream issued by the member user of the source group in the source group session, and acquire a message stream issued by the member user of the target group in the target group session;
the server is further configured to send a message stream to the member users of the source group, where the sent message stream is a message stream issued in the source group session by other member users in the source group, and send the message stream issued in the source group session to the member users of the target group;
the terminal is used for updating an original conversation window of the target group to a sharing conversation window corresponding to the target group and the source group on a member user side of the target group, loading a message stream issued in the source group conversation in the sharing conversation window and loading the message stream issued in the target group conversation;
the server is further configured to send a message stream to the member users of the target group, where the sent message stream is a message stream issued by other member users in the target group session.
In a seventh aspect, an embodiment of the present invention provides a storage medium, where executable instructions are stored, where the executable instructions are used to execute the group session processing method provided in the embodiment of the present invention.
The embodiment of the invention has the following beneficial effects:
when the messages of the groups need to be shared, a new session window which replaces an original session window (session window of an original session) of the group needing to be shared is established, and the message stream transmitted in the session of the group is loaded in the new session window.
Drawings
Fig. 1 is a schematic diagram of an alternative service logic architecture of a group session processing method according to an embodiment of the present invention;
fig. 2 is an alternative flowchart of a group session processing method according to an embodiment of the present invention;
fig. 3-1 is an alternative flow diagram of group session management provided by an embodiment of the present invention;
fig. 3-2 is an alternative flow diagram of group session management provided by an embodiment of the present invention;
fig. 3-3 is an alternative flow diagram of group session management provided by an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an alternative software and hardware structure of the group session processing apparatus 14 according to the embodiment of the present invention;
fig. 5 is a schematic diagram of an alternative functional structure of the server 50 according to the embodiment of the present invention;
fig. 6 is a schematic diagram of an alternative functional structure of the terminal 60 according to the embodiment of the present invention;
fig. 7 is an alternative structural diagram of a group session processing system according to an embodiment of the present invention;
fig. 8 is an alternative flowchart of a group session processing method according to an embodiment of the present invention;
fig. 9 is an alternative structural diagram of a group session processing system according to an embodiment of the present invention;
fig. 10 is an alternative display diagram of a conversation window of a merged group according to an embodiment of the present invention;
fig. 11 is an alternative display diagram of a conversation window of a merged group according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the examples provided herein are merely illustrative of the present invention and are not intended to limit the present invention. In addition, the following embodiments are provided as partial embodiments for implementing the present invention, not all embodiments for implementing the present invention, and the technical solutions described in the embodiments of the present invention may be implemented in any combination without conflict.
Before further detailed description of the present invention, terms and expressions referred to in the embodiments of the present invention are described, and the terms and expressions referred to in the embodiments of the present invention are applicable to the following explanations.
1) Instant messaging refers to services capable of sending and receiving internet messages and the like instantly, and may integrate a plurality of functions such as text messages, rich media messages, e-mails, blogs, music, television, games, and searches.
2) The group is a set of a plurality of member users performing instant messaging, and group information (such as member users) and additional applications such as a shared space (used for storing files uploaded by the member users) and a discussion community are maintained on a network side server.
For example, a group includes both types of group and discussion group. Generally, the life cycle of the group is not limited unless the administrative users of the group actively dismiss the group, the declaration period of the discussion group has a limitation of liveness, and the server actively dismiss the discussion group when the liveness of the discussion group is not satisfactory (e.g., no member user publishes a message within a predetermined time).
In addition, no additional application, fewer additional applications in the group or additional applications with limited functions in the group are set in the network side server for the discussion group.
Embodiments of the present invention are applicable to both groups and discussion groups, and thus no distinction is made between groups and discussion groups hereinafter.
3) A session, a bearer for two or more users performing instant messaging to send and receive messages during the instant messaging, for example, user 1 and user 2 establish a session through an instant messaging server through respective instant messaging clients, the session may be in a state of being maintained all the time, or may be closed after timeout, and any end of the instant messaging, such as a user side terminal and a network side server, may initiate establishment and revocation of the session.
4) The message stream, a set of messages issued by member users of the group in the group session, is generally formed by arranging according to the order of time of issuance, or may be formed by arranging according to the member users.
5) And the source group shares the group of the message stream issued by the member user in the session to the target group.
6) And the target group is a group which shares the message stream issued in the session of the source group in the session of the target group.
7) The member users, the users included in the group, include administrative users having group administrator privileges and regular users not having administrator privileges.
Aiming at the problems that the related technology can not effectively share messages among groups for realizing instant messaging and can avoid message interference, a group sharing mode aiming at a source group and a target group is provided.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram illustrating an optional service logic architecture of a group session processing method according to an embodiment of the present invention, and referring to fig. 2, fig. 2 is an optional flowchart illustrating a group session processing method according to an embodiment of the present invention, which determines an instant communication scenario of a target group in a group sharing mode and a source group (step 101) that needs to share a message to the target group, by acquiring a message stream issued by a member user of the target group in a target group session (i.e., a session between member users of the target group) (step 102), and acquiring a message stream issued by a member user of the source group in a source group session (i.e., a session between member users of the source group) (step 103), except for executing a service logic in a non-group sharing mode, that a message stream is sent to a member user of the source group, the method comprises the following steps: 1) sending a message stream issued by other member users in the source group session to the member users in the source group (step 104); 2) sending the message flow issued by other member users in the target group session to the member users of the target group (step 105); additional business logic in the group sharing mode is also executed, i.e., a message stream published in the source group session is sent to the member users of the target group (step 106).
It can be seen that the group sharing mode can achieve the effect of sharing the message stream issued in the source group session in the target group only by adding an additional processing logic at the message stream level, and since the additional processing logic can easily achieve coupling and decoupling with the conventional service processing logic of instant messaging at the network side (service logic of the non-group sharing mode), on one hand, the processing logic of the source group session and the target group session in the non-group sharing mode does not need to be changed by coupling, and the message sharing does not need to be achieved by merging groups, thereby achieving the effect of efficiently sharing messages among groups; on the other hand, the group sharing mode can be conveniently quitted through decoupling, the problem of interference caused by continuous sharing of messages among groups is avoided, and the communication efficiency is improved.
Referring to fig. 3-1, fig. 3-1 is an optional flowchart of group session management provided in an embodiment of the present invention, which relates to a target group, a source group, and a network side server, and is suitable for such an instant messaging scenario, where a message stream issued by a member user in the source group in a session of the source group needs to be shared into a session of a member user in the target group, that is, a target group session, so that the member user in the target group views a message in the message stream. The implementation of the instant messaging scenario described above is described with reference to the steps shown in fig. 3-1.
In step 201, a terminal at a user side of a member of a group (a target group and/or a source group) determines a target group in a group sharing mode and a source group that needs to share a message with the target group, and submits a sharing request to a server.
The instant messaging client is used for establishing a group session through a server, the group instant messaging client and the server communicate based on an agreed communication protocol, and the instant messaging client and the terminal running the instant messaging client are not distinguished in the following.
It is to be understood that the number of the source group and the target group may be one or more, and for convenience of description, the following description will be given by taking unidirectional message sharing from the source group to the target group as an example, but the present invention is also applicable to an instant messaging scenario in which bidirectional message sharing is performed between groups.
For example, for group 1 and group 2, group 1 needs to share the message stream issued by the member users of group 1 in the session of group 1 into the session of group 2, so that the member users of group 2 can see the message issued by the member users of group 1; at this time, group 1 is the source group, and group 2 is the target group; meanwhile, the group 2 needs to share the message stream issued by the member user of the group 2 in the group 2 session to the session of the group 1, so that the member user of the group 1 can see the message issued by the member user of the group 2, at this time, the group 2 is a source group, and the group 1 is a target group.
In one embodiment, a member user side terminal of a target group receives a sharing request submitted by a member user of the target group, wherein the sharing request carries an identifier of a source group and an identifier of the target group, which are set by the member user, and the identifier of the source group and the identifier of the target group are carried in the sharing request and submitted to a server.
For example, in order to ensure the security of message sharing, an instant messaging client running in a terminal performs targeted processing on a sharing request according to the authority of a member user submitting the sharing request, and the method includes the following 2 optional modes:
1) sharing request submitted by management user of target group
When the instant communication client detects that the sharing request comes from the management user, the instant communication client directly submits the sharing request to the server because the management user has the highest authority aiming at the target group.
2) Sharing requests submitted by regular users of a target group
When the instant messaging client detects that the sharing request is from a conventional user, the instant messaging client forwards the sharing request to the instant messaging client of the management user, and after the management user confirms, the instant messaging client of the management user initiates the sharing request to the server, or when the instant messaging client of the management user receives the same sharing requests (namely the carried source group identification and target group identification are the same) from a sufficient number (exceeding a threshold) of conventional users, the fact that the common requirement that the source group shares messages to the target group exists in the target group is indicated, the management user does not wait for confirmation, the sharing request is directly submitted to the server, and the intelligent degree of the message sharing mode is improved.
In another embodiment, a member user side terminal of a source group submits a sharing request, which is submitted by a member user of the source group, such as a management user or a regular user, and carries an identifier of the source group and an identifier of a target group in the sharing request to a server.
For example, similar to processing a sharing request from a target group, in order to ensure the security of message sharing, an instant messaging client running in a terminal performs targeted processing on the sharing request according to the permission of a member user submitting the sharing request, specifically:
1) when the instant communication client detects a sharing request submitted by a management user of a source group, the instant communication client directly submits the sharing request to a server because the management user has the highest authority aiming at a target group;
2) when the instant messaging client detects that the sharing request is from a conventional user, the instant messaging client forwards the sharing request to the instant messaging client of the management user, and after the management user confirms, the instant messaging client of the management user initiates the sharing request to the server, or when the instant messaging client of the management user receives the same sharing requests (namely the carried source group identification and target group identification are the same) from a sufficient number (exceeding a threshold) of conventional users, the requirement of sharing the message to the target group generally exists in the group, the management user does not wait for confirmation, the sharing request is directly submitted to the server, and the intelligent degree of the message sharing mode is improved.
In an embodiment, as a more simplified processing manner for a sharing request received by a server, the server may directly respond to the sharing request, that is, respond to each sharing request, establish a group sharing copy between a target group and a source group, and send a message stream issued in a source group session (that is, a message stream issued in the source group session by a member user of the source group) to the target group session according to the group sharing copy. In yet another embodiment, the server ensures the security of the published messages in the group session by performing the optional step 202 described below.
Step 202, the server verifies the sharing request, and establishes a group sharing copy of the target group and the source group after the verification is passed.
In an embodiment, the server determines that the source group can share a message to the target group and establishes a corresponding group sharing copy when detecting that at least one of the following conditions is met based on the identifier of the source group and the identifier of the target group carried by the sharing request, where the identifier of the target group and the identifier of the source group are recorded, and a member user of the target group and a member user of the source group are also recorded.
As the above conditions, the following types of conditions are included:
condition 1) the source group is the same as the administrative user of the target group.
For example, the administrative user may be any member user of the group (source and target groups) that has administrator privileges, including the set-up user of the group (default with administrator privileges), and the user assigned administrator privileges. The message sharing is carried out under the condition that the management users of the source group and the target group are the same, so that the problem of privacy disclosure caused by message sharing among different groups of the management users can be avoided.
Condition 2) topics of the source group and the target group satisfy a similar condition.
The management users of the source group and the target group set the same type when establishing the corresponding group.
For example, the target group and the source group are both infant care discussion groups, or are both subclasses under a predetermined category, for example, the source group is a nail art, the target group is a hand care group, and are both subclasses under a beauty care category. Through condition 2) verification, the sharing request can avoid the problem of message interference caused by inconsistency between a message stream in a source group conversation sent to a target group and a source group topic, and the effect of improving the communication efficiency is realized.
Condition 3) the number of same member users of the source group and the target group exceeds the same member number threshold.
When the number of the same member users of the source group and the target group is larger, the probability of similarity of topics among the groups is larger, and through group sharing, the problem that a large number of users repeatedly receive messages when the management users issue the same messages in the source group and the target group can be solved, resources of a server are saved, and meanwhile interference to the users is reduced.
Condition 4) the same history message was published by the source group and the users of the target group, such as the administrative user or the member users.
When the administrative user is a member user of both the source group and the target group (for example, both administrative users), if the same historical message is published in the source group and the target group, the operation of publishing the same message in the group by the administrative user can be saved through the group sharing mode, and particularly, when the administrative user establishes a plurality of groups, the communication efficiency can be remarkably improved.
It can be understood that the above conditions are used alternatively or in combination according to the actual instant messaging scenario, and in an example combining the conditions 1) and 2), assuming that the user establishes the group 1, the group 2, and the group 3, and the groups are all cosmetics, when the user needs to publish a series of group purchase information of cosmetics in the group 1, and wants the user publishing the groups 2 and 3 to see the group purchase information, the following sharing request is submitted: the source group is group 1 and the target groups are group 2 and group 3.
In step 203, the server obtains the message stream issued by the member users of the source group in the session of the source group.
The message stream issued by the member users of the source group in the source group session includes messages instantly issued by all the member users of the source group, and generally, the message stream is formed by sequencing according to the issuing time of the messages, and of course, sequencing may be performed according to other dimensions such as member users.
In one embodiment, in an instant messaging scenario, a message stream published by a member user of a source group in a session of the source group has a requirement for privacy protection, for example, it is desirable that the published message is not seen by member users outside the source group, so that an effect of flexibly controlling whether the message is allowed to be shared across groups according to the requirement of the user is achieved, and message security is ensured.
The method comprises the steps that a terminal at a member user side of a source group runs an instant messaging client, the member user of the source group is supported to set message attributes of messages of a message stream issued in the source group, whether the message stream is allowed to be shared to a target group is indicated through the message attributes, correspondingly, a server determines the message attributes of the messages issued by the member user of the source group in a session of the source group, determines messages with the message attributes allowed to be shared to the target group and integrates the messages to form the message stream to be sent to the member user of the source group.
For example, message attributes include:
1) and the message visible range is used for indicating users allowed to watch the published message stream in the source group session, and the visible range takes the granularity of member users or the granularity of groups as an example.
For example, a member user of a source group may submit a message setting to the server in the instant messaging client: and correspondingly, the member user has the message attribute of 'visible range-only allowing the group user to view' in the message stream issued in the source group session, and the server determines that the message stream does not support sharing to the target group.
For another example, a member user of a source group may submit a setting such a visibility range to a server in an instant messaging client: and allowing the users outside the group to view, and correspondingly, the member user has a visible range in the message stream published in the source group session, and allowing the users outside the group to view, the server determines that the message stream supports sharing to the target group.
As another example, a member user of a source group may submit a setting such a visibility range to a server in an instant messaging client: and allowing the user 1, the user 2 and the … … user n in the group to watch, and correspondingly, the member user has a message attribute of 'allowing the user 1, the user 2 and the … … user n in the group to watch' in a message stream issued in the source group session, so that the server determines that the message stream does not support sharing to the target group.
As can be seen, when the visible range of the published message stream in the source group session includes the target group, the server determines that the message stream is allowed to be shared with the target group.
2) A message type for indicating from a dimension of the type of message a user allowed to view the published message stream in the source group session.
For example, a member user of a source group may submit a message setting to the server in the instant messaging client: text messaging-user view outside the running group, file sharing messages (including links to the shared space of the source group) -allow only users of the group to view. Then, the member user has a message attribute of "visible range-allowing users outside the group to view" in a message stream published in the source group session, and for a text type message in the message stream, the server determines that the message stream supports sharing to a target group; and for the file sharing message in the message stream, the server determines that the sharing to the target group is not supported.
As can be seen, when the message type of the message stream published in the source group session is the type of the message allowed to be shared to the target group, the server determines that the message stream is allowed to be shared to the target group.
Step 204, the server obtains the message stream issued by the member users of the target group in the target group session.
The message stream issued by the member users of the source group in the target group session includes messages instantly issued by all the member users of the target group, and generally, the message stream is formed by sequencing according to the issuing time of the messages, and of course, the sequencing can be performed according to other dimensions such as the member users.
The following steps 205 and 206 are responses to the step 203, and the step 207 is a response to the step 207, wherein the execution order of the steps 204 and 205 can be arbitrarily exchanged or executed in parallel.
In step 205, the server sends the message stream issued by other member users in the source group session to the member user in the source group.
Because the member users of the source group are in the instant messaging scene, when the server receives the message stream issued by the member users of the source group in the session of the source group, the message stream is sent to other member users in the source group in real time, and the timeliness of the instant messaging is ensured.
In step 206, the terminals of the user sides of other members in the source group receive the message stream, and load the received message stream in the session window of the source group of the instant messaging client operated by the terminal.
For step 205 and step 206, taking the source group including member users 1 to member users 10 as an example, after receiving the messages sent by member users 1 and 2 through the instant messaging client, the server integrates and forms a message stream, and pushes the message stream to the instant messaging clients of other users in the source group, i.e., member users 3 to member users 10.
In addition, the source group member user after the instant communication client sets the message attribute such as the user shielded by the message when issuing the message, correspondingly, the server also determines the user shielded by the message in other users according to the message attribute of each message in the message stream, and sends the message stream to the user not shielded in other member users.
Step 207, the server sends the message stream published in the source group session to the member users of the target group.
In one embodiment, when the server acquires the message stream issued by the member user of the source group in the source group session in step 203, and sends the message stream issued by the other member users in the source group session to the member user of the source group, the message stream (with no order of execution) is also synchronously sent to the other member users of the group of the target group, so that the member users of the target group can also see the message stream of the source group immediately.
In another embodiment, for the message stream published in the source group session, the member users of the target group do not have a real-time viewing requirement, and accordingly, the server sends the collected message stream published in the source group session to the member users of the target group when the sending condition is met by determining whether the obtained message stream meets the sending condition, for example:
1) when the timing of a predetermined period (such as one hour or one day) for acquiring the message flow is reached, the message flow issued in the source group session collected in the predetermined period is sent to the member users of the target group.
2) When the number of the acquired messages (such as 100 messages) in the message stream reaches a preset number, the message stream published in the collected source group session is sent to the member users of the target group.
3) And when the occupied pre-allocated storage space (such as 3 megabytes) occupied in the message stream is acquired, the message stream issued in the collected source group session is sent to the member users of the target group.
And when the preset sending condition is reached, the message flow issued in the source group session acquired in the preset period is sent to the member users of the target group. Therefore, the effect of sharing the message across the groups is achieved, the effect of saving processing resources for the server can be achieved, and meanwhile, the condition that the message flow of the source group is frequently pushed by member users of the target group to cause interference is avoided.
In another embodiment, as shown in step 207, when the server sends the message stream published in the source group session to the member users of the target group, the message stream published in the source group session may be sent to all the member users of the target group, and accordingly, all the member users of the target group receive the message stream.
Alternatively, the server may send the message stream published in the source group session to a part of the member users of the target group according to the identification of the member users in the target group, for example, the part of the member users includes the following cases:
1) part of member users are member users in the target group who have authority to receive the message flow published in the source group session
For example, there is an instant messaging scenario where the administrative user of the target group only wants a portion of the member users to receive the message stream published in the source group session, and the server assigns corresponding rights to the portion of the member users through the instant messaging client.
2) Part of member users are member users in the target group requesting to receive the message flow released in the source group session
For example, there is an instant messaging scenario where the administrative user of the target group only wants a portion of the member users to receive the message stream published in the source group session, and the server assigns corresponding rights to the portion of the member users through the instant messaging client.
The server accurately pushes the message stream to part of member users in the target group according to the actual request (such as whether the member users have the authority of receiving sharing or whether the member users request sharing) of the member users in the target group, so that the cross-group message sharing is realized, meanwhile, the interference to the member users in the target group is avoided, and the communication efficiency is improved.
Step 208, the server sends the message stream issued by other member users in the target group session to the member users in the target group.
For step 208, taking the target group including the member users 1 to 10 as an example, after receiving the messages sent by the member users 1 and 2 through the instant messaging client, the server integrates to form a message stream, and pushes the message stream to the instant messaging clients of the other users in the target group, i.e., the member users 3 to 10.
The following steps 209 and 210 are response processing performed when the member user of the target group acquires the message stream issued by the member user of the source group in the source group session and the message stream issued by the member user of the target group in the target group session, which are sent by the server.
Step 209, the member user side terminal of the target group updates the original session window of the target group to the shared session window of the corresponding target group and the source group in the running instant messaging client.
In one embodiment, the attributes of the original session window of the updated target group are the attributes of the shared session window of the corresponding target group and the source group, and the attributes include at least one of the following: a group name; a group topic; a management user of the group.
In addition, updating the original session window according to whether the same member users (referred to as common member users) exist in the target group and the source group includes the following 2 cases:
case 1) there is no member user in the target group and the source group, and then, for the instant messaging client at the member user side of the target group, the attribute of the target group is updated to the attribute of the sharing window, for example, the names of the source group and the target group are displayed in the title bar of the sharing session window, and the current session window is prompted for message sharing.
Case 2) the target group and the source group have shared member users, and for the instant messaging client at the shared member user side, the original conversation window of the target group and the original conversation window of the source group are displayed, and since the message stream transmitted in the conversation of the source group needs to be shared to the target group, it is not necessary to simultaneously display the conversation windows of 2 groups, and accordingly, the original conversation window of the target group at the shared member user side and the original conversation window of the source group are combined, and the combined conversation window is used as the shared conversation window.
Step 210, the member user side terminal of the target group loads the message stream published in the source group session and loads the message stream published in the target group session in the sharing session window of the running instant messaging client.
And sequencing the message streams issued in the session of the source group and the messages in the message streams issued in the session of the target group according to the issuing sequence, the source user or the source group, and loading the sequenced messages in a sharing session window.
In one embodiment, a scheme for exiting the group sharing mode based on a request of a group management user is provided, and a scheme for exiting the group sharing mode for a regular user according to a request of a regular user of a target group is provided. Referring to fig. 3-2, fig. 3-2 is an optional flowchart illustration of group session management provided in the embodiment of the present invention, and based on fig. 3-1, the method further includes the following steps:
in step 211, the management user side terminal of the source group and/or the target group submits a request for exiting the group sharing mode to the server.
In step 212, the server terminates sending the message stream published in the source group session to the members of the target group (including the administrative user and the regular user) and revokes the group sharing copy.
Step 213, the member user side terminal of the target group exits the group sharing mode in the running instant messaging client, and the sharing session window is restored to the original session window of the target group.
The process of restoring the shared session window to the original session window of the target group according to whether the member user of the target group is a common member user of the target group and the source group includes the following 2 cases:
case 1) when the member user of the target group is a common member user of the target group and the source group, restoring the sharing session window of the corresponding member user side to an original session window of the target group and an original session window of the source group in the instant messaging client of the common member user side;
case 2) when the member user of the target group is not the common member user of the target group and the source group, in the instant messaging client of the common member user side, restoring the sharing session window of the corresponding member user side to be the original session window of the target group.
Thus, when the group sharing mode needs to be exited, the server only needs to terminate the message stream issued in the source group session to the member user of the target group and continue to send the message stream issued in the source group session by other member users in the source group to the member user of the source group, so that the instant messaging client can load the message stream in the original session window of the restored target group; meanwhile, the server also continuously sends the message streams issued by other member users in the target group session to the member users of the target group, so that the instant messaging client can load the message streams in the original session window of the restored target group, and the decoupling of the related service logic of the group sharing mode can be realized.
By multiplexing a part of the architecture of the service logic between the group sharing mode and the non-group sharing mode, the effect of high-efficiency switching between the group sharing mode and the non-group sharing mode can be realized, and compared with the maintenance of independent service logic aiming at the group sharing mode and the non-group sharing mode, the switching efficiency is higher and the server resource is saved.
In one embodiment, a scheme for exiting the group sharing mode based on a request of a regular user of a group is provided, and a scheme for exiting the group sharing mode for the regular user according to a request of a regular user of a target group is provided. Referring to fig. 3-3, fig. 3-3 is an optional flowchart illustration of group session management provided in the embodiment of the present invention, and based on fig. 3-1, the method further includes the following steps:
in step 214, the regular user side terminal of the target group submits a request for exiting the group sharing mode to the server.
In step 215, the server terminates the flow of messages issued in the source group session to regular user members of the target group.
The server stops sending the message flow issued in the source group session to the member users of the target group, and continues sending the message flow issued in the source group session to other member users in the source group to the member users of the source group, so that the instant messaging client can load the message flow in the original session window of the restored target group.
In step 216, the regular user side terminal of the target group exits the group sharing mode in the running instant messaging client, and the sharing session window is restored to the original session window of the target group.
Step 217, the regular user side terminal of the target group continues to load the message stream issued in the target group session in the original session window of the target group in the running instant messaging client.
The process of restoring the shared session window to the original session window of the target group according to whether the regular user of the target group is a member user shared with the source group in the target group includes the following 2 cases:
case 1) when the regular user of the target group is a member user shared by the target group and the source group, restoring the sharing session window of the corresponding regular user side into the original session window of the target group and the original session window of the source group in the instant messaging client of the regular user side;
case 2) when the regular user of the target group is not the common member user of the target group and the source group, in the instant messaging client of the common member user side, restoring the sharing session window of the corresponding member user side to the original session window of the target group.
For the members in the target group who do not submit the request for exiting the group sharing mode, the message stream issued in the source group session is still continuously received, and the member users in the target group are supported to actively exit the group sharing mode, so that the flexibility of the group sharing mode is improved, and the message interference is avoided.
In one embodiment, when the group sharing mode is performed, the server synchronizes the message stream issued in the source group session in the message record of the server side of the target group and the message stream issued in the target group session by the member user in the target group (step 218), and in addition, the message record can be synchronized to the instant messaging client of the member user side for viewing according to the requirement of the member user in the target group.
When exiting the group sharing mode, the message stream issued in the source group session is deleted in the message record of the server side of the target group maintained by the server (step 219), and in addition, the message stream issued in the source group session is deleted in the synchronized message record of the member user side of the target group (such as in the instant messaging client), and only the message stream issued in the target group session is reserved, so that for the member user of the target group, the message record including the message stream issued in the source group session is only valid in the life cycle of the group sharing mode, and cannot be viewed after exiting the group sharing mode, thereby achieving the effect of ensuring the message security.
To illustrate the software and hardware architecture of the foregoing terminal and server, in the software level, the group session processing apparatus may be implemented as executable instructions stored in a storage medium, including computer executable instructions such as programs and modules, and the storage medium may be distributed and disposed in an instant messaging server and a user side terminal, such as an instant messaging client configured to run in the user side terminal and an instant messaging management service configured in a network side server.
As described above, referring to an optional schematic diagram of a software and hardware structure of the group session processing device 14 provided in the embodiment of the present invention shown in fig. 4, the group session processing device 14 includes a hardware layer, an intermediate layer, an operating system layer, and a software layer. However, it should be understood by those skilled in the art that the structure of the group session processing device 14 shown in fig. 4 is only an example and does not constitute a limitation to the structure of the group session processing device 14. For example, the group session processing device 14 may set more components than those in fig. 4 according to implementation requirements, or omit some components according to implementation requirements.
The hardware layers of the group session handling device 14 include a processor 141, an input/output interface 143, a storage medium 144, and a network interface 142, which may communicate via a system bus connection.
The processor 141 may be implemented by a Central Processing Unit (CPU), a Microprocessor (MCU), an Application Specific Integrated Circuit (ASIC), or a Field-Programmable Gate Array (FPGA).
The input/output interface 143 may be implemented using input/output devices such as a display screen, a touch screen, a speaker, etc.
The storage medium 144 may be implemented by a non-volatile storage medium such as a flash memory, a hard disk, and an optical disc, or may also be implemented by a volatile storage medium such as a Double Data Rate (DDR) dynamic cache, in which an executable instruction for executing the group session processing method is stored.
Illustratively, the storage medium 144 may be co-located with the group session handling device 14, remotely located from the group session handling device 14, or distributed locally and remotely with respect to the group session handling device 14. The network interface 142 provides the processor 141 with external data such as the Access capability of the storage medium 144 set in a remote location, and the network interface 142 may perform Near Field Communication (NFC) technology, Bluetooth (Bluetooth) technology, ZigBee (ZigBee) technology, or the like, and may also implement Communication based on a Communication scheme such as Code Division Multiple Access (CDMA) and Wideband Code Division Multiple Access (WCDMA) and an evolution scheme thereof.
The driver layer includes middleware 145 for the operating system 146 to recognize and communicate with the components of the hardware layer, such as a set of drivers for the components of the hardware layer.
The operating system 146 is used for providing a graphical interface facing a user, and exemplarily includes a plug-in icon, a desktop background and an application icon, and the operating system 146 supports the user to control the device via the graphical interface.
The operating system layer runs an application 147 related to instant messaging, and for the user side terminal, the application 147 may be an instant messaging client, and for the network side terminal, the application 147 may be a background service for implementing an instant messaging function.
For explaining the functional structure of the foregoing server, referring to fig. 5, fig. 5 is a schematic diagram of an optional functional structure of the server 50 according to an embodiment of the present invention, including:
a determining unit 51, configured to determine a target group in a group sharing mode and a source group that needs to share a message to the target group;
an obtaining unit 52, configured to obtain a message stream issued by a member user of a source group in a source group session; acquiring a message stream issued by member users of a target group in a target group session;
a sharing unit 53, configured to send, to a member user of the source group, a message stream issued in the source group session by another member user in the source group, and send, to a member user of the target group, a message stream issued in the source group session;
the sharing unit 53 is further configured to send, to the member user of the target group, a message stream issued by other member users in the target group session.
In an embodiment, the determining unit 51 is further configured to determine that a source group that needs to share a message with a target group meets at least one of the following conditions;
the management users of the source group and the target group are the same; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds the threshold value of the number of the same members; the administrative users of the source group and the target group issue the same history messages.
In an embodiment, the obtaining unit 52 is further configured to determine a message attribute of a message issued in the source group session by a member user of the source group, and integrate the message with the message attribute allowed to be shared with the target group, so as to form a message stream issued in the source group session by the member user of the source group.
In one embodiment, the message attributes that are allowed to be shared to the target group include at least one of:
a message visibility range, the message visibility range including a target group;
and the message type is the type of the message allowed to be shared to the target group.
In an embodiment, the sharing unit 53 is further configured to obtain an identifier of a member user in the target group, which has an authority to receive or request to receive the message stream published in the source group session, and send the message stream published in the source group session to a corresponding member user in the target group according to the identifier.
In one embodiment, the sharing unit 53 is further configured to terminate the message flow issued in the source group session to the member user of the target group in response to a request from the management user of the target group and/or the source group to exit the group sharing mode.
In an embodiment, the sharing unit 53 is further configured to terminate the message flow issued in the source group session to the non-administrative user member of the target group in response to a request for the non-administrative user member of the target group to exit the group sharing mode.
In an embodiment, the sharing unit 53 is further configured to, when in the group sharing mode, store, in the message record on the server side of the target group, the message stream published in the source group session and the message stream published in the target group session by the member users in the target group;
and when the group sharing mode exits, deleting the message stream issued in the source group session in the message record of the server side of the target group.
For explaining the functional structure of the aforementioned member user side terminal, referring to fig. 6, fig. 6 is a schematic diagram of an optional functional structure of the terminal provided in the embodiment of the present invention, including:
a submitting unit 61, configured to submit a target group in a group sharing mode and a source group that needs to share a message with the target group to a server;
an obtaining unit 62, configured to obtain a message stream sent by the server and issued by a member user of the source group in the source group session, and obtain a message stream sent by the server and issued by a member user of the target group in the target group session;
a window unit 63, configured to update an original session window of a target group into a shared session window of a corresponding target group and a source group;
the loading unit 64 is configured to load the message stream issued in the source group session and the message stream issued in the target group session in the sharing session window.
In one embodiment, the source cluster determines that at least one of the following conditions is satisfied;
the management users of the source group and the target group are the same; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds the threshold value of the number of the same members; the administrative users of the source group and the target group issue the same history messages.
In one embodiment, the acquired messages in the message stream published in the source group session have message attributes allowing sharing to the target group;
the message attributes include at least one of:
a message visibility range, the message visibility range including the target group;
a message type, wherein the message type is a type of a message allowed to be shared to the target group.
In an embodiment, the window unit 63 is further configured to update the attribute of the original session window of the target group to the attribute of the shared session window of the corresponding target group and the source group, where the attribute includes at least one of: a group name; a group topic; a management user of the group.
In an embodiment, the window unit 63 is further configured to, for a common member user of the target group and the source group, merge an original session window of the target group on the common member user side and a shared session window of the source group as the original session window of the source group.
In one embodiment, the window unit 63 is further configured to, upon exiting the group sharing mode,
aiming at common member users in the target group and the source group, restoring a sharing conversation window at the side of the corresponding common member user into an original conversation window of the target group and an original conversation window of the source group;
and aiming at the non-common member users in the target group, restoring the sharing conversation window at the corresponding non-common member user side to be the original conversation window of the target group.
In an embodiment, the window unit 63 is further configured to sort the message streams issued in the sessions of the source group and the messages in the message streams issued in the sessions of the target group according to an issuing order, a source user or a source group, and load the sorted messages in the sharing session window.
In an embodiment, the submitting unit 61 is further configured to submit, to the server, a request of the management user of the target group and/or the source group to exit the group sharing mode, and the request is used by the server to respond to the request, so as to terminate a message flow issued in the source group session to the member user of the target group.
In an embodiment, the submitting unit 61 is further configured to submit, to the server, a request for the non-administrative user of the target group to exit the group sharing mode, so that the server terminates the message flow issued in the source group session sent to the non-administrative user member of the target group.
In one embodiment, the system further includes a message recording unit 65, configured to store, in a message record on the member user side of the target group, a message stream published in the active group session and a message stream published in the target group session by the member users in the target group when in the group sharing mode;
when exiting the group sharing mode, only the message stream issued in the active group session is stored in the message record of the member user side of the target group.
Referring to fig. 7, fig. 7 is a schematic diagram of an optional structure of a group session processing system according to an embodiment of the present invention, where the optional structure includes: a server and a terminal.
The server is used for acquiring a target group in a sharing mode submitted by member users of the group and a source group needing to share messages with the target group; acquiring a message stream issued by a member user of a source group in a source group session and acquiring a message stream issued by a member user of a target group in a target group session; sending message streams issued in the source group session by other member users in the source group to the member users in the source group, and sending message streams issued in the source group session to the member users in the target group; and the server is also used for sending the message flow issued by other member users in the target group session to the member users of the target group.
And the terminal is used for updating the original conversation window of the target group to be the sharing conversation window corresponding to the target group and the source group at the member user side of the target group, loading the message stream published in the source group conversation in the sharing conversation window and loading the message stream published in the target group conversation.
In an embodiment, the server is further configured to determine a message attribute of a message published in the source group session by the member user of the source group, and integrate the message having the message attribute allowed to be shared with the target group, so as to form a message stream published in the source group session by the member user of the source group.
In one embodiment, the server obtains an identifier of a member user having an authority to receive or request to receive the message stream published in the source group session in the target group, and sends the message stream published in the source group session to a corresponding member user in the target group according to the identifier.
In one embodiment, the server, in response to the request of the target group and/or the administrative user of the source group to exit the group sharing mode, terminates sending the message stream published in the source group session to the member users of the target group.
In one embodiment, the server, in response to a request for the non-administrative user of the target group to exit the group sharing mode, terminates sending the message stream published in the source group session to the non-administrative user member of the target group.
In one embodiment, when in the group sharing mode, the server stores the message stream published in the source group session and the message stream published in the target group session by the member users in the target group in the message record on the server side of the target group; and when the group sharing mode is exited, deleting the message stream issued in the source group session in the message record of the server side of the target group.
In an embodiment, the terminal is further configured to update an attribute of an original session window of the target group to an attribute of a shared session window corresponding to the target group and the source group, where the attribute includes at least one of: a group name; a group topic; a management user of the group.
In an embodiment, the terminal is further configured to, for a common member user of the target group and the source group, merge the original session window of the target group and the original session window of the source group on the common member user side into the shared session window.
In an embodiment, the terminal is further configured to, when exiting the group sharing mode, restore, for a common member user in the target group and the source group, the sharing session window on the corresponding common member user side to the original session window of the target group and the original session window of the source group; and aiming at the non-common member users in the target group, restoring the sharing conversation window at the corresponding non-common member user side to be the original conversation window of the target group.
In an embodiment, the terminal is further configured to sort the message streams issued in the session of the source group and the messages in the message stream issued in the session of the target group according to an issuing order, a source user or a source group, and load the sorted messages in the sharing session window.
In an embodiment, the terminal is further configured to submit, to the server, a request of the management user of the target group and/or the source group to exit the group sharing mode, where the request is used for the server to respond to the request and terminate sending, to the member users of the target group, the message stream published in the source group session.
In an embodiment, the terminal is further configured to submit, to the server, a request for the non-administrative user of the target group to exit the group sharing mode, so that the server terminates sending, to the non-administrative user member of the target group, the message stream published in the source group session.
In an embodiment, the terminal is further configured to, when in the group sharing mode, store, in a message record on a member user side of the target group, a message stream published in the source group session and a message stream published in the target group session by a member user in the target group;
when the group sharing mode is exited, only the message stream issued in the source group session is stored in the message record of the member user side of the target group.
Referring to fig. 8 and 9, fig. 8 is an optional flowchart of a group session processing method provided in an embodiment of the present invention, fig. 9 is an optional structural schematic diagram of a group session processing system provided in an embodiment of the present invention, and for the following instant communication scenario,
in the service scene of instant messaging, a management user establishes a plurality of groups through an instant messaging client, the content of group discussion is the same, when the management user chats with member users of the plurality of groups, the member user of one group cannot see messages in other groups, the messages cannot be shared across the groups, if the member user of the group transfers the information to the member users of other groups, information loss or ambiguity may exist, if the management user replies in a session window of each group respectively for the same problem proposed by the member users in the plurality of groups, the efficiency of instant messaging is seriously influenced for the management user, and the intercommunication of the messages is not facilitated.
The instant messaging client side of the member user side of the group is internally provided with a group sharing mode for realizing the function of sharing the group information.
It is assumed that the administrative user (the user who establishes the group and the user who has the administrator authority of the group) manages 2 groups (naturally, the same applies to a plurality of groups, and the following description will be given by taking 2 groups (group 1 and group 2) as an example), and the types of the groups are similar, and thus the topics discussed in the groups are close.
Assuming that the management user initiates sharing of the message in the group 2 to the group 1 at the instant messaging client (of course, the management user may also initiate sharing of the message in the group 1 to the group 2 at the same time), the following description will take sharing of the message in the group 2 to the group 1 as an example, and the sharing of the message in the group 1 to the group 2 may be implemented based on the understanding of the following description.
One, set up
For the administrative users of group 1 and group 2, the following member user settings may be made;
1) the member users in group 1 having the right to receive the messages shared in group 2 may be all the member users of group 1 by default.
2) The member users in group 2 that can share messages with group 1 may default to all member users of group 2.
For the member users of group 2, the following privacy settings may be made for the messages published within group 2 to secure the messages:
1) and the visible range is used for indicating whether the message issued by the member user of the group 2 in the group 2 is allowed to be shared outside the group 2. For example, only the members of the group are visible, but the message is invisible to the non-members of the group;
2) a message type for performing a message type that allows sharing outside group 2, or a message type indicating that sharing outside group 2 is not allowed. For example, for file type messages, member users outside group 2 are not supported for download.
For the member users of group 1, it can be set whether to receive the shared messages within group 2 to avoid unnecessary interference.
In addition, the storage of the message records of the group 1 and the group 2 is also involved in the group sharing mode, in order to ensure the message security, the server only stores the message in the group 2 in the message record maintained by aiming at the group 1 in the life cycle of the group sharing mode, when the group sharing mode is terminated, the message in the group 2 is not stored in the message record of the group 1 any more, and the message records of the member user side of the group 2 are synchronized.
The server forms a group sharing copy of the group 1 and the group 2 according to the setting, stores the setting, and integrates the attributes of the two groups, including the basic information of the group 1 and the group 2, such as the included member users, for message pushing.
In the group sharing mode, the server maintains the session of the group 1 and the group 2, that is, the server pushes the message issued by the member user of the group 1 in the session of the group 1 to the other member users of the group 1, pushes the message issued by the member user of the group 2 in the session of the group 2 to the other member users of the group 1, and pushes the message of the group 2 to the member users of the group 1 according to the group sharing copy.
Second, message pushing
The processing of the message of group 2 after being pushed to the different member users of group 1 will be described.
1) Administrative users of group 1
For the management user of the group 1, since the session window of the group 1 and the session window of the group 2 are displayed in the instant messaging client, the instant messaging client merges 2 session windows into 1 session window, and the session windows are identified as the names of the group 1 and the group 2.
Referring to fig. 10, fig. 10 is an optional display diagram of a session window of a merged group according to an embodiment of the present invention, where messages of a group 1 and a group 2 are displayed in the merged sharing session window, a name of a source user and a group to which the source user belongs are identified in the messages, and the messages may be sorted according to the source user, the group to which the source user belongs, or a publishing time. Messages of different groups and member users may be visually distinguished, such as by labeling the messages of different groups with a distinctive color.
Of course, optionally, referring to fig. 11, fig. 11 is an optional display diagram of the conversation window of the merged group provided in the embodiment of the present invention, and the conversation window may also display the messages of the group 1 and the messages of the group 2 in different regions, so as to facilitate the user to distinguish the messages.
2) Regular users of group 1
And after receiving the message of the group 2 pushed by the server, the regular user of the group 1 receives the message, and the message in the group 2 is accessed and shared to the message list of the regular user of the group 1.
For the regular user of the group 1, if the regular user is a member user shared by the group 1 and the group 2, and the session windows of the group 1 and the group 2 are opened at the same time, the session window of the instant messaging client of the regular user merges the session windows of the group 1 and the group 2 into 1 session window in the same processing mode as the management user side, the session window is identified as the names of the group 1 and the group 2, and the messages of the group 1 and the group 2 are displayed in the merged session window.
If the regular user of group 1 is not a common member user of group 1 and group 2, messages posted by other member users of group 1 in the group 1 session are displayed in the session window of group 1, and messages within group 2 are displayed in the session window of group 1.
Third, exit the group sharing mode
The server supports the member users of the group to exit the group sharing mode, when the conventional users request to exit the group sharing mode, the server does not push the group 2 message to the member users any more, and other member users of the group 1 still receive the group 2 message; when the administrative user of the group 1 requests to exit the group sharing mode, the group sharing mode is terminated, the group sharing copy is cancelled, and all member users of the group 1 can not receive the message in the group 2 session.
Fourth, message record management
After the group sharing mode is terminated, the message of the group 1 and the group 2 reserves the attributes (such as the name of the group and the message privacy level) of the corresponding group members, and the server stores the message record of the corresponding group in the background after processing.
In summary, the embodiments of the present invention have the following beneficial effects:
1) the group sharing mode can realize the effect of sharing the message flow issued in the source group session in the target group only by adding additional processing logic on the message flow level, can easily realize the coupling and decoupling with the conventional service processing logic of instant messaging (service logic of non-group sharing mode) on the network side, and simplifies the service structure of instant messaging.
2) Through coupling, processing logics of a source group session and a target group session in a non-group sharing mode do not need to be changed, and message sharing is not needed to be realized through a merging group, so that the effect of efficiently sharing messages among groups is realized; on the other hand, the group sharing mode can be conveniently quitted through decoupling, the problem of interference caused by continuous sharing of messages among groups is avoided, and the communication efficiency is improved;
3) and controlling the privacy level of the message according to the message attribute of the message in the source group session, thereby effectively protecting the message security.
4) And determining whether to respond the group sharing request for pertinence according to the authority of the member users of the source group or the target group submitting the sharing request, and ensuring the safety of message sharing.
5) The target group and the source group are determined according to a plurality of preset conditions, and the influence on the message sharing effect caused by the difference between the groups is avoided.
6) The conversation windows of the common member users of the target group and the source group are merged, and are restored to the conversation window before merging when the group sharing mode exits, so that the user can concentrate on the conversation of the target group and can not lose the messages issued in the conversation of the source group, and the intelligent degree of the group sharing mode is improved.
7) The cross-group sharing message is only effective in the life cycle of the group sharing mode, and the safety of the cross-group sharing message is guaranteed.
Those skilled in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage group session processing device, a Random Access Memory (RAM), a Read-only Memory (ROM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer group session processing apparatus (which may be a personal computer, a server, or a network group session processing apparatus) to execute all or part of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a mobile storage group session processing device, a RAM, a ROM, a magnetic disk or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (20)

1. A group session processing method is characterized by comprising the following steps:
determining a target group in a group sharing mode and a source group needing to share information to the target group; the target group and the source group are determined by acquiring the target group and the source group in a sharing mode submitted by member users of the group;
acquiring a message stream issued by the member user of the source group in the source group session;
sending a message stream to the member users of the source group, wherein the sent message stream is a message stream issued in the source group session by other member users in the source group, and sending the message stream issued in the source group session to the member users of the target group;
acquiring a message flow issued by member users of the target group in a target group session;
sending a message flow to the member users of the target group, wherein the sent message flow is a message flow issued by other member users in the target group session; enabling the member user side terminal of the target group to update the original conversation window of the target group into the sharing conversation window corresponding to the target group and the source group in the running instant messaging client, and loading the message stream issued in the source group conversation and the message stream issued in the target group conversation in the sharing conversation window;
wherein the method further comprises: determining that the source group needing to share messages to the target group meets at least one of the following conditions; the source group is the same as the administrative user of the target group; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds a same member number threshold; and the management users of the source group and the target group issue the same history message.
2. The method of claim 1, wherein the obtaining the message stream published by the member users of the source group in the source group session comprises:
and determining the message attribute of the message issued by the member user of the source group in the session of the source group, and integrating the messages with the message attribute allowed to be shared to the target group to form a message stream issued by the member user of the source group in the session of the source group.
3. The method of claim 2, wherein the message attributes allowed to be shared to the target group include at least one of:
a message visibility range, the message visibility range including the target group;
a message type, wherein the message type is a type of a message allowed to be shared to the target group.
4. The method of claim 1, wherein the sending the stream of messages published in the source group session to the member users of the target group comprises:
and acquiring the identifier of the member user having the authority to receive or requesting to receive the message stream published in the source group session in the target group, and sending the message stream published in the source group session to the corresponding member user in the target group according to the identifier.
5. The method of claim 1, further comprising:
and in response to the request of the target group and/or the management user of the source group for exiting the group sharing mode, terminating the sending of the message stream issued in the source group session to the member users of the target group.
6. The method of claim 1, further comprising:
and in response to a request for the non-management user of the target group to exit the group sharing mode, terminating sending of the message stream issued in the source group session to the non-management user member of the target group.
7. The method of any of claims 1 to 6, further comprising:
when the group sharing mode is adopted, storing the message stream issued in the source group session and the message stream issued in the target group session by member users in the target group in a message record at the server side of the target group;
and when the group sharing mode is exited, deleting the message stream issued in the source group session in the message record of the server side of the target group.
8. A group session processing method is characterized by comprising the following steps:
submitting a target group in a group sharing mode and a source group needing to share information with the target group to a server;
acquiring a message stream issued in a source group session sent by the server and acquiring a message stream issued in a target group session sent by the server;
updating an original session window of the target group into a sharing session window corresponding to the target group and the source group;
loading the message flow published in the source group session and the message flow published in the target group session in the sharing session window;
wherein the source group determines that at least one of the following conditions is satisfied; the source group is the same as the administrative user of the target group; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds a same member number threshold; and the management users of the source group and the target group issue the same history message.
9. The method of claim 8,
the acquired message in the message flow issued in the source group session has a message attribute allowing sharing to the target group;
the message attributes include at least one of:
a message visibility range, the message visibility range including the target group;
a message type, wherein the message type is a type of a message allowed to be shared to the target group.
10. The method of claim 8, wherein the updating the original session window of the target group to the shared session window corresponding to the target group and the source group comprises:
updating the attribute of the original session window of the target group to the attribute of the shared session window corresponding to the target group and the source group, wherein the attribute comprises at least one of the following: a group name; a group topic; a management user of the group.
11. The method of claim 8, wherein the updating the original session window of the target group to the shared session window corresponding to the target group and the source group comprises:
and aiming at the common member users of the target group and the source group, combining the original conversation window of the target group and the original conversation window of the source group at the common member user side into the sharing conversation window.
12. The method of claim 8, further comprising:
when the group sharing mode is exited,
aiming at the common member users in the target group and the source group, restoring the sharing conversation window at the corresponding common member user side into the original conversation window of the target group and the original conversation window of the source group;
and aiming at the non-common member users in the target group, restoring the sharing conversation window at the corresponding non-common member user side to be the original conversation window of the target group.
13. The method of claim 8, wherein the loading the message stream published in the source group session and the loading the message stream published in the target group session in the shared session window comprises:
and sequencing the message streams issued in the session of the source group and the messages in the message streams issued in the session of the target group according to the issuing sequence, the source user or the source group, and loading the sequenced messages in the sharing session window.
14. The method of claim 8, further comprising:
and submitting a request of the management user of the target group and/or the source group for exiting the group sharing mode to the server, wherein the request is used for the server to respond to the request and terminate sending the message stream issued in the source group session to the member users of the target group.
15. The method of claim 8, further comprising:
and submitting a request of the non-management user of the target group for exiting the group sharing mode to the server, wherein the request is used for the server to terminate sending the message stream published in the source group session to the non-management user member of the target group.
16. The method of any one of claims 8 to 15,
when the group sharing mode is in, storing the message stream issued in the source group session and the message stream issued in the target group session by the member user in the target group in the message record of the member user side of the target group;
when the group sharing mode is exited, only the message stream issued in the source group session is stored in the message record of the member user side of the target group.
17. A group session processing method is characterized by comprising the following steps:
the method comprises the steps that a server obtains a target group in a sharing mode submitted by member users of the group and a source group needing to share information with the target group;
the server acquires the message flow issued by the member users of the source group in the source group session and acquires the message flow issued by the member users of the target group in the target group session;
the server sends message streams to the member users of the source group, wherein the sent message streams are the message streams issued by other member users in the source group session and the message streams issued in the source group session to the member users of the target group;
the member user side terminal of the target group updates an original conversation window of the target group to a sharing conversation window corresponding to the target group and the source group, and loads the message stream issued in the source group conversation and the message stream issued in the target group conversation in the sharing conversation window;
the server sends a message stream to the member users of the target group, wherein the sent message stream is a message stream issued by other member users in the target group session;
the server determines that the source group needing to share the message to the target group meets at least one of the following conditions; the source group is the same as the administrative user of the target group; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds a same member number threshold; and the management users of the source group and the target group issue the same history message.
18. A server, comprising:
the device comprises a determining unit, a sending unit and a receiving unit, wherein the determining unit is used for determining a target group in a group sharing mode and a source group needing to share information to the target group; the target group and the source group are determined by acquiring the target group and the source group in a sharing mode submitted by member users of the group;
the acquisition unit is used for acquiring the message stream issued by the member users of the source group in the source group session; acquiring a message flow issued by member users of the target group in a target group session;
the sharing unit is used for sending the message stream issued in the source group session by other member users in the source group to the member users of the source group and sending the message stream issued in the source group session to the member users of the target group;
the sharing unit is further configured to send, to the member user of the target group, a message stream issued by other member users in the target group session; enabling the member user side terminal of the target group to update the original conversation window of the target group into the sharing conversation window corresponding to the target group and the source group in the running instant messaging client, and loading the message stream issued in the source group conversation and the message stream issued in the target group conversation in the sharing conversation window;
the determining unit is further configured to determine that the source group that needs to share a message to the target group meets at least one of the following conditions; the source group is the same as the administrative user of the target group; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds a same member number threshold; and the management users of the source group and the target group issue the same history message.
19. A terminal, comprising:
the system comprises a submitting unit, a receiving unit and a processing unit, wherein the submitting unit is used for submitting a target group in a group sharing mode and a source group needing to share information with the target group to a server;
an obtaining unit, configured to obtain a message stream issued in a source group session sent by the server, and obtain a message stream issued in a target group session sent by the server;
a window unit, configured to update an original session window of the target group to a shared session window corresponding to the target group and the source group;
a loading unit, configured to load, in the sharing session window, the message stream issued in the source group session and the message stream issued in the target group session;
wherein the source group determines that at least one of the following conditions is satisfied; the source group is the same as the administrative user of the target group; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds a same member number threshold; and the management users of the source group and the target group issue the same history message.
20. A group session processing system, comprising:
the server is used for acquiring a target group in a sharing mode submitted by member users of the group and a source group needing to share messages with the target group;
the server is further configured to acquire a message stream issued by the member user of the source group in the source group session, and acquire a message stream issued by the member user of the target group in the target group session;
the server is further configured to send a message stream to the member users of the source group, where the sent message stream is a message stream issued in the source group session by other member users in the source group, and send the message stream issued in the source group session to the member users of the target group;
the terminal is used for updating an original conversation window of the target group to a sharing conversation window corresponding to the target group and the source group on a member user side of the target group, loading a message stream issued in the source group conversation in the sharing conversation window and loading the message stream issued in the target group conversation;
the server is further configured to send a message stream to the member users of the target group, where the sent message stream is a message stream issued by other member users in the target group session;
the server determines that the source group needing to share the message to the target group meets at least one of the following conditions; the source group is the same as the administrative user of the target group; the topics of the source group and the target group meet similar conditions; the number of the same member users of the source group and the target group exceeds a same member number threshold; and the management users of the source group and the target group issue the same history message.
CN201611127513.4A 2016-12-09 2016-12-09 Group session processing method, terminal, server and system Active CN106453066B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611127513.4A CN106453066B (en) 2016-12-09 2016-12-09 Group session processing method, terminal, server and system
PCT/CN2017/115077 WO2018103709A1 (en) 2016-12-09 2017-12-07 Group conversation processing method, terminal, server, and system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611127513.4A CN106453066B (en) 2016-12-09 2016-12-09 Group session processing method, terminal, server and system

Publications (2)

Publication Number Publication Date
CN106453066A CN106453066A (en) 2017-02-22
CN106453066B true CN106453066B (en) 2020-03-17

Family

ID=58216990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611127513.4A Active CN106453066B (en) 2016-12-09 2016-12-09 Group session processing method, terminal, server and system

Country Status (2)

Country Link
CN (1) CN106453066B (en)
WO (1) WO2018103709A1 (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453066B (en) * 2016-12-09 2020-03-17 腾讯科技(深圳)有限公司 Group session processing method, terminal, server and system
CN107018065B (en) * 2017-03-14 2019-09-13 广东小天才科技有限公司 Message synchronization control method and system
CN108734186B (en) * 2017-04-18 2022-05-10 阿里巴巴集团控股有限公司 Method, device and system for automatically quitting instant messaging session group
CN109088738A (en) * 2017-06-14 2018-12-25 阿里巴巴集团控股有限公司 The method, device and equipment of information push
CN107317689B (en) * 2017-07-26 2021-05-21 努比亚技术有限公司 Message processing method, electronic equipment and computer storage medium
CN109688044A (en) * 2017-10-19 2019-04-26 腾讯科技(深圳)有限公司 A kind of information processing method and device, equipment, storage medium
CN107659491A (en) * 2017-10-23 2018-02-02 林楚莲 A kind of Group file sharing method and system based on instant messaging
CN111698144A (en) * 2019-03-15 2020-09-22 钉钉控股(开曼)有限公司 Communication method, device and equipment, and group creation method, device and equipment
CN110048934B (en) * 2019-04-04 2022-05-27 厦门小圈网络科技有限公司 Method for classifying and displaying internal information of circle in chat tool
CN110048933B (en) * 2019-04-04 2022-05-20 厦门小圈网络科技有限公司 Method for using dynamic and static in chat tool
CN110414999B (en) * 2019-07-23 2023-04-07 复旦大学 Service quality management system based on community system
CN110932873A (en) * 2019-11-18 2020-03-27 北京达佳互联信息技术有限公司 Group communication method, terminal equipment, server and communication system
CN112835658B (en) * 2019-11-22 2023-10-27 腾讯科技(深圳)有限公司 Conversation room processing method and device
CN110708238B (en) * 2019-11-22 2021-08-03 京东数字科技控股有限公司 Method and apparatus for processing information
CN111124221B (en) * 2019-12-03 2022-02-25 维沃移动通信有限公司 File sending method and terminal equipment
CN113098754A (en) * 2020-01-08 2021-07-09 腾讯科技(深圳)有限公司 Group revocation method and device, electronic equipment and storage medium
CN111541605B (en) * 2020-07-06 2020-10-20 北京联想协同科技有限公司 Communication message distribution method, equipment and storage medium
CN112163398B (en) * 2020-09-30 2024-06-18 金蝶软件(中国)有限公司 Graph sharing method and related equipment thereof
CN112291136B (en) * 2020-10-28 2023-01-10 广州博冠信息科技有限公司 Method and device for processing session message
CN112822430B (en) * 2020-12-29 2022-12-30 上海掌门科技有限公司 Conference group merging method and device
CN112787908A (en) * 2021-01-05 2021-05-11 北京三快在线科技有限公司 Session message transmission method and device, electronic equipment and storage medium
CN114900489B (en) * 2021-01-26 2023-10-13 腾讯科技(深圳)有限公司 Message processing method and device, electronic equipment and storage medium
CN113225247B (en) * 2021-07-02 2021-12-07 中兴通讯股份有限公司 Group chat processing method and system, electronic device and computer readable storage medium
CN115022105B (en) * 2021-07-23 2024-03-01 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium
CN113794575A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 Message sending method and device and electronic equipment
CN114500440B (en) * 2022-01-25 2023-12-05 上海禹璨信息技术有限公司 Information processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889722A (en) * 2006-07-20 2007-01-03 华为技术有限公司 PoC group session realizing method and apparatus
CN101795439A (en) * 2004-07-30 2010-08-04 三星电子株式会社 Method and system for merging multiple push-to-talk over cellular phone
CN105530165A (en) * 2015-12-08 2016-04-27 小米科技有限责任公司 Instant chat method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10328853A1 (en) * 2003-06-26 2005-02-10 Siemens Ag Procedure to represent screen contents using windows on graphic surface, combines logic or content relationship of single windows by window group
US20090300157A1 (en) * 2006-02-15 2009-12-03 France Telecom Method and device for managing at least one group of users, corresponding computer program product
CN102347916B (en) * 2011-11-01 2017-12-19 中兴通讯股份有限公司 A kind of gateway, across community group information processing system and method
CN106302121A (en) * 2016-08-15 2017-01-04 百度在线网络技术(北京)有限公司 The management method of group and device
CN106453066B (en) * 2016-12-09 2020-03-17 腾讯科技(深圳)有限公司 Group session processing method, terminal, server and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795439A (en) * 2004-07-30 2010-08-04 三星电子株式会社 Method and system for merging multiple push-to-talk over cellular phone
CN1889722A (en) * 2006-07-20 2007-01-03 华为技术有限公司 PoC group session realizing method and apparatus
CN105530165A (en) * 2015-12-08 2016-04-27 小米科技有限责任公司 Instant chat method and device

Also Published As

Publication number Publication date
CN106453066A (en) 2017-02-22
WO2018103709A1 (en) 2018-06-14

Similar Documents

Publication Publication Date Title
CN106453066B (en) Group session processing method, terminal, server and system
US12056106B2 (en) Data storage architecture for an enterprise communication system
JP6911189B2 (en) Methods, devices, and computer program products for generating communication channels shared with the outside world.
CN109889424B (en) Information processing method, device and storage medium
US9032078B2 (en) Predictive scaling for clusters
US20130215126A1 (en) Managing Font Distribution
US11582271B2 (en) Reservation management for polling requests in a communication system
US11973766B2 (en) Dynamic membership assignment to users using dynamic rules
CN107291744A (en) It is determined that and with the method and device of the relationship between application program
US20160094528A1 (en) Authenticating Redirection Service
US20160379171A1 (en) Crowd-source calendar sharing
US8694462B2 (en) Scale-out system to acquire event data
CN112766998A (en) Data processing method and device for business activities
CN113656770A (en) Authorization processing method and device, electronic equipment and computer readable storage medium
KR102561557B1 (en) Method, apparatus, and computer program product for creating externally shared communication channels
US11588914B2 (en) Maintaining minimum interface functionality in an absence of a push-based communications connection in a group-based communication system
CN117632395A (en) Workflow processing method, device, apparatus, storage medium and program product
AU2021101081B4 (en) Method, apparatus and computer program product for generating externally shared communication channels
Ganchev et al. A cloud-based service recommendation system for use in UCWW
US10616293B1 (en) Multiple account binding
CN113010799B (en) Method and device for acquiring media information, electronic equipment and storage medium
Nguyen Context-Based Multi-Tenancy Policy Enforcement For Data Sharing In IoT Systems
CN118114263A (en) Data storage method, device, server and storage medium
Tang Privacy Mechanisms for Context-Aware, Group-based Mobile Social Software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant