WO2019157883A1 - 一种针对成员等级的消息推送方法、装置、服务器及系统 - Google Patents

一种针对成员等级的消息推送方法、装置、服务器及系统 Download PDF

Info

Publication number
WO2019157883A1
WO2019157883A1 PCT/CN2019/070309 CN2019070309W WO2019157883A1 WO 2019157883 A1 WO2019157883 A1 WO 2019157883A1 CN 2019070309 W CN2019070309 W CN 2019070309W WO 2019157883 A1 WO2019157883 A1 WO 2019157883A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
administrator
client
subscriber
message
Prior art date
Application number
PCT/CN2019/070309
Other languages
English (en)
French (fr)
Inventor
林延中
余春贵
Original Assignee
论客科技(广州)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 论客科技(广州)有限公司 filed Critical 论客科技(广州)有限公司
Publication of WO2019157883A1 publication Critical patent/WO2019157883A1/zh
Priority to ZA2020/04820A priority Critical patent/ZA202004820B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1859Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/401Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference
    • H04L65/4015Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast

Definitions

  • the present invention relates to the field of instant messaging technologies, and in particular, to a message push method, apparatus, server and system for a member level.
  • the group sends a message to a specific user, adopts the @ method, and acts as a reminder, but cannot limit the message to a specific user.
  • Other ordinary members will also receive the @ message of another person, which is a kind for others.
  • Information interference In order to avoid message interruption, the members joining the group often select different reminding methods by setting the global or corresponding group message settings, but do not reduce the number of messages received by the members from the pushed message source.
  • the technical problem to be solved by the embodiments of the present invention is to provide a message pushing method, device, server and system for a member level. Based on the division of member levels and the corresponding channel subscription, it is possible to select members of different levels to publish messages and avoid Important news leaks, as well as cross-level private communication, limit the visibility of subscribers and administrators' messages and notifications, and avoid disturbing other subscribers, thereby improving group communication efficiency and enhancing the relevance and effectiveness of information distribution.
  • an embodiment of the present invention provides a message pushing method for a member level, including the following steps:
  • the client Responding to the login request sent by the client, acquiring identity information of the client; the client includes an administrator terminal and a subscriber terminal;
  • the channel includes an administrator channel, a subscriber channel, and a private channel
  • the private channel includes an administrator private channel and a subscriber private channel
  • the client is an administrator terminal, pushing the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal, and the selected subscriber private channel;
  • the information in the message queue is pushed to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
  • the client is an administrator terminal
  • the information in the message queue is pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal, and the selected subscriber private channel. Specifically:
  • the client is an administrator terminal
  • the administrator terminal does not select a subscriber private channel
  • the information in the message queue is pushed to the administrator channel and the administrator private corresponding to the administrator terminal.
  • the client is an administrator terminal
  • the administrator terminal selects a subscriber private channel
  • the information in the message queue is pushed to the administrator channel, and the administrator corresponding to the current administrator terminal Private channel and selected subscriber private channel;
  • the client is an administrator terminal
  • the administrator terminal selects all subscriber private channels
  • the information in the message queue is pushed to the administrator channel, and the administrator corresponding to the current administrator terminal Private channel and the subscriber channel.
  • the determining, according to the identity information of the client, the corresponding channel subscribed by the client specifically:
  • the corresponding channel subscribed by the client is an administrator channel, and the administrator private channel corresponding to the administrator terminal;
  • the corresponding channel subscribed by the client is a subscriber channel, and the subscriber private channel corresponding to the subscriber terminal;
  • the identity information includes administrator information or subscriber information.
  • the message includes a from field and a to field, or a from field and a broadcast field;
  • the message containing the to field is a message pushed to the administrator channel, the administrator private channel, and the selected subscriber private channel;
  • the message containing the broadcast field is a message pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal, and the subscriber channel.
  • the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the subscriber private channel that contains the to field and is pushed to the current subscriber terminal. The message.
  • the message pushing method for the member level further includes:
  • the client is an administrator terminal;
  • the level authority includes an administrator authority and a subscriber authority.
  • the embodiment of the invention further provides a message pushing device for a member level, comprising:
  • a group creation unit configured to respond to a group creation request sent by the client, create a discussion group, and default the client as an administrator terminal;
  • a member adding unit configured to update the group member list in response to the request by the administrator terminal to add a group member according to the address book information
  • a channel subscription unit configured to acquire a level permission of the client according to the group member list, and subscribe the corresponding channel to the client according to the level permission;
  • the level permission includes an administrator authority and a subscriber authority;
  • An identity information obtaining unit configured to obtain identity information of the client in response to a login request sent by the client;
  • the client includes an administrator terminal and a subscriber terminal;
  • a channel determining unit configured to determine, according to the identity information of the client, a corresponding channel subscribed by the client; the channel includes an administrator channel, a subscriber channel, and a private channel; and the private channel includes an administrator private channel and Subscriber private channel;
  • a message pushing unit configured to receive a message sent by the client and add the message to a message queue; when the client is an administrator terminal, push information in the message queue to the administrator channel, The administrator private channel corresponding to the current administrator terminal and the selected subscriber private channel; when the client is the subscriber terminal, pushing the information in the message queue to the administrator channel and the current subscriber terminal The subscriber private channel.
  • An embodiment of the present invention further provides a message push server for a member level, including:
  • One or more processors are One or more processors;
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement a message push method for a member level as described above.
  • the embodiment of the present invention further provides a message pushing system for a member level, including a client and a server; the client includes an administrator terminal and a subscriber terminal;
  • the client is configured to send a login request to the server
  • the server is configured to obtain the identity information of the client according to the login request, and determine, according to the identity information of the client, a corresponding channel subscribed by the client;
  • the channel includes an administrator channel, a subscriber Channels and private channels;
  • the private channels include an administrator private channel and a subscriber private channel;
  • the client is further configured to send a message to the server;
  • the server is further configured to add the message to the message queue; when the client is an administrator terminal, push the information in the message queue to the administrator channel, the administrator corresponding to the current administrator terminal a private channel and a selected subscriber private channel; when the client is a subscriber terminal, the information in the message queue is pushed to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
  • the client is an administrator terminal
  • the information in the message queue is pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal, and the selected subscriber private channel. Specifically:
  • the client is an administrator terminal
  • the administrator terminal does not select a subscriber private channel
  • the information in the message queue is pushed to the administrator channel and the administrator private corresponding to the administrator terminal.
  • the client is an administrator terminal
  • the administrator terminal selects a subscriber private channel
  • the information in the message queue is pushed to the administrator channel, and the administrator corresponding to the current administrator terminal Private channel and selected subscriber private channel;
  • the client is an administrator terminal
  • the administrator terminal selects all subscriber private channels
  • the information in the message queue is pushed to the administrator channel, and the administrator corresponding to the current administrator terminal Private channel and the subscriber channel.
  • a message pushing method, device, server and system for a member level comprising: determining, according to a login request sent by a client, a corresponding channel subscribed by the client; receiving the client Sending the message to the message queue; when the client is the administrator terminal, pushing the information to the administrator channel, the administrator private channel, and the selected subscriber private channel; when the client When the terminal is a subscriber terminal, information is pushed to the administrator channel and the subscriber private channel or subscriber channel.
  • the invention is based on the division of membership levels and corresponding channel subscriptions, enabling the selection of members of different levels to publish messages, as well as cross-level private communication, limiting the visible range of messages and notifications of subscribers and administrators, and avoiding disturbing other subscribers. To improve the efficiency of group communication and enhance the relevance and effectiveness of information dissemination.
  • FIG. 1 is a schematic flowchart of a message pushing method for a member level according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a message pushing apparatus for a member level according to a second embodiment of the present invention.
  • the client in the embodiment of the present invention may be a mobile terminal and a non-mobile terminal, and the non-mobile terminal includes a desktop computer, and the mobile terminal includes a smart phone (such as an Android phone, an iOS mobile phone, etc.), smart glasses, Smart Internet devices such as smart watches, smart bracelets, tablets, laptops, and personal digital assistants that can communicate wirelessly.
  • a smart phone such as an Android phone, an iOS mobile phone, etc.
  • smart glasses Smart Internet devices such as smart watches, smart bracelets, tablets, laptops, and personal digital assistants that can communicate wirelessly.
  • a message pushing method for a member level provided by the first embodiment of the present invention may be executed by a server, and the following is an example in which the server is used as an execution subject.
  • FIG. 1 is a schematic flowchart of a message pushing method for a member level according to a first embodiment of the present invention.
  • the message pushing method for the member level includes the following steps:
  • the client includes an administrator terminal and a subscriber terminal.
  • the client pre-establishes a related discussion group, and the steps are as follows:
  • the server responds to the group creation request sent by the client, creates a discussion group, and defaults the client as an administrator terminal.
  • the server updates the group member list in response to the request by the administrator terminal to add a group member based on the address book information.
  • the server obtains the level permission of the client according to the group member list, and subscribes the corresponding channel to the client according to the level permission;
  • the level authority includes an administrator right and a subscriber right.
  • A creates a group based on membership level, adds B as an administrator, and adds C and D as subscribers.
  • the server records A and B as the identity of the group administrator, and C and D are the identity of the subscriber. And the server subscribes to the administrator channel for A and B, and subscribes to the subscriber channel for C and D.
  • the server searches for the relevant group that the user joins, and determines the user's membership level in the group. If the administrator is the administrator, the user is subscribed to the group administrator channel, and if it is the subscriber, Subscribe users to the group subscriber channel. In addition each user has their own private channel.
  • S102 Determine, according to the identity information of the client, a corresponding channel subscribed by the client; the channel includes an administrator channel, a subscriber channel, and a private channel; and the private channel includes an administrator private channel and a subscriber private channel. .
  • the determining, according to the identity information of the client, the corresponding channel subscribed by the client, the specific value, and the server determining, according to the identity information of the client, that the client is an administrator terminal or a subscription Terminal. If the server determines that the client is an administrator terminal, the corresponding channel subscribed by the client is an administrator channel, and the administrator private channel corresponding to the administrator terminal. If the server determines that the client is a subscriber terminal, the corresponding channel subscribed by the client is a subscriber channel, and the subscriber private channel corresponding to the subscriber terminal.
  • S103 Receive a message sent by the client and add the message to a message queue.
  • the server adds the messages sent by the client to the message queue in timestamp order.
  • the server pushes information in the message queue to the administrator channel and the management.
  • the administrator's private channel corresponds to the administrator terminal.
  • the server pushes information in the message queue to the administrator channel and the management corresponding to the current administrator terminal. Private channel and selected subscriber private channel.
  • the server pushes the information in the message queue to the administrator channel and the management corresponding to the current administrator terminal. Private channel and the subscriber channel.
  • the server determines whether the identity of the user is an administrator or a subscriber, and if it is an administrator, it is pushed to the administrator channel, and the administrator can receive the message. If it is a subscriber, it is pushed to the administrator channel and the sender's private channel, and both the administrator and the sender can receive the message.
  • the administrator broadcasts the message, which is pushed to the administrator channel and the subscriber channel.
  • the message includes a from field and a to field, or a from field and a broadcast field.
  • the message containing the to field is a message pushed to the administrator channel, the administrator private channel, and the selected subscriber private channel.
  • the message containing the broadcast field is a message pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal, and the subscriber channel.
  • the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the subscriber that contains the to field and is pushed to the current subscriber terminal. The message for the channel.
  • A creates a group based on membership level, adds B as an administrator, and adds C and D as subscribers.
  • the server records A and B as the identity of the group administrator, and C and D are the identity of the subscriber. And the server subscribes to the administrator channel for A and B, and subscribes to the subscriber channel for C and D.
  • a and B sends a message in the group, and the server judges B as an administrator, and then pushes the message to the administrator channel and B's private channel. Since A and B subscribe to the administrator channel, A and B can receive the message.
  • a broadcasts a message in the group the server sets the message as a broadcast flag, and pushes the message to the administrator channel and the subscriber channel. Since A and B subscribe to the administrator channel, and C and D subscribe to the subscriber channel, A, B, C, and D can all receive the message.
  • a replies to the D message the server determines that D is a member of the reply, and adds the id of the D to the to field of the message.
  • the message will be pushed to the administrator channel and D's private channel. Since A and B subscribe to the administrator channel and D subscribes to their own private channel, A, B, and D can receive the change message.
  • C sends a message in the group, and the server judges that C is a subscriber, then pushes the message to the administrator channel and C's private channel. Since A and B subscribe to the administrator channel and C subscribes to their own private channel, A, B, and C can receive the message.
  • the message pushing method for the member level includes: responding to the login request sent by the client, determining the corresponding channel subscribed by the client; receiving the message sent by the client and adding the message to the message a queue; when the client is an administrator terminal, pushing information to the administrator channel, an administrator private channel, and a selected subscriber private channel; when the client is a subscriber terminal, pushing information to The administrator channel and the subscriber private channel or subscriber channel.
  • the invention is based on the division of membership levels and corresponding channel subscriptions, enabling the selection of members of different levels to publish messages, as well as cross-level private communication, limiting the visible range of messages and notifications of subscribers and administrators, and avoiding disturbing other subscribers. To improve the efficiency of group communication and enhance the relevance and effectiveness of information dissemination.
  • FIG. 2 is a schematic structural diagram of a message pushing apparatus for a member level according to a second embodiment of the present invention.
  • the message pushing device for the member level includes:
  • the group creation unit 201 is configured to create a discussion group in response to the group creation request sent by the client, and default to the client as an administrator terminal.
  • the member adding unit 202 is configured to update the group member list in response to the request by the administrator terminal to add a group member according to the address book information.
  • the channel subscription unit 203 is configured to obtain the level permission of the client according to the group member list, and subscribe the corresponding channel to the client according to the level permission; the level permission includes an administrator permission and a subscriber permission. .
  • A creates a group based on membership level, adds B as an administrator, and adds C and D as subscribers.
  • the server records A and B as the identity of the group administrator, and C and D are the identity of the subscriber. And the server subscribes to the administrator channel for A and B, and subscribes to the subscriber channel for C and D.
  • the server searches for the relevant group that the user joins, and determines the user's membership level in the group. If the administrator is the administrator, the user is subscribed to the group administrator channel, and if it is the subscriber, Subscribe users to the group subscriber channel. In addition each user has their own private channel.
  • the identity information obtaining unit 204 is configured to obtain identity information of the client in response to a login request sent by the client; the client includes an administrator terminal and a subscriber terminal.
  • the channel determining unit 205 is configured to determine, according to the identity information of the client, a corresponding channel subscribed by the client; the channel includes an administrator channel, a subscriber channel, and a private channel; and the private channel includes an administrator private channel. And subscriber private channels.
  • a message pushing unit 206 configured to receive a message sent by the client and add the message to a message queue; when the client is an administrator terminal, push information in the message queue to the administrator channel The administrator private channel corresponding to the current administrator terminal and the selected subscriber private channel; when the client is the subscriber terminal, pushing the information in the message queue to the administrator channel and the current subscriber terminal Corresponding to the subscriber private channel.
  • the server pushes information in the message queue to the administrator channel and the management.
  • the administrator's private channel corresponds to the administrator terminal.
  • the server pushes information in the message queue to the administrator channel and the management corresponding to the current administrator terminal. Private channel and selected subscriber private channel.
  • the server pushes the information in the message queue to the administrator channel and the management corresponding to the current administrator terminal. Private channel and the subscriber channel.
  • the server determines whether the identity of the user is an administrator or a subscriber, and if it is an administrator, it is pushed to the administrator channel, and the administrator can receive the message. If it is a subscriber, it is pushed to the administrator channel and the sender's private channel, and both the administrator and the sender can receive the message.
  • the administrator broadcasts the message, which is pushed to the administrator channel and the subscriber channel.
  • the message includes a from field and a to field, or a from field and a broadcast field.
  • the message containing the to field is a message pushed to the administrator channel, the administrator private channel, and the selected subscriber private channel.
  • the message containing the broadcast field is a message pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal, and the subscriber channel.
  • the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the subscriber that contains the to field and is pushed to the current subscriber terminal. The message for the channel.
  • the message pushing device for the member level determines the corresponding channel subscribed by the client in response to the login request sent by the client; receives the message sent by the client and adds the message to the message queue.
  • the client is an administrator terminal, pushing information to the administrator channel, the administrator private channel, and the selected subscriber private channel; when the client is a subscriber terminal, pushing information to the location
  • the administrator channel and the subscriber private channel or subscriber channel are based on the division of membership levels and corresponding channel subscriptions, enabling the selection of members of different levels to publish messages, as well as cross-level private communication, limiting the visible range of messages and notifications of subscribers and administrators, and avoiding disturbing other subscribers. To improve the efficiency of group communication and enhance the relevance and effectiveness of information dissemination.
  • An embodiment of the present invention further provides a message push server for a member level, including:
  • One or more processors are One or more processors;
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement a message push method for a member level as described above.
  • the embodiment further provides a message pushing system for the member level.
  • the embodiment of the present invention further provides a message pushing system for a member level, including a client and a server; the client includes an administrator terminal and a subscriber terminal.
  • the client is configured to send a login request to the server.
  • the server is configured to obtain the identity information of the client according to the login request, and determine, according to the identity information of the client, a corresponding channel subscribed by the client; the channel includes an administrator channel, a subscriber Channels and private channels; the private channels include an administrator private channel and a subscriber private channel.
  • the determining, according to the identity information of the client, the corresponding channel subscribed by the client, the specific value, and the server determining, according to the identity information of the client, that the client is an administrator terminal or a subscription Terminal. If the server determines that the client is an administrator terminal, the corresponding channel subscribed by the client is an administrator channel, and the administrator private channel corresponding to the administrator terminal. If the server determines that the client is a subscriber terminal, the corresponding channel subscribed by the client is a subscriber channel, and the subscriber private channel corresponding to the subscriber terminal.
  • the client is further configured to send a message to the server.
  • the server is further configured to add the message to the message queue; when the client is an administrator terminal, push the information in the message queue to the administrator channel, the administrator corresponding to the current administrator terminal a private channel and a selected subscriber private channel; when the client is a subscriber terminal, the information in the message queue is pushed to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
  • the server adds the messages sent by the client to the message queue in timestamp order.
  • the server pushes information in the message queue to the administrator channel and the management.
  • the administrator's private channel corresponds to the administrator terminal.
  • the server pushes information in the message queue to the administrator channel and the management corresponding to the current administrator terminal. Private channel and selected subscriber private channel.
  • the server pushes the information in the message queue to the administrator channel and the management corresponding to the current administrator terminal. Private channel and the subscriber channel.
  • the server determines whether the identity of the user is an administrator or a subscriber, and if it is an administrator, it is pushed to the administrator channel, and the administrator can receive the message. If it is a subscriber, it is pushed to the administrator channel and the sender's private channel, and both the administrator and the sender can receive the message.
  • the administrator broadcasts the message, which is pushed to the administrator channel and the subscriber channel.
  • the message includes a from field and a to field, or a from field and a broadcast field.
  • the message containing the to field is a message pushed to the administrator channel, the administrator private channel, and the selected subscriber private channel.
  • the message containing the broadcast field is a message pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal, and the subscriber channel.
  • the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the subscriber that contains the to field and is pushed to the current subscriber terminal. The message for the channel.
  • A creates a group based on membership level, adds B as an administrator, and adds C and D as subscribers.
  • the server records A and B as the identity of the group administrator, and C and D are the identity of the subscriber. And the server subscribes to the administrator channel for A and B, and subscribes to the subscriber channel for C and D.
  • B sends a message in the group, and the server determines that B is an administrator, and then pushes the message to the administrator channel and B's private channel. Since A and B subscribe to the administrator channel, A and B can receive the message.
  • a broadcasts a message in the group the server sets the message as a broadcast flag, and pushes the message to the administrator channel and the subscriber channel. Since A and B subscribe to the administrator channel, and C and D subscribe to the subscriber channel, A, B, C, and D can all receive the message.
  • a replies to the D message the server determines that D is a member of the reply, and adds the id of the D to the to field of the message.
  • the message will be pushed to the administrator channel and D's private channel. Since A and B subscribe to the administrator channel and D subscribes to their own private channel, A, B, and D can receive the change message.
  • C sends a message in the group, and the server judges that C is a subscriber, then pushes the message to the administrator channel and C's private channel. Since A and B subscribe to the administrator channel and C subscribes to their own private channel, A, B, and C can receive the message.
  • the message pushing system for the member level determines the corresponding channel subscribed by the client in response to the login request sent by the client; receives the message sent by the client and adds the message to the message queue.
  • the client is an administrator terminal, pushing information to the administrator channel, the administrator private channel, and the selected subscriber private channel; when the client is a subscriber terminal, pushing information to the location
  • the administrator channel and the subscriber private channel or subscriber channel are based on the division of membership levels and corresponding channel subscriptions, enabling the selection of members of different levels to publish messages, as well as cross-level private communication, limiting the visible range of messages and notifications of subscribers and administrators, and avoiding disturbing other subscribers. To improve the efficiency of group communication and enhance the relevance and effectiveness of information dissemination.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种针对成员等级的消息推送方法、装置、服务器及系统,所述方法包括:响应客户端发送的登录请求,判断所述客户端所订阅的相应频道;接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将信息推送至管理员频道、管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将信息推送至所述管理员频道和订阅者私有频道或订阅者频道。本发明基于成员等级的划分和相应的频道订阅,能够实现选择不同等级的成员发布消息,以及跨等级的私密沟通,限制订阅者自己和管理员的消息和通知的可见范围,避免打扰其他订阅者,从而提高群组沟通效率,增强信息发布的针对性和有效性。

