In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what is the design method of Web website notification system". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is the design method of Web website notification system"?
I. Notification system definition
Notification system, as its name implies, is the communication and processing system of notification information. The purpose is to let users get the information and reminders they need and deal with them.
The word "need to get" here has two meanings: 1, the information flow triggered by the interaction of users (messages, comments or replies, private messages, etc.) 2, the website wants users to know the information they follow (system announcements, etc.)
The principles of notification system design can be simply summarized as follows: 1, message dissemination efficiency * (acquisition, processing, information transmission, user feedback, etc.) 2, avoid harassment (noise, frequent prompts)
II. Classification of notifications
The unused platform and the product itself are different because of the different requirements for the business.
It can be roughly divided into the following categories:
Third, the implementation mechanism of notification logic
The logic of the notification is simplified as follows:
I would like to explain these links separately:
(1) Notification of merger
Notification needs to be summarized and merged before push, in order to improve the efficiency of message dissemination, reduce disturbance, reduce noise, and balance the pressure on the server.
1) merge cycle:
All messages within a fixed time are summarized (within 24 hours / 30 days, etc.)
No fixed time (summary as long as unprocessed / unread)
Of course, it is generally used in combination: merging unprocessed messages within 24 hours
2) sorting and merging
Merge the same category (e. G. n messages into 1)
Merge with the same sponsor (such as n private messages sent to you by Zhang San)
Merge in the same time period (e.g. received a total of n comments in 24 hours)
(II) Distribution of notifications
After the notification is summarized in accordance with the rules, the system pushes it to the user through the notification pipeline for user processing.
1) Distribution method
The distribution mode is similar to the Feed system, which mostly adopts the Push mode, that is, it is actively pushed to the user within a specified time. Some specific types require a user request (Pull) to pull unread messages. At present, most notifications give priority to push the total number of outstanding notifications after the merge, which has reminded users that there are new messages to be processed. The user clicks the number and then goes to the server to request the specific message content. This approach takes into account cost, stress, and experience. Of course, in some extreme cases, optimization needs to be done: if the unread message exceeds 1000, the user will push the first 50 messages first or put them in cache. Technical children's shoes will have a variety of means, which will not be detailed here.
2) Distribution frequency (time)
The distribution time is mainly divided according to the priority of the message:
3) Distribution pipeline
The distribution channel is the specific push channel for message notification, which can be divided into Web, App, SMS, email and so on according to the type of business.
(3) user processing
According to the distribution method mentioned earlier, the processing of notification can be logically divided into two layers: the processing of notification status and the processing of notification content.
1) the narrow understanding of state processing is whether it has been read (processed).
Usually, the initial number is the total amount of unread pushed by the system. After the user clicks the number to enter the list of related functions, the reading action is completed, and the unread number is reduced accordingly.
There are several situations that require workarounds:
If the user has more unread information (mcm 100), but the list of * pages can only display (nasty 10), the unread number is m-n=90.
Some products equate clicks with read. That is, as long as the user clicks whether or not to open the list to view, it is considered to have been read. Such processing is generally used for messages with a lower level of importance. Click to read can effectively reduce harassment.
The processed state of some messages with a higher level of importance can be defined as processed rather than consulted after the user has taken the relevant action. Such as the user to comment, reply, click ignore or click delete and other actions are considered to have been dealt with.
2) the narrow understanding of the processing of content is whether the user operates or not.
According to the types of messages and business needs, operations can be divided into:
Processing: the user must click on the function link to process it. For example, your password is too simple, click here to change it
Reply: if you reply to a private message, reply to a comment
Confirmation: give confirmation feedback to the message, such as some system prompts, you can set the "I already know, no more prompt" option
Ignore: the user takes an ignore action or does nothing
Delete: the user deletes this message.
3) the state after message processing needs to be unified.
The message needs to mark the status of whether it has been processed, and the state is open at different terminals. For example, if the user views the message on the client side, the message should be automatically marked as read on the web site.
(4) notify recovery
Recycling is mainly aimed at the operation of the message processed by the user.
Messages triggered between users generally need to be kept on file. Such as comments / replies / messages / private messages, etc. The product provides an option to ask the user whether to clean up automatically beyond a certain period.
In some products, the priority of functionality also needs to be considered. If you unfriend or join the blacklist, the private message records of both parties will be deleted automatically.
Messages triggered by the system generally set a certain time for collection and deletion. Such as system reminders, notices, announcements, etc. Automatically delete in the product after expiration. Physically, you can set whether to back up or not.
Expired but unprocessed messages (the user has not logged in for a long time but received a reply from others) can be processed according to business needs. Such as unread private messages / comments / replies * reserved, etc. Important unread messages can try a second push or use other channels (mailbox, APP, SMS, etc.) to notify.
IV. Notification processing interaction
Note: specific interactions need to take into account their own business characteristics and target requirements. Specific businesses may need to emphasize that some businesses also need to consider harassment, so it is shameless to talk about interaction beyond the specific situation itself.
Here is only for the general community website, describe the personal favorite interaction.
1. Alert interaction when new messages arrive
When new messages arrive, you can use the following reminders
Title flashing
The sound is automatically triggered when a new message arrives.
Bubble + number
New message floating layer
Pop-up window prompt
Notification processing
At present, most messages use the current trigger, instant processing similar to "WYSIWYG" interaction. Cymbal
The need to take this approach into consideration:
Message notification is located in global navigation, and new messages can be received in a timely manner when accessing any channel.
After the message has been processed in the floating layer, the user can continue with the previous operation without disturbing.
Due to the limited navigation area, it is necessary to uniformly organize and plan the types of messages. (the classification of Facebook is friend request, private message and notification. )
Provide access to history (more, all messages) (secondary page)
Mark the read unread status and handle the relationship between message reminder numbers.
Fifth, prevent harassment (disturbance)
Because of the business nature of the message itself, too many useless notifications are bound to cause noise and disturb users. Therefore, the notification frequency and channel of messages should be set reasonably to prevent the loss of morning experience and efficiency.
1. Provide the management function of notification frequency and channel
Such as the common mail unsubscription management, message notification type management. Cymbal
Facebook Notification Settings
Add shielding function
Message masking function should belong to the notification type management in * * Article. When there are many business modules and the previous associations are scattered, or when the third-party application notification with open platform function access, you can use the masking feature.
Facebook Application message Management
Sina Weibo Application message Management
3. Combine the authority system
1. Feature privacy settings
Use privacy settings to define specific receiving rights, scope, etc.
Weibo private message settings
Combine the blacklist function.
Use the blacklist to block specific message notifications for specified users or keywords. Cymbal
VI. Users pull back
When the user does not log in for a long time or does not process the message, he can use other channels to push the notification, which has achieved the purpose of pulling back. This should be combined with the pull back strategy of the site as a whole.
Example: Facebook's friend requests confirmation and pulls back email:
At this point, I believe that everyone on the "Web website notification system design method is what" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.