WO2012149845A1 - 一种微博消息的显示方法、系统、微博终端、微博服务器端及存储介质 - Google Patents

一种微博消息的显示方法、系统、微博终端、微博服务器端及存储介质 Download PDF

Info

Publication number
WO2012149845A1
WO2012149845A1 PCT/CN2012/073035 CN2012073035W WO2012149845A1 WO 2012149845 A1 WO2012149845 A1 WO 2012149845A1 CN 2012073035 W CN2012073035 W CN 2012073035W WO 2012149845 A1 WO2012149845 A1 WO 2012149845A1
Authority
WO
WIPO (PCT)
Prior art keywords
microblog
list
group
message
user
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.)
Ceased
Application number
PCT/CN2012/073035
Other languages
English (en)
French (fr)
Inventor
张丽
李晶晶
王恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to JP2014508676A priority Critical patent/JP5802827B2/ja
Priority to KR1020137031618A priority patent/KR101475648B1/ko
Priority to US14/115,265 priority patent/US8935618B2/en
Publication of WO2012149845A1 publication Critical patent/WO2012149845A1/zh
Anticipated expiration legal-status Critical
Priority to US14/560,764 priority patent/US9887953B2/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • 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/216Handling conversation history, e.g. grouping of messages in sessions or threads

Definitions

  • the present invention relates to the field of microblog technology, and in particular, to a method, a system for displaying a microblog message, a microblog terminal, a microblog server end, and a storage medium.
  • Weibo (Micro Blog , microblogging), is a blog-like system that can publish messages instantly, its biggest feature is integration and openness, users can use mobile phones, IM ( Instant Messaging , instant messaging) software or external API (Application Programming Interface, etc.) to publish messages to Weibo.
  • IM Instant Messaging , instant messaging
  • API Application Programming Interface, etc.
  • Weibo List is an important application of Weibo, Weibo List Provide a small circle of focus, communication and communication platform for Weibo users with the same hobbies or the same label.
  • the Weibo List can be Multiple Weibo users in the session. Users can listen to interested people or Weibo List according to their needs, establish a wide chain of relationships, and quickly view the listeners or listen to the Weibo List. Messages published by members, listeners or listen to Weibo List The messages published by each member are sorted by timeline. The sorted message list is the most important homepage message list (or homepage message line) in the Weibo application.
  • the technical problem to be solved by the embodiments of the present invention is to provide a display method of a microblog message, a microblog terminal, and a microblog server, which can effectively organize and display the microblog homepage message, so that the user can view quickly and effectively.
  • the microblogging message that it focuses on improves the user's efficiency in using the Weibo homepage.
  • an embodiment of the present invention provides a method for displaying a microblog message, including:
  • the microblog terminal corresponding to the user When detecting that the user performs a query operation on the group list list, the microblog terminal corresponding to the user sends a group list list obtaining request to the microblog server, and requests to obtain the group list list of the user;
  • the microblogging terminal receives and displays the group list of the user returned by the microblog server, and the group list includes at least one microblog group;
  • the microblog terminal When the user selects any one of the microblog groups in the group list, the microblog terminal writes the name of the selected microblog group into a new message display page, and sends the name to the micro
  • the server sends a message list obtaining request to request to obtain a message list of the selected microblog group;
  • the microblog terminal receives the message list of the selected microblog group returned by the microblog server, and displays the selected message in the new message display page that writes the name of the selected microblog group.
  • a list of messages for the Weibo group is
  • the microblog terminal corresponding to the user sends a group list list obtaining request to the microblog server to request to obtain the group list list of the user, when the user performs the query operation on the group list list.
  • the user ID corresponding to the microblog terminal corresponding to the user ( Identity, identification number) is encapsulated, and a group list list acquisition request is generated;
  • the microblog terminal sends the group list list obtaining request to the microblog server, and requests to obtain the group list of the user.
  • the microblogging terminal After the microblogging terminal sends the group list list obtaining request to the microblog server, before receiving and displaying the group list of the user returned by the microblog server, the microblogging terminal further includes:
  • the microblog server obtains the user ID included in the request according to the group list list. Querying, from the database, the microblog group ID corresponding to the microblog group joined or created by the user, and generating a microblog group ID list, where the microblog group ID list includes at least one microblog group ID. ;
  • the microblog server obtains each microblog group ID from the database according to the microblog group ID list of the user. Basic information of the corresponding microblog group;
  • the microblog server side lists the user's microblog group ID and each microblog group ID.
  • the basic information of the corresponding microblog group is returned to the microblog terminal;
  • the basic information of the microblog group includes: a microblog group ID and a member ID. Any one or more of the list, the name of the microblog group, the profile of the microblog group, the type of the microblog group, and the attributes of the microblog group.
  • the microblogging terminal receives and displays the list of the group list of the user returned by the microblog server, including:
  • the microblog terminal receives the microblog group ID list and each microblog group ID of the user returned by the microblog server Basic information of the corresponding microblog group;
  • microblog terminal According to the user's microblog group ID list and each microblog group ID Generating, by the basic information of the corresponding microblog group, a group list list of the user, where the group list list includes at least one microblog group;
  • the microblog terminal displays a list of the group list of the user in the list display interface.
  • the microblogging terminal sends a message list obtaining request to the microblog server to request to obtain a message list of the selected microblog group, including:
  • the microblog terminal encapsulates the selected microblog group ID to generate a message list acquisition request
  • the microblog terminal sends the message list acquisition request to the microblog server to request to obtain a message list of the selected microblog group.
  • the method further includes:
  • the microblog server obtains the selected microblog group ID included in the request according to the message list. , querying the database for a list of member IDs of the selected microblog group;
  • the microblog server obtains a message index ID of each member of the selected microblog group according to the member ID list of the selected microblog group. List
  • the microblog server traverses the message index ID list of each member of the selected microblog group, and indexes all the message indexes by timeline. Sorting to form a list of message index IDs of the selected microblog group;
  • the message index ID list of the selected microblog group to the microblog terminal
  • a message index ID of the selected microblog group returned by the microblog terminal to the microblog server The list is encapsulated, and the generated message body acquisition request is sent to the microblog server, and the message body corresponding to the message index ID list of the selected microblog group is obtained.
  • the microblog server obtains a message index ID of the selected microblog group included in the message body according to the message body a list, which pulls a message body corresponding to each message index ID in the message index ID list of the selected microblog group, and extracts each message index ID in the message index ID list The corresponding message body is returned to the microblog terminal.
  • the microblog terminal receives the message list of the selected microblog group returned by the microblog server, and displays in the new message display page that writes the name of the selected microblog group.
  • a list of messages for the selected Weibo group including:
  • the microblog terminal according to the message index ID list of the selected microblog group and each message index ID in the message index ID list Corresponding message body, creating a message list of the selected microblog group;
  • the microblog terminal displays a message list of the selected microblog group in the new message display page that writes the name of the selected microblog group.
  • the microblog terminal After the microblogging terminal receives and displays the list of the group list of the user returned by the microblog server, the microblog terminal further includes:
  • the microblog terminal periodically sends an unread message query request to the microblog server to request an unread message of each microblog group in the group list of the user, including:
  • the microblog terminal encapsulates the microblog group ID list included in the group list of the user, and generates an unread message query request;
  • the microblog terminal sends the unread message query request to the microblog server, and requests to query an unread message of each microblog group in the group list of the user.
  • the method further includes:
  • the microblog server determines the microblog group ID according to the microblog group ID list included in the unread message query request. Whether each member in the corresponding microblog group posts a new message after the last query and before the current query;
  • the microblog server is the microblog group ID of the member who posted the new message. Setting an unread flag, and returning the microblog group ID list with the unread flag to the microblog terminal;
  • the microblog terminal traverses the microblog group ID with the unread flag returned by the microblog server end Listing and displaying the unread flag in the user's group list list.
  • an embodiment of the present invention further provides a microblog terminal, including:
  • the microblog group management module is configured to: when detecting a user performing a query operation on the group list list, send a group list list obtaining request to the microblog server, requesting to obtain the group list list of the user; receiving and displaying The group list of the user returned by the microblog server, the group list includes at least one microblog group; when the user selects any microblog group in the group list list In the group, the name of the selected microblog group is written into a new message display page, and a message list obtaining request is sent to the microblog server to request to obtain a message list of the selected microblog group;
  • a microblog message management module configured to receive a message list of the selected microblog group returned by the microblog server, and in the new message display page that writes the name of the selected microblog group A list of messages for the selected microblog group is displayed.
  • the microblog group management module is further configured to periodically send an unread message query request to the microblog server, requesting to query an unread message of each microblog group in the group list of the user; And traversing the microblog group ID list with the unread flag returned by the microblog server, and displaying the unread flag in the group list of the user.
  • an embodiment of the present invention further provides a microblog server, including:
  • the microblog user server is configured to store and manage basic information of the microblog user, and the basic information of the microblog user includes: a user ID And the microblog group ID corresponding to the microblog group that the user joins or creates; the user ID included in the request is obtained according to the group list list sent by the microblog terminal, and the microblog group joined or created by the user is queried. Corresponding microblog group ID and generate a list of Weibo group IDs;
  • the microblog group server is configured to store and manage basic information of the microblog group, and the basic information of the microblog group includes: a microblog group ID and a member ID. a basic information of a microblog group corresponding to each microblog group ID, and a list of the microblog group IDs of the user and each microblog group according to the microblog group ID list of the user Group ID.
  • the basic information of the corresponding microblog group is returned to the microblog terminal; and the selected microblog group ID included in the message list acquisition request sent by the microblog terminal is used to query the selected microblog group.
  • Member ID List a basic information of a microblog group corresponding to each microblog group ID, and a list of the microblog group IDs of the user and each microblog group according to the microblog group ID list of the user Group ID
  • the basic information of the corresponding microblog group is returned to the microblog terminal; and the selected microblog group ID included in the message list acquisition request sent by the microblog terminal is used to query the selected microblog group.
  • a microblog index server that manages message indexes and manages message index IDs and user IDs Mapping relationship; obtaining a message index ID list of each member of the selected microblog group according to the member ID list of the selected microblog group, and traversing the message index ID of each member of the selected microblog group List, sort all message index IDs by timeline, form a message index ID list of the selected microblog group, and set the message index ID of the selected microblog group Returning the list to the microblog terminal;
  • a microblog message server for managing message bodies and managing message index IDs a mapping relationship with the message body, providing the microblog terminal with a message index ID of the current message list a message body corresponding to the list; and extracting, according to the message index ID list of the selected microblog group included in the message body acquisition request sent by the microblog terminal, pulling each of the message index ID lists of the selected microblog group Message index ID Corresponding message body, and returning the message body corresponding to each message index ID in the message index ID list that is pulled to the microblog terminal.
  • the microblog group server is further configured to: according to the microblog group ID included in the unread message query request sent by the microblog terminal; a list, determining whether each member in each microblog group corresponding to each microblog group ID publishes a new message after the last query and before the current query; if the judgment result is yes, the member who is the member who posts the new message Bo group ID An unread flag is set, and a list of microblog group IDs having the unread flag is returned to the microblog terminal.
  • an embodiment of the present invention further provides a display system for a microblog message, including the above microblog terminal and a microblog server.
  • the embodiment of the present invention further provides one or more storage media, including executable instructions, for executing a display method of a microblog message, the method comprising:
  • the microblog terminal corresponding to the user When detecting that the user performs a query operation on the group list list, the microblog terminal corresponding to the user sends a group list list obtaining request to the microblog server, and requests to obtain the group list list of the user;
  • the microblogging terminal receives and displays the group list of the user returned by the microblog server, and the group list includes at least one microblog group;
  • the microblog terminal When the user selects any one of the microblog groups in the group list, the microblog terminal writes the name of the selected microblog group into a new message display page, and sends the name to the micro
  • the server sends a message list obtaining request to request to obtain a message list of the selected microblog group;
  • the microblog terminal receives the message list of the selected microblog group returned by the microblog server, and displays the selected message in the new message display page that writes the name of the selected microblog group.
  • a list of messages for the Weibo group is
  • a list list of a list is provided for a user, and when the user selects any microblog in the list of the list. List, the new message display page displays the message list of the selected Weibo List; the display scheme of this microblog message will be the Weibo List that the user is concerned about.
  • the message list is extracted from the homepage message display page and displayed in the form of pagination.
  • the message in the user's homepage message display page is well organized into a multi-page card segmentation display mode, so that the user wants to view the message. The effective and quick view of the message greatly improves the user's efficiency in using the Weibo homepage.
  • the microblog list in the list of the list of users is periodically queried. Whether there is an unread message and prompting the user for the unread message can remind the user to view the new message appearing in the Weibo List in time, which facilitates the user to view the microblog message and facilitates the application of the user to the microblog.
  • FIG. 1 is a schematic structural diagram of an embodiment of a microblog terminal according to the present invention.
  • FIG. 2 is a first schematic diagram showing a display effect of a microblog message according to the present invention
  • FIG. 3 is a second schematic diagram showing the display effect of the microblog message according to the present invention.
  • FIG. 4 is a third schematic diagram showing the display effect of the microblog message according to the present invention.
  • FIG. 5 is a fourth schematic diagram showing the display effect of the microblog message according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a microblog server end according to the present invention.
  • FIG. 7 is a flowchart of a first embodiment of a method for displaying a microblog message according to the present invention.
  • FIG. 8 is a flowchart of a second embodiment of a method for displaying a microblog message according to the present invention.
  • FIG. 1 is a schematic structural diagram of an embodiment of a microblog terminal according to the present invention.
  • the microblog terminal includes:
  • Weibo List Management Module 101 And sending a group list list obtaining request to the microblog server when the user is inquired to perform the query operation on the group list list, requesting to obtain the group list list of the user; receiving and displaying the microblog server end Returning a list of the group list of the user, the group list list includes at least one microblog group; when the user selects any one of the group groups in the group list, the selected one is selected The name of the microblog group is written in a new message display page, and a message list acquisition request is sent to the microblog server to request to obtain a message list of the selected microblog group.
  • the user uses the registered user account and password to pass the IM of the Weibo terminal.
  • the client logs in to the microblog server to perform verification.
  • the microblog terminal establishes a connection channel with the microblog server, and the microblog terminal accesses the microblog server through the access server.
  • the microblog terminal ensures the connection with the microblog server end by periodically sending a heartbeat packet to the microblog server.
  • Each user creates or joins a microblog based on their own List has its own list of Lists.
  • FIG. 2 is a first schematic diagram of the display effect of the microblog message of the present invention.
  • the Weibo terminal provides the user with the 'My List' function button, and the 'My List' function button can be in the stowed mode ( Figure 2).
  • Figure 2 is a first schematic diagram of the display effect of the microblog message of the present invention.
  • the Weibo terminal provides the user with the 'My List' function button, and the 'My List' function button can be in the stowed mode ( Figure 2).
  • the Weibo terminal provides a pull-down menu for the user, and the drop-down menu includes a list of the user's List, and the user can be in the List.
  • a new Weibo List is created in the list of lists, and each Weibo List in the List list can be managed (deleted or edited).
  • Figure 3 is a first schematic diagram of the display effect of the microblog message of the present invention.
  • the second schematic diagram of the display effect of the microblog message of the present invention the microblog terminal provides the user with the 'my list' function button, and the 'my list' function button can adopt the floating mode (as shown in FIG. 3).
  • the 'My List' function button opens in the left area of the message display page. The user can use the mouse to click on the 'My List' to display a list of Lists to create a new Weibo List, and also to List Each Weibo List in the list of lists is managed (deleted or edited).
  • the Weibo List management module 101 mainly creates a Weibo List, basic information of the Weibo List, and Weibo.
  • the message interface of the List is managed.
  • the microblog terminal monitors the user's mouse, and when the user is queried by the mouse to query the list of the list, the microblog list management module 101: Send a List list list obtaining request to the microblog server, and request to obtain a list of the group list of the user.
  • the Weibo List management module 101 has a user ID for the user. Encapsulating, generating a List list list obtaining request is sent to the microblog server, requesting to obtain a list of the group list of the user.
  • the Weibo List After sending the List list list obtaining request, the Weibo List The management module 101 receives and displays a list of the list of the users returned by the microblog server, and the list of the list includes at least one microblog list. . It can be understood that the Weibo List management module 101 displays the List list in a stowed mode or a floating mode.
  • FIG. 4 A third schematic diagram of the display effect of the microblog message of the present invention.
  • the microblog list management module 101 The name of the selected Weibo List 'Hong Kong Actress' is written in a new message display page (as shown in FIG. 4), and the new message display page is located on the next page of the homepage message display page.
  • the Weibo List The management module 101 encapsulates the ID of the selected Weibo List 'Hong Kong Actress', generates a message list acquisition request and sends the request to the microblog server, and requests to obtain the selected Weibo List. A list of messages from 'Hong Kong and Taiwan actress'.
  • Weibo message management module 102 And receiving a message list of the selected microblog group returned by the microblog server, and displaying the selected micro in the new message display page that writes the name of the selected microblog group. A list of messages for the blog group.
  • the microblog message management module 102 is configured to manage the microblog message of the user.
  • the microblog message management module 102 receives the selected microblog list returned by the microblog server. a list of messages, and a list of messages of the selected Weibo List is displayed in the new message display page that writes the name of the selected Weibo List.
  • the microblog message management module 102 Receiving a message index ID list of the selected microblog list returned by the microblog server and a message body corresponding to each message index ID in the message index ID list, the microblog message management module 102 creating an Item control for each message of the selected Weibo List, forming a message list; and displaying the selected Weibo in the new message display page writing the name of the selected Weibo List List of messages for List (see Figure 4 for details).
  • the microblog list that the user pays attention to The message list is extracted from the homepage message display page and displayed in the form of pagination.
  • the message in the user's homepage message display page is well organized into a multi-page card segmentation display mode, so that the user can want to The viewed messages are effectively and quickly viewed, which greatly improves the user's efficiency in using the Weibo homepage.
  • the microblog message management module The device is also used to manage the user's operation of publishing, deleting, and the like of the microblog message. This situation is the same as the prior art, and is not described here.
  • a list list of a list is provided for a user, and when the user selects any microblog list in the list of the list
  • the new message display page displays the message list of the selected Weibo List; the display scheme of the microblog message will be the microblog list that the user is interested in.
  • the message list is extracted from the homepage message display page and displayed in the form of pagination.
  • the message in the user's homepage message display page is well organized into a multi-page card segmentation display mode, so that the user wants to view the message. The effective and quick view of the message greatly improves the user's efficiency in using the Weibo homepage.
  • the Weibo List management module 101 displays a list of Lists for the user
  • the Weibo The list management module 101 starts a timer, and periodically sends an unread message query request to the microblog server, requesting to query the list of the user.
  • An unread message of each microblog group in the list receiving and traversing the list of microblog group IDs with the unread flag returned by the microblog server, and in the list of the users The unread flag is displayed in the list of lists.
  • FIG. 5 a fourth schematic diagram of the display effect of the microblog message according to the present invention.
  • the microblog list management module 101 After traversing the list of Weibo ListIDs returned by the Weibo server, read the Weibo List of 'Hong Kong and Taiwan actor' With the unread mark, it indicates that a member of the 'Hong Kong and Taiwan actor''s Weibo List has posted a new message after the last query and before the query, the Weibo List management module 101
  • the new font can be used to redraw the name of the 'Hong Kong Taiwanese actor' in the List list and display the new font name in the List list (see Figure 5). Show) to remind users to view new messages.
  • the microblog list management module 101 displays the unread flag in a new font, which is only an example, and other situations, such as: A list box is displayed next to the Weibo List with unread marks in the list to remind users to view the Weibo List.
  • the new message can be similarly analyzed in other cases, and will not be described here.
  • the timing of the timer can be determined according to actual needs.
  • the embodiment of the present invention periodically queries each microblog list in the list of users' lists. Whether there is an unread message and prompting the user for the unread message can remind the user to view the new message appearing in the Weibo List in time, which facilitates the user to view the microblog message and facilitates the application of the user to the microblog.
  • FIG. 6 is a schematic structural diagram of an embodiment of a microblog server according to the present invention.
  • the microblog server side includes:
  • Weibo User Server 201 For storing and managing the basic information of the microblog user; obtaining the user ID included in the request according to the group list list sent by the microblog terminal, and querying the microblog list that the user joins or creates from the database of the user Correspond to the Weibo ListID and generate a list of Weibo ListIDs.
  • the basic information of the microblog user includes, but is not limited to, a user ID and a microblog corresponding to the microblog list that the user joins or creates. Any one or more of ListID, user type, user tag attribute, authentication information, and user's listening relationship.
  • the microblog terminal receives the List list list obtaining request, requesting to acquire the user's
  • the microblog user server 201 searches for the microblog corresponding to the microblog list that the user joins or creates according to the user ID included in the list list obtaining request. ListID and generate a list of Weibo ListIDs.
  • a microblog group server 202 configured to store and manage basic information of the microblog group; according to the microblog group ID of the user a list, obtaining basic information of a microblog group corresponding to each microblog group ID, and listing the microblog group ID of the user and each microblog group ID The basic information of the corresponding microblog group is returned to the microblog terminal; and the selected microblog group ID included in the message list obtaining request sent by the microblog terminal is used to query the selected microblog group.
  • Member ID List configured to store and manage basic information of the microblog group
  • the basic information of the Weibo List includes but is not limited to: Weibo ListID and member ID list, Weibo List The name, the profile of the Weibo List, the type of Weibo List, and the properties of the Weibo List.
  • the Weibo List server 202 is configured according to the Weibo user server
  • the generated microblog ListID list of the user is obtained from the database, and the basic information of the microblog list corresponding to each microblog ListID is obtained from the database, and the user's microblog ListID is obtained.
  • the basic information of the list and the Weibo List corresponding to each Weibo ListID is returned to the Weibo terminal.
  • the Weibo List management module 101 of the Weibo terminal is configured according to the Weibo List
  • the basic information of the user's Weibo ListID list returned by the server 202 and the Weibo List corresponding to each Weibo ListID generates a list list of the users,
  • the List list includes at least one Weibo List; and displays a list of the user's List in the list display interface.
  • the microblog list The server 202 queries the selected microblog ListID included in the request according to the message list to query the member ID list of the selected microblog list from its own database.
  • a microblog index server 203 for managing message indexes and managing message index IDs and user IDs Mapping relationship; obtaining a message index ID list of each member of the selected microblog group according to the member ID list of the selected microblog group, and traversing the message index ID of each member of the selected microblog group List, sort all message index IDs by timeline, form a message index ID list of the selected microblog group, and set the message index ID of the selected microblog group The list is returned to the microblog terminal.
  • the microblog index server 203 stores and manages an index of messages published by all users, and an index of each message corresponds to an ID value, which is used to uniquely identify an index of the message, and each message index ID is timed. After sequential processing, a message index ID list is formed.
  • the microblog index server 203 is further configured to store and manage a mapping relationship between the message index ID and the user ID.
  • the mapping relationship between the message index ID and the user ID is: the message index ID is in one-to-one correspondence with the user ID; here, the message The mapping relationship between the index ID and the user ID indicates that the message corresponding to a message index ID is published by the user corresponding to the user ID.
  • the microblog index server 203 is configured according to the microblog list
  • the server 203 queries the member ID list of the selected microblog list, obtains a message index ID list of each member of the selected microblog list from the own database, and traverses the message index ID of each member of the selected microblog list.
  • the microblog message management module 102 of the microblog terminal encapsulates the message index ID list of the selected microblog list returned by the microblog index server 203, and generates a message body acquisition request to be sent to the microblog server, requesting Get the selected Weibo The message body corresponding to the list of message index IDs of the List.
  • a microblog message server 204 for managing the message body and managing the message index ID a mapping relationship with the message body, providing the microblog terminal with a message index ID of the current message list a message body corresponding to the list; and extracting, according to the message index ID list of the selected microblog group included in the message body acquisition request sent by the microblog terminal, pulling each of the message index ID lists of the selected microblog group Message index The message body corresponding to the ID, and returns the message body corresponding to each message index ID in the message index ID list that is pulled to the microblog terminal.
  • the microblog message server 204 stores and manages the message body of all user published messages, and manages the message index ID.
  • the mapping relationship between the message index ID and the message body is: the message index ID is in one-to-one correspondence with the message body; here, the message index ID
  • the mapping relationship with the message body indicates that the message corresponding to a message index ID includes the content corresponding to the message body.
  • a complete microblog message includes: user ID (registered name, nickname, etc. registered material information) and message body (posted content, referenced content, location, message type identifier, etc.), user ID and message body through message index ID interconnected.
  • the microblog message server 204 obtains the message index ID of the selected microblog list included in the message body request sent by the microblog message management module 102 of the microblog terminal. a list, which pulls the message body corresponding to each message index ID in the message index ID list of the selected Weibo List, and pulls the message index ID in the message index ID list Corresponding message body returns a microblog message management module 102 to the microblog terminal, so that the microblog message management module 102 creates an item of each message of the selected microblog list.
  • the control forms a message list; and displays a message list of the selected Weibo List in the new message display page that writes the name of the selected Weibo List.
  • a list list of a list is provided for a user, and when the user selects any microblog list in the list of the list
  • the new message display page displays the message list of the selected Weibo List; the display scheme of the microblog message will be the microblog list that the user is interested in.
  • the message list is extracted from the homepage message display page and displayed in the form of pagination.
  • the message in the user's homepage message display page is well organized into a multi-page card segmentation display mode, so that the user wants to view the message. The effective and quick view of the message greatly improves the user's efficiency in using the Weibo homepage.
  • the Weibo List server 202 determines the Weibo List ID according to the Weibo List ID list included in the unread message query request. Whether each member in the corresponding Weibo List posts a new message after the last query and before the current query; if the judgment result is yes, the Weibo ListID where the member who posted the new message is located Setting an unread flag, and returning the microblog group ID list with the unread flag to the microblog list management module 101 of the microblog terminal, so that the microblog list management module of the microblog terminal 101 displays the unread flag in the list of users' lists.
  • the embodiment of the present invention periodically queries each microblog list in the list of users' lists. Whether there is an unread message and prompting the user for the unread message can remind the user to view the new message appearing in the Weibo List in time, which facilitates the user to view the microblog message and facilitates the application of the user to the microblog.
  • FIG. 7 is a flowchart of a first embodiment of a method for displaying a microblog message according to the present invention. the method includes:
  • the microblog terminal corresponding to the user sends a group list list obtaining request to the microblog server to request to obtain the group list of the user.
  • the user uses the registered user account and password to pass the IM of the Weibo terminal.
  • the client logs in to the microblog server to perform verification.
  • the microblog terminal establishes a connection channel with the microblog server, and the microblog terminal accesses the microblog server through the access server.
  • the microblog terminal ensures the connection with the microblog server end by periodically sending a heartbeat packet to the microblog server.
  • Each user creates or joins a microblog based on their own List has its own list of Lists.
  • the microblog terminal provides the user with a 'my list' function button, and the 'my list' function button can adopt a stowed mode (as shown in FIG. 2) or a floating mode (as shown in the figure).
  • the user can click on the list of Lists displayed by 'My List' to create a new Weibo List, and also list each Weibo in the List list.
  • Manage (delete or edit) operations The microblogging terminal listens to the user's mouse.
  • the S101 sends the list to the microblog server.
  • the list of lists obtains a request for obtaining a list of group lists of the users.
  • S101 encapsulates the user ID of the user, and generates a List.
  • the list list obtaining request is sent to the microblog server, requesting to obtain a list of the group list of the user.
  • the microblog terminal receives and displays the group list of the user returned by the microblog server, and the group list includes at least one microblog group.
  • the S102 After the S101 sends the List list list obtaining request, the S102 Receiving and displaying a list of the list of the users returned by the microblog server, and the list of the list includes at least one Weibo List. It can be understood that the S102 The list of Lists is displayed in a stowed mode or a hover mode.
  • the microblog terminal When the user selects any one of the microblog groups in the group list, the microblog terminal writes the name of the selected microblog group into a new message display page, and The microblog server sends a message list acquisition request, requesting to obtain a message list of the selected microblog group.
  • the S103 When the user selects any one of the list of the list in the List list, please refer to FIG. 4 together.
  • the S103 will select the selected Weibo List The name 'Hong Kong Taiwan Actress' is written in the new message display page (as shown in Figure 4), and the new message display page is located on the next page of the home page message display page.
  • the S103 pairs the selected microblogs The ID of the List 'Hong Kong Actress' is encapsulated, and a message list acquisition request is generated and sent to the microblog server to request a message list of the selected Weibo List 'Hong Kong Actress'.
  • the microblog terminal receives the message list of the selected microblog group returned by the microblog server, and displays the message in the new message display page that writes the name of the selected microblog group. A list of messages for the selected Weibo group.
  • the S104 After the S103 sends a message list acquisition request regarding the selected microblog list, the S104 Receiving a message list of the selected microblog list returned by the microblog server, and displaying the selected microblog list in the new message display page writing the name of the selected microblog list List of messages.
  • the S104 receives a message index ID list of the selected microblog list returned by the microblog server and each message index ID in the message index ID list.
  • the S104 creates an Item control of each message of the selected Weibo List to form a message list; and writes a selected Weibo List
  • the new message display page displays a list of messages for the selected Weibo List (see Figure 4 for details).
  • the microblog list that the user pays attention to The message list is extracted from the homepage message display page and displayed in the form of pagination.
  • the message in the user's homepage message display page is well organized into a multi-page card segmentation display mode, so that the user can want to The viewed messages are effectively and quickly viewed, which greatly improves the user's efficiency in using the Weibo homepage.
  • a list list of a list is provided for a user, and when the user selects any microblog list in the list of the list
  • the new message display page displays the message list of the selected Weibo List; the display scheme of the microblog message will be the microblog list that the user is interested in.
  • the message list is extracted from the homepage message display page and displayed in the form of pagination.
  • the message in the user's homepage message display page is well organized into a multi-page card segmentation display mode, so that the user wants to view the message. The effective and quick view of the message greatly improves the user's efficiency in using the Weibo homepage.
  • FIG. 8 is a flowchart of a second embodiment of a method for displaying a microblog message according to the present invention. the method includes:
  • the user uses the registered user account and password to pass the IM of the Weibo terminal.
  • the client logs in to the microblog server to perform verification.
  • the microblog terminal establishes a connection channel with the microblog server, and the microblog terminal accesses the microblog server through the access server.
  • the microblog terminal ensures the connection with the microblog server end by periodically sending a heartbeat packet to the microblog server.
  • the microblog terminal micro can display the user's microblog homepage message list.
  • the microblog list of the microblog terminal corresponding to the user The management module encapsulates the user ID of the user, generates a List list and obtains a request to send to the microblog server, and requests to obtain the list of the user. List of lists.
  • the microblog user server of the microblog server obtains the user ID included in the request according to the list list, and queries the microblog list that the user joins or creates from the database.
  • the Weibo ListID list includes at least one Weibo Group ID; the Weibo Server-side Weibo List
  • the server obtains basic information of the Weibo List corresponding to each Weibo ListID from the database according to the list of the user's Weibo ListID, and the Weibo ListID of the user
  • the basic information of the list and the Weibo List corresponding to each Weibo ListID is returned to the Weibo List management module.
  • the Weibo List management module receives the Weibo ListID of the user returned by the Weibo List server List and basic information of the Weibo List corresponding to each Weibo ListID; according to the user's Weibo ListID list and the Weibo List corresponding to each Weibo ListID
  • the basic information of the user generates a list of the list of the users, the list of the list includes at least one group of microblogs, and displays a list of the list of the users in the list display interface.
  • the microblog list management module periodically checks the microblog group ID included in the group list of the user.
  • the list is encapsulated, and an unread message query request is generated and sent to the microblog server, requesting to query an unread message of each microblog list in the list list of the user.
  • the Weibo List The server determines, according to the list of Weibo ListIDs included in the unread message query request, each Weibo List corresponding to each Weibo ListID. Whether each member in the new query is published after the last query and before the current query; if the judgment result is yes, the Weibo List server is the microblog group ID of the member who posted the new message.
  • An unread flag is set, and a list of microblog group IDs having the unread flag is returned to the microblog list management module.
  • the Weibo Weibo List traverses the Weibo List
  • the server returns a list of Weibo ListIDs having the unread flag, and displays the unread flag in the list list of the users.
  • the microblog list The management module writes the name of the selected Weibo List into the new message display page and selects the selected Weibo ListID. Encapsulating, generating a message list obtaining request is sent to the microblog server, requesting to obtain a message list of the selected microblog list.
  • the Weibo List The server obtains the selected Weibo ListID included in the request according to the message list, and queries the member ID of the selected Weibo List from the database.
  • a microblog index server of the microblog server obtains a message index ID of each member of the selected microblog list from the database according to the member ID list of the selected microblog list List and traverse the message index ID list of each member of the selected Weibo List, sort all message index IDs by timeline, and form the message index ID of the selected Weibo List The list is returned to the microblog message management module.
  • the message index ID of the selected microblog list returned by the microblog message management module to the microblog index server The list is encapsulated, and a message body acquisition request is sent to the microblog server to request to obtain a message index ID of the selected microblog list.
  • the body of the message corresponding to the list The microblog message server on the microblog server side pulls the selected microblog list according to the message index ID list of the selected microblog list included in the message body acquisition request.
  • the message body corresponding to each message index ID in the ID index list, and the message body corresponding to each message index ID in the message index ID list that is pulled back is returned to the microblog terminal.
  • the microblog message management module receives a message index ID of the selected microblog list returned by the microblog index server The list and the message body corresponding to the message index ID in the message index ID list returned by the microblog message server, and create a message list of the selected microblog list, and write the selected microblog list.
  • the new message display page of the name displays a list of messages for the selected Weibo List.
  • a list list of a list is provided for a user, and when the user selects any microblog list in the list of the list
  • the new message display page displays the message list of the selected Weibo List; the display scheme of the microblog message will be the microblog list that the user is interested in.
  • the message list is extracted from the homepage message display page and displayed in the form of pagination.
  • the message in the user's homepage message display page is well organized into a multi-page card segmentation display mode, so that the user wants to view the message.
  • the embodiment of the present invention periodically queries whether the microblog list in the list list of the user has an unread message, and prompts the user for the unread message, and can prompt the user to view the microblog list in time.
  • the new message appears in the user, which facilitates the user's viewing of the microblog message and facilitates the user's application to the microblog.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory ( Read-Only Memory (ROM) or Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • One or more storage mediums containing executable instructions for executing a display method of a microblog message includes: When detecting that the user performs the query operation on the group list list, the microblog terminal corresponding to the user sends a group list list obtaining request to the microblog server to request to obtain the group list list of the user; Receiving, by the terminal, the group list of the user returned by the microblog server, where the group list includes at least one microblog group; when the user selects any one of the group list When a microblog group is used, the microblog terminal writes the name of the selected microblog group to a new message display page, and sends a message list acquisition request to the microblog server to request to obtain the selected one. a message list of the microblog group; the microblog terminal receives the message list of the selected microblog group returned by the microblog server, and writes the new name of the selected microblog group name The message display page displays a list of messages for the selected microblog group.
  • the microblog terminal corresponding to the user when the user performs a query operation on the group list list, sends a group list list obtaining request to the microblog server to request to acquire the group of the user.
  • the list of the group includes the user identification number of the microblog terminal corresponding to the user when the user performs the query operation on the group list list.
  • the ID is encapsulated to generate a group list list obtaining request.
  • the microblog terminal sends the group list list obtaining request to the microblog server to request to obtain the group list of the user.
  • the method includes: the microblog server obtains the user included in the request according to the group list list ID, querying, from the database, the microblog group ID corresponding to the microblog group joined or created by the user, and generating a microblog group ID list, where the microblog group ID list includes at least one microblog group ID
  • the microblog server obtains basic information of the microblog group corresponding to each microblog group ID from the database according to the microblog group ID list of the user; the microblog server side uses the user Weibo group ID
  • the basic information of the microblog group corresponding to each of the microblog group IDs is returned to the microblogging terminal; wherein the basic information of the microblog group includes: a microblog group ID and a member ID Any one or more of the list, the name of the microblog group, the profile of the microblog group, the type of the microblog group, and the
  • the microblog terminal receives and displays the group list of the user returned by the microblog server, and the microblog terminal receives the user returned by the microblog server.
  • Weibo group ID The basic information of the microblog group corresponding to each microblog group ID; the microblog terminal according to the user's microblog group ID list and each microblog group ID Corresponding microblog group basic information, generating a group list of the user, the group list list including at least one microblog group; the microblog terminal displaying the user in a list display interface A list of group lists.
  • the microblog terminal sends a message list acquisition request to the microblog server to request to obtain a message list of the selected microblog group, including: the microblog terminal selects the microblog Group ID Encapsulating, generating a message list acquisition request; the microblog terminal sending the message list acquisition request to the microblog server, requesting to obtain a message list of the selected microblog group.
  • the method includes: the microblog server obtains the selected microblog group included in the request according to the message list ID, querying a list of member IDs of the selected microblog group from the database; the microblog server obtaining a message of each member of the selected microblog group according to the member ID list of the selected microblog group Index ID a list of message index IDs of each member of the selected microblog group, sorting all message index IDs by timeline to form a message index ID of the selected microblog group a list of message index IDs of the selected microblog group is returned to the microblog terminal; the selected microblog group returned by the microblog terminal to the microblog server Message index ID
  • the list is encapsulated, and a message body acquisition request is sent to the microblog server to request to obtain a message index ID of the selected microblog group.
  • the microblog server side pulls the message index ID list of the selected microblog group according to the message index ID list of the selected microblog group included in the message body acquisition request Message index The message body corresponding to the ID, and returns the message body corresponding to each message index ID in the message index ID list that is pulled to the microblog terminal.
  • the microblog terminal receives a message list of the selected microblog group returned by the microblog server, and writes the new message of the name of the selected microblog group.
  • Displaying a message list of the selected microblog group in the display page including: receiving, by the microblog terminal, a message index of the selected microblog group returned by the microblog server An ID list and a message body corresponding to each message index ID in the message index ID list; the microblog terminal according to the selected message index ID list of the microblog group and the message index ID Message index ID in the list Corresponding message body, creating a message list of the selected microblog group; the microblog terminal displaying the selected microblog group in the new message display page writing the name of the selected microblog group A list of messages for the group.
  • the method further includes: the microblog terminal periodically sending the message to the microblog server Reading a message query request, requesting to query an unread message of each microblog group in the group list of the user, including: the microblog group included in the group list of the user by the microblog terminal ID
  • the list is encapsulated to generate an unread message query request; the microblog terminal sends the unread message query request to the microblog server, requesting to query the microblog group in the group list of the user. Unread message.
  • the method further includes: the microblog server according to the unread message query request Bo group ID List, determine each Weibo group ID Whether each member in the corresponding microblog group posts a new message after the last query and before the current query; if the judgment result is yes, the microblog server is the microblog group where the member who posted the new message is located ID Setting an unread flag, and returning the microblog group ID list with the unread flag to the microblog terminal; the microblog terminal traversing the microblog server end and having the unread flag Weibo group ID Listing and displaying the unread flag in the user's group list list.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例公开了一种微博消息的显示方法,包括:当用户对群组名单列表进行查询操作时,微博终端向微博服务器端发送群组名单列表获取请求,接收并显示微博服务器端返回的所述用户的群组名单列表;当用户在群组名单列表中选择任一个微博群组时,微博终端将所选择的微博群组的名称写入新的消息显示页面中,向微博服务器端发送消息列表获取请求,接收微博服务器端返回的所选择的微博群组的消息列表,并在所述新的消息显示页面中显示所述消息列表。本发明实施例还公开了一种微博消息的显示系统、微博终端、微博服务器端及存储介质。本发明可对微博主页消息进行有效地组织和显示,使用户能够快速有效地查看其关注的微博消息,提高用户对微博主页的使用效率。

Description

一种微博消息的显示方法、系统、微博终端、微博服务器端及存储介质
技术领域
本发明涉及微博技术领域,尤其涉及一种微博消息的显示方法、系统、微博终端、微博服务器端及存储介质。
背景技术
微博( Micro Blog ,微型博客),是一种可以即时发布消息的类似博客的系统,其最大的特点为集成化和开放化,用户可以通过手机、 IM ( Instant Messaging ,即时通讯)软件或外部 API ( Application Programming Interface ,应用程序编程接口)等途径向微博发布消息。随着 IM 软件的广泛应用,通过 IM 软件发布微博消息越来越成为用户极为推崇的一种途径,微博作为一种扩展 IM 消息传播机制的新产品,其应用得到了快速的增长。
微博 List (群组)是微博的一个重要应用,微博 List 为相同爱好或者相同标签的微博用户提供小圈子的聚焦、沟通和交流的平台。当用户创建微博 List 或加入到某个微博 List 时,可以对该微博 List 中的多个微博用户进行会话。用户可以根据自己的需要收听感兴趣的人员或微博 List ,建立一种广泛的关系链,同时可以快速的查看到收听的人员或收听的微博 List 中各成员所发表的消息,用户收听的人员或收听的微博 List 中各成员发表的消息均按时间线进行排序,排序后的消息列表就是微博应用中最重要的主页消息列表(或主页消息线)。由于微博关系链的松散化,用户收听的人员较多,现有的主页消息列表的组织会非常混乱,经常会错过某些用户的关键消息,比如:当用户收听的某个人员非常活跃时,用户的主页消息列表会被该人员大量占据,从而使用户错过收听的其他人员的消息。随着微博技术的迅速发展,如何对主页消息列表进行有效地组织,以提高用户对微博主页的使用效率成为一个亟待解决的问题。
发明内容
本发明实施例所要解决的技术问题在于,提供一种微博消息的显示方法、微博终端及微博服务器端,可对微博主页消息进行有效地组织和显示,使用户能够快速有效地查看其关注的微博消息,提高用户对微博主页的使用效率。
为了解决上述技术问题,本发明实施例提供了 一种微博消息的显示方法,包括:
当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;
所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;
当所述用户在所述群组名单列表中选择任一个微博群组时,所述微博终端将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表;
所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
其中,所述当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表,包括:
当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端对所述用户的用户 ID ( Identity ,标识号)进行封装,生成群组名单列表获取请求;
所述微博终端将所述群组名单列表获取请求发送至微博服务器端,请求获取所述用户的群组名单列表。
其中,所述微博终端将所述群组名单列表获取请求发送至微博服务器端之后,接收并显示所述微博服务器端返回的所述用户的群组名单列表之前,还包括:
所述微博服务器端根据所述群组名单列表获取请求中包含的用户 ID ,从数据库中查询所述用户加入或创建的微博群组对应的微博群组 ID ,并生成微博群组 ID 列表,所述微博群组 ID 列表中包括至少一个微博群组 ID;
所述微博服务器端根据所述用户的微博群组 ID 列表,从数据库中获取每个微博群组 ID 对应的微博群组的基本信息;
所述微博服务器端将所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息返回给所述微博终端;
其中,所述微博群组的基本信息包括:微博群组 ID 、成员 ID 列表、微博群组的名称、微博群组的简介、微博群组的类型及微博群组的属性中的任一种或多种。
其中,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,包括:
所述微博终端接收所述微博服务器端返回的所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息;
所述微博终端根据所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息,生成所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;
所述微博终端在列表显示界面中显示所述用户的群组名单列表。
其中,所述微博终端向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表,包括:
所述微博终端对所选择的微博群组 ID 进行封装,生成消息列表获取请求;
所述微博终端将所述消息列表获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息列表。
其中,所述微博终端将所述消息列表获取请求发送至所述微博服务器端之后,接收所述微博服务器端返回的所选择的微博群组的消息列表之前,还包括:
所述微博服务器端根据所述消息列表获取请求中包含的所选择的微博群组 ID ,从数据库中查询所选择的微博群组的成员 ID 列表;
所述微博服务器端根据所选择的微博群组的成员 ID 列表,获取所选择的微博群组的各成员的消息索引 ID 列表;
所述微博服务器端遍历所选择的微博群组的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博群组的消息索引 ID 列表;
所述微博服务器端将所选择的微博群组的消息索引 ID 列表返回至所述微博终端;
所述微博终端对所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表进行封装,生成消息体获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息索引 ID 列表对应的消息体;
所述微博服务器端根据所述消息体获取请求中包含的所选择的微博群组的消息索引 ID 列表,拉取所选择的微博群组的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端。
其中,所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表,包括:
所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体;
所述微博终端根据所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体,创建所选择的微博群组的消息列表;
所述微博终端在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
其中,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表之后,还包括:
所述微博终端定时向所述微博服务器端发送未读消息查询请求,请求查询所述用户的群组名单列表中各微博群组的未读消息,包括:
所述微博终端对所述用户的群组名单列表包括的微博群组ID列表进行封装,生成未读消息查询请求;
所述微博终端将所述未读消息查询请求发送至所述微博服务器端,请求查询所述用户的群组名单列表中各微博群组的未读消息。
其中,所述微博终端将所述未读消息查询请求发送至所述微博服务器端之后,还包括:
所述微博服务器端根据所述未读消息查询请求中包含的微博群组 ID 列表,判断各微博群组 ID 对应的各微博群组中的各成员在上次查询之后、本次查询之前是否发表新消息;
若判断结果为是,所述微博服务器端为发表新消息的成员所在的微博群组 ID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博终端;
所述微博终端遍历所述微博服务器端返回的设有所述未读标志的微博群组 ID 列表,并在所述用户的群组名单列表中显示所述未读标志。
相应地,本发明实施例还提供了一种微博终端,包括:
微博群组管理模块,用于当检测到用户对群组名单列表进行查询操作时,向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;当所述用户在所述群组名单列表中选择任一个微博群组时,将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表;
微博消息管理模块,用于接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
其中,所述微博群组管理模块还用于定时向所述微博服务器端发送未读消息查询请求,请求查询所述用户的群组名单列表中各微博群组的未读消息;接收并遍历所述微博服务器端返回的设有所述未读标志的微博群组ID列表,并在所述用户的群组名单列表中显示所述未读标志。
相应地,本发明实施例还提供了一种微博服务器端,包括:
微博用户服务器,用于存储和管理微博用户的基本信息,所述微博用户的基本信息包括:用户 ID 及用户加入或创建的微博群组对应的微博群组 ID ;根据所述微博终端发送的群组名单列表获取请求中包含的用户 ID,查询所述用户加入或创建的微博群组对应的微博群组 ID ,并生成微博群组 ID 列表;
微博群组服务器,用于存储和管理微博群组的基本信息,所述微博群组的基本信息包括:微博群组 ID 及成员 ID 列表;根据所述用户的微博群组 ID 列表,获取每个微博群组 ID 对应的微博群组的基本信息,并将所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息返回给所述微博终端;根据所述微博终端发送的消息列表获取请求中包含的所选择的微博群组 ID,查询所选择的微博群组的成员 ID 列表;
微博索引服务器,用于管理消息索引,以及管理消息索引 ID 与用户 ID 的映射关系;根据所选择的微博群组的成员 ID 列表,获取所选择的微博群组的各成员的消息索引 ID 列表,遍历所选择的微博群组的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博群组的消息索引 ID 列表,并将所选择的微博群组的消息索引 ID 列表返回至所述微博终端;
微博消息服务器,用于管理消息体,以及管理消息索引 ID 与消息体之间的映射关系,为所述微博终端提供当前消息列表的消息索引 ID 列表对应的消息体;根据所述微博终端发送的消息体获取请求中包含的所选择的微博群组的消息索引ID列表,拉取所选择的微博群组的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引ID列表中各消息索引 ID 对应的消息体返回对所述微博终端。
其中,所述微博群组服务器还用于根据所述微博终端发送的未读消息查询请求中包含的微博群组 ID 列表,判断各微博群组 ID 对应的各微博群组中的各成员在上次查询之后、本次查询之前是否发表新消息;若判断结果为是,为发表新消息的成员所在的微博群组 ID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博终端。
相应地,本发明实施例还提供了一种微博消息的显示系统,包括上述微博终端和微博服务器端。
相应的,本发明实施例还提供了一个或多个包含可执行指令的存储介质,所述可执行指令用于执行一种微博消息的显示方法,所述方法包括:
当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;
所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;
当所述用户在所述群组名单列表中选择任一个微博群组时,所述微博终端将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表;
所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
实施本发明实施例,具有如下有益效果:
1 、本发明实施例为用户提供群组( List )名单列表,当用户选择 List 名单列表中任一微博 List 时,采用新的消息显示页面显示所选择的微博 List 的消息列表;这种微博消息的显示方案 将用户所关注的微博 List 的消息列表从主页消息显示页面中提取出来,采用分页形式进行展示,很好地将用户的主页消息显示页面中的消息组织为多页卡的分片展示方式,可使用户对自己想要查看的消息进行有效、快速的查看,极大提高了用户对于微博主页的使用效率。
2 、本发明实施例定时查询用户的 List 名单列表中各微博 List 是否存在未读消息,并向用户提示该未读消息,可提醒用户及时查看微博 List 中出现的新消息,方便了用户对于微博消息的查看,方便了用户对微博的应用。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图 1 为本发明的微博终端的实施例的结构示意图;
图 2 为本发明的微博消息的显示效果的第一示意图;
图 3 为本发明的微博消息的显示效果的第二示意图;
图 4 为本发明的微博消息的显示效果的第三示意图;
图 5 为本发明的微博消息的显示效果的第四示意图;
图 6 为本发明的微博服务器端的实施例的结构示意图;
图 7 为本发明的微博消息的显示方法的第一实施例的流程图;
图 8 为本发明的微博消息的显示方法的第二实施例的流程图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图 1 为本发明的微博终端的实施例的结构示意图;所述微博终端包括:
微博 List 管理模块 101 ,用于当检测到用户对群组名单列表进行查询操作时,向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;当所述用户在所述群组名单列表中选择任一个微博群组时,将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表。
用户使用注册的用户账户和密码,通过微博终端的 IM 客户端登录到微博服务器端进行验证,验证成功后,微博终端与微博服务器端之间建立连接通道,所述微博终端通过接入服务器接入到所述微博服务器端,所述微博终端通过定时向所述微博服务器端发送心跳包的形式保证与所述微博服务器端之间的连接。每个用户根据自己创建或加入的微博 List ,都有自己的 List 名单列表。
请一并参见图 2 , 为本发明的微博消息的显示效果的第一示意图; 微博终端为用户提供'我的名单'功能按键,'我的名单'功能按键可以采用收起模式(如图 2 所示),当用户使用鼠标点击'我的名单'功能按键时,所述微博终端为所述用户提供下拉菜单,下拉菜单中包括用户的 List 名单列表,用户可在 List 名单列表中创建新的微博 List ,还可对 List 名单列表中的各个微博 List 进行管理(删除或编辑)操作。请一并参见图 3 , 为本发明的微博消息的显示效果的第二示意图; 微博终端为用户提供'我的名单'功能按键,'我的名单'功能按键可以采用悬浮模式(如图 3 所示),'我的名单'功能按键在消息显示页面的左侧区域打开。用户可使用鼠标点击'我的名单'显示的 List 名单列表中创建新的微博 List ,还可对 List 名单列表中的各个微博 List 进行管理(删除或编辑)操作。
所述微博 List 管理模块 101 主要对微博 List 的创建、微博 List 的基本信息及微博 List 的消息界面进行管理。本实施例中,所述微博终端监听用户的鼠标,当监听到用户通过鼠标对 List 名单列表进行查询操作时,所述微博 List 管理模块 101 向微博服务器端发送 List 名单列表获取请求,请求获取所述用户的群组名单列表。具体地,所述微博 List 管理模块 101 对所述用户的用户 ID 进行封装,生成 List 名单列表获取请求发送至微博服务器端,请求获取所述用户的群组名单列表。在发送所述 List 名单列表获取请求之后,所述微博 List 管理模块 101 接收并显示所述微博服务器端返回的所述用户的 List 名单列表,所述 List 名单列表中包括至少一个微博 List 。可以理解的是,所述微博 List 管理模块 101 采用收起模式或悬浮模式显示所述 List 名单列表。
当所述用户在所述 List 名单列表中选择任一个微博 List 时,请一并参见图 4 , 为本发明的微博消息的显示效果的第三示意图;当所述用户选择 List 名单列表中名为'港台女演员'的微博 List 时,所述微博 List 管理模块 101 将所选择的微博 List 的名称'港台女演员'写入新的消息显示页面中(如图 4 所示),该新的消息显示页面位于主页消息显示页面的后一页面。所述微博 List 管理模块 101 对所选择的微博 List '港台女演员'的 ID 进行封装,生成消息列表获取请求发送至所述微博服务器端,请求获取所选择的微博 List '港台女演员'的消息列表。
微博消息管理模块 102 ,用于接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
所述微博消息管理模块 102 用于对用户的微博消息进行管理。本实施例中,当所述微博 List 管理模块 101 发送关于所选择的微博 List 的消息列表获取请求之后,所述微博消息管理模块 102 接收所述微博服务器端返回的所选择的微博 List 的消息列表,并在写有所选择的微博 List 的名称的所述新的消息显示页面中显示所选择的微博 List 的消息列表。具体实现中,所述微博消息管理模块 102 接收所述微博服务器端返回的所选择的微博 List 的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体,所述微博消息管理模块 102 创建所选择的微博 List 的每个消息的 Item 控件,形成消息列表;并在写有所选择的微博 List 的名称的所述新的消息显示页面中显示所选择的微博 List 的消息列表(具体请参见图 4 )。需要说明的是,本发明实施例将用户所关注的微博 List 的消息列表从主页消息显示页面中提取出来,并采用分页形式进行展示,很好地将用户的主页消息显示页面中的消息组织为多页卡的分片展示方式,可使用户对自己想要查看的消息进行有效、快速的查看,极大提高了用户对于微博主页的使用效率。可以理解的是,所述微博消息管理模块 101 还用于管理用户对微博消息的发布、删除等操作,此种情况与现有技术相同,在此不赘述。
本发明实施例为用户提供群组( List )名单列表,当用户选择 List 名单列表中任一微博 List 时,采用新的消息显示页面显示所选择的微博 List 的消息列表;这种微博消息的显示方案 将用户所关注的微博 List 的消息列表从主页消息显示页面中提取出来,采用分页形式进行展示,很好地将用户的主页消息显示页面中的消息组织为多页卡的分片展示方式,可使用户对自己想要查看的消息进行有效、快速的查看,极大提高了用户对于微博主页的使用效率。
需要说明的是,当所述微博 List 管理模块 101 为用户显示 List 名单列表后,所述微博 List 管理模块 101 启动定时器,定时向所述微博服务器端发送未读消息查询请求,请求查询所述用户的 List 名单列表中各微博群组的未读消息;同时接收并遍历所述微博服务器端返回的设有所述未读标志的微博群组 ID 列表,并在所述用户的 List 名单列表中显示所述未读标志。请一并参见 图 5 ,为本发明的微博消息的显示效果的第四示意图; 若所述微博 List 管理模块 101 遍历所述微博服务器端返回的微博 ListID 列表后,读取到'港台男演员'的微博 List 设有未读标志,则表明上次查询之后、本次查询之前,'港台男演员'的微博 List 中有成员发表了新消息,所述微博 List 管理模块 101 则可采用新字体,重新绘制 List 名单列表中'港台男演员'的名称,并在 List 名单列表中显示所述新字体名称(请参见图 5 所示),即可提醒用户查看新消息。可以理解的是,所述微博 List 管理模块 101 采用新字体显示所述未读标志仅为举例,其他情况,比如:可在 List 名单列表中设有未读标志的微博 List 旁边显示提示框,提醒用户查看该微博 List 中的新消息;等等,其他情况下可类似分析,在此不赘述;另外,本实施例中,定时器的定时时间可根据实际需要进行确定。
本发明实施例定时查询用户的 List 名单列表中各微博 List 是否存在未读消息,并向用户提示该未读消息,可提醒用户及时查看微博 List 中出现的新消息,方便了用户对于微博消息的查看,方便了用户对微博的应用。
为了更清楚地说明本发明,下面将对本发明的微博服务器端进行详细介绍。
请参见图 6 , 为本发明的微博服务器端的实施例的结构示意图;所述微博服务器端包括:
微博用户服务器 201 ,用于存储和管理微博用户的基本信息;根据所述微博终端发送的群组名单列表获取请求中包含的用户 ID ,从自身的数据库查询所述用户加入或创建的微博 List 对应的微博 ListID ,并生成微博 ListID 列表。
具体实现中,所述微博用户的基本信息包括但不限于:用户 ID 及用户加入或创建的微博 List 对应的微博 ListID 、用户类型、用户标签属性、认证信息及用户的收听关系中的任一种或多种。当接收到所述微博终端发送 List 名单列表获取请求,请求获取用户的 List 名单列表时,所述微博用户服务器 201 根据所述 List 名单列表获取请求中包含的用户 ID ,查询所述用户加入或创建的微博 List 对应的微博 ListID ,并生成微博 ListID 列表。
微博群组服务器 202 ,用于存储和管理微博群组的基本信息;根据所述用户的微博群组 ID 列表,获取每个微博群组 ID 对应的微博群组的基本信息,并将所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息返回给所述微博终端;根据所述微博终端发送的消息列表获取请求中包含的所选择的微博群组 ID ,查询所选择的微博群组的成员 ID 列表。
所述微博 List 的基本信息包括但不限于:微博 ListID 及成员 ID 列表、微博 List 的名称、微博 List 的简介、微博 List 的类型及微博 List 的属性中的任一种或多种。所述微博 List 服务器 202 根据所述微博用户服务器 201 生成的所述用户的微博 ListID 列表,从自身数据库中获取每个微博 ListID 对应的微博 List 的基本信息,并将所述用户的微博 ListID 列表和每个微博 ListID 对应的微博 List 的基本信息返回给所述微博终端。所述微博终端的微博 List 管理模块 101 根据所述微博 List 服务器 202 返回的所述用户的微博 ListID 列表和每个微博 ListID 对应的微博 List 的基本信息,生成所述用户的 List 名单列表,所述 List 名单列表中包括至少一个微博 List ;并在列表显示界面中显示所述用户的 List 名单列表。
当接收到所述微博终端的微博 List 管理模块 101 发送的消息列表获取请求时,所述微博 List 服务器 202 根据所述消息列表获取请求中包含的所选择的微博 ListID ,从自身数据库中查询所选择的微博 List 的成员 ID 列表。
微博索引服务器 203 ,用于管理消息索引,以及管理消息索引 ID 与用户 ID 的映射关系;根据所选择的微博群组的成员 ID 列表,获取所选择的微博群组的各成员的消息索引 ID 列表,遍历所选择的微博群组的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博群组的消息索引 ID 列表,并将所选择的微博群组的消息索引 ID 列表返回至所述微博终端。
具体实现中,所述微博索引服务器203存储并管理所有用户发表的消息的索引,每条消息的索引均对应一个ID值,用于唯一标识该条消息的索引,将各个消息索引ID按时间先后顺序处理后,形成消息索引ID列表。所述微博索引服务器203还用于存储和管理消息索引ID与用户ID的映射关系,消息索引ID与用户ID的映射关系为:所述消息索引ID与用户ID一一对应;此处,消息索引ID与用户ID的映射关系表明一个消息索引ID对应的该条消息是由该用户ID对应的用户发表的。所述微博索引服务器203根据所述微博List 服务器203查询到的所选择的微博List的成员ID列表,从自身数据库中获取所选择的微博List的各成员的消息索引ID列表,遍历所选择的微博List的各成员的消息索引ID列表,按时间线对所有的消息索引ID进行排序,形成所选择的微博List的消息索引ID列表,并将所选择的微博List的消息索引ID列表返回至所述微博终端,使所述微博终端的微博消息管理模块102对所述微博索引服务器203返回的所选择的微博List的消息索引ID列表进行封装,生成消息体获取请求发送至所述微博服务器端,请求获取所选择的微博 List的消息索引ID列表对应的消息体。
微博消息服务器 204 ,用于管理消息体,以及管理消息索引 ID 与消息体之间的映射关系,为所述微博终端提供当前消息列表的消息索引 ID 列表对应的消息体;根据所述微博终端发送的消息体获取请求中包含的所选择的微博群组的消息索引 ID 列表,拉取所选择的微博群组的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端。
所述微博消息服务器 204 存储并管理所有用户发表消息的消息体,并且管理消息索引 ID 与消息体之间的映射关系,消息索引 ID 与消息体之间的映射关系为:所述消息索引 ID 与所述消息体一一对应;此处,消息索引 ID 与消息体的映射关系表明一个消息索引 ID 对应的该条消息包括该消息体对应的内容。一条完整的微博消息包括:用户 ID (注册名、昵称等注册的资料信息)及消息体(发表的内容、引用的内容、所在地、消息类型的标识等信息),用户 ID 和消息体之间通过消息索引 ID 相互联系。所述微博消息服务器 204 根据所述微博终端的微博消息管理模块 102 发送的消息体获取请求中包含的所选择的微博 List 的消息索引 ID 列表,拉取所选择的微博 List 的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端的微博消息管理模块 102 ,使所述微博消息管理模块 102 创建所选择的微博 List 的每个消息的 Item 控件,形成消息列表;并在写有所选择的微博 List 的名称的所述新的消息显示页面中显示所选择的微博 List 的消息列表。
本发明实施例为用户提供群组( List )名单列表,当用户选择 List 名单列表中任一微博 List 时,采用新的消息显示页面显示所选择的微博 List 的消息列表;这种微博消息的显示方案 将用户所关注的微博 List 的消息列表从主页消息显示页面中提取出来,采用分页形式进行展示,很好地将用户的主页消息显示页面中的消息组织为多页卡的分片展示方式,可使用户对自己想要查看的消息进行有效、快速的查看,极大提高了用户对于微博主页的使用效率。
需要说明的是,当接收到所述微博终端的微博 List 管理模块 101 定时发送的未读消息查询请求时,所述微博 List 服务器 202 还根据所述未读消息查询请求中包含的微博 List ID 列表,判断各微博 List ID 对应的各微博 List 中的各成员在上次查询之后、本次查询之前是否发表新消息;若判断结果为是,为发表新消息的成员所在的微博 ListID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博终端的微博 List 管理模块 101 ,使所述微博终端的微博 List 管理模块 101 在所述用户的 List 名单列表中显示所述未读标志。
本发明实施例定时查询用户的 List 名单列表中各微博 List 是否存在未读消息,并向用户提示该未读消息,可提醒用户及时查看微博 List 中出现的新消息,方便了用户对于微博消息的查看,方便了用户对微博的应用。
为了更清楚地说明本发明,下面将对本发明的微博消息的显示方法进行详细介绍。
请参见图 7 , 为本发明的微博消息的显示方法的第一实施例的流程图;所述方法包括:
S101 ,当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表。
用户使用注册的用户账户和密码,通过微博终端的 IM 客户端登录到微博服务器端进行验证,验证成功后,微博终端与微博服务器端之间建立连接通道,所述微博终端通过接入服务器接入到所述微博服务器端,所述微博终端通过定时向所述微博服务器端发送心跳包的形式保证与所述微博服务器端之间的连接。每个用户根据自己创建或加入的微博 List ,都有自己的 List 名单列表。所述微博终端为用户提供'我的名单'功能按键,'我的名单'功能按键可以采用收起模式(如图 2 所示)或悬浮模式(如图 3 所示),用户可使用鼠标点击'我的名单'显示的 List 名单列表中创建新的微博 List ,还可对 List 名单列表中的各个微博 List 进行管理(删除或编辑)操作。所述微博终端监听用户的鼠标,当监听到用户通过鼠标对 List 名单列表进行查询操作时,所述 S101 向微博服务器端发送 List 名单列表获取请求,请求获取所述用户的群组名单列表。具体地, S101 对所述用户的用户 ID 进行封装,生成 List 名单列表获取请求发送至微博服务器端,请求获取所述用户的群组名单列表。
S102 ,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组。
在所述 S101 发送所述 List 名单列表获取请求之后,所述 S102 接收并显示所述微博服务器端返回的所述用户的 List 名单列表,所述 List 名单列表中包括至少一个微博 List 。可以理解的是,所述 S102 采用收起模式或悬浮模式显示所述 List 名单列表。
S103 ,当所述用户在所述群组名单列表中选择任一个微博群组时,所述微博终端将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表。
当所述用户在所述 List 名单列表中选择任一个微博 List 时,请一并参见图 4 , 当所述用户选择 List 名单列表中名为'港台女演员'的微博 List 时,所述 S103 将所选择的微博 List 的名称'港台女演员'写入新的消息显示页面中(如图 4 所示),该新的消息显示页面位于主页消息显示页面的后一页面。具体实现中,所述 S103 对所选择的微博 List '港台女演员'的 ID 进行封装,生成消息列表获取请求发送至所述微博服务器端,请求获取所选择的微博 List '港台女演员'的消息列表。
S104 ,所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
当所述 S103 发送关于所选择的微博 List 的消息列表获取请求之后,所述 S104 接收所述微博服务器端返回的所选择的微博 List 的消息列表,并在写有所选择的微博 List 的名称的所述新的消息显示页面中显示所选择的微博 List 的消息列表。具体实现中,所述 S104 接收所述微博服务器端返回的所选择的微博 List 的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体,所述 S104 创建所选择的微博 List 的每个消息的 Item 控件,形成消息列表;并在写有所选择的微博 List 的名称的所述新的消息显示页面中显示所选择的微博 List 的消息列表(具体请参见图 4 )。需要说明的是,本发明实施例将用户所关注的微博 List 的消息列表从主页消息显示页面中提取出来,并采用分页形式进行展示,很好地将用户的主页消息显示页面中的消息组织为多页卡的分片展示方式,可使用户对自己想要查看的消息进行有效、快速的查看,极大提高了用户对于微博主页的使用效率。
本发明实施例为用户提供群组( List )名单列表,当用户选择 List 名单列表中任一微博 List 时,采用新的消息显示页面显示所选择的微博 List 的消息列表;这种微博消息的显示方案 将用户所关注的微博 List 的消息列表从主页消息显示页面中提取出来,采用分页形式进行展示,很好地将用户的主页消息显示页面中的消息组织为多页卡的分片展示方式,可使用户对自己想要查看的消息进行有效、快速的查看,极大提高了用户对于微博主页的使用效率。
请参见图 8 ,为本发明的微博消息的显示方法的第二实施例的流程图;所述方法包括:
用户使用注册的用户账户和密码,通过微博终端的 IM 客户端登录到微博服务器端进行验证,验证成功后,微博终端与微博服务器端之间建立连接通道,所述微博终端通过接入服务器接入到所述微博服务器端,所述微博终端通过定时向所述微博服务器端发送心跳包的形式保证与所述微博服务器端之间的连接。所述微博终端微可以显示用户的微博主页消息列表。
当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端的微博 List 管理模块对所述用户的用户 ID 进行封装,生成 List 名单列表获取请求发送至微博服务器端,请求获取所述用户的 List 名单列表。所述微博服务器端的微博用户服务器根据所述 List 名单列表获取请求中包含的用户 ID ,从自身数据库中查询所述用户加入或创建的微博 List 对应的微博 ListID ,并生成微博 ListID 列表,所述微博 ListID 列表中包括至少一个微博群组 ID ;所述微博服务器端的微博 List 服务器根据所述用户的微博 ListID 列表,从自身数据库中获取每个微博 ListID 对应的微博 List 的基本信息,并将所述用户的微博 ListID 列表和每个微博 ListID 对应的微博 List 的基本信息返回给所述微博 List 管理模块。
所述微博 List 管理模块接收所述微博 List 服务器返回的所述用户的微博 ListID 列表和每个微博 ListID 对应的微博 List 的基本信息;根据所述用户的微博 ListID 列表和每个微博 ListID 对应的微博 List 的基本信息,生成所述用户的 List 名单列表,所述 List 名单列表中包括至少一个微博群组,并在列表显示界面中显示所述用户的 List 名单列表。
所述微博 List 管理模块定时对所述用户的群组名单列表包括的微博群组 ID 列表进行封装,生成未读消息查询请求发送至所述微博服务器端,请求查询所述用户的 List 名单列表中各微博 List 的未读消息。所述微博 List 服务器根据所述未读消息查询请求中包含的微博 ListID 列表,判断各微博 ListID 对应的各微博 List 中的各成员在上次查询之后、本次查询之前是否发表新消息;若判断结果为是,所述微博 List 服务器为发表新消息的成员所在的微博群组 ID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博 List 管理模块。所述微博微博 List 遍历所述微博 List 服务器返回的设有所述未读标志的微博 ListID 列表,并在所述用户的 List 名单列表中显示所述未读标志。
当所述用户在所述 List 名单列表中选择任一个微博 List 时,所述微博 List 管理模块将所选择的微博 List 的名称写入新的消息显示页面中,并对所选择的微博 ListID 进行封装,生成消息列表获取请求发送至所述微博服务器端,请求获取所选择的微博 List 的消息列表。所述微博 List 服务器根据所述消息列表获取请求中包含的所选择的微博 ListID ,从自身数据库中查询所选择的微博 List 的成员 ID 列表;所述微博服务器端的微博索引服务器根据所选择的微博 List 的成员 ID 列表,从自身数据库中获取所选择的微博 List 的各成员的消息索引 ID 列表,并遍历所选择的微博 List 的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博 List 的消息索引 ID 列表返回至所述微博消息管理模块。
所述微博消息管理模块对所述微博索引服务器返回的所选择的微博 List 的消息索引 ID 列表进行封装,生成消息体获取请求发送至所述微博服务器端,请求获取所选择的微博 List 的消息索引 ID 列表对应的消息体。所述微博服务器端的微博消息服务器根据所述消息体获取请求中包含的所选择的微博 List 的消息索引 ID 列表,拉取所选择的微博 List 的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端。
所述微博消息管理模块接收所述微博索引服务器返回的所选择的微博 List 的消息索引 ID 列表和所述微博消息服务器返回的消息索引 ID 列表中各消息索引 ID 对应的消息体,并创建所选择的微博 List 的消息列表,在写有所选择的微博 List 的名称的所述新的消息显示页面中显示所选择的微博 List 的消息列表。
本发明实施例为用户提供群组( List )名单列表,当用户选择 List 名单列表中任一微博 List 时,采用新的消息显示页面显示所选择的微博 List 的消息列表;这种微博消息的显示方案 将用户所关注的微博 List 的消息列表从主页消息显示页面中提取出来,采用分页形式进行展示,很好地将用户的主页消息显示页面中的消息组织为多页卡的分片展示方式,可使用户对自己想要查看的消息进行有效、快速的查看,极大提高了用户对于微博主页的使用效率; 同时,本发明实施例定时查询用户的 List 名单列表中各微博 List 是否存在未读消息,并向用户提示该未读消息,可提醒用户及时查看微博 List 中出现的新消息,方便了用户对于微博消息的查看,方便了用户对微博的应用。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory , ROM )或随机存储记忆体( Random Access Memory , RAM )等。
本发明的一个或多个包含可执行指令的存储介质,该可执行指令用于执行一种微博消息的显示方法,该微博消息的显示方法包括: 当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;当所述用户在所述群组名单列表中选择任一个微博群组时,所述微博终端将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表;所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
在一个实施例中,所述当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表,包括:当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端对所述用户的用户标识号 ID 进行封装,生成群组名单列表获取请求;所述微博终端将所述群组名单列表获取请求发送至微博服务器端,请求获取所述用户的群组名单列表。
在一个实施例中,所述微博终端将所述群组名单列表获取请求发送至微博服务器端之后,接收并显示所述微博服务器端返回的所述用户的群组名单列表之前,还包括:所述微博服务器端根据所述群组名单列表获取请求中包含的用户 ID ,从数据库中查询所述用户加入或创建的微博群组对应的微博群组 ID ,并生成微博群组 ID 列表,所述微博群组 ID 列表中包括至少一个微博群组 ID ;所述微博服务器端根据所述用户的微博群组 ID 列表,从数据库中获取每个微博群组 ID 对应的微博群组的基本信息;所述微博服务器端将所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息返回给所述微博终端;其中,所述微博群组的基本信息包括:微博群组 ID 、成员 ID 列表、微博群组的名称、微博群组的简介、微博群组的类型及微博群组的属性中的任一种或多种。
在一个实施例中,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,包括:所述微博终端接收所述微博服务器端返回的所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息;所述微博终端根据所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息,生成所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;所述微博终端在列表显示界面中显示所述用户的群组名单列表。
在一个实施例中,所述微博终端向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表,包括:所述微博终端对所选择的微博群组 ID 进行封装,生成消息列表获取请求;所述微博终端将所述消息列表获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息列表。
在一个实施例中,所述微博终端将所述消息列表获取请求发送至所述微博服务器端之后,接收所述微博服务器端返回的所选择的微博群组的消息列表之前,还包括:所述微博服务器端根据所述消息列表获取请求中包含的所选择的微博群组 ID ,从数据库中查询所选择的微博群组的成员 ID 列表;所述微博服务器端根据所选择的微博群组的成员 ID 列表,获取所选择的微博群组的各成员的消息索引 ID 列表;所述微博服务器端遍历所选择的微博群组的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博群组的消息索引 ID 列表;所述微博服务器端将所选择的微博群组的消息索引 ID 列表返回至所述微博终端;所述微博终端对所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表进行封装,生成消息体获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息索引 ID 列表对应的消息体;所述微博服务器端根据所述消息体获取请求中包含的所选择的微博群组的消息索引 ID 列表,拉取所选择的微博群组的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端。
在一个实施例中,所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表,包括:所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体;所述微博终端根据所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体,创建所选择的微博群组的消息列表;所述微博终端在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
在一个实施例中,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表之后,还包括:所述微博终端定时向所述微博服务器端发送未读消息查询请求,请求查询所述用户的群组名单列表中各微博群组的未读消息,包括:所述微博终端对所述用户的群组名单列表包括的微博群组 ID 列表进行封装,生成未读消息查询请求;所述微博终端将所述未读消息查询请求发送至所述微博服务器端,请求查询所述用户的群组名单列表中各微博群组的未读消息。
在一个实施例中,所述微博终端将所述未读消息查询请求发送至所述微博服务器端之后,还包括:所述微博服务器端根据所述未读消息查询请求中包含的微博群组 ID 列表,判断各微博群组 ID 对应的各微博群组中的各成员在上次查询之后、本次查询之前是否发表新消息;若判断结果为是,所述微博服务器端为发表新消息的成员所在的微博群组 ID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博终端;所述微博终端遍历所述微博服务器端返回的设有所述未读标志的微博群组 ID 列表,并在所述用户的群组名单列表中显示所述未读标志。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (23)

  1. 一种微博消息的显示方法,其特征在于,包括:
    当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;
    所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;
    当所述用户在所述群组名单列表中选择任一个微博群组时,所述微博终端将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表;
    所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
  2. 如权利要求 1 所述的方法,其特征在于,所述当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表,包括:
    当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端对所述用户的用户标识号 ID 进行封装,生成群组名单列表获取请求;
    所述微博终端将所述群组名单列表获取请求发送至微博服务器端,请求获取所述用户的群组名单列表。
  3. 如权利要求 2 所述的方法,其特征在于,所述微博终端将所述群组名单列表获取请求发送至微博服务器端之后,接收并显示所述微博服务器端返回的所述用户的群组名单列表之前,还包括:
    所述微博服务器端根据所述群组名单列表获取请求中包含的用户 ID ,从数据库中查询所述用户加入或创建的微博群组对应的微博群组 ID ,并生成微博群组 ID 列表,所述微博群组 ID 列表中包括至少一个微博群组 ID ;
    所述微博服务器端根据所述用户的微博群组 ID 列表,从数据库中获取每个微博群组 ID 对应的微博群组的基本信息;
    所述微博服务器端将所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息返回给所述微博终端;
    其中,所述微博群组的基本信息包括:微博群组 ID 、成员 ID 列表、微博群组的名称、微博群组的简介、微博群组的类型及微博群组的属性中的任一种或多种。
  4. 如权利要求 3 所述的方法,其特征在于,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,包括:
    所述微博终端接收所述微博服务器端返回的所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息;
    所述微博终端根据所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息,生成所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;
    所述微博终端在列表显示界面中显示所述用户的群组名单列表。
  5. 如权利要求 4 所述的方法,其特征在于,所述微博终端向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表,包括:
    所述微博终端对所选择的微博群组 ID 进行封装,生成消息列表获取请求;
    所述微博终端将所述消息列表获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息列表。
  6. 如权利要求 5 所述的方法,其特征在于,所述微博终端将所述消息列表获取请求发送至所述微博服务器端之后,接收所述微博服务器端返回的所选择的微博群组的消息列表之前,还包括:
    所述微博服务器端根据所述消息列表获取请求中包含的所选择的微博群组 ID ,从数据库中查询所选择的微博群组的成员 ID 列表;
    所述微博服务器端根据所选择的微博群组的成员 ID 列表,获取所选择的微博群组的各成员的消息索引 ID 列表;
    所述微博服务器端遍历所选择的微博群组的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博群组的消息索引 ID 列表;
    所述微博服务器端将所选择的微博群组的消息索引 ID 列表返回至所述微博终端;
    所述微博终端对所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表进行封装,生成消息体获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息索引 ID 列表对应的消息体;
    所述微博服务器端根据所述消息体获取请求中包含的所选择的微博群组的消息索引 ID 列表,拉取所选择的微博群组的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端。
  7. 如权利要求 6 所述的方法,其特征在于,所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表,包括:
    所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体;
    所述微博终端根据所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体,创建所选择的微博群组的消息列表;
    所述微博终端在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
  8. 如权利要求 1-7 任一项所述的方法,其特征在于,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表之后,还包括:
    所述微博终端定时向所述微博服务器端发送未读消息查询请求,请求查询所述用户的群组名单列表中各微博群组的未读消息,包括:
    所述微博终端对所述用户的群组名单列表包括的微博群组 ID 列表进行封装,生成未读消息查询请求;
    所述微博终端将所述未读消息查询请求发送至所述微博服务器端,请求查询所述用户的群组名单列表中各微博群组的未读消息。
  9. 如权利要求 8 所述的方法,其特征在于,所述微博终端将所述未读消息查询请求发送至所述微博服务器端之后,还包括:
    所述微博服务器端根据所述未读消息查询请求中包含的微博群组 ID 列表,判断各微博群组 ID 对应的各微博群组中的各成员在上次查询之后、本次查询之前是否发表新消息;
    若判断结果为是,所述微博服务器端为发表新消息的成员所在的微博群组 ID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博终端;
    所述微博终端遍历所述微博服务器端返回的设有所述未读标志的微博群组 ID 列表,并在所述用户的群组名单列表中显示所述未读标志。
  10. 一种微博终端,其特征在于,包括:
    微博群组管理模块,用于当检测到用户对群组名单列表进行查询操作时,向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;当所述用户在所述群组名单列表中选择任一个微博群组时,将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表;
    微博消息管理模块,用于接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
  11. 如权利要求 10 所述的微博终端,其特征在于,所述微博群组管理模块还用于定时向所述微博服务器端发送未读消息查询请求,请求查询所述用户的群组名单列表中各微博群组的未读消息;接收并遍历所述微博服务器端返回的设有所述未读标志的微博群组 ID 列表,并在所述用户的群组名单列表中显示所述未读标志。
  12. 一种微博服务器端,其特征在于,包括:
    微博用户服务器,用于存储和管理微博用户的基本信息,所述微博用户的基本信息包括:用户 ID 及用户加入或创建的微博群组对应的微博群组 ID ;根据所述微博终端发送的群组名单列表获取请求中包含的用户 ID ,查询所述用户加入或创建的微博群组对应的微博群组 ID ,并生成微博群组 ID 列表;
    微博群组服务器,用于存储和管理微博群组的基本信息,所述微博群组的基本信息包括:微博群组 ID 及成员 ID 列表;根据所述用户的微博群组 ID 列表,获取每个微博群组 ID 对应的微博群组的基本信息,并将所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息返回给所述微博终端;根据所述微博终端发送的消息列表获取请求中包含的所选择的微博群组 ID ,查询所选择的微博群组的成员 ID 列表;
    微博索引服务器,用于管理消息索引,以及管理消息索引 ID 与用户 ID 的映射关系;根据所选择的微博群组的成员 ID 列表,获取所选择的微博群组的各成员的消息索引 ID 列表,遍历所选择的微博群组的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博群组的消息索引 ID 列表,并将所选择的微博群组的消息索引 ID 列表返回至所述微博终端;
    微博消息服务器,用于管理消息体,以及管理消息索引 ID 与消息体之间的映射关系,为所述微博终端提供当前消息列表的消息索引 ID 列表对应的消息体;根据所述微博终端发送的消息体获取请求中包含的所选择的微博群组的消息索引 ID 列表,拉取所选择的微博群组的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端。
  13. 如权利要求 12 所述的微博服务器端,其特征在于,所述微博群组服务器还用于根据所述微博终端发送的未读消息查询请求中包含的微博群组 ID 列表,判断各微博群组 ID 对应的各微博群组中的各成员在上次查询之后、本次查询之前是否发表新消息;若判断结果为是,为发表新消息的成员所在的微博群组 ID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博终端。
  14. 一种微博消息的显示系统,其特征在于,包含权利要求 10 或 11 所述的微博终端和权利要求 12 或 13 所述的微博服务器端。
  15. 一个或多个包含可执行指令的存储介质,所述可执行指令用于执行一种微博消息的显示方法,其特征在于,所述方法包括:
    当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表;
    所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;
    当所述用户在所述群组名单列表中选择任一个微博群组时,所述微博终端将所选择的微博群组的名称写入新的消息显示页面中,并向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表;
    所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
  16. 如权利要求 15 所述的存储介质,其特征在于,所述当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端向微博服务器端发送群组名单列表获取请求,请求获取所述用户的群组名单列表,包括:
    当检测到用户对群组名单列表进行查询操作时,所述用户对应的微博终端对所述用户的用户标识号 ID 进行封装,生成群组名单列表获取请求;
    所述微博终端将所述群组名单列表获取请求发送至微博服务器端,请求获取所述用户的群组名单列表。
  17. 如权利要求 16 所述的存储介质,其特征在于,所述微博终端将所述群组名单列表获取请求发送至微博服务器端之后,接收并显示所述微博服务器端返回的所述用户的群组名单列表之前,还包括:
    所述微博服务器端根据所述群组名单列表获取请求中包含的用户 ID ,从数据库中查询所述用户加入或创建的微博群组对应的微博群组 ID ,并生成微博群组 ID 列表,所述微博群组 ID 列表中包括至少一个微博群组 ID ;
    所述微博服务器端根据所述用户的微博群组 ID 列表,从数据库中获取每个微博群组 ID 对应的微博群组的基本信息;
    所述微博服务器端将所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息返回给所述微博终端;
    其中,所述微博群组的基本信息包括:微博群组 ID 、成员 ID 列表、微博群组的名称、微博群组的简介、微博群组的类型及微博群组的属性中的任一种或多种。
  18. 如权利要求 17 所述的存储介质,其特征在于,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表,包括:
    所述微博终端接收所述微博服务器端返回的所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息;
    所述微博终端根据所述用户的微博群组 ID 列表和每个微博群组 ID 对应的微博群组的基本信息,生成所述用户的群组名单列表,所述群组名单列表中包括至少一个微博群组;
    所述微博终端在列表显示界面中显示所述用户的群组名单列表。
  19. 如权利要求 18 所述的存储介质,其特征在于,所述微博终端向所述微博服务器端发送消息列表获取请求,请求获取所选择的微博群组的消息列表,包括:
    所述微博终端对所选择的微博群组 ID 进行封装,生成消息列表获取请求;
    所述微博终端将所述消息列表获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息列表。
  20. 如权利要求 19 所述的存储介质,其特征在于,所述微博终端将所述消息列表获取请求发送至所述微博服务器端之后,接收所述微博服务器端返回的所选择的微博群组的消息列表之前,还包括:
    所述微博服务器端根据所述消息列表获取请求中包含的所选择的微博群组 ID ,从数据库中查询所选择的微博群组的成员 ID 列表;
    所述微博服务器端根据所选择的微博群组的成员 ID 列表,获取所选择的微博群组的各成员的消息索引 ID 列表;
    所述微博服务器端遍历所选择的微博群组的各成员的消息索引 ID 列表,按时间线对所有的消息索引 ID 进行排序,形成所选择的微博群组的消息索引 ID 列表;
    所述微博服务器端将所选择的微博群组的消息索引 ID 列表返回至所述微博终端;
    所述微博终端对所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表进行封装,生成消息体获取请求发送至所述微博服务器端,请求获取所选择的微博群组的消息索引 ID 列表对应的消息体;
    所述微博服务器端根据所述消息体获取请求中包含的所选择的微博群组的消息索引 ID 列表,拉取所选择的微博群组的消息索引 ID 列表中各消息索引 ID 对应的消息体,并将拉取到的所述消息索引 ID 列表中各消息索引 ID 对应的消息体返回对所述微博终端。
  21. 如权利要求 20 所述的存储介质,其特征在于,所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息列表,并在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表,包括:
    所述微博终端接收所述微博服务器端返回的所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体;
    所述微博终端根据所选择的微博群组的消息索引 ID 列表和所述消息索引 ID 列表中各消息索引 ID 对应的消息体,创建所选择的微博群组的消息列表;
    所述微博终端在写有所选择的微博群组的名称的所述新的消息显示页面中显示所选择的微博群组的消息列表。
  22. 如权利要求 15-21 任一项所述的存储介质,其特征在于,所述微博终端接收并显示所述微博服务器端返回的所述用户的群组名单列表之后,还包括:
    所述微博终端定时向所述微博服务器端发送未读消息查询请求,请求查询所述用户的群组名单列表中各微博群组的未读消息,包括:
    所述微博终端对所述用户的群组名单列表包括的微博群组 ID 列表进行封装,生成未读消息查询请求;
    所述微博终端将所述未读消息查询请求发送至所述微博服务器端,请求查询所述用户的群组名单列表中各微博群组的未读消息。
  23. 如权利要求 22 所述的存储介质,其特征在于,所述微博终端将所述未读消息查询请求发送至所述微博服务器端之后,还包括:
    所述微博服务器端根据所述未读消息查询请求中包含的微博群组 ID 列表,判断各微博群组 ID 对应的各微博群组中的各成员在上次查询之后、本次查询之前是否发表新消息;
    若判断结果为是,所述微博服务器端为发表新消息的成员所在的微博群组 ID 设置未读标志,并将设有所述未读标志的微博群组 ID 列表返回至所述微博终端;
    所述微博终端遍历所述微博服务器端返回的设有所述未读标志的微博群组 ID 列表,并在所述用户的群组名单列表中显示所述未读标志。
PCT/CN2012/073035 2011-05-05 2012-03-26 一种微博消息的显示方法、系统、微博终端、微博服务器端及存储介质 Ceased WO2012149845A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2014508676A JP5802827B2 (ja) 2011-05-05 2012-03-26 マイクロブログ・メッセージを表示するための方法及びシステム、及びサーバ、及び記憶媒体
KR1020137031618A KR101475648B1 (ko) 2011-05-05 2012-03-26 마이크로 블로그 메시지를 표시하는 방법 및 시스템, 마이크로 블로그 단말기, 마이크로 블로그 서버 및 저장 매체
US14/115,265 US8935618B2 (en) 2011-05-05 2012-03-26 Method and system for displaying micro-blog message, micro-blog terminal, and server, and storage medium
US14/560,764 US9887953B2 (en) 2011-05-05 2014-12-04 System and method for displaying micro-blog message, micro-blog terminal and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110114892.4A CN102769579B (zh) 2011-05-05 2011-05-05 一种微博消息的显示方法、微博终端及微博服务器端
CN201110114892.4 2011-05-05

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US14/115,265 A-371-Of-International US8935618B2 (en) 2011-05-05 2012-03-26 Method and system for displaying micro-blog message, micro-blog terminal, and server, and storage medium
US14/560,764 Continuation-In-Part US9887953B2 (en) 2011-05-05 2014-12-04 System and method for displaying micro-blog message, micro-blog terminal and server

Publications (1)

Publication Number Publication Date
WO2012149845A1 true WO2012149845A1 (zh) 2012-11-08

Family

ID=47096833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073035 Ceased WO2012149845A1 (zh) 2011-05-05 2012-03-26 一种微博消息的显示方法、系统、微博终端、微博服务器端及存储介质

Country Status (5)

Country Link
US (1) US8935618B2 (zh)
JP (1) JP5802827B2 (zh)
KR (1) KR101475648B1 (zh)
CN (1) CN102769579B (zh)
WO (1) WO2012149845A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015176261A (ja) * 2014-03-14 2015-10-05 横河電機株式会社 Webサービス提供装置

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116483A (zh) * 2012-11-29 2013-05-22 深圳市金立通信设备有限公司 一种调用微博的方法、装置及终端
CN103914477B (zh) 2013-01-06 2018-10-26 腾讯科技(北京)有限公司 一种数据处理方法和装置
CN104063404B (zh) * 2013-03-22 2018-10-19 腾讯科技(深圳)有限公司 在wap页面显示信息的方法及装置
CN103279515B (zh) * 2013-05-23 2016-08-31 微梦创科网络科技(中国)有限公司 基于微群的推荐方法及微群推荐装置
CN103346952B (zh) * 2013-05-28 2017-03-01 小米科技有限责任公司 一种加入群组的方法及装置
CN104142963B (zh) * 2013-06-09 2018-05-15 腾讯科技(北京)有限公司 一种微博定向发布的方法、系统及客户端
CN104243523B (zh) * 2013-06-19 2018-09-04 腾讯科技(深圳)有限公司 构建微博消息的方法和微博前台服务器
CN103345361B (zh) * 2013-06-26 2016-12-28 腾讯科技(北京)有限公司 一种群组加入方法及相关设备、系统
CN104144195B (zh) * 2013-06-26 2016-07-13 腾讯科技(深圳)有限公司 一种微博主页展示媒体信息的方法、系统及装置
CN104731806B (zh) * 2013-12-20 2018-10-19 腾讯科技(深圳)有限公司 一种在社交网络中快速查找用户信息的方法及终端
WO2015106425A1 (zh) 2014-01-16 2015-07-23 何劲 在社交网络系统中进行信息处理的方法和系统
CN104869048B (zh) * 2014-02-24 2019-05-24 腾讯科技(北京)有限公司 微博数据的分组处理方法、装置及系统
WO2016032509A1 (en) * 2014-08-29 2016-03-03 Nissan Motor Co., Ltd. Variable magnetization machine controller
CN105391614B (zh) * 2014-09-05 2019-09-13 腾讯科技(北京)有限公司 消息的处理方法和装置
CN105659227B (zh) * 2014-09-29 2019-05-03 华为技术有限公司 一种信息传送方法及客户端、服务器
CN105577603B (zh) * 2014-10-09 2018-12-07 中国移动通信集团天津有限公司 一种播放多媒体消息的方法及装置
US9996575B2 (en) 2014-10-30 2018-06-12 Twitter, Inc. Automated social message stream population
CN107665709B (zh) * 2016-10-18 2021-04-13 北京光年无限科技有限公司 一种信息提醒方法、智能机器人以及移动终端
CN106533904A (zh) * 2016-11-04 2017-03-22 广东小天才科技有限公司 一种信息显示方法及装置
CN107342930A (zh) * 2016-12-19 2017-11-10 厦门二五八网络科技集团股份有限公司 一种在网页与客户端间实现语音通讯的方法与系统
CN108427706B (zh) * 2018-01-17 2020-11-10 贝壳找房(北京)科技有限公司 一种信息发布方法及装置
CN110209799A (zh) 2018-02-07 2019-09-06 阿里巴巴集团控股有限公司 消息处理方法、未读消息的显示方法、计算机终端
CN108920693B (zh) * 2018-07-13 2021-09-17 北京微播视界科技有限公司 一种个人主页的展示方法、装置、终端设备及存储介质
CN111523053A (zh) * 2020-04-26 2020-08-11 腾讯科技(深圳)有限公司 信息流处理方法、装置、计算机设备和存储介质
CN113779281B (zh) * 2021-09-16 2023-06-16 抖音视界有限公司 信息处理方法、装置及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090346A (zh) * 2006-06-16 2007-12-19 腾讯科技(深圳)有限公司 基于即时通信的群组管理方法及其即时通信客户端
CN101374148A (zh) * 2008-09-18 2009-02-25 腾讯科技(深圳)有限公司 博客好友权限管理方法及系统
CN101517529A (zh) * 2006-08-11 2009-08-26 费斯布克公司 用于产生针对基于web的社交网络的成员而个性化的基于动态关系的内容的系统及方法
CN101681346A (zh) * 2007-05-24 2010-03-24 费斯布克公司 用于访问互联网应用的个性化平台
WO2010101851A1 (en) * 2009-03-04 2010-09-10 Facebook, Inc. Filtering content in a social networking service

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005010882A (ja) * 2003-06-17 2005-01-13 Hidekazu Kondo ブラウザ装置、情報処理システムおよびプログラム
US7865830B2 (en) * 2005-07-12 2011-01-04 Microsoft Corporation Feed and email content
CN101072386B (zh) * 2007-06-22 2010-06-23 腾讯科技(深圳)有限公司 业务服务器、系统消息服务器和消息广播方法
US20090228804A1 (en) * 2008-03-05 2009-09-10 Microsoft Corporation Service Preview And Access From an Application Page
WO2010089216A1 (en) * 2009-02-05 2010-08-12 International Business Machines Corporation A message system for social networks
US20110055723A1 (en) * 2009-08-25 2011-03-03 Simon Samuel Lightstone Collaboratively interactive micro-blog posts
US20110087604A1 (en) * 2009-10-09 2011-04-14 Oracle International Corporation Micro-blogging for enterprise resources planning (erp)
EP2593911A1 (en) * 2010-07-12 2013-05-22 Zendesk Inc. Methods and apparatus for automated workflow management
US20120072835A1 (en) * 2010-09-20 2012-03-22 UberMedia, Inc. Microblog Client
CN101980497A (zh) * 2010-10-20 2011-02-23 北京开心人信息技术有限公司 一种分类显示好友动态的方法与系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090346A (zh) * 2006-06-16 2007-12-19 腾讯科技(深圳)有限公司 基于即时通信的群组管理方法及其即时通信客户端
CN101517529A (zh) * 2006-08-11 2009-08-26 费斯布克公司 用于产生针对基于web的社交网络的成员而个性化的基于动态关系的内容的系统及方法
CN101681346A (zh) * 2007-05-24 2010-03-24 费斯布克公司 用于访问互联网应用的个性化平台
CN101374148A (zh) * 2008-09-18 2009-02-25 腾讯科技(深圳)有限公司 博客好友权限管理方法及系统
WO2010101851A1 (en) * 2009-03-04 2010-09-10 Facebook, Inc. Filtering content in a social networking service

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015176261A (ja) * 2014-03-14 2015-10-05 横河電機株式会社 Webサービス提供装置

