Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
According to an aspect of the present invention, a kind of approaches to IM is provided.Fig. 1 illustrates the schematic flow sheet of approaches to IM 100 according to an embodiment of the invention.As shown in Figure 1, this approaches to IM 100 comprises the following steps:
In step S110, receive the display request about fresh information from client.
On the PC (PC) that client can be arranged on user and/or mobile terminal, for receiving information.User can to the display request of server transmission about fresh information by this client." information " as herein described can comprise any suitable data message of such as microblogging, web page news.The number of the fresh information of every page of display can be arranged by client by user.Now, the number of the number of pages of current display page and/or the fresh information of every page of display can be comprised in display request.In addition, the number of fresh information of every page of display also can write in program corresponding to this client, and the number of the fresh information of every page of display is normally fixing, does not rely on the change of user and changes.In the case, the number of the fresh information of every page of display can not be comprised in display request.
In step S120, determine the unique identifier of the information of the nearest display corresponding with client.
The identifier (ID) of information can be distributed by server by utilizing ID transmitter.For microblogging, machine room receive its responsible region, microblogging from the transmit leg client client of microblogging (send) time, utilize ID transmitter to distribute an identifier for microblogging.This identifier is that the overall situation is unique, and machine room can not distribute same identifier for different microblogging.Unique corresponding microblogging can be found by identifier.The identifier of microblogging normally receives according to machine room that time (namely issuing time) of microblogging encodes.For example, identifier can be the binary data of 64, and wherein, first 12 is time series, and middle 42 is machine sequencing, and last 10 is automatic sequence.That is, the identifier of information and time correlation.According to the information for current reading, the identifier of the information of the nearest display corresponding with this client can be determined, and using this identifier as unique identifier.
In step S130, based on this unique identifier search from the information aggregate corresponding with client issuing time after the information of recently display, number equals the information of specific display number.
For microblogging, the information aggregate corresponding with client can be all microbloggings of good friend's issue that user pays close attention to or also can be all microbloggings that user is issued by certain user that this client is being read.For news, the information aggregate corresponding with client can be the set of certain category information of such as top news, entertainment news, financial and economic news, Automotive News or the science and technology news etc. that user is being read by this client.Owing to comprising temporal information in identifier, the information issued after therefore can searching the information of display recently based on fixed unique identifier from above-mentioned information aggregate.In addition, according to the number of the fresh information of comprise in the display request of above-mentioned fresh information every page display, the information that number equals specific display number can also be found after the information of display recently.That is, specific display number can equal the number of the fresh information showing the every page of display comprised in request.For example, if the number of the fresh information of the every page of display comprised in display request is 30, then specific display number is 30.Thus, from the information aggregate corresponding with client, search 30 information of issuing time after the information of display recently.
In step S140, the information found is sent to client.
After finding the information being suitable for showing on the new display page of client, by wired or wireless mode, such as, via internet, client can be sent to.
According to approaches to IM provided by the invention, unique identifier due to the information according to the nearest display corresponding with client only searches the information of issuing time after the information of this display recently, that therefore greatly shortens information searches the time, avoid user to wait as long for the refreshing of fresh information, effectively improve Consumer's Experience.
Alternatively, unique identifier can be comprised in display request.User when sending the display request of fresh information, the part unique identifier of the information shown recently can asked as this display.Correspondingly, step S120 can comprise particularly extract unique identifier from display request, thus determines the unique identifier of the information of the nearest display corresponding with client.By which, the unique identifier of the information of display recently can be obtained quickly and easily.
Alternatively, the user account data of client can also be comprised in display request.Described user account data can comprise any account data for this user and other users being distinguished, such as name on account or account ID etc.In the case, the first local data base can be set up.First local data base is for storing the identifier of the information of the nearest display corresponding with different user account data.Exemplarily, can in the form of a list the identifier of the information of different user account data and their respective nearest displays be stored in the first local data base correspondingly.Exemplarily, after information being sent to client at every turn, the identifier of the last item information that the client that can store relative users account accordingly in the first local data base receives.The information that the last item information that client receives namely shows recently.
Based on this, step S120 can comprise particularly: the identifier of the information of the nearest display that inquiry is corresponding with user account data from this first local data base, to obtain unique identifier.Like this, after receiving display request, directly can inquire about the unique identifier of the information of the nearest display of corresponding account in the first local data base, without the need to being sent the unique identifier of the information of display recently again by client.In addition, client must not store the unique identifier of the information that this shows recently yet.And first local data base be usually stored in the stronger server of data-handling capacity.Like this, can accelerate the processing speed to information, user can obtain fresh information more quickly, improves Consumer's Experience.It should be noted that, in any embodiment that the method can be applied to above and hereinafter mention.
When showing request and comprising the above-mentioned user account data of client, alternatively, the second local data base can also be set up.Second local data base is for storing the information corresponding with different user account data.Correspondingly, the invention provides another preferred embodiment, in order to improve information processing rate further, the invention provides further preferred embodiment.Fig. 2 shows the schematic flow sheet of approaches to IM 200 in accordance with another embodiment of the present invention.The step S210 of approaches to IM 200, S220, S240 and S250 are corresponding with the step S110 of approaches to IM 100, S120, S130 and S140 respectively, those skilled in the art are appreciated that these steps according to the foregoing description about Fig. 1, for simplicity, do not repeat them here.According to the present embodiment, before step S240, approaches to IM 200 may further include step S230.
In step S230, the information that inquiry is corresponding with user account data from the second local data base, to obtain information aggregate.Like this, can be classified by the information of the second local data base to different clients, suitable information can be found more rapidly.
For microblogging, the microblogging of the microblog users issue that different user corresponding to different clients is paid close attention in the second local data base, can be stored.Such as, first user A has paid close attention to microblog users B, C and D, then, in the second local data base, can be stored in the information aggregate corresponding to the client of first user A by the microblogging that microblog users B, C and D issue; Second user a has paid close attention to microblog users b, c and d, then, in the second local data base, the microblogging that microblog users b, c and d issue can be stored in the information aggregate corresponding to the client of the second user a.Exemplarily, can in the form of a list the microblogging that the user account data of the client of first user A and the second user a is paid close attention to separately with them be respectively stored in the second local data base correspondingly, to generate their respective information aggregate.Like this, in step S240, for the display request of the client of first user A, only need to search suitable information based on special identifier from the information aggregate corresponding to first user A concern; Also be same reason for the second user a, only need to search suitable information in the information aggregate paid close attention at him.
For news, usually can classify to news in news client, different user may pay close attention to different classes of news, and selected in news client, generally can not often change.First user A have selected news category B, C and D, then, in the second local data base, the news information under news category B, C and D column can be stored in the information aggregate corresponding to the client of first user A; Second user a have selected news category b, c and d, then, in the second local data base, the news information under news category b, c and d column can be stored in the information aggregate corresponding to the client of the second user a.Exemplarily, can in the form of a list the user account data of the client of first user A and the second user a be stored in the second local data base with the news information under their news category selected separately respectively correspondingly, to generate their respective information aggregate.Like this, in step S240, for the display request of the client of first user A, only need from the news information set under the news category selected corresponding to first user A, to search suitable information based on special identifier; Also be same reason for the second user a, only need to search suitable information in the news information set under the news category selected at him.By classifying with the related information of different clients, the information of expectation can be found more rapidly.
In addition, it is also conceivable to the implementation that other information stores and inquires about.Such as, suppose that first user A has paid close attention to microblog users B, C and D, the second user a has paid close attention to microblog users b, c and d.In the second local data base, for each microblog users distributes independent storage space, the microblogging that each microblog users is issued is placed in respective storage space.That is, the microblogging that microblog users B, C, D, b, c and d issue can be stored in the storage space corresponding respectively with microblogging B, C, D, b, c and d.In addition, information management apparatus can store the incidence relation table between each microblog users and its microblog users paid close attention to.For first user A, information management apparatus can inquire about based on the incidence relation table of first user A the microblogging that microblog users B, C and D issue from the second local data base, these microbloggings is gathered the information aggregate that acquisition corresponds to the client of first user A.In like manner, for the second user a, information management apparatus can inquire about based on the incidence relation table of the second user a the microblogging that microblog users b, c and d issue from the second local data base, these microbloggings is gathered the information aggregate that acquisition corresponds to the client of the second user a.Certainly, be understandable that, also can not distribute independent storage space for each microblog users.For the microblogging from different microblog users, according to the information classification such as time, region, then the microblogging of other microblog users of same class can be placed on the same storage space of local data base.Storage and the inquiry of information can also adopt any other suitable mode to realize, and repeat no more.
It should be noted that, receive client send comprise the display request of user account data time, the information aggregate corresponding with this client can be determined, therefore, it is only example that step S230 is shown in Figure 2 for the implementation implemented after step S220, and step S230 can implement any suitable time after step S210 and before step S240.
In order to improve information processing rate further, the invention provides further preferred embodiment.Fig. 3 shows the schematic flow sheet of the approaches to IM 300 according to another embodiment of the present invention.The step S310 of approaches to IM 300, S320, S340 and S350 are corresponding with the step S110 of approaches to IM 100, S120, S130 and S140 respectively, those skilled in the art are appreciated that these steps according to the foregoing description about Fig. 1, for simplicity, only simply describe where necessary at this.According to the present embodiment, before step S340, method 300 may further include step S330.
In step S330, sort according to the information do not shown in the issuing time pair information aggregate corresponding with client.Alternatively, can often increase the new information issued in this information aggregate, just sort in real time according to its issuing time.Alternatively, also can every predetermined amount of time, such as 10 milliseconds, 20 milliseconds, 30 milliseconds etc., just according to it/their issuing time sorts to the new information issued.Alternatively, after such as inquiring information aggregate from above-mentioned second local data base, according to issuing time, the information do not shown in information aggregate can be sorted.Alternatively, as implementation step S340, can based on unique identifier, according to above-mentioned sequence from extracting directly issuing time corresponding information aggregate after the information shown recently, number equals the information of specific display number.Therefore, step S340 can comprise particularly from information aggregate, select issuing time after the information of display recently according to the order that sequences, number equals the information of specific display number.Such as, learn that based on unique identifier the information of display is recently No. 120 information, and specific display number is 10, so only needs extracting directly No. 121 to No. 130 information from information aggregate.Without the need to by the identification code the not showing information comparison one by one in the particular identification code of No. 120 information and information aggregate, thus seek rate can be accelerated.
For microblogging; microblog users can sporadically issue new microblogging usually; therefore information set credit union is constantly updated; therefore can frequently carry out according to issuing time sequence the information do not shown in information aggregate; therefore; it is only example that step S330 is shown in Figure 3 for the implementation implemented after step S320, and step S330 also can implement any suitable time before step S340.
Alternatively, display request can comprise specific display number.Specific display number refers to the number of the information shown on the new display page of client.Specific display number can by client notification server.Such as, specific display number can be included in display request and send to server.This mode can provide the information of suitable number for display to user targetedly.
Alternatively, specific display number can be acquiescence number.Acquiescence number can be unified, and such as, acquiescence number for all clients all can be set to 20.Acquiescence number also can change as required, such as, can arrange different acquiescence numbers for different clients.Adopt acquiescence number simple and convenient as the mode of specific display number, be easy to realize.
In addition, be understandable that, specific display number can set according to the data volume that can will show in the data volume of the information of client display and client every page.Such as, if will be comparatively large in the data volume of every bar information of client display, then several less information can be sent to client.On the contrary, if will be less in the data volume of every bar information of client display, then several more information can be sent to client.
According to another aspect of the present invention, a kind of information management apparatus is provided.Fig. 4 illustrates the schematic block diagram of information management apparatus 400 according to an embodiment of the invention.As shown in Figure 4, information management apparatus 400 comprises receiving trap 410, identifier determining device 420, searches device 430 and dispensing device 440.
Receiving trap 410 is for receiving the display request about fresh information from client.Display request can comprise specific display number.Specific display number can be acquiescence number.
Identifier determining device 420 is connected directly or indirectly with receiving trap 410 or communicates, for receiving this display request.Identifier determining device 420 is for determining the unique identifier of the information of the nearest display corresponding with client.Identifier determining device 420 can determine the unique identifier of the information of the nearest display corresponding with client according to above-mentioned display request.
Search device 430 be connected directly or indirectly with identifier determining device 420 or communicate, for search from the information aggregate corresponding with client based on unique identifier issuing time after the information of recently display, number equals the information of specific display number.
Dispensing device 440 with search device 430 and be connected directly or indirectly or communicate, for the information found is sent to client.
Receiving trap 410, identifier determining device 420, any one of searching in device 430 and dispensing device 440 can adopt any suitable hardware, software and/or firmware to realize.Receiving trap 410, identifier determining device 420, search device 430 and dispensing device 440 and can integrate or adopt separately device separately to realize, the present invention does not limit this.
Alternatively, the display request that receiving trap 410 receives can comprise unique identifier.Correspondingly, identifier determining device 420 can comprise extraction module.This extraction module is used for extracting described unique identifier from display request.
Alternatively, the display request that receiving trap 410 receives can comprise the user account data of client.Correspondingly, identifier determining device 420 can comprise enquiry module.This enquiry module is used for the identifier of the information of the nearest display that inquiry is corresponding with user account data from the first local data base, to obtain unique identifier.Wherein, the first local data base is for storing the identifier of the information of the nearest display corresponding with different user account data.
Alternatively, the display request that receiving trap 410 receives can comprise the user account data of client.Correspondingly, information management apparatus 400 may further include information query device, for the information that inquiry from the second local data base is corresponding with user account data, to obtain information aggregate.Wherein the second local data base is for storing the information corresponding with different user account data.
Alternatively, information management apparatus 400 may further include collator.This collator is used for sorting to the information do not shown in information aggregate according to issuing time.This collator can be connected directly or indirectly with searching device 430 or communicate.Alternatively, search device 430 and can comprise selection module, for select from information aggregate according to the order that sequences issuing time after the information of display recently, number equals the information of specific display number.
Be hereinbefore described the embodiment and advantage etc. of each step of approaches to IM, those skilled in the art's composition graphs 1-3 and above about the description of finish message method, be appreciated that the concrete structure of finish message equipment 400, the method for operation and advantage thereof etc., this do not repeated herein.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the information management apparatus of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of approaches to IM, comprising:
Receive the display request about fresh information from client;
Determine the unique identifier of the information of the nearest display corresponding with described client;
Based on described unique identifier search from the information aggregate corresponding with described client issuing time after the information of described nearest display, number equals the information of specific display number; And
The information found is sent to described client.
A2, approaches to IM as described in A1, described display request comprises described unique identifier,
Correspondingly, describedly determine that the unique identifier of the information of the nearest display corresponding with described client specifically comprises:
Described unique identifier is extracted from described display request.
A3, approaches to IM as described in A1, described display request comprises the user account data of described client,
Correspondingly, describedly determine that the unique identifier of the information of the nearest display corresponding with described client specifically comprises:
The identifier of the information of the nearest display that inquiry is corresponding with described user account data from the first local data base, to obtain described unique identifier,
Wherein, described first local data base is for storing the identifier of the information of the nearest display corresponding with different user account data.
A4, approaches to IM as described in any one of A1 to A3, described to search from the information aggregate corresponding with described client based on described unique identifier issuing time after the information of described nearest display, before number equals the information of specific display number, described approaches to IM comprises further:
According to issuing time, the information do not shown in described information aggregate is sorted.
A5, approaches to IM as described in A4, described based on described unique identifier search from the information aggregate corresponding with described client issuing time after the information of described nearest display, information that number equals specific display number specifically comprises:
According to the order sequenced select from described information aggregate issuing time after the information of described nearest display, number equals the information of described specific display number.
A6, approaches to IM as described in any one of A1 to A5, described display request comprises described specific display number.
A7, approaches to IM as described in any one of A1 to A5, described specific display number is acquiescence number.
A8, approaches to IM as described in any one of A1 to A7, described display request comprises the user account data of described client,
Correspondingly, described to search from the information aggregate corresponding with described client based on described unique identifier issuing time after the information of described nearest display, before number equals the information of specific display number, described approaches to IM comprises further:
The information that inquiry is corresponding with described user account data from the second local data base, to obtain described information aggregate,
Wherein, described second local data base is for storing the information corresponding with different user account data.
The embodiment of the invention also discloses B9, a kind of information management apparatus, comprising:
Receiving trap, for receiving the display request about fresh information from client;
Identifier determining device, for determining the unique identifier of the information of the nearest display corresponding with described client;
Search device, for search from the information aggregate corresponding with described client based on described unique identifier issuing time after the information of described nearest display, number equals the information of specific display number; And
Dispensing device, for sending to described client by the information found.
B10, information management apparatus as described in B9, described display request comprises described unique identifier,
Correspondingly, described identifier determining device comprises extraction module, for extracting described unique identifier from described display request.
B11, information management apparatus as described in B9, described display request comprises the user account data of described client,
Correspondingly, described identifier determining device comprises enquiry module, for inquiring about the identifier of the information of the nearest display corresponding with described user account data from the first local data base, to obtain described unique identifier,
Wherein, described first local data base is for storing the identifier of the information of the nearest display corresponding with different user account data.
B12, information management apparatus as described in any one of B9 to B11, described information management apparatus comprises further:
Collator, for sorting to the information do not shown in described information aggregate according to issuing time.
B13, information management apparatus as described in B12, described device of searching comprises selection module, for from described information aggregate, select issuing time after the information of described nearest display according to the order that sequences, number equals the information of described specific display number.
B14, information management apparatus as described in any one of B9 to B13, described display request comprises described specific display number.
B15, information management apparatus as described in any one of B9 to B13, described specific display number is acquiescence number.
B16, information management apparatus as described in any one of B9 to B15, described display request comprises the user account data of described client,
Correspondingly, described information management apparatus comprises information query device further, for the information that inquiry from the second local data base is corresponding with described user account data, to obtain described information aggregate,
Wherein, described second local data base is for storing the information corresponding with different user account data.