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

CN103716230A - Message sending method, device and server - Google Patents

Message sending method, device and server Download PDF

Info

Publication number
CN103716230A
CN103716230A CN201310738939.3A CN201310738939A CN103716230A CN 103716230 A CN103716230 A CN 103716230A CN 201310738939 A CN201310738939 A CN 201310738939A CN 103716230 A CN103716230 A CN 103716230A
Authority
CN
China
Prior art keywords
client
line
message
group
side information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310738939.3A
Other languages
Chinese (zh)
Other versions
CN103716230B (en
Inventor
彭铁磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201310738939.3A priority Critical patent/CN103716230B/en
Publication of CN103716230A publication Critical patent/CN103716230A/en
Priority to PCT/CN2014/095065 priority patent/WO2015096802A1/en
Application granted granted Critical
Publication of CN103716230B publication Critical patent/CN103716230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Landscapes

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

Abstract

The invention discloses a message sending method, device and server and belongs to the technical field of computers. The method includes the steps that client information of all clients in an online message receiving group is acquired, the online message receiving group only supports the function of sending messages to all the online clients in the online message receiving group, and an online/offline message receiving group supports the function of sending messages to all the online clients and all the offline clients in the online/offline message receiving group; all the pieces of client information are added to the online/offline message receiving group; a message sent by the client corresponding to any piece of client information in the online/offline message receiving group is received, and the message is sent to all the online clients and all the offline clients in the online/offline message receiving group. With the message sending method, device and server, the problem that the offline clients cannot receive messages is solved, and the message transmission range is expanded.

Description

Message method, device and server
Technical field
The present invention relates to field of computer technology, particularly a kind of message method, device and server.
Background technology
Team's voice tool is a kind of network tool of supporting the online voice communication of many people and video communication.Team's voice tool is divided team according to channel (also claiming room) conventionally, and each channel comprises at least one Administrator Client and at least one subscription client, between Administrator Client and subscription client, can realize interchange by sending message.
Existing a kind of message method comprises: client sends to server by message and client identification, server is determined the channel at client place according to client identification, to each other clients that are in line states in this channel, broadcast this message, to realize client and communicating by letter between other clients in channel.Wherein, client comprises Administrator Client and subscription client.
In realizing process of the present invention, in discovery prior art, at least there is following defect in inventor:
Because server can only send message to each other clients that are in line states in this channel, cause the message that in this channel, other clients in off-line state send less than client, affected the transmission range of message.
Summary of the invention
In order to solve the client in off-line state in channel, can not receive message, affect the problem of the transmission range of message, the embodiment of the present invention provides a kind of message method, device and server.Described technical scheme is as follows:
First aspect, the embodiment of the present invention provides a kind of message method, receives the server of group for creating on-line/off-line message sink group and online message, and described method comprises:
Obtain the client-side information that described online message receives each client in group, described online message receives group and only supports that to described online message, receiving each client that is in line states in group sends message, and described on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in described on-line/off-line message sink group simultaneously;
Each client-side information getting is added in described on-line/off-line message sink group;
Receive the message that in described on-line/off-line message sink group, the corresponding client of any one client-side information sends, described message is sent to each client and each client in off-line state that is in line states in described on-line/off-line message sink group.
Second aspect, the embodiment of the present invention provides a kind of message dispensing device, receives the server of group for creating on-line/off-line message sink group and online message, and described device comprises:
Acquisition of information module, for obtaining described online message, receive the client-side information of each client of group, described online message receives group and only supports that to described online message, receiving each client that is in line states in group sends message, and described on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in described on-line/off-line message sink group simultaneously;
Information is added module, for each client-side information that described acquisition of information module is got, adds described on-line/off-line message sink group to;
Information receiving and transmitting module, for receiving line/deferred information that described information adds after module is added, receive the message that the corresponding client of any one client-side information of group sends, described message is sent to each client and each client in off-line state that is in line states in described on-line/off-line message sink group.
The third aspect, the embodiment of the present invention provides a kind of server, and described server creates has on-line/off-line message sink group and online message to receive group, and described server comprises the message dispensing device as described in second aspect.
By each client-side information getting is added in on-line/off-line message sink group, receive online/deferred information and receive the message that in group, the corresponding client of any one client-side information sends, message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group, can be by client from only supporting the online message reception group that sends message to each client that is in line states to import to support simultaneously to being in each client of line states and the on-line/off-line message sink group of each client transmission message in off-line state, make the client also can receipt message when off-line state, solved the problem that the client in off-line state in channel can not receive message, reached the effect that expands the transmission range of message.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of the related team's voice tool of the embodiment of the present invention;
Fig. 2 is the method flow diagram of the message method that provides of one embodiment of the invention;
Fig. 3 is the method flow diagram of the message method that provides of another embodiment of the present invention;
Fig. 4 is the structural framing figure of the message dispensing device that provides of one embodiment of the invention;
Fig. 5 is the structural framing figure of the message dispensing device that provides of yet another embodiment of the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it shows the structural representation of the related team's voice tool of the embodiment of the present invention.Team's voice tool generally includes at least one client 110 and server 120.
Client 110 can be for such as computer, the electronic equipment of smart mobile phone, panel computer and E-book reader and so on.This electronic equipment can be provided with the application client of team's voice tool, or browser is installed, then by the webpage client of browser access team voice tool.Client 110 can be divided into according to user's difference: the subscription client that the Administrator Client that keeper uses and spectators use.Wherein, Administrator Client is the user with the authority of managing channel, and in addition, the client that the client that keeper uses and spectators use is basic identical, in Yi Ge team voice tool, there is one to a plurality of clients, such as 1,000,000 clients or ten million client.
Server 120 can be connected with client 110 by wireless or cable network.Server 120 can be one or multiple servers, can also be a cloud computing center.In other words, server 120 can be realized by a station server; Also can be realized by multiple servers combination, every station server is born identical or different functions, such as being useful on the server of registration and login, for preserving the server of user's head portrait, for preserving the server of channel information and configuration information, for preserving server of picture or video etc.; Server 120 also can adopt cloud computing center to realize, and cloud computing center is the formed virtual computing platforms of whole piece service cluster.
In the present embodiment, because server 120 creates, having online message to receive group and on-line/off-line message sink group, therefore, can be that a station server has created online message reception group and on-line/off-line message sink group simultaneously; Also can be that a station server establishment has online message to receive group, another station server creates on-line/off-line message sink group.
Please refer to Fig. 2, it shows the method flow diagram of the message method that one embodiment of the invention provides, and this message method can be applied to create has on-line/off-line message sink group and online message to receive in the server of group.This message method, comprising:
Step 201, obtain the client-side information that online message receives each client in group, online message receives group and only supports that to online message, receiving each client that is in line states in group sends message, and on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in on-line/off-line message sink group simultaneously;
It is the group that only supports to receive to online message the client transmission message that is in line states in group that online message receives group, such as, it can be channel that online message receives group.On-line/off-line message sink group can support in on-line/off-line message sink group, to be in the client of line states and the group that the client in off-line state sends message simultaneously, such as, on-line/off-line message sink group can be Y group.
Client-side information is the information of the account logined in client, comprises that user account, the individual pet name, user receive class information in group etc. in online message.
Step 202, adds each client-side information getting in on-line/off-line message sink group to;
Because receiving the client in off-line state in group, online message can not receive message, therefore, the client-side information that online message can be received to each client in group adds in on-line/off-line message sink group, by on-line/off-line message sink group, to the client and the client in off-line state that are in line states, send message, make the client in off-line state also can receive message, to expand the transmission range of message.
Step 203, receive online/deferred information and receive the message that in group, the corresponding client of any one client-side information sends, this message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group.
The client corresponding with adding client-side information in on-line/off-line message sink group to can send message to server, and server sends to each client that is in line states and each client in off-line state in on-line/off-line message sink group by the message receiving.
In sum, the message method that the embodiment of the present invention provides, by adding each client-side information getting in on-line/off-line message sink group to, receive online/deferred information and receive the message that in group, the corresponding client of any one client-side information sends, message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group, can be by client from only supporting the online message reception group that sends message to each client that is in line states to import to support simultaneously to being in each client of line states and the on-line/off-line message sink group of each client transmission message in off-line state, make the client also can receipt message when off-line state, solved the problem that the client in off-line state in channel can not receive message, reached the effect that expands the transmission range of message.
Please refer to Fig. 3, it shows the method flow diagram of the message method that another embodiment of the present invention provides, and this message method can be applied to create has on-line/off-line message sink group and online message to receive in the server of group.This message method, comprising:
Step 301, receives first group identification that carries client identification, on-line/off-line message sink group of client transmission and the interpolation request that online message receives the second group identification of group;
The first group identification is used for identifying online message sink group, and online message receives group and only supports to receive to online message the group that the client that is in line states in group sends message, such as, it can be channel that online message receives group.The second group identification is used for identifying online/deferred information reception group, on-line/off-line message sink group can support in on-line/off-line message sink group, to be in the client of line states and the group that the client in off-line state sends message simultaneously, such as, on-line/off-line message sink group can be Y group.
Because receiving the client in off-line state in group, online message can not receive message, therefore, the client-side information that online message can be received to each client in group adds in on-line/off-line message sink group, by on-line/off-line message sink group, to the client and the client in off-line state that are in line states, send message, make the client in off-line state also can receive message, to expand the transmission range of message.Wherein, client-side information is the information of the account logined in client, comprises that user account, the individual pet name, user receive class information in group etc. in online message.
In the present embodiment, each client-side information that server can receive online message in group automatically adds in on-line/off-line message sink group; Or, each client-side information that server also can receive online message in group under the triggering of client adds in on-line/off-line message sink group, such as, user end to server sends and adds request, and server triggers the interpolation operation to client-side information according to adding request.
When server triggers operates the interpolation of client-side information, client and the online message of in order clearly to trigger, adding operation receive group and on-line/off-line message sink group, need in adding request, carry client identification, the first group identification and the second group identification.
Step 302, according to client identification and the first group identification, detect whether client is the Administrator Client of on-line/off-line message sink group, and whether be the Administrator Client that online message receives group according to client identification and the second group identification detection client;
Server can trigger the interpolation to client-side information when receiving the interpolation request of any one client transmission, or, for fear of any one client, can send and add the number of times that request triggers the increase interpolation operation that the interpolation of client-side information is caused, the problem of the resource of waste server, server can also limit the client triggering the interpolation of client-side information.Such as, server can limit client, be that online message receives at least one in the Administrator Client of group and Administrator Client that client is on-line/off-line message sink group.
The present embodiment be take client, and to be the online message Administrator Client that receives group and on-line/off-line message sink group describe as example simultaneously, and whether be whether Administrator Client and the client of on-line/off-line message sink group be Administrator Client that online message receive group to server if can detect respectively client.
For the ease of understanding, whether the present embodiment specifically detects client with server is that the Administrator Client that online message receives group illustrates.Server arranges also role's value of record manager client when Administrator Client triggers the online message sink of establishment group, and obtain role's value of the client that client identification identifies, whether the role's value that detects client equals role's value of Administrator Client.If role's value of client equals role's value of Administrator Client, determine that client is the Administrator Client that online message receives group; If role's value of client is not equal to role's value of Administrator Client, determine that client is not the Administrator Client that online message receives group.In like manner, server also can be worth and detect whether client is the Administrator Client of on-line/off-line message sink group according to role.
Step 303, is that the Administrator Client of on-line/off-line message sink group and client are the Administrator Clients that online message receives group if testing result is client, and request is added in response, triggers execution step 304;
If detecting client and be Administrator Client and the client of on-line/off-line message sink group is the Administrator Client that online message receives group, server is determined the interpolation request that customer in response end sends.
Further, response also comprises before adding request:
1) obtain success response in predetermined amount of time and add the number of times of asking;
2) detect number of times and whether be less than pre-determined number threshold value;
3) if testing result is number of times, be less than pre-determined number threshold value, trigger and carry out the step that request is added in response.
For fear of client, repeatedly respond the problem of adding the waste server resource that request causes, server can also limit the number of times that request is added in response.Such as, in Servers installed predetermined amount of time, the pre-determined number threshold value of request is added in response.Wherein, predetermined amount of time and pre-determined number threshold value can arrange and revise.Such as, predetermined amount of time is 1 week, pre-determined number threshold value is 2 times.
Therefore, server, before request is added in response, also needs to obtain the number of times of server success response interpolation request in predetermined amount of time.If the number of times of request is added in server success response, be less than pre-determined number threshold value, determine that server can respond this interpolation request, continues execution step 304; If the number of times of request is added in server success response, equal pre-determined number threshold value, determine that server can not respond this interpolation request, flow process finishes.
Step 304, obtain the client-side information that online message receives each client in group, online message receives group and only supports that to online message, receiving each client that is in line states in group sends message, and on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in on-line/off-line message sink group simultaneously;
Server can determine that online message receives group according to the first group identification, and obtains the client-side information of each client that this group comprises.
Step 305, adds each client-side information getting in on-line/off-line message sink group to;
In the present embodiment; each client-side information that server can receive online message in group adds in on-line/off-line message sink group; and do not need each client of Administrator Client to be set to good friend's client; again the client-side information of good friend's client is added to on-line/off-line message sink group; both protect the privacy between client, also saved the processing resource of server when good friend's client is set.
In addition, due to what add in on-line/off-line message sink group, be that online message receives the client-side information in group, and can not be that other online message receive the client-side information in group, the client that can avoid other online message to receive group receives the publicity of group to these other online message, thereby reduced according to publicity, exit the quantity that online message receives the client-side information of group, and then reduced the loss of client-side information in online message reception group.
The method that server adds the client-side information getting in on-line/off-line message sink group to is specific as follows:
The first, each client-side information getting is added in on-line/off-line message sink group, comprising:
1) client-side information is directly added in on-line/off-line message sink group; And/or,
2) to each client, send the inquiry message that whether adds online/deferred information to receive group, if receive client according to the confirmation of inquiry message feedback, according to confirmation, the client-side information of client added in on-line/off-line message sink group.
Wherein, server can add each client-side information getting in on-line/off-line message sink group to, or, for fear of client is directly added online/deferred information, receive the bothering user that group causes, server can also send inquiry message to client, and client can be shown according to inquiry message the option of " agreement " and " refusal ".If user has selected " agreement " option, user end to server sends confirmation, and server adds the client-side information of this client in on-line/off-line message sink group to; If user has selected " refusal " option, user end to server sends exclude information, and server abandons the client-side information of this client to add in on-line/off-line message sink group.
Further, client can also be shown the option of " remembeing to select ", if user has selected this option, server is when lower secondary response adds request, can directly client-side information be added in on-line/off-line message sink group according to this confirmation, or, according to this exclude information, directly abandon client-side information to add in on-line/off-line message sink group.
It should be added that, server can also be determined the mode of adding client-side information to on-line/off-line message sink group according to the type of client.Suppose that the client that server receives online message in group is divided into Administrator Client and subscription client, server can directly add Administrator Client's client-side information in on-line/off-line message sink group, to subscription client, send inquiry message, the client-side information of the subscription client of feedback acknowledgment information is added in on-line/off-line message sink group.
Further, after each client sends the inquiry message that whether adds online/deferred information to receive group, also comprise:
Receive that client sends for asking to exit the request of exiting that online message receives group, when the request exited is client according to inquiry message feedback exclude information, send, exclude information is used to indicate refusal and adds the client-side information of client to on-line/off-line message sink group;
Delete the client-side information that online message receives client in group.
Server is after client sends inquiry message, if user has selected " breaking off relations " option, client can also provide " exit online message and receive group " option.If user has selected " exit online message and receive group " option, user end to server sends the request of exiting, and server deletes according to the request exited the client-side information that online message receives this client in group.Client can and exit information by exclude information and send to server simultaneously, has saved transfer resource.
The second, each client-side information getting is added in on-line/off-line message sink group, comprising:
1) obtain the client type in each client-side information;
2), if on-line/off-line message sink group comprises at least one grouping, according to corresponding relation and client type between client type and each grouping, client-side information is added in corresponding grouping;
3) if on-line/off-line message sink group does not comprise grouping, create at least one grouping, according to corresponding relation and client type between client type and each grouping, client-side information is added in corresponding grouping.
Due to on-line/off-line message sink, group is also supported in group and divides into groups, therefore, for fear of each client-side information being added in on-line/off-line message sink group, the low problem of grouping efficiency of manually each client-side information adding being divided into groups to cause again, server can also be added to client-side information automatic powder adding in each grouping.Such as, server can be added to Administrator Client's client-side information automatic powder adding in management grouping.
If on-line/off-line message sink group comprises at least one grouping, server can pre-configured client type and the corresponding relation of grouping, according to the client type in the client-side information adding and corresponding relation, determine the grouping under this client-side information, and this client-side information is added in this grouping.
If do not comprise grouping in on-line/off-line message sink group, server can create each grouping before client-side information being added to on-line/off-line message sink group, and configure the corresponding relation of client type and grouping, according to the client type in the client-side information adding and corresponding relation, determine the grouping under this client-side information, and this client-side information is added in the grouping of establishment.
Further, after server successfully adds each client-side information to on-line/off-line message sink group, also need the number of times that success response is added to request to add 1.
Step 306, receive online/deferred information and receive the message that in group, the corresponding client of any one client-side information sends, this message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group.
The client corresponding with adding client-side information in on-line/off-line message sink group to can send message to server, and server sends to each client that is in line states and each client in off-line state in on-line/off-line message sink group by the message receiving.
It should be added that, if a station server has created online message simultaneously, receive group and on-line/off-line message sink group, message method refers to step 301 to the content of step 306; If a station server has created on-line/off-line message sink group, another station server has created online message and has received group, the present embodiment is called first server by the server that has created on-line/off-line message sink group, the server that has created online message reception group is called to second server, and message method is specific as follows:
1, first server receives the client identification that carries of client transmission, the first group identification of on-line/off-line message sink group and online message receive the interpolation request of the second group identification of group, according to client identification and the first group identification, detect whether client is the Administrator Client of on-line/off-line message sink group, if testing result is client is the Administrator Client of on-line/off-line message sink group, obtain success response in predetermined amount of time and add the number of times of asking, detect this number of times and whether be less than pre-determined number threshold value, if testing result is less than pre-determined number threshold value for this number of times, request is added in response, be that first server will carry client identification, the interpolation request of the first group identification and the second group identification sends to second server,
2, whether second server is the Administrator Client that online message receives group according to client identification and the second group identification detection client, if testing result is client, be the Administrator Client that online message receives group, obtain the client-side information that online message receives each client in group, each client-side information is sent to first server;
3, first server is added each client-side information receiving in on-line/off-line message sink group to;
1) first server is directly added client-side information in on-line/off-line message sink group; And/or, first server sends the inquiry message that whether adds online/deferred information to receive group to each client, if receive client according to the confirmation of inquiry message feedback, according to confirmation, the client-side information of client added in on-line/off-line message sink group.
2) first server is obtained the client type in each client-side information; If on-line/off-line message sink group comprises at least one grouping, according to corresponding relation and client type between client type and each grouping, client-side information is added in corresponding grouping; If on-line/off-line message sink group does not comprise grouping, create at least one grouping, according to corresponding relation and client type between client type and each grouping, client-side information is added in corresponding grouping.
Optionally, second server receive that client sends for asking to exit the request of exiting that online message receives group, during the request the exited inquiry message feedback exclude information that to be client send according to first server, send, exclude information is used to indicate refusal and adds the client-side information of client to on-line/off-line message sink group; Second server is deleted the client-side information that online message receives client in group.
4, first server receives online/deferred information and receives the message that in group, the corresponding client of any one client-side information sends, and this message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group.
In sum, the message method that the embodiment of the present invention provides, by adding each client-side information getting in on-line/off-line message sink group to, receive online/deferred information and receive the message that in group, the corresponding client of any one client-side information sends, message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group, can be by client from only supporting the online message reception group that sends message to each client that is in line states to import to support simultaneously to being in each client of line states and the on-line/off-line message sink group of each client transmission message in off-line state, make the client also can receipt message when off-line state, solved the problem that the client in off-line state in channel can not receive message, reached the effect that expands the transmission range of message.In addition, by client-side information being added in corresponding grouping according to corresponding relation and client type between client type and each grouping, can directly client-side information be added in corresponding grouping, and do not need user to add client-side information to first group, one by one the client-side information in the first group is divided into groups again, improved the grouping efficiency of client-side information.
Please refer to Fig. 4, it shows the structural framing figure of the message dispensing device that one embodiment of the invention provides, and this message dispensing device can be applied to create has on-line/off-line message sink group and online message to receive in the server of group.This message dispensing device, comprising:
Acquisition of information module 401, for obtaining online message, receive the client-side information of each client of group, online message receives group and only supports that to online message, receiving each client that is in line states in group sends message, and on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in on-line/off-line message sink group simultaneously;
Information is added module 402, for each client-side information that acquisition of information module 401 is got, adds on-line/off-line message sink group to;
Information receiving and transmitting module 403, line/the deferred information adding after module 402 is added for reception information receives the message that the corresponding client of any one client-side information of group sends, and message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group.
In sum, the message dispensing device that the embodiment of the present invention provides, by adding each client-side information getting in on-line/off-line message sink group to, receive online/deferred information and receive the message that in group, the corresponding client of any one client-side information sends, message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group, can be by client from only supporting the online message reception group that sends message to each client that is in line states to import to support simultaneously to being in each client of line states and the on-line/off-line message sink group of each client transmission message in off-line state, make the client also can receipt message when off-line state, solved the problem that the client in off-line state in channel can not receive message, reached the effect that expands the transmission range of message.
Please refer to Fig. 5, it shows the structural framing figure of the message dispensing device that yet another embodiment of the invention provides, and this message dispensing device can be applied to create has on-line/off-line message sink group and online message to receive in the server of group.This message dispensing device, comprising: acquisition of information module 401, information are added module 402 and information receiving and transmitting module 403.
Acquisition of information module 401, for obtaining online message, receive the client-side information of each client of group, online message receives group and only supports that to online message, receiving each client that is in line states in group sends message, and on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in on-line/off-line message sink group simultaneously;
Information is added module 402, for each client-side information that acquisition of information module 401 is got, adds on-line/off-line message sink group to;
Information receiving and transmitting module 403, line/the deferred information adding after module 402 is added for reception information receives the message that the corresponding client of any one client-side information of group sends, and message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group.
Optionally, device also comprises:
Request receiving module 404, obtain the client-side information of each client of online message reception group for acquisition of information module 401 before, receive first group identification that carries client identification, on-line/off-line message sink group of client transmission and the interpolation request that online message receives the second group identification of group;
Label detection module 405, for the client identification that receives according to request receiving module 404 and the first group identification, detect whether client is the Administrator Client of on-line/off-line message sink group, and the client identification receiving according to request receiving module 404 and the second group identification whether detect client be the Administrator Client that online message receives group;
Request respond module 406, for the result detecting in label detection module 405, be that client is that the Administrator Client of on-line/off-line message sink group and client are that online message is while receiving the Administrator Client of group, request is added in response, triggers to carry out and obtains the step that online message receives the client-side information of each client in group.
Optionally, information is added module 402, comprising:
The first adding device 4021, for directly adding client-side information to on-line/off-line message sink group; And/or,
The second adding device 4022, for send the inquiry message that whether adds online/deferred information to receive group to each client, if receive client according to the confirmation of inquiry message feedback, according to confirmation, the client-side information of client added in on-line/off-line message sink group.
Optionally, information is added module, also comprises:
Request reception unit 4023, after whether adding the inquiry message of online/deferred information reception group for the second adding device 4022 to each client transmission, receive that client sends for asking to exit the request of exiting that online message receives group, when the request exited is client according to inquiry message feedback exclude information, send, exclude information is used to indicate refusal and adds the client-side information of client to on-line/off-line message sink group;
Information deletion unit 4024, receives after the request of exiting for request reception unit 4023, deletes the client-side information that online message receives client in group.
Optionally, information is added module 402, comprising:
Type acquiring unit 4025, for obtaining the client type of each client-side information;
The 3rd adding device 4026, if comprise at least one grouping for on-line/off-line message sink group, the client type getting according to the corresponding relation between client type and each grouping and type acquiring unit 4025 adds client-side information in corresponding grouping to;
The 4th adding device 4027, if do not comprise grouping for on-line/off-line message sink group, create at least one grouping, the client type getting according to the corresponding relation between client type and each grouping and type acquiring unit 4025 adds client-side information in corresponding grouping to.
Optionally, device also comprises:
Number of times acquisition module 407, before asking respond module 406 response interpolation requests, obtains the number of times of success response interpolation request in predetermined amount of time;
Number of times detection module 408, whether the number of times getting for detection of number of times acquisition module 407 is less than pre-determined number threshold value;
Response trigger module 409, is number of times while being less than pre-determined number threshold value for the result detecting at number of times detection module 408, triggers and carries out the step that request is added in response.
In sum, the message dispensing device that the embodiment of the present invention provides, by adding each client-side information getting in on-line/off-line message sink group to, receive online/deferred information and receive the message that in group, the corresponding client of any one client-side information sends, message is sent to each client and each client in off-line state that is in line states in on-line/off-line message sink group, can be by client from only supporting the online message reception group that sends message to each client that is in line states to import to support simultaneously to being in each client of line states and the on-line/off-line message sink group of each client transmission message in off-line state, make the client also can receipt message when off-line state, solved the problem that the client in off-line state in channel can not receive message, reached the effect that expands the transmission range of message.In addition, by client-side information being added in corresponding grouping according to corresponding relation and client type between client type and each grouping, can directly client-side information be added in corresponding grouping, and do not need user to add client-side information to first group, one by one the client-side information in the first group is divided into groups again, improved the grouping efficiency of client-side information.
It should be noted that: the message dispensing device that above-described embodiment provides is when carrying out message transmission, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to message dispensing device is divided into different functional modules, to complete all or part of function described above.In addition, message dispensing device and message method embodiment that above-described embodiment provides belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (13)