Also Published As

Publication number Publication date
JP2014513360A (ja) 2014-05-29
KR101475648B1 (ko) 2014-12-22
JP5802827B2 (ja) 2015-11-04
US8935618B2 (en) 2015-01-13
US20140068465A1 (en) 2014-03-06
CN102769579B (zh) 2016-12-07
CN102769579A (zh) 2012-11-07
KR20140006993A (ko) 2014-01-16

Similar Documents

Publication Publication Date Title
WO2012149845A1 (zh) 一种微博消息的显示方法、系统、微博终端、微博服务器端及存储介质
US11044286B2 (en) Information exchange method and terminal
RU2405267C2 (ru) Способ, устройство и система выбора услуг и клиентский сервер приложений
CN102164186B (zh) 一种实现云搜索服务的方法及系统
US20170357661A1 (en) Providing content items in response to a natural language query
US20140325391A1 (en) System and method for updating information in an instant messaging application
US20090234849A1 (en) Streaming Faceted Search
US11106732B2 (en) Systems and methods for sharing audio feeds
CN102892031A (zh) 一种手机智能识别电视节目的方法
CN103139173A (zh) 终端设备、媒体交换网系统、媒体业务下载方法及系统
US10579642B2 (en) Techniques for administering comingled content items
CN102916999B (zh) 服务器装置和信息处理装置
US9946805B2 (en) System and method for displaying services capable of pasting document stored on a cloud-based cross-clipboard
CN114500570B (zh) 任务处理方法、装置、电子设备和计算机可读存储介质
US10073846B2 (en) System and method for linking web documents
WO2014176896A1 (en) System and method for updating information in an instant messaging application
WO2018205577A1 (zh) 即时通信应用中的文件发送
WO2024087821A1 (zh) 信息处理方法、装置和电子设备
CN103841121B (zh) 一种基于本地文件的评论和互动系统及方法
US20240303414A1 (en) Electronic document processing method and apparatus, terminal, and storage medium
CN109684450B (zh) 一种基于语义化标识的工业网络数据分发服务系统及方法
CN108228773A (zh) 一种实现信息保存的方法及装置
CN112783842A (zh) 一种日志收集方法和装置
CN114996230B (zh) 文档同步方法、装置、设备和介质
CN103811038B (zh) 多媒体处理方法、装置及相应的多媒体播放器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12779968

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14115265

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2014508676

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20137031618

Country of ref document: KR

Kind code of ref document: A

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13/01/2014)

122 Ep: pct application non-entry in european phase

Ref document number: 12779968

Country of ref document: EP

Kind code of ref document: A1