WO2019079971A1 - 群组的通信方法及装置、计算机存储介质、计算机设备 - Google Patents

群组的通信方法及装置、计算机存储介质、计算机设备

Info

Publication number
WO2019079971A1
WO2019079971A1 PCT/CN2017/107483 CN2017107483W WO2019079971A1 WO 2019079971 A1 WO2019079971 A1 WO 2019079971A1 CN 2017107483 W CN2017107483 W CN 2017107483W WO 2019079971 A1 WO2019079971 A1 WO 2019079971A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
message
transmission attribute
user
participating
Prior art date
Application number
PCT/CN2017/107483
Other languages
English (en)
French (fr)
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 深圳市云中飞网络科技有限公司
Priority to PCT/CN2017/107483 priority Critical patent/WO2019079971A1/zh
Priority to CN201780002035.0A priority patent/CN110582998A/zh
Publication of WO2019079971A1 publication Critical patent/WO2019079971A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a group communication method and apparatus, a computer storage medium, and a computer device.
  • the premise of group chat is to create a group, which usually includes multiple users.
  • the way to create a group is: the creator of the group pulls multiple contacts or user accounts into one page, and then the creator applies to create a group chat, thus completing the group creation.
  • the embodiment of the present application provides a group communication method and device, a computer storage medium, and a computer device.
  • the communication method of the group provided by the embodiment of the present application is applied to a server, including:
  • the transmission attribute is used to indicate the a group participating in a group chat in a group collection;
  • the message is sent to the group of participating group chats in the group set.
  • the communication method of the group provided by the embodiment of the present application is applied to the terminal, including:
  • the communication device of the group provided by the embodiment of the present application is applied to a server, and includes:
  • a group set determining module configured to receive a group set setup message; based on the group set Establishing a message to determine a group included in the group set, the group set including at least two groups;
  • a group determining module configured to: when receiving a message sent by the first user, determine a transmission attribute corresponding to the message, where the first user is a user in any one of the group groups; The transmission attribute is used to indicate a group participating in the group chat in the group set; and determining a group participating in the group chat from the group set based on the transmission attribute corresponding to the message;
  • a message forwarding module configured to send the message to the group of the participating group chats in the group set.
  • the communication device of the group provided by the embodiment of the present application is applied to the terminal, and includes:
  • a group set requesting module configured to send a group set setup message to the server, where the group set setup message is used to instruct the server to establish a group set, where the group set includes at least two groups;
  • a transmission attribute determining module configured to determine a transmission attribute corresponding to the message when the message input by the first user is obtained, where the transmission attribute is used to indicate a group participating in the group chat in the group set;
  • a message sending module configured to send a message carrying the transmission attribute to the server, to send the message to the group participating in the group chat by the server based on a transmission attribute corresponding to the message.
  • the computer storage medium provided by the embodiment of the present application has stored thereon computer executable instructions, and the computer executable instructions are implemented by the processor to implement the group communication method.
  • the computer device provided by the embodiment of the present application includes a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the processor implements the group when executing the computer executable instruction Group communication method.
  • FIG. 1 is a schematic diagram of hardware entities of various parties performing information interaction in an embodiment of the present application.
  • FIG. 2 is a schematic flowchart 1 of a communication method of a group according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a group set according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart 2 of a communication method of a group according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart 3 of a communication method of a group according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart diagram 4 of a group communication method according to an embodiment of the present application.
  • FIG. 7 is a first schematic structural diagram of a group communication device according to an embodiment of the present application.
  • FIG. 8 is a second schematic structural diagram of a group communication device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • the number of people in the traditional group is limited, for example, the number of people in a group is 200. Although such a group can control the size of the group chat and maintain the pressure on the server, it also limits certain usage scenarios. For example, a company has 3 departments, a total of 500 people, and establishes a group chat existing with all employees. Technology is not achievable, that is, existing groups cannot achieve group chats for large numbers.
  • FIG. 1 is a schematic diagram of hardware entities of each party performing information interaction in the embodiment of the present application.
  • FIG. 1 includes: terminal 11-15.
  • the number of terminals is not The restrictions may be two or more, and the types of terminals include mobile phones, tablets, PCs, all-in-ones, and the like.
  • the terminals 11-15 are connected to the same server by wire or wirelessly.
  • one terminal may send a message to another terminal through forwarding of the server. This method is called a one-to-one session; one terminal may also send a message to all terminals in a group through forwarding by the server. This is called a group chat session.
  • a group chat session all members of the group can receive messages from a user in the group.
  • the terminal 11 and the terminal 12 are located in one group, and the terminal 13, the terminal 14, and the terminal 15 are located in another group.
  • Group chat can be implemented in groups, and message interaction cannot be realized between groups.
  • the embodiment of the present application introduces the concept of group collection, that is, combining two or more groups to form a group set, which can cover more group chat users, thereby realizing a certain user. The message is sent to each group in the group collection, and the group chat area of the group is expanded.
  • a plurality of common groups are combined to form a group set, and the group set includes all members in the group chat, and the user can publish to each group included in the group set.
  • the message indirectly, breaks through the limits of the group size and does not increase the pressure on the server.
  • FIG. 1 is only an example of a system architecture that implements an embodiment of the present application.
  • the embodiment of the present application is not limited to the system structure described in FIG. 1 above, and various implementations of the present application are proposed based on the system architecture. example.
  • FIG. 2 is a schematic flowchart 1 of a communication method of a group according to an embodiment of the present application. As shown in FIG. 2, the communication method of the group includes the following steps:
  • Step 201 The server receives the group set setup message, and determines, according to the group set setup message, a group included in the group set, where the group set includes at least two groups.
  • the group has the creator, the same reason, the group set also has the creator, and the group set can have one creator and multiple administrators, wherein the creator can create or dissolve the group set and manage Members can add or delete groups in a group collection.
  • user U1 is located in group G1
  • user U2 is located in group G2
  • user Un is located in group Gn
  • user U1 is established as a creator to establish group set GG, where GG includes G1, G2, ... , Gn and other N groups.
  • the user U1 creates the group set GG, it sends a group set setup message to the server to inform the server which group groups have built the group set GG.
  • the host and the terminal have a corresponding relationship, so the user can be referred to as a terminal.
  • the first user may also be referred to as a first terminal
  • the second user may also be referred to as a second terminal.
  • the server may determine, according to the group set setup message, a group included in the group set, where the group set includes at least two groups.
  • Step 202 The server determines, according to the message sent by the first user, a transmission attribute corresponding to the message, where the first user is a user in any one of the group groups; The transmission attribute corresponding to the message, and the group participating in the group chat is determined from the group set.
  • the first user is a user in any one of the group groups. As shown in FIG. 3, the first user may be the user U1 in the group G1, or may be in the group G2. The user U2 can also be the user Un in the group Gn.
  • the server When the server receives the message sent by the first user, it will forward the message. Before forwarding the message, firstly, the transmission attribute corresponding to the message needs to be determined, and then the group participating in the group chat is determined from the group set based on the transmission attribute corresponding to the message.
  • the transmission attribute is used to indicate a group participating in the group chat in the group set; in another embodiment, determining, according to the transmission attribute corresponding to the message, that the group participating in the group chat includes the group set At least two groups in which the group in which the first user is located is included in the at least two groups.
  • Step 203 The server sends the message to the group of the participating group chats in the group set.
  • the message is sent to the group in which the first user is located.
  • the message is sent to the at least two groups in the group set.
  • the group participating in the group chat includes at least two groups in the group set, and the group set includes a first group and at least one second group, wherein the first user is located in the group a group.
  • sending a message to at least two groups in the group set can be achieved by:
  • Manner 1 Send the message to the first group where the first user is located, and forward the message to the at least one second group in the group set.
  • the message M1 is sent in the group G1, and the server forwards the message M1 to the group G2, ..., the group Gn and the like, so that other group chat members are Received message M1.
  • the sharing of messages in one group to other groups can be realized through a convenient forwarding process, thereby expanding the scope of the group chat.
  • this way of sharing messages is not limited by the number of people in a single group, so that any number of people can participate in the group chat.
  • Manner 2 merging the first group in which the first user is located and the at least one second group into one super group, where the super group and the common group (such as the first group) are substantially Similarly, the users in the super group include all users in the first group and all users in the at least one second group; sending the message to the super group to implement the first group and The message can be received by all users in at least one second group.
  • the groups are flexibly combined to form a group set, and the limit of the number of groups is limited.
  • the server only the message is forwarded to other groups to implement the group.
  • the expansion of the chat area does not increase the maintenance pressure on the server.
  • the technical solution of the embodiment of the present application can be applied to a converged communication (RCS) scenario.
  • the converged communication is a communication technology that combines a network message with a traditional short multimedia message.
  • the information of the network end can be transmitted to the network through the converged communication function.
  • a phone number For example, the information of the network end can be transmitted to the network through the converged communication function.
  • a phone number For example, the information of the network end can be transmitted to the network through the converged communication function.
  • FIG. 4 is a schematic flowchart 2 of a communication method of a group according to an embodiment of the present application. As shown in FIG. 4, the communication method of the group includes the following steps:
  • Step 401 The server receives the group set setup message, and determines, according to the group set setup message, a group included in the group set, where the group set includes at least two groups.
  • the group has the creator, the same reason, the group set also has the creator, and the group set can have one creator and multiple administrators, wherein the creator can create or dissolve the group set and manage Members can add or delete groups in a group collection.
  • user U1 is located in group G1
  • user U2 is located in group G2
  • user Un is located in group Gn
  • user U1 is established as a creator to establish group set GG, where GG includes G1, G2, ... , Gn and other N groups.
  • the user U1 creates the group set GG, it sends a group set setup message to the server to inform the server which group groups have built the group set GG.
  • the host and the terminal have a corresponding relationship, so the user can be referred to as a terminal.
  • the first user may also be referred to as a first terminal
  • the second user may also be referred to as a second terminal.
  • the server may determine, according to the group set setup message, a group included in the group set, where the group set includes at least two groups.
  • Step 402 The server determines a transmission attribute corresponding to the message when the server sends the message sent by the first user, where the first user is a user in any one of the group groups.
  • the first user is a user in any one of the group groups. As shown in FIG. 3, the first user may be the user U1 in the group G1, or may be in the group G2. The user U2 can also be the user Un in the group Gn.
  • the behavior of the user in the original group is not changed by the group set.
  • the transmission attribute of the message represents that the group participating in the group chat is the group in which the first user is located.
  • the transmission attribute of the message characterizes the group participating in the group chat including at least two groups in the group set.
  • the session interface of the terminal where the first user is located is provided with two sending controls, which are respectively a first sending control and a second sending control.
  • sending controls which are respectively a first sending control and a second sending control.
  • Step 403 If the transmission attribute corresponding to the message is the first transmission attribute, determining, according to the first transmission attribute, that the group participating in the group chat includes the group selected in the group selection message; sending the message To the selected group.
  • the group participating in the group chat includes a first group, at least one second group, wherein the first user is located in the first group; based on this, the message is sent to the first user The first group in which the message is forwarded to the at least one second group in the group of groups.
  • Step 404 If the transmission attribute corresponding to the message is the second transmission attribute, determining, according to the second transmission attribute, that the group participating in the group chat includes each group in the group set; the message is sent to Each group in the group of groups.
  • the message M1 is sent in the group G1, and the server forwards the message M1 to the group G2, ..., the group Gn and the like, so that other group chat members are Received message M1.
  • Step 405 If the transmission attribute corresponding to the message is the third transmission attribute, determine, according to the third transmission attribute, that the group participating in the group chat is the group in which the first user is located; sending the message to The group in which the first user is located.
  • the groups are flexibly combined to form a group set, and the limit of the number of groups is limited.
  • the server only the message is forwarded to other groups to implement the group.
  • the expansion of the chat area does not increase the maintenance pressure on the server.
  • FIG. 5 is a schematic flowchart 3 of a communication method of a group according to an embodiment of the present application. As shown in FIG. 5, the communication method of the group includes the following steps:
  • Step 501 The terminal sends a group set setup message to the server, where the group set setup message is used to instruct the server to establish a group set, where the group set includes at least two groups.
  • the group has the creator, the same reason, the group set also has the creator, and the group set can have one creator and multiple administrators, wherein the creator can create or dissolve the group set and manage Members can add or delete groups in a group collection.
  • user U1 is located in group G1, and user U2 is located in group G2, user Un is located in the group Gn; the user U1 establishes a group set GG as a creator, wherein the GG includes N groups such as G1, G2, ..., Gn. After the user U1 creates the group set GG, it sends a group set setup message to the server to inform the server which group groups have built the group set GG.
  • the host and the terminal have a corresponding relationship, so the user can be referred to as a terminal.
  • the first user may also be referred to as a first terminal
  • the second user may also be referred to as a second terminal.
  • the server may determine, according to the group set setup message, a group included in the group set, where the group set includes at least two groups.
  • Step 502 The terminal determines the transmission attribute corresponding to the message when the terminal obtains the message input by the first user, where the transmission attribute is used to indicate the group participating in the group chat in the group set.
  • the first user is a user in any one of the group groups. As shown in FIG. 3, the first user may be the user U1 in the group G1, or may be in the group G2. The user U2 can also be the user Un in the group Gn.
  • the transmission attribute corresponding to the message is implemented by: the terminal determining whether to obtain the group selection message sent by the first user; and if obtaining the group selection message sent by the first user,
  • the group selection message encapsulates a first transmission attribute corresponding to the message to be transmitted, wherein the first transmission attribute is used to indicate that the group participating in the group chat includes the selected group in the group selection message.
  • the corresponding second transmission attribute is encapsulated for the message to be transmitted, where the second transmission attribute is used to indicate that the group participating in the group chat includes the group Each group in the group set; or, if the group selection message sent by the first user is not obtained, encapsulating a corresponding third transmission attribute for the message to be transmitted, wherein the third transmission attribute is used to indicate The group participating in the group chat is the group in which the first user is located.
  • the user U1 when the user U1 sends the message M2, it can select which groups to send the message to, for example, the group G2, the group G3.
  • the server forwards the message to group G2, in group G3, all members in group G2 and group G3 receive the message M2.
  • the user U1 may also not select the group to be sent.
  • the message is sent to all groups in the group set by default or the message is sent to the group G1 where the user U1 is located.
  • Step 503 The terminal sends a message carrying the transmission attribute to the server, to send the message to the participating group chat by the server based on a transmission attribute corresponding to the message. In the group.
  • the groups are flexibly combined to form a group set, and the limit of the number of groups is limited.
  • the server only the message is forwarded to other groups to implement the group.
  • the expansion of the chat area does not increase the maintenance pressure on the server.
  • FIG. 6 is a schematic flowchart diagram of a group communication method according to an embodiment of the present application. As shown in FIG. 6, the group communication method includes the following steps:
  • Step 601 User U1 establishes a group set GG.
  • the group set GG includes groups G1, G2, ... Gn.
  • Step 602 The user U1 notifies the server that the group set GG is established.
  • Step 603 The server establishes a message forwarding process of the group set GG; and performs the following steps 604 and 606 respectively.
  • Step 604 The server receives the message M1 sent by the user U1.
  • the intention of the user U1 is to send the message M1 to the group G1.
  • Step 605 The server sends the message M1 to the group G1, and the process ends.
  • Step 606 The server receives the message M2 sent by the user U1; and performs the following steps 607 and 608 simultaneously.
  • the intention of the user U1 is to send the message M2 to the group set.
  • Step 607 The server sends the message M2 to the group G1.
  • Step 608 The server forwards the message M2 to the group G2, ..., Gn.
  • FIG. 7 is a first schematic structural diagram of a group communication device according to an embodiment of the present application. As shown in FIG. 7, the group communication device includes:
  • the group set determining module 701 is configured to receive a group set setup message, and determine, according to the group set setup message, a group included in the group set, where the group set includes at least two groups;
  • the group determining module 702 is configured to: when receiving the message sent by the first user, determine a transmission attribute corresponding to the message, where the first user is a user in any one of the group groups; The transmission attribute is used to indicate a group participating in the group chat in the group set; and determining a group participating in the group chat from the group set based on the transmission attribute corresponding to the message;
  • the message forwarding module 703 is configured to send the message to the group of the participating group chats in the group set.
  • the group determining module 702 is further configured to be based on the message. Transmitting attributes, determining that the group participating in the group chat is a group in which the first user is located;
  • the message forwarding module 703 is further configured to send the message to a group where the first user is located.
  • the group determining module 702 is further configured to determine, according to the transmission attribute corresponding to the message, that the group participating in the group chat includes at least two groups in the group set.
  • the at least two groups include the group in which the first user is located;
  • the message forwarding module 703 is further configured to send the message to the at least two groups in the group set.
  • the group set includes a first group and at least one second group, wherein the first user is located in the first group;
  • the message forwarding module 703 is further configured to send the message to the first group where the first user is located, and forward the message to the at least one second group in the group set .
  • the group determining module 702 is further configured to:
  • the transmission attribute corresponding to the message is the first transmission attribute, determining, according to the first transmission attribute, that the group participating in the group chat includes the group selected in the group selection message;
  • the transmission attribute corresponding to the message is the second transmission attribute, determining, according to the second transmission attribute, that the group participating in the group chat includes each group in the group set;
  • the transmission attribute corresponding to the message is the third transmission attribute, determining, according to the third transmission attribute, that the group participating in the group chat is the group in which the first user is located.
  • the implementation functions of the modules in the communication device of the group shown in FIG. 7 can be understood by referring to the related description of the communication method of the foregoing group.
  • the functions of the respective modules in the communication device of the group shown in FIG. 7 can be realized by a program running on the processor, or can be realized by a specific logic circuit.
  • the communication device of the group shown in Figure 7 is applied to a server.
  • FIG. 8 is a schematic structural diagram of a group communication device according to an embodiment of the present application. As shown in FIG. 8, the group communication device includes:
  • the group collection requesting module 801 is configured to send a group set setup message to the server, where the group set setup message is used to instruct the server to establish a group set, where the group set includes at least two groups;
  • the transmission attribute determining module 802 is configured to determine a transmission attribute corresponding to the message when the message input by the first user is obtained, where the transmission attribute is used to indicate participation in the group chat in the group set.
  • the message sending module 803 is configured to send a message carrying the transmission attribute to the server, to send the message to the group participating in the group chat by the server based on a transmission attribute corresponding to the message .
  • the device further includes:
  • the input module 804 is configured to determine whether the group selection message sent by the first user is obtained
  • the encapsulating module 805 is configured to: when the group selection message sent by the first user is obtained, encapsulate a corresponding first transmission attribute for the message to be transmitted based on the group selection message, where the first transmission attribute is used by The group indicating participation in the group chat includes the group selected in the group selection message.
  • the encapsulating module 805 is further configured to:
  • the corresponding second transmission attribute is encapsulated for the message to be transmitted, where the second transmission attribute is used to indicate that the group participating in the group chat includes the group Each group in the group collection; or,
  • the third transmission attribute is encapsulated for the message to be transmitted, where the third transmission attribute is used to indicate that the group participating in the group chat is the The group in which a user is located.
  • the implementation functions of the modules in the communication device of the group shown in FIG. 8 can be understood by referring to the related description of the communication method of the foregoing group.
  • the functions of the respective modules in the communication device of the group shown in FIG. 8 can be realized by a program running on the processor, or can be realized by a specific logic circuit.
  • the communication device of the group shown in Figure 8 is applied to the terminal.
  • the communication device of the above group in the embodiment of the present application may also 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 separate product.
  • the technical solution of the embodiments of the present application may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present application further provides a computer storage medium, wherein a computer is stored
  • a computer is stored
  • the communication method of the above group of the embodiments of the present application is implemented when the computer executable instructions are executed by the processor.
  • the computer device 10 may include one or more (only one shown) processor 12 (the processor 12 may include but is not limited to A processing device such as a Micro Controller Unit (MCU) or a Field Programmable Gate Array (FPGA), a memory 14 for storing data, and a transmission device 16 for communication functions.
  • processor 12 may include but is not limited to A processing device such as a Micro Controller Unit (MCU) or a Field Programmable Gate Array (FPGA), a memory 14 for storing data, and a transmission device 16 for communication functions.
  • MCU Micro Controller Unit
  • FPGA Field Programmable Gate Array
  • FIG. 9 is merely illustrative and does not limit the structure of the above electronic device.
  • computer device 10 may also include more or fewer components than shown in FIG. 9, or have a different configuration than that shown in FIG.
  • the memory 14 can be used to store software programs and modules of the application software, such as program instructions/modules corresponding to the group communication method in the embodiment of the present application, and the processor 12 executes by executing the software program and the module stored in the memory 14.
  • the processor 12 executes by executing the software program and the module stored in the memory 14.
  • processor 12 performs the following steps by running a software program and modules stored in memory 14:
  • Receiving a group set setup message determining, according to the group set setup message, a group included in the group set, where the group set includes at least two groups; when receiving the message sent by the first user, determining a transmission attribute corresponding to the message, where the first user is a user in any one of the group groups; the transmission attribute is used to indicate a group participating in the group chat in the group set; Determining a transmission attribute corresponding to the message, determining a group participating in the group chat from the group set; and transmitting the message to the group of the participating group chat in the group set.
  • the processor 12 further performs the following steps: determining, according to the transmission attribute corresponding to the message, that the group participating in the group chat is the group in which the first user is located; sending the message to the The group where the first user is located.
  • the processor 12 further performs the following steps: determining, according to the transmission attribute corresponding to the message, that the group participating in the group chat includes at least two groups in the group set, wherein the at least The two groups include the group in which the first user is located; the message is sent to the at least two groups in the group set.
  • the group set includes a first group and at least one second group, wherein the first group The user is located in the first group; the processor 12 further performs the steps of: sending the message to the first group in which the first user is located, and forwarding the message to the group set The at least one second group.
  • the processor 12 further performs the following steps: if the transmission attribute corresponding to the message is the first transmission attribute, determining, according to the first transmission attribute, that the group participating in the group chat includes the group selection message selected a group; if the transmission attribute corresponding to the message is a second transmission attribute, determining, based on the second transmission attribute, that the group participating in the group chat includes each group in the group set; if the message The corresponding transmission attribute is a third transmission attribute, and determining, according to the third transmission attribute, that the group participating in the group chat is the group in which the first user is located.
  • the processor 12 performs the following steps by running a software program and modules stored in the memory 14:
  • the processor 12 further performs the following steps: determining whether the group selection message sent by the first user is obtained; if the group selection message sent by the first user is obtained, selecting the message based on the group
  • the message to be transmitted encapsulates a corresponding first transmission attribute, wherein the first transmission attribute is used to indicate that the group participating in the group chat includes the selected one of the group selection messages.
  • the processor 12 further performs the following steps: if the group selection message sent by the first user is not obtained, the corresponding second transmission attribute is encapsulated for the message to be transmitted, where the second transmission attribute is used by And indicating that the group participating in the group chat includes each group in the group set; or, if the group selection message sent by the first user is not obtained, encapsulating the corresponding third transmission attribute for the message to be transmitted
  • the third transmission attribute is used to indicate that the group participating in the group chat is the group in which the first user is located.
  • the memory 14 may include a high speed random access memory, and may also include a non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 14 can further include a memory remotely located relative to processor 12, which These remote memories can be connected to the computer device 10 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 16 is for receiving or transmitting data via a network.
  • the network specific examples described above may include a wireless network provided by a communication provider of computer device 10.
  • the transmission device 16 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 16 can be a radio frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF radio frequency
  • the disclosed method and smart device may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or modules, and may be electrical, mechanical or other forms. of.
  • the modules described above as separate components may or may not be physically separated.
  • the components displayed as modules may or may not be physical modules, that is, may be located in one place or distributed to multiple network modules; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present application may be integrated into one second processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module;
  • the above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.

Abstract

本申请公开了一种群组的通信方法及装置、计算机存储介质、计算机设备,包括:接收到群组集合建立消息;基于所述群组集合建立消息确定群组集合所包括的群组;接收到第一用户发送的消息时,将所述消息发送至所述群组集合中参与群聊的群组中。

Description

群组的通信方法及装置、计算机存储介质、计算机设备 技术领域
本申请涉及通信技术领域,尤其涉及一种群组的通信方法及装置、计算机存储介质、计算机设备。
背景技术
群聊的前提是建立群组,群组中通常包括多个用户。目前,建立群组的方式是:群组的创建者将多个联系人或用户账号拉到一个页面中,然后创建者申请建立群聊,如此完成群组的创建。
发明内容
本申请实施例提供了一种群组的通信方法及装置、计算机存储介质、计算机设备。
本申请实施例提供的群组的通信方法,应用于服务器,包括:
接收到群组集合建立消息;
基于所述群组集合建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组;
接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户;所述传输属性用于指示所述群组集合中参与群聊的群组;
基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;
将所述消息发送至所述群组集合中的所述参与群聊的群组中。
本申请实施例提供的群组的通信方法,应用于终端,包括:
向服务器发送群组集合建立消息,其中,所述群组集合建立消息用于指示所述服务器建立群组集合,所述群组集合包括至少两个群组;
获得第一用户输入的消息时,确定所述消息对应的传输属性,其中,所述传输属性用于指示所述群组集合中参与群聊的群组;
将携带有所述传输属性的消息发送至所述服务器,以通过所述服务器基于所述消息对应的传输属性将所述消息发送至所述参与群聊的群组中。
本申请实施例提供的群组的通信装置,应用于服务器,包括:
群组集合确定模块,配置为接收到群组集合建立消息;基于所述群组集合 建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组;
群组确定模块,配置为接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户;所述传输属性用于指示所述群组集合中参与群聊的群组;基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;
消息转发模块,配置为将所述消息发送至所述群组集合中的所述参与群聊的群组中。
本申请实施例提供的群组的通信装置,应用于终端,包括:
群组集合请求模块,配置为向服务器发送群组集合建立消息,其中,所述群组集合建立消息用于指示所述服务器建立群组集合,所述群组集合包括至少两个群组;
传输属性确定模块,配置为获得第一用户输入的消息时,确定所述消息对应的传输属性,其中,所述传输属性用于指示所述群组集合中参与群聊的群组;
消息发送模块,配置为将携带有所述传输属性的消息发送至所述服务器,以通过所述服务器基于所述消息对应的传输属性将所述消息发送至所述参与群聊的群组中。
本申请实施例提供的计算机存储介质,其上存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现上述的群组的通信方法。
本申请实施例提供的计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机可执行指令,其中,所述处理器执行所述计算机可执行指令时实现上述的群组的通信方法。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例中进行信息交互的各方硬件实体的示意图。
图2为本申请实施例的群组的通信方法的流程示意图一。
图3为本申请实施例的群组集合的示意图。
图4为本申请实施例的群组的通信方法的流程示意图二。
图5为本申请实施例的群组的通信方法的流程示意图三。
图6为本申请实施例的群组的通信方法的流程示意图四。
图7为本申请实施例的群组的通信装置的结构组成示意图一。
图8为本申请实施例的群组的通信装置的结构组成示意图二。
图9为本申请实施例的计算机设备的结构组成示意图。
具体实施方式
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。
传统的群组中的人数受到限制,例如一个群组限制人数为200人。这样的群组虽然能够控制群聊的人数规模,维护服务器的压力,但是也限制了某些使用场景,例如,一个公司有3个部门,总共500人,建立一个包含所有员工的群聊现有技术是不能够实现的,即:现有的群组无法实现大规模人数的群聊。
为此,提出本申请实施例的技术方案,图1为本申请实施例中进行信息交互的各方硬件实体的示意图,图1中包括:终端11-15,实际应用中,终端的个数不做限制,可以是两个或多个,终端的类型包括手机、平板、PC机、一体机等类型。一个示例中,终端11-15通过有线方式或无线方式连接至同一服务器。本实施例中,一个终端可以通过服务器的转发向另一个终端发送消息,这种方式称为一对一会话;一个终端还可以通过服务器的转发向一个群组中的所有终端发送消息,这种方式称为群聊会话。在群聊会话中,群组中的所有成员都可以接收到该群组中某个用户发送的消息。在一个示例中,终端11、终端12位于一个群组,终端13、终端14、终端15位于另一个群组。群组内可以实现群聊,群组之间暂无法实现消息的交互。为此,本申请实施例引入群组集合的概念,即:将两个以上的群组组合起来形成一个群组集合,这个群组集合能够涵盖更多的群聊用户,从而实现将某个用户的消息发送到这个群组集合中的各个群组中,扩展了群组的群聊区域。采用本申请实施例的技术方案,将普通的多个群组组合起来,形成一个群组集合,该群组集合包括所有群聊中的成员,用户能够向群组集合所包括的各个群组发表消息,从而间接突破了群组人数的限制,同时也不会增加服务器的压力。
上述图1的例子只是实现本申请实施例的一个系统架构实例,本申请实施例并不限于上述图1所述的系统结构,基于该系统架构,提出本申请各个实施 例。
图2为本申请实施例的群组的通信方法的流程示意图一,如图2所示,所述群组的通信方法包括以下步骤:
步骤201:服务器接收到群组集合建立消息,并基于所述群组集合建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组。
本申请实施例中,群组具有创建者,同理,群组集合也有创建者,一个群组集合可以拥有一个创建者和多个管理员,其中,创建者可以创建或者解散群组集合,管理员可以增加或删除群组集合中的群组。
例如:如图3所示,用户U1位于群组G1,用户U2位于群组G2,用户Un位于群组Gn;用户U1作为创建者建立群组集合GG,其中,GG包括G1,G2,……,Gn等N个群组。用户U1创建了群组集合GG后,向服务器发送群组集合建立消息,以通知服务器哪些群组组建成了群组集合GG。
值得注意的是,终端的主人与终端具有对应关系,因此可以将用户称为终端,基于这样的理解,第一用户也可以称为第一终端,第二用户也可以称为第二终端。
本申请实施例中,服务器接收到群组集合建立消息后,可以基于所述群组集合建立消息确定所述群组集合所包括的群组,所述群组集合包括至少两个群组。
步骤202:所述服务器接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户;基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组。
本申请实施例中,第一用户为所述群组集合中任意一个群组中的用户,如图3所示,第一用户可以是群组G1中的用户U1,也可以是群组G2中的用户U2,还可以是群组Gn中的用户Un。当服务器接收到第一用户发送的消息时,会对该消息进行转发。在对该消息进行转发之前,首先需要确定该消息对应的传输属性,而后基于该消息对应的传输属性,从所述群组集合中确定出参与群聊的群组。
传输属性用于指示所述群组集合中参与群聊的群组;在另一实施方式中,基于所述消息对应的传输属性,确定出所述参与群聊的群组包括所述群组集合中的至少两个群组,其中,所述至少两个群组中包括所述第一用户所在的群组。
步骤203:所述服务器将所述消息发送至所述群组集合中的所述参与群聊的群组中。
如果确定出所述参与群聊的群组为所述第一用户所在的群组,则将所述消息发送至所述第一用户所在的群组。
如果确定出所述参与群聊的群组包括所述群组集合中的至少两个群组,则将所述消息发送至所述群组集合中的所述至少两个群组中。
以参与群聊的群组包括所述群组集合中的至少两个群组为例,群组集合包括第一群组、至少一个第二群组,其中,所述第一用户位于所述第一群组。基于此,将消息发送至群组集合中的至少两个群组中,可以通过以下方式实现:
方式一:将所述消息发送至所述第一用户所在的第一群组,并将所述消息转发至所述群组集合中的所述至少一个第二群组。
例如:用户U1发送消息M1时,该消息M1在群组G1内发送,同时服务器将该消息M1转发到群组G2,……,群组Gn等其他的群组中,使得其他群聊成员都接收到消息M1。
对于方式一而言,通过便捷的转发流程即可实现将某个群组中的消息共享到其他群组中,从而扩大了群聊的范围。此外,这种消息共享方式不受单个群组的人数限制,因而能够实现任意数目的人数参与到群聊中。
方式二:将所述第一用户所在的第一群组和所述至少一个第二群组合并成一个超级群组,这里,超级群组与普通群组(如第一群组)实质上是一样的,超级群组中的用户包括第一群组中的全部用户和至少一个第二群组中的全部用户;将所述消息发送至所述超级群组中,以实现第一群组和至少一个第二群组中的全部用户均可以接收到该消息。
本申请实施例的技术方案,灵活地对群组进行组合形成群组集合,绕开了群组人数具有上限的限制,对于服务器而言,仅将消息转发到到其他群组中就可以实现群聊区域的扩大,并不增加服务器的维护压力。
本申请实施例的技术方案可以应用于融合通信(RCS)场景,这里,融合通信是一种结合了网络消息与传统短彩信的通信技术,例如:通过融合通信功能能够实现将网络端的信息发送到某个手机号。
图4为本申请实施例的群组的通信方法的流程示意图二,如图4所示,所述群组的通信方法包括以下步骤:
步骤401:服务器接收到群组集合建立消息;基于所述群组集合建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组。
本申请实施例中,群组具有创建者,同理,群组集合也有创建者,一个群组集合可以拥有一个创建者和多个管理员,其中,创建者可以创建或者解散群组集合,管理员可以增加或删除群组集合中的群组。
例如:如图3所示,用户U1位于群组G1,用户U2位于群组G2,用户Un位于群组Gn;用户U1作为创建者建立群组集合GG,其中,GG包括G1,G2,……,Gn等N个群组。用户U1创建了群组集合GG后,向服务器发送群组集合建立消息,以通知服务器哪些群组组建成了群组集合GG。
值得注意的是,终端的主人与终端具有对应关系,因此可以将用户称为终端,基于这样的理解,第一用户也可以称为第一终端,第二用户也可以称为第二终端。
本申请实施例中,服务器接收到群组集合建立消息后,可以基于所述群组集合建立消息确定所述群组集合所包括的群组,所述群组集合包括至少两个群组。
步骤402:所述服务器接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户。
本申请实施例中,第一用户为所述群组集合中任意一个群组中的用户,如图3所示,第一用户可以是群组G1中的用户U1,也可以是群组G2中的用户U2,还可以是群组Gn中的用户Un。
本申请实施例中,用户在原群组中的行为不受群组集合的改变,为此,需要区分普通群聊消息和群组集合群聊消息。对于普通群聊消息而言,所述消息的传输属性表征参与群聊的群组为所述第一用户所在的群组。对于群组集合群聊消息而言,所述消息的传输属性表征参与群聊的群组包括所述群组集合中的至少两个群组。用户发送普通群聊消息时,只有该用户所在的群组中的用户能够看到这条消息;用户发送群组集合群聊消息时,群组集合中除该用户所在群组以外的用户也能够看到这条消息。
在一实施方式中,第一用户所在终端的会话界面上设置有两个发送控件,分别为第一发送控件和第二发送控件,当第一用户输入完成消息后,点击第一发送控件时,将消息按照普通群聊消息的方式发送;当第一用户输入完成消息 后,点击第二发送控件时,将消息按照群组集合群聊消息的方式发送。
步骤403:如果所述消息对应的传输属性为第一传输属性,则基于所述第一传输属性确定出参与群聊的群组包括群组选择消息中所选择的群组;将所述消息发送至所选择的群组。
例如,参与群聊的群组包括第一群组、至少一个第二群组,其中,所述第一用户位于所述第一群组;基于此,将所述消息发送至所述第一用户所在的第一群组,并将所述消息转发至所述群组集合中的所述至少一个第二群组。
步骤404:如果所述消息对应的传输属性为第二传输属性,则基于所述第二传输属性确定出参与群聊的群组包括所述群组集合中的各个群组;所述消息发送至所述群组集合中的各个群组。
例如:用户U1发送消息M1时,该消息M1在群组G1内发送,同时服务器将该消息M1转发到群组G2,……,群组Gn等其他的群组中,使得其他群聊成员都接收到消息M1。
步骤405:如果所述消息对应的传输属性为第三传输属性,则基于所述第三传输属性确定出参与群聊的群组为所述第一用户所在的群组;将所述消息发送至所述第一用户所在的群组。
例如,如图3所示,用户U1发送普通群聊消息时,也即用户U1发送的消息的传输属性表征所述消息的群聊区域为群组G1,则将消息发送至群组G1,群组G1内的所有用户能够看到该消息。
本申请实施例的技术方案,灵活地对群组进行组合形成群组集合,绕开了群组人数具有上限的限制,对于服务器而言,仅将消息转发到到其他群组中就可以实现群聊区域的扩大,并不增加服务器的维护压力。
图5为本申请实施例的群组的通信方法的流程示意图三,如图5所示,所述群组的通信方法包括以下步骤:
步骤501:终端向服务器发送群组集合建立消息,其中,所述群组集合建立消息用于指示所述服务器建立群组集合,所述群组集合包括至少两个群组。
本申请实施例中,群组具有创建者,同理,群组集合也有创建者,一个群组集合可以拥有一个创建者和多个管理员,其中,创建者可以创建或者解散群组集合,管理员可以增加或删除群组集合中的群组。
例如:如图3所示,用户U1位于群组G1,用户U2位于群组G2,用户 Un位于群组Gn;用户U1作为创建者建立群组集合GG,其中,GG包括G1,G2,……,Gn等N个群组。用户U1创建了群组集合GG后,向服务器发送群组集合建立消息,以通知服务器哪些群组组建成了群组集合GG。
值得注意的是,终端的主人与终端具有对应关系,因此可以将用户称为终端,基于这样的理解,第一用户也可以称为第一终端,第二用户也可以称为第二终端。
本申请实施例中,服务器接收到群组集合建立消息后,可以基于所述群组集合建立消息确定所述群组集合所包括的群组,所述群组集合包括至少两个群组。
步骤502:终端获得第一用户输入的消息时,确定所述消息对应的传输属性,其中,所述传输属性用于指示所述群组集合中参与群聊的群组。
本申请实施例中,第一用户为所述群组集合中任意一个群组中的用户,如图3所示,第一用户可以是群组G1中的用户U1,也可以是群组G2中的用户U2,还可以是群组Gn中的用户Un。
本申请实施例中,消息对应的传输属性通过以下过程来实现:终端确定是否获得所述第一用户发送的群组选择消息;如果获得所述第一用户发送的群组选择消息,则基于所述群组选择消息为待传输的消息封装对应的第一传输属性,其中,所述第一传输属性用于表明参与群聊的群组包括所述群组选择消息中所选择的群组。如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第二传输属性,其中,所述第二传输属性用于表明参与群聊的群组包括所述群组集合中的各个群组;或者,如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第三传输属性,其中,所述第三传输属性用于表明参与群聊的群组为所述第一用户所在的群组。
例如,如图3所示,用户U1发送消息M2时,可以选择将消息发送给哪些群组,例如选择了群组G2,群组G3。服务器将该消息转发到群组G2,群组G3中,群组G2和群组G3内的所有成员都接收到上述消息M2。
当然,用户U1也可以不选择待发送的群组,这种情况下,就默认将消息发送至群组集合中的所有群组或者将消息发送至用户U1所在的群组G1。
步骤503:终端将携带有所述传输属性的消息发送至所述服务器,以通过所述服务器基于所述消息对应的传输属性将所述消息发送至所述参与群聊的 群组中。
本申请实施例的技术方案,灵活地对群组进行组合形成群组集合,绕开了群组人数具有上限的限制,对于服务器而言,仅将消息转发到到其他群组中就可以实现群聊区域的扩大,并不增加服务器的维护压力。
图6为本申请实施例的群组的通信方法的流程示意图四,如图6所示,所述群组的通信方法包括以下步骤:
步骤601:用户U1建立群组集合GG。
这里,群组集合GG包括群组G1,G2,……Gn。
步骤602:用户U1通知服务器建立了群组集合GG。
步骤603:服务器建立群组集合GG的消息转发流程;分别执行以下步骤604、步骤606。
步骤604:服务器接收用户U1发送的消息M1。
这里,用户U1的意图是将消息M1发送至群组G1。
步骤605:服务器将消息M1发送至群组G1,流程结束。
步骤606:服务器接收用户U1发送的消息M2;同时执行以下步骤607和步骤608。
这里,用户U1的意图是将消息M2发送至群组集合。
步骤607:服务器将消息M2发送至群组G1。
步骤608:服务器将消息M2转发至群组G2,……,Gn。
图7为本申请实施例的群组的通信装置的结构组成示意图一,如图7所示,所述群组的通信装置包括:
群组集合确定模块701,配置为接收到群组集合建立消息;基于所述群组集合建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组;
群组确定模块702,配置为接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户;所述传输属性用于指示所述群组集合中参与群聊的群组;基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;
消息转发模块703,配置为将所述消息发送至所述群组集合中的所述参与群聊的群组中。
在一实施方式中,所述群组确定模块702,还配置为基于所述消息对应的 传输属性,确定出所述参与群聊的群组为所述第一用户所在的群组;
所述消息转发模块703,还配置为将所述消息发送至所述第一用户所在的群组。
在一实施方式中,所述群组确定模块702,还配置为基于所述消息对应的传输属性,确定出所述参与群聊的群组包括所述群组集合中的至少两个群组,其中,所述至少两个群组中包括所述第一用户所在的群组;
所述消息转发模块703,还配置为将所述消息发送至所述群组集合中的所述至少两个群组中。
在一实施方式中,所述群组集合包括第一群组、至少一个第二群组,其中,所述第一用户位于所述第一群组;
所述消息转发模块703,还配置为将所述消息发送至所述第一用户所在的第一群组,并将所述消息转发至所述群组集合中的所述至少一个第二群组。
在一实施方式中,所述群组确定模块702,还配置为:
如果所述消息对应的传输属性为第一传输属性,则基于所述第一传输属性确定出参与群聊的群组包括群组选择消息中所选择的群组;
如果所述消息对应的传输属性为第二传输属性,则基于所述第二传输属性确定出参与群聊的群组包括所述群组集合中的各个群组;
如果所述消息对应的传输属性为第三传输属性,则基于所述第三传输属性确定出参与群聊的群组为所述第一用户所在的群组。
本领域技术人员应当理解,图7所示的群组的通信装置中的各模块的实现功能可参照前述群组的通信方法的相关描述而理解。图7所示的群组的通信装置中的各模块的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。在一实现方式中,图7所示的群组的通信装置应用于服务器中。
图8为本申请实施例的群组的通信装置的结构组成示意图二,如图8所示,所述群组的通信装置包括:
群组集合请求模块801,配置为向服务器发送群组集合建立消息,其中,所述群组集合建立消息用于指示所述服务器建立群组集合,所述群组集合包括至少两个群组;
传输属性确定模块802,配置为获得第一用户输入的消息时,确定所述消息对应的传输属性,其中,所述传输属性用于指示所述群组集合中参与群聊的 群组;
消息发送模块803,配置为将携带有所述传输属性的消息发送至所述服务器,以通过所述服务器基于所述消息对应的传输属性将所述消息发送至所述参与群聊的群组中。
在一实施方式中,所述装置还包括:
输入模块804,配置为确定是否获得所述第一用户发送的群组选择消息;
封装模块805,配置为如果获得所述第一用户发送的群组选择消息,则基于所述群组选择消息为待传输的消息封装对应的第一传输属性,其中,所述第一传输属性用于表明参与群聊的群组包括所述群组选择消息中所选择的群组。
在一实施方式中,所述封装模块805,还配置为:
如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第二传输属性,其中,所述第二传输属性用于表明参与群聊的群组包括所述群组集合中的各个群组;或者,
如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第三传输属性,其中,所述第三传输属性用于表明参与群聊的群组为所述第一用户所在的群组。
本领域技术人员应当理解,图8所示的群组的通信装置中的各模块的实现功能可参照前述群组的通信方法的相关描述而理解。图8所示的群组的通信装置中的各模块的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。在一实现方式中,图8所示的群组的通信装置应用于终端中。
本申请实施例上述群组的通信装置如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。
相应地,本申请实施例还提供一种计算机存储介质,其中存储有计算机可 执行指令,该计算机可执行指令被处理器执行时实现本申请实施例的上述群组的通信方法。
图9为本申请实施例的计算机设备的结构组成示意图,如图9所示,计算机设备10可以包括一个或多个(图中仅示出一个)处理器12(处理器12可以包括但不限于微处理器(MCU,Micro Controller Unit)或可编程逻辑器件(FPGA,Field Programmable Gate Array)等的处理装置)、用于存储数据的存储器14、以及用于通信功能的传输装置16。本领域普通技术人员可以理解,图9所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机设备10还可包括比图9中所示更多或者更少的组件,或者具有与图9所示不同的配置。
存储器14可用于存储应用软件的软件程序以及模块,如本申请实施例中的群组的通信方法对应的程序指令/模块,处理器12通过运行存储在存储器14内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。
在一实施方式中,处理器12通过运行存储在存储器14内的软件程序以及模块,从而执行如下步骤:
接收到群组集合建立消息;基于所述群组集合建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组;接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户;所述传输属性用于指示所述群组集合中参与群聊的群组;基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;将所述消息发送至所述群组集合中的所述参与群聊的群组中。
其中,所述处理器12还执行如下步骤:基于所述消息对应的传输属性,确定出所述参与群聊的群组为所述第一用户所在的群组;将所述消息发送至所述第一用户所在的群组。
其中,所述处理器12还执行如下步骤:基于所述消息对应的传输属性,确定出所述参与群聊的群组包括所述群组集合中的至少两个群组,其中,所述至少两个群组中包括所述第一用户所在的群组;将所述消息发送至所述群组集合中的所述至少两个群组中。
其中,所述群组集合包括第一群组、至少一个第二群组,其中,所述第一 用户位于所述第一群组;所述处理器12还执行如下步骤:将所述消息发送至所述第一用户所在的第一群组,并将所述消息转发至所述群组集合中的所述至少一个第二群组。
其中,所述处理器12还执行如下步骤:如果所述消息对应的传输属性为第一传输属性,则基于所述第一传输属性确定出参与群聊的群组包括群组选择消息中所选择的群组;如果所述消息对应的传输属性为第二传输属性,则基于所述第二传输属性确定出参与群聊的群组包括所述群组集合中的各个群组;如果所述消息对应的传输属性为第三传输属性,则基于所述第三传输属性确定出参与群聊的群组为所述第一用户所在的群组。
在另一实施方式中,处理器12通过运行存储在存储器14内的软件程序以及模块,从而执行如下步骤:
向服务器发送群组集合建立消息,其中,所述群组集合建立消息用于指示所述服务器建立群组集合,所述群组集合包括至少两个群组;获得第一用户输入的消息时,确定所述消息对应的传输属性,其中,所述传输属性用于指示所述群组集合中参与群聊的群组;将携带有所述传输属性的消息发送至所述服务器,以通过所述服务器基于所述消息对应的传输属性将所述消息发送至所述参与群聊的群组中。
其中,所述处理器12还执行如下步骤:确定是否获得所述第一用户发送的群组选择消息;如果获得所述第一用户发送的群组选择消息,则基于所述群组选择消息为待传输的消息封装对应的第一传输属性,其中,所述第一传输属性用于表明参与群聊的群组包括所述群组选择消息中所选择的群组。
其中,所述处理器12还执行如下步骤:如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第二传输属性,其中,所述第二传输属性用于表明参与群聊的群组包括所述群组集合中的各个群组;或者,如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第三传输属性,其中,所述第三传输属性用于表明参与群聊的群组为所述第一用户所在的群组。
上述方案中,存储器14可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器14可进一步包括相对于处理器12远程设置的存储器,这 些远程存储器可以通过网络连接至计算机设备10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置16用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机设备10的通信供应商提供的无线网络。在一个实例中,传输装置16包括一个网络适配器(NIC,Network Interface Controller),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置16可以为射频(RF,Radio Frequency)模块,其用于通过无线方式与互联网进行通讯。
本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个模块或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的模块可以是、或也可以不是物理上分开的,作为模块显示的部件可以是、或也可以不是物理模块,即可以位于一个地方,也可以分布到多个网络模块上;可以根据实际的需要选择其中的部分或全部模块来实现本实施例方案的目的。
另外,在本申请各实施例中的各功能模块可以全部集成在一个第二处理模块中,也可以是各模块分别单独作为一个模块,也可以两个或两个以上模块集成在一个模块中;上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。

Claims (18)

  1. 一种群组的通信方法,应用于服务器,所述方法包括:
    接收到群组集合建立消息;
    基于所述群组集合建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组;
    接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户;所述传输属性用于指示所述群组集合中参与群聊的群组;
    基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;
    将所述消息发送至所述群组集合中的所述参与群聊的群组中。
  2. 根据权利要求1所述的群组的通信方法,其中,所述基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;将所述消息发送至所述群组集合中的所述参与群聊的群组中,包括:
    基于所述消息对应的传输属性,确定出所述参与群聊的群组为所述第一用户所在的群组;
    将所述消息发送至所述第一用户所在的群组。
  3. 根据权利要求1所述的群组的通信方法,其中,所述基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;将所述消息发送至所述群组集合中的所述参与群聊的群组中,包括:
    基于所述消息对应的传输属性,确定出所述参与群聊的群组包括所述群组集合中的至少两个群组,其中,所述至少两个群组中包括所述第一用户所在的群组;
    将所述消息发送至所述群组集合中的所述至少两个群组中。
  4. 根据权利要求3所述的群组的通信方法,其中,所述群组集合包括第一群组、至少一个第二群组,其中,所述第一用户位于所述第一群组;
    所述将所述消息发送至所述群组集合中的所述至少两个群组中,包括:
    将所述消息发送至所述第一用户所在的第一群组,并将所述消息转发至所述群组集合中的所述至少一个第二群组。
  5. 根据权利要求1至4任一项所述的群组的通信方法,其中,所述基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组,包括:
    如果所述消息对应的传输属性为第一传输属性,则基于所述第一传输属性确定出参与群聊的群组包括群组选择消息中所选择的群组;
    如果所述消息对应的传输属性为第二传输属性,则基于所述第二传输属性确定出参与群聊的群组包括所述群组集合中的各个群组;
    如果所述消息对应的传输属性为第三传输属性,则基于所述第三传输属性确定出参与群聊的群组为所述第一用户所在的群组。
  6. 一种群组的通信方法,应用于终端,所述方法包括:
    向服务器发送群组集合建立消息,其中,所述群组集合建立消息用于指示所述服务器建立群组集合,所述群组集合包括至少两个群组;
    获得第一用户输入的消息时,确定所述消息对应的传输属性,其中,所述传输属性用于指示所述群组集合中参与群聊的群组;
    将携带有所述传输属性的消息发送至所述服务器,以通过所述服务器基于所述消息对应的传输属性将所述消息发送至所述参与群聊的群组中。
  7. 根据权利要求6所述的群组的通信方法,其中,所述方法还包括:
    确定是否获得所述第一用户发送的群组选择消息;
    如果获得所述第一用户发送的群组选择消息,则基于所述群组选择消息为待传输的消息封装对应的第一传输属性,其中,所述第一传输属性用于表明参与群聊的群组包括所述群组选择消息中所选择的群组。
  8. 根据权利要求7所述的群组的通信方法,其中,所述方法还包括:
    如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第二传输属性,其中,所述第二传输属性用于表明参与群聊的群组包括所述群组集合中的各个群组;或者,
    如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第三传输属性,其中,所述第三传输属性用于表明参与群聊的群组为所述第一用户所在的群组。
  9. 一种群组的通信装置,应用于服务器,所述装置包括:
    群组集合确定模块,配置为接收到群组集合建立消息;基于所述群组集合建立消息确定群组集合所包括的群组,所述群组集合包括至少两个群组;
    群组确定模块,配置为接收到第一用户发送的消息时,确定所述消息对应的传输属性,其中,所述第一用户为所述群组集合中任意一个群组中的用户; 所述传输属性用于指示所述群组集合中参与群聊的群组;基于所述消息对应的传输属性,从所述群组集合中确定出参与群聊的群组;
    消息转发模块,配置为将所述消息发送至所述群组集合中的所述参与群聊的群组中。
  10. 根据权利要求9所述的群组的通信装置,其中,
    所述群组确定模块,还配置为基于所述消息对应的传输属性,确定出所述参与群聊的群组为所述第一用户所在的群组;
    所述消息转发模块,还配置为将所述消息发送至所述第一用户所在的群组。
  11. 根据权利要求9所述的群组的通信装置,其中,
    所述群组确定模块,还配置为基于所述消息对应的传输属性,确定出所述参与群聊的群组包括所述群组集合中的至少两个群组,其中,所述至少两个群组中包括所述第一用户所在的群组;
    所述消息转发模块,还配置为将所述消息发送至所述群组集合中的所述至少两个群组中。
  12. 根据权利要求11所述的群组的通信装置,其中,所述群组集合包括第一群组、至少一个第二群组,其中,所述第一用户位于所述第一群组;
    所述消息转发模块,还配置为将所述消息发送至所述第一用户所在的第一群组,并将所述消息转发至所述群组集合中的所述至少一个第二群组。
  13. 根据权利要求9至12任一项所述的群组的通信装置,其中,所述群组确定模块,还配置为:
    如果所述消息对应的传输属性为第一传输属性,则基于所述第一传输属性确定出参与群聊的群组包括群组选择消息中所选择的群组;
    如果所述消息对应的传输属性为第二传输属性,则基于所述第二传输属性确定出参与群聊的群组包括所述群组集合中的各个群组;
    如果所述消息对应的传输属性为第三传输属性,则基于所述第三传输属性确定出参与群聊的群组为所述第一用户所在的群组。
  14. 一种群组的通信装置,应用于终端,所述装置包括:
    群组集合请求模块,配置为向服务器发送群组集合建立消息,其中,所述群组集合建立消息用于指示所述服务器建立群组集合,所述群组集合包括至少两个群组;
    传输属性确定模块,配置为获得第一用户输入的消息时,确定所述消息对应的传输属性,其中,所述传输属性用于指示所述群组集合中参与群聊的群组;
    消息发送模块,配置为将携带有所述传输属性的消息发送至所述服务器,以通过所述服务器基于所述消息对应的传输属性将所述消息发送至所述参与群聊的群组中。
  15. 根据权利要求14所述的群组的通信装置,其中,所述装置还包括:
    输入模块,配置为确定是否获得所述第一用户发送的群组选择消息;
    封装模块,配置为如果获得所述第一用户发送的群组选择消息,则基于所述群组选择消息为待传输的消息封装对应的第一传输属性,其中,所述第一传输属性用于表明参与群聊的群组包括所述群组选择消息中所选择的群组。
  16. 根据权利要求15所述的群组的通信装置,其中,所述封装模块,还配置为:
    如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第二传输属性,其中,所述第二传输属性用于表明参与群聊的群组包括所述群组集合中的各个群组;或者,
    如果未获得所述第一用户发送的群组选择消息,则为待传输的消息封装对应的第三传输属性,其中,所述第三传输属性用于表明参与群聊的群组为所述第一用户所在的群组。
  17. 一种计算机存储介质,其上存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1-5任一项所述的方法步骤,或者权利要求6-8任一项所述的方法步骤。
  18. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机可执行指令,其中,所述处理器执行所述计算机可执行指令时实现权利要求1-5任一项所述的方法步骤,或者权利要求6-8任一项所述的方法步骤。
PCT/CN2017/107483 2017-10-24 2017-10-24 群组的通信方法及装置、计算机存储介质、计算机设备 WO2019079971A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/107483 WO2019079971A1 (zh) 2017-10-24 2017-10-24 群组的通信方法及装置、计算机存储介质、计算机设备
CN201780002035.0A CN110582998A (zh) 2017-10-24 2017-10-24 群组的通信方法及装置、计算机存储介质、计算机设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/107483 WO2019079971A1 (zh) 2017-10-24 2017-10-24 群组的通信方法及装置、计算机存储介质、计算机设备

Publications (1)

Publication Number Publication Date
WO2019079971A1 true WO2019079971A1 (zh) 2019-05-02

Family

ID=66247068

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107483 WO2019079971A1 (zh) 2017-10-24 2017-10-24 群组的通信方法及装置、计算机存储介质、计算机设备

Country Status (2)

Country Link
CN (1) CN110582998A (zh)
WO (1) WO2019079971A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698147A (zh) * 2020-06-19 2020-09-22 广州市百果园信息技术有限公司 消息提示方法、装置、终端及存储介质
CN112187488A (zh) * 2020-10-28 2021-01-05 上海连尚网络科技有限公司 网络沟通方法和设备
CN113746783A (zh) * 2020-05-28 2021-12-03 腾讯科技(深圳)有限公司 群聊权限的控制方法、团队即时通信应用及后台服务器
CN113794575A (zh) * 2021-08-05 2021-12-14 维沃移动通信有限公司 消息发送方法、装置及电子设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189488B (zh) * 2021-12-09 2023-10-03 青岛聚看云科技有限公司 一种消息共享方法及服务器

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889722A (zh) * 2006-07-20 2007-01-03 华为技术有限公司 一种PoC群组会话的实现方法及装置
CN103281237A (zh) * 2013-06-14 2013-09-04 北京小米科技有限责任公司 一种群组处理方法和装置
CN104244190A (zh) * 2013-06-14 2014-12-24 中国普天信息产业股份有限公司 一种集群群组业务建立的方法
US20160359796A1 (en) * 2002-09-17 2016-12-08 At&T Intellectual Property I, L.P. Merging Instant Messaging (IM) Chat Sessions
CN106227835A (zh) * 2016-07-25 2016-12-14 中南大学 基于二分网络图层次聚类的团队研究方向挖掘方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100493045C (zh) * 2005-09-30 2009-05-27 腾讯科技(深圳)有限公司 一种群组消息发送方法及发送客户端和系统
US20100005402A1 (en) * 2008-07-01 2010-01-07 International Business Machines Corporation System and Apparatus for Whispering in Group Chats
CN105577523A (zh) * 2015-12-24 2016-05-11 小米科技有限责任公司 消息发送方法及装置
CN107196846B (zh) * 2017-04-28 2020-05-26 维沃移动通信有限公司 一种群聊天方法及移动终端
CN106961342A (zh) * 2017-04-28 2017-07-18 维沃移动通信有限公司 一种群聊天方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160359796A1 (en) * 2002-09-17 2016-12-08 At&T Intellectual Property I, L.P. Merging Instant Messaging (IM) Chat Sessions
CN1889722A (zh) * 2006-07-20 2007-01-03 华为技术有限公司 一种PoC群组会话的实现方法及装置
CN103281237A (zh) * 2013-06-14 2013-09-04 北京小米科技有限责任公司 一种群组处理方法和装置
CN104244190A (zh) * 2013-06-14 2014-12-24 中国普天信息产业股份有限公司 一种集群群组业务建立的方法
CN106227835A (zh) * 2016-07-25 2016-12-14 中南大学 基于二分网络图层次聚类的团队研究方向挖掘方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746783A (zh) * 2020-05-28 2021-12-03 腾讯科技(深圳)有限公司 群聊权限的控制方法、团队即时通信应用及后台服务器
CN111698147A (zh) * 2020-06-19 2020-09-22 广州市百果园信息技术有限公司 消息提示方法、装置、终端及存储介质
CN111698147B (zh) * 2020-06-19 2022-09-02 广州市百果园信息技术有限公司 消息提示方法、装置、终端及存储介质
CN112187488A (zh) * 2020-10-28 2021-01-05 上海连尚网络科技有限公司 网络沟通方法和设备
CN112187488B (zh) * 2020-10-28 2022-09-23 上海连尚网络科技有限公司 网络沟通方法和设备
CN113794575A (zh) * 2021-08-05 2021-12-14 维沃移动通信有限公司 消息发送方法、装置及电子设备

Also Published As

Publication number Publication date
CN110582998A (zh) 2019-12-17

Similar Documents

Publication Publication Date Title
WO2019079971A1 (zh) 群组的通信方法及装置、计算机存储介质、计算机设备
US10375351B2 (en) System and method for implementing video calls
WO2019090902A1 (zh) 屏幕共享的方法、装置、电子设备及存储介质
CN110121902B (zh) 一种通信建立的方法及终端
CN106027679A (zh) 视频会议的实现方法、装置及系统、云桌面终端
KR101999780B1 (ko) 가상 챗봇을 이용하여 인스턴트 메시징 서비스를 제공하는 서버, 단말 및 방법
WO2018127046A1 (zh) 一种业务请求处理方法及装置
CN108200170A (zh) 消息处理方法、装置及可读存储介质
WO2019015427A1 (zh) 一种数据传输方法、装置、终端及计算机可读存储介质
JP2019537158A (ja) リソース共有方法、装置およびシステム
CN109672708B (zh) 通信方法及装置、系统
CN104702665A (zh) 信息分享方法和信息分享装置
US20140089431A1 (en) Instant messaging method, terminal, server, and system
WO2019153722A1 (zh) 终端通信的方法、装置、终端及存储介质
CN108712320B (zh) 消息推送方法及装置
CN104320328A (zh) 一种消息同步方法、终端和服务器
EP2974159B1 (en) Method, device and system for voice communication
WO2013166762A1 (zh) 个人网设备组网方法及系统
CN109684114A (zh) 基于iOS系统的消息分发方法、装置、终端和介质
WO2015080746A1 (en) Cloud-based data sharing
CN103414836B (zh) 接入基于ip的电话会议的处理方法及装置
US20160366195A1 (en) Relayed Communication Channel Establishment
CN105391702A (zh) 音/视频通信方法、终端、服务器及平台
US11044214B2 (en) Multimedia file adaption across different communication platforms
CN113014544B (zh) 基于webRtc无中心媒体链路建立方法及装置

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: 17929629

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17929629

Country of ref document: EP

Kind code of ref document: A1