1. a message method, is characterized in that, receives the server of group for creating on-line/off-line message sink group and online message, and described method comprises:
Obtain the client-side information that described online message receives each client in group, described online message receives group and only supports that to described online message, receiving each client that is in line states in group sends message, and described on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in described on-line/off-line message sink group simultaneously;
Each client-side information getting is added in described on-line/off-line message sink group;
Receive the message that in described on-line/off-line message sink group, the corresponding client of any one client-side information sends, described message is sent to each client and each client in off-line state that is in line states in described on-line/off-line message sink group.
2. method according to claim 1, is characterized in that, described in obtain the client-side information that described online message receives each client in group before, also comprise:
The first group identification that carries client identification, described on-line/off-line message sink group that receives that client sends and the interpolation request that described online message receives the second group identification of group;
According to described client identification and described the first group identification, detect the Administrator Client whether described client is described on-line/off-line message sink group, and whether according to described client identification and described the second group identification, detect described client be the Administrator Client that described online message receives group;
If testing result is described client, be that Administrator Client and the described client of described on-line/off-line message sink group is the Administrator Client that described online message receives group, respond described interpolation request, described in trigger carrying out, obtain the step that described online message receives the client-side information of each client in group.
3. method according to claim 1 and 2, is characterized in that, described each client-side information getting is added in described on-line/off-line message sink group, comprising:
Described client-side information is directly added in described on-line/off-line message sink group; And/or,
To each client, send the inquiry message that whether adds described on-line/off-line message sink group, if receive described client according to the confirmation of described inquiry message feedback, according to described confirmation, the client-side information of described client is added in described on-line/off-line message sink group.
4. method according to claim 3, is characterized in that, described after each client sends the inquiry message that whether adds described on-line/off-line message sink group, also comprises:
Receive that described client sends for asking to exit the request of exiting that described online message receives group, describedly send while exiting the described client of request according to described inquiry message feedback exclude information, described exclude information is used to indicate refusal and adds the client-side information of described client to described on-line/off-line message sink group;
Delete the client-side information that described online message receives client described in group.
5. method according to claim 1 and 2, is characterized in that, described each client-side information getting is added in described on-line/off-line message sink group, comprising:
Obtain the client type in each client-side information;
If described on-line/off-line message sink group comprises at least one grouping, according to corresponding relation and described client type between client type and each grouping, described client-side information is added in corresponding grouping;
If described on-line/off-line message sink group does not comprise grouping, create at least one grouping, according to corresponding relation and described client type between client type and each grouping, described client-side information is added in corresponding grouping.
6. method according to claim 2, is characterized in that, before the described interpolation request of described response, also comprises:
Obtain the number of times that adds request in predetermined amount of time described in success response;
Detect described number of times and whether be less than pre-determined number threshold value;
If testing result is described number of times, be less than pre-determined number threshold value, trigger the step of carrying out the described interpolation request of described response.
7. a message dispensing device, is characterized in that, receives the server of group for creating on-line/off-line message sink group and online message, and described device comprises:
Acquisition of information module, for obtaining described online message, receive the client-side information of each client of group, described online message receives group and only supports that to described online message, receiving each client that is in line states in group sends message, and described on-line/off-line message sink community supporting sends message to each client and each client in off-line state of being in line states in described on-line/off-line message sink group simultaneously;
Information is added module, for each client-side information that described acquisition of information module is got, adds described on-line/off-line message sink group to;
Information receiving and transmitting module, for receiving line/deferred information that described information adds after module is added, receive the message that the corresponding client of any one client-side information of group sends, described message is sent to each client and each client in off-line state that is in line states in described on-line/off-line message sink group.
8. device according to claim 7, is characterized in that, described device also comprises:
Request receiving module, before obtaining for described acquisition of information module the client-side information that described online message receives each client of group, the first group identification that carries client identification, described on-line/off-line message sink group that receives that client sends and the interpolation request that described online message receives the second group identification of group;
Label detection module, for the described client identification that receives according to described request receiver module and described the first group identification, detect the Administrator Client whether described client is described on-line/off-line message sink group, and the described client identification receiving according to described request receiver module and described the second group identification whether detect described client be the Administrator Client that described online message receives group;
Request respond module, for the result detecting in described label detection module, be that described client is that the Administrator Client of described on-line/off-line message sink group and described client are that described online message is while receiving the Administrator Client of group, respond described interpolation request, described in trigger carrying out, obtain the step that described online message receives the client-side information of each client in group.
9. according to the device described in claim 7 or 8, it is characterized in that, described information is added module, comprising:
The first adding device, for directly adding described client-side information to described on-line/off-line message sink group; And/or,
The second adding device, for send the inquiry message that whether adds described on-line/off-line message sink group to each client, if receive described client according to the confirmation of described inquiry message feedback, according to described confirmation, the client-side information of described client is added in described on-line/off-line message sink group.
10. device according to claim 9, is characterized in that, described information is added module, also comprises:
Request reception unit, for described the second adding device after each client sends the inquiry message that whether adds described on-line/off-line message sink group, receive that described client sends for asking to exit the request of exiting that described online message receives group, describedly send while exiting the described client of request according to described inquiry message feedback exclude information, described exclude information is used to indicate refusal and adds the client-side information of described client to described on-line/off-line message sink group;
Information deletion unit, exits request after described in receiving for described request receiving element, deletes the client-side information that described online message receives client described in group.
11. according to the device described in claim 7 or 8, it is characterized in that, described information is added module, comprising:
Type acquiring unit, for obtaining the client type of each client-side information;
The 3rd adding device, if comprise at least one grouping for described on-line/off-line message sink group, the described client type getting according to the corresponding relation between client type and each grouping and described type acquiring unit adds described client-side information in corresponding grouping to;
The 4th adding device, if do not comprise grouping for described on-line/off-line message sink group, create at least one grouping, the described client type getting according to the corresponding relation between client type and each grouping and described type acquiring unit adds described client-side information in corresponding grouping to.
12. devices according to claim 8, is characterized in that, described device also comprises:
Number of times acquisition module, before responding described interpolation request, obtains the number of times that adds request in predetermined amount of time described in success response for described request respond module;
Number of times detection module, whether the described number of times getting for detection of described number of times acquisition module is less than pre-determined number threshold value;
Response trigger module, is described number of times while being less than pre-determined number threshold value for the result detecting at described number of times detection module, triggers the step of carrying out the described interpolation request of described response.
13. 1 kinds of servers, is characterized in that, described server creates has on-line/off-line message sink group and online message to receive group, and described server comprises the message dispensing device as described in claim 7 to 12 any one.
CN201310738939.3A 2013-12-26 2013-12-26 Message sending method, device and server Active CN103716230B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310738939.3A CN103716230B (en) 2013-12-26 2013-12-26 Message sending method, device and server
PCT/CN2014/095065 WO2015096802A1 (en) 2013-12-26 2014-12-26 Method, device, and server for message transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310738939.3A CN103716230B (en) 2013-12-26 2013-12-26 Message sending method, device and server

Publications (2)

Publication Number Publication Date
CN103716230A true CN103716230A (en) 2014-04-09
CN103716230B CN103716230B (en) 2017-02-08

Family

ID=50408829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310738939.3A Active CN103716230B (en) 2013-12-26 2013-12-26 Message sending method, device and server

Country Status (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015096802A1 (en) * 2013-12-26 2015-07-02 广州华多网络科技有限公司 Method, device, and server for message transmission
CN105515944A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Message sending method and device
CN106953790A (en) * 2016-01-07 2017-07-14 阿里巴巴集团控股有限公司 Many people's information exchange methods and device
CN109045704A (en) * 2018-07-25 2018-12-21 深圳市有钱科技有限公司 Off-line data exchange method and device
CN110798398A (en) * 2019-11-14 2020-02-14 江苏满运软件科技有限公司 Group message management method, device, equipment and medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472549A (en) * 2021-05-26 2021-10-01 福建天泉教育科技有限公司 Message sending method and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155052A (en) * 2006-09-25 2008-04-02 腾讯科技(深圳)有限公司 Method and system for group chat
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
US20080183814A1 (en) * 2007-01-29 2008-07-31 Yahoo! Inc. Representing online presence for groups
CN102202060A (en) * 2011-05-31 2011-09-28 广州华多网络科技有限公司 Method for importing group members
CN102457811A (en) * 2010-10-18 2012-05-16 中国移动通信集团北京有限公司 Method, system and device for PoC group communication
CN103297280A (en) * 2013-06-24 2013-09-11 腾讯科技(深圳)有限公司 User group joining method and user group quitting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188235B (en) * 2011-12-30 2016-04-20 北京神州泰岳软件股份有限公司 The method and system of group information synchronization between a kind of client and service end
CN103716230B (en) * 2013-12-26 2017-02-08 广州华多网络科技有限公司 Message sending method, device and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155052A (en) * 2006-09-25 2008-04-02 腾讯科技(深圳)有限公司 Method and system for group chat
US20080183814A1 (en) * 2007-01-29 2008-07-31 Yahoo! Inc. Representing online presence for groups
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN102457811A (en) * 2010-10-18 2012-05-16 中国移动通信集团北京有限公司 Method, system and device for PoC group communication
CN102202060A (en) * 2011-05-31 2011-09-28 广州华多网络科技有限公司 Method for importing group members
CN103297280A (en) * 2013-06-24 2013-09-11 腾讯科技(深圳)有限公司 User group joining method and user group quitting method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015096802A1 (en) * 2013-12-26 2015-07-02 广州华多网络科技有限公司 Method, device, and server for message transmission
CN105515944A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Message sending method and device
CN106953790A (en) * 2016-01-07 2017-07-14 阿里巴巴集团控股有限公司 Many people's information exchange methods and device
CN106953790B (en) * 2016-01-07 2020-12-15 钉钉控股(开曼)有限公司 Multi-person information communication method and device
CN109045704A (en) * 2018-07-25 2018-12-21 深圳市有钱科技有限公司 Off-line data exchange method and device
CN110798398A (en) * 2019-11-14 2020-02-14 江苏满运软件科技有限公司 Group message management method, device, equipment and medium

Also Published As

Publication number Publication date
WO2015096802A1 (en) 2015-07-02
CN103716230B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
CN108712485B (en) Resource subscription method and device for Internet of things equipment
CN103716230A (en) Message sending method, device and server
CN100421431C (en) Method for realizing instant message communication
CN104601702B (en) Cluster remote procedure calling (PRC) method and system
US9065788B2 (en) Method, device and system for voice communication
CN109361525B (en) Method, device, control terminal and medium for restarting distributed deployment of multiple services
CN102571941B (en) Cloud point-to-point data transmission method and system
CN110753091A (en) Cloud platform management method and device
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
CN103297323A (en) Method and device for sending user states
EP2974159B1 (en) Method, device and system for voice communication
CN104980290A (en) Method for establishing groups and server
EP2709337A1 (en) Service data processing method, device and system
CN104639593A (en) Information sharing method and system, browser and server
CN105657012A (en) Communication office system based on enterprise box
CN103561063A (en) Method and terminal for logging onto set top box
US20150149629A1 (en) User online state querying method and apparatus
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CN106789568A (en) A kind of communication information acquisition methods and device
CN112306791B (en) Performance monitoring method and device
CN104346228A (en) Application program sharing method and terminal
CN102932176B (en) Background program log tracking method, tracking side, service side and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210108

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511446 28th floor, block B1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right