CN105208064B - A kind of method and apparatus obtaining micro-blog information - Google Patents

A kind of method and apparatus obtaining micro-blog information Download PDF

Info

Publication number
CN105208064B
CN105208064B CN201410288851.0A CN201410288851A CN105208064B CN 105208064 B CN105208064 B CN 105208064B CN 201410288851 A CN201410288851 A CN 201410288851A CN 105208064 B CN105208064 B CN 105208064B
Authority
CN
China
Prior art keywords
perpetual object
micro
user
blog information
user identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410288851.0A
Other languages
Chinese (zh)
Other versions
CN105208064A (en
Inventor
周智昊
刘里
王瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410288851.0A priority Critical patent/CN105208064B/en
Publication of CN105208064A publication Critical patent/CN105208064A/en
Application granted granted Critical
Publication of CN105208064B publication Critical patent/CN105208064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus for obtaining micro-blog information, belong to internet area.This method comprises: according to the corresponding number for not reading micro-blog information of the perpetual object that the user identifier of the first user obtains the first user from server;The user identifier and the corresponding number for not reading micro-blog information of perpetual object for showing perpetual object make the first user select the user identifier of perpetual object;According to the user identifier of the perpetual object of selection, the perpetual object that selection is obtained from the outbox of the perpetual object of selection corresponding does not read micro-blog information.The device includes: the first acquisition module, display module and the second acquisition module.The user identifier and the corresponding number for not reading micro-blog information of perpetual object of perpetual object are shown in the present invention, first user selects perpetual object, according to the user identifier of the perpetual object of selection, obtained from the outbox of the perpetual object of selection selection perpetual object it is corresponding do not read micro-blog information, improve obtain micro-blog information efficiency.

Description

A kind of method and apparatus obtaining micro-blog information
Technical field
The present invention relates to internet area, in particular to a kind of method and apparatus for obtaining micro-blog information.
Background technique
Microblogging is that platform is shared, propagates and obtained to the information based on customer relationship.User can pass through WEB (net Network), WAP (Wireless Application Protocol, Wireless Application Protocol) and various clients set up it is personal micro- Rich platform.In microblog, user can not only deliver micro-blog information, can also obtain the microblogging letter that perpetual object is delivered Breath, and user obtains the micro-blog information that perpetual object is delivered usually to understand the recent developments of perpetual object.
A kind of method for obtaining micro-blog information is provided in the prior art, it can be with are as follows: server receives user's corresponding end The acquisition request message sent is held, which carries the user identifier of user;It is obtained according to the user identifier of user The perpetual object list of user stores the user identifier of the perpetual object of user in the perpetual object list;According to each concern The user identifier of object obtains the micro-blog information that each perpetual object is delivered, then obtain every micro-blog information for delivering acquisition when Between stab;Every micro-blog information is ranked up according to the timestamp of every micro-blog information, the micro-blog information after sequence is sent to The terminal.Micro-blog information after sequence is formed micro-blog information page by the terminal, then the micro-blog information page is shown to user.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
When user merely desires to understand the recent developments of certain perpetual object, user needs a large amount of microbloggings for including from micro-blog information page letter The micro-blog information that the perpetual object is delivered is searched in breath, however searched from a large amount of micro-blog information the perpetual object deliver it is micro- Rich information can take considerable time that the efficiency so as to cause the micro-blog information for obtaining the perpetual object is lower.
Summary of the invention
In order to solve problems in the prior art, the present invention provides a kind of method and apparatus for obtaining micro-blog information.It is described Technical solution is as follows:
On the one hand, the present invention provides a kind of methods for obtaining micro-blog information, which comprises
The perpetual object that first user is obtained from server according to the user identifier of the first user is corresponding not to be read The number of micro-blog information;
The user identifier and the corresponding number for not reading micro-blog information of the perpetual object for showing the perpetual object, make institute State the user identifier that the first user selects perpetual object;
According to the user identifier of the selected perpetual object, institute is obtained from the outbox of the selected perpetual object The perpetual object for stating selection corresponding does not read micro-blog information.
On the other hand, the present invention provides a kind of methods for obtaining micro-blog information, which comprises
Receive the user identifier for the first user that terminal is sent;
The perpetual object for obtaining first user according to the user identifier of first user is corresponding not to read microblogging letter The number of breath;
The user identifier and the corresponding number for not reading micro-blog information of the perpetual object for sending the perpetual object are to institute Terminal is stated, first user is made to select the user identifier of perpetual object;
According to the user identifier of the selected perpetual object, institute is obtained from the outbox of the selected perpetual object The perpetual object for stating selection corresponding does not read micro-blog information;
Send the acquisition does not read micro-blog information to the terminal.
On the other hand, the present invention provides a kind of device for obtaining micro-blog information, described device includes:
First obtains module, for obtaining the pass of first user from server according to the user identifier of the first user Infuse the corresponding number for not reading micro-blog information of object;
Display module, the corresponding microblogging of not reading of user identifier and the perpetual object for showing the perpetual object are believed The number of breath makes first user select the user identifier of perpetual object;
Second obtains module, for the user identifier according to the selected perpetual object, from the selected concern pair Obtain that the selected perpetual object is corresponding not to read micro-blog information in the outbox of elephant.
On the other hand, the present invention provides a kind of device for obtaining micro-blog information, described device includes:
First receiving module, the user identifier of the first user for receiving terminal transmission;
Third obtains module, for obtaining the perpetual object of first user according to the user identifier of first user The corresponding number for not reading micro-blog information;
First sending module, user identifier and the perpetual object for sending the perpetual object be corresponding do not read it is micro- The number of rich information gives the terminal, and first user is made to select the user identifier of perpetual object;
4th obtains module, for the user identifier according to the selected perpetual object, from the selected concern pair Obtain that the selected perpetual object is corresponding not to read micro-blog information in the outbox of elephant;
Second sending module does not read micro-blog information to the terminal for send the acquisition.
In embodiments of the present invention, the concern pair of the first user is obtained from server according to the user identifier of the first user As the corresponding number for not reading micro-blog information, shows the user identifier of perpetual object and perpetual object is corresponding does not read micro-blog information Number selected from the user identifier for the perpetual object that terminal is shown when the first user wants to understand the recent developments of certain perpetual object The user identifier for selecting perpetual object, according to the user identifier of the perpetual object of the first user selection, from the perpetual object of selection Obtained in outbox selection perpetual object it is corresponding do not read micro-blog information, thus improve obtain perpetual object micro-blog information Efficiency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1-1 is a kind of method flow diagram for acquisition micro-blog information that the embodiment of the present invention 1 provides;
Fig. 1-2 is a kind of method flow diagram for acquisition micro-blog information that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of method flow diagram for acquisition micro-blog information that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of apparatus structure schematic diagram for acquisition micro-blog information that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of apparatus structure schematic diagram for acquisition micro-blog information that the embodiment of the present invention 4 provides;
Fig. 5 is a kind of structural schematic diagram for terminal that the embodiment of the present invention 5 provides;
Fig. 6 is a kind of structural schematic diagram for server that the embodiment of the present invention 6 provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
The embodiment of the invention provides a kind of methods for obtaining micro-blog information.Referring to Fig. 1-1, wherein this method comprises:
Step S101: the perpetual object that the first user is obtained from server according to the user identifier of the first user is corresponding The number of micro-blog information is not read;
Step S102: the user identifier of perpetual object and the corresponding number for not reading micro-blog information of perpetual object are shown, is made The user identifier of first user selection perpetual object;
Step S103: it according to the user identifier of the perpetual object of selection, is obtained from the outbox of the perpetual object of selection The perpetual object of selection is corresponding not to read micro-blog information.
The embodiment of the invention provides a kind of methods for obtaining micro-blog information.Referring to Fig. 1-2, wherein this method comprises:
Step S101 ': the user identifier for the first user that terminal is sent is received;
Step S102 ': the perpetual object for obtaining the first user according to the user identifier of the first user is corresponding not to read microblogging The number of information;
Step S103 ': send perpetual object user identifier and the corresponding number for not reading micro-blog information of perpetual object to Terminal makes the first user select the user identifier of perpetual object;
Step S104 ': it according to the user identifier of the perpetual object of selection, is obtained from the outbox of the perpetual object of selection The perpetual object of selection is corresponding not to read micro-blog information;
Step S105 ': send acquisition does not read micro-blog information to terminal.
In embodiments of the present invention, the concern pair of the first user is obtained from server according to the user identifier of the first user As the corresponding number for not reading micro-blog information, shows the user identifier of perpetual object and perpetual object is corresponding does not read micro-blog information Number selected from the user identifier for the perpetual object that terminal is shown when the first user wants to understand the recent developments of certain perpetual object The user identifier for selecting perpetual object, according to the user identifier of the perpetual object of the first user selection, from the perpetual object of selection Obtained in outbox selection perpetual object it is corresponding do not read micro-blog information, thus improve obtain perpetual object micro-blog information Efficiency.
Embodiment 2
The embodiment of the invention provides a kind of methods for obtaining micro-blog information.Referring to fig. 2, wherein this method comprises:
Step S201: terminal obtains the perpetual object of the first user according to the user identifier of the first user from server Information record;
Wherein, step S201 includes the following steps (1) to (3):
(1): terminal sends the first acquisition request message to server, which carries the first user's User identifier;
Wherein, terminal can be mobile phone terminal, tablet computer or PC (personal computer, personal computer) Terminal etc..Server can be micro blog server;The user identifier of first user can be the first user in micro blog server The user account etc. of registration.
First user is the user of request micro-blog information.When the first user needs to obtain micro-blog information, terminal hair Send the user identifier of the first user to server.
(2): the first acquisition request message that server receiving terminal is sent obtains the user identifier of the first user, according to The user identifier of first user obtains the information record of the perpetual object of the first user;
The user identifier of perpetual object is included at least in the information record of perpetual object and perpetual object the last time delivers The first time of micro-blog information stabs.If perpetual object deletes its microblogging letter delivered after its corresponding first time stamp Breath further includes then deleting mark in the information record of perpetual object.
This step can be with are as follows: the user identifier for the first user that server receiving terminal is sent, according to the use of the first user Family mark, obtains the user identifier of the perpetual object of the first user, according to the user identifier of the perpetual object of the first user, from letter The information record for ceasing the user identifier that the perpetual object comprising the first user is obtained in record list, the information record that will acquire are made For the information record of the perpetual object of user.
Perpetual object is the good friend that the first user listens to or pays close attention to;It include the information of each user in information record list Record.And before executing this step, server just obtains information record list as follows, comprising:
For each user, when the user delivers micro-blog information, server obtains the user and delivers working as micro-blog information The user is delivered the current time of micro-blog information as the user and delivers the last time the first time of micro-blog information by the preceding time The user identifier of the user and the first time stamp are formed an information record by stamp.Server is obtained from information record list The information record for taking the user identifier comprising the user, the information record that will acquire are updated to the information record of composition.
If after the user delivers micro-blog information, also deleting its micro-blog information delivered, which can be should Any bar micro-blog information that user delivers, server obtain the information of the user identifier comprising the user from information record list Record, mark is deleted in addition in the information record of acquisition.
Before executing step S201, server obtains user's mark of the user identifier of user and the perpetual object of user Know, the user that the user identifier of the user identifier of user and the perpetual object of user is stored in user identifier and perpetual object is marked In the corresponding relationship of knowledge.Correspondingly, the user identifier of the perpetual object of the first user is obtained, it can be with are as follows: according to the first user's User identifier, from the use for the perpetual object for obtaining the first user in the corresponding relationship of user identifier and the user identifier of perpetual object Family mark.
The user identifier of perpetual object can be the user account etc. that perpetual object is registered in micro blog server.
(3): the information that server sends the perpetual object of the first user is recorded to terminal;
(4): terminal receives the information record of the perpetual object for the first user that server is sent.
Step S202: terminal is recorded according to the information of the perpetual object of the first user, obtains newest micro-blog information of delivering The user identifier of predetermined number perpetual object;
Wherein, step S202 includes the following steps (1) to (4):
(1), terminal records according to the information of the perpetual object of the first user and obtains third timestamp, wherein stabbing at the first time It include predetermined number in the perpetual object that third timestamp starts to the first user of current time without deleting mark Perpetual object;
Terminal is stabbed according to the first time that perpetual object the last time of the first user delivers micro-blog information, when according to first Between stab and arrive farthest sequence recently from current time, the user identifier of the perpetual object of the first user is ranked up;Before acquisition User identifier of the predetermined number without the perpetual object of deletion mark;Terminal obtains each of predetermined number perpetual object Perpetual object corresponding the last time delivers the first time stamp of micro-blog information, from each perpetual object corresponding first of acquisition The first time farthest from current time is selected to stab in timestamp, when by the first time stamp farthest from current time as third Between stab.
Wherein, predetermined number is not more than the number for the user identifier that terminal screen one page can be shown, and predetermined number can To be configured and change as needed, such as predetermined number is 10 or 15.
Wherein, it should be noted that stamp is that the user recorded in server delivers micro-blog information the last time at the first time Timestamp, if user deletes its certain micro-blog information delivered after its corresponding first time stamp, regardless of user deletes The micro-blog information removed is the micro-blog information that user delivers the last time, and first time stamp will not be all deleted.
(2), terminal, which sends to stab at the first time, starts the perpetual object to the first user of current time in third timestamp In include each perpetual object user identifier to data server cluster;
It wherein, include at least one data server in data server cluster, data server is for storing each use The micro-blog information that family is delivered.Also, micro-blog information can be picture, video or music etc..
Wherein, step (2) specifically:
Terminal obtains stamp at the first time and wraps in the perpetual object that third timestamp starts to the first user of current time The user identifier of each perpetual object included sends the user identifier of each perpetual object to server;Server receiving terminal It is corresponding to obtain each perpetual object according to the user identifier of each perpetual object for the user identifier of each perpetual object sent The mark of data server sends the mark of the corresponding data server of each perpetual object to terminal;Terminal receives server The mark of the corresponding data server of each perpetual object sent, according to the mark of the corresponding data server of each perpetual object The user identifier for sending each perpetual object is known to the corresponding data server of each perpetual object in data server cluster.
Wherein, the mark of data server can be the title etc. of data server.Before executing this step, server Obtain the user identifier of each user and the mark of the corresponding data server of each user, by the user identifier of each user and In the corresponding relationship for the mark that the mark of the corresponding data server of each user is stored in user identifier and data server.Phase It answers, obtains the mark of the corresponding data server of perpetual object, it can be with are as follows: according to the user identifier of perpetual object, from user Identify the mark of data server corresponding with perpetual object is obtained in the corresponding relationship of the mark of data server.
(3), the data server in data server cluster receives the user identifier for the perpetual object that terminal is sent, and obtains Perpetual object the last time delivers the second timestamp of micro-blog information, sends that perpetual object the last time delivers micro-blog information Two timestamps are to terminal;
Wherein, it should be noted that in data server, the second timestamp of micro-blog information is to deliver the micro-blog information Timestamp;For each user, when the user delivers micro-blog information, data server obtains the user and delivers micro-blog information Current time, which is delivered to second timestamp of the current time as the micro-blog information of micro-blog information, by the microblogging Information and the second timestamp of the micro-blog information are stored in the corresponding micro-blog information list of the user;If the user delivers micro- After rich information, its micro-blog information delivered also is deleted, when data server is by the second of the micro-blog information and the micro-blog information Between stab and deleted from the corresponding micro-blog information list of the user.
This step can be with are as follows: data server receives the user identifier for the perpetual object that terminal is sent, according to perpetual object User identifier, obtain the corresponding micro-blog information list of the perpetual object, the every microblogging stored from the micro-blog information list Second timestamp nearest from current time is selected in corresponding second timestamp of information, using the second timestamp selected as this Perpetual object the last time delivers the second timestamp of micro-blog information.
(4), when each perpetual object the last time that terminal receives that data server is sent delivers the second of micro-blog information Between stab, and select the user identifier of the second timestamp predetermined number perpetual object nearest from current time.
Specifically, each perpetual object the last time that terminal receives that data server is sent delivers the second of micro-blog information Timestamp arrives farthest sequence from current time according to the second timestamp recently, carries out to the user identifier of each perpetual object Sequence, the user identifier for the predetermined number perpetual object for selecting the second timestamp nearest from current time.
Step S203: terminal obtains respectively according to the user identifier of each perpetual object in predetermined number perpetual object Take the corresponding number for not reading micro-blog information of each perpetual object;
Wherein, step S203 may comprise steps of (1) to (5):
(1), terminal obtains in predetermined number perpetual object respectively according to the user identifier of predetermined number perpetual object The corresponding data server of each perpetual object mark;
Specifically, terminal sends the user identifier of predetermined number perpetual object to server;Server receiving terminal hair The user identifier of the predetermined number perpetual object sent, according to the user of each perpetual object in predetermined number perpetual object Mark obtains the corresponding data server of each perpetual object from the corresponding relationship of user identifier and the mark of data server Mark, send the mark of the corresponding data server of each perpetual object to terminal, terminal receives server and each of sends The mark of the corresponding data server of perpetual object.
(2), the user identifier that terminal sends each perpetual object in predetermined number perpetual object respectively takes to data The corresponding data server of each perpetual object being engaged in device cluster;
Specifically, terminal is according to the mark of the corresponding data server of each perpetual object in predetermined number perpetual object Know, sends the user identifier of each perpetual object respectively to the corresponding data service of each perpetual object in server cluster Device.
(3), data server receives the user identifier for the perpetual object that terminal is sent, and it is corresponding to count the perpetual object The number of micro-blog information is not read;
Data server corresponding for each perpetual object, user identifier and pass of the data server according to the first user Infuse the user identifier of object, user identifier, the mark of the user identifier of perpetual object and micro-blog information from stored user Corresponding relationship in obtain the mark of the micro-blog information read;Believed according to the user identifier of perpetual object from user identifier and microblogging It ceases and obtains the corresponding micro-blog information list of perpetual object in the corresponding relationship of list, it is corresponding micro- from the user identifier of perpetual object The corresponding micro-blog information of mark for the micro-blog information read is filtered out in rich information list, the user identifier of perpetual object is corresponding Micro-blog information list in remaining micro-blog information be determined as not reading micro-blog information, count determine do not read micro-blog information, obtain To the corresponding number for not reading micro-blog information of perpetual object.
(4), data server sends the corresponding number for not reading micro-blog information of user identifier of the perpetual object to terminal;
For each perpetual object, (3) and (4) number for not reading micro-blog information can be obtained according to the following steps.
(5), it is corresponding to receive each perpetual object that the corresponding data server of each perpetual object is sent respectively for terminal The number of micro-blog information is not read.
Step S204: terminal shows the user identifier and the corresponding number for not reading micro-blog information of perpetual object of perpetual object Mesh;
Wherein, step S204 may comprise steps of (1) to (2):
(1), terminal delivers the second timestamp of micro-blog information according to predetermined number perpetual object the last time, to default The user identifier of a several perpetual objects is ranked up;
Terminal delivers the second timestamp of micro-blog information according to predetermined number perpetual object the last time, when according to second Between stab and arrive farthest sequence recently from current time, the user identifier of predetermined number perpetual object is ranked up.
(2), the user identifier and the corresponding microblogging of perpetual object of the predetermined number perpetual object after terminal display sequence The number of information.
The user identifier and the corresponding micro-blog information of perpetual object of predetermined number perpetual object after terminal display sequence Number give the first user, the first user can determine the first use according to the corresponding number for not reading micro-blog information of perpetual object Whether the perpetual object at family delivers new micro-blog information.Also, the first user can not read microblogging according to perpetual object is corresponding The number of information selects the user identifier of a perpetual object from the user identifier for the perpetual object that terminal is shown.
Wherein, it should be noted that in embodiments of the present invention, all concerns pair of terminal also available first user As the corresponding number for not reading micro-blog information, shows the user identifier of all perpetual objects and all perpetual objects are corresponding does not read The number of micro-blog information;At this point, terminal can not execute step S202 and step S203, directly execution step S204;Then step S204 may comprise steps of (1) to (4):
(1), terminal according to the information of the perpetual object of the first user record, obtain all perpetual objects it is corresponding do not read it is micro- The number of rich information;
This step is identical with step S202, and details are not described herein.
(2), terminal delivers the second of micro-blog information according to the user identifier of perpetual object acquisition perpetual object the last time Timestamp;
Terminal obtains the corresponding data server of each perpetual object according to the user identifier of each perpetual object respectively Mark, sends the user identifier of each perpetual object to concern each in cluster server according to the mark of data server respectively The corresponding data server of object;Data server receives the user identifier for the perpetual object that terminal is sent, and according to concern pair The user identifier of elephant obtains the second timestamp for perpetual object the last time delivering micro-blog information, and it is the last to send perpetual object The second timestamp of micro-blog information is delivered to terminal.
(3), terminal delivers the second timestamp of micro-blog information according to perpetual object the last time, to the user of perpetual object Mark is ranked up;
Terminal delivers the second timestamp of micro-blog information according to perpetual object the last time, according to the second timestamp from current Time arrives farthest sequence recently, is ranked up to the user identifier of perpetual object.
(4), the number of the user identifier of the perpetual object after terminal display sequence and the corresponding micro-blog information of perpetual object.
The user identifier and the corresponding number for not reading micro-blog information of perpetual object of perpetual object after terminal display sequence To the first user, the first user can determine the pass of the first user according to the corresponding number for not reading micro-blog information of perpetual object Whether note object delivers new micro-blog information.Also, the first user can not read micro-blog information according to perpetual object is corresponding Number selects the user identifier of a perpetual object from the user identifier for the perpetual object that terminal is shown.
Step S205: terminal receives the user identifier of the perpetual object of the first user selection, from the perpetual object of selection The perpetual object that selection is obtained in outbox corresponding does not read micro-blog information;
Wherein, step 205 may comprise steps of (1) to (3):
(1): terminal sends the second acquisition request message to server, which carries the concern of selection The user identifier of object;
(2): the second acquisition request message that server receiving terminal is sent obtains user's mark of the perpetual object of selection Know, according to the user identifier of the perpetual object of selection, the perpetual object of selection is obtained from the outbox of the perpetual object of selection It is corresponding not read micro-blog information;
Wherein, server is according to the user identifier of the perpetual object of selection, from the mark of user identifier and data server Corresponding relationship in obtain selection the corresponding data server of perpetual object mark, according to the mark of the data server send out Send to be elected the perpetual object selected user identifier to the data server;The data server receives the pass for the selection that server is sent The user identifier of note object is obtained from the outbox of the perpetual object of selection according to the user identifier of the perpetual object of selection The perpetual object of selection is corresponding not to read micro-blog information;Data server transmission does not read micro-blog information to server, server Receive data server transmission does not read micro-blog information.
(3): server sends the micro-blog information obtained to terminal.
Wherein, before step S205, server can be by following steps (A) to (B) by the concern pair of the first user As the micro-blog information delivered is stored in the outbox of perpetual object, comprising:
(A): the micro-blog information that the corresponding terminal of perpetual object sends the user identifier of perpetual object and perpetual object is delivered To server;
When perpetual object delivers micro-blog information, the corresponding terminal of perpetual object obtains user identifier and the pass of perpetual object The micro-blog information that note object is delivered, the micro-blog information that the user identifier and perpetual object for sending perpetual object are delivered is to server.
(B): server receives the user identifier and perpetual object hair for the perpetual object that the corresponding terminal of perpetual object is sent The micro-blog information of table, according to the user identifier of perpetual object, the micro-blog information that perpetual object is delivered is stored in perpetual object In outbox.
Wherein, server obtains the mark of the outbox of perpetual object according to the user identifier of perpetual object;According to concern The mark of the outbox of object, the micro-blog information that perpetual object is delivered are stored in the outbox of perpetual object.
Wherein, before this step, server obtains the mark of the user identifier of each user and the outbox of each user Know, the mark of the user identifier of each user and the outbox of each user is stored in the mark of user identifier and outbox In corresponding relationship.Correspondingly, according to the user identifier of perpetual object, the step of obtaining the mark of the outbox of perpetual object, can be with Are as follows: perpetual object is obtained from the corresponding relationship of user identifier and the mark of outbox according to the user identifier of perpetual object The mark of outbox.
Step S206: the micro-blog information that terminal display obtains.
In embodiments of the present invention, the concern pair of the first user is obtained from server according to the user identifier of the first user As the corresponding number for not reading micro-blog information, shows the user identifier of perpetual object and perpetual object is corresponding does not read micro-blog information Number selected from the user identifier for the perpetual object that terminal is shown when the first user wants to understand the recent developments of certain perpetual object The user identifier for selecting perpetual object, according to the user identifier of the perpetual object of the first user selection, from the perpetual object of selection Obtained in outbox selection perpetual object it is corresponding do not read micro-blog information, thus improve obtain perpetual object micro-blog information Efficiency.Further, terminal can also only obtain user's mark of the newest predetermined number perpetual object for delivering micro-blog information The number for not reading micro-blog information corresponding with predetermined number perpetual object is known, to save the resource of server, further Improve the efficiency for obtaining perpetual object micro-blog information.
Embodiment 3
The embodiment of the invention provides a kind of devices for obtaining micro-blog information.Referring to Fig. 3, wherein the device includes:
First obtains module 301, for obtaining the pass of the first user from server according to the user identifier of the first user Infuse the corresponding number for not reading micro-blog information of object;
Display module 302, user identifier and perpetual object for showing perpetual object are corresponding not to read micro-blog information Number makes the first user select the user identifier of perpetual object;
Second obtains module 303, for the user identifier according to the perpetual object of selection, from the hair of the perpetual object of selection The perpetual object that selection is obtained in part case corresponding does not read micro-blog information.
Preferably, first module 301 is obtained, comprising:
First acquisition unit obtains the concern of the first user for the user identifier according to the first user from server The information of object records, and the user identifier and perpetual object nearest one of perpetual object are included at least in the information record of perpetual object The secondary first time stamp for delivering micro-blog information;
Second acquisition unit, the information for the perpetual object according to the first user record, and obtain newest microblogging of delivering and believe The user identifier of the predetermined number perpetual object of breath;
Third acquiring unit is divided for the user identifier according to each perpetual object in predetermined number perpetual object The corresponding number for not reading micro-blog information of each perpetual object is not obtained.
Preferably, if perpetual object deletes its microblogging letter delivered after the first time stamp for delivering micro-blog information Breath, then the information record of perpetual object further includes deleting mark;
Second acquisition unit, comprising:
First obtains subelement, and the information record for the perpetual object according to the first user obtains third timestamp, Middle first time stamp includes that predetermined number does not have in the perpetual object that third timestamp starts to the first user of current time There is the perpetual object deleted and identified;
First transmission sub-unit starts the first user to current time in third timestamp for sending to stab at the first time Perpetual object in include each perpetual object user identifier to data server cluster, obtain data server cluster Each perpetual object the last time delivers the second timestamp of micro-blog information;
Subelement is selected, for selecting user mark of second timestamp from current nearest predetermined number perpetual object Know.
Preferably, third acquiring unit, comprising:
Second acquisition subelement obtains predetermined number for the user identifier according to predetermined number perpetual object respectively The mark of the corresponding data server of each perpetual object in a perpetual object;
Second transmission sub-unit, the user for sending each perpetual object in predetermined number perpetual object respectively mark Know to the corresponding data server of each perpetual object in data server cluster, makes the corresponding data clothes of each perpetual object Business device counts the corresponding number for not reading micro-blog information of each perpetual object respectively;
Receiving subelement, each perpetual object sent respectively for receiving the corresponding data server of each perpetual object The corresponding number for not reading micro-blog information.
Preferably, display module 302, comprising:
Sequencing unit, for delivering the second timestamp of micro-blog information according to perpetual object the last time, to perpetual object User identifier be ranked up;
Display unit, for showing the user identifier and perpetual object corresponding micro-blog information of the perpetual object after sequence Number.
In embodiments of the present invention, the concern pair of the first user is obtained from server according to the user identifier of the first user As the corresponding number for not reading micro-blog information, shows the user identifier of perpetual object and perpetual object is corresponding does not read micro-blog information Number selected from the user identifier for the perpetual object that terminal is shown when the first user wants to understand the recent developments of certain perpetual object The user identifier for selecting perpetual object, according to the user identifier of the perpetual object of the first user selection, from the perpetual object of selection Obtained in outbox selection perpetual object it is corresponding do not read micro-blog information, thus improve obtain perpetual object micro-blog information Efficiency.Further, terminal can also only obtain user's mark of the newest predetermined number perpetual object for delivering micro-blog information The number for not reading micro-blog information corresponding with predetermined number perpetual object is known, to save the resource of server, further Improve the efficiency for obtaining perpetual object micro-blog information.
Embodiment 4
The embodiment of the invention provides a kind of devices for obtaining micro-blog information.Referring to fig. 4, wherein the device includes:
First receiving module 401, the user identifier of the first user for receiving terminal transmission;
Third obtains module 402, and the perpetual object for obtaining the first user according to the user identifier of the first user is corresponding The number for not reading micro-blog information;
First sending module 403, the corresponding microblogging of not reading of user identifier and perpetual object for sending perpetual object are believed The number of breath makes the first user select the user identifier of perpetual object to terminal;
4th obtains module 404, for the user identifier according to the perpetual object of selection, from the hair of the perpetual object of selection The perpetual object that selection is obtained in part case corresponding does not read micro-blog information;
Second sending module 405, for send obtain do not read micro-blog information to terminal.
Preferably, device further include:
Second receiving module, for receiving the user identifier and concern of the perpetual object that the corresponding terminal of perpetual object is sent The micro-blog information that object is delivered;
Memory module, for the user identifier according to perpetual object, the micro-blog information that perpetual object is delivered is stored in pass In the outbox for infusing object.
In embodiments of the present invention, server obtains the perpetual object pair of the first user according to the user identifier of the first user That answers does not read the number of micro-blog information, sends the user identifier and the corresponding number for not reading micro-blog information of perpetual object of perpetual object Mesh is to terminal, and terminal shows the user identifier and the corresponding number for not reading micro-blog information of perpetual object of perpetual object, when first When user wants to understand the recent developments of certain perpetual object, the use of perpetual object is selected from the user identifier for the perpetual object that terminal is shown Family mark, the user identifier for the perpetual object that server is selected according to the first user, from the outbox of the perpetual object of selection Obtain selection perpetual object it is corresponding do not read micro-blog information, send acquisition does not read micro-blog information to terminal, to improve Obtain the efficiency of the micro-blog information of perpetual object.
Embodiment 5
Referring to FIG. 5, it illustrates, with the terminal structure schematic diagram of touch sensitive surface, be somebody's turn to do involved in the embodiment of the present invention The method for the progress identifying code verifying that terminal can be used for implementing providing in above-described embodiment.Specifically:
Terminal 900 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 5 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 900 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 900 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 5 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 900 is touch-screen display, and terminal 900 further includes having memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor execution states one or more than one program includes the instruction for performing the following operation:
The perpetual object that first user is obtained from server according to the user identifier of the first user is corresponding not to be read The number of micro-blog information;
The user identifier and the corresponding number for not reading micro-blog information of the perpetual object for showing the perpetual object, make institute State the user identifier that the first user selects perpetual object;
According to the user identifier of the selected perpetual object, institute is obtained from the outbox of the selected perpetual object The perpetual object for stating selection corresponding does not read micro-blog information.
Preferably, the user identifier according to the first user obtains the perpetual object of first user from server The corresponding number for not reading micro-blog information, comprising:
According to the user identifier of the first user, the information note of the perpetual object of first user is obtained from server It records, the user identifier and the perpetual object nearest one of the perpetual object is included at least in the information record of the perpetual object The secondary first time stamp for delivering micro-blog information;
It is recorded according to the information of the perpetual object of first user, obtains the newest predetermined number for delivering micro-blog information The user identifier of perpetual object;
According to the user identifier of each perpetual object in the predetermined number perpetual object, obtain respectively described each The corresponding number for not reading micro-blog information of perpetual object.
Preferably, if the perpetual object deletes its microblogging delivered after the first time stamp for delivering micro-blog information Information, then the information record of the perpetual object further includes deleting mark;
The information of the perpetual object according to first user records, and obtains newest default for delivering micro-blog information The user identifier of several perpetual objects, comprising:
It is recorded according to the information of the perpetual object of first user and obtains third timestamp, wherein stamp is in institute at the first time It states third timestamp and starts into the perpetual object of first user of current time to include predetermined number without deleting mark The perpetual object of knowledge;
It sends to stab at the first time and starts the perpetual object to first user of current time in the third timestamp In include each perpetual object user identifier to data server cluster, obtain the data server cluster described every A perpetual object the last time delivers the second timestamp of micro-blog information;
Select the second timestamp from the user identifier of current nearest predetermined number perpetual object.
Preferably, the user identifier according to each perpetual object in the predetermined number perpetual object, respectively Obtain the corresponding number for not reading micro-blog information of each perpetual object, comprising:
According to the user identifier of the predetermined number perpetual object, obtained in the predetermined number perpetual object respectively Each perpetual object data server mark;
The user identifier of each perpetual object in predetermined number perpetual object is sent respectively to data server cluster In the corresponding data server of each perpetual object, so that the corresponding data server of each perpetual object is united respectively Count the corresponding number for not reading micro-blog information of each perpetual object;
It is corresponding to receive each perpetual object that the corresponding data server of each perpetual object is sent respectively The number of micro-blog information is not read.
Preferably, the user identifier of the display perpetual object and perpetual object is corresponding does not read micro-blog information Number, comprising:
The second timestamp that micro-blog information is delivered according to described perpetual object the last time, to the user of the perpetual object Mark is ranked up;
The user identifier of the perpetual object after the display sequence and perpetual object is corresponding does not read micro-blog information Number.
In embodiments of the present invention, the concern pair of the first user is obtained from server according to the user identifier of the first user As the corresponding number for not reading micro-blog information, shows the user identifier of perpetual object and perpetual object is corresponding does not read micro-blog information Number selected from the user identifier for the perpetual object that terminal is shown when the first user wants to understand the recent developments of certain perpetual object The user identifier for selecting perpetual object, according to the user identifier of the perpetual object of the first user selection, from the perpetual object of selection Obtained in outbox selection perpetual object it is corresponding do not read micro-blog information, thus improve obtain perpetual object micro-blog information Efficiency.Further, terminal can also only obtain user's mark of the newest predetermined number perpetual object for delivering micro-blog information The number for not reading micro-blog information corresponding with predetermined number perpetual object is known, to save the resource of server, further Improve the efficiency for obtaining perpetual object micro-blog information.
Embodiment 6
Fig. 6 is the structural schematic diagram of server provided in an embodiment of the present invention.The server 1900 can be because of configuration or performance It is different and generate bigger difference, it may include one or more central processing units (central processing Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into One step, central processing unit 1922 can be set to communicate with storage medium 1930, execute storage medium on server 1900 Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
Server 1900 may include have memory and one perhaps more than one program one of them or one A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor A procedure above includes the instruction for performing the following operation:
Receive the user identifier for the first user that terminal is sent;
The perpetual object for obtaining first user according to the user identifier of first user is corresponding not to read microblogging letter The number of breath;
The user identifier and the corresponding number for not reading micro-blog information of the perpetual object for sending the perpetual object are to institute Terminal is stated, first user is made to select the user identifier of perpetual object;
According to the user identifier of the selected perpetual object, institute is obtained from the outbox of the selected perpetual object The perpetual object for stating selection corresponding does not read micro-blog information;
Send the acquisition does not read micro-blog information to the terminal.
Preferably, the user identifier according to the selected perpetual object, from the hair of the selected perpetual object Before obtaining that the selected perpetual object is corresponding in part case and not reading micro-blog information, the method also includes:
Receive the perpetual object that the corresponding terminal of the perpetual object is sent user identifier and the perpetual object The micro-blog information delivered;
According to the user identifier of the perpetual object, the micro-blog information that the perpetual object is delivered is stored in the concern In the outbox of object.
In embodiments of the present invention, server obtains the perpetual object pair of the first user according to the user identifier of the first user That answers does not read the number of micro-blog information, sends the user identifier and the corresponding number for not reading micro-blog information of perpetual object of perpetual object Mesh is to terminal, and terminal shows the user identifier and the corresponding number for not reading micro-blog information of perpetual object of perpetual object, when first When user wants to understand the recent developments of certain perpetual object, the use of perpetual object is selected from the user identifier for the perpetual object that terminal is shown Family mark, the user identifier for the perpetual object that server is selected according to the first user, from the outbox of the perpetual object of selection Obtain selection perpetual object it is corresponding do not read micro-blog information, send acquisition does not read micro-blog information to terminal, to improve Obtain the efficiency of the micro-blog information of perpetual object.
It should be understood that it is provided by the above embodiment obtain micro-blog information device when obtaining micro-blog information, only with The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not Same functional module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above Or partial function.In addition, the device provided by the above embodiment for obtaining micro-blog information and the method for obtaining micro-blog information are implemented Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (11)

1. a kind of method for obtaining micro-blog information, which is characterized in that the described method includes:
According to the user identifier of the first user, the information record of the perpetual object of first user, institute are obtained from server State the user identifier and hair of described perpetual object the last time that the perpetual object is included at least in the information record of perpetual object The first time of table micro-blog information stabs, and the perpetual object deletes its hair after the first time stamp for delivering the micro-blog information The micro-blog information of table, then the information record of the perpetual object further includes deleting mark;
It is recorded according to the information of the perpetual object of first user and obtains third timestamp, wherein the third time Stamp is to stab to arrive farthest sequence recently from current time according to the first time, to the use of the perpetual object of first user Family mark is ranked up, and obtains the several user identifiers without deleting the perpetual object of mark of current preset, is obtained each The timestamp that the first time farthest from current time stabs in the corresponding first time stamp of perpetual object;
It sends the first time stamp and starts the perpetual object to first user of current time in the third timestamp In include each perpetual object the user identifier to data server cluster, so that the data server cluster is obtained institute State the second timestamp that each perpetual object the last time delivers the micro-blog information, wherein when the micro-blog information is deleted When, the second timestamp of the micro-blog information is deleted from corresponding micro-blog information list;
Select second timestamp from the user identifier of current nearest predetermined number perpetual object;
According to the user identifier of each perpetual object in the predetermined number perpetual object, each concern is obtained respectively The corresponding number for not reading micro-blog information of object;
The user identifier and the corresponding number for not reading micro-blog information of the perpetual object for showing the perpetual object, make institute State the user identifier that the first user selects the perpetual object;
According to the user identifier of the perpetual object of selection, selection is obtained from the outbox of the perpetual object of selection The perpetual object is corresponding not to read micro-blog information.
2. the method as described in claim 1, which is characterized in that the method, further includes:
According to the user identifier of the predetermined number perpetual object, obtain respectively every in the predetermined number perpetual object The mark of the data server of a perpetual object;
The user identifier of each perpetual object in predetermined number perpetual object is sent respectively in data server cluster The corresponding data server of each perpetual object, makes the corresponding data server of each perpetual object count institute respectively State the corresponding number for not reading micro-blog information of each perpetual object;
Receive that each perpetual object that the corresponding data server of each perpetual object is sent respectively is corresponding not to be read The number of micro-blog information.
3. the method as described in claim 1, which is characterized in that the user identifier of the display perpetual object and the pass The corresponding number for not reading micro-blog information of note object, comprising:
Second timestamp that micro-blog information is delivered according to described perpetual object the last time, to the user of the perpetual object Mark is ranked up;
The user identifier and the corresponding number for not reading micro-blog information of the perpetual object of the perpetual object after display sequence.
4. a kind of method for obtaining micro-blog information, which is characterized in that the described method includes:
Receive the user identifier for the first user that terminal is sent;
The perpetual object for obtaining first user according to the user identifier of first user is corresponding not to read micro-blog information Number, the corresponding number for not reading micro-blog information of the perpetual object of first user are the perpetual objects according to the first user Information record obtain third timestamp, and receive terminal transmission first time stamp the third timestamp start to it is current when Between first user perpetual object in, each perpetual object the last time delivers the second timestamp of the micro-blog information Afterwards, the user identifier according to second timestamp from current nearest predetermined number perpetual object acquires, wherein The perpetual object deletes its micro-blog information delivered after the first time stamp for delivering the micro-blog information, then described The information record of perpetual object further includes deleting mark, and the third timestamp is to stab according to the first time from current time Farthest sequence is arrived recently, the user identifier of the perpetual object of the first user is ranked up, and it is several to obtain current preset The user identifier for not deleting the perpetual object of mark obtains in the corresponding first time stamp of each perpetual object from current time The timestamp that farthest first time stabs, when the micro-blog information is deleted, the second timestamp of the micro-blog information It is deleted from corresponding micro-blog information list;
The user identifier and the corresponding number for not reading micro-blog information of the perpetual object for sending the perpetual object are to the end End makes first user select the user identifier of perpetual object;
According to the user identifier of the selected perpetual object, the choosing is obtained from the outbox of the selected perpetual object The perpetual object selected is corresponding not to read micro-blog information;
Send the acquisition does not read micro-blog information to the terminal.
5. method as claimed in claim 4, which is characterized in that the user identifier according to the selected perpetual object, Before obtaining that the selected perpetual object is corresponding in the outbox of the selected perpetual object and not reading micro-blog information, institute State method further include:
The user identifier and the perpetual object for receiving the perpetual object that the corresponding terminal of the perpetual object is sent are delivered Micro-blog information;
According to the user identifier of the perpetual object, the micro-blog information that the perpetual object is delivered is stored in the perpetual object Outbox in.
6. a kind of device for obtaining micro-blog information, which is characterized in that described device includes:
First acquisition unit obtains the concern of first user for the user identifier according to the first user from server The information of object records, user identifier and the pass in the information record of the perpetual object including at least the perpetual object Note object the last time delivers the first time stamp of micro-blog information, and the perpetual object is in the first time stamp for delivering micro-blog information Its micro-blog information delivered is deleted later, then the information record of the perpetual object further includes deleting mark;
First obtains subelement, and the information record for the perpetual object according to first user obtains third timestamp, In, the third timestamp is to stab to arrive farthest sequence recently from current time according to the first time, is used described first The user identifier of the perpetual object at family is ranked up, and obtains the several use without deleting the perpetual object of mark of current preset Family mark obtains the time that first time farthest from current time in each perpetual object corresponding first time stamp stabs Stamp;
First transmission sub-unit starts described first to current time in the third timestamp for sending to stab at the first time The user identifier for each perpetual object for including in the perpetual object of user makes the data server to data server cluster Cluster obtains the second timestamp for described each perpetual object the last time delivering micro-blog information, wherein when the micro-blog information When being deleted, the second timestamp of the micro-blog information is deleted from corresponding micro-blog information list;
Subelement is selected, for selecting the second timestamp from the user identifier of current nearest predetermined number perpetual object;
Third acquiring unit is divided for the user identifier according to each perpetual object in the predetermined number perpetual object The corresponding number for not reading micro-blog information of each perpetual object is not obtained;
Display module, for showing the user identifier of the perpetual object and the perpetual object is corresponding does not read micro-blog information Number makes first user select the user identifier of perpetual object;
Second obtains module, for the user identifier according to the selected perpetual object, from the selected perpetual object Obtain that the selected perpetual object is corresponding not to read micro-blog information in outbox.
7. device as claimed in claim 6, which is characterized in that the third acquiring unit, comprising:
Second obtains subelement, for the user identifier according to the predetermined number perpetual object, obtains respectively described default The mark of the corresponding data server of each perpetual object in a several perpetual objects;
Second transmission sub-unit, for send respectively the user identifier of each perpetual object in predetermined number perpetual object to The corresponding data server of each perpetual object in data server cluster, makes the corresponding number of each perpetual object Count the corresponding number for not reading micro-blog information of each perpetual object respectively according to server;
Receiving subelement, each concern sent respectively for receiving the corresponding data server of each perpetual object The corresponding number for not reading micro-blog information of object.
8. device as claimed in claim 6, which is characterized in that the display module, comprising:
Sequencing unit, for delivering the second timestamp of micro-blog information according to described perpetual object the last time, to the concern The user identifier of object is ranked up;
Display unit, for show sequence after the perpetual object user identifier and the perpetual object it is corresponding do not read it is micro- The number of rich information.
9. a kind of device for obtaining micro-blog information, which is characterized in that described device includes:
First receiving module, the user identifier of the first user for receiving terminal transmission;
Third obtains module, and the perpetual object for obtaining first user according to the user identifier of first user is corresponding The number for not reading micro-blog information, the corresponding number for not reading micro-blog information of the perpetual object of first user is according to first The information record of the perpetual object of user obtains third timestamp, and the first time for receiving terminal transmission stabs in the third Between stab and start into the perpetual object of first user of current time, each perpetual object the last time delivers the microblogging User identifier after second timestamp of information, according to second timestamp from current nearest predetermined number perpetual object It acquires, wherein the perpetual object deletes its institute delivered after the first time stamp for delivering the micro-blog information Micro-blog information is stated, then the information record of the perpetual object further includes deleting mark, and the third timestamp is according to described the One timestamp arrives farthest sequence from current time recently, is ranked up to the user identifier of the perpetual object of the first user, and The several user identifiers without deleting the perpetual object of mark of current preset are obtained, each perpetual object corresponding first is obtained The timestamp that the first time farthest from current time stabs in timestamp, it is described micro- when the micro-blog information is deleted Second timestamp of rich information is deleted from corresponding micro-blog information list;
First sending module, the corresponding microblogging of not reading of user identifier and the perpetual object for sending the perpetual object are believed The number of breath gives the terminal, and first user is made to select the user identifier of perpetual object;
4th obtains module, for the user identifier according to the selected perpetual object, from the selected perpetual object Obtain that the selected perpetual object is corresponding not to read micro-blog information in outbox;
Second sending module does not read micro-blog information to the terminal for send the acquisition.
10. device as claimed in claim 9, which is characterized in that described device further include:
Second receiving module, for receive the perpetual object that the corresponding terminal of the perpetual object is sent user identifier and The micro-blog information that the perpetual object is delivered;
Memory module, for the user identifier according to the perpetual object, the micro-blog information that the perpetual object is delivered is stored In the outbox of the perpetual object.
11. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction Collection is loaded by processor and is executed to realize the method as claimed in claim 1 to 5 for obtaining micro-blog information.
CN201410288851.0A 2014-06-24 2014-06-24 A kind of method and apparatus obtaining micro-blog information Active CN105208064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410288851.0A CN105208064B (en) 2014-06-24 2014-06-24 A kind of method and apparatus obtaining micro-blog information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410288851.0A CN105208064B (en) 2014-06-24 2014-06-24 A kind of method and apparatus obtaining micro-blog information

Publications (2)

Publication Number Publication Date
CN105208064A CN105208064A (en) 2015-12-30
CN105208064B true CN105208064B (en) 2019-07-30

Family

ID=54955492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410288851.0A Active CN105208064B (en) 2014-06-24 2014-06-24 A kind of method and apparatus obtaining micro-blog information

Country Status (1)

Country Link
CN (1) CN105208064B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213153B (en) * 2018-05-21 2021-12-28 腾讯科技(深圳)有限公司 Display method, acquisition method, device, terminal and storage medium of unread messages
CN109614555A (en) * 2018-12-27 2019-04-12 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus for generating ranking list

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387182A (en) * 2010-09-06 2012-03-21 腾讯科技(深圳)有限公司 Method and device for managing listener list information of microblog users
CN103095684A (en) * 2012-12-13 2013-05-08 微梦创科网络科技(中国)有限公司 Method obtaining attention user aggregate information, device and system
CN103389853A (en) * 2012-05-11 2013-11-13 金蝶软件(中国)有限公司 Microblog display method and system
CN103795611A (en) * 2014-01-16 2014-05-14 同济大学 Microblog priority processing method based on non-time reversed order

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387182A (en) * 2010-09-06 2012-03-21 腾讯科技(深圳)有限公司 Method and device for managing listener list information of microblog users
CN103389853A (en) * 2012-05-11 2013-11-13 金蝶软件(中国)有限公司 Microblog display method and system
CN103095684A (en) * 2012-12-13 2013-05-08 微梦创科网络科技(中国)有限公司 Method obtaining attention user aggregate information, device and system
CN103795611A (en) * 2014-01-16 2014-05-14 同济大学 Microblog priority processing method based on non-time reversed order

Also Published As

Publication number Publication date
CN105208064A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
CN104965721B (en) The method and device that a kind of pair of application program is updated
CN105490919B (en) Message cancelling method and device
CN104519485B (en) Communication means, device and system between a kind of terminal
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104618217B (en) Share method, terminal, server and the system of resource
CN104142868B (en) Establish the method and device of connection
CN104965641B (en) information display method and device
CN104571787B (en) A kind of message display method and communication terminal
CN104679381B (en) Switch the method and device of chat window
CN104252341B (en) The client device of the skin change method of application program, device and application program
CN105871694B (en) Instant messaging service processing method and processing device
CN106231433B (en) A kind of methods, devices and systems playing network video
KR101813437B1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
CN105530239B (en) Multi-medium data acquisition methods and device
CN104424211B (en) A kind of dissemination method of the business datum based on microblogging, device and system
CN104021129B (en) Show the method and terminal of group picture
CN104516624B (en) A kind of method and device inputting account information
CN104991699B (en) A kind of method and apparatus of video display control
CN106254910A (en) A kind of method and apparatus recording image
CN106303605B (en) A kind of methods, devices and systems to send a notification message
CN107465802A (en) A kind of methods, devices and systems for showing communication message
CN104660769B (en) A kind of methods, devices and systems for adding associated person information
CN105550316B (en) The method for pushing and device of audio list
CN105897917B (en) Multi-medium data sharing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant