+

WO2018103709A1 - Group conversation processing method, terminal, server, and system, and storage medium - Google Patents

Group conversation processing method, terminal, server, and system, and storage medium Download PDF

Info

Publication number
WO2018103709A1
WO2018103709A1 PCT/CN2017/115077 CN2017115077W WO2018103709A1 WO 2018103709 A1 WO2018103709 A1 WO 2018103709A1 CN 2017115077 W CN2017115077 W CN 2017115077W WO 2018103709 A1 WO2018103709 A1 WO 2018103709A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
session
message
target group
target
Prior art date
Application number
PCT/CN2017/115077
Other languages
French (fr)
Chinese (zh)
Inventor
赵娜
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018103709A1 publication Critical patent/WO2018103709A1/en

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

Definitions

  • the present invention relates to communication technologies, and in particular, to a group session processing method, a terminal, a server and a system, and a storage medium.
  • IM Instant Messaging
  • the current instant messaging support establishes a session including a group of multiple member users, and messages posted by any member of the group in the session are pushed to other member users of the group, so that multiple member users can be in the same transaction or Discuss the same topic to improve communication efficiency.
  • the related technology provides a group merging method to realize message sharing between different groups, which causes interference after merging groups. The problem.
  • the embodiments of the present invention provide a group session processing method, a terminal, a server, a system, and a storage medium, which can implement message sharing between groups and improve the efficiency of instant communication.
  • an embodiment of the present invention provides a group session processing method, including:
  • an embodiment of the present invention provides a group session processing method, including:
  • an embodiment of the present invention provides a group session processing method, including:
  • the server acquires a target group in a sharing mode submitted by a member user of the group, and acquires a source group that needs to share the message with the target group;
  • the member user side terminal of the target group updates the original session window of the target group to a sharing session window corresponding to the target group and the source group, and loads the source group in the sharing session window. a message flow published in the group session, and loading a message flow published in the target group session;
  • the server sends a message flow to a member user of the target group, where the sent message stream is a message flow published by other member users in the target group in the target group session.
  • an embodiment of the present invention provides a server, including:
  • a determining unit configured to determine a target group in the group sharing mode and a source group that determines a message sharing to the target group
  • An acquiring unit configured to acquire a message flow advertised by a member user of the source group in a source group session; and obtain a message flow advertised by a member user of the target group in a target group session;
  • a sharing unit configured to send, to a member user of the source group, a message flow advertised by other member users in the source group in the source group session; and send a message to a member user of the target group Describe the message flow published in the source group session;
  • the sharing unit is further configured to send, to the member user of the target group, a message flow that is published by the other member users in the target group in the target group session.
  • an embodiment of the present invention provides a terminal, including:
  • a submitting unit configured to submit a target group in the group sharing mode to the server, and submit a source group that needs to share the message with the target group;
  • An acquiring unit configured to acquire a message flow published in a source group session sent by the server, and obtain a message flow published in a target group session sent by the server;
  • a window unit configured to update an original session window of the target group as a sharing session window corresponding to the target group and the source group;
  • a loading unit configured to load a message flow published in the source group session in the sharing session window and load a message flow published in the target group session.
  • an embodiment of the present invention provides a group session processing system, including:
  • a server configured to acquire a target group in a sharing mode submitted by a member user of the group, and obtain a source group that needs to share the message with the target group;
  • the server is further configured to acquire a message flow advertised by a member user of the source group in a source group session, and obtain a message flow advertised by a member user of the target group in a target group session;
  • the server is further configured to send a message flow to a member user of the source group, where the sent message flow is a message flow advertised by other member users in the source group in the source group session; Sending a message flow published in the source group session to a member user of the target group;
  • a terminal configured to update an original session window of the target group on a member user side of the target group as a sharing session window corresponding to the target group and the source group, and load in the sharing session window a message flow advertised in the source group session and loading a message flow advertised in the target group session;
  • the server is further configured to send a message flow to a member user of the target group, where the sent message flows a message flow published by other member users in the target group in the target group session.
  • an embodiment of the present invention provides a server, including: a processor and a memory for storing a computer program executable on a processor, wherein the processor is configured to execute the above application when the computer program is executed The method steps on the server side.
  • an embodiment of the present invention provides a computer readable storage medium having stored thereon a first computer program, wherein the first computer program is executed by a processor to implement the method step applied to a server side.
  • an embodiment of the present invention provides a terminal, including: a processor and a memory for storing a computer program capable of running on a processor, where the processor is used to execute when the computer program is executed Said method step on the terminal side.
  • an embodiment of the present invention provides a computer readable storage medium, where a second computer program is stored, wherein the second computer program is executed by a processor to implement the method step applied to the terminal side.
  • an embodiment of the present invention provides a computer readable storage medium, where a third computer program is stored thereon, where the third computer program is implemented by the processor to be applied to the terminal side and applied to the server side. The method steps.
  • a new session window that replaces the original session window (the session window of the original session) of the group that needs to share the message, and the session in the group that loads the group in the new session window are transmitted.
  • the message flow because it does not involve changes to the original session between the member users of the group, only involves the graphical session window to update the message flow, which preserves the original business logic of instant communication (for the original).
  • the processing flow of the message flow of the session is performed, so that the group sharing mode switching and the group sharing mode can be easily implemented, and the sharing of messages between groups can be efficiently implemented.
  • FIG. 1 is a schematic diagram of an optional service logic architecture of a group session processing method according to an embodiment of the present invention
  • FIG. 2 is an optional schematic flowchart of a group session processing method according to an embodiment of the present invention
  • 3-1 is an optional schematic flowchart of group session management according to an embodiment of the present invention.
  • FIG. 3-2 is an optional schematic flowchart of group session management according to an embodiment of the present disclosure
  • 3-3 is an optional schematic flowchart of group session management according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing an optional hardware and software structure of the group session processing apparatus 14 according to the embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an optional function of the server 50 according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an optional function of the terminal 60 according to an embodiment of the present invention.
  • FIG. 7 is an optional structural diagram of a group session processing system according to an embodiment of the present invention.
  • FIG. 8 is an optional schematic flowchart of a group session processing method according to an embodiment of the present disclosure.
  • FIG. 9 is an optional structural diagram of a group session processing system according to an embodiment of the present invention.
  • FIG. 10 is an optional display diagram of a session window of a merged group according to an embodiment of the present invention.
  • FIG. 11 is an optional schematic diagram of a session window of a merged group according to an embodiment of the present invention.
  • Instant messaging refers to services that can send and receive Internet messages, such as text messages, rich media messages, emails, blogs, music, TV, games, and search.
  • Group a collection of multiple member users for instant communication, maintenance of group information (such as member users) on the network side server, and additional applications such as sharing space (for storing files uploaded by member users) and discussion community Wait.
  • a group includes two types, a group and a discussion group.
  • life cycle of a group is not limited unless the management user of the group actively dismisses the group, and the discussion period of the discussion group has a limitation of activity.
  • the activity of the discussion group does not meet the requirements (for example, no member user issues a message within a predetermined time)
  • the server will actively dismiss the discussion group.
  • the network side server does not set an additional application for the discussion group, sets an additional application with a small number of groups, or sets an additional application with a limited group function.
  • Embodiments of the present invention are applicable to groups and discussion groups, so the group and discussion groups are not distinguished below.
  • Session the bearer of two or more users performing instant communication during the instant communication process, for example, user 1 and user 2 establish a session via the instant messaging server through the instant messaging client, and the session can be maintained at all times. It can also be closed after the timeout. Any end of the instant communication, such as the user-side terminal and the network-side server, can initiate the establishment and revocation of the session.
  • the message stream, the set of messages advertised by the member users of the group in the group session generally formed in the order of the chronological order of the publication, or may be arranged according to the member users.
  • the source group shares the group of message flows published by the member users in the session to the target group.
  • Target group the group that shares the message stream published in the source group session in its own session.
  • a group sharing mode for a source group and a target group is provided for the problem that the related technologies cannot effectively share messages and avoid message interference between groups that implement instant communication.
  • FIG. 1 is a schematic diagram of an optional service logic architecture of a group session processing method according to an embodiment of the present invention
  • FIG. 2 is a group session according to an embodiment of the present invention.
  • An optional flow diagram of the processing method determining a target group in the group sharing mode, and determining an instant communication scenario of the source group (step 101) that needs to share the message to the target group, by acquiring the target group a message flow published by a member user in a target group session (ie, a session between member users of the target group) (step 102), and obtaining a member user of the source group in the source group session (ie, the source group)
  • the message stream published in the session between the member users of the group step 103
  • sending the message stream to the member users in the source group including: 1) The member users of the source group send the message flows advertised by the other member users in the source group in the source group session (step 104); 2) send
  • the group sharing mode only needs to add additional processing logic at the message flow level to realize the effect of sharing the message flow published in the source group session in the target group, because the additional processing logic can be easily implemented with the network.
  • the coupling and decoupling of the business processing logic of the side-time instant communication (the business logic of the non-group sharing mode), therefore, on the one hand, the coupling does not require the source group session and the target group session in the non-group sharing mode.
  • the processing logic in the change is not needed, and the message sharing is not realized by merging the group, so that the effect of sharing messages between groups is realized efficiently; on the other hand, the group sharing mode can be easily exited by decoupling, thereby avoiding The problem of continuous sharing of messages between groups leads to interference, which improves communication efficiency.
  • FIG. 3-1 is an optional schematic flowchart of group session management according to an embodiment of the present invention, which relates to a target group, a source group, and a network side server, and is applicable to such an instant communication scenario.
  • the message flow advertised by the member users in the source group in the source group session is shared into the session of the member user in the target group, that is, the target group session, and the member users in the target group view the message in the message flow. .
  • the implementation of the instant messaging scenario described above is described in conjunction with the steps illustrated in FIG. 3-1.
  • Step 201 The terminal user side terminal of the group (target group and/or source group) determines the target group in the group sharing mode, and the source group that needs to share the message with the target group, to the server Submit a sharing request.
  • the member user side terminal of the group (including the target group and the source group) runs an instant communication client, and the instant communication client of different member users of the group establishes a group session through the server, and the group instant messaging client and the group
  • the server communicates based on the agreed communication protocol, and no distinction is made between the instant messaging client and the terminal running the instant messaging client.
  • the number of the source group and the target group may be one or more.
  • the following is a description of the one-way message sharing to the target group by the source group, but the same An instant messaging scenario for two-way message sharing between groups.
  • group 1 needs to share the message stream published by the member users of group 1 in the group 1 session into the session of group 2, so that the member users of group 2
  • the message posted by the member users of group 1 can be seen; at this time, group 1 is the source group, group 2 is the target group; and group 2 needs to group the member users of group 2 in the group 2 session.
  • the message stream published in the group is shared into the session of the group 1, so that the member users of the group 1 can see the message posted by the member users of the group 2.
  • the group 2 is the source group
  • the group 1 is the target. Group.
  • the member user side terminal of the target group receives the sharing request submitted by the member user of the target group, and carries the identifier of the source group set by the member user and the identifier of the target group, and the source group is used.
  • the identity of the identity and the identity of the target group are carried in the sharing request and submitted to the server.
  • the instant messaging client running on the terminal processes the sharing request according to the rights of the member who submits the sharing request, including the following two optional methods:
  • the instant messaging client When the instant messaging client detects that the sharing request originates from the management user, since the management user has the highest authority for the target group, the instant messaging client directly submits the sharing request to the server.
  • the instant messaging client When the instant messaging client detects that the sharing request is from a regular user, the instant messaging client forwards the sharing request to the instant messaging client of the management user. After the management user confirms, the instant messaging client of the management user initiates a sharing request to the server.
  • the instant messaging client of the management user receives the same sharing request (ie, the source group identifier and the target group identifier are the same) from a sufficient number of regular users (beyond the threshold), it indicates that there is a common in the target group.
  • the need for the source group to share the message to the target group does not wait for the management user to confirm, but directly submits the sharing request to the server to improve the intelligence of the message sharing mode.
  • the member user side terminal of the source group receives the sharing request submitted by the member user of the source group, such as the management user or the regular user, and the identifier of the source group and the identifier of the target group are carried.
  • the identity of the source group and the identity of the target group are carried in the sharing request and submitted to the server.
  • the instant messaging client running by the terminal processes the sharing request according to the permission of the member who submits the sharing request, specifically :
  • the instant messaging client When the instant messaging client detects that the sharing request originates from a regular 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 managing user initiates sharing with the server.
  • the request, or the instant messaging client of the management user when receiving the same sharing request from a sufficient number of regular users (beyond the threshold) (ie, the source group identifier carried, the target group identifier is the same), indicates that the group exists
  • the general need to share messages with the target group does not wait for the management user to confirm, but submits the sharing request directly to the server to improve the intelligence of the message sharing mode.
  • the server can directly respond to the sharing request, that is, respond to each sharing request, and establish a target group and a source group.
  • the group share copy, and the message stream published in the source group session (that is, the message stream published by the member members of the source group in the source group session) is sent to the target group session according to the group share copy.
  • 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 after the verification succeeds, establishes a shared copy of the target group and the group of the source group.
  • the server determines, according to the identifier of the source group and the identifier of the target group that the sharing request carries, that the source group can share the message with the target group, and establish a corresponding The group shares a copy, in which the identifier of the target group and the identifier of the source group are recorded, and the member users of the target group and the member users of the source group are also recorded.
  • the source group is the same as the management user of the target group.
  • the management user can be any member user with administrator rights for the group (source group and target group), including the group establishment user (default has administrator rights), and the user who is assigned administrator rights.
  • the message sharing in the case where the management users of the source group and the target group are the same can avoid the problem of privacy leakage caused by message sharing between different groups of management users.
  • Condition 2 The topics of the source group and the target group satisfy similar conditions.
  • the source group is the same as the category set when the administrative user of the target group establishes the corresponding group.
  • the target group and the source group are both a parenting discussion group, or a sub-category under the predetermined category, for example, the source group category is nail art, and the target group category is hand maintenance, all under the beauty category.
  • Subclass. The condition 2) verifying the sharing request can avoid the problem that the message flow in the source group session sent to the target group is inconsistent with the source group topic, and the message interference is caused, thereby improving the communication efficiency.
  • the similarity probability of the topic between the groups is larger.
  • the management user can avoid the same message when the source group and the target group publish the same message. A large number of users repeatedly receive messages, saving server resources while reducing interference to users.
  • the management user is both a source group and a member user of the target group (for example, both are management users)
  • the group sharing mode can save the management user.
  • the operation of publishing the same message in a group, especially when the management user establishes multiple groups, can significantly improve communication efficiency.
  • Step 203 The server acquires a message flow published by a member user of the source group in the source group session.
  • a message flow advertised by a member user of a source group in a source group session including messages that are immediately advertised by all member users of the source group.
  • messages are sorted according to the time of publication of the message, and of course, member users may also be used. Sort by other dimensions.
  • a message stream posted by a member user of a source group in a source group session has a privacy protection requirement, such as a message that the published message is not expected to be outside the source group.
  • the user sees, so as to realize the effect of flexibly controlling whether the message is allowed to be shared across groups according to user requirements, and ensuring message security.
  • the member user side terminal of the source group runs the instant messaging client, and the member users supporting the source group set the message attribute of each message in the message group published in the source group, and indicate whether the message flow is allowed by the message attribute.
  • Target group sharing correspondingly, the server determines the message attribute of the message published by the member user of the source group in the source group session, determines the message with the message attribute allowed to be shared to the target group, and integrates the message to form a to-be-sent The message flow to member users of the source group.
  • message attributes include:
  • the visible range of the message is used to indicate the user who is allowed to view the message flow published in the source group session.
  • the visible range is the granularity of the member user, or the group is used as the granularity.
  • a member user of the source group can submit a message attribute to the server in the instant messaging client: only the user of the group is allowed to view, and accordingly, the member user has a message flow in the source group session.
  • the message attribute of "visible range - only allows the users of this group to watch" the server determines that the message flow does not support sharing to the target group.
  • a member user of the source group can submit a visible range to the server in the instant messaging client: allowing the user outside the group to view, and correspondingly, the member user is in the message stream published in the source group session.
  • the server determines that the message flow supports sharing to the target group.
  • a member user of the source group can submit a visible range to the server in the instant messaging client: allowing user 1, user 2, ... user n within the group to view, correspondingly, the member user is The message stream published in the source group session has a message attribute of "allow user 1, user 2, ... user n in the group to watch", and the server determines that the message stream does not support sharing to the target group.
  • the server determines that the message flow is allowed to be shared to the target group.
  • a member user of the source group can submit such a message attribute to the server in the instant messaging client: text message - run outside the group user view, file share message (including a link to the source group's share space) - Only users of this group are allowed to watch. Then, the member user has a message attribute of “visible range-allowing user viewing outside the group” in the message flow published in the source group session, and the server determines the message flow support for the text type message in the message flow. Share to the target group; for file sharing messages in the message flow, the server determines that sharing to the target group is not supported.
  • the server determines that the message stream is allowed to be shared to the target group.
  • Step 204 The server acquires a message flow published by a member user of the target group in the target group session.
  • the message flows advertised by the member users of the source group in the target group session including the messages immediately published by all member users of the target group.
  • the message flows are sorted according to the time of publication of the message, and of course, according to member users, etc. Sort other dimensions.
  • steps 205 and 206 are responses to step 203
  • step 207 is a response to step 207, wherein the order of execution of step 204 and step 205 can be arbitrarily switched or executed in parallel.
  • Step 205 The server sends the message flow advertised by the other member users in the source group in the source group session to the member users of the source group.
  • the server receives the message stream advertised by the source group member user in the source group session, the message stream is sent to other member users in the source group in real time to ensure immediate The timeliness of communication.
  • Step 206 The terminal of the other member user side in the source group receives the message flow, and loads the received message flow in the source group session window of the instant messaging client running in the terminal.
  • the source group includes the member user 1 to the member user 10 as an example.
  • the server receives the message sent by the member user 1 and the member user 2 through the instant messaging client, the message stream is integrated. The message flow is pushed to other users in the source group, namely member user 3 to instant messaging client of member user 10.
  • the source group member user sets the message attribute such as the user blocked by the message when the message is published, and accordingly, the server determines the message blocked by the other user according to the message attribute of each message in the message flow. User, sending a message flow to unmasked users of other member users.
  • Step 207 The server sends the message flow published in the source group session to the member user of the target group.
  • the server when the server obtains the message flow published by the member user of the source group in the source group session in step 203, the other member users in the source group are sent to the source user group member in the source group.
  • the message stream (execution order is not sequentially) is sent to other member users of the group of the target group, so that the member users of the target group can also be seen immediately. The effect of the message flow to the source group.
  • the server determines whether the acquired message flow satisfies the sending condition, Sending the message flow advertised in the collected source group session to the member user of the target group when the sending condition is satisfied, for example:
  • the message flow published in the source group session collected in the predetermined period is sent to the member users of the target group.
  • the message stream advertised in the collected source group session is sent to the member users of the target group.
  • the message flow advertised in the collected source group session is sent to the member users of the target group.
  • the message flow published in the source group session acquired in the predetermined period is sent to the member user of the target group.
  • the effect of sharing messages across groups is realized, but also the effect of saving processing resources can be realized for the server, and at the same time, the interference of the message stream of the source group frequently being pushed by the member users of the target group is avoided.
  • the server when the server sends the message flow published in the source group session to the member user of the target group, the server may send the source group session to all member users of the target group.
  • the message flow correspondingly, all member users of the target group receive the message flow.
  • the server may send the message flow published in the source group session to some member users of the target group according to the identifier of the member user in the target group.
  • some member users include the following situations:
  • the management user of the target group only wants some member users to receive the message stream published in the source group session, and allocates corresponding rights to the part member users through the instant messaging client.
  • Some member users are member users in the target group requesting to receive the message stream published in the source group session.
  • the management user of the target group only wants some member users to receive the message stream published in the source group session, and allocates corresponding rights to the part member users through the instant messaging client.
  • the server accurately pushes the message flow to some member users in the target group according to the actual request of the member users in the target group (such as whether to have the right to receive the sharing or whether to request sharing), so as to avoid cross-group message sharing while avoiding It causes interference to member users in the target group and improves communication efficiency.
  • Step 208 The server sends, to the member user of the target group, a message flow published by the other member users in the target group in the target group session.
  • the target group includes the member user 1 to the member user 10 as an example.
  • the server receives the message sent by the member user 1 and the member user 2 through the instant messaging client, the message flow is integrated to push the message stream.
  • the other users in the target group are the instant messaging clients of member users 3 to member users 10.
  • the following steps 209 and 210 are performed for the member users of the target group to obtain the message flow published by the member users of the source group sent by the server in the source group session, and the member users of the target group sent by the server are in the target group.
  • Step 209 The member user terminal of the target group updates the original session window of the target group to the sharing session window of the corresponding target group and the source group in the running instant messaging client.
  • the attribute of the original session window of the update target group is the attribute of the corresponding target group and the sharing session window of the source group, and the attribute includes at least one of the following: a group name; a group topic; a group Management user.
  • updating the original session window includes the following two cases:
  • the target group and the source group have a shared member user.
  • the original session window of the target group and the original session window of the source group are displayed, as needed
  • the message stream transmitted in the source group session is shared to the target group. Therefore, it is not necessary to simultaneously display the session windows of the two groups, and correspondingly, the original session window of the target group on the shared member user side, and the source group are merged.
  • the original session window which will be the shared session window.
  • Step 210 The member user side terminal of the target group loads the message flow published in the source group session and the message flow published in the target group session in the sharing session window of the running instant messaging client.
  • FIG. 3-2 is an optional flowchart of group session management according to an embodiment of the present invention. Based on FIG. 3-1, the following steps are further included:
  • Step 211 The management user side terminal of the source group and/or the target group submits a request to exit the group sharing mode to the server.
  • Step 212 The server terminates sending the message flow published in the source group session to the members of the target group (including the management user and the regular user), and cancels the group share copy.
  • Step 213 The member user terminal of the target group exits the group sharing mode in the running instant messaging client, and restores the sharing session window to the original session window of the target group.
  • the process of restoring the sharing session window to the original session window of the target group includes the following two cases:
  • the server only needs to terminate sending the message flow published in the source group session to the member users of the target group, and continue to send other member users in the source group to the member users of the source group.
  • the message stream advertised in the source group session for the instant messaging client to load in the original session window of the restored target group; meanwhile, the server continues to send other member users in the target group to the member users of the target group.
  • the message flow published in the target group session is loaded by the instant messaging client in the original session window of the restored target group, thereby realizing the decoupling of the related business logic from the group sharing mode.
  • the non-group sharing mode is more efficient in switching and saves server resources.
  • FIG. 3-3 is an optional schematic flowchart of group session management according to an embodiment of the present invention. Based on FIG. 3-1, the following steps are further included:
  • Step 214 The regular user-side terminal of the target group submits a request to exit the group sharing mode to the server.
  • step 215 the server terminates sending the message stream published in the source group session to the regular user member of the target group.
  • the server terminates sending the message flow advertised in the source group session to the member users of the target group, and continues to send the message flow advertised by the other member users in the source group in the source group session to the member users of the source group for immediate use.
  • the communication client is loaded in the original session window of the restored target group.
  • Step 216 The regular user-side terminal of the target group exits the group sharing mode in the running instant messaging client, and restores the sharing session window 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 flow published 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 sharing session window to the original session window of the target group includes the following two cases:
  • the message stream published in the source group session will continue to be received, and the member users in the target group actively exit the group sharing mode. Improves the flexibility of group sharing mode and avoids message interference.
  • the server when in the group sharing mode, is in the source group session in the message record of the server side of the target group.
  • the message record can be synchronized to the member user side according to the needs of the member users of the target group.
  • Instant messaging client for viewing can be synchronized to the member user side according to the needs of the member users of the target group.
  • the message flow published 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 the member user side of the target group may also be
  • the message stream advertised in the source group session is deleted from the synchronized message record in the instant messaging client, and only the message stream published in the target group session is retained, so that for the member users of the target group,
  • the message record of the message flow advertised in the source group session is valid only 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 message security.
  • the group session processing device may be implemented as executable instructions stored in a storage medium, including computer executable instructions such as programs, modules, and storage media. It can be separately set in the instant messaging server and the user side terminal, such as an instant messaging client installed in the user side terminal and an instant communication management service set in the network side server.
  • the group session processing apparatus 14 includes a hardware layer, an intermediate layer, an operating system layer, and software. Floor.
  • the structure of the group session processing device 14 shown in FIG. 4 is merely an example and does not constitute a limitation on the structure of the group session processing device 14.
  • the group session processing device 14 may set more components than FIG. 4 according to implementation requirements, or omit setting partial components according to implementation needs.
  • the hardware layer of the group session processing device 14 includes a processor 141, an input/output interface 143, a storage medium 144, and a network interface 142 through which components can communicate via a system bus connection.
  • the processor 141 can be implemented by using a central processing unit (CPU), a microprocessor (MCU, Microcontroller Unit), an application specific integrated circuit (ASIC), or a field-programmable gate array (FPGA).
  • CPU central processing unit
  • MCU microprocessor
  • ASIC application specific integrated circuit
  • FPGA field-programmable gate array
  • the input/output interface 143 can be implemented using input/output devices such as a display screen, a touch screen, and a speaker.
  • the storage medium 144 may be implemented by using a non-volatile storage medium such as a flash memory, a hard disk, or an optical disk, or may be implemented by using a volatile storage medium such as a double rate (DDR) double-dimensional (DDR) dynamic cache, where the storage is useful to perform the group conversation.
  • a non-volatile storage medium such as a flash memory, a hard disk, or an optical disk
  • a volatile storage medium such as a double rate (DDR) double-dimensional (DDR) dynamic cache, where the storage is useful to perform the group conversation.
  • DDR double rate
  • DDR double-dimensional
  • the storage medium 144 may be co-located with the group session processing device 14 at the same location, or remotely with respect to the group session processing device 14 remotely, or distributed locally and remotely with respect to the group session processing device 14.
  • the network interface 142 provides the processor 141 with access capabilities of external data such as a remotely located storage medium 144.
  • the network interface 142 may be based on Near Field Communication (NFC) technology, Bluetooth technology, ZigBee (ZigBee) technology for short-range communication, and can also implement communication systems such as Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), and its evolution. Standard communication.
  • the driver layer includes middleware 145 for the operating system 146 to identify and communicate with the hardware layer components, such as a collection of drivers for the various components of the hardware layer.
  • the operating system 146 is configured to provide a user-oriented graphical interface, including, by way of example, a plug-in icon, a desktop background, and an application icon, and the operating system 146 supports user control of the device via a graphical interface.
  • the software environment of the device is operated as an embodiment of the present invention.
  • the system type and version are not limited. For example, it may be an Android operating system, an iOS operating system, a Linux operating system, or a UNIX operating system.
  • the operating system layer runs an application 147 related to instant messaging.
  • the application 147 can be an instant messaging client, and for the network-side terminal, the application 147 can be a background service for implementing the instant messaging function.
  • FIG. 5 is a schematic structural diagram of an optional function of the server 50 according to the embodiment of the present invention, including:
  • a determining unit 51 configured to determine a target group in the group sharing mode and a source group that determines that message sharing needs to be performed to the target group;
  • the obtaining unit 52 is configured to obtain a message flow advertised by a member user of the source group in the source group session, and obtain a message flow advertised by the member user of the target group in the target group session;
  • the sharing unit 53 is configured to send, to the member users of the source group, the message flows advertised by the other member users in the source group in the source group session; and to send the source group session to the member users of the target group. Message flow
  • the sharing unit 53 is further configured to send, to the member users of the target group, a message flow published by the other member users in the target group in the target group session.
  • the determining unit 51 is further configured to determine that the source group that needs to share the message to the target group satisfies at least one of the following conditions;
  • the source group is the same as the management user of the target group; the topics of the source group and the target group satisfy similar conditions; the number of the same member users of the source group and the target group exceeds the same number of members threshold; the source group and the target group The group's administrative users publish the same historical message.
  • the obtaining unit 52 is further configured to determine a message attribute of a message published by a member user of the source group in the source group session, and integrate a message having a message attribute allowed to be shared with the target group. A message flow published by a member user of the source group in the source group session.
  • the message attributes allowed to be shared with the target group include at least one of the following:
  • the visible range of the message includes the target group
  • the message type is the type of message allowed to be shared with the target group.
  • the sharing unit 53 is further configured to acquire an identifier of a member user in the target group that has the right to receive or request to receive the message flow published in the source group session, and the corresponding member user in the target group according to the identifier Send the message stream published in the source group session.
  • the sharing unit 53 is further configured to terminate sending the source group session to the member user of the target group in response to the request of the management user of the target group and/or the source group to exit the group sharing mode. Message flow.
  • the sharing unit 53 is further configured to terminate sending the message flow published in the source group session to the non-administrative user member of the target group in response to the request of the non-administrative user of the target group to exit the group sharing mode.
  • the sharing unit 53 is further configured to store the message flow published in the source group session and the member users in the target group in the message record of the server side of the target group after being in the group sharing mode. a message flow published in a target group session;
  • the message stream published in the source group session is deleted in the message record of the server side of the target group.
  • the determining unit 51, the obtaining unit 52, and the sharing unit 53 may each be located in a central processing unit (CPU), or a microprocessor (MPU), or a digital signal processor (DSP), or a programmable gate. Array (FPGA) implementation.
  • the determining unit 51, the obtaining unit 52, and the sharing unit 53 may each be implemented by the processor 141 shown in FIG.
  • FIG. 6 is a schematic structural diagram of an optional function of the terminal according to the embodiment of the present invention, including:
  • the submitting unit 61 is configured to submit a target group in the group sharing mode to the server, and submit a source group that needs to share the message with the target group;
  • the obtaining unit 62 is configured to acquire a message flow advertised by a member user of the source group sent by the server in the source group session, and obtain a message flow advertised by the member user of the target group sent by the server in the target group session;
  • the window unit 63 is configured to update the original session window of the target group to a corresponding target group and a sharing session window of the source group;
  • the loading unit 64 is configured to load the message stream published in the source group session and load the message stream published in the target group session in the sharing session window.
  • the source group determines that at least one of the following conditions is met
  • the source group is the same as the management user of the target group; the topics of the source group and the target group satisfy similar conditions; the number of the same member users of the source group and the target group exceeds the same number of members threshold; the source group and the target group The group's administrative users publish the same historical message.
  • the message in the message stream published in the obtained source group session has a message attribute that is allowed to be shared with the target group;
  • the message properties include at least one of the following:
  • the message visible range including the target group
  • a message type the type of message being a type of message allowed to be shared with the target group.
  • the window unit 63 is further configured to: update an attribute of the original session window of the target group to an attribute of the corresponding target group and the sharing session window of the source group, and the attribute includes at least one of the following: a group name; Group topic; the administrative user of the group.
  • the window unit 63 is further configured to merge the original session window of the target group of the shared member user side and the original session window of the source group for the shared member user of the target group and the source group.
  • the sharing session window for the group is further configured to merge the original session window of the target group of the shared member user side and the original session window of the source group for the shared member user of the target group and the source group.
  • the window unit 63 is further configured to exit the group sharing mode.
  • the sharing session window of the corresponding shared member user side is the original session window of the target group and the original session window of the source group;
  • the window unit 63 is further configured to perform the message flow published in the session of the source group and the message flow in the message stream published in the session of the target group according to the release order, the source user or the source group. Sort and load the sorted message in the sharing session window.
  • the submitting unit 61 is further configured to submit, to the server, a request for the exit group sharing mode of the target user and/or the management user of the source group, for the server to respond to the request, terminating the target group Member users send message flows published in the source group session.
  • the submitting unit 61 is further configured to submit, to the server, a request of the non-administrative user of the target group to exit the group sharing mode, for the server to terminate sending the source group session to the non-administrative user member of the target group.
  • the method further includes a message recording unit 65 configured to store the message flow published in the active group session and the target group in the message record of the member user side of the target group when in the group sharing mode The message flow published by the member users in the group in the target group session;
  • the submitting unit 61, the obtaining unit 62, the window unit 63, the loading unit 64, and the message recording unit 65 may each be located by a central processing unit (CPU), or a microprocessor (MPU), or digital signal processing. (DSP), or programmable gate array (FPGA) implementation.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processing.
  • FPGA programmable gate array
  • the submitting unit 61, the obtaining unit 62, the window unit 63, the loading unit 64, and the message recording unit 65 may each be implemented by the processor 141 shown in FIG.
  • FIG. 7 is an optional structural diagram of a group session processing system according to an embodiment of the present invention, including: a server and a terminal.
  • a server configured to obtain a target group in a sharing mode submitted by a member user of the group, and a source group that needs to share the message with the target group; and obtain a message published by the member user of the source group in the source group session Streaming, and obtaining a message flow published by a member user of the target group in the target group session; sending a message flow published by the other member users in the source group in the source group session to the member user of the source group, and to the target The member user of the group sends the message flow published in the source group session; the server is further configured to send the message flow published by the other member users in the target group in the target group session to the member users of the target group.
  • the terminal is configured to update the original session window of the target group to the sharing session window of the corresponding target group and the source group in the member user side of the target group, and load the message flow published in the source group session in the sharing session window, And loading the message stream published in the target group session.
  • the server is further configured to determine a message attribute of a message posted by the member user of the source group in the source group session, to integrate a message having a message attribute allowed to be shared with the target group Forming a message flow published by a member user of the source group in a source group session.
  • the server obtains an identifier of a member user in the target group that has a right to receive or request to receive a message flow published in the source group session, and correspondingly to the target group according to the identifier.
  • the member user sends the message stream published in the source group session.
  • the server terminates sending the source to a member user of the target group in response to the request of the target group and/or the management user of the source group to exit the group sharing mode.
  • the server terminates sending the source group session to the non-administrative user member of the target group in response to the request of the non-administrative user of the target group to exit the group sharing mode The message stream published in .
  • the server after being in the group sharing mode, storing a message flow published in the source group session in a message record of a server side of the target group, and the target group a message flow published by the member user in the target group session; after exiting the group sharing mode, deleting the message published in the source group session in the message record of the server side of the target group flow.
  • the terminal is further configured to update an attribute of the original session window of the target group to an attribute corresponding to the target group and a sharing session window of the source group, where the attributes include the following At least one: group name; group topic; group management user.
  • the terminal is further configured to merge the original session window of the target group of the shared member user side with the shared member user of the target group and the source group, And the original session window of the source group is the sharing session window.
  • the terminal is further configured to: when the group sharing mode is exited, restoring the sharing of the corresponding member user side to the shared member user of the source group in the target group
  • the session window is the original session window of the target group and the original session window of the source group; for the non-shared member users in the target group, the corresponding non-shared member user side is restored
  • the sharing session window is the original session window of the target group.
  • the terminal is further configured to: in the order of the release, the source user, or the message flow in the message stream published in the session of the source group and the message stream in the session of the target group.
  • the source group is sorted and the sorted message is loaded in the sharing session window.
  • the terminal is further configured to submit, to the server, a request for exiting the group sharing mode of the target group and/or the management user of the source group, for the The server, in response to the request, terminates sending a message flow published in the source group session to a member user of the target group.
  • 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, for the server to terminate to the target group.
  • the non-administrative user member sends the message stream published in the source group session.
  • the terminal is further configured to: after being in the group sharing mode, store a message flow published in the source group session in a message record of a member user side of the target group. And a message flow published by the member user in the target group in the target group session;
  • the present embodiment provides a server including: a processor and a memory for storing a computer program executable on a processor, wherein when the processor is configured to run the computer program, The method steps described above applied to the server side are performed.
  • the embodiment further provides a computer readable storage medium having stored thereon a first computer program, wherein the first computer program is implemented by a processor to implement the method applied to a server side step.
  • the present embodiment provides a terminal comprising: a processor and a memory for storing a computer program executable on the processor, wherein when the processor is configured to run the computer program, The method steps applied to the terminal side are performed.
  • the present embodiment provides a computer readable storage medium having stored thereon a second computer program, wherein the second computer program is implemented by a processor to implement the method steps applied to the terminal side .
  • an embodiment of the present invention provides a computer readable storage medium having stored thereon a third computer program, wherein the third computer program is implemented by a processor to be applied to a terminal side and to a server. The method steps of the side.
  • FIG. 8 is an optional schematic flowchart of a group session processing method according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of an embodiment of the present invention.
  • the management user establishes multiple groups through the instant messaging client, and the content of the group discussion is the same.
  • the management user chats with the member users of multiple groups, the members of one group cannot see Messages in other groups cannot be shared across groups. If members of a group refer to members of other groups, there may be information loss or ambiguity. If there are multiple members in the group by the management user. The same problem raised by the user is separately replied in the session window of each group, which seriously affects the efficiency of instant communication for the management user, and is not conducive to the intercommunication of messages.
  • a group sharing mode is set in the instant messaging client of the member user side of the group to implement the function of sharing the group message.
  • the management user (the user who established the group and the user who has the administrator rights of the group) manages two groups (of course, the same applies to the case of multiple groups, the following two groups (group 1) And group 2) as an example), the types of groups are similar and the topics discussed in the group approach.
  • the management user initiates the sharing of the message in the group 2 to the group 1 in the instant messaging client (of course, the sharing of the message in the group 1 to the group 2 can also be initiated at the same time), and the following is in the group 2
  • the sharing of the message to the group 1 is taken as an example.
  • the sharing of the message in the group 1 to the group 2 can be implemented based on the understanding of the following description.
  • the member users in the group 1 who have the rights to receive the messages shared in the group 2 can be all member users of the group 1 by default.
  • Visible range used to indicate whether the messages posted by the member users of the group 2 in the group 2 are allowed to be shared outside the group 2. For example, only members of the group are visible, and members of the group are not visible to the message;
  • the storage of the message records of the group 1 and the group 2 is also involved.
  • the message record maintained by the server for the group 1 is only stored in the life cycle of the group sharing mode.
  • the message in group 2 when the group sharing mode is terminated, does not store the message of group 2 in the message record of group 1, and synchronizes the message records of the member user side of group 2.
  • the server forms a group shared copy of group 1 and group 2 for the above settings, stores the above settings, and integrates the attributes of the two groups, including basic information of group 1 and group 2, as included. Member users, etc., used for message push.
  • the server maintains the sessions of group 1 and group 2, that is, the message posted by the member users of group 1 in the session of group 1 is pushed to other member users of group 1, and group 2 is The message posted by the member user in the session of group 2 is pushed to other member users of group 1.
  • the server pushes the message of group 2 to the member user of group 1 according to the shared copy of the group.
  • the instant messaging client merges 2 into one session window, and the session window identifier The names of group 1 and group 2.
  • FIG. 10 is an optional schematic diagram of a session window of a merged group according to an embodiment of the present invention.
  • the merged session window displays messages of group 1 and group 2, and the source user is identified in the message.
  • the name and the group to which it belongs, the messages can be sorted by source user, group to which they belong, or time of publication. Messages of different groups and member users can be visually distinguished, such as distinguishing colors of messages of different groups.
  • FIG. 11 is an optional display diagram of a session window of a merged group according to an embodiment of the present invention.
  • the shared session window may also display the message of group 1 and the group 2 in a sub-area. Messages so that users can distinguish between messages.
  • the regular user of the group 1 After receiving the message of the group 2 pushed by the server, the regular user of the group 1 accepts the message, and the message access in the group 2 is shared with the message list of the regular user of the group 1.
  • the instant user of the regular user is The session window of the end is merged into the session window of group 1 and group 2 in the same processing manner as the management user side, and the session window is identified as the name of group 1 and group 2, and the merged Messages for group 1 and group 2 are displayed in the session window.
  • the message posted by the other member users of the group 1 in the group 1 session is displayed in the session window of the group 1 and is in the group.
  • the message in group 2 is displayed in the session window of 1.
  • the member user of the server support group exits the group sharing mode.
  • the server no longer pushes the message of the group 2 to the member user, and other members of the group 1 still receive the group.
  • Group 2 message when the management user of group 1 requests to exit the group sharing mode, the group sharing mode is terminated, the group shared copy is revoked, and all member users of group 1 will not receive the group 2 session again. Message.
  • the messages of group 1 and group 2 retain the attributes of the corresponding group members (such as the name of the group to which the group belongs, the message privacy level), and the message processed by the server into the corresponding group in the background is processed. recording.
  • the group sharing mode only needs to add additional processing logic at the message flow level, so that the effect of sharing the message flow published in the source group session in the target group can be realized, and the routine on the network side can be easily realized.
  • the coupling and decoupling of the communication processing logic simplifies the business structure of instant messaging.
  • the foregoing storage medium includes: a mobile storage group session processing device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or A variety of media such as optical discs that can store program code.
  • the above-described 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 function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making
  • a computer group session processing device (which may be a personal computer, server, or network group session processing device, etc.) performs all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a mobile storage group session processing device, a RAM, a ROM, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • a group when a message sharing between groups is required, a group is loaded in a new session window by establishing a new session window that replaces the original session window (the session window of the original session) of the group that needs to share the message.
  • the message stream transmitted in the session because it does not involve changes to the original session between the member users of the group, only involves the graphical session window to update the message flow, which preserves the original communication of the instant communication to the greatest extent.
  • Logic processing logic for sending the message stream of the original session, so that switching to the group sharing mode and exiting the group sharing mode can be easily implemented, and the sharing of messages between groups can be efficiently implemented.

Landscapes

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

Abstract

Disclosed in embodiments of the present invention are a group conversation processing method, terminal, server, and system, and storage medium. The method comprises: determining a target group in a group sharing mode, and determining a source group required to share messages with the target group; acquiring a message stream published by members of the source group in a source group conversation; sending a message stream to each member of the source group, the sent message stream being a message stream published by other members of the source group in the source group conversation; sending to members of the target group the message stream published by the members of the source group in the source group conversation; acquiring a message stream published by the members of the target group in a target group conversation; and sending a message stream to each member of the target group, the sent message stream being a message stream published by other members of the target group in the target group conversation. The present invention enables message sharing between groups and improves the efficiency of instant messaging.

Description

群组会话处理方法、终端、服务器及系统、存储介质Group session processing method, terminal, server and system, storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201611127513.4、申请日为2016年12月09日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本发明涉及通信技术,尤其涉及一种群组会话处理方法、终端、服务器及系统、存储介质。The present invention relates to communication technologies, and in particular, to a group session processing method, a terminal, a server and a system, and a storage medium.
背景技术Background technique
即时通信(IM,Instant Messaging)技术以其与互联网社交深度融合的特点,使得如微信、QQ等各种即时通信客户端得到广泛应用。Instant Messaging (IM) technology, with its deep integration with Internet, makes various instant messaging clients such as WeChat and QQ widely used.
目前的即时通信支持建立包括多个成员用户的群组的会话,群组中任一成员用户在会话中发布的消息都会被推送到群组的其他成员用户,便于多个成员用户就同一事务或相同话题进行讨论,提升通信效率。The current instant messaging support establishes a session including a group of multiple member users, and messages posted by any member of the group in the session are pushed to other member users of the group, so that multiple member users can be in the same transaction or Discuss the same topic to improve communication efficiency.
实际应用中存在海量的群组,不同的群组之间存在分享消息的需求,相关技术提供了群组合并方式来实现原不同群组之间的消息分享,这导致在合并群组之后出现干扰的问题。There are a large number of groups in the actual application, and there is a need to share messages between different groups. The related technology provides a group merging method to realize message sharing between different groups, which causes interference after merging groups. The problem.
具体来说,实际应用中,不同群组的成员在属性、安全要求方面存在不可避免的差异,往往是在某些情况下的话题一致(相近)而存在临时分享消息的需求,例如某个特定时期就某个特定事件而进行讨论。相关技术提供的简单将群组合并的方案虽然能够实现消息分享,但是,在多数情况下,由于群组合并之前的原群组的话题往往不一致,合并前的群组讨论的 话题与合并前的其他群组不可避免地存在差异,往往会对合并前的其他群组造成干扰。Specifically, in practical applications, members of different groups have inevitable differences in attributes and security requirements, often in some cases where the topics are consistent (similar) and there is a need to temporarily share messages, such as a specific The period is discussed for a specific event. The simple technique of combining groups provided by the related art can realize message sharing, but in most cases, since the topics of the original group before the group merge are often inconsistent, the topic of the group discussion before the merger and the pre-merger Other groups inevitably have differences and often cause interference to other groups before the merger.
综上所述,对于实现即时通信的群组之间进行消息分享的同时,避免不同群组之间所形成的干扰,提升即时通信的效率,相关技术尚无有效解决方案。In summary, for the message sharing between the groups that realize instant communication, the interference formed between different groups is avoided, and the efficiency of instant communication is improved, and there is no effective solution for related technologies.
发明内容Summary of the invention
本发明实施例提供一种群组会话处理方法、终端、服务器及系统、存储介质,能够实现群组之间的消息共享,提升即时通信的效率。The embodiments of the present invention provide a group session processing method, a terminal, a server, a system, and a storage medium, which can implement message sharing between groups and improve the efficiency of instant communication.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供一种群组会话处理方法,包括:In a first aspect, an embodiment of the present invention provides a group session processing method, including:
确定在群组分享模式中的目标群组、以及确定需要向所述目标群组进行消息分享的源群组;Determining a target group in the group sharing mode and determining a source group to which message sharing is required to the target group;
获取所述源群组的成员用户在源群组会话中发布的消息流;Obtaining a message flow published by a member user of the source group in a source group session;
向所述源群组的成员用户发送消息流,所发送的消息流为所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;Sending a message flow to a member user of the source group, the sent message stream being a message flow published by other member users in the source group in the source group session; and, to the target group The member user sends the message flow published in the source group session;
获取所述目标群组的成员用户在目标群组会话中发布的消息流;Obtaining a message flow published by a member user of the target group in a target group session;
向所述目标群组的成员用户发送消息流,所发送的消息流为所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。Sending a message flow to a member user of the target group, where the sent message stream is a message flow published by other member users in the target group 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 the group sharing mode to the server, and submitting a source group that needs to share the message with the target group;
获取所述服务器发送的源群组会话中发布的消息流,以及获取所述服务器发送的目标群组会话中发布的消息流;Obtaining a message flow published in a source group session sent by the server, and acquiring a message flow published in a target group session sent by the server;
更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群 组的分享会话窗口;Updating an original session window of the target group to a sharing session window corresponding to the target group and the source group;
在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流。Loading a message stream published in the source group session in the sharing session window, and loading a message stream published in the target group session.
第三方面,本发明实施例提供一种群组会话处理方法,包括:In a third aspect, an embodiment of the present invention provides a group session processing method, including:
服务器获取群组的成员用户提交的分享模式中的目标群组、以及获取需要与所述目标群组进行消息分享的源群组;The server acquires a target group in a sharing mode submitted by a member user of the group, and acquires a source group that needs to share the message with the target group;
所述服务器获取所述源群组的成员用户在源群组会话中发布的消息流,以及获取所述目标群组的成员用户在目标群组会话中发布的消息流;Obtaining, by the server, a message flow advertised by a member user of the source group in a source group session, and acquiring a message flow advertised by a member user of the target group in a target group session;
所述服务器向所述源群组的成员用户发送消息流,所发送的消息流为所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;Sending, by the server, a message flow to a member user of the source group, where the sent message stream is a message flow published by other member users in the source group in the source group session; and, to the target A member user of the group sends a message flow published in the source group session;
所述目标群组的成员用户侧终端更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口,在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流;The member user side terminal of the target group updates the original session window of the target group to a sharing session window corresponding to the target group and the source group, and loads the source group in the sharing session window. a message flow published in the group session, and loading a message flow published in the target group session;
所述服务器向所述目标群组的成员用户发送消息流,所发送的消息流为所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。The server sends a message flow to a member user of the target group, where the sent message stream is a message flow published by other member users in the target group in the target group session.
第四方面,本发明实施例提供一种服务器,包括:In a fourth aspect, an embodiment of the present invention provides a server, including:
确定单元,配置为确定在群组分享模式中的目标群组、以及确定需要向所述目标群组进行消息分享的源群组;a determining unit configured to determine a target group in the group sharing mode and a source group that determines a message sharing to the target group;
获取单元,配置为获取所述源群组的成员用户在源群组会话中发布的消息流;获取所述目标群组的成员用户在目标群组会话中发布的消息流;An acquiring unit, configured to acquire a message flow advertised by a member user of the source group in a source group session; and obtain a message flow advertised by a member user of the target group in a target group session;
共享单元,配置为向所述源群组的成员用户发送所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;a sharing unit, configured to send, to a member user of the source group, a message flow advertised by other member users in the source group in the source group session; and send a message to a member user of the target group Describe the message flow published in the source group session;
所述共享单元,还配置为向所述目标群组的成员用户发送所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。The sharing unit is further configured to send, to the member user of the target group, a message flow that is published by the other member users in the target group in the target group session.
第五方面,本发明实施例提供一种终端,包括:In a fifth aspect, an embodiment of the present invention provides a terminal, including:
提交单元,配置为向服务器提交在群组分享模式中的目标群组、以及提交需要与所述目标群组进行消息分享的源群组;a submitting unit configured to submit a target group in the group sharing mode to the server, and submit a source group that needs to share the message with the target group;
获取单元,配置为获取所述服务器发送的源群组会话中发布的消息流,以及获取所述服务器发送的目标群组会话中发布的消息流;An acquiring unit, configured to acquire a message flow published in a source group session sent by the server, and obtain a message flow published in a target group session sent by the server;
窗口单元,配置为更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口;a window unit, configured to update an original session window of the target group as a sharing session window corresponding to the target group and the source group;
加载单元,配置为在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流。a loading unit configured to load a message flow published in the source group session in the sharing session window and load a message flow published in the target group session.
第六方面,本发明实施例提供一种群组会话处理系统,包括:In a sixth aspect, an embodiment of the present invention provides a group session processing system, including:
服务器,配置为获取群组的成员用户提交的分享模式中的目标群组、以及获取需要与所述目标群组进行消息分享的源群组;a server configured to acquire a target group in a sharing mode submitted by a member user of the group, and obtain a source group that needs to share the message with the target group;
所述服务器,还配置为获取所述源群组的成员用户在源群组会话中发布的消息流,以及获取所述目标群组的成员用户在目标群组会话中发布的消息流;The server is further configured to acquire a message flow advertised by a member user of the source group in a source group session, and obtain a message flow advertised by a member user of the target group in a target group session;
所述服务器,还配置为向所述源群组的成员用户发送消息流,所发送的消息流为所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;The server is further configured to send a message flow to a member user of the source group, where the sent message flow is a message flow advertised by other member users in the source group in the source group session; Sending a message flow published in the source group session to a member user of the target group;
终端,配置为在所述目标群组的成员用户侧更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口,在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流;a terminal, configured to update an original session window of the target group on a member user side of the target group as a sharing session window corresponding to the target group and the source group, and load in the sharing session window a message flow advertised in the source group session and loading a message flow advertised in the target group session;
所述服务器,还配置为向所述目标群组的成员用户发送消息流,所发送的消息流所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。The server is further configured to send a message flow to a member user of the target group, where the sent message flows a message flow published by other member users in the target group in the target group session.
第七方面,本发明实施例提供一种服务器,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行以上应用于服务器侧的所述方法步骤。According to a seventh aspect, an embodiment of the present invention provides a server, including: a processor and a memory for storing a computer program executable on a processor, wherein the processor is configured to execute the above application when the computer program is executed The method steps on the server side.
第八方面,本发明实施例提供一种计算机可读存储介质,其上存储有第一计算机程序,其中,该第一计算机程序被处理器执行时实现应用于服务器侧的所述方法步骤。In an eighth aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon a first computer program, wherein the first computer program is executed by a processor to implement the method step applied to a server side.
第九方面,本发明实施例提供一种终端,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行应用于终端侧的所述方法步骤。According to a ninth aspect, an embodiment of the present invention provides a terminal, including: a processor and a memory for storing a computer program capable of running on a processor, where the processor is used to execute when the computer program is executed Said method step on the terminal side.
第十方面,本发明实施例提供一种计算机可读存储介质,其上存储有第二计算机程序,其中,该第二计算机程序被处理器执行时实现应用于终端侧的所述方法步骤。According to a tenth aspect, an embodiment of the present invention provides a computer readable storage medium, where a second computer program is stored, wherein the second computer program is executed by a processor to implement the method step applied to the terminal side.
第十一方面,本发明实施例提供一种计算机可读存储介质,其上存储有第三计算机程序,其中,该第三计算机程序被处理器执行时实现应用于终端侧以及应用于服务器侧的所述方法步骤。In an eleventh aspect, an embodiment of the present invention provides a computer readable storage medium, where a third computer program is stored thereon, where the third computer program is implemented by the processor to be applied to the terminal side and applied to the server side. The method steps.
本发明实施例具有这样的有益效果:Embodiments of the invention have such beneficial effects:
在需要进行群组之间的消息分享时,通过建立替代需要进行消息分享的群组的原始会话窗口(原始会话的会话窗口)的新会话窗口,在新会话窗口中加载群组的会话中传输的消息流,由于不涉及对群组的成员用户之间的原始会话进行更改,仅涉及图形化的会话窗口进行更新中加载消息流,最大程度上保留了即时通信的原有业务逻辑(针对原始会话的消息流进行发送的处理逻辑),因此可以容易地实现向群组分享模式切换以及退出群组 分享模式,能够高效实现群组间分享消息。When a message sharing between groups is required, a new session window that replaces the original session window (the session window of the original session) of the group that needs to share the message, and the session in the group that loads the group in the new session window are transmitted. The message flow, because it does not involve changes to the original session between the member users of the group, only involves the graphical session window to update the message flow, which preserves the original business logic of instant communication (for the original The processing flow of the message flow of the session is performed, so that the group sharing mode switching and the group sharing mode can be easily implemented, and the sharing of messages between groups can be efficiently implemented.
附图说明DRAWINGS
图1是本发明实施例提供的群组会话处理方法的一个可选的业务逻辑架构图示意图;1 is a schematic diagram of an optional service logic architecture of a group session processing method according to an embodiment of the present invention;
图2是本发明实施例提供的群组会话处理方法的一个可选的流程示意图;2 is an optional schematic flowchart of a group session processing method according to an embodiment of the present invention;
图3-1是本发明实施例提供的群组会话管理的一个可选的流程示意图;3-1 is an optional schematic flowchart of group session management according to an embodiment of the present invention;
图3-2是本发明实施例提供的群组会话管理的一个可选的流程示意图;FIG. 3-2 is an optional schematic flowchart of group session management according to an embodiment of the present disclosure;
图3-3是本发明实施例提供的群组会话管理的一个可选的流程示意图;3-3 is an optional schematic flowchart of group session management according to an embodiment of the present invention;
图4是本发明实施例提供的示出的群组会话处理装置14的一个可选的软硬件结构示意图;4 is a schematic diagram showing an optional hardware and software structure of the group session processing apparatus 14 according to the embodiment of the present invention;
图5是本发明实施例提供的服务器50的一个可选的功能结构示意图;FIG. 5 is a schematic structural diagram of an optional function of the server 50 according to an embodiment of the present invention;
图6是本发明实施例提供的终端60的一个可选的功能结构示意图;FIG. 6 is a schematic structural diagram of an optional function of the terminal 60 according to an embodiment of the present invention;
图7是本发明实施例提供的群组会话处理系统的一个可选的结构示意图;FIG. 7 is an optional structural diagram of a group session processing system according to an embodiment of the present invention;
图8是本发明实施例提供的群组会话处理方法的一个可选的流程示意图;FIG. 8 is an optional schematic flowchart of a group session processing method according to an embodiment of the present disclosure;
图9是本发明实施例提供的群组会话处理系统的一个可选的结构示意图;FIG. 9 is an optional structural diagram of a group session processing system according to an embodiment of the present invention;
图10是本发明实施例提供的合并群组的会话窗口的一个可选的显示示意图;10 is an optional display diagram of a session window of a merged group according to an embodiment of the present invention;
图11是本发明实施例提供的合并群组的会话窗口的一个可选的显示示意图。FIG. 11 is an optional schematic diagram of a session window of a merged group according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所提供的实施例仅仅用以解释本发明,并不用于限定本发明。另外,以下所提供的实施例是用于实施本发明的部分实施例,而非提供实施本发明的全部实施例,在不冲突的情况下,本发明实施例记载的技术方案可以任意组合的方式实施。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is to be understood that the examples are provided to illustrate the invention and not to limit the invention. In addition, the embodiments provided below are part of the embodiments for implementing the present invention, and do not provide all the embodiments for implementing the present invention. In the case of no conflict, the technical solutions described in the embodiments of the present invention may be combined in any combination. Implementation.
对本发明进行进一步详细说明之前,对本发明实施例中涉及的名词和术语进行说明,本发明实施例中涉及的名词和术语适用于如下的解释。Before the present invention is further described in detail, the nouns and terms involved in the embodiments of the present invention are explained, and the nouns and terms involved in the embodiments of the present invention are applied to the following explanations.
1)即时通信,是指能够即时发送和接收互联网消息等的业务,如可集成文本消息、富媒体消息、电子邮件、博客、音乐、电视、游戏和搜索等多种功能。1) Instant messaging refers to services that can send and receive Internet messages, such as text messages, rich media messages, emails, blogs, music, TV, games, and search.
2)群组,进行即时通信的多个成员用户的集合,在网络侧服务器维护群组的信息(如成员用户)、以及附加应用如分享空间(用于存储成员用户上传的文件)和讨论社区等。2) Group, a collection of multiple member users for instant communication, maintenance of group information (such as member users) on the network side server, and additional applications such as sharing space (for storing files uploaded by member users) and discussion community Wait.
举例来说,群组包括群和讨论组两种类型。一般地,群的生命周期不受限制除非群的管理用户主动解散群,讨论组的声明周期存在活跃度的限制,当讨论组的活跃度不符合要求(如预定时间内没有成员用户发布消息)时服务器会主动解散讨论组。For example, a group includes two types, a group and a discussion group. Generally, the life cycle of a group is not limited unless the management user of the group actively dismisses the group, and the discussion period of the discussion group has a limitation of activity. When the activity of the discussion group does not meet the requirements (for example, no member user issues a message within a predetermined time) The server will actively dismiss the discussion group.
另外,在网络侧服务器针对讨论组未设置附加应用、设置数量较群少的附加应用或设置较群功能受限的附加应用。In addition, the network side server does not set an additional application for the discussion group, sets an additional application with a small number of groups, or sets an additional application with a limited group function.
本发明实施例适用于群和讨论组,因此下文中不对群和讨论组进行区分。Embodiments of the present invention are applicable to groups and discussion groups, so the group and discussion groups are not distinguished below.
3)会话,进行即时通信的两个或多个用户在即时通信过程中收发消息的承载,如用户1和用户2通过各自即时通信客户端经由即时通信服务器建立会话,会话可以处于一直保持的状态,也可以在超时后关闭,即时通 信的任一端如用户侧终端、以及网络侧服务器都可以发起会话的建立和撤销。3) Session, the bearer of two or more users performing instant communication during the instant communication process, for example, user 1 and user 2 establish a session via the instant messaging server through the instant messaging client, and the session can be maintained at all times. It can also be closed after the timeout. Any end of the instant communication, such as the user-side terminal and the network-side server, can initiate the establishment and revocation of the session.
4)消息流,群组的成员用户在群组会话中发布的消息的集合,一般地,按照发布的先后时间顺序排列形成,或者,可以按照成员用户进行排列形成。4) The message stream, the set of messages advertised by the member users of the group in the group session, generally formed in the order of the chronological order of the publication, or may be arranged according to the member users.
5)源群组,向目标群组分享自身成员用户在会话中发布的消息流的群组。5) The source group shares the group of message flows published by the member users in the session to the target group.
6)目标群组,将源群组会话中发布的消息流在自身会话中分享的群组。6) Target group, the group that shares the message stream published in the source group session in its own session.
7)成员用户,群组中所包括的用户,包括具有群组管理员权限的管理用户和不具有管理员权限的常规用户。7) Member users, users included in the group, including administrative users with group administrator rights and regular users without administrator rights.
针对相关技术对于实现即时通信的群组之间无法有效进行消息分享、同时避免消息干扰的问题,提供针对源群组与目标群组的群组分享模式。A group sharing mode for a source group and a target group is provided for the problem that the related technologies cannot effectively share messages and avoid message interference between groups that implement instant communication.
具体来说,参见图1,图1是本发明实施例提供的群组会话处理方法的一个可选的业务逻辑架构图示意图,并参见图2,图2是本发明实施例提供的群组会话处理方法的一个可选的流程示意图,确定在群组分享模式中的目标群组、以及确定需要向目标群组进行消息分享的源群组(步骤101)的即时通信场景,通过获取目标群组的成员用户在目标群组会话(即,目标群组的成员用户之间的会话)中发布的消息流(步骤102),以及获取源群组的成员用户在源群组会话(即,源群组的成员用户之间的会话)中发布的消息流(步骤103),除了执行非群组分享模式的业务逻辑,即将消息流发送到所来源的群组中的成员用户,包括:1)向源群组的成员用户发送源群组中其他成员用户在源群组会话中发布的消息流(步骤104);2)向目标群组的成员用户发送目标群组中其他成员用户在目标群组会话中发布的消息流(步骤105);还执行群组分享模式中额外的业务逻辑,即将向目标群组的成员用户发送源群组会话中发布的消息流(步骤106)。Specifically, referring to FIG. 1 , FIG. 1 is a schematic diagram of an optional service logic architecture of a group session processing method according to an embodiment of the present invention, and FIG. 2 is a group session according to an embodiment of the present invention. An optional flow diagram of the processing method, determining a target group in the group sharing mode, and determining an instant communication scenario of the source group (step 101) that needs to share the message to the target group, by acquiring the target group a message flow published by a member user in a target group session (ie, a session between member users of the target group) (step 102), and obtaining a member user of the source group in the source group session (ie, the source group) The message stream published in the session between the member users of the group (step 103), in addition to performing the business logic of the non-group sharing mode, sending the message stream to the member users in the source group, including: 1) The member users of the source group send the message flows advertised by the other member users in the source group in the source group session (step 104); 2) send the other member users in the target group to the target group to the target group Session announcement stream (step 105); a group sharing mode also performs additional business logic, the message stream to be sent (step 106) the source group session issued to users who are members of the target group.
可见,群组分享模式仅需要添加在消息流层面的额外的处理逻辑,即可实现在目标群组中分享源群组会话中发布的消息流的效果,由于额外的处理逻辑能够容易实现与网络侧常规的即时通信的业务处理逻辑(非群组分享模式的业务逻辑)的耦合与解耦,因此,一方面,通过耦合不需要对源群组会话以及目标群组会话在非群组分享模式中的处理逻辑进行改动,也不需要通过合并群组在实现消息分享,实现了高效在群组之间分享消息的效果;另一方面,通过解耦可以方便退出群组分享模式,避免了在群组之间持续分享消息导致干扰的问题,提升了通信效率。It can be seen that the group sharing mode only needs to add additional processing logic at the message flow level to realize the effect of sharing the message flow published in the source group session in the target group, because the additional processing logic can be easily implemented with the network. The coupling and decoupling of the business processing logic of the side-time instant communication (the business logic of the non-group sharing mode), therefore, on the one hand, the coupling does not require the source group session and the target group session in the non-group sharing mode. The processing logic in the change is not needed, and the message sharing is not realized by merging the group, so that the effect of sharing messages between groups is realized efficiently; on the other hand, the group sharing mode can be easily exited by decoupling, thereby avoiding The problem of continuous sharing of messages between groups leads to interference, which improves communication efficiency.
参见图3-1,图3-1是本发明实施例提供的群组会话管理的一个可选的流程示意图,涉及目标群组、源群组和网络侧服务器,适用于这样的即时通信场景,需要将源群组中成员用户在源群组会话中发布的消息流,分享到目标群组中成员用户的会话即目标群组会话中,供目标群组中成员用户观看到消息流中的消息。针对上述即时通信场景的实现,结合图3-1中示出的步骤进行说明。Referring to FIG. 3-1, FIG. 3-1 is an optional schematic flowchart of group session management according to an embodiment of the present invention, which relates to a target group, a source group, and a network side server, and is applicable to such an instant communication scenario. The message flow advertised by the member users in the source group in the source group session is shared into the session of the member user in the target group, that is, the target group session, and the member users in the target group view the message in the message flow. . The implementation of the instant messaging scenario described above is described in conjunction with the steps illustrated in FIG. 3-1.
步骤201,群组(目标群组和/或源群组)的成员用户侧的终端确定在群组分享模式中的目标群组、以及需要与目标群组进行消息分享的源群组,向服务器提交分享请求。Step 201: The terminal user side terminal of the group (target group and/or source group) determines the target group in the group sharing mode, and the source group that needs to share the message with the target group, to the server Submit a sharing request.
群组(包括目标群组和源群组)的成员用户侧的终端运行有即时通信客户端,群组的不同成员用户的即时通信客户端通过服务器建立群组会话,群组即时通信客户端与服务器基于约定的通信协议通信,下文中对即时通信客户端和以及运行即时通信客户端的终端不做区分。The member user side terminal of the group (including the target group and the source group) runs an instant communication client, and the instant communication client of different member users of the group establishes a group session through the server, and the group instant messaging client and the group The server communicates based on the agreed communication protocol, and no distinction is made between the instant messaging client and the terminal running the instant messaging client.
可以理解地,源群组以及目标群组的数量可以一个也可以为多个,另外,为便于说明,下文中以源群组向目标群组进行单向的消息分享为例进行说明,但是同样适用于群组之间进行双向消息分享的即时通信场景。It can be understood that the number of the source group and the target group may be one or more. In addition, for convenience of explanation, the following is a description of the one-way message sharing to the target group by the source group, but the same An instant messaging scenario for two-way message sharing between groups.
例如,以群组1和群组2来说,群组1需要将群组1的成员用户在群组1会话中发布的消息流分享到群组2的会话中,使群组2的成员用户能够看到群组1的成员用户发布的消息;此时,群组1为源群组,群组2为目标群组;同时,群组2需要将群组2的成员用户在群组2会话中发布的消息流分享到群组1的会话中,使群组1的成员用户能够看到群组2的成员用户发布的消息,此时,群组2为源群组,群组1为目标群组。For example, in group 1 and group 2, group 1 needs to share the message stream published by the member users of group 1 in the group 1 session into the session of group 2, so that the member users of group 2 The message posted by the member users of group 1 can be seen; at this time, group 1 is the source group, group 2 is the target group; and group 2 needs to group the member users of group 2 in the group 2 session. The message stream published in the group is shared into the session of the group 1, so that the member users of the group 1 can see the message posted by the member users of the group 2. At this time, the group 2 is the source group, and the group 1 is the target. Group.
在一个实施例中,目标群组的成员用户侧终端通过接收目标群组的成员用户提交的分享请求,其中携带成员用户设定的源群组的标识以及目标群组的标识,将源群组的标识以及目标群组的标识携带在分享请求中提交到服务器。In an embodiment, the member user side terminal of the target group receives the sharing request submitted by the member user of the target group, and carries the identifier of the source group set by the member user and the identifier of the target group, and the source group is used. The identity of the identity and the identity of the target group are carried in the sharing request and submitted to the server.
例如,为了保证消息分享的安全性,终端运行的即时通信客户端根据提交分享请求成员用户的权限,对分享请求有针对性进行处理,包括以下2种可选的方式:For example, in order to ensure the security of message sharing, the instant messaging client running on the terminal processes the sharing request according to the rights of the member who submits the sharing request, including the following two optional methods:
1)目标群组的管理用户提交的分享请求;1) a sharing request submitted by the management user of the target group;
即时通信客户端检测分享请求来源于管理用户时,由于管理用户具有针对目标群组的最高权限,即时通信客户端直接提交分享请求到服务器。When the instant messaging client detects that the sharing request originates from the management user, since the management user has the highest authority for the target group, the instant messaging client directly submits the sharing request to the server.
2)目标群组的常规用户提交的分享请求;2) a sharing request submitted by a regular user of the target group;
即时通信客户端检测分享请求来源于常规用户时,即时通信客户端将分享请求转发到管理用户的即时通信客户端,在管理用户确认后,由管理用户的即时通信客户端向服务器发起分享请求,或者,管理用户的即时通信客户端在接收到来自足够数量(超出阈值)的常规用户的相同分享请求(即携带的源群组标识、目标群组标识相同)时,说明目标群组中存在普遍的需要源群组向目标群组分享消息的需求,则不等待管理用户确认,而直接向服务器提交分享请求,提升消息分享模式的智能化程度。When the instant messaging client detects that the sharing request is from a regular user, the instant messaging client forwards the sharing request to the instant messaging client of the management user. After the management user confirms, the instant messaging client of the management user initiates a sharing request to the server. Alternatively, when the instant messaging client of the management user receives the same sharing request (ie, the source group identifier and the target group identifier are the same) from a sufficient number of regular users (beyond the threshold), it indicates that there is a common in the target group. The need for the source group to share the message to the target group does not wait for the management user to confirm, but directly submits the sharing request to the server to improve the intelligence of the message sharing mode.
在另一个实施例中,源群组的成员用户侧终端通过接收源群组的成员 用户如管理用户或常规用户提交的分享请求,其中携带的源群组的标识以及目标群组的标识,将源群组的标识以及目标群组的标识携带在分享请求中提交到服务器。In another embodiment, the member user side terminal of the source group receives the sharing request submitted by the member user of the source group, such as the management user or the regular user, and the identifier of the source group and the identifier of the target group are carried. The identity of the source group and the identity of the target group are carried in the sharing request and submitted to the server.
例如,与处理来自目标群组的分享请求类似地,为了保证消息分享的安全性,终端运行的即时通信客户端根据提交分享请求成员用户的权限,对分享请求有针对性进行处理,具体来说:For example, similar to the processing of the sharing request from the target group, in order to ensure the security of the message sharing, the instant messaging client running by the terminal processes the sharing request according to the permission of the member who submits the sharing request, specifically :
1)即时通信客户端检测到源群组的管理用户提交的分享请求时,由于管理用户具有针对目标群组的最高权限,即时通信客户端直接提交分享请求到服务器;1) When the instant messaging client detects the sharing request submitted by the management user of the source group, since the management user has the highest authority for the target group, the instant messaging client directly submits the sharing request to the server;
2)即时通信客户端检测分享请求来源于常规用户时,即时通信客户端将分享请求转发到管理用户的即时通信客户端,在管理用户确认后,由管理用户的即时通信客户端向服务器发起分享请求,或者,管理用户的即时通信客户端在接收到来自足够数量(超出阈值)的常规用户的相同分享请求(即携带的源群组标识、目标群组标识相同)时,说明群组中存在普遍的向目标群组分享消息的需求,则不等待管理用户确认,而直接向服务器提交分享请求,提升消息分享模式的智能化程度。2) When the instant messaging client detects that the sharing request originates from a regular 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 managing user initiates sharing with the server. The request, or the instant messaging client of the management user, when receiving the same sharing request from a sufficient number of regular users (beyond the threshold) (ie, the source group identifier carried, the target group identifier is the same), indicates that the group exists The general need to share messages with the target group does not wait for the management user to confirm, but submits the sharing request directly to the server to improve the intelligence of the message sharing mode.
在一个实施例中,作为一种针对服务器所接收的分享请求更为简化的处理方式,服务器对于分享请求可以直接进行响应,即对于每个分享请求都进行响应,建立目标群组与源群组的群组分享副本,根据群组分享副本将源群组会话中发布的消息流(即源群组的成员用户在源群组会话中发布的消息流)发送到目标群组会话中。而在另一个实施例中,服务器通过执行下述可选的步骤202,保证群组会话中所发布消息的安全性。In one embodiment, as a more simplified processing method for the sharing request received by the server, the server can directly respond to the sharing request, that is, respond to each sharing request, and establish a target group and a source group. The group share copy, and the message stream published in the source group session (that is, the message stream published by the member members of the source group in the source group session) is sent to the target group session according to the group share 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.
步骤202,服务器验证分享请求,验证通过后建立目标群组与源群组的群组分享副本。Step 202: The server verifies the sharing request, and after the verification succeeds, establishes a shared copy of the target group and the group of the source group.
在一个实施例中,服务器基于分享请求携带的源群组的标识与目标群 组的标识,检测到满足以下条件至少之一时,确定源群组能够向目标群组进行消息分享,并建立相应的群组分享副本,其中记录有目标群组的标识与源群组的标识,还记录有目标群组的成员用户与源群组的成员用户。In an embodiment, the server determines, according to the identifier of the source group and the identifier of the target group that the sharing request carries, that the source group can share the message with the target group, and establish a corresponding The group shares a copy, in which the identifier of the target group and the identifier of the source group are recorded, and the member users of the target group and the member users of the source group are also recorded.
就上述条件而言,包括以下几种类型的条件:In terms of the above conditions, the following types of conditions are included:
条件1)源群组与目标群组的管理用户相同。Condition 1) The source group is the same as the management user of the target group.
例如,管理用户可以为群组(源群组和目标群组)的任意具有管理员权限的成员用户,包括群组的建立用户(默认具有管理员权限)、以及被分配有管理员权限的用户。在源群组和目标群组的管理用户相同的情况下进行消息分享,能够避免管理用户不同的群组之间进行消息分享导致隐私泄露的问题。For example, the management user can be any member user with administrator rights for the group (source group and target group), including the group establishment user (default has administrator rights), and the user who is assigned administrator rights. . The message sharing in the case where the management users of the source group and the target group are the same can avoid the problem of privacy leakage caused by message sharing between different groups of management users.
条件2)源群组与目标群组的话题满足相似条件。Condition 2) The topics of the source group and the target group satisfy similar conditions.
源群组与目标群组的管理用户建立相应群组时所设定的类别相同。The source group is the same as the category set when the administrative user of the target group establishes the corresponding group.
例如,目标群组与源群组均为育婴讨论群,或者均为预定类别下的子类,如源群组的类别为美甲,目标群组的类别为手部保养,均为美容类别下的子类。通过条件2)验证分享请求能够避免向目标群组发送的源群组会话中的消息流与源群组话题不一致,而导致的消息干扰的问题,实现提升通信效率的效果。For example, the target group and the source group are both a parenting discussion group, or a sub-category under the predetermined category, for example, the source group category is nail art, and the target group category is hand maintenance, all under the beauty category. Subclass. The condition 2) verifying the sharing request can avoid the problem that the message flow in the source group session sent to the target group is inconsistent with the source group topic, and the message interference is caused, thereby improving the communication efficiency.
条件3)源群组与目标群组的相同成员用户的数量超出相同成员数量阈值。Condition 3) The number of the same member users of the source group and the target group exceeds the same number of members threshold.
当源群组与目标群组的相同成员用户的数量越大,则群组之间话题的相似概率越大,通过群组分享,可以避免管理用户在源群组与目标群组发布相同消息时,大量用户重复接收消息的问题,节约服务器的资源,同时减小对用户的干扰。When the number of the same member users of the source group and the target group is larger, the similarity probability of the topic between the groups is larger. By group sharing, the management user can avoid the same message when the source group and the target group publish the same message. A large number of users repeatedly receive messages, saving server resources while reducing interference to users.
条件4)源群组与目标群组的用户如管理用户或成员用户曾经发布相同的历史消息。Condition 4) The source group and the user of the target group, such as an administrative user or a member user, have previously published the same history message.
当管理用户同时是源群组与目标群组的成员用户(如均为管理用户)时,若曾经在源群组与目标群组发布相同的历史消息,那么通过群组分享模式可以节约管理用户在群组中发布相同消息的操作,特别是管理用户建立有多个群组时,能够显著提升通信效率。When the management user is both a source group and a member user of the target group (for example, both are management users), if the same history message is published in the source group and the target group, the group sharing mode can save the management user. The operation of publishing the same message in a group, especially when the management user establishes multiple groups, can significantly improve communication efficiency.
可以理解地,上述条件根据实际即时通信场景择一或组合使用,以条件1)和条件2)结合的示例来说,假设用户建立了群组1、群组2和群组3,群组的类别均为化妆品,那么,当用户需要在群组1发布一系列的化妆品的团购信息,又希望发布群组2、3的用户也能看到这些团购信息时,提交如下的分享请求:源群组为群组1,目标群组为群组2和群组3。It can be understood that the above conditions are selected or used according to the actual instant communication scenario. In the example of combining the condition 1) and the condition 2), it is assumed that the user establishes the group 1, the group 2 and the group 3, the group The categories are all cosmetics. Then, when the user needs to publish a series of cosmetics group purchase information in group 1, and also wants to release group 2, 3 users can also see the group purchase information, submit the following sharing request: source group The group is group 1, and the target group is group 2 and group 3.
步骤203,服务器获取源群组的成员用户在源群组会话中发布的消息流。Step 203: The server acquires a message flow published by a member user of the source group in the source group session.
源群组的成员用户在源群组会话中发布的消息流,包括源群组的全部成员用户即时发布的消息,一般地,按照消息的发布时间排序形成消息流,当然,也可以按照成员用户等其他维度进行排序。A message flow advertised by a member user of a source group in a source group session, including messages that are immediately advertised by all member users of the source group. Generally, messages are sorted according to the time of publication of the message, and of course, member users may also be used. Sort by other dimensions.
在一个实施例中,存在这样的即时通信场景,源群组的成员用户在源群组会话中发布的消息流具有隐私保护的需求,例如希望所发布的消息不被源群组之外的成员用户看到,从而实现根据用户需求灵活控制消息是否允许跨群组分享的效果,保证消息安全。In one embodiment, there is an instant messaging scenario in which a message stream posted by a member user of a source group in a source group session has a privacy protection requirement, such as a message that the published message is not expected to be outside the source group. The user sees, so as to realize the effect of flexibly controlling whether the message is allowed to be shared across groups according to user requirements, and ensuring message security.
为此,源群组的成员用户侧终端运行即时通信客户端,支持源群组的成员用户设定在源群组中发布消息流各消息的消息属性,通过消息属性来指示消息流是否允许向目标群组分享,相应地,服务器确定源群组的成员用户在源群组会话中所发布消息的消息属性,确定具有允许向目标群组分享的消息属性的消息并将消息整合,形成待发送至源群组的成员用户的消息流。To this end, the member user side terminal of the source group runs the instant messaging client, and the member users supporting the source group set the message attribute of each message in the message group published in the source group, and indicate whether the message flow is allowed by the message attribute. Target group sharing, correspondingly, the server determines the message attribute of the message published by the member user of the source group in the source group session, determines the message with the message attribute allowed to be shared to the target group, and integrates the message to form a to-be-sent The message flow to member users of the source group.
举例来说,消息属性包括:For example, message attributes include:
1)消息可见范围,用于指示允许观看源群组会话中所发布消息流的用户,可见范围以成员用户为粒度,或者以群组为例粒度。1) The visible range of the message is used to indicate the user who is allowed to view the message flow published in the source group session. The visible range is the granularity of the member user, or the group is used as the granularity.
例如,源群组的成员用户可以在即时通信客户端中向服务器提交设置这样的消息属性:只允许本群组用户观看,相应地,该成员用户在源群组会话中发布的消息流中具有“可见范围-只允许本群组用户观看”的消息属性,则服务器确定该消息流不支持向目标群组分享。For example, a member user of the source group can submit a message attribute to the server in the instant messaging client: only the user of the group is allowed to view, and accordingly, the member user has a message flow in the source group session. The message attribute of "visible range - only allows the users of this group to watch", the server determines that the message flow does not support sharing to the target group.
又例如,源群组的成员用户可以在即时通信客户端中向服务器提交设置这样的可见范围:允许群组外的用户观看,相应地,该成员用户在源群组会话中发布的消息流中具有“可见范围-允许群组外的用户观看”,则服务器确定该消息流支持向目标群组分享。For another example, a member user of the source group can submit a visible range to the server in the instant messaging client: allowing the user outside the group to view, and correspondingly, the member user is in the message stream published in the source group session. With "visible range - allowing users to view outside the group", the server determines that the message flow supports sharing to the target group.
再例如,源群组的成员用户可以在即时通信客户端中向服务器提交设置这样的可见范围:允许本群组内的用户1、用户2、……用户n观看,相应地,该成员用户在源群组会话中发布的消息流中具有“允许本群组内的用户1、用户2、……用户n观看”的消息属性,则服务器确定该消息流不支持向目标群组分享。For another example, a member user of the source group can submit a visible range to the server in the instant messaging client: allowing user 1, user 2, ... user n within the group to view, correspondingly, the member user is The message stream published in the source group session has a message attribute of "allow user 1, user 2, ... user n in the group to watch", and the server determines that the message stream does not support sharing to the target group.
可见,当源群组会话中所发布的消息流的可见范围包括目标群组时,服务器确定消息流允许向目标群组分享。It can be seen that when the visible range of the message flow published in the source group session includes the target group, the server determines that the message flow is allowed to be shared to the target group.
2)消息类型,用于从消息的类型的维度指示允许观看源群组会话中所发布消息流的用户。2) A message type for indicating the user who is allowed to view the message stream published in the source group session from the dimension of the type of the message.
例如,源群组的成员用户可以在即时通信客户端中向服务器提交设置这样的消息属性:文本消息-运行群组外用户观看,文件分享消息(包括指向源群组的分享空间的链接)-仅允许本群组用户观看。那么,该成员用户在源群组会话中发布的消息流中具有“可见范围-允许群组外的用户观看”的消息属性,对于消息流中的文本类型的消息,则服务器确定该消息流支持向目标群组分享;对于消息流中的文件分享消息,则服务器确定不支持 向目标群组分享。For example, a member user of the source group can submit such a message attribute to the server in the instant messaging client: text message - run outside the group user view, file share message (including a link to the source group's share space) - Only users of this group are allowed to watch. Then, the member user has a message attribute of “visible range-allowing user viewing outside the group” in the message flow published in the source group session, and the server determines the message flow support for the text type message in the message flow. Share to the target group; for file sharing messages in the message flow, the server determines that sharing to the target group is not supported.
可见,当源群组会话中所发布的消息流的消息类型为允许向目标群组分享的消息的类型时,服务器确定消息流允许向目标群组分享。It can be seen that when the message type of the message stream published in the source group session is the type of 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.
步骤204,服务器获取目标群组的成员用户在目标群组会话中发布的消息流。Step 204: The server acquires a message flow published by a member user of the target group in the target group session.
源群组的成员用户在目标群组会话中发布的消息流,包括目标群组的全部成员用户即时发布的消息,一般地,按照消息的发布时间排序形成消息流,当然,可以按照成员用户等其他维度进行排序。The message flows advertised by the member users of the source group in the target group session, including the messages immediately published by all member users of the target group. Generally, the message flows are sorted according to the time of publication of the message, and of course, according to member users, etc. Sort other dimensions.
下述步骤205以及步骤206为针对步骤203的响应,步骤207为针对步骤207的响应,其中步骤204与步骤205的执行顺序可以任意调换或者并行执行。The following steps 205 and 206 are responses to step 203, and step 207 is a response to step 207, wherein the order of execution of step 204 and step 205 can be arbitrarily switched or executed in parallel.
步骤205,服务器向源群组的成员用户发送源群组中其他成员用户在源群组会话中发布的消息流。Step 205: The server sends the message flow advertised by the other member users in the source group in the source group session to the member users of the source group.
由于源群组的成员用户处于即时通信场景,因此,当服务器接收到源群组成员用户在源群组会话中发布的消息流时,实时将消息流发送源群组中其他成员用户,保证即时通信的时效。Since the member users of the source group are in the instant communication scenario, when the server receives the message stream advertised by the source group member user in the source group session, the message stream is sent to other member users in the source group in real time to ensure immediate The timeliness of communication.
步骤206,源群组中其他成员用户侧的终端接收消息流,并在终端运行的即时通信客户端的源群组会话窗口中加载所接收的消息流。Step 206: The terminal of the other member user side in the source group receives the message flow, and loads the received message flow in the source group session window of the instant messaging client running in the terminal.
对于步骤205和步骤206来说,以源群组包括成员用户1至成员用户10为例,当服务器接收到成员用户1和成员用户2通过即时通信客户端发送的消息后整合形成消息流,将消息流推送到源群组中的其他用户即成员用户3至成员用户10的即时通信客户端。For the step 205 and the step 206, the source group includes the member user 1 to the member user 10 as an example. When the server receives the message sent by the member user 1 and the member user 2 through the instant messaging client, the message stream is integrated. The message flow is pushed to other users in the source group, namely member user 3 to instant messaging client of member user 10.
另外,即时通信客户端之后源群组成员用户在发布消息时设定消息属性如消息所屏蔽的用户,相应地,服务器还根据消息流中各消息的消息属性,确定其他用户中消息所屏蔽的用户,向其他成员用户中未被屏蔽的用 户发送消息流。In addition, after the instant messaging client, the source group member user sets the message attribute such as the user blocked by the message when the message is published, and accordingly, the server determines the message blocked by the other user according to the message attribute of each message in the message flow. User, sending a message flow to unmasked users of other member users.
步骤207,服务器向目标群组的成员用户发送源群组会话中发布的消息流。Step 207: The server sends the message flow published in the source group session to the member user of the target group.
在一个实施例中,当服务器在步骤203中获取到源群组的成员用户在源群组会话中发布的消息流时,在向源群组的成员用户发送源群组中其他成员用户在源群组会话中发布的消息流时,还同步将该消息流(执行顺序不分先后)发送到目标群组的群组的其他成员用户,这样,能够实现目标群组的成员用户也能够即时看到源群组的消息流的效果。In an embodiment, when the server obtains the message flow published by the member user of the source group in the source group session in step 203, the other member users in the source group are sent to the source user group member in the source group. When the message stream is published in the group session, the message stream (execution order is not sequentially) is sent to other member users of the group of the target group, so that the member users of the target group can also be seen immediately. The effect of the message flow to the source group.
在另一个实施例中,对于源群组会话中所发布的消息流来说,目标群组的成员用户并不具有实时观看的需求,相应地,服务器通过判断获取的消息流是否满足发送条件,在发送条件满足时将所收集的源群组会话中发布的消息流向目标群组的成员用户发送,举例来说:In another embodiment, for the message flow published in the source group session, the member users of the target group do not have the requirement of real-time viewing, and accordingly, the server determines whether the acquired message flow satisfies the sending condition, Sending the message flow advertised in the collected source group session to the member user of the target group when the sending condition is satisfied, for example:
1)获取消息流的预定周期(如一小时,又如一天)的计时到达后,将在预定周期内收集的源群组会话中发布的消息流,向目标群组的成员用户发送。1) After the timing of acquiring the predetermined period of the message flow (for example, one hour, and another day) arrives, the message flow published in the source group session collected in the predetermined period is sent to the member users of the target group.
2)获取消息流中消息的数量(如100条)到达预定数量后,将在收集的源群组会话中发布的消息流,向目标群组的成员用户发送。2) After the number of messages in the message stream (such as 100) is reached, the message stream advertised in the collected source group session is sent to the member users of the target group.
3)获取消息流中占用的占用完毕预分配的存储空间(如3兆字节)时,将在收集的源群组会话中发布的消息流,向目标群组的成员用户发送。3) When the pre-allocated storage space (for example, 3 megabytes) occupied by the message stream is obtained, the message flow advertised in the collected source group session is sent to the member users of the target group.
在预定发送条件到达时,将在预定周期内获取的源群组会话中发布的消息流向目标群组的成员用户发送。这样,不但实现了跨群组分享消息的效果,而且,对于服务器来说能够实现节省处理资源的效果,同时,也避免了对目标群组的成员用户频繁推送源群组的消息流而造成干扰的情况。When the predetermined transmission condition arrives, the message flow published in the source group session acquired in the predetermined period is sent to the member user of the target group. In this way, not only the effect of sharing messages across groups is realized, but also the effect of saving processing resources can be realized for the server, and at the same time, the interference of the message stream of the source group frequently being pushed by the member users of the target group is avoided. Case.
在另一个实施例中,如步骤207所述,服务器向目标群组的成员用户发送源群组会话中发布的消息流时,可以向目标群组的全部成员用户发送 源群组会话中发布的消息流,相应地,目标群组的全部成员用户均接收到消息流。In another embodiment, as described in step 207, when the server sends the message flow published in the source group session to the member user of the target group, the server may send the source group session to all member users of the target group. The message flow, correspondingly, all member users of the target group receive the message flow.
可替换地,服务器可以根据目标群组中成员用户的标识,向目标群组的部分成员用户发送源群组会话中发布的消息流,示例性地,部分成员用户包括以下几种情况:Alternatively, the server may send the message flow published in the source group session to some member users of the target group according to the identifier of the member user in the target group. For example, some member users include the following situations:
1)部分成员用户为目标群组中具有权限接收源群组会话中发布的消息流的成员用户1) Some member users are member users of the message stream published in the target group with the permission to receive the source group session
例如,存在这样的即时通信场景,目标群组的管理用户仅希望部分成员用户能够接收源群组会话中所发布消息流,通过即时通信客户端在服务器为该部分成员用户分配相应的权限。For example, there is such an instant communication scenario that the management user of the target group only wants some member users to receive the message stream published in the source group session, and allocates corresponding rights to the part member users through the instant messaging client.
2)部分成员用户为目标群组中请求限接收源群组会话中发布的消息流的成员用户2) Some member users are member users in the target group requesting to receive the message stream published in the source group session.
例如,存在这样的即时通信场景,目标群组的管理用户仅希望部分成员用户能够接收源群组会话中所发布消息流,通过即时通信客户端在服务器为该部分成员用户分配相应的权限。For example, there is such an instant communication scenario that the management user of the target group only wants some member users to receive the message stream published in the source group session, and allocates corresponding rights to the part member users through the instant messaging client.
服务器根据目标群组中成员用户的实际请求(如是否具有接收分享的权限或是否请求分享),向目标群组中的部分成员用户精确推送消息流,在实现跨群组消息分享的同时,避免对目标群组中的成员用户造成干扰,提升了通信效率。The server accurately pushes the message flow to some member users in the target group according to the actual request of the member users in the target group (such as whether to have the right to receive the sharing or whether to request sharing), so as to avoid cross-group message sharing while avoiding It causes interference to member users in the target group and improves communication efficiency.
步骤208,服务器向目标群组的成员用户发送目标群组中其他成员用户在目标群组会话中发布的消息流。Step 208: The server sends, to the member user of the target group, a message flow published by the other member users in the target group in the target group session.
对于步骤208来说,以目标群组包括成员用户1至成员用户10为例,当服务器接收到成员用户1和成员用户2通过即时通信客户端发送的消息后整合形成消息流,将消息流推送到目标群组中的其他用户即成员用户3至成员用户10的即时通信客户端。For the step 208, the target group includes the member user 1 to the member user 10 as an example. When the server receives the message sent by the member user 1 and the member user 2 through the instant messaging client, the message flow is integrated to push the message stream. The other users in the target group are the instant messaging clients of member users 3 to member users 10.
下述步骤209和步骤210为目标群组的成员用户获取到服务器发送的源群组的成员用户在源群组会话中发布的消息流,以及获取服务器发送的目标群组的成员用户在目标群组会话中发布的消息流时进行的响应处理。The following steps 209 and 210 are performed for the member users of the target group to obtain the message flow published by the member users of the source group sent by the server in the source group session, and the member users of the target group sent by the server are in the target group. Response processing when a message stream is published in a group session.
步骤209,目标群组的成员用户侧终端,在所运行的即时通信客户端中,更新目标群组的原始会话窗口为对应目标群组以及源群组的分享会话窗口。Step 209: The member user terminal of the target group updates the original session window of the target group to the sharing session window of the corresponding target group and the source group in the running instant messaging client.
在一个实施例中,将更新目标群组的原始会话窗口的属性为对应目标群组以及源群组的分享会话窗口的属性,属性包括以下至少之一:群组名称;群组话题;群组的管理用户。In an embodiment, the attribute of the original session window of the update target group is the attribute of the corresponding target group and the sharing session window of the source group, and the attribute includes at least one of the following: a group name; a group topic; a group Management user.
另外,根据目标群组与源群组的是否存在相同的成员用户(称为共有成员用户),更新原始会话窗口包括以下2种情况:In addition, according to whether the target group and the source group have the same member user (referred to as a shared member user), updating the original session window includes the following two cases:
情况1)目标群组与源群组不存在相同的成员用户,那么,对于目标群组的成员用户侧的即时通信客户端来说,更新目标群组的属性为分享窗口的属性,如在分享会话窗口的标题栏显示源群组以及目标群组的名称,提示当前会话窗口用于消息分享。Case 1) The target group does not have the same member user as the source group. Then, for the instant messaging client on the member user side of the target group, the attribute of the update target group is the attribute of the sharing window, such as sharing. The title bar of the session window displays the source group and the name of the target group, prompting the current session window for message sharing.
情况2)目标群组与源群组具有共有成员用户,在共有成员用户侧的即时通信客户端来说,显示有目标群组的原始会话窗口、以及源群组的原始会话窗口,由于需要将源群组会话中传输的消息流分享到目标群组,因此,没有必要同时显示2个群组的会话窗口,相应地,合并共有成员用户侧的目标群组的原始会话窗口、以及源群组的原始会话窗口,将合并的会话窗口作为分享会话窗口。Case 2) The target group and the source group have a shared member user. On the shared member user side instant communication client, the original session window of the target group and the original session window of the source group are displayed, as needed The message stream transmitted in the source group session is shared to the target group. Therefore, it is not necessary to simultaneously display the session windows of the two groups, and correspondingly, the original session window of the target group on the shared member user side, and the source group are merged. The original session window, which will be the shared session window.
步骤210,目标群组的成员用户侧终端,在所运行的即时通信客户端的分享会话窗口中加载源群组会话中发布的消息流、以及加载目标群组会话中发布的消息流。Step 210: The member user side terminal of the target group loads the message flow published in the source group session and the message flow published in the target group session in the sharing session window of the running instant messaging client.
将源群组的会话中发布的消息流、以及目标群组的会话中发布的消息 流中的消息按照发布顺序、来源用户或来源群组进行排序,并在分享会话窗口中加载排序后的消息。Sorting the message flows published in the session of the source group and the messages in the message stream published in the session of the target group in the order of publication, source user or source group, and loading the sorted message in the sharing session window .
在一个实施例中,提供基于群组的管理用户的请求退出群组分享模式的方案,并提供根据目标群组的常规用户的请求,为常规用户退出群组分享模式的方案。参见图3-2,图3-2是本发明实施例提供的群组会话管理的一个可选的流程示意图,基于图3-1,还包括以下步骤:In one embodiment, a solution for the group-based management user to exit the group sharing mode is provided, and a solution for exiting the group sharing mode for the regular user according to the request of the regular user of the target group is provided. Referring to FIG. 3-2, FIG. 3-2 is an optional flowchart of group session management according to an embodiment of the present invention. Based on FIG. 3-1, the following steps are further included:
步骤211,源群组和/或目标群组的管理用户侧终端向服务器提交退出群组分享模式的请求。Step 211: The management user side terminal of the source group and/or the target group submits a request to exit the group sharing mode to the server.
步骤212,服务器终止向目标群组的成员(包括管理用户和常规用户)用户发送源群组会话中发布的消息流,并撤销群组分享副本。Step 212: The server terminates sending the message flow published in the source group session to the members of the target group (including the management user and the regular user), and cancels the group share copy.
步骤213,目标群组的成员用户侧终端在运行的即时通信客户端中退出群组分享模式,将分享会话窗口还原为目标群组的原始会话窗口。Step 213: The member user terminal of the target group exits the group sharing mode in the running instant messaging client, and restores the sharing session window to the original session window of the target group.
根据目标群组的成员用户是否为目标群组中与源群组的共有成员用户,将分享会话窗口还原为目标群组的原始会话窗口的处理包括以下2种情况:According to whether the member user of the target group is a shared member user of the target group in the target group, the process of restoring the sharing session window to the original session window of the target group includes the following two cases:
情况1)当目标群组的成员用户是目标群组与源群组的共有成员用户时,在共有成员用户侧的即时通信客户端中,还原相应成员用户侧的分享会话窗口为目标群组的原始会话窗口、以及源群组的原始会话窗口;Case 1) When the member user of the target group is a shared member user of the target group and the source group, in the instant messaging client on the shared member user side, the sharing session window of the corresponding member user side is restored as the target group. The original session window, as well as the original session window of the source group;
情况2)当目标群组的成员用户不是目标群组与源群组的共有成员用户时,在共有成员用户侧的即时通信客户端中,还原相应成员用户侧的分享会话窗口为目标群组的原始会话窗口。Case 2) When the member user of the target group is not a shared member user of the target group and the source group, in the instant messaging client on the shared member user side, the sharing session window of the corresponding member user side is restored as the target group. The original session window.
这样,当需要退出群组分享模式时,服务器只需要终止向目标群组的成员用户发送源群组会话中发布的消息流,并继续向源群组的成员用户发送源群组中其他成员用户在源群组会话中发布的消息流,供即时通信客户端在所还原的目标群组的原始会话窗口中加载;同时,服务器还继续向目 标群组的成员用户发送目标群组中其他成员用户在目标群组会话中发布的消息流,供即时通信客户端在所还原的目标群组的原始会话窗口中加载,即可实现与群组分享模式的相关业务逻辑的解耦。In this way, when the group sharing mode needs to be exited, the server only needs to terminate sending the message flow published in the source group session to the member users of the target group, and continue to send other member users in the source group to the member users of the source group. The message stream advertised in the source group session for the instant messaging client to load in the original session window of the restored target group; meanwhile, the server continues to send other member users in the target group to the member users of the target group The message flow published in the target group session is loaded by the instant messaging client in the original session window of the restored target group, thereby realizing the decoupling of the related business logic from the group sharing mode.
通过在群组分享模式和非群组分享模式之间复用部分业务逻辑的架构,可以实现在群组分享模式和非群组分享模式之间高效切换的效果,与分别针对群组分享模式和非群组分享模式维护独立的业务逻辑相比,切换效率更高而且节约服务器资源。By multiplexing the structure of part of the business logic between the group sharing mode and the non-group sharing mode, the effect of efficiently switching between the group sharing mode and the non-group sharing mode can be achieved, and the group sharing mode and Compared with the independent business logic, the non-group sharing mode is more efficient in switching and saves server resources.
在一个实施例中,提供基于群组的常规用户的请求退出群组分享模式的方案,并提供根据目标群组的常规用户的请求,为常规用户退出群组分享模式的方案。参见图3-3,图3-3是本发明实施例提供的群组会话管理的一个可选的流程示意图,基于图3-1,还包括以下步骤:In one embodiment, a scheme of requesting a group-based regular user to exit the group sharing mode is provided, and a solution for exiting the group sharing mode for the regular user according to the request of the regular user of the target group is provided. Referring to FIG. 3-3, FIG. 3-3 is an optional schematic flowchart of group session management according to an embodiment of the present invention. Based on FIG. 3-1, the following steps are further included:
步骤214,目标群组的常规用户侧终端向服务器提交退出群组分享模式的请求。Step 214: The regular user-side terminal of the target group submits a request to exit the group sharing mode to the server.
步骤215,服务器终止向目标群组的常规用户成员发送源群组会话中发布的消息流。In step 215, the server terminates sending the message stream published in the source group session to the regular user member of the target group.
服务器终止向目标群组的成员用户发送源群组会话中发布的消息流,并继续向源群组的成员用户发送源群组中其他成员用户在源群组会话中发布的消息流,供即时通信客户端在所还原的目标群组的原始会话窗口中加载。The server terminates sending the message flow advertised in the source group session to the member users of the target group, and continues to send the message flow advertised by the other member users in the source group in the source group session to the member users of the source group for immediate use. The communication client is loaded in the original session window of the restored target group.
步骤216,目标群组的常规用户侧终端在运行的即时通信客户端中退出群组分享模式,将分享会话窗口还原为目标群组的原始会话窗口。Step 216: The regular user-side terminal of the target group exits the group sharing mode in the running instant messaging client, and restores the sharing session window to the original session window of the target group.
步骤217,目标群组的常规用户侧终端在运行的即时通信客户端中,在目标群组的原始会话窗口继续加载目标群组会话中发布的消息流。Step 217: The regular user-side terminal of the target group continues to load the message flow published in the target group session in the original session window of the target group in the running instant messaging client.
根据目标群组的常规用户是否为目标群组中与源群组的共有成员用户,将分享会话窗口还原为目标群组的原始会话窗口的处理包括以下2种 情况:According to whether the regular user of the target group is a shared member user of the target group in the target group, the process of restoring the sharing session window to the original session window of the target group includes the following two cases:
情况1)当目标群组的常规用户是目标群组与源群组的共有成员用户时,在常规用户侧的即时通信客户端中,还原相应常规用户侧的分享会话窗口为目标群组的原始会话窗口、以及源群组的原始会话窗口;Case 1) When the regular user of the target group is a shared member user of the target group and the source group, in the instant messaging client of the regular user side, the sharing session window of the corresponding regular user side is restored as the original of the target group. The session window, and the original session window of the source group;
情况2)当目标群组的常规用户不是目标群组与源群组的共有成员用户时,在共有成员用户侧的即时通信客户端中,还原相应成员用户侧的分享会话窗口为目标群组的原始会话窗口。Case 2) When the regular user of the target group is not the shared member user of the target group and the source group, in the instant messaging client on the shared member user side, the sharing session window of the corresponding member user side is restored as the target group. The original session window.
对于目标群组中未提交退出群组分享模式的请求的成员来说,仍然会继续接收到源群组会话中所发布的消息流,通过支持目标群组中的成员用户主动退出群组分享模式,提升了群组分享模式的灵活性,避免消息干扰。For the members of the target group that have not submitted the request to exit the group sharing mode, the message stream published in the source group session will continue to be received, and the member users in the target group actively exit the group sharing mode. Improves the flexibility of group sharing mode and avoids message interference.
继续对群组分享模式以及非群组分享模式的消息记录的处理进行说明,在一个实施例中,在处于群组分享模式时,服务器在目标群组的服务器侧的消息记录中源群组会话中发布的消息流,以及目标群组中成员用户在目标群组会话中发布的消息流(步骤218),另外,还可以根据目标群组的成员用户的需求将消息记录同步到成员用户侧的即时通信客户端中供查看。Continuing with the processing of the message sharing mode and the message recording of the non-group sharing mode, in one embodiment, when in the group sharing mode, the server is in the source group session in the message record of the server side of the target group. The message stream published in the message stream, and the message stream advertised by the member user in the target group session in the target group session (step 218). In addition, the message record can be synchronized to the member user side according to the needs of the member users of the target group. Instant messaging client for viewing.
在退出群组分享模式时,在服务器维护的目标群组的服务器侧的消息记录中删除源群组会话中发布的消息流(步骤219),另外,还可将目标群组的成员用户侧(如即时通信客户端中)的已同步的消息记录中删除源群组会话中发布的消息流,仅保留目标群组会话中发布的消息流,这样,对于目标群组的成员用户来说,包括源群组会话中所发布的消息流的消息记录,仅在群组分享模式的生命周期内有效,在退出群组分享模式后则无法查看,实现了保证消息安全的效果。When exiting the group sharing mode, the message flow published 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 the member user side of the target group may also be The message stream advertised in the source group session is deleted from the synchronized message record in the instant messaging client, and only the message stream published in the target group session is retained, so that for the member users of the target group, The message record of the message flow advertised in the source group session is valid only 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 message security.
对前述的终端以及服务器的软硬件架构进行说明,在软件层面上,群 组会话处理装置可以实施为存储于存储介质的可执行指令,包括诸如程序、模块之类的计算机可执行指令,存储介质可以分别设置在即时通信服务器和用户侧终端,如为设置在用户侧终端中运行的即时通信客户端以及在网络侧服务器中设置的即时通信管理服务。The foregoing description of the terminal and the software and hardware architecture of the server may be implemented. At the software level, the group session processing device may be implemented as executable instructions stored in a storage medium, including computer executable instructions such as programs, modules, and storage media. It can be separately set in the instant messaging server and the user side terminal, such as an instant messaging client installed in the user side terminal and an instant communication management service set in the network side server.
如上所述,参见图4示出的本发明实施例提供的群组会话处理装置14的一个可选的软硬件结构示意图,群组会话处理装置14包括硬件层、中间层、操作系统层和软件层。然而,本领域的技术人员应当理解,图4示出的群组会话处理装置14的结构仅为示例,并不构成对群组会话处理装置14结构的限定。例如,群组会话处理装置14可以根据实施需要设置较图4更多的组件,或者根据实施需要省略设置部分组件。As described above, referring to an optional hardware and software structure diagram of the group session processing apparatus 14 provided by the embodiment of the present invention shown in FIG. 4, the group session processing apparatus 14 includes a hardware layer, an intermediate layer, an operating system layer, and software. Floor. However, those skilled in the art should understand that the structure of the group session processing device 14 shown in FIG. 4 is merely an example and does not constitute a limitation on the structure of the group session processing device 14. For example, the group session processing device 14 may set more components than FIG. 4 according to implementation requirements, or omit setting partial components according to implementation needs.
群组会话处理装置14的硬件层包括处理器141、输入/输出接口143,存储介质144以及网络接口142,组件可以经系统总线连接通信。The hardware layer of the group session processing device 14 includes a processor 141, an input/output interface 143, a storage medium 144, and a network interface 142 through which components can communicate via a system bus connection.
处理器141可以采用中央处理器(CPU)、微处理器(MCU,Microcontroller Unit)、专用集成电路(ASIC,Application Specific Integrated Circuit)或逻辑可编程门阵列(FPGA,Field-Programmable Gate Array)实现。The processor 141 can be implemented by using a central processing unit (CPU), a microprocessor (MCU, Microcontroller Unit), an application specific integrated circuit (ASIC), or a field-programmable gate array (FPGA).
输入/输出接口143可以采用如显示屏、触摸屏、扬声器等输入/输出器件实现。The input/output interface 143 can be implemented using input/output devices such as a display screen, a touch screen, and a speaker.
存储介质144可以采用闪存、硬盘、光盘等非易失性存储介质实现,也可以采用双倍率(DDR,Double Data Rate)动态缓存等易失性存储介质实现,其中存储有用以执行上述群组会话处理方法的可执行指令。The storage medium 144 may be implemented by using a non-volatile storage medium such as a flash memory, a hard disk, or an optical disk, or may be implemented by using a volatile storage medium such as a double rate (DDR) double-dimensional (DDR) dynamic cache, where the storage is useful to perform the group conversation. An executable instruction that handles the method.
示例性地,存储介质144可以与群组会话处理装置14共同在同一地点设置,也可以相对于群组会话处理装置14异地远程设置,或者相对群组会话处理装置14本地和异地分布设置。网络接口142向处理器141提供外部数据如异地设置的存储介质144的访问能力,示例性地,网络接口142可 以基于近场通信(NFC,Near Field Communication)技术、蓝牙(Bluetooth)技术、紫蜂(ZigBee)技术进行的近距离通信,另外,还可以实现如基于码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)等通信制式及其演进制式的通信。Illustratively, the storage medium 144 may be co-located with the group session processing device 14 at the same location, or remotely with respect to the group session processing device 14 remotely, or distributed locally and remotely with respect to the group session processing device 14. The network interface 142 provides the processor 141 with access capabilities of external data such as a remotely located storage medium 144. Illustratively, the network interface 142 may be based on Near Field Communication (NFC) technology, Bluetooth technology, ZigBee (ZigBee) technology for short-range communication, and can also implement communication systems such as Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), and its evolution. Standard communication.
驱动层包括用于供操作系统146识别硬件层并与硬件层各组件通信的中间件145,例如可以为针对硬件层的各组件的驱动程序的集合。The driver layer includes middleware 145 for the operating system 146 to identify and communicate with the hardware layer components, such as a collection of drivers for the various components of the hardware layer.
操作系统146用于提供面向用户的图形界面,示例性地,包括插件图标、桌面背景和应用图标,操作系统146支持用户经由图形界面对设备的控制本发明实施例对上述设备的软件环境如操作系统类型、版本不做限定,例如可以是安卓操作系统、iOS操作系统、Linux操作系统或UNIX操作系统等。The operating system 146 is configured to provide a user-oriented graphical interface, including, by way of example, a plug-in icon, a desktop background, and an application icon, and the operating system 146 supports user control of the device via a graphical interface. The software environment of the device is operated as an embodiment of the present invention. The system type and version are not limited. For example, it may be an Android operating system, an iOS operating system, a Linux operating system, or a UNIX operating system.
操作系统层运行与即时通信相关的应用147,对于用户侧终端来说应用147可以为即时通信客户端,对于网络侧终端来说应用147可以为用于实现即时通信功能的后台服务。The operating system layer runs an application 147 related to instant messaging. For the user-side terminal, the application 147 can be an instant messaging client, and for the network-side terminal, the application 147 can be a background service for implementing the instant messaging function.
对前述服务器的功能结构进行说明,参见图5,图5是本发明实施例提供的服务器50的一个可选的功能结构示意图,包括:The function structure of the foregoing server is described. Referring to FIG. 5, FIG. 5 is a schematic structural diagram of an optional function of the server 50 according to the embodiment of the present invention, including:
确定单元51,配置为确定在群组分享模式中的目标群组、以及确定需要向目标群组进行消息分享的源群组;a determining unit 51 configured to determine a target group in the group sharing mode and a source group that determines that message sharing needs to be performed to the target group;
获取单元52,配置为获取源群组的成员用户在源群组会话中发布的消息流;获取目标群组的成员用户在目标群组会话中发布的消息流;The obtaining unit 52 is configured to obtain a message flow advertised by a member user of the source group in the source group session, and obtain a message flow advertised by the member user of the target group in the target group session;
共享单元53,配置为向源群组的成员用户,发送源群组中其他成员用户在源群组会话中发布的消息流;以及,向目标群组的成员用户,发送源群组会话中发布的消息流;The sharing unit 53 is configured to send, to the member users of the source group, the message flows advertised by the other member users in the source group in the source group session; and to send the source group session to the member users of the target group. Message flow
共享单元53,还配置为向目标群组的成员用户,发送目标群组中其他 成员用户在目标群组会话中发布的消息流。The sharing unit 53 is further configured to send, to the member users of the target group, a message flow published by the other member users in the target group in the target group session.
在一个实施例中,确定单元51,还配置为确定需要向目标群组进行消息分享的源群组满足以下条件至少之一;In an embodiment, the determining unit 51 is further configured to determine that the source group that needs to share the message to the target group satisfies at least one of the following conditions;
源群组与目标群组的管理用户相同;源群组与目标群组的话题满足相似条件;源群组与目标群组的相同成员用户的数量超出相同成员数量阈值;源群组与目标群组的管理用户发布相同的历史消息。The source group is the same as the management user of the target group; the topics of the source group and the target group satisfy similar conditions; the number of the same member users of the source group and the target group exceeds the same number of members threshold; the source group and the target group The group's administrative users publish the same historical message.
在一个实施例中,获取单元52,还配置为确定源群组的成员用户在源群组会话中所发布消息的消息属性,将具有允许向目标群组分享的消息属性的消息进行整合,形成源群组的成员用户在源群组会话中发布的消息流。In an embodiment, the obtaining unit 52 is further configured to determine a message attribute of a message published by a member user of the source group in the source group session, and integrate a message having a message attribute allowed to be shared with the target group. A message flow published by a member user of the source group in the source group session.
在一个实施例中,允许向目标群组分享的消息属性包括以下至少之一:In one embodiment, the message attributes allowed to be shared with the target group include at least one of the following:
消息可见范围,消息可见范围包括目标群组;The visible range of the message, the visible range of the message includes the target group;
消息类型,消息类型为允许向目标群组分享的消息的类型。The message type, the message type is the type of message allowed to be shared with the target group.
在一个实施例中,共享单元53,还配置为获取目标群组中具有权限接收或请求接收源群组会话中发布的消息流的成员用户的标识,根据标识向目标群组中相应的成员用户发送源群组会话中发布的消息流。In an embodiment, the sharing unit 53 is further configured to acquire an identifier of a member user in the target group that has the right to receive or request to receive the message flow published in the source group session, and the corresponding member user in the target group according to the identifier Send the message stream published in the source group session.
在一个实施例中,共享单元53,还配置为响应于目标群组和/或源群组的管理用户退出群组分享模式的请求,终止向目标群组的成员用户发送源群组会话中发布的消息流。In an embodiment, the sharing unit 53 is further configured to terminate sending the source group session to the member user of the target group in response to the request of the management user of the target group and/or the source group to exit the group sharing mode. Message flow.
在一个实施例中,共享单元53,还配置为响应于目标群组的非管理用户退出群组分享模式的请求,终止向目标群组的非管理用户成员发送源群组会话中发布的消息流。In an embodiment, the sharing unit 53 is further configured to terminate sending the message flow published in the source group session to the non-administrative user member of the target group in response to the request of the non-administrative user of the target group to exit the group sharing mode. .
在一个实施例中,共享单元53,还配置为在处于群组分享模式后,在目标群组的服务器侧的消息记录中存储源群组会话中发布的消息流,以及目标群组中成员用户在目标群组会话中发布的消息流;In an embodiment, the sharing unit 53 is further configured to store the message flow published in the source group session and the member users in the target group in the message record of the server side of the target group after being in the group sharing mode. a message flow published in a target group session;
在退出群组分享模式后,在目标群组的服务器侧的消息记录中删除源 群组会话中发布的消息流。After exiting the group sharing mode, the message stream published in the source group session is deleted in the message record of the server side of the target group.
这里,实际应用中,所述确定单元51、获取单元52以及共享单元53均可由位于中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)实现。例如,所述确定单元51、获取单元52以及共享单元53均可由图4所示的处理器141来实现。Here, in practical applications, the determining unit 51, the obtaining unit 52, and the sharing unit 53 may each be located in a central processing unit (CPU), or a microprocessor (MPU), or a digital signal processor (DSP), or a programmable gate. Array (FPGA) implementation. For example, the determining unit 51, the obtaining unit 52, and the sharing unit 53 may each be implemented by the processor 141 shown in FIG.
对前述成员用户侧终端的功能结构进行说明,参见图6,图6是本发明实施例提供的终端的一个可选的功能结构示意图,包括:The function structure of the foregoing user-side terminal is described. Referring to FIG. 6, FIG. 6 is a schematic structural diagram of an optional function of the terminal according to the embodiment of the present invention, including:
提交单元61,配置为向服务器提交在群组分享模式中的目标群组、以及提交需要与目标群组进行消息分享的源群组;The submitting unit 61 is configured to submit a target group in the group sharing mode to the server, and submit a source group that needs to share the message with the target group;
获取单元62,配置为获取服务器发送的源群组的成员用户在源群组会话中发布的消息流,以及获取服务器发送的目标群组的成员用户在目标群组会话中发布的消息流;The obtaining unit 62 is configured to acquire a message flow advertised by a member user of the source group sent by the server in the source group session, and obtain a message flow advertised by the member user of the target group sent by the server in the target group session;
窗口单元63,配置为更新目标群组的原始会话窗口为对应目标群组以及源群组的分享会话窗口;The window unit 63 is configured to update the original session window of the target group to a corresponding target group and a sharing session window of the source group;
加载单元64,配置为在分享会话窗口中加载源群组会话中发布的消息流、以及加载目标群组会话中发布的消息流。The loading unit 64 is configured to load the message stream published in the source group session and load the message stream published in the target group session in the sharing session window.
在一个实施例中,源群组确定满足以下条件至少之一;In one embodiment, the source group determines that at least one of the following conditions is met;
源群组与目标群组的管理用户相同;源群组与目标群组的话题满足相似条件;源群组与目标群组的相同成员用户的数量超出相同成员数量阈值;源群组与目标群组的管理用户发布相同的历史消息。The source group is the same as the management user of the target group; the topics of the source group and the target group satisfy similar conditions; the number of the same member users of the source group and the target group exceeds the same number of members threshold; the source group and the target group The group's administrative users publish the same historical message.
在一个实施例中,获取的源群组会话中发布的消息流中消息具有允许向目标群组分享的消息属性;In one embodiment, the message in the message stream published in the obtained source group session has a message attribute that is allowed to be shared with the target group;
消息属性包括以下至少之一:The message properties include at least one of the following:
消息可见范围,所述消息可见范围包括所述目标群组;a message visible range, the message visible range including the target group;
消息类型,所述消息类型为允许向所述目标群组分享的消息的类型。A message type, the type of message being a type of message allowed to be shared with the target group.
在一个实施例中,窗口单元63,还配置为更新目标群组的原始会话窗口的属性为对应目标群组以及源群组的分享会话窗口的属性,属性包括以下至少之一:群组名称;群组话题;群组的管理用户。In an embodiment, the window unit 63 is further configured to: update an attribute of the original session window of the target group to an attribute of the corresponding target group and the sharing session window of the source group, and the attribute includes at least one of the following: a group name; Group topic; the administrative user of the group.
在一个实施例中,窗口单元63,还配置为针对目标群组与源群组的共有成员用户,合并共有成员用户侧的目标群组的原始会话窗口、以及源群组的原始会话窗口为源群组的分享会话窗口。In one embodiment, the window unit 63 is further configured to merge the original session window of the target group of the shared member user side and the original session window of the source group for the shared member user of the target group and the source group. The sharing session window for the group.
在一个实施例中,窗口单元63,还配置为退出群组分享模式时,In one embodiment, the window unit 63 is further configured to exit the group sharing mode.
针对目标群组中与源群组的共有成员用户,还原相应共有成员用户侧的分享会话窗口为目标群组的原始会话窗口、以及源群组的原始会话窗口;For the shared member user of the target group and the source group, the sharing session window of the corresponding shared member user side is the original session window of the target group and the original session window of the source group;
针对目标群组中的非共有成员用户,还原相应非共有成员用户侧的分享会话窗口为目标群组的原始会话窗口。For the non-shared member users in the target group, restore the sharing session window of the corresponding non-shared member user side as the original session window of the target group.
在一个实施例中,窗口单元63,还配置为将源群组的会话中发布的消息流、以及目标群组的会话中发布的消息流中的消息按照发布顺序、来源用户或来源群组进行排序,并在分享会话窗口中加载排序后的消息。In one embodiment, the window unit 63 is further configured to perform the message flow published in the session of the source group and the message flow in the message stream published in the session of the target group according to the release order, the source user or the source group. Sort and load the sorted message in the sharing session window.
在一个实施例中,提交单元61,还配置为向服务器提交目标群组和/或源群组的管理用户的退出群组分享模式的请求,用于供服务器响应请求,终止向目标群组的成员用户发送源群组会话中发布的消息流。In an embodiment, the submitting unit 61 is further configured to submit, to the server, a request for the exit group sharing mode of the target user and/or the management user of the source group, for the server to respond to the request, terminating the target group Member users send message flows published in the source group session.
在一个实施例中,提交单元61,还配置为向服务器提交目标群组的非管理用户退出群组分享模式的请求,用于供服务器终止向目标群组的非管理用户成员发送源群组会话中发布的消息流。In one embodiment, the submitting unit 61 is further configured to submit, to the server, a request of the non-administrative user of the target group to exit the group sharing mode, for the server to terminate sending the source group session to the non-administrative user member of the target group. The message stream published in .
在一个实施例中,还包括消息记录单元65,配置为在处于群组分享模式时,在目标群组的成员用户侧的消息记录中存储有源群组会话中发布的消息流,以及目标群组中成员用户在目标群组会话中发布的消息流;In an embodiment, the method further includes a message recording unit 65 configured to store the message flow published in the active group session and the target group in the message record of the member user side of the target group when in the group sharing mode The message flow published by the member users in the group in the target group session;
在退出群组分享模式时,在目标群组的成员用户侧的消息记录中仅存储有源群组会话中发布的消息流。When exiting the group sharing mode, only the message stream published in the active group session is stored in the message record of the member user side of the target group.
这里,实际应用中,所述提交单元61、获取单元62、窗口单元63、加载单元64以及消息记录单元65均可由位于中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)实现。例如,所述提交单元61、获取单元62、窗口单元63、加载单元64以及消息记录单元65均可由图4所示的处理器141来实现。Here, in practical applications, the submitting unit 61, the obtaining unit 62, the window unit 63, the loading unit 64, and the message recording unit 65 may each be located by a central processing unit (CPU), or a microprocessor (MPU), or digital signal processing. (DSP), or programmable gate array (FPGA) implementation. For example, the submitting unit 61, the obtaining unit 62, the window unit 63, the loading unit 64, and the message recording unit 65 may each be implemented by the processor 141 shown in FIG.
参见图7,图7是本发明实施例提供的群组会话处理系统的一个可选的结构示意图,包括:服务器和终端。Referring to FIG. 7, FIG. 7 is an optional structural diagram of a group session processing system according to an embodiment of the present invention, including: a server and a terminal.
服务器,配置为获取群组的成员用户提交的分享模式中的目标群组、以及需要与目标群组进行消息分享的源群组;获取源群组的成员用户在源群组会话中发布的消息流,以及获取目标群组的成员用户在目标群组会话中发布的消息流;向源群组的成员用户发送源群组中其他成员用户在源群组会话中发布的消息流,以及向目标群组的成员用户发送源群组会话中发布的消息流;服务器,还配置为向目标群组的成员用户发送目标群组中其他成员用户在目标群组会话中发布的消息流。a server configured to obtain a target group in a sharing mode submitted by a member user of the group, and a source group that needs to share the message with the target group; and obtain a message published by the member user of the source group in the source group session Streaming, and obtaining a message flow published by a member user of the target group in the target group session; sending a message flow published by the other member users in the source group in the source group session to the member user of the source group, and to the target The member user of the group sends the message flow published in the source group session; the server is further configured to send the message flow published by the other member users in the target group in the target group session to the member users of the target group.
终端,配置为在目标群组的成员用户侧更新目标群组的原始会话窗口为对应目标群组以及源群组的分享会话窗口,在分享会话窗口中加载源群组会话中发布的消息流、以及加载目标群组会话中发布的消息流。The terminal is configured to update the original session window of the target group to the sharing session window of the corresponding target group and the source group in the member user side of the target group, and load the message flow published in the source group session in the sharing session window, And loading the message stream published in the target group session.
在一个实施例中,服务器,还配置为确定所述源群组的成员用户在源群组会话中所发布消息的消息属性,将具有允许向所述目标群组分享的消息属性的消息进行整合,形成所述源群组的成员用户在源群组会话中发布的消息流。In one embodiment, the server is further configured to determine a message attribute of a message posted by the member user of the source group in the source group session, to integrate a message having a message attribute allowed to be shared with the target group Forming a message flow published by a member user of the source group in a source group session.
在一个实施例中,服务器,获取所述目标群组中具有权限接收或请求接收所述源群组会话中发布的消息流的成员用户的标识,根据所述标识向所述目标群组中相应的成员用户发送所述源群组会话中发布的消息流。In an embodiment, the server obtains an identifier of a member user in the target group that has a right to receive or request to receive a message flow published in the source group session, and correspondingly to the target group according to the identifier. The member user sends the message stream published in the source group session.
在一个实施例中,服务器,响应于所述目标群组和/或所述源群组的管 理用户退出所述群组分享模式的请求,终止向所述目标群组的成员用户发送所述源群组会话中发布的消息流。In one embodiment, the server terminates sending the source to a member user of the target group in response to the request of the target group and/or the management user of the source group to exit the group sharing mode. The message flow published in the group session.
在一个实施例中,服务器,响应于所述目标群组的非管理用户退出所述群组分享模式的请求,终止向所述目标群组的所述非管理用户成员发送所述源群组会话中发布的消息流。In one embodiment, the server terminates sending the source group session to the non-administrative user member of the target group in response to the request of the non-administrative user of the target group to exit the group sharing mode The message stream published in .
在一个实施例中,服务器,在处于所述群组分享模式后,在所述目标群组的服务器侧的消息记录中存储所述源群组会话中发布的消息流,以及所述目标群组中成员用户在所述目标群组会话中发布的消息流;在退出所述群组分享模式后,在所述目标群组的服务器侧的消息记录中删除所述源群组会话中发布的消息流。In an embodiment, the server, after being in the group sharing mode, storing a message flow published in the source group session in a message record of a server side of the target group, and the target group a message flow published by the member user in the target group session; after exiting the group sharing mode, deleting the message published in the source group session in the message record of the server side of the target group flow.
在一个实施例中,所述终端,还配置为更新所述目标群组的原始会话窗口的属性为对应所述目标群组以及所述源群组的分享会话窗口的属性,所述属性包括以下至少之一:群组名称;群组话题;群组的管理用户。In an embodiment, the terminal is further configured to update an attribute of the original session window of the target group to an attribute corresponding to the target group and a sharing session window of the source group, where the attributes include the following At least one: group name; group topic; group management user.
在一个实施例中,所述终端,还配置为针对所述目标群组与所述源群组的共有成员用户,合并所述共有成员用户侧的所述目标群组的所述原始会话窗口、以及所述源群组的所述原始会话窗口为所述分享会话窗口。In an embodiment, the terminal is further configured to merge the original session window of the target group of the shared member user side with the shared member user of the target group and the source group, And the original session window of the source group is the sharing session window.
在一个实施例中,所述终端,还配置为退出所述群组分享模式时,针对所述目标群组中与所述源群组的共有成员用户,还原相应共有成员用户侧的所述分享会话窗口为所述目标群组的所述原始会话窗口、以及所述源群组的所述原始会话窗口;针对所述目标群组中的非共有成员用户,还原相应非共有成员用户侧的所述分享会话窗口为所述目标群组的所述原始会话窗口。In an embodiment, the terminal is further configured to: when the group sharing mode is exited, restoring the sharing of the corresponding member user side to the shared member user of the source group in the target group The session window is the original session window of the target group and the original session window of the source group; for the non-shared member users in the target group, the corresponding non-shared member user side is restored The sharing session window is the original session window of the target group.
在一个实施例中,所述终端,还配置为将所述源群组的会话中发布的消息流、以及所述目标群组的会话中发布的消息流中的消息按照发布顺序、来源用户或来源群组进行排序,并在所述分享会话窗口中加载排序后的所 述消息。In an embodiment, the terminal is further configured to: in the order of the release, the source user, or the message flow in the message stream published in the session of the source group and the message stream in the session of the target group. The source group is sorted and the sorted message is loaded in the sharing session window.
在一个实施例中,所述终端,还配置为向所述服务器提交所述目标群组和/或所述源群组的管理用户的退出所述群组分享模式的请求,用于供所述服务器响应所述请求,终止向所述目标群组的成员用户发送所述源群组会话中发布的消息流。In an embodiment, the terminal is further configured to submit, to the server, a request for exiting the group sharing mode of the target group and/or the management user of the source group, for the The server, in response to the request, terminates sending a message flow published in the source group session to a member user of the target group.
在一个实施例中,所述终端,还配置为向所述服务器提交所述目标群组的非管理用户退出所述群组分享模式的请求,用于供所述服务器终止向所述目标群组的所述非管理用户成员发送所述源群组会话中发布的消息流。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, for the server to terminate to the target group. The non-administrative user member sends the message stream published in the source group session.
在一个实施例中,所述终端,还配置为在处于所述群组分享模式后,在所述目标群组的成员用户侧的消息记录中存储有所述源群组会话中发布的消息流,以及所述目标群组中成员用户在所述目标群组会话中发布的消息流;In an embodiment, the terminal is further configured to: after being in the group sharing mode, store a message flow published in the source group session in a message record of a member user side of the target group. And a message flow published by the member user in the target group in the target group session;
在退出所述群组分享模式后,在所述目标群组的成员用户侧的消息记录中仅存储有所述源群组会话中发布的消息流。After exiting the group sharing mode, only the message flow published in the source group session is stored in the message record of the member user side of the target group.
这里,在一具体示例中,本实施例提供一种服务器,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行以上应用于服务器侧的所述方法步骤。Here, in a specific example, the present embodiment provides a server including: a processor and a memory for storing a computer program executable on a processor, wherein when the processor is configured to run the computer program, The method steps described above applied to the server side are performed.
在另一具体示例中,本实施例还提供一种计算机可读存储介质,其上存储有第一计算机程序,其中,该第一计算机程序被处理器执行时实现应用于服务器侧的所述方法步骤。In another specific example, the embodiment further provides a computer readable storage medium having stored thereon a first computer program, wherein the first computer program is implemented by a processor to implement the method applied to a server side step.
在另一具体示例中,本实施例提供了一种终端,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行应用于终端侧的所述方法步骤。In another specific example, the present embodiment provides a terminal comprising: a processor and a memory for storing a computer program executable on the processor, wherein when the processor is configured to run the computer program, The method steps applied to the terminal side are performed.
在另一具体示例中,本实施例提供一种计算机可读存储介质,其上存 储有第二计算机程序,其中,该第二计算机程序被处理器执行时实现应用于终端侧的所述方法步骤。In another specific example, the present embodiment provides a computer readable storage medium having stored thereon a second computer program, wherein the second computer program is implemented by a processor to implement the method steps applied to the terminal side .
在另一具体示例中,本发明实施例提供一种计算机可读存储介质,其上存储有第三计算机程序,其中,该第三计算机程序被处理器执行时实现应用于终端侧以及应用于服务器侧的所述方法步骤。In another specific example, an embodiment of the present invention provides a computer readable storage medium having stored thereon a third computer program, wherein the third computer program is implemented by a processor to be applied to a terminal side and to a server. The method steps of the side.
下面再结合一个具体的即时通信的场景进行说明,参见图8和图9,图8是本发明实施例提供的群组会话处理方法的一个可选的流程示意图,图9是发明实施例提供的群组会话处理系统的一个可选的结构示意图,针对如下的即时通信场景,The following is a description of a specific instant messaging scenario. Referring to FIG. 8 and FIG. 9, FIG. 8 is an optional schematic flowchart of a group session processing method according to an embodiment of the present invention. FIG. 9 is a schematic flowchart of an embodiment of the present invention. An optional structural diagram of the group session processing system for the following instant messaging scenarios,
在即时通信的业务场景中,管理用户通过即时通信客户端建立多个群组,群组讨论的内容相同,在管理用户与多个群组的成员用户聊天时,一个群组的成员用户看不到其他群组内的消息,消息无法实现跨群组的分享,如果由群组的成员用户向其他群组的成员用户转述,可能存在信息丢失或歧义,如果由管理用户就多个群内成员用户提出的相同的问题在每个群组的会话窗口中分别回复,对于管理用户来说严重影响了即时通信的效率,不利于消息的互通。In the business scenario of instant messaging, the management user establishes multiple groups through the instant messaging client, and the content of the group discussion is the same. When the management user chats with the member users of multiple groups, the members of one group cannot see Messages in other groups cannot be shared across groups. If members of a group refer to members of other groups, there may be information loss or ambiguity. If there are multiple members in the group by the management user. The same problem raised by the user is separately replied in the session window of each group, which seriously affects the efficiency of instant communication for the management user, and is not conducive to the intercommunication of messages.
群组的成员用户侧的即时通信客户端内设置有群组分享模式用以实现布群组消息分享的功能。A group sharing mode is set in the instant messaging client of the member user side of the group to implement the function of sharing the group message.
假设,管理用户(建立群组的用户、以及具有群组的管理员权限的用户)管理2个群组(当然,同样适用于多个群组的情况,以下以2个群组(群组1和群组2)为例进行说明),群组的类型相近因而群组内讨论的话题趋近。Assume that the management user (the user who established the group and the user who has the administrator rights of the group) manages two groups (of course, the same applies to the case of multiple groups, the following two groups (group 1) And group 2) as an example), the types of groups are similar and the topics discussed in the group approach.
假设管理用户在即时通信客户端主发起群组2内的消息到群组1的分享(当然,也可以同时发起群组1内的消息到群组2的分享),下面以群组2内的消息到群组1的分享为例说明,对于群组1内的消息到群组2的分享 可以基于对下述记载的理解而实施。It is assumed that the management user initiates the sharing of the message in the group 2 to the group 1 in the instant messaging client (of course, the sharing of the message in the group 1 to the group 2 can also be initiated at the same time), and the following is in the group 2 The sharing of the message to the group 1 is taken as an example. The sharing of the message in the group 1 to the group 2 can be implemented based on the understanding of the following description.
一、设置First, set
对于群组1和群组2的管理用户来说,可以进行如下的成员用户设置;For the management users of group 1 and group 2, the following member user settings can be performed;
1)群组1内具有权限接收群组2中分享的消息的成员用户,默认可以为群组1的全部成员用户。1) The member users in the group 1 who have the rights to receive the messages shared in the group 2 can be all member users of the group 1 by default.
2)群组2内能够向群组1分享消息的成员用户,默认可以为群组2的全部成员用户。2) Member users in Group 2 who can share messages to Group 1 can default to all member users of Group 2.
对于群组2的成员用户来说,可以针对在群组2内发布的消息进行如下的私密性设置以保护消息安全:For member users of group 2, the following privacy settings can be made for messages published in group 2 to protect message security:
1)可见范围,用于指示群组2的成员用户在群组2内发布的消息是否允许在群组2之外进行分享。例如只有本群成员可见,非本群成员则不可见该消息;1) Visible range, used to indicate whether the messages posted by the member users of the group 2 in the group 2 are allowed to be shared outside the group 2. For example, only members of the group are visible, and members of the group are not visible to the message;
2)消息类型,用于执行允许在群组2之外分享的消息类型,或者用于指示不允许在群组2之外分享的消息类型。如对于文件类型的消息,不支持群组2之外的成员用户下载。2) A message type for performing a message type that is allowed to be shared outside of group 2, or for indicating a message type that is not allowed to be shared outside of group 2. For user-type downloads other than group 2, such as for file type messages.
对于群组1的成员用户来说,可以设置是否接收群组2内分享的消息以避免不必要的干扰。For member users of group 1, it is possible to set whether to receive the message shared in group 2 to avoid unnecessary interference.
另外,在群组分享模式中还涉及群组1和群组2的消息记录的存储,为了保证消息安全,服务器针对群组1维护的消息记录中,仅在群组分享模式的生命周期内存储群组2内的消息,当群组分享模式终止时在群组1的消息记录中不再存储群组2的消息,并对群组2的成员用户侧的消息记录进行同步。In addition, in the group sharing mode, the storage of the message records of the group 1 and the group 2 is also involved. In order to ensure the security of the message, the message record maintained by the server for the group 1 is only stored in the life cycle of the group sharing mode. The message in group 2, when the group sharing mode is terminated, does not store the message of group 2 in the message record of group 1, and synchronizes the message records of the member user side of group 2.
服务器针对上述的设置形成群组1和群组2的群组分享副本,存储上述的设置,并将两个群组的属性进行整合,包括群组1和群组2的基本信息,如包括的成员用户等,用于进行消息推送。The server forms a group shared copy of group 1 and group 2 for the above settings, stores the above settings, and integrates the attributes of the two groups, including basic information of group 1 and group 2, as included. Member users, etc., used for message push.
在群组共享模式中,服务器保持群组1和群组2的会话,即将群组1的成员用户在群组1的会话中发布的消息推送到群组1的其他成员用户,将群组2的成员用户在群组2的会话中发布的消息推送到群组1的其他成员用户,另外,服务器还根据群组共享副本,将群组2的消息推送到群组1的成员用户推送。In the group sharing mode, the server maintains the sessions of group 1 and group 2, that is, the message posted by the member users of group 1 in the session of group 1 is pushed to other member users of group 1, and group 2 is The message posted by the member user in the session of group 2 is pushed to other member users of group 1. In addition, the server pushes the message of group 2 to the member user of group 1 according to the shared copy of the group.
二、消息推送Second, the message push
对群组2的消息推送到群组1的不同成员用户后的处理进行说明。The processing after the message of the group 2 is pushed to the different member users of the group 1 will be described.
1)群组1的管理用户1) Management user of group 1
对于群组1的管理用户来说,由于即时通信客户端中显示有群组1的会话窗口以及群组2的会话窗口,即时通信客户端将2个合并为1个会话窗口,该会话窗口标识为群组1和群组2的名称。For the administrative user of group 1, since the session window of group 1 and the session window of group 2 are displayed in the instant messaging client, the instant messaging client merges 2 into one session window, and the session window identifier The names of group 1 and group 2.
参见图10,图10是本发明实施例提供的合并群组的会话窗口的一个可选的显示示意图,合并后的分享会话窗口中显示群组1和群组2的消息,消息中标识来源用户的名称以及所属的群组,消息可以根据来源用户、所属的群组或发布时间排序。不同群组和成员用户的消息可以进行视觉效果上的区分,如为不同群组的消息标注以区别性的颜色。Referring to FIG. 10, FIG. 10 is an optional schematic diagram of a session window of a merged group according to an embodiment of the present invention. The merged session window displays messages of group 1 and group 2, and the source user is identified in the message. The name and the group to which it belongs, the messages can be sorted by source user, group to which they belong, or time of publication. Messages of different groups and member users can be visually distinguished, such as distinguishing colors of messages of different groups.
当然,可选地,参见图11,图11是本发明实施例提供的合并群组的会话窗口的一个可选的显示示意图分享会话窗口也可以分区域显示群组1的消息和群组2的消息,以便于用户区分消息。Optionally, referring to FIG. 11 , FIG. 11 is an optional display diagram of a session window of a merged group according to an embodiment of the present invention. The shared session window may also display the message of group 1 and the group 2 in a sub-area. Messages so that users can distinguish between messages.
2)群组1的常规用户2) Regular users of group 1
群组1的常规用户收到服务器推送的群组2的消息后,接受消息,则群组2内的消息接入分享到群组1该常规用户的消息列表。After receiving the message of the group 2 pushed by the server, the regular user of the group 1 accepts the message, and the message access in the group 2 is shared with the message list of the regular user of the group 1.
对于群组1的常规用户来说,如果常规用户是群组1和群组2的共有的成员用户,且同时开启了群组1和群组2的会话窗口,则该常规用户的即时通信客户端的会话窗口采用与前述管理用户侧相同的处理方式,将群 组1和群组2的会话窗口合并为1个会话窗口,该会话窗口标识为群组1和群组2的名称,合并后的会话窗口中显示群组1和群组2的消息。For a regular user of group 1, if the regular user is a shared member user of group 1 and group 2, and the session windows of group 1 and group 2 are simultaneously enabled, the instant user of the regular user is The session window of the end is merged into the session window of group 1 and group 2 in the same processing manner as the management user side, and the session window is identified as the name of group 1 and group 2, and the merged Messages for group 1 and group 2 are displayed in the session window.
如果群组1的常规用户不是群组1和群组2的共有成员用户,则在群组1的会话窗口中显示群组1其他成员用户在群组1会话中发布的消息,并在群组1的会话窗口中显示群组2内的消息。If the regular users of the group 1 are not the shared member users of the group 1 and the group 2, the message posted by the other member users of the group 1 in the group 1 session is displayed in the session window of the group 1 and is in the group. The message in group 2 is displayed in the session window of 1.
三、退出群组共享模式Third, exit the group sharing mode
服务器支持群组的成员用户退出群组共享模式,当常规用户请求退出群组共享模式时,服务器不再向该成员用户推送群组2的消息,群组1的其他成员用户仍然会接收到群组2的消息;当群组1的管理用户请求退出群组分享模式时,群组共享模式终止,撤销群组共享副本,群组1的全部成员用户不会再接收到群组2会话内的消息。The member user of the server support group exits the group sharing mode. When the regular user requests to leave the group sharing mode, the server no longer pushes the message of the group 2 to the member user, and other members of the group 1 still receive the group. Group 2 message; when the management user of group 1 requests to exit the group sharing mode, the group sharing mode is terminated, the group shared copy is revoked, and all member users of group 1 will not receive the group 2 session again. Message.
四、消息记录管理Fourth, message record management
群组共享模式终止后,群组1和群组2的消息内保留相应群组成员各项属性(如所属群组的名称、消息私密级别),服务器处理后存入后台中相应群组的消息记录。After the group sharing mode is terminated, the messages of group 1 and group 2 retain the attributes of the corresponding group members (such as the name of the group to which the group belongs, the message privacy level), and the message processed by the server into the corresponding group in the background is processed. recording.
综上所述,本发明实施例具有以下有益效果:In summary, the embodiments of the present invention have the following beneficial effects:
1)群组分享模式仅需要添加在消息流层面的额外的处理逻辑,即可实现在目标群组中分享源群组会话中发布的消息流的效果,能够容易地实现与网络侧常规的即时通信的业务处理逻辑(非群组分享模式的业务逻辑)的耦合与解耦,简化了即时通信的业务结构。1) The group sharing mode only needs to add additional processing logic at the message flow level, so that the effect of sharing the message flow published in the source group session in the target group can be realized, and the routine on the network side can be easily realized. The coupling and decoupling of the communication processing logic (the business logic of the non-group sharing mode) simplifies the business structure of instant messaging.
2)通过耦合不需要对源群组会话以及目标群组会话在非群组分享模式中的处理逻辑进行改动,也不需要通过合并群组在实现消息分享,实现了高效在群组之间分享消息的效果;另一方面,通过解耦可以方便退出群组分享模式,避免了在群组之间持续分享消息导致干扰的问题,提升了通信效率;2) By coupling, the processing logic of the source group session and the target group session in the non-group sharing mode is not changed, and the message sharing is not required by merging the group, thereby achieving efficient sharing among the groups. The effect of the message; on the other hand, decoupling can facilitate the exit of the group sharing mode, avoiding the problem of continuous sharing of messages between groups, resulting in interference, and improving communication efficiency;
3)根据源群组会话中消息的消息属性,控制消息的私密等级,有效保护消息安全。3) According to the message attribute of the message in the source group session, the privacy level of the message is controlled, and the message security is effectively protected.
4)根据提交分享请求的源群组或目标群组的成员用户的权限,决定是否响应群组分享请求进行有针对性想,保证消息分享的安全性。4) According to the permission of the source group or the target group member who submitted the sharing request, decide whether to respond to the group sharing request for targeted thinking and ensure the security of message sharing.
5)允许根据多个预设条件确定目标群组与源群组,避免群组之间差异而影响消息分享的效果。5) It is allowed to determine the target group and the source group according to a plurality of preset conditions, and avoid the difference between the groups and affect the effect of message sharing.
6)对于目标群组与源群组的共有成员用户的会话窗口进行合并,在退出群组共享模式时还原为合并前的会话窗口,使用户专注于目标群组的会话的同时不会遗漏源群组会话中发布的消息,提升了群组共性模式的智能化程度。6) Merging the session window of the shared member user of the target group and the source group, and reverting to the session window before the merge when exiting the group sharing mode, so that the user concentrates on the session of the target group without missing the source. The messages published in the group session enhance the intelligence of the group common mode.
7)跨群组分享的消息仅在群组共享模式的生命周期内有效,保证了跨群分分享的消息的安全。7) Messages shared across groups are only valid during the life cycle of the group sharing mode, ensuring the security of messages shared across the group.
本领域的技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储群组会话处理装置、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be completed by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: a mobile storage group session processing device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or A variety of media such as optical discs that can store program code.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机群组会话处理装置(可以是个人计算机、服务器、或者网络群组会话处理装置等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储群组 会话处理装置、RAM、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described 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 function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making A computer group session processing device (which may be a personal computer, server, or network group session processing device, etc.) performs all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a mobile storage group session processing device, a RAM, a ROM, a magnetic disk, or an optical disk, and the like, which can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例在需要进行群组之间的消息分享时,通过建立替代需要进行消息分享的群组的原始会话窗口(原始会话的会话窗口)的新会话窗口,在新会话窗口中加载群组的会话中传输的消息流,由于不涉及对群组的成员用户之间的原始会话进行更改,仅涉及图形化的会话窗口进行更新中加载消息流,最大程度上保留了即时通信的原有业务逻辑(针对原始会话的消息流进行发送的处理逻辑),因此可以容易地实现向群组分享模式切换以及退出群组分享模式,能够高效实现群组间分享消息。In the embodiment of the present invention, when a message sharing between groups is required, a group is loaded in a new session window by establishing a new session window that replaces the original session window (the session window of the original session) of the group that needs to share the message. The message stream transmitted in the session, because it does not involve changes to the original session between the member users of the group, only involves the graphical session window to update the message flow, which preserves the original communication of the instant communication to the greatest extent. Logic (processing logic for sending the message stream of the original session), so that switching to the group sharing mode and exiting the group sharing mode can be easily implemented, and the sharing of messages between groups can be efficiently implemented.

Claims (29)

  1. 一种群组会话处理方法,包括:A group session processing method includes:
    确定在群组分享模式中的目标群组、以及确定需要向所述目标群组进行消息分享的源群组;Determining a target group in the group sharing mode and determining a source group to which message sharing is required to the target group;
    获取所述源群组的成员用户在源群组会话中发布的消息流;Obtaining a message flow published by a member user of the source group in a source group session;
    向所述源群组的成员用户发送消息流,所发送的消息流为所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;Sending a message flow to a member user of the source group, the sent message stream being a message flow published by other member users in the source group in the source group session; and, to the target group The member user sends the message flow published in the source group session;
    获取所述目标群组的成员用户在目标群组会话中发布的消息流;Obtaining a message flow published by a member user of the target group in a target group session;
    向所述目标群组的成员用户发送消息流,所发送的消息流为所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。Sending a message flow to a member user of the target group, where the sent message stream is a message flow published by other member users in the target group in the target group session.
  2. 如权利要求1所述的方法,其中,还包括:The method of claim 1 further comprising:
    确定需要向所述目标群组进行消息分享的所述源群组满足以下条件至少之一;Determining that the source group that needs to share the message to the target group satisfies at least one of the following conditions;
    所述源群组与所述目标群组的管理用户相同;所述源群组与所述目标群组的话题满足相似条件;所述源群组与所述目标群组的相同成员用户的数量超出相同成员数量阈值;所述源群组与所述目标群组的管理用户发布相同的历史消息。The source group is the same as the management user of the target group; the source group and the target group meet the similar condition; the number of the same member user of the source group and the target group The same number of members threshold is exceeded; the source group issues the same historical message as the administrative user of the target group.
  3. 如权利要求1所述的方法,其中,所述获取所述源群组的成员用户在源群组会话中发布的消息流,包括:The method of claim 1, wherein the obtaining a message stream published by a member user of the source group in a source group session comprises:
    确定所述源群组的成员用户在源群组会话中所发布消息的消息属性,将具有允许向所述目标群组分享的消息属性的消息进行整合,形成所述源群组的成员用户在源群组会话中发布的消息流。Determining a message attribute of a message published by a member user of the source group in a source group session, and integrating a message having a message attribute allowed to be shared by the target group, forming a member user of the source group The message flow published in the source group session.
  4. 如权利要求3所述的方法,其中,所述允许向所述目标群组分享的 消息属性包括以下至少之一:The method of claim 3 wherein said message attributes allowed to be shared with said target group comprise at least one of:
    消息可见范围,所述消息可见范围包括所述目标群组;a message visible range, the message visible range including the target group;
    消息类型,所述消息类型为允许向所述目标群组分享的消息的类型。A message type, the type of message being a type of message allowed to be shared with the target group.
  5. 如权利要求1所述的方法,其中,所述向所述目标群组的成员用户发送所述源群组会话中发布的消息流,包括:The method of claim 1, wherein the sending the message stream published in the source group session to a member user of the target group comprises:
    获取所述目标群组中具有权限接收或请求接收所述源群组会话中发布的消息流的成员用户的标识,根据所述标识向所述目标群组中相应的成员用户发送所述源群组会话中发布的消息流。Obtaining, by the target group, an identifier of a member user that has a right to receive or request to receive a message flow that is advertised in the source group session, and sends the source group to a corresponding member user in the target group according to the identifier The message flow published in the group session.
  6. 如权利要求1所述的方法,其中,还包括:The method of claim 1 further comprising:
    响应于所述目标群组和/或所述源群组的管理用户退出所述群组分享模式的请求,终止向所述目标群组的成员用户发送所述源群组会话中发布的消息流。Responding to sending a message flow published in the source group session to a member user of the target group in response to the request of the target group and/or the management user of the source group to exit the group sharing mode .
  7. 如权利要求1所述的方法,其中,还包括:The method of claim 1 further comprising:
    响应于所述目标群组的非管理用户退出所述群组分享模式的请求,终止向所述目标群组的所述非管理用户成员发送所述源群组会话中发布的消息流。Responding to the request of the non-administrative user of the target group to exit the group sharing mode, terminating sending the message flow published in the source group session to the non-administrative user member of the target group.
  8. 如权利要求1至7任一项所述的方法,其中,还包括:The method of any one of claims 1 to 7, further comprising:
    在处于所述群组分享模式后,在所述目标群组的服务器侧的消息记录中存储所述源群组会话中发布的消息流,以及存储所述目标群组中成员用户在所述目标群组会话中发布的消息流;After being in the group sharing mode, storing a message flow published in the source group session in a message record of a server side of the target group, and storing a member user in the target group in the target The message flow published in the group session;
    在退出所述群组分享模式后,在所述目标群组的服务器侧的消息记录中删除所述源群组会话中发布的消息流。After exiting the group sharing mode, the message stream published in the source group session is deleted in the message record of the server side of the target group.
  9. 一种群组会话处理方法,包括:A group session processing method includes:
    向服务器提交在群组分享模式中的目标群组、以及提交需要与所述目标群组进行消息分享的源群组;Submitting a target group in the group sharing mode to the server, and submitting a source group that needs to share the message with the target group;
    获取所述服务器发送的源群组会话中发布的消息流,以及获取所述服务器发送的目标群组会话中发布的消息流;Obtaining a message flow published in a source group session sent by the server, and acquiring a message flow published in a target group session sent by the server;
    更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口;Updating an original session window of the target group to a sharing session window corresponding to the target group and the source group;
    在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流。Loading a message stream published in the source group session in the sharing session window, and loading a message stream published in the target group session.
  10. 如权利要求9所述的方法,其中,The method of claim 9 wherein
    所述源群组确定满足以下条件至少之一;The source group determines that at least one of the following conditions is met;
    所述源群组与所述目标群组的管理用户相同;所述源群组与所述目标群组的话题满足相似条件;所述源群组与所述目标群组的相同成员用户的数量超出相同成员数量阈值;所述源群组与所述目标群组的管理用户发布相同的历史消息。The source group is the same as the management user of the target group; the source group and the target group meet the similar condition; the number of the same member user of the source group and the target group The same number of members threshold is exceeded; the source group issues the same historical message as the administrative user of the target group.
  11. 如权利要求9所述的方法,其中,The method of claim 9 wherein
    获取的所述源群组会话中发布的消息流中消息具有允许向所述目标群组分享的消息属性;Obtaining a message in the message stream published in the source group session has a message attribute allowed to be shared to the target group;
    所述消息属性包括以下至少之一:The message attribute includes at least one of the following:
    消息可见范围,所述消息可见范围包括所述目标群组;a message visible range, the message visible range including the target group;
    消息类型,所述消息类型为允许向所述目标群组分享的消息的类型。A message type, the type of message being a type of message allowed to be shared with the target group.
  12. 如权利要求9所述的方法,其中,所述更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口,包括:The method of claim 9, wherein the updating the original session window of the target group is a sharing session window corresponding to the target group and the source group, comprising:
    更新所述目标群组的原始会话窗口的属性为对应所述目标群组以及所述源群组的分享会话窗口的属性,所述属性包括以下至少之一:群组名称;群组话题;群组的管理用户。Updating an attribute of the original session window of the target group to an attribute of the sharing session window corresponding to the target group and the source group, the attribute including at least one of the following: a group name; a group topic; a group Group of administrative users.
  13. 如权利要求9所述的方法,其中,所述更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口,包括:The method of claim 9, wherein the updating the original session window of the target group is a sharing session window corresponding to the target group and the source group, comprising:
    针对所述目标群组与所述源群组的共有成员用户,合并所述共有成员用户侧的所述目标群组的所述原始会话窗口、以及所述源群组的所述原始会话窗口为所述分享会话窗口。For the shared member user of the target group and the source group, the original session window of the target group that merges the shared member user side, and the original session window of the source group are The sharing session window.
  14. 如权利要求9所述的方法,其中,还包括:The method of claim 9 further comprising:
    退出所述群组分享模式后,After exiting the group sharing mode,
    针对所述目标群组中与所述源群组的共有成员用户,还原相应共有成员用户侧的所述分享会话窗口为所述目标群组的所述原始会话窗口、以及所述源群组的所述原始会话窗口;Recovering the sharing session window of the corresponding shared member user side as the original session window of the target group and the source group of the shared member user of the target group in the target group The original session window;
    针对所述目标群组中的非共有成员用户,还原相应非共有成员用户侧的所述分享会话窗口为所述目标群组的所述原始会话窗口。For the non-shared member users in the target group, the sharing session window of the corresponding non-shared member user side is restored as the original session window of the target group.
  15. 如权利要求9所述的方法,其中,所述在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流,包括:The method of claim 9, wherein the loading the message stream published in the source group session and loading the message stream published in the target group session in the sharing session window comprises:
    将所述源群组的会话中发布的消息流、以及所述目标群组的会话中发布的消息流中的消息按照发布顺序、来源用户或来源群组进行排序,并在所述分享会话窗口中加载排序后的所述消息。Sorting the message stream published in the session of the source group and the message in the message stream published in the session of the target group in the order of publication, source user or source group, and in the sharing session window Loading the sorted message.
  16. 如权利要求9所述的方法,其中,还包括:The method of claim 9 further comprising:
    向所述服务器提交所述目标群组和/或所述源群组的管理用户的退出所述群组分享模式的请求,用于供所述服务器响应所述请求,终止向所述目标群组的成员用户发送所述源群组会话中发布的消息流。Submitting, to the server, a request of the target group and/or the management user of the source group to exit the group sharing mode, for the server to terminate the request to the target group in response to the request The member user sends the message stream published in the source group session.
  17. 如权利要求9所述的方法,其中,还包括:The method of claim 9 further comprising:
    向所述服务器提交所述目标群组的非管理用户退出所述群组分享模式的请求,用于供所述服务器终止向所述目标群组的所述非管理用户成员发送所述源群组会话中发布的消息流。Submitting, to the server, a request for the non-administrative user of the target group to exit the group sharing mode, for the server to terminate sending the source group to the non-administrative user member of the target group The stream of messages published in the session.
  18. 如权利要求1所述的方法,其中,The method of claim 1 wherein
    在处于所述群组分享模式后,在所述目标群组的成员用户侧的消息记录中存储有所述源群组会话中发布的消息流,以及所述目标群组中成员用户在所述目标群组会话中发布的消息流;After being in the group sharing mode, a message flow published in the source group session is stored in a message record of a member user side of the target group, and member users in the target group are in the The message flow published in the target group session;
    在退出所述群组分享模式后,在所述目标群组的成员用户侧的消息记录中仅存储有所述源群组会话中发布的消息流。After exiting the group sharing mode, only the message flow published in the source group session is stored in the message record of the member user side of the target group.
  19. 一种群组会话处理方法,包括:A group session processing method includes:
    服务器获取群组的成员用户提交的分享模式中的目标群组、以及获取需要与所述目标群组进行消息分享的源群组;The server acquires a target group in a sharing mode submitted by a member user of the group, and acquires a source group that needs to share the message with the target group;
    所述服务器获取所述源群组的成员用户在源群组会话中发布的消息流,以及获取所述目标群组的成员用户在目标群组会话中发布的消息流;Obtaining, by the server, a message flow advertised by a member user of the source group in a source group session, and acquiring a message flow advertised by a member user of the target group in a target group session;
    所述服务器向所述源群组的成员用户发送消息流,所发送的消息流为所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;Sending, by the server, a message flow to a member user of the source group, where the sent message stream is a message flow published by other member users in the source group in the source group session; and, to the target A member user of the group sends a message flow published in the source group session;
    所述目标群组的成员用户侧终端更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口,在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流;The member user side terminal of the target group updates the original session window of the target group to a sharing session window corresponding to the target group and the source group, and loads the source group in the sharing session window. a message flow published in the group session, and loading a message flow published in the target group session;
    所述服务器向所述目标群组的成员用户发送消息流,所发送的消息流为所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。The server sends a message flow to a member user of the target group, where the sent message stream is a message flow published by other member users in the target group in the target group session.
  20. 一种服务器,包括:A server that includes:
    确定单元,配置为确定在群组分享模式中的目标群组、以及确定需要向所述目标群组进行消息分享的源群组;a determining unit configured to determine a target group in the group sharing mode and a source group that determines a message sharing to the target group;
    获取单元,配置为获取所述源群组的成员用户在源群组会话中发布的消息流;获取所述目标群组的成员用户在目标群组会话中发布的消息流;An acquiring unit, configured to acquire a message flow advertised by a member user of the source group in a source group session; and obtain a message flow advertised by a member user of the target group in a target group session;
    共享单元,配置为向所述源群组的成员用户发送所述源群组中其他成 员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;a sharing unit, configured to send, to a member user of the source group, a message flow advertised by other member users in the source group in the source group session; and send a message to a member user of the target group Describe the message flow published in the source group session;
    所述共享单元,还配置为向所述目标群组的成员用户发送所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。The sharing unit is further configured to send, to the member user of the target group, a message flow that is published by the other member users in the target group in the target group session.
  21. 一种终端,包括:A terminal comprising:
    提交单元,配置为向服务器提交在群组分享模式中的目标群组、以及提交需要与所述目标群组进行消息分享的源群组;a submitting unit configured to submit a target group in the group sharing mode to the server, and submit a source group that needs to share the message with the target group;
    获取单元,配置为获取所述服务器发送的源群组会话中发布的消息流,以及获取所述服务器发送的目标群组会话中发布的消息流;An acquiring unit, configured to acquire a message flow published in a source group session sent by the server, and obtain a message flow published in a target group session sent by the server;
    窗口单元,配置为更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口;a window unit, configured to update an original session window of the target group as a sharing session window corresponding to the target group and the source group;
    加载单元,配置为在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流。a loading unit configured to load a message flow published in the source group session in the sharing session window and load a message flow published in the target group session.
  22. 一种群组会话处理系统,包括:A group session processing system includes:
    服务器,配置为获取群组的成员用户提交的分享模式中的目标群组、以及获取需要与所述目标群组进行消息分享的源群组;a server configured to acquire a target group in a sharing mode submitted by a member user of the group, and obtain a source group that needs to share the message with the target group;
    所述服务器,还配置为获取所述源群组的成员用户在源群组会话中发布的消息流,以及获取所述目标群组的成员用户在目标群组会话中发布的消息流;The server is further configured to acquire a message flow advertised by a member user of the source group in a source group session, and obtain a message flow advertised by a member user of the target group in a target group session;
    所述服务器,还配置为向所述源群组的成员用户发送消息流,所发送的消息流为所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向所述目标群组的成员用户发送所述源群组会话中发布的消息流;The server is further configured to send a message flow to a member user of the source group, where the sent message flow is a message flow advertised by other member users in the source group in the source group session; Sending a message flow published in the source group session to a member user of the target group;
    终端,配置为在所述目标群组的成员用户侧,更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口,在所述 分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流;a terminal, configured to update, on a member user side of the target group, an original session window of the target group as a sharing session window corresponding to the target group and the source group, in the sharing session window Loading a message flow published in the source group session and loading a message flow published in the target group session;
    所述服务器,还配置为向所述目标群组的成员用户发送消息流是,所发送的消息流为所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。The server is further configured to send a message flow to a member user of the target group, where the sent message flow is a message flow published by other member users in the target group in the target group session.
  23. 一种服务器,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行权利要求1至8所述方法的步骤。A server comprising: a processor and a memory for storing a computer program executable on the processor, wherein the processor is operative to perform the steps of the method of claims 1 to 8 when the computer program is run.
  24. 一种计算机可读存储介质,其上存储有第一计算机程序,其中,该第一计算机程序被处理器执行时实现权利要求1至8所述方法的步骤。A computer readable storage medium having stored thereon a first computer program, wherein the first computer program, when executed by a processor, implements the steps of the method of claims 1-8.
  25. 一种终端,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行权利要求9至18所述方法的步骤。A terminal comprising: a processor and a memory for storing a computer program executable on the processor, wherein the processor is operative to perform the steps of the method of claims 9 to 18 when the computer program is run.
  26. 一种计算机可读存储介质,其上存储有第二计算机程序,其中,该第二计算机程序被处理器执行时实现权利要求9至18所述方法的步骤。A computer readable storage medium having stored thereon a second computer program, wherein the second computer program, when executed by a processor, implements the steps of the method of claims 9-18.
  27. 一种计算机可读存储介质,其上存储有第三计算机程序,其中,该第三计算机程序被处理器执行时实现权利要求1至8,以及9至18所述方法的步骤。A computer readable storage medium having stored thereon a third computer program, wherein the third computer program is executed by a processor to implement the steps of the methods of claims 1 to 8, and 9 to 18.
  28. 一种群组会话处理方法,包括:A group session processing method includes:
    服务器确定在群组分享模式中的目标群组、以及确定需要向所述目标群组进行消息分享的源群组;The server determines a target group in the group sharing mode, and determines a source group that needs to share the message to the target group;
    所述服务器获取所述源群组的成员用户在源群组会话中发布的消息流;The server acquires a message flow published by a member user of the source group in a source group session;
    所述服务器向所述源群组的成员用户发送消息流,所发送的消息流为所述源群组中其他成员用户在所述源群组会话中发布的消息流;以及,向 所述目标群组的成员用户发送所述源群组会话中发布的消息流;Sending, by the server, a message flow to a member user of the source group, where the sent message stream is a message flow published by other member users in the source group in the source group session; and, to the target A member user of the group sends a message flow published in the source group session;
    所述服务器获取所述目标群组的成员用户在目标群组会话中发布的消息流;Obtaining, by the server, a message flow published by a member user of the target group in a target group session;
    所述服务器向所述目标群组的成员用户发送消息流,所发送的消息流为所述目标群组中其他成员用户在所述目标群组会话中发布的消息流。The server sends a message flow to a member user of the target group, where the sent message stream is a message flow published by other member users in the target group in the target group session.
  29. 一种群组会话处理方法,包括:A group session processing method includes:
    终端向服务器提交在群组分享模式中的目标群组、以及提交需要与所述目标群组进行消息分享的源群组;The terminal submits a target group in the group sharing mode to the server, and submits a source group that needs to share the message with the target group;
    所述终端获取所述服务器发送的源群组会话中发布的消息流,以及获取所述服务器发送的目标群组会话中发布的消息流;Obtaining, by the terminal, a message flow advertised in the source group session sent by the server, and acquiring a message flow advertised in the target group session sent by the server;
    所述终端更新所述目标群组的原始会话窗口为对应所述目标群组以及所述源群组的分享会话窗口;Updating, by the terminal, the original session window of the target group is a sharing session window corresponding to the target group and the source group;
    所述终端在所述分享会话窗口中加载所述源群组会话中发布的消息流、以及加载所述目标群组会话中发布的消息流。The terminal loads a message flow published in the source group session in the sharing session window, and loads a message flow published in the target group session.
PCT/CN2017/115077 2016-12-09 2017-12-07 Group conversation processing method, terminal, server, and system, and storage medium WO2018103709A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018103709A1 true WO2018103709A1 (en) 2018-06-14

Family

ID=58216990

Family Applications (1)

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

Country Status (2)

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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110414999A (en) * 2019-07-23 2019-11-05 复旦大学 A service quality management system based on community system
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof
CN112835658A (en) * 2019-11-22 2021-05-25 腾讯科技(深圳)有限公司 Conversation room processing method and device
CN113225247A (en) * 2021-07-02 2021-08-06 中兴通讯股份有限公司 Group chat processing method and system, electronic device and computer readable storage medium
CN114900489A (en) * 2021-01-26 2022-08-12 腾讯科技(深圳)有限公司 Message processing method and device, electronic equipment and storage medium
CN115022105A (en) * 2021-07-23 2022-09-06 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium

Families Citing this family (21)

* 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 广东小天才科技有限公司 A 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
CN110048933B (en) * 2019-04-04 2022-05-20 厦门小圈网络科技有限公司 Method for using dynamic and static in chat tool
CN110048934B (en) * 2019-04-04 2022-05-27 厦门小圈网络科技有限公司 Method for classifying and displaying internal information of circle in chat tool
CN110932873A (en) * 2019-11-18 2020-03-27 北京达佳互联信息技术有限公司 Group communication method, terminal equipment, server and communication system
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 device
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
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
CN113794575A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 Message sending method, device and electronic device
CN114500440B (en) * 2022-01-25 2023-12-05 上海禹璨信息技术有限公司 Information processing methods, devices, equipment and storage media
CN118900209B (en) * 2024-10-09 2024-12-10 上海大智慧信息科技有限公司 Special isolation mode group operation method and system suitable for online services

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102347916A (en) * 2011-11-01 2012-02-08 中兴通讯股份有限公司 Gateway, cross-community group information processing system and method
CN105530165A (en) * 2015-12-08 2016-04-27 小米科技有限责任公司 Instant chat method and device
CN106302121A (en) * 2016-08-15 2017-01-04 百度在线网络技术(北京)有限公司 The management method of group and device
CN106453066A (en) * 2016-12-09 2017-02-22 腾讯科技(深圳)有限公司 Group session processing method and system, terminal and server

Family Cites Families (3)

* 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
KR100840365B1 (en) * 2004-07-30 2008-06-20 삼성전자주식회사 Method of combining sessions of multiple P.C. sessions and system thereof
CN100411461C (en) * 2006-07-20 2008-08-13 华为技术有限公司 PoC group session realizing method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102347916A (en) * 2011-11-01 2012-02-08 中兴通讯股份有限公司 Gateway, cross-community group information processing system and method
CN105530165A (en) * 2015-12-08 2016-04-27 小米科技有限责任公司 Instant chat method and device
CN106302121A (en) * 2016-08-15 2017-01-04 百度在线网络技术(北京)有限公司 The management method of group and device
CN106453066A (en) * 2016-12-09 2017-02-22 腾讯科技(深圳)有限公司 Group session processing method and system, terminal and server

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110414999A (en) * 2019-07-23 2019-11-05 复旦大学 A service quality management system based on community system
CN110414999B (en) * 2019-07-23 2023-04-07 复旦大学 Service quality management system based on community system
CN112835658A (en) * 2019-11-22 2021-05-25 腾讯科技(深圳)有限公司 Conversation room processing method and device
CN112835658B (en) * 2019-11-22 2023-10-27 腾讯科技(深圳)有限公司 Conversation room processing method and device
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof
CN114900489A (en) * 2021-01-26 2022-08-12 腾讯科技(深圳)有限公司 Message processing 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
CN113225247A (en) * 2021-07-02 2021-08-06 中兴通讯股份有限公司 Group chat processing method and system, electronic device and computer readable storage medium
CN115022105A (en) * 2021-07-23 2022-09-06 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium
CN115022105B (en) * 2021-07-23 2024-03-01 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN106453066A (en) 2017-02-22
CN106453066B (en) 2020-03-17

Similar Documents

Publication Publication Date Title
WO2018103709A1 (en) Group conversation processing method, terminal, server, and system, and storage medium
JP6911189B2 (en) Methods, devices, and computer program products for generating communication channels shared with the outside world.
US11316965B1 (en) Methods and systems for processing an ephemeral con tent message
CN105024975B (en) The method, apparatus and system that account logs in
US10547466B2 (en) Multiplexing message distribution within group-based communication system
JP2024532326A (en) Integrated workspace on a communication platform
KR20170006813A (en) Method and Apparatus for Supporting Secure Chat
JP2019511775A (en) Techniques for messaging bot rich communication
US11582271B2 (en) Reservation management for polling requests in a communication system
JP2010533906A (en) Method, system and apparatus for sorting topics within a group
US10789352B2 (en) Multidevice user authentication in group-based communication systems
US20160094528A1 (en) Authenticating Redirection Service
CN102368780B (en) An application-based information interaction method and system
KR20210046082A (en) Method, apparatus, and computer program product for creating externally shared communication channels
JP2022126651A (en) Dynamic object update subscriptions based on user interactions with interface
KR101739664B1 (en) System and method for event creation
CN103997482A (en) Method of user registration in desktop cloud service, and system
JP7376553B2 (en) Maintaining minimal interface functionality in the absence of push-based communication connections in group-based communication systems
AU2021101081A4 (en) Method, apparatus and computer program product for generating externally shared communication channels
CN114020412A (en) A message processing method, apparatus, device and storage medium
US10346352B2 (en) Providing notification based on destination of file operation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17879465

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17879465

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载