Description

一种针对成员等级的消息推送方法、装置、服务器及系统 技术领域
本发明涉及即时通讯技术领域,尤其涉及一种针对成员等级的消息推送方法、装置、服务器及系统。
背景技术
现有的群组,如QQ,微信,其实也有分管理员和普通成员,也有类似消息广播式发送的功能。但是现有群组其广播方式是通过类似群禁言的方式,限制管理员才能发言,普通成员无法发言。一般普通成员只能单独和某个管理员沟通,这种情况,其他管理员存在信息断层的情况。
群组在针对特定用户发送消息,采取了@的方式,起到提醒作用,但是无法限制消息发送给特定用户,其他普通成员也会接受到另外人的@消息,对于其他人来说是一种信息干扰。而对于加入群组的成员们为了避免消息打扰,往往是通过设置全局或对应群的消息设置来选择不同提醒方式,却并没有从推送的消息源头减少成员接收的消息数量。
况且,现有群组如QQ,微信等,发送的消息所有成员都可见,群成员较多,比较难管理,可能会出现泄露私密或重要消息的情况。原因主要是现有群组不能控制只向特定用户指定推送消息,无法控制消息范围。
发明内容
本发明实施例所要解决的技术问题在于,提供一种针对成员等级的消息推送方法、装置、服务器及系统,基于成员等级的划分和相应的频道订阅,能够实现选择不同等级的成员发布消息,避免重要消息泄露,以及跨等级的私密沟 通,限制订阅者自己和管理员的消息和通知的可见范围,避免打扰其他订阅者,从而提高群组沟通效率,增强信息发布的针对性和有效性。
为了解决上述技术问题,本发明实施例提供了一种针对成员等级的消息推送方法,包括如下步骤:
响应客户端发送的登录请求,获取所述客户端的身份信息;所述客户端包括管理员终端和订阅者终端;
根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道;
接收所述客户端发送的消息并将所述消息加入消息队列;
当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;
当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
进一步地,所述当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道,具体为:
当所述客户端为管理员终端,且所述管理员终端没有选取订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道和所述管理员终端对应的管理员私有频道;
当所述客户端为管理员终端,且所述管理员终端选取有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和选取的订阅者私有频道;
当所述客户端为管理员终端,且所述管理员终端选取所有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道。
进一步地,所述根据所述客户端的身份信息,判断所述客户端所订阅的相 应频道,具体为:
根据所述客户端的身份信息,判断所述客户端为管理员终端或订阅者终端;
若所述客户端为管理员终端,则所述客户端所订阅的相应频道为管理员频道、所述管理员终端对应的所述管理员私有频道;
若所述客户端为订阅者终端,则所述客户端所订阅的相应频道为订阅者频道、所述订阅者终端对应的所述订阅者私有频道;
所述身份信息包括管理员信息或订阅者信息。
进一步地,所述消息包含有from字段和to字段,或from字段和broadcast字段;
含有to字段的所述消息为推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道的消息;
含有broadcast字段的所述消息为推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道的消息。
进一步地,所述管理员终端能够查阅所有所述消息;所述订阅者终端仅能够查阅含有broadcast字段的所述消息和含有to字段且推送至当前所述订阅者终端对应的订阅者私有频道的所述消息。
进一步地,所述的针对成员等级的消息推送方法,还包括:
响应客户端发送的群创建请求,创建讨论群,并默认所述客户端为管理员终端;
响应所述管理员终端根据通讯录信息添加群成员的请求,更新群成员列表;
根据所述群成员列表,获取所述客户端的等级权限,并根据所述等级权限为所述客户端订阅相应的频道;所述等级权限包括管理员权限和订阅者权限。
本发明实施例还提供了一种针对成员等级的消息推送装置,包括:
群创建单元,用于响应客户端发送的群创建请求,创建讨论群,并默认所述客户端为管理员终端;
成员添加单元,用于响应所述管理员终端根据通讯录信息添加群成员的请求,更新群成员列表;
频道订阅单元,用于根据所述群成员列表,获取所述客户端的等级权限,并根据所述等级权限为所述客户端订阅相应的频道;所述等级权限包括管理员权限和订阅者权限;
身份信息获取单元,用于响应客户端发送的登录请求,获取所述客户端的身份信息;所述客户端包括管理员终端和订阅者终端;
频道判断单元,用于根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道;
消息推送单元,用于接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
本发明实施例还提供了一种针对成员等级的消息推送服务器,包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述的针对成员等级的消息推送方法。
本发明实施例还提供了一种针对成员等级的消息推送系统,包括客户端和服务器;所述客户端包括管理员终端和订阅者终端;
所述客户端,用于发送登录请求至所述服务器;
所述服务器,用于根据所述登录请求,获取所述客户端的身份信息,并根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道;
所述客户端,还用于发送的消息至所述服务器;
所述服务器,还用于将所述消息加入消息队列;当所述客户端为管理员终 端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
进一步地,所述当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道,具体为:
当所述客户端为管理员终端,且所述管理员终端没有选取订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道和所述管理员终端对应的管理员私有频道;
当所述客户端为管理员终端,且所述管理员终端选取有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和选取的订阅者私有频道;
当所述客户端为管理员终端,且所述管理员终端选取所有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道。
实施本发明实施例,具有如下有益效果:
本发明实施例提供的一种针对成员等级的消息推送方法、装置、服务器及系统,所述方法包括:响应客户端发送的登录请求,判断所述客户端所订阅的相应频道;接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将信息推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将信息推送至所述管理员频道和所述订阅者私有频道或订阅者频道。本发明基于成员等级的划分和相应的频道订阅,能够实现选择不同等级的成员发布消息,以及跨等级的私密沟通,限制订阅者自己和管理员的消息和通知的可见范围,避免打扰其他订阅者,从而提高群组沟通效率,增强信息发布的针对性和有效性。
附图说明
图1是本发明第一实施例提供的一种针对成员等级的消息推送方法的流程示意图;
图2是本发明第二实施例提供的一种针对成员等级的消息推送装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,本发明实施例中的客户端可以是移动终端以及非移动终端,非移动终端包括台式计算机,移动终端包括智能手机(Smart Phone,如Android手机、iOS手机等)、智能眼镜、智能手表、智能手环、平板电脑、笔记本电脑、个人数字助理等可以进行无线通信的移动互联网设备。
本发明第一实施例:
本发明的第一实施例提供的一种针对成员等级的消息推送方法可以由服务器执行,且下文均以服务器作为执行主体为例进行说明。
请参阅图1,图1是本发明第一实施例提供的一种针对成员等级的消息推送方法的流程示意图。
所述针对成员等级的消息推送方法,包括如下步骤:
S101、响应客户端发送的登录请求,获取所述客户端的身份信息;所述客户端包括管理员终端和订阅者终端。
在本实施例中,所述客户端预先建立相关的讨论群,其步骤如下:
服务器响应客户端发送的群创建请求,创建讨论群,并默认所述客户端为管理员终端。
服务器响应所述管理员终端根据通讯录信息添加群成员的请求,更新群成 员列表。
服务器根据所述群成员列表,获取所述客户端的等级权限,并根据所述等级权限为所述客户端订阅相应的频道;所述等级权限包括管理员权限和订阅者权限。
例如:A创建基于成员等级的群组,把B添加为管理员,把C、D添加为订阅者。服务器会记录A、B为群组管理员的身份,C、D为订阅者的身份。并且服务器为A、B订阅管理员频道,帮C、D订阅订阅者频道。
可以理解的是,用户登录时,服务器会查找用户所加入的相关群组,并判断用户在群组的成员等级,如果是管理员则帮助用户订阅该群组管理员频道,如果是订阅者则帮用户订阅该群组订阅者频道。另外每个用户都有各自的私有频道。
S102、根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道。
在本实施例中,所述根据所述客户端的身份信息,判断所述客户端所订阅的相应频道,具体值,服务器根据所述客户端的身份信息,判断所述客户端为管理员终端或订阅者终端。若服务器判断所述客户端为管理员终端,则所述客户端所订阅的相应频道为管理员频道、所述管理员终端对应的所述管理员私有频道。若服务器判断所述客户端为订阅者终端,则所述客户端所订阅的相应频道为订阅者频道、所述订阅者终端对应的所述订阅者私有频道。
S103、接收所述客户端发送的消息并将所述消息加入消息队列。
在本实施例中,服务器会将客户端发送的消息按时间戳顺序加入消息队列。
S104、当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道。
在本实施例中,当所述客户端为管理员终端,且所述管理员终端没有选取订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道和 所述管理员终端对应的管理员私有频道。
当所述客户端为管理员终端,且所述管理员终端选取有订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和选取的订阅者私有频道。
当所述客户端为管理员终端,且所述管理员终端选取所有订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道。
可以理解的是,用户在该群组发送消息,服务器会判断用户的身份是管理员还是订阅者,如果是管理员,则推送到管理员频道,则管理员可接收到消息。如果是订阅者,则推送到管理员频道和消息发送人的私有频道,管理员和消息发送人都可以接收到消息。管理员广播消息,消息则推送到管理员频道和订阅者频道。
S105、当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
需要说明的是,所述消息包含有from字段和to字段,或from字段和broadcast字段。含有to字段的所述消息为推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道的消息。含有broadcast字段的所述消息为推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道的消息。
需要说明的是,所述管理员终端能够查阅所有所述消息;所述订阅者终端仅能够查阅含有broadcast字段的所述消息和含有to字段且推送至当前所述订阅者终端对应的订阅者私有频道的所述消息。
为方便本领域技术人员理解上述技术方案,以下举例说明,例如:
首先A创建基于成员等级的群组,把B添加为管理员,把C、D添加为订阅者。服务器会记录A、B为群组管理员的身份,C、D为订阅者的身份。并且服务器为A、B订阅管理员频道,帮C、D订阅订阅者频道。
管理员终端(管理员)发送消息的情况一:
B在群组发送消息,服务器判断B为管理员,则将消息推送到管理员频道 和B的私有频道。由于A、B订阅了管理员频道,则A、B能接收到消息。
管理员终端(管理员)发送消息的情况二:
A在群组广播某条消息,服务器将该消息设置为广播标志位,并将消息推送到管理员频道和订阅者频道。由于A、B订阅了管理员频道,C、D订阅了订阅者频道,则A、B、C、D都能接收消息。
管理员终端(管理员)发送消息的情况三:
A回复D的消息,服务器判断D为回复的成员,将消息的to字段加上D的id。消息将会推送到管理员频道和D的私有频道。由于A、B订阅了管理员频道,D订阅了自己的私有频道,则A、B、D能接收到改消息。
订阅者终端(订阅者)发送消息的情况:
C在群组发送消息,服务器判断C为订阅者,则将消息推送到管理员频道和C的私有频道。由于A、B订阅了管理员频道,C订阅了自己的私有频道,则A、B、C都能接收消息。
本实施例提供的一种针对成员等级的消息推送方法,包括响应客户端发送的登录请求,判断所述客户端所订阅的相应频道;接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将信息推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将信息推送至所述管理员频道和所述订阅者私有频道或订阅者频道。本发明基于成员等级的划分和相应的频道订阅,能够实现选择不同等级的成员发布消息,以及跨等级的私密沟通,限制订阅者自己和管理员的消息和通知的可见范围,避免打扰其他订阅者,从而提高群组沟通效率,增强信息发布的针对性和有效性。
本发明第二实施例:
请参阅图2,图2是本发明第二实施例提供的一种针对成员等级的消息推送装置的结构示意图。所述针对成员等级的消息推送装置,包括:
群创建单元201,用于响应客户端发送的群创建请求,创建讨论群,并默认所述客户端为管理员终端。
成员添加单元202,用于响应所述管理员终端根据通讯录信息添加群成员的请求,更新群成员列表。
频道订阅单元203,用于根据所述群成员列表,获取所述客户端的等级权限,并根据所述等级权限为所述客户端订阅相应的频道;所述等级权限包括管理员权限和订阅者权限。
在本实施例中,例如:A创建基于成员等级的群组,把B添加为管理员,把C、D添加为订阅者。服务器会记录A、B为群组管理员的身份,C、D为订阅者的身份。并且服务器为A、B订阅管理员频道,帮C、D订阅订阅者频道。
可以理解的是,用户登录时,服务器会查找用户所加入的相关群组,并判断用户在群组的成员等级,如果是管理员则帮助用户订阅该群组管理员频道,如果是订阅者则帮用户订阅该群组订阅者频道。另外每个用户都有各自的私有频道。
身份信息获取单元204,用于响应客户端发送的登录请求,获取所述客户端的身份信息;所述客户端包括管理员终端和订阅者终端。
频道判断单元205,用于根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道。
消息推送单元206,用于接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
在本实施例中,当所述客户端为管理员终端,且所述管理员终端没有选取订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道和所述管理员终端对应的管理员私有频道。
当所述客户端为管理员终端,且所述管理员终端选取有订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应 的所述管理员私有频道和选取的订阅者私有频道。
当所述客户端为管理员终端,且所述管理员终端选取所有订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道。
可以理解的是,用户在该群组发送消息,服务器会判断用户的身份是管理员还是订阅者,如果是管理员,则推送到管理员频道,则管理员可接收到消息。如果是订阅者,则推送到管理员频道和消息发送人的私有频道,管理员和消息发送人都可以接收到消息。管理员广播消息,消息则推送到管理员频道和订阅者频道。
需要说明的是,所述消息包含有from字段和to字段,或from字段和broadcast字段。含有to字段的所述消息为推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道的消息。含有broadcast字段的所述消息为推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道的消息。
需要说明的是,所述管理员终端能够查阅所有所述消息;所述订阅者终端仅能够查阅含有broadcast字段的所述消息和含有to字段且推送至当前所述订阅者终端对应的订阅者私有频道的所述消息。
本实施例提供的一种针对成员等级的消息推送装置,响应客户端发送的登录请求,判断所述客户端所订阅的相应频道;接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将信息推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将信息推送至所述管理员频道和所述订阅者私有频道或订阅者频道。本发明基于成员等级的划分和相应的频道订阅,能够实现选择不同等级的成员发布消息,以及跨等级的私密沟通,限制订阅者自己和管理员的消息和通知的可见范围,避免打扰其他订阅者,从而提高群组沟通效率,增强信息发布的针对性和有效性。
本发明实施例还提供了一种针对成员等级的消息推送服务器,包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述的针对成员等级的消息推送方法。
本发明第三实施例:
与上述针对成员等级的消息推送方法和针对成员等级的消息推送装置对应,本实施例还提供了针对成员等级的消息推送系统,
本发明实施例还提供了一种针对成员等级的消息推送系统,包括客户端和服务器;所述客户端包括管理员终端和订阅者终端。
所述客户端,用于发送登录请求至所述服务器。
所述服务器,用于根据所述登录请求,获取所述客户端的身份信息,并根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道。
在本实施例中,所述根据所述客户端的身份信息,判断所述客户端所订阅的相应频道,具体值,服务器根据所述客户端的身份信息,判断所述客户端为管理员终端或订阅者终端。若服务器判断所述客户端为管理员终端,则所述客户端所订阅的相应频道为管理员频道、所述管理员终端对应的所述管理员私有频道。若服务器判断所述客户端为订阅者终端,则所述客户端所订阅的相应频道为订阅者频道、所述订阅者终端对应的所述订阅者私有频道。
所述客户端,还用于发送的消息至所述服务器。
所述服务器,还用于将所述消息加入消息队列;当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
在本实施例中,服务器会将客户端发送的消息按时间戳顺序加入消息队列。
在本实施例中,当所述客户端为管理员终端,且所述管理员终端没有选取 订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道和所述管理员终端对应的管理员私有频道。
当所述客户端为管理员终端,且所述管理员终端选取有订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和选取的订阅者私有频道。
当所述客户端为管理员终端,且所述管理员终端选取所有订阅者私有频道时,服务器将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道。
可以理解的是,用户在该群组发送消息,服务器会判断用户的身份是管理员还是订阅者,如果是管理员,则推送到管理员频道,则管理员可接收到消息。如果是订阅者,则推送到管理员频道和消息发送人的私有频道,管理员和消息发送人都可以接收到消息。管理员广播消息,消息则推送到管理员频道和订阅者频道。
需要说明的是,所述消息包含有from字段和to字段,或from字段和broadcast字段。含有to字段的所述消息为推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道的消息。含有broadcast字段的所述消息为推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道的消息。
需要说明的是,所述管理员终端能够查阅所有所述消息;所述订阅者终端仅能够查阅含有broadcast字段的所述消息和含有to字段且推送至当前所述订阅者终端对应的订阅者私有频道的所述消息。
为方便本领域技术人员理解上述技术方案,以下举例说明,例如:
首先A创建基于成员等级的群组,把B添加为管理员,把C、D添加为订阅者。服务器会记录A、B为群组管理员的身份,C、D为订阅者的身份。并且服务器为A、B订阅管理员频道,帮C、D订阅订阅者频道。
管理员终端(管理员)发送消息的情况一:
B在群组发送消息,服务器判断B为管理员,则将消息推送到管理员频道和B的私有频道。由于A、B订阅了管理员频道,则A、B能接收到消息。
管理员终端(管理员)发送消息的情况二:
A在群组广播某条消息,服务器将该消息设置为广播标志位,并将消息推送到管理员频道和订阅者频道。由于A、B订阅了管理员频道,C、D订阅了订阅者频道,则A、B、C、D都能接收消息。
管理员终端(管理员)发送消息的情况三:
A回复D的消息,服务器判断D为回复的成员,将消息的to字段加上D的id。消息将会推送到管理员频道和D的私有频道。由于A、B订阅了管理员频道,D订阅了自己的私有频道,则A、B、D能接收到改消息。
订阅者终端(订阅者)发送消息的情况:
C在群组发送消息,服务器判断C为订阅者,则将消息推送到管理员频道和C的私有频道。由于A、B订阅了管理员频道,C订阅了自己的私有频道,则A、B、C都能接收消息。
本实施例提供的一种针对成员等级的消息推送系统,响应客户端发送的登录请求,判断所述客户端所订阅的相应频道;接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将信息推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将信息推送至所述管理员频道和所述订阅者私有频道或订阅者频道。本发明基于成员等级的划分和相应的频道订阅,能够实现选择不同等级的成员发布消息,以及跨等级的私密沟通,限制订阅者自己和管理员的消息和通知的可见范围,避免打扰其他订阅者,从而提高群组沟通效率,增强信息发布的针对性和有效性。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和变形,这些改进和变形也视为本发明的保护范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。

