CN108512742B - Message pushing method, device, server and system for member level - Google Patents
Message pushing method, device, server and system for member level Download PDFInfo
- Publication number
- CN108512742B CN108512742B CN201810149266.0A CN201810149266A CN108512742B CN 108512742 B CN108512742 B CN 108512742B CN 201810149266 A CN201810149266 A CN 201810149266A CN 108512742 B CN108512742 B CN 108512742B
- Authority
- CN
- China
- Prior art keywords
- administrator
- channel
- client
- subscriber
- terminal
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
- H04L12/1822—Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1859—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/401—Support 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/4015—Support 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/611—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method, a device, a server and a system for pushing messages aiming at member grades, wherein the method comprises the following steps: responding to a login request sent by a client, and judging a corresponding channel subscribed by the client; receiving a message sent by the client and adding the message into a message queue; when the client is an administrator terminal, pushing information to an administrator channel, an administrator private channel and a selected subscriber private channel; and when the client is a subscriber terminal, pushing information to the administrator channel and the subscriber private channel or the subscriber channel. According to the invention, based on member grade division and corresponding channel subscription, members of different grades can be selected to publish messages, and cross-grade private communication can be realized, the visible range of messages and notifications of the subscribers and administrators can be limited, and other subscribers can be prevented from being disturbed, so that the group communication efficiency is improved, and the pertinence and effectiveness of information publishing are enhanced.
Description
Technical Field
The invention relates to the technical field of instant messaging, in particular to a method, a device, a server and a system for pushing a member level message.
Background
Existing groups, such as QQ, WeChat, in fact also have sub-administrators and common members, and also have functions similar to broadcast-type delivery of messages. However, the existing group broadcast mode restricts the administrator to speak only by a mode similar to the group banning mode, and common members cannot speak. Generally, a common member can only communicate with a certain administrator independently, and in this case, other administrators have information fault.
The group takes the form of a message for a specific user, plays a role in reminding, but cannot limit the message from being sent to the specific user, and other common members can also receive the message of a person, which is an information interference for other people. For members joining the group, to avoid message disturbance, different reminding modes are often selected by setting global or corresponding group message settings, but the number of messages received by the members is not reduced from the source of the pushed messages.
Moreover, in the existing groups such as QQ, WeChat, etc., all the members of the sent messages are visible, the number of group members is large, the management is difficult, and the situation of revealing private or important messages may occur. The reason is mainly that the existing group can not control to only appoint the push message to the specific user, and can not control the message range.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method, an apparatus, a server, and a system for pushing a message to a member level, which can select members of different levels to publish a message, avoid leakage of important messages, and implement cross-level private communication based on member level division and corresponding channel subscription, limit the visible range of messages and notifications of subscribers and administrators, and avoid disturbing other subscribers, thereby improving group communication efficiency and enhancing pertinence and effectiveness of information publication.
In order to solve the above technical problem, an embodiment of the present invention provides a method for pushing a message for a member level, including the following steps:
responding to a login request sent by a client to acquire identity information of the client; the client comprises an administrator terminal and a subscriber terminal;
judging a corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels comprise an administrator private channel and a subscriber private channel;
receiving a message sent by the client and adding the message into a message queue;
when the client is an administrator terminal, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel;
and when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
Further, when 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:
when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, pushing information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal;
when the client is an administrator terminal and a subscriber private channel is selected by the administrator terminal, pushing 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;
and when the client is an administrator terminal and the administrator terminal selects all the subscriber private channels, pushing the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
Further, the determining, according to the identity information of the client, a corresponding channel subscribed by the client specifically includes:
judging that the client is an administrator terminal or a subscriber terminal according to the identity information of the client;
if 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 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 identity information includes administrator information or subscriber information.
Further, the message contains 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 the message which is pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
Further, the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the message containing the to field and pushed to the subscriber private channel corresponding to the subscriber terminal at present.
Further, the method for pushing a message for a member level further includes:
responding to a group creation request sent by a client, creating a discussion group, and defaulting the client to be an administrator terminal;
responding to the request of adding the group members by the administrator terminal according to the address list information, and updating the group member list;
acquiring the level authority of the client according to the group member list, and subscribing a corresponding channel for the client according to the level authority; the level rights include administrator rights and subscriber rights.
The embodiment of the invention also provides a message pushing device for the member level, which comprises:
the group creating unit is used for responding to a group creating request sent by a client, creating a discussion group and defaulting the client to be an administrator terminal;
the member adding unit is used for responding to a request of adding group members by the administrator terminal according to the address list information and updating a group member list;
the channel subscription unit is used for acquiring the level authority of the client according to the group member list and subscribing a corresponding channel for the client according to the level authority; the level authority comprises an administrator authority and a subscriber authority;
the identity information acquisition unit is used for responding to a login request sent by a client and acquiring the identity information of the client; the client comprises an administrator terminal and a subscriber terminal;
the channel judging unit is used for judging the corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels comprise an administrator private channel and a subscriber private channel;
the message pushing unit is used for receiving the message sent by the client and adding the message into a message queue; when the client is an administrator terminal, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel; and when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
The embodiment of the invention also provides a message push server aiming at the member level, which comprises the following steps:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a message push method for a membership level as described above.
The embodiment of the invention also provides a message pushing system aiming at the member level, which comprises a client and a server; the client comprises an administrator terminal and a subscriber terminal;
the client is used for sending a login request to the server;
the server is used for acquiring the identity information of the client according to the login request and judging the corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels comprise an administrator private channel and a subscriber private channel;
the client is also used for sending a message to the server;
the server is also used for adding the message into a message queue; when the client is an administrator terminal, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel; and when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
Further, when 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:
when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, pushing information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal;
when the client is an administrator terminal and a subscriber private channel is selected by the administrator terminal, pushing 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;
and when the client is an administrator terminal and the administrator terminal selects all the subscriber private channels, pushing the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a method, a device, a server and a system for pushing a member level message, wherein the method comprises the following steps: responding to a login request sent by a client, and judging a corresponding channel subscribed by the client; receiving a message sent by the client and adding the message into a message queue; when the client is an administrator terminal, pushing information to the administrator channel, the administrator private channel and the selected subscriber private channel; and when the client is a subscriber terminal, pushing information to the administrator channel and the subscriber private channel or the subscriber channel. According to the invention, based on member grade division and corresponding channel subscription, members of different grades can be selected to publish messages, and cross-grade private communication can be realized, the visible range of messages and notifications of the subscribers and administrators can be limited, and other subscribers can be prevented from being disturbed, so that the group communication efficiency is improved, and the pertinence and effectiveness of information publishing are enhanced.
Drawings
Fig. 1 is a flowchart illustrating a message pushing method for a membership grade according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a message pushing apparatus for a membership level according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the client in the embodiment of the present invention may be a mobile terminal and a non-mobile terminal, where the non-mobile terminal includes a desktop computer, and the mobile terminal includes a mobile internet device capable of performing wireless communication, such as a Smart Phone (e.g., an Android Phone, an iOS Phone, and the like), Smart glasses, a Smart watch, a Smart bracelet, a tablet computer, a notebook computer, and a personal digital assistant.
The first embodiment of the present invention:
the message pushing method for the member level provided by the first embodiment of the present invention can be executed by a server, and the server is taken as an example for explanation below.
Referring to fig. 1, fig. 1 is a flowchart illustrating a message pushing method for a member level according to a first embodiment of the present invention.
The message pushing method aiming at the member level comprises the following steps:
s101, responding to a login request sent by a client to acquire identity information of the client; the client comprises an administrator terminal and a subscriber terminal.
In this embodiment, the client establishes a relevant discussion group in advance, and the steps are as follows:
the server responds to a group creation request sent by the client, creates a discussion group, and defaults the client to be an administrator terminal.
And the server responds to the request of adding the group members according to the address list information by the administrator terminal and updates the group member list.
The server acquires the level authority of the client according to the group member list and subscribes a corresponding channel for the client according to the level authority; the level rights include administrator rights and subscriber rights.
For example: a creates a group based on member level, adds B as administrator, and adds C, D as subscriber. The server will record A, B the identity of the group administrator and C, D the identity of the subscriber. And the server subscribes to the administrator channel for A, B and the upper C, D subscribes to the subscriber channel.
It can be understood that, when the user logs in, the server searches the related group to which the user joins, and determines the member level of the user in the group, if the user is an administrator, the server helps the user subscribe to the group administrator channel, and if the user is a subscriber, the server helps the user subscribe to the group subscriber channel. In addition, each user has a respective private channel.
S102, judging a corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels include an administrator private channel and a subscriber private channel.
In this embodiment, the server determines, according to the identity information of the client, a corresponding channel to which the client subscribes, and determines, by the server, that the client is an administrator terminal or a subscriber terminal. And if the server judges 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 judges 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, receiving the message sent by the client and adding the message into a message queue.
In this embodiment, the server will add the messages sent by the client to the message queue in the order of the timestamps.
And S104, when 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.
In this embodiment, when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, the server pushes information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal.
And when the client is an administrator terminal and the administrator terminal selects a subscriber private channel, the server pushes 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.
And when the client is an administrator terminal and the administrator terminal selects all the subscriber private channels, the server pushes the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
It will be appreciated that the user sends a message in the group and the server will determine whether the user's identity is an administrator or subscriber, and if so, push to the administrator channel, and the administrator may receive the message. If the user is a subscriber, the user can push the user to an administrator channel and a private channel of a message sender, and the administrator and the message sender can receive the message. The administrator broadcasts messages that are pushed to the administrator channel and the subscriber channel.
S105, when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
It should be noted that 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 the message which is pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
It should be noted that the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the message containing the to field and pushed to the subscriber private channel corresponding to the subscriber terminal at present.
To facilitate the understanding of the above technical solutions by those skilled in the art, the following are exemplified, for example:
first a creates a group based on membership level, adds B as administrator, and C, D as subscriber. The server will record A, B the identity of the group administrator and C, D the identity of the subscriber. And the server subscribes to the administrator channel for A, B and the upper C, D subscribes to the subscriber channel.
Case where the administrator terminal (administrator) transmits a message one:
b sends message in group, server judges B is administrator, push message to administrator's channel and B's private channel. Since A, B subscribes to the administrator channel, A, B can receive the message.
Case two where the administrator terminal (administrator) transmits a message:
a broadcasts a certain message in a group, the server sets the message as a broadcast flag bit and pushes the message to an administrator channel and a subscriber channel. Since A, B subscribes to the administrator channel and C, D subscribes to the subscriber channel, A, B, C, D can receive messages.
Case three where the administrator terminal (administrator) transmits a message:
and B, replying the message of D by the A, judging that D is a replied member by the server, and adding the id of D to the to field of the message. The message will be pushed to the administrator channel and the private channel of D. Since A, B subscribes to the administrator channel and D subscribes to its own private channel, A, B, D can receive the change message.
Case where a subscriber terminal (subscriber) sends a message:
and C, sending the message in the group, and pushing the message to an administrator channel and a private channel of C by the server if the server judges that C is a subscriber. Since A, B subscribes to the administrator channel and C subscribes to its own private channel, A, B, C can both receive messages.
The message pushing method for the member level provided by the embodiment comprises the steps of responding to a login request sent by a client, and judging a corresponding channel subscribed by the client; receiving a message sent by the client and adding the message into a message queue; when the client is an administrator terminal, pushing information to the administrator channel, the administrator private channel and the selected subscriber private channel; and when the client is a subscriber terminal, pushing information to the administrator channel and the subscriber private channel or the subscriber channel. According to the invention, based on member grade division and corresponding channel subscription, members of different grades can be selected to publish messages, and cross-grade private communication can be realized, the visible range of messages and notifications of the subscribers and administrators can be limited, and other subscribers can be prevented from being disturbed, so that the group communication efficiency is improved, and the pertinence and effectiveness of information publishing are enhanced.
Second embodiment of the invention:
referring to fig. 2, 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 comprises:
the group creating unit 201 is configured to create a discussion group in response to a group creating request sent by a client, and default the client to be an administrator terminal.
A member adding unit 202, configured to respond to a request from the administrator terminal to add a group member according to the address book information, and update the group member list.
A channel subscription unit 203, configured to obtain a level right of the client according to the group member list, and subscribe a corresponding channel for the client according to the level right; the level rights include administrator rights and subscriber rights.
In the present embodiment, for example: a creates a group based on member level, adds B as administrator, and adds C, D as subscriber. The server will record A, B the identity of the group administrator and C, D the identity of the subscriber. And the server subscribes to the administrator channel for A, B and the upper C, D subscribes to the subscriber channel.
It can be understood that, when the user logs in, the server searches the related group to which the user joins, and determines the member level of the user in the group, if the user is an administrator, the server helps the user subscribe to the group administrator channel, and if the user is a subscriber, the server helps the user subscribe to the group subscriber channel. In addition, each user has a respective private channel.
An identity information obtaining unit 204, configured to obtain identity information of a client in response to a login request sent by the client; the client comprises an administrator terminal and a subscriber terminal.
A channel determining unit 205, configured to determine, according to the identity information of the client, a corresponding channel subscribed by the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels include an administrator private channel and a subscriber private channel.
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, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel; and when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
In this embodiment, when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, the server pushes information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal.
And when the client is an administrator terminal and the administrator terminal selects a subscriber private channel, the server pushes 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.
And when the client is an administrator terminal and the administrator terminal selects all the subscriber private channels, the server pushes the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
It will be appreciated that the user sends a message in the group and the server will determine whether the user's identity is an administrator or subscriber, and if so, push to the administrator channel, and the administrator may receive the message. If the user is a subscriber, the user can push the user to an administrator channel and a private channel of a message sender, and the administrator and the message sender can receive the message. The administrator broadcasts messages that are pushed to the administrator channel and the subscriber channel.
It should be noted that 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 the message which is pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
It should be noted that the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the message containing the to field and pushed to the subscriber private channel corresponding to the subscriber terminal at present.
The message pushing apparatus for a member level provided in this embodiment responds to a login request sent by a client, and determines a corresponding channel subscribed by the client; receiving a message sent by the client and adding the message into a message queue; when the client is an administrator terminal, pushing information to the administrator channel, the administrator private channel and the selected subscriber private channel; and when the client is a subscriber terminal, pushing information to the administrator channel and the subscriber private channel or the subscriber channel. According to the invention, based on member grade division and corresponding channel subscription, members of different grades can be selected to publish messages, and cross-grade private communication can be realized, the visible range of messages and notifications of the subscribers and administrators can be limited, and other subscribers can be prevented from being disturbed, so that the group communication efficiency is improved, and the pertinence and effectiveness of information publishing are enhanced.
The embodiment of the invention also provides a message push server aiming at the member level, which comprises the following steps:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a message push method for a membership level as described above.
Third embodiment of the invention:
corresponding to the above message pushing method and device for the member level, the present embodiment also provides a message pushing system for the member level,
the embodiment of the invention also provides a message pushing system aiming at the member level, which comprises a client and a server; the client comprises an administrator terminal and a subscriber terminal.
And the client is used for sending a login request to the server.
The server is used for acquiring the identity information of the client according to the login request and judging the corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels include an administrator private channel and a subscriber private channel.
In this embodiment, the server determines, according to the identity information of the client, a corresponding channel to which the client subscribes, and determines, by the server, that the client is an administrator terminal or a subscriber terminal. And if the server judges 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 judges 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 also used for sending the message to the server.
The server is also used for adding the message into a message queue; when the client is an administrator terminal, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel; and when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
In this embodiment, the server will add the messages sent by the client to the message queue in the order of the timestamps.
In this embodiment, when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, the server pushes information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal.
And when the client is an administrator terminal and the administrator terminal selects a subscriber private channel, the server pushes 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.
And when the client is an administrator terminal and the administrator terminal selects all the subscriber private channels, the server pushes the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
It will be appreciated that the user sends a message in the group and the server will determine whether the user's identity is an administrator or subscriber, and if so, push to the administrator channel, and the administrator may receive the message. If the user is a subscriber, the user can push the user to an administrator channel and a private channel of a message sender, and the administrator and the message sender can receive the message. The administrator broadcasts messages that are pushed to the administrator channel and the subscriber channel.
It should be noted that 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 the message which is pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
It should be noted that the administrator terminal can refer to all the messages; the subscriber terminal can only refer to the message containing the broadcast field and the message containing the to field and pushed to the subscriber private channel corresponding to the subscriber terminal at present.
To facilitate the understanding of the above technical solutions by those skilled in the art, the following are exemplified, for example:
first a creates a group based on membership level, adds B as administrator, and C, D as subscriber. The server will record A, B the identity of the group administrator and C, D the identity of the subscriber. And the server subscribes to the administrator channel for A, B and the upper C, D subscribes to the subscriber channel.
Case where the administrator terminal (administrator) transmits a message one:
b sends message in group, server judges B is administrator, push message to administrator's channel and B's private channel. Since A, B subscribes to the administrator channel, A, B can receive the message.
Case two where the administrator terminal (administrator) transmits a message:
a broadcasts a certain message in a group, the server sets the message as a broadcast flag bit and pushes the message to an administrator channel and a subscriber channel. Since A, B subscribes to the administrator channel and C, D subscribes to the subscriber channel, A, B, C, D can receive messages.
Case three where the administrator terminal (administrator) transmits a message:
and B, replying the message of D by the A, judging that D is a replied member by the server, and adding the id of D to the to field of the message. The message will be pushed to the administrator channel and the private channel of D. Since A, B subscribes to the administrator channel and D subscribes to its own private channel, A, B, D can receive the change message.
Case where a subscriber terminal (subscriber) sends a message:
and C, sending the message in the group, and pushing the message to an administrator channel and a private channel of C by the server if the server judges that C is a subscriber. Since A, B subscribes to the administrator channel and C subscribes to its own private channel, A, B, C can both receive messages.
The message pushing system for the member level provided in this embodiment responds to a login request sent by a client, and determines a corresponding channel subscribed by the client; receiving a message sent by the client and adding the message into a message queue; when the client is an administrator terminal, pushing information to the administrator channel, the administrator private channel and the selected subscriber private channel; and when the client is a subscriber terminal, pushing information to the administrator channel and the subscriber private channel or the subscriber channel. According to the invention, based on member grade division and corresponding channel subscription, members of different grades can be selected to publish messages, and cross-grade private communication can be realized, the visible range of messages and notifications of the subscribers and administrators can be limited, and other subscribers can be prevented from being disturbed, so that the group communication efficiency is improved, and the pertinence and effectiveness of information publishing are enhanced.
The foregoing is directed to the preferred embodiment of the present invention, and it is understood that various changes and modifications may be made by one skilled in the art without departing from the spirit of the invention, and it is intended that such changes and modifications be considered as within the scope of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Claims (8)
1. A message pushing method aiming at member level is characterized in that the method is applied to a group scene and comprises the following steps:
responding to a login request sent by a client to acquire identity information of the client; the client comprises an administrator terminal and a subscriber terminal;
judging a corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels comprise an administrator private channel and a subscriber private channel;
receiving a message sent by the client and adding the message into a message queue;
when the client is an administrator terminal, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel; in particular, the method comprises the following steps of,
when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, pushing information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal;
when the client is an administrator terminal and a subscriber private channel is selected by the administrator terminal, pushing 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 an administrator terminal and the administrator terminal selects all the subscriber private channels, pushing the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel;
and when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
2. The method for pushing a message according to claim 1, wherein the determining, according to the identity information of the client, a corresponding channel subscribed by the client specifically includes:
judging that the client is an administrator terminal or a subscriber terminal according to the identity information of the client;
if 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 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 identity information includes administrator information or subscriber information.
3. The message pushing method for the member level as claimed in claim 1, wherein 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 the message which is pushed to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
4. The message pushing method for the member level according to claim 2, wherein the administrator terminal is capable of referring to all the messages; the subscriber terminal can only look up the message containing the broadcast field and the message which contains the to field and is pushed to a subscriber private channel corresponding to the current subscriber terminal; wherein, the broadcast field is a broadcast flag bit, and the to field is a pointing object flag bit.
5. The message pushing method for the member level according to claim 1, further comprising:
responding to a group creation request sent by a client, creating a discussion group, and defaulting the client to be an administrator terminal;
responding to the request of adding the group members by the administrator terminal according to the address list information, and updating the group member list;
acquiring the level authority of the client according to the group member list, and subscribing a corresponding channel for the client according to the level authority; the level rights include administrator rights and subscriber rights.
6. A message pushing apparatus for a membership grade, comprising:
the group creating unit is used for responding to a group creating request sent by a client, creating a discussion group and defaulting the client to be an administrator terminal;
the member adding unit is used for responding to a request of adding group members by the administrator terminal according to the address list information and updating a group member list;
the channel subscription unit is used for acquiring the level authority of the client according to the group member list and subscribing a corresponding channel for the client according to the level authority; the level authority comprises an administrator authority and a subscriber authority;
the identity information acquisition unit is used for responding to a login request sent by a client and acquiring the identity information of the client; the client comprises an administrator terminal and a subscriber terminal;
the channel judging unit is used for judging the corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels comprise an administrator private channel and a subscriber private channel;
the message pushing unit is used for receiving the message sent by the client and adding the message into a message queue; when the client is an administrator terminal, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel; in particular, the method comprises the following steps of,
when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, pushing information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal; when the client is an administrator terminal and a subscriber private channel is selected by the administrator terminal, pushing 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 an administrator terminal and the administrator terminal selects all the subscriber private channels, pushing the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel;
and when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal.
7. A message push server for a membership class, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the message push method for a membership level of claims 1-5.
8. A message pushing system aiming at member level is characterized in that the message pushing system is applied to a group scene and comprises a client and a server; the client comprises an administrator terminal and a subscriber terminal;
the client is used for sending a login request to the server;
the server is used for acquiring the identity information of the client according to the login request and judging the corresponding channel subscribed by the client according to the identity information of the client; the channels include an administrator channel, a subscriber channel, and a private channel; the private channels comprise an administrator private channel and a subscriber private channel;
the client is also used for sending a message to the server;
the server is also used for adding the message into a message queue; when the client is an administrator terminal, pushing the information in the message queue to the administrator channel, an administrator private channel corresponding to the current administrator terminal and a selected subscriber private channel; when the client is a subscriber terminal, pushing the information in the message queue to the administrator channel and the subscriber private channel corresponding to the current subscriber terminal; in particular, the method comprises the following steps of,
when the client is an administrator terminal and the administrator terminal does not select a subscriber private channel, pushing information in the message queue to the administrator channel and an administrator private channel corresponding to the administrator terminal;
when the client is an administrator terminal and a subscriber private channel is selected by the administrator terminal, pushing 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;
and when the client is an administrator terminal and the administrator terminal selects all the subscriber private channels, pushing the information in the message queue to the administrator channel, the administrator private channel corresponding to the current administrator terminal and the subscriber channel.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810149266.0A CN108512742B (en) | 2018-02-13 | 2018-02-13 | Message pushing method, device, server and system for member level |
PCT/CN2019/070309 WO2019157883A1 (en) | 2018-02-13 | 2019-01-03 | Method and device for pushing message on basis of member level, server and system |
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 (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810149266.0A CN108512742B (en) | 2018-02-13 | 2018-02-13 | Message pushing method, device, server and system for member level |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108512742A CN108512742A (en) | 2018-09-07 |
CN108512742B true CN108512742B (en) | 2020-12-04 |
Family
ID=63375087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810149266.0A Active CN108512742B (en) | 2018-02-13 | 2018-02-13 | Message pushing method, device, server and system for member level |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN108512742B (en) |
WO (1) | WO2019157883A1 (en) |
ZA (1) | ZA202004820B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110120908B (en) * | 2018-02-06 | 2021-11-02 | 阿里巴巴集团控股有限公司 | Group message processing method and device and server |
CN108512742B (en) * | 2018-02-13 | 2020-12-04 | 论客科技(广州)有限公司 | Message pushing method, device, server and system for member level |
CN109525482B (en) * | 2018-11-09 | 2021-08-10 | 北京北信源软件股份有限公司 | Instant messaging method based on secret level channel |
CN113541976B (en) * | 2020-04-16 | 2024-03-29 | 钉钉控股(开曼)有限公司 | Tissue creation method and device, electronic equipment and storage medium |
CN112073533A (en) * | 2020-09-16 | 2020-12-11 | 广州趣丸网络科技有限公司 | Real-time message pushing method and system |
CN114449031B (en) * | 2021-12-03 | 2023-11-21 | 北京百度网讯科技有限公司 | Information acquisition method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635109A (en) * | 2015-12-10 | 2016-06-01 | 中青冠岳科技(北京)有限公司 | Mobile terminal instant messaging group member control method and device |
CN105704002A (en) * | 2014-11-26 | 2016-06-22 | 阿里巴巴集团控股有限公司 | Instant messaging method and instant messaging device |
CN105897561A (en) * | 2016-05-26 | 2016-08-24 | 努比亚技术有限公司 | Message sending method, device and system |
CN107465592A (en) * | 2016-06-03 | 2017-12-12 | 苏宁云商集团股份有限公司 | A kind of method for message interaction and system |
Family Cites Families (10)
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 (en) * | 2005-09-30 | 2009-05-27 | 腾讯科技(深圳)有限公司 | Group message transmitting method, transmitting client and system |
CN103391205B (en) * | 2012-05-08 | 2017-06-06 | 阿里巴巴集团控股有限公司 | The sending method of group communication information, client |
US9391788B2 (en) * | 2013-04-18 | 2016-07-12 | Infinite Convergence Solutions, Inc | Method and devices to invite a user from an external chat service to a group chat session |
US20150127402A1 (en) * | 2013-11-06 | 2015-05-07 | Giga-Byte Technology Co.,Ltd. | Method and system for structuring information background of the invention |
CN105337838A (en) * | 2014-07-07 | 2016-02-17 | 鸿富锦精密工业(深圳)有限公司 | System and method for sharing group data |
CN106034062B (en) * | 2015-03-11 | 2019-08-06 | 腾讯科技(深圳)有限公司 | Management method, server and the terminal of group message |
CN105610681B (en) * | 2015-10-23 | 2019-08-09 | 阿里巴巴集团控股有限公司 | Information processing method and device based on instant messaging |
WO2017128399A1 (en) * | 2016-01-30 | 2017-08-03 | 杨钰 | Method of sharing friend group message on the basis of contact group, and permission system |
CN108512742B (en) * | 2018-02-13 | 2020-12-04 | 论客科技(广州)有限公司 | Message pushing method, device, server and system for member level |
-
2018
- 2018-02-13 CN CN201810149266.0A patent/CN108512742B/en active Active
-
2019
- 2019-01-03 WO PCT/CN2019/070309 patent/WO2019157883A1/en active Application Filing
-
2020
- 2020-08-04 ZA ZA2020/04820A patent/ZA202004820B/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105704002A (en) * | 2014-11-26 | 2016-06-22 | 阿里巴巴集团控股有限公司 | Instant messaging method and instant messaging device |
CN105635109A (en) * | 2015-12-10 | 2016-06-01 | 中青冠岳科技(北京)有限公司 | Mobile terminal instant messaging group member control method and device |
CN105897561A (en) * | 2016-05-26 | 2016-08-24 | 努比亚技术有限公司 | Message sending method, device and system |
CN107465592A (en) * | 2016-06-03 | 2017-12-12 | 苏宁云商集团股份有限公司 | A kind of method for message interaction and system |
Also Published As
Publication number | Publication date |
---|---|
WO2019157883A1 (en) | 2019-08-22 |
CN108512742A (en) | 2018-09-07 |
ZA202004820B (en) | 2022-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108512742B (en) | Message pushing method, device, server and system for member level | |
US8639648B2 (en) | Method and arrangement for content prioritization | |
CN108881354B (en) | Push information storage method and device, server and computer storage medium | |
CN100385854C (en) | System and method for sending message of broadcast | |
EP1835665A1 (en) | Method for providing presence information and apparatus thereof | |
KR20190066629A (en) | A location area update method of a user terminal, an access network entity, a user terminal and a core network entity | |
US10334397B2 (en) | Interaction tracking and organizing system | |
WO2014169688A1 (en) | Method and system for identifying prank call, client, server, and storage medium | |
RU2407232C2 (en) | Method, mobile terminal, system and computer software product for online attribution of content | |
US20110106857A1 (en) | Method for Automatically Adding an Address into an Address Book | |
US20160021035A1 (en) | Creating a user group | |
US10264109B2 (en) | Contact synchronization between related devices of a subscriber account | |
CN101815100A (en) | Information sharing and pushing system based on address list of mobile phone | |
CN111246311A (en) | Data transmission method and device, storage medium and electronic equipment | |
US10250651B2 (en) | Method and mobile terminal for publishing information automatically | |
US20150142887A1 (en) | Device, method and mobile terminal for updating mobile social network user state | |
US11570130B2 (en) | System for delivering notification messages across different notification media | |
CN103684993A (en) | Instant messaging method, server and instant messaging tool | |
CN104836845A (en) | Method for automatically generating group based on hobbies and geographic position of user | |
CN102769640A (en) | Method, server and system for user information updating | |
US20090144387A1 (en) | Methods and Systems for Targeted Messaging and Group Based Media Management | |
CN106411713B (en) | State notification method and server | |
EP2770757A1 (en) | Method and terminal for information processing based on rcs-e system | |
US10462154B2 (en) | Restricting communications between subscriber machines | |
CN108234471B (en) | Group entry verification method, group entry verification device, computer device and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |