WO2015096802A1 - Procédé, dispositif et serveur pour une transmission de message - Google Patents

Procédé, dispositif et serveur pour une transmission de message Download PDF

Info

Publication number
WO2015096802A1
WO2015096802A1 PCT/CN2014/095065 CN2014095065W WO2015096802A1 WO 2015096802 A1 WO2015096802 A1 WO 2015096802A1 CN 2014095065 W CN2014095065 W CN 2014095065W WO 2015096802 A1 WO2015096802 A1 WO 2015096802A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
online
information
message receiving
group
Prior art date
Application number
PCT/CN2014/095065
Other languages
English (en)
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 WO2015096802A1 publication Critical patent/WO2015096802A1/fr

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]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Definitions

  • the embodiments of the present invention relate to the field of computer technologies, and in particular, to a message sending method, apparatus, and server.
  • Team Voice Tools is a web tool that supports multiplayer online voice communication as well as video communication.
  • Team voice tools usually divide teams according to channels (also called rooms).
  • Each channel includes at least one administrator client and at least one user client.
  • the administrator client and the client client can communicate by sending messages.
  • An existing method for sending a message includes: the client sends the message and the client identifier to the server, and the server determines the channel where the client is located according to the client identifier, and broadcasts the message to each other client in the channel that is online.
  • the client includes an administrator client and a user client.
  • the server can only send messages to various other clients in the channel that are online, the other clients in the channel that are offline can not receive the messages sent by the client, which affects the transmission range of the message.
  • the embodiment of the present application provides a message sending method, device, and server.
  • the technical solution is as follows:
  • the embodiment of the present application provides a message sending method, for creating a server having an online/offline message receiving group and an online message receiving group, where the online message receiving group only supports the online Each client in the online receiving state in the message receiving group sends a message, and the online/offline message receiving group supports simultaneously receiving each of the online and offline clients in the online/offline message receiving group and each of the offline states.
  • the client sends a message, and the method includes:
  • the embodiment of the present application provides a message sending apparatus, configured to create a server having an online/offline message receiving group and an online message receiving group, where the online message receiving group only supports the online Each client in the online receiving state in the message receiving group sends a message, and the online/offline message receiving group supports simultaneously receiving each of the online and offline clients in the online/offline message receiving group and each of the offline states.
  • the client sends a message
  • the device includes:
  • An information obtaining module configured to acquire client information of each client in the online message receiving group
  • An information adding module configured to add, to the online/offline message receiving group, each client information acquired by the information acquiring module;
  • a message sending and receiving module configured to send the message to the online/offline message receiving group when receiving a message sent by any one of the line/offline message receiving groups added by the information adding module Individual clients that are online and individual clients that are offline.
  • the embodiment of the present application provides a server, where the server is configured with an online/offline message receiving group and an online message receiving group, and the server includes the message sending device according to the second aspect.
  • the embodiment of the present application provides a server, where the server is configured to have an online/offline message receiving group and an online message receiving group, and the online message receiving group only supports the online Each client in the online receiving state in the message receiving group sends a message, and the online/offline message receiving group supports simultaneously receiving each of the online and offline clients in the online/offline message receiving group and each of the offline states.
  • the client sends a message
  • the server including a processor and a transceiver, wherein:
  • the processor is configured to obtain client information of each client in the online message receiving group;
  • the processor is further configured to add the obtained individual client information to the online/offline message receiving group;
  • the transceiver is configured to: when receiving a message sent by any one of the online/offline message receiving groups, send the message to each of the online/offline message receiving groups that are in an online state Clients and individual clients that are offline.
  • each client in the group that is online and each client in the offline state can import the client from the online message receiving group that only supports sending messages to each client in the online state to support while being online.
  • the online/offline message receiving group in which each client and each client in the offline state sends a message enables the client to receive the message when the client is offline, thereby achieving the effect of expanding the transmission range of the message.
  • FIG. 1 is a schematic structural diagram of a team voice tool according to an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for sending a message according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method for sending a message according to another embodiment of the present application.
  • FIG. 4 is a structural block diagram of a message sending apparatus according to an embodiment of the present application.
  • FIG. 5 is a structural structural diagram of a message sending apparatus according to still another embodiment of the present application.
  • FIG. 6 is a structural structural diagram of a server according to still another embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a team voice tool according to an embodiment of the present application.
  • the team voice tool typically includes at least one client 110 and server 120.
  • Client 110 can be an electronic device such as a computer, smart phone, tablet, and e-book reader.
  • the electronic device can be installed with an application client of the team voice tool, or a web browser with a browser installed and then accessing the team voice tool through a browser.
  • the client 110 can be classified according to the user: the administrator client used by the administrator and the user client used by the viewer.
  • the administrator client is a user with the authority to manage the channel.
  • the client used by the administrator and the client are basically the same, and one team voice tool has one to multiple clients, such as one hundred. Ten thousand clients or ten million clients.
  • Server 120 can be coupled to client 110 via a wireless or wired network.
  • the server 120 can be one or more servers or a cloud computing center.
  • the server 120 can be implemented by one server; it can also be implemented by a combination of multiple servers, each of which assumes the same or different functions, such as a server for registration and login, a server for saving user avatars, and The server for saving channel information and configuration information, the server for saving pictures or videos, and the like; the server 120 can also be implemented by a cloud computing center, which is a virtual computing platform formed by a whole service cluster.
  • server 120 since the server 120 creates an online message receiving group and an online/offline message receiving group, one server may simultaneously create an online message receiving group and an online/offline message receiving group; One server is created with an online message receiving group, and the other server is created with an online/offline message receiving group.
  • FIG. 2 is a flowchart of a method for sending a message according to an embodiment of the present application.
  • the message sending method may be applied to a server that creates an online/offline message receiving group and an online message receiving group.
  • the online message receiving group only supports sending messages to each client in the online message receiving group that is online, and the online/offline message receiving group supports simultaneously to the online/offline message receiving group in the online state of each client and Each client that is offline sends a message.
  • the message sending method includes:
  • Step 201 Obtain client information of each client in the online message receiving group.
  • the online message receiving group is a group that only supports sending messages to the online party in the online message receiving group.
  • the online message receiving group may be a channel in which the content is currently being broadcasted, and the channel usually uses the information to be sent.
  • Mechanism is the mechanism of message broadcasting, that is, a guest in the channel
  • the message sent by the client is broadcast to the client in the channel that is online.
  • the online/offline message receiving group is a group that can support simultaneous sending of messages to the online and offline clients in the online/offline message receiving group, for example, the online/offline message receiving group can be Instant messaging groups, such as the Y group (groups created in the YY voice tool), the information transmission mechanism usually used by the instant messaging group includes an offline information transmission mechanism, that is, an instant communication group.
  • the message sent by a certain client in the group is broadcasted to the online client in the instant messaging group, and the message is also transmitted to the offline client through the offline information transmission mechanism.
  • the client information is information of the account that is logged in the client, including the user account, the personal nickname, and the level information of the user in the online message receiving group.
  • Step 202 Add the obtained client information to the online/offline message receiving group.
  • the client information of each client in the online message receiving group can be added to the online/offline message receiving group through online/offline.
  • the message receiving group sends a message to the client in the online state and the client in the offline state, so that the client in the offline state can also receive the message, so that the online message receiving group can be belonged (if the content is currently in progress)
  • the client information of the live channel is imported into the online/offline message receiving group (such as the Y group), and the transmission range of the message can be expanded.
  • Step 203 When receiving a message sent by any one of the online/offline message receiving groups, the message is sent to each client in the online/offline message receiving group that is online and each client in the offline state. end.
  • the client corresponding to the client information added to the online/offline message receiving group may send a message to the server, and the server sends the received message to each of the online clients in the online/offline message receiving group and Individual clients that are offline.
  • the message sending method adds the obtained client information to the online/offline message receiving group; when receiving any one of the online/offline message receiving groups
  • the message is sent to each client in the online/offline message receiving group that is online and each client in the offline state, and the client can send the message from only supporting each client in the online state.
  • the online message receiving group is imported into an online/offline message receiving group that supports sending messages to each client in the online state and each client in the offline state, so that the client can receive the message when the client is offline.
  • Achieved expansion The effect of the transmission range of interest.
  • FIG. 3 is a flowchart of a method for sending a message according to another embodiment of the present application.
  • the message sending method may be applied to a server that creates an online/offline message receiving group and an online message receiving group.
  • the online message receiving group only supports sending messages to each client in the online message receiving group that is online, and the online/offline message receiving group supports simultaneously to the online/offline message receiving group in the online state of each client. Send messages to each client that is offline.
  • the message sending method includes:
  • Step 301 Receive an add request that is sent by the client, carrying the client identifier, the first group identifier that is the online/offline message receiving group identifier, and the second group identifier that is the online message receiving group identifier.
  • the first group identifier is used to identify an online message receiving group, and the online message receiving group is a group that only supports sending a message to a client in an online message receiving group that is online.
  • the online message receiving group may be
  • the channel currently being broadcasted by the content is usually a message broadcast mechanism.
  • the message sent by a client in the channel is broadcast to the client in the channel that is online.
  • the second group identifier is used to identify an online/offline message receiving group, and the online/offline message receiving group can support sending to both the online and offline clients in the online/offline message receiving group.
  • the group of messages for example, the online/offline message receiving group may be an instant communication group, such as a group Y (a group created in the YY voice tool), and the information transmission mechanism usually adopted by the instant communication group includes a message broadcast.
  • the offline information transmission mechanism is also included, that is, the message sent by a client in the instant communication group is broadcasted to the online client in the instant communication group, and the offline information transmission mechanism is also adopted. The message is delivered to the client that is offline.
  • the client information of each client in the online message receiving group can be added to the online/offline message receiving group through online/offline.
  • the message receiving group sends a message to the client in the online state and the client in the offline state, so that the client in the offline state can also receive the message to expand the transmission range of the message.
  • the client information is information about the account that is logged in the client, including the user account, the personal nickname, and the level information of the user in the online message receiving group.
  • the server can automatically add the information of each client in the online message receiving group. Adding to the online/offline message receiving group; or the server may also add each client information in the online message receiving group to the online/offline message receiving group under the trigger of the client, for example, the client to the server Sending an add request, the server triggers the addition of the client information according to the add request.
  • the server triggers the adding operation of the client information
  • the client identifier and the first group identifier are required to be carried in the adding request. And a second group identifier.
  • Step 302 Detect, according to the client identifier and the first group identifier, whether the client is an administrator client of the online/offline message receiving group, and detect whether the client is an online message receiving according to the client identifier and the second group identifier.
  • Group administrator client
  • the server may trigger the addition of the client information when receiving an add request sent by any client, or, in order to prevent any client from sending an add request, triggering an increase in the number of add operations caused by the addition of the client information,
  • the server can also define clients that trigger the addition of client information.
  • the server may define at least one of an administrator client whose client is an online message receiving group and an administrator client whose client is an online/offline message receiving group.
  • the client is an administrator of the online message receiving group and the online/offline message receiving group
  • the server may separately detect whether the client is an administrator of the online/offline message receiving group. Whether the client and the client are the administrator clients of the online message receiving group.
  • the embodiment is specifically described by the server detecting whether the client is an administrator client of the online message receiving group.
  • the server sets and records the role value of the administrator client when the administrator client triggers the creation of the online message receiving group, and obtains the role value of the client identified by the client identifier, and detects whether the role value of the client is equal to the role value of the administrator client. . If the role value of the client is equal to the role value of the administrator client, it is determined that the client is an administrator client of the online message receiving group; if the role value of the client is not equal to the role value of the administrator client, it is determined that the client is not an online message. Receive the administrator client for the group. Similarly, the server can also detect whether the client is an administrator client of the online/offline message receiving group according to the role value.
  • Step 303 if the detection result is that the client is the administrator client of the online/offline message receiving group and the client is the administrator client of the online message receiving group, then in response to the adding request, step 304 is performed;
  • the server determines to respond to the adding request sent by the client.
  • the server can also limit the number of times the response is added. For example, the server sets a predetermined number of thresholds for responding to an add request for any online message receiving group within a predetermined time period.
  • the predetermined time period and the predetermined number of thresholds can be set and modified. For example, the predetermined time period is 1 week, and the predetermined number of times threshold is 2 times.
  • the server before responding to the addition request, the server also needs to acquire the number of times the server successfully responds to the addition request of the online message receiving group within the predetermined time period. If the number of times the server successfully responds to the addition request is less than the predetermined number of thresholds, it is determined that the server may continue to perform step 304 in response to the current addition request; if the number of times the server successfully responds to the addition request is equal to the predetermined number of thresholds, it is determined that the server cannot respond to the current Add the request and the process ends.
  • Step 304 Acquire client information of each client in the online message receiving group.
  • the server may determine an online message receiving group according to the first group identifier, and obtain client information of each client included in the group.
  • Step 305 Add the obtained client information to the online/offline message receiving group.
  • the server may add each client information in the online message receiving group to the online/offline message receiving group, without requiring the administrator client to set each client as a friend client, and then the friend.
  • the client's client information is added to the online/offline message receiving group, which not only protects the privacy between the clients, but also saves the processing resources of the server when setting the friend client.
  • the online information in the online message receiving group is added to the client information in the online message receiving group, and not in the other online message receiving group, the other online message receiving group can be avoided.
  • the client advertises the other online message receiving group, thereby reducing the amount of client information that is advertised to exit the online message receiving group, thereby reducing the loss of client information in the online message receiving group.
  • the method for the server to add the obtained client information to the online/offline message receiving group The body is as follows:
  • the obtained client information is added to the online/offline message receiving group, including:
  • the server may add the obtained client information to the online/offline message receiving group, or, in order to avoid the user's interruption caused by directly joining the client to the online/offline message receiving group, the server may also The client sends an inquiry message, and the client can display the options of "agree” and "reject” according to the inquiry information. If the user selects the "Agree” option, the client sends a confirmation message to the server, and the server adds the client information of the client to the online/offline message receiving group; if the user selects the "Reject” option, the client The server sends a rejection message, and the server abandons adding the client's client information to the online/offline message receiving group.
  • the client may also display an option of “remember selection”. If the user selects the option, the server may directly add the client information to the online/offline message according to the confirmation information of the next time when the request is added. In the receiving group, or directly, according to the rejection information of this time, the client information is added to the online/offline message receiving group.
  • the corresponding processing manner may be various.
  • the following provides an optional processing manner, which may include the following steps:
  • Step 1 If the confirmation information or the rejection information fed back by any client in each client is not received within the preset duration from the time when the inquiry information is sent, according to the correspondence between the pre-stored client and the added operation information And determining the first adding operation information corresponding to any of the foregoing clients, and adding the operation information includes adding and discarding the adding.
  • a duration of receiving the client feedback confirmation information or the rejection information may be preset in the server, for example, 12 hours, 24 hours, etc. Further, the confirmation information or the rejection information may not be fed back to the server within the preset duration.
  • the processing mode of the situation is set. For example, the user can set the confirmation to join the corresponding message receiving group in the above situation. Accordingly, the server can record the adding operation information of the corresponding client as “adding”, or can be performed by a technician. The processing method of the above case is preset. After the setting is completed in any of the above manners, the server may obtain a correspondence between the client and the added operation information, and store, where the client and the added operation information are paired. The relationship should be stored in the form of a table, as shown in Table 1.
  • the server may send the inquiry information to each client in the online message receiving group, and record the time for sending the inquiry information to each client. If the server sends the inquiry message to a client (which may be referred to as the first client), The server does not receive the confirmation information or the rejection information of the first client feedback within the preset duration. The server may search through the corresponding identifier of the first client, and obtain the corresponding identifier of the client identifier. Operation information, for example, if the client identifier of the first client is client B, the corresponding add operation information can be obtained as "add" through the above table 1.
  • Step 2 If the first added operation information is added, the client information of any of the above clients is added to the online/offline message receiving group.
  • the server may obtain the client information of the first client, and Add it to the online/offline message receiving group. If the adding operation information corresponding to the client identifier of the first client is “abandoned” by the correspondence of the foregoing table 1, the server may abandon adding the client information of the first client to the online/offline message receiving group. For example, if the client identifier of the first client is client A, the corresponding add operation information is “abandon add”, and at this time, the server may abandon adding it to the online/offline message receiving group.
  • the server can also determine how to add the client information to the online/offline message receiving group according to the type of the client. Assuming that the server divides the client in the online message receiving group into an administrator client and a user client, the server can directly add the client information of the administrator client to the online/offline message receiving group to the user client. The inquiry information is sent, and the client information of the user client that feeds back the confirmation information is added to the online/offline message receiving group.
  • the method further includes:
  • the exit request is sent when the client feeds back the rejection information according to the inquiry information, and the rejection information is used to indicate the rejection of the customer.
  • the server After the server sends the inquiry message to the client, if the user selects the "deny” option, the client can also provide the "exit online message receiving group" option. If the user selects the "Exit Online Message Receiving Group” option, the client sends an exit request to the server, and the server deletes the client information of the client in the online message receiving group according to the exit request. The client can send the rejection information and the exit information to the server at the same time, saving transmission resources.
  • the obtained client information is added to the online/offline message receiving group, including:
  • each client information is added to the corresponding one according to the client type and the correspondence between the respective groups and the client type in each client information.
  • each client information is determined according to the type of the client and the correspondence between the respective groups and the type of the client in each client information. Add to the corresponding group.
  • the server can also automatically add client information to each group. For example, the server can automatically add client information for the administrator client to the management group.
  • the server may pre-configure the correspondence between the client type and the group, and determine, according to the client type and the grouping correspondence in the added client information, the client information belongs to Group and add the client information to the group.
  • the server may create at least one packet before adding the client information to the online/offline message receiving group, and configure the correspondence between the client type and the grouping, according to the added
  • the correspondence between the client type and the packet in the client information determines the group to which the client information belongs, and adds the client information to the created packet.
  • the server successfully adds each client information to the online/offline message receiving group, it also needs to increase the number of successful response addition requests by one.
  • Step 306 When receiving a message sent by any one of the online/offline message receiving groups, the message is sent to each client and the online state in the online/offline message receiving group. Each client in offline state.
  • the client corresponding to the client information added to the online/offline message receiving group may send a message to the server, and the server sends the received message to each of the online clients in the online/offline message receiving group and Individual clients that are offline.
  • the message sending method is detailed in steps 301 to 306; if a server creates an online/offline The message receiving group and the other server create an online message receiving group.
  • the server that creates the online/offline message receiving group is referred to as a first server, and the server that creates the online message receiving group is called a server.
  • the second server, the message sending method is as follows:
  • the first server receives, by the client, an add request that carries the client identifier, the first group identifier that is the online/offline message receiving group identifier, and the second group identifier that is the online message receiving group identifier, according to the
  • the client identifier and the first group identifier detect whether the client is an administrator client of the online/offline message receiving group, and if the detection result is that the client is an administrator client of the online/offline message receiving group, the reservation is obtained.
  • the number of times of successfully responding to the addition request of the online message receiving group in the time period detecting whether the number of times is less than a predetermined number of thresholds, and if the detection result is that the number of times is less than a predetermined number of thresholds, responding to the adding request, that is, the first server will carry the client Adding an end identifier, a first group identifier, and a second group identifier to the second server;
  • the second server detects, according to the client identifier and the second group identifier, whether the client is an administrator client of the online message receiving group, and if the detection result is that the client is an administrator client of the online message receiving group, then Obtaining client information of each client in the online message receiving group, and sending each client information to the first server;
  • the first server adds the received client information to the online/offline message receiving group
  • the first server adds the client information directly to the online/offline message receiving group; and/or, the first server sends to each client whether to join the online/offline message receiving group query information, if received
  • the client adds the client information of the client to the online/offline message receiving group according to the confirmation information according to the confirmation information fed back by the inquiry information.
  • adding the operation information includes adding and discarding the adding; if the first adding operation information is adding, The client information of the client is added to the online/offline message receiving group.
  • the first server acquires the client type in each client information; if the online/offline message receiving group includes at least one packet, according to the client type and the correspondence between each group and each client information Client type, adding each client information to the corresponding group; if the online/offline message receiving group does not include the grouping, at least one group is created, according to the client type and the correspondence between each group and each The client type in the client information, adding each client information to the corresponding group.
  • the second server receives an exit request sent by the client for requesting to exit the online message receiving group, and the exit request is sent when the client feeds back the rejection information according to the query information sent by the first server, and the rejection information is used for indicating The client information of the client is refused to be added to the online/offline message receiving group; the second server deletes the client information of the client in the online message receiving group.
  • the first server When the first server receives the message sent by any one of the online/offline message receiving groups, the first server sends the message to each client in the online/offline message receiving group that is online and is offline. Each client.
  • the message sending method adds the obtained client information to the online/offline message receiving group; when receiving any one of the online/offline message receiving groups
  • the message is sent to each client in the online/offline message receiving group that is online and each client in the offline state, and the client can send the message from only supporting each client in the online state.
  • the online message receiving group is imported into an online/offline message receiving group that supports sending messages to each client in the online state and each client in the offline state, so that the client can receive the message when the client is offline. The effect of expanding the transmission range of the message is achieved.
  • the client information can be directly added to the corresponding group without requiring the user to connect the client.
  • the information is added to the first group, and the client information in the first group is grouped one by one, which improves the grouping efficiency of the client information.
  • FIG. 4 is a structural diagram of a message sending apparatus provided by an embodiment of the present application.
  • the message sending apparatus may be applied to a server that creates an online/offline message receiving group and an online message receiving group.
  • the online message receiving group only supports sending messages to each client in the online message receiving group that is online, and the online/offline message receiving group supports simultaneously to the online/offline message receiving group in the online state of each client and Individual clients that are offline are sending interest.
  • the message sending device includes:
  • the information obtaining module 401 is configured to obtain client information of each client in the online message receiving group.
  • the information adding module 402 is configured to add, to the online/offline message receiving group, each client information acquired by the information acquiring module 401;
  • the message sending and receiving module 403 is configured to: when receiving the message sent by any one of the line/offline message receiving groups added by the information adding module 402, send the message to the online/offline message receiving group that is online. Individual clients and individual clients that are offline.
  • the message sending apparatus adds the obtained client information to the online/offline message receiving group; when receiving any one of the online/offline message receiving group
  • the message is sent to each client in the online/offline message receiving group that is online and each client in the offline state, and the client can send the message from only supporting each client in the online state.
  • the online message receiving group is imported into an online/offline message receiving group that supports sending messages to each client in the online state and each client in the offline state, so that the client can receive the message when the client is offline. The effect of expanding the transmission range of the message is achieved.
  • FIG. 5 is a structural diagram of a message sending apparatus according to still another embodiment of the present application.
  • the message sending apparatus can be applied to a server that creates an online/offline message receiving group and an online message receiving group.
  • the online message receiving group only supports sending messages to each client in the online message receiving group that is online, and the online/offline message receiving group supports simultaneously to the online/offline message receiving group in the online state of each client.
  • the message sending device includes: an information acquiring module 401, an information adding module 402, and a message transmitting and receiving module 403.
  • the information obtaining module 401 is configured to obtain client information of each client in the online message receiving group.
  • the information adding module 402 is configured to add, to the online/offline message receiving group, each client information acquired by the information acquiring module 401;
  • the message sending and receiving module 403 is configured to: when receiving the message sent by any one of the line/offline message receiving groups added by the information adding module 402, send the message to the online/offline message receiving group that is online. Individual clients and individual clients that are offline.
  • the message sending apparatus further includes:
  • the request receiving module 404 is configured to: before the information obtaining module 401 obtains the client information of each client in the online message receiving group, the first group that is sent by the client and carries the client identifier as the online/offline message receiving group identifier. a group identifier and an addition request of the second group identifier as an online message receiving group identifier;
  • the identifier detecting module 405 is configured to detect, according to the client identifier received by the request receiving module 404 and the first group identifier, whether the client is an administrator client of the online/offline message receiving group, and according to the request receiving module 404, The client identifier and the second group identifier detect whether the client is an administrator client of the online message receiving group;
  • the request response module 406 is configured to respond to the add request when the result detected by the identifier detecting module 405 is that the client is an administrator client of the online/offline message receiving group and the client is an administrator client of the online message receiving group. The step of triggering execution of obtaining client information of each client in the online message receiving group is triggered.
  • the information adding module 402 includes:
  • the second adding unit 4022 is configured to send, to each client, query information whether to join the online/offline message receiving group, and if receiving the confirmation information fed back by the client according to the inquiry information, the client information of the client is determined according to the confirmation information. Add to the online/offline message receiving group.
  • the information adding module 402 is further configured to:
  • adding operation information includes adding and discarding the addition
  • the client information of any of the above clients is added to the online/offline message receiving group.
  • the information adding module 402 further includes:
  • the request receiving unit 4023 is configured to: after the second adding unit 4022 sends the query information of the online/offline message receiving group to each client, the receiving client sends an exit request for requesting to exit the online message receiving group, The exit request is sent when the client feeds back the rejection information according to the inquiry information, and the rejection information is used to indicate that the client information of the client is refused to be added to the online/offline message receiving group;
  • the information deleting unit 4024 is configured to request the receiving unit 4023 to delete the The line message receives the client information of the client in the group.
  • the information adding module 402 includes:
  • the type obtaining unit 4025 is configured to obtain a client type in each client information.
  • the third adding unit 4026 is configured to: if the online/offline message receiving group includes at least one group, according to the client type and the correspondence between the respective groups and the client in each client information acquired by the type obtaining unit 4025 End type, adding each client information to the corresponding group;
  • the fourth adding unit 4027 is configured to: if the online/offline message receiving group does not include the group, create at least one group, according to the client type and the correspondence between the groups, and each client acquired by the type obtaining unit 4025. The client type in the message, adding each client information to the corresponding group.
  • the message sending apparatus further includes:
  • the number obtaining module 407 is configured to: before the response requesting module 406 responds to the adding request, acquire a number of times of successfully responding to the adding request corresponding to the online message receiving group within a predetermined time period;
  • the number-of-times detecting module 408 is configured to detect whether the number of times acquired by the number-of-times obtaining module 407 is less than a predetermined number of thresholds;
  • the response triggering module 409 is configured to trigger the step of executing the response adding request when the number of times detected by the number detecting module 408 is less than a predetermined number of times.
  • the message sending apparatus adds the obtained client information to the online/offline message receiving group; when receiving any one of the online/offline message receiving group
  • the message is sent to each client in the online/offline message receiving group that is online and each client in the offline state, and the client can send the message from only supporting each client in the online state.
  • the online message receiving group is imported into an online/offline message receiving group that supports sending messages to each client in the online state and each client in the offline state, so that the client can receive the message when the client is offline. The effect of expanding the transmission range of the message is achieved.
  • the client information can be directly added to the corresponding group without requiring the user to connect the client.
  • the information is added to the first group, and the client information in the first group is grouped one by one, which improves the grouping efficiency of the client information.
  • FIG. 6 is a structural diagram of a server provided by an embodiment of the present application.
  • the server is configured with an online/offline message receiving group and an online message receiving group, and the online message receiving group only supports receiving online messages.
  • Each client in the group that is online is sent a message
  • the online/offline message receiving group supports simultaneously sending messages to each client in the online/offline message receiving group that is online and each client in the offline state
  • the server includes a processor 510 and a transceiver 520, wherein:
  • the processor 510 is configured to obtain client information of each client in the online message receiving group.
  • the processor 510 is further configured to add, to the online/offline message receiving group, each client information acquired by the processor 510;
  • the transceiver 520 is configured to: when receiving a message sent by any one of the online/offline message receiving groups, send the message to each client in the online/offline message receiving group that is online and in an offline state. Each client.
  • the transceiver 520 is further configured to receive, by the client, the first group identifier that carries the client identifier, the online/offline message receiving group identifier, and the second group that is the online message receiving group identifier. Add request for the identity;
  • the processor 510 is further configured to detect, according to the client identifier and the first group identifier sent by the transceiver 520, whether the client is an administrator client of the online/offline message receiving group, and according to the client sent by the transceiver 520.
  • the identifier and the second group identifier are used to detect whether the client is an administrator client of the online message receiving group; if the detection result is that the client is an administrator client of the online/offline message receiving group and the client is an online message receiving
  • the administrator client of the group in response to the add request, triggers the step of obtaining the client information of each client in the online message receiving group.
  • the processor 510 is configured to: after the transceiver 520 sends, to each client, whether to join the inquiry information of the online/offline message receiving group, if the confirmation information fed back by the client according to the inquiry information is received, according to the confirmation The information adds the client's client information to the online/offline message receiving group.
  • the server further includes a memory
  • the processor 510 is further configured to: within a preset duration from when the transceiver 520 sends the inquiry information, The transmitter 520 does not receive the confirmation information or the rejection information fed back by any of the clients, and determines the corresponding one of the clients according to the corresponding relationship between the client and the added operation information stored in the memory.
  • Adding operation information, adding operation information includes adding and discarding the addition; if the first adding operation information is adding, adding the client information of any of the above clients to the online/offline message receiving group.
  • the transceiver 520 is further configured to receive an exit request sent by the client for requesting to exit the online message receiving group, where the exit request is sent when the client feeds back the rejection information according to the query information, and the rejection information is used to indicate the processing.
  • the device 510 refuses to add the client information of the client to the online/offline message receiving group;
  • the processor 510 is further configured to delete client information of the client in the online message receiving group.
  • the processor 510 is further configured to acquire a client type in each client information; if the online/offline message receiving group includes at least one packet, according to a type of the client stored in the memory and between the respective groups Corresponding relationship and client type in each client information acquired by the processor 510, adding each client information to the corresponding group; if the online/offline message receiving group does not include the group, creating at least one group Each client information is added to the corresponding packet according to the client type of the memory storage and the correspondence between the respective groups and the client type in each client information acquired by the processor 510.
  • the processor 510 is further configured to: acquire a number of times of successfully responding to the online message receiving group by the adding request in the predetermined time period; whether the number of times of detection is less than a predetermined number of times threshold; if the detection result is that the number of times is less than a predetermined number of times, triggering Perform the steps to add a request to the response.
  • the message sending method adds the obtained client information to the online/offline message receiving group; when receiving any one of the online/offline message receiving groups
  • the message is sent to each client in the online/offline message receiving group that is online and each client in the offline state, and the client can send the message from only supporting each client in the online state.
  • the online message receiving group is imported into an online/offline message receiving group that supports sending messages to each client in the online state and each client in the offline state, so that the client can receive the message when the client is offline. The effect of expanding the transmission range of the message is achieved.
  • the client information can be directly added to the corresponding group without requiring the user to connect the client.
  • the information is added to the first group, and the client information in the first group is grouped one by one, which improves the grouping efficiency of the client information.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Abstract

Conformément à des modes de réalisation, la présente invention se rapporte au domaine technique des ordinateurs. La présente invention concerne un procédé, un dispositif et un serveur pour une transmission de message. Le procédé consiste à : acquérir des informations de client de clients dans un groupe de destinataires de message en ligne ; ajouter les informations de client dans un groupe de destinataires de message en ligne/hors ligne ; et, lorsqu'un message transmis par un client quelconque dans le groupe de destinataires de message en ligne/hors ligne est reçu, transmettre le message à des clients qui sont dans un état en ligne et à des clients qui sont dans un état hors ligne dans le groupe de destinataires de message en ligne/hors ligne. L'emploi des modes de réalisation de la présente invention permet une plage étendue de transmission de message.
PCT/CN2014/095065 2013-12-26 2014-12-26 Procédé, dispositif et serveur pour une transmission de message WO2015096802A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310738939.3 2013-12-26
CN201310738939.3A CN103716230B (zh) 2013-12-26 2013-12-26 消息发送方法、装置及服务器

Publications (1)

Publication Number Publication Date
WO2015096802A1 true WO2015096802A1 (fr) 2015-07-02

Family

ID=50408829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095065 WO2015096802A1 (fr) 2013-12-26 2014-12-26 Procédé, dispositif et serveur pour une transmission de message

Country Status (2)

Country Link
CN (1) CN103716230B (fr)
WO (1) WO2015096802A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472549A (zh) * 2021-05-26 2021-10-01 福建天泉教育科技有限公司 一种消息发送方法及终端

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716230B (zh) * 2013-12-26 2017-02-08 广州华多网络科技有限公司 消息发送方法、装置及服务器
CN105515944A (zh) * 2015-11-27 2016-04-20 小米科技有限责任公司 消息发送方法及装置
CN106953790B (zh) * 2016-01-07 2020-12-15 钉钉控股(开曼)有限公司 多人信息交流方法和装置
CN109045704A (zh) * 2018-07-25 2018-12-21 深圳市有钱科技有限公司 离线数据交互方法和装置
CN110798398A (zh) * 2019-11-14 2020-02-14 江苏满运软件科技有限公司 群组消息管理方法、装置、设备和介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155052A (zh) * 2006-09-25 2008-04-02 腾讯科技(深圳)有限公司 一种群聊天的方法及系统
CN103188235A (zh) * 2011-12-30 2013-07-03 北京神州泰岳软件股份有限公司 一种客户端与服务端间群组信息同步的方法和系统
CN103716230A (zh) * 2013-12-26 2014-04-09 广州华多网络科技有限公司 消息发送方法、装置及服务器

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080183814A1 (en) * 2007-01-29 2008-07-31 Yahoo! Inc. Representing online presence for groups
CN101227425B (zh) * 2007-12-25 2010-11-10 腾讯科技(深圳)有限公司 获取历史消息、反馈历史消息的方法、客户端及系统
CN102457811B (zh) * 2010-10-18 2014-03-26 中国移动通信集团北京有限公司 一种PoC群组通信的方法、系统及装置
CN102202060B (zh) * 2011-05-31 2013-12-11 广州华多网络科技有限公司 一种实现群成员导入的方法
CN103297280B (zh) * 2013-06-24 2015-09-02 腾讯科技(深圳)有限公司 一种加入用户群组的方法、退出用户群组的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155052A (zh) * 2006-09-25 2008-04-02 腾讯科技(深圳)有限公司 一种群聊天的方法及系统
CN103188235A (zh) * 2011-12-30 2013-07-03 北京神州泰岳软件股份有限公司 一种客户端与服务端间群组信息同步的方法和系统
CN103716230A (zh) * 2013-12-26 2014-04-09 广州华多网络科技有限公司 消息发送方法、装置及服务器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472549A (zh) * 2021-05-26 2021-10-01 福建天泉教育科技有限公司 一种消息发送方法及终端

Also Published As

Publication number Publication date
CN103716230B (zh) 2017-02-08
CN103716230A (zh) 2014-04-09

Similar Documents

Publication Publication Date Title
WO2015096802A1 (fr) Procédé, dispositif et serveur pour une transmission de message
US9338194B2 (en) Video conference service
US9686329B2 (en) Method and apparatus for displaying webcast rooms
US11502864B2 (en) Onboarding devices for use in conference room
US9756092B2 (en) Distribution and synchronization of a social media environment
JP6280641B2 (ja) アカウントログイン方法、デバイス及びシステム
US11089473B2 (en) Service access, and control method and apparatus therefor
WO2015101260A1 (fr) Procédé et système de traitement d'un service de communications instantanées
WO2018006840A1 (fr) Procédé et appareil de connexion de compte, et support de stockage
WO2020024775A1 (fr) Procédé de commande de transmission de données et appareil associé
US10701116B2 (en) Method, computer-readable storage device and apparatus for establishing persistent messaging sessions
US9392057B2 (en) Selectively exchanging data between P2P-capable client devices via a server
KR20180118732A (ko) 비동기 메시징 시스템에서의 단일 계정에 대한 다수 프로파일의 관리
EP2605460A1 (fr) Titre FR
WO2015101303A1 (fr) Procédé et dispositif de traitement de canal
CN107528767B (zh) 会话的处理方法和装置
WO2017032183A1 (fr) Procédé, dispositif, et système d'accès pour un terminal de conférence
US9602770B2 (en) Method and system for supporting videoconference in distributed telepresence platform
CN103986710A (zh) 一种消息传输的方法、装置及系统
US20160294833A1 (en) Social communication system and method thereof
US9609053B2 (en) Method, apparatus and system for voice service access
US20140089430A1 (en) Data-sharing method, terminal, server, and system
WO2015096686A1 (fr) Procédé et système pour établir une communication vocale
US9515970B2 (en) Techniques for auto-detecting positions in a multi-resource login control of instant messaging
CN109729402B (zh) 一种媒体内容同步方法、装置及存储介质

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

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 28.10.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14873565

Country of ref document: EP

Kind code of ref document: A1