Claims (10)

  1. 一种针对成员等级的消息推送方法,其特征在于,包括如下步骤:
    响应客户端发送的登录请求,获取所述客户端的身份信息;所述客户端包括管理员终端和订阅者终端;
    根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道;
    接收所述客户端发送的消息并将所述消息加入消息队列;
    当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;
    当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
  2. 根据权利要求1所述的针对成员等级的消息推送方法,其特征在于,所述当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道,具体为:
    当所述客户端为管理员终端,且所述管理员终端没有选取订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道和所述管理员终端对应的管理员私有频道;
    当所述客户端为管理员终端,且所述管理员终端选取有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和选取的订阅者私有频道;
    当所述客户端为管理员终端,且所述管理员终端选取所有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道。
  3. 根据权利要求1所述的针对成员等级的消息推送方法,其特征在于,所述根据所述客户端的身份信息,判断所述客户端所订阅的相应频道,具体为:
    根据所述客户端的身份信息,判断所述客户端为管理员终端或订阅者终端;
    若所述客户端为管理员终端,则所述客户端所订阅的相应频道为管理员频道、所述管理员终端对应的所述管理员私有频道;
    若所述客户端为订阅者终端,则所述客户端所订阅的相应频道为订阅者频道、所述订阅者终端对应的所述订阅者私有频道;
    所述身份信息包括管理员信息或订阅者信息。
  4. 根据权利要求1所述的针对成员等级的消息推送方法,其特征在于,所述消息包含有from字段和to字段,或from字段和broadcast字段;
    含有to字段的所述消息为推送至所述管理员频道、管理员私有频道和选取的订阅者私有频道的消息;
    含有broadcast字段的所述消息为推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和所述订阅者频道的消息。
  5. 根据权利要求3所述的针对成员等级的消息推送方法,其特征在于,所述管理员终端能够查阅所有所述消息;所述订阅者终端仅能够查阅含有broadcast字段的所述消息和含有to字段且推送至当前所述订阅者终端对应的订阅者私有频道的所述消息。
  6. 根据权利要求1所述的针对成员等级的消息推送方法,其特征在于,还包括:
    响应客户端发送的群创建请求,创建讨论群,并默认所述客户端为管理员终端;
    响应所述管理员终端根据通讯录信息添加群成员的请求,更新群成员列表;
    根据所述群成员列表,获取所述客户端的等级权限,并根据所述等级权限为所述客户端订阅相应的频道;所述等级权限包括管理员权限和订阅者权限。
  7. 一种针对成员等级的消息推送装置,其特征在于,包括:
    群创建单元,用于响应客户端发送的群创建请求,创建讨论群,并默认所述客户端为管理员终端;
    成员添加单元,用于响应所述管理员终端根据通讯录信息添加群成员的请求,更新群成员列表;
    频道订阅单元,用于根据所述群成员列表,获取所述客户端的等级权限,并根据所述等级权限为所述客户端订阅相应的频道;所述等级权限包括管理员权限和订阅者权限;
    身份信息获取单元,用于响应客户端发送的登录请求,获取所述客户端的身份信息;所述客户端包括管理员终端和订阅者终端;
    频道判断单元,用于根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道;
    消息推送单元,用于接收所述客户端发送的消息并将所述消息加入消息队列;当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
  8. 一种针对成员等级的消息推送服务器,其特征在于,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1至6所述的针对成员等级的消息推送方法。
  9. 一种针对成员等级的消息推送系统,其特征在于,包括客户端和服务器;所述客户端包括管理员终端和订阅者终端;
    所述客户端,用于发送登录请求至所述服务器;
    所述服务器,用于根据所述登录请求,获取所述客户端的身份信息,并根据所述客户端的身份信息,判断所述客户端所订阅的相应频道;所述频道包括管理员频道、订阅者频道和私有频道;所述私有频道包括管理员私有频道和订阅者私有频道;
    所述客户端,还用于发送的消息至所述服务器;
    所述服务器,还用于将所述消息加入消息队列;当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道;当所述客户端为订阅者终端时,将所述消息列队中的信息推送至所述管理员频道和当前订阅者终端对应的所述订阅者私有频道。
  10. 根据权利要求9所述的针对成员等级的消息推送系统,其特征在于,所述当所述客户端为管理员终端时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的管理员私有频道和选取的订阅者私有频道,具体为:
    当所述客户端为管理员终端,且所述管理员终端没有选取订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道和所述管理员终端对应的管理员私有频道;
    当所述客户端为管理员终端,且所述管理员终端选取有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的所述管理员私有频道和选取的订阅者私有频道;
    当所述客户端为管理员终端,且所述管理员终端选取所有订阅者私有频道时,将所述消息列队中的信息推送至所述管理员频道、当前管理员终端对应的 所述管理员私有频道和所述订阅者频道。
PCT/CN2019/070309 2018-02-13 2019-01-03 一种针对成员等级的消息推送方法、装置、服务器及系统 WO2019157883A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
ZA2020/04820A ZA202004820B (en) 2018-02-13 2020-08-04 Method and device for pushing message on basis of member level, server and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810149266.0 2018-02-13
CN201810149266.0A CN108512742B (zh) 2018-02-13 2018-02-13 一种针对成员等级的消息推送方法、装置、服务器及系统

Publications (1)

Publication Number Publication Date
WO2019157883A1 true WO2019157883A1 (zh) 2019-08-22

Family

ID=63375087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/070309 WO2019157883A1 (zh) 2018-02-13 2019-01-03 一种针对成员等级的消息推送方法、装置、服务器及系统

Country Status (3)

Country Link
CN (1) CN108512742B (zh)
WO (1) WO2019157883A1 (zh)
ZA (1) ZA202004820B (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073533A (zh) * 2020-09-16 2020-12-11 广州趣丸网络科技有限公司 一种实时消息推送方法及系统
CN114449031A (zh) * 2021-12-03 2022-05-06 北京百度网讯科技有限公司 信息获取方法、装置、设备和存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120908B (zh) * 2018-02-06 2021-11-02 阿里巴巴集团控股有限公司 群组消息处理方法、装置和服务器
CN108512742B (zh) * 2018-02-13 2020-12-04 论客科技(广州)有限公司 一种针对成员等级的消息推送方法、装置、服务器及系统
CN109525482B (zh) * 2018-11-09 2021-08-10 北京北信源软件股份有限公司 一种基于密级频道的即时通信方法
CN113541976B (zh) * 2020-04-16 2024-03-29 钉钉控股(开曼)有限公司 组织创建方法及装置、电子设备、存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140317205A1 (en) * 2013-04-18 2014-10-23 Infinite Convergence Solutions, Inc. Method and Devices to Invite a User from an External Chat Service to a Group Chat Session
CN106034062A (zh) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 群组消息的管理方法、服务器及终端
CN108512742A (zh) * 2018-02-13 2018-09-07 论客科技(广州)有限公司 一种针对成员等级的消息推送方法、装置、服务器及系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7764972B2 (en) * 2004-02-17 2010-07-27 Vocera Communications, Inc. Heterogeneous device chat room system and method
CN100493045C (zh) * 2005-09-30 2009-05-27 腾讯科技(深圳)有限公司 一种群组消息发送方法及发送客户端和系统
CN103391205B (zh) * 2012-05-08 2017-06-06 阿里巴巴集团控股有限公司 群组通信信息的发送方法、客户端
US20150127402A1 (en) * 2013-11-06 2015-05-07 Giga-Byte Technology Co.,Ltd. Method and system for structuring information background of the invention
CN105337838A (zh) * 2014-07-07 2016-02-17 鸿富锦精密工业(深圳)有限公司 群组资料分享系统及方法
CN105704002B (zh) * 2014-11-26 2018-11-06 阿里巴巴集团控股有限公司 一种即时通信方法和装置
CN105610681B (zh) * 2015-10-23 2019-08-09 阿里巴巴集团控股有限公司 基于即时通讯的信息处理方法及装置
CN105635109A (zh) * 2015-12-10 2016-06-01 中青冠岳科技(北京)有限公司 一种移动终端即时通讯群组成员管控方法和装置
WO2017128399A1 (zh) * 2016-01-30 2017-08-03 杨钰 根据联系人分组分享朋友圈信息的方法以及权限系统
CN105897561A (zh) * 2016-05-26 2016-08-24 努比亚技术有限公司 消息发送方法、装置及系统
CN107465592B (zh) * 2016-06-03 2020-08-21 苏宁云计算有限公司 一种消息交互方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140317205A1 (en) * 2013-04-18 2014-10-23 Infinite Convergence Solutions, Inc. Method and Devices to Invite a User from an External Chat Service to a Group Chat Session
CN106034062A (zh) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 群组消息的管理方法、服务器及终端
CN108512742A (zh) * 2018-02-13 2018-09-07 论客科技(广州)有限公司 一种针对成员等级的消息推送方法、装置、服务器及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073533A (zh) * 2020-09-16 2020-12-11 广州趣丸网络科技有限公司 一种实时消息推送方法及系统
CN114449031A (zh) * 2021-12-03 2022-05-06 北京百度网讯科技有限公司 信息获取方法、装置、设备和存储介质
CN114449031B (zh) * 2021-12-03 2023-11-21 北京百度网讯科技有限公司 信息获取方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN108512742A (zh) 2018-09-07
CN108512742B (zh) 2020-12-04
ZA202004820B (en) 2022-06-29

Similar Documents

Publication Publication Date Title
WO2019157883A1 (zh) 一种针对成员等级的消息推送方法、装置、服务器及系统
US10098090B2 (en) Dynamic muting of communication notifications
US20140074923A1 (en) Selective content disclosure in an ad-hoc network based on social cohesion
US8701155B2 (en) Communicating using a cloud infrastructure
US8311521B1 (en) Managing notifications on behalf of a mobile device
EP1835665A1 (en) Method for providing presence information and apparatus thereof
US11516304B2 (en) Third-party integration of emergency alert systems
CN100385854C (zh) 一种发送广播消息的系统及方法
CN110659121B (zh) 任务数据获取方法及装置、任务配置方法及装置和服务器
JP2009518947A (ja) プレゼンスサーバを使用する、ダウンロード可能コンテンツの配信管理
EP3709664A1 (en) Stream pushing method, system and server
WO2014169688A1 (en) Method and system for identifying prank call, client, server, and storage medium
US11102319B2 (en) Method, system and server for stream-pushing
CN111246311A (zh) 数据传输的方法、装置、存储介质及电子设备
US10356745B2 (en) Device and/or line event awareness and smart synchronization
US10630835B2 (en) Content sharing between related devices
US20090144387A1 (en) Methods and Systems for Targeted Messaging and Group Based Media Management
CN113746722A (zh) 信息处理方法、装置、设备以及存储介质
CN106899605B (zh) 基于stomp协议的通信方法和装置
US20200036661A1 (en) Increasing capacity in a topic-subscription messaging system
WO2015117342A1 (zh) 一种通知消息的发送方法、装置和系统
CN105634932B (zh) 一种消息推送方法、装置、系统和计算机可读存储介质
US8966034B1 (en) Managing subscriptions for an out-of-network mobile device
CN111464618A (zh) 一种消息推送方法、装置、设备和存储介质
US8135809B2 (en) Presence capabilities and preferences

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19754566

Country of ref document: EP

Kind code of ref document: A1