Summary of the invention
In view of this, the embodiment of the present invention provides a kind of display packing of headline and for the server of news pages is provided, when can highlighting hot news, can save manpower, can reflect in time that again hot news is due ageing.
On the one hand, the display packing of a kind of headline of the embodiment of the present invention, comprising:
Provide headline list to news client; Wherein, described headline list is made up of the corresponding headline of news pages being kept in database, and described headline list is after news client reads, in news client shows to user;
Receive user's clicks and/or the comment number of news client records each headline that report, in described headline list;
In statistics predetermined amount of time, user's clicks of headline and/or comment number described in each, and filter out the headline of user's clicks and/or the forward predetermined number of comment number;
Automatically the headline of the described predetermined number filtering out is highlighted to processing so that described in the headline of the predetermined number that filters out after news client reads, highlight to user in news client.
Alternatively, describedly automatically the headline of the described predetermined number filtering out is highlighted to processing, comprising: automatically the headline of the described predetermined number filtering out is done to top set processing.
Alternatively, describedly automatically the headline of the described predetermined number filtering out is done to top set processing, comprising:
Automatically the headline to the described predetermined number filtering out, adds top set field identification; Wherein, described top set field identification, is used to indicate news client and reads after described headline list, according to described top set field identification, automatically the headline with described top set field identification is carried out to top set demonstration.
Alternatively, describedly automatically the headline of the described predetermined number filtering out is done to top set processing, comprising:
Automatically by the headline of the described predetermined number filtering out, move to top set storehouse from initial storehouse, the headline of the described predetermined number filtering out is deleted from initial storehouse simultaneously; Wherein, the headline list in described initial storehouse, after news client reads, shows according to the mode of acquiescence in news client; The headline list of the headline composition of the described predetermined number in described top set storehouse, after news client reads, carries out top set demonstration automatically in news client.
Alternatively, describedly automatically the headline of the described predetermined number filtering out is highlighted to processing, comprising: the headline to the described predetermined number filtering out automatically, add color field mark; Wherein, described color field mark, is used to indicate news client and reads after described headline list, according to described color field mark, automatically highlights carrying out color with the headline of described color field mark.
The quantity of the described headline filtering out alternatively, is 2,3 or 4; Wherein, the described headline filtering out is according to user's clicks and/or comment number, and sequence forms headline list successively from high to low.
Alternatively, after automatically the headline of the described predetermined number filtering out being highlighted to processing, also comprise: through predetermined time, automatically to highlighting the headline of processing, recover acquiescence Graphics Processing, so that the headline of giving tacit consent to Graphics Processing through over recovery, after news client reads, is shown to user in news client in the mode of acquiescence.
On the other hand, it is a kind of for the server of news pages is provided that the embodiment of the present invention provides, and comprising: database, for depositing the news pages editting, and provides to news client the headline list being made up of the corresponding headline of news pages; Wherein, described headline list after news client reads, in news client shows to user; Data receiver unit, for receiving user's clicks and/or the comment number of news client records each headline that report, described headline list; Data statistics unit, for adding up in predetermined amount of time, user's clicks of headline and/or comment number described in each, and filter out the headline of user's clicks and/or the forward predetermined number of comment number; Highlight processing unit, for automatically the headline of the described predetermined number filtering out being highlighted to processing so that described in the headline of the predetermined number that filters out after news client reads, highlight to user in news client.
Alternatively, described in highlight processing unit and comprise: top set processing module, for automatically the headline of the described predetermined number filtering out being done to top set processing.
Alternatively, described top set processing module comprises: top set field is added submodule, for the automatic headline to the described predetermined number filtering out, adds top set field identification; Wherein, described top set field identification, is used to indicate news client and reads after described headline list, according to described top set field identification, automatically the headline with described top set field identification is carried out to top set demonstration.
Alternatively, described database comprises: initial storehouse and top set storehouse; Wherein, described initial storehouse is for the list of the headline for showing by acquiescence mode in news client is provided, and described top set storehouse is for providing the headline list for carry out top set demonstration in news client; Wherein, described top set processing module comprises: headline migration submodule, for by the headline of the user's clicks filtering out from described initial storehouse and/or the forward predetermined number of comment number, delete the headline of the described predetermined number filtering out simultaneously from initial storehouse in the top set storehouse of moving into from described initial storehouse.
Alternatively, described in, highlighting processing unit comprises: color field is added module, for the automatic headline to the described predetermined number filtering out, adds color field mark; Wherein, described color field mark, is used to indicate news client and reads after described headline list, according to described color field mark, automatically highlights carrying out color with the headline of described color field mark.
The quantity of the described headline filtering out alternatively, is 2,3 or 4; Wherein said top set processing module comprises: sequence submodule, for to the described headline filtering out according to user's clicks and/or comment number, from high to low successively sequence.
Alternatively, described server, also comprise: highlight recovery unit, for highlighting after processing unit highlights processing to the headline of the described predetermined number filtering out automatically described, through predetermined time, automatically to highlighting the headline of processing, recover acquiescence Graphics Processing, so that the headline of giving tacit consent to Graphics Processing through over recovery, after news client reads, is shown to user in news client in the mode of acquiescence.
The display packing of the headline that the embodiment of the present invention provides and for the server of news pages is provided, can receive news client records user's clicks that report, each headline and/or comment number, in statistics predetermined amount of time, user's clicks of headline and/or comment number described in each, filter out the headline of the forward predetermined number of user's clicks and/or comment number, and automatically the headline of the described predetermined number filtering out is highlighted to processing.So not only being convenient to news client highlights hot news, and automatically carry out according to described the selection result owing to the headline of described predetermined number being highlighted process, not only save manpower, can reflect in time that again hot news is due ageing.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, the display packing embodiment of a kind of headline of the present invention, comprises step:
S1, provide headline list to news client; Wherein, described headline list is made up of the corresponding headline of news pages being kept in database, and described headline list is after news client reads, in news client shows to user;
S2, the user's clicks that receives news client records each headline that report, in described headline list and/or comment number;
In S3, statistics predetermined amount of time, user's clicks of headline and/or comment number described in each, and filter out the headline of user's clicks and/or the forward predetermined number of comment number;
S4, automatically the headline of the described predetermined number filtering out is highlighted to processing so that described in the headline of the predetermined number that filters out after news client reads, highlight to user in news client.
The display packing of the headline that the embodiment of the present invention provides, can receive news client records user's clicks that report, each headline and/or comment number, in statistics predetermined amount of time, user's clicks of headline and/or comment number described in each, filter out the headline of the forward predetermined number of user's clicks and/or comment number, and automatically the headline of the described predetermined number filtering out is highlighted to processing.So not only being convenient to news client highlights hot news, and automatically carry out according to described the selection result owing to the headline of described predetermined number being highlighted process, not only save manpower, can reflect in time that again hot news is due ageing.
Below the display packing embodiment to a kind of headline provided by the present invention is elaborated.
In step S1, provide headline list to news client.
In the present embodiment, news editor personnel are submitted to the headline editting and corresponding news pages in database, database is preserved news pages, and by corresponding each news pages headline, offers news client with the form of headline list.In headline list, putting in order of each headline acquiescence is the priority time sequencing arrangement while being submitted to database according to each headline.
When news client reads after these headline lists, these headline lists will be in news client shows to user.Shown headline list on the news web page that news client is opened, consistent with the headline list in database.News wherein can be the news that news editor personnel oneself gather and edit, and can be also the news of reprinting.
News client described in the embodiment of the present invention is a kind of for reading the application software of news for user, and as Sina News client, Tengxun's news client etc., news client can be arranged on mobile terminal as on mobile phone.
In step S2, receive user's clicks and/or the comment number of news client records each headline that report, in described headline list.
When user reads when news by news client, just need to click headline, news client user to the click of a certain headline after, the web page contents corresponding with this headline will be showed to user.Below web page contents, comment hurdle also can be provided, user can make comments to this news in comment hurdle.Record is carried out in the action that news client can be clicked certain headline to user, and the number of the comment that also can deliver user is carried out record, and these records are reported to background server.
Can regularly receive, as every 5 minutes or every within 10 minutes, receive news client records and report, as described in user's clicks and/or the comment number of each headline in headline list.
By receiving user's clicks and/or the comment number of news client records each headline that report, in described headline list, convenient each news client records user's clicks that report, each headline and/or comment number are added up.
In step S3, in statistics predetermined amount of time, user's clicks of headline and/or comment number described in each, and filter out the headline of user's clicks and/or the forward predetermined number of comment number.
In statistics predetermined amount of time, described in each, user's clicks of headline and/or comment number, can learn in predetermined amount of time, the popular degree of concern to certain news.Can filter out thus several the news that public concern degree is high, namely can filter out the headline of the forward predetermined number of user's clicks and/or comment number.Wherein, described predetermined amount of time can be the predetermined amount of time (being called for short historical predetermined amount of time) in historical certain period, can be also current predetermined amount of time (being called for short current predetermined amount of time).In one embodiment of the invention, described predetermined amount of time is preferably current predetermined amount of time.
The concrete mode that filters out the headline of the forward predetermined number of user's clicks and/or comment number, can adopt following three kinds:
1. in the current predetermined amount of time of statistics as in current 5 days, user's clicks of each headline, and each headline is sorted from high to low according to user's clicks, then choose the headline of sequence predetermined number formerly, as choose sequence two headline formerly, these two headline can be described as top2 headline.
2. in the current predetermined amount of time of statistics as in current 6 days, the user comment number of each headline, and each headline is sorted from high to low according to user comment number, then choose the headline of sequence predetermined number formerly, as choose sequence three headline formerly, these three headline can be described as top3 headline.
3. in the current predetermined amount of time of statistics as in current 7 days, user's clicks and the user comment of each headline are counted sum, and each headline is counted to the numerical values recited of sum according to user's clicks and user comment, sort from high to low, then choose the headline of sequence predetermined number formerly, as choose sequence four headline formerly, these four headline can be described as top4 headline.
In present embodiment, described current predetermined amount of time refers to from current time point, the time period of retrodicting backward and subscribing.Such as, be 5 days if set current predetermined amount of time, and current date is June 6, current predetermined amount of time is that June 1 was to June 6.
In the embodiment of the present invention, the quantity of the described headline filtering out can be 2,3 or 4, the invention is not restricted to this.The described headline filtering out also can be according to user's clicks and/or comment number, and sequence forms headline list successively from high to low.
In step S4, automatically the headline of the described predetermined number filtering out is highlighted to processing so that described in the headline of the predetermined number that filters out after news client reads, highlight to user in news client.
Alternatively, in one embodiment of the invention, automatically the headline of the described predetermined number filtering out is highlighted to processing, comprising: automatically the headline of the described predetermined number filtering out is done to top set processing.Like this, when news client reads after the headline of these predetermined number, the headline of these predetermined number will be with the form of top set in news client shows to user.
In the above-described embodiments, automatically the headline of the described predetermined number filtering out is done to top set processing, can comprise: the headline to the described predetermined number filtering out automatically, add top set field identification, as add field zd, the value of this field is 1 expression top set, is 0 to represent not top set, show by acquiescence mode, the time order and function order that is pressed into database shows; Wherein, described top set field identification, is used to indicate news client and reads after described headline list, according to described top set field identification, automatically the headline with described top set field identification is carried out to top set demonstration.
About to the mode of automatically headline of the described predetermined number filtering out being done top set processing, the invention is not restricted to this, also can comprise: automatically by the headline of the described predetermined number filtering out, move to top set storehouse from initial storehouse, the headline of the described predetermined number filtering out is deleted from initial storehouse simultaneously; Wherein, the headline list in described initial storehouse, after news client reads, shows according to the mode of acquiescence in news client; The headline list of the headline composition of the described predetermined number in described top set storehouse, after news client reads, carries out top set demonstration automatically in news client.
Alternatively, in another embodiment of the present invention, automatically the headline of the described predetermined number filtering out is highlighted to processing, comprising: the headline to the described predetermined number filtering out automatically, add color field mark; Wherein, described color field mark, is used to indicate news client and reads after described headline list, according to described color field mark, automatically highlight carrying out color with the headline of described color field mark, as shown in red etc., to play eye-catching effect.
In the display packing embodiment of a kind of headline of the present invention, in step S4, automatically the headline of the described predetermined number filtering out is highlighted to processing, be not limited to the method described in above-described embodiment, also can adopt alternate manner, such as adding " hot " printed words or symbol etc.Read after described headline list in news client, these headline, in the time of news client shows, can show " hot " printed words or symbol on the side of headline.
In the display packing embodiment of headline of the present invention, after automatically the headline of the described predetermined number filtering out being highlighted to processing, can also comprise: through predetermined time, automatically to highlighting the headline of processing, recover acquiescence Graphics Processing, so that the headline of giving tacit consent to Graphics Processing through over recovery, after news client reads, is shown to user in news client in the mode of acquiescence.
In the present embodiment, ageing for the news that ensures to highlight, after automatically the headline of the described predetermined number filtering out being highlighted to processing, process predetermined time was such as 2 days, automatically to highlighting the headline of processing, recover acquiescence Graphics Processing, so that the headline of giving tacit consent to Graphics Processing through over recovery, after news client reads, is shown to user in news client in the mode of acquiescence.
In this case, in the time that news client reads described headline list, if find to have before this headline of the processing feature of highlighting, the feature that now highlights processing does not exist, such as field identification or the color field mark of top set do not exist, the mode that news client shows these headline with acquiescence is shown to user.
Referring to Fig. 2, the present invention is a kind of for the server embodiment of news pages is provided, comprise: database 1, for depositing the news pages editting, and provides to news client the headline list being made up of the corresponding headline of news pages; Wherein, described headline list after news client reads, in news client shows to user; Data receiver unit 2, for receiving user's clicks and/or the comment number of news client records each headline that report, described headline list; Data statistics unit 3, for adding up in predetermined amount of time, user's clicks of headline and/or comment number described in each, and filter out the headline of user's clicks and/or the forward predetermined number of comment number; Highlight processing unit 4, for automatically the headline of the described predetermined number filtering out being highlighted to processing so that described in the headline of the predetermined number that filters out after news client reads, highlight to user in news client.
The embodiment of the present invention provide for the server of news pages is provided, data receiver unit 2 can receive user's clicks and/or the comment number of news client records each headline that report, in described headline list, data statistics unit 3 is added up in predetermined amount of time, user's clicks of headline and/or comment number described in each, the headline that filters out the forward predetermined number of user's clicks and/or comment number, highlights processing unit 4 and automatically the headline of the described predetermined number filtering out is highlighted to processing.So not only being convenient to news client highlights hot news, and automatically carry out according to described the selection result owing to the headline of described predetermined number being highlighted process, not only save manpower, can reflect in time that again hot news is due ageing.
To a kind ofly be elaborated for the server implementation mode that news pages is provided to provided by the present invention below.
In the present embodiment, news editor personnel are submitted to the headline editting and corresponding news pages in database 1, database 1 is preserved news pages, and by corresponding each news pages headline, offers news client with the form of headline list.In headline list, putting in order of each headline acquiescence is the priority time sequencing arrangement while being submitted to database according to each headline.
When news client reads after these headline lists, these headline lists will be in news client shows to user.Shown headline list on the news web page that news client is opened, consistent with the headline list in database.News wherein can be the news that news editor personnel oneself gather and edit, and can be also the news of reprinting.
News client described in the embodiment of the present invention is a kind of for reading the application software of news for user, and as Sina News client, Tengxun's news client etc., news client can be arranged on mobile terminal as on mobile phone.
The present invention is for the server example of news pages is provided, and data receiver unit 2, for receiving user's clicks and/or the comment number of news client records each headline that report, described headline list.
When user reads when news by news client, just need to click headline, news client user to the click of a certain headline after, the web page contents corresponding with this headline will be showed to user.Below web page contents, comment hurdle also can be provided, user can make comments to this news in comment hurdle.Record is carried out in the action that news client can be clicked certain headline to user, and the number of the comment that also can deliver user is carried out record, and these records are reported to server.
Can regularly receive, as every 5 minutes or received news client records user's clicks that report, each headline and/or comment number every 10 minutes.
By receiving user's clicks and/or the comment number of news client records each headline that report, in described headline list, convenient each news client records user's clicks that report, each headline and/or comment number are added up.
The present invention is for providing the server example of news pages, data statistics unit 3, be used for adding up in predetermined amount of time, user's clicks of headline and/or comment number described in each, and filter out the headline of user's clicks and/or the forward predetermined number of comment number.
In statistics predetermined amount of time, described in each, user's clicks of headline and/or comment number, can learn in current predetermined amount of time, the popular degree of concern to certain news.Can filter out thus several the news that public concern degree is high, namely can filter out the headline of the forward predetermined number of user's clicks and/or comment number.
Data statistics unit 3 filters out user's clicks and/or comments on the concrete mode of the headline of the forward predetermined number of number, can adopt the three kinds of described modes in said method embodiment, does not repeat them here.
Referring to Fig. 3, alternatively, the present invention is for server one embodiment of news pages is provided, described in highlight processing unit 4 and comprise: top set processing module 41, for automatically the headline of the described predetermined number filtering out being done to top set processing.Like this, when news client reads after the headline of these predetermined number, the headline of these predetermined number will be with the form of top set in news client shows to user.
Referring to Fig. 4, alternatively, the present invention is for providing server one embodiment of news pages, and described top set processing module 41 comprises: top set field is added submodule 410, for the automatic headline to the described predetermined number filtering out, add top set field identification, as add field zd, the value of this field is 1 expression top set, is 0 to represent not top set, show by acquiescence mode, the time order and function order that is pressed into database shows; Wherein, described top set field identification, is used to indicate news client and reads after described headline list, according to described top set field identification, automatically the headline with described top set field identification is carried out to top set demonstration.
Referring to Fig. 5, alternatively, the present invention is for providing server one embodiment of news pages, and described database 1 comprises: initial storehouse 10 and top set storehouse 11; Wherein, described initial storehouse 10 is for the list of the headline for showing by acquiescence mode in news client is provided, and described top set storehouse 11 is for providing the headline list for carry out top set demonstration in news client; Wherein, described top set processing module 41 comprises: headline migration submodule 411, for by the headline of the user's clicks filtering out from described initial storehouse and/or the forward predetermined number of comment number, delete the headline of the described predetermined number filtering out simultaneously from initial storehouse in the top set storehouse of moving into from described initial storehouse.
Referring again to Fig. 3, alternatively, the present invention is for server one embodiment of news pages is provided, described in highlight processing unit 4 and comprise: color field is added module 42, for the automatic headline to the described predetermined number filtering out, add color field mark; Wherein, described color field mark, is used to indicate news client and reads after described headline list, according to described color field mark, automatically highlight carrying out color with the headline of described color field mark, as shown in red etc., to play eye-catching effect.
The present invention is a kind of for the server example of news pages is provided, highlight processing unit 4 and automatically the headline of the described predetermined number filtering out is highlighted to processing, be not limited to the method described in above-described embodiment, also can adopt alternate manner, such as adding " hot " printed words or symbol etc.Read after described headline list in news client, these headline, in the time of news client shows, can show " hot " printed words or symbol on the side of headline.
Alternatively, the present invention is for providing server one embodiment of news pages, and the quantity of the described headline filtering out is 2,3 or 4; Wherein said top set processing module 41 comprises: sequence submodule 412, for to the described headline filtering out according to user's clicks and/or comment number, from high to low successively sequence.
Referring again to Fig. 3, alternatively, the present invention is for providing server one embodiment of news pages, described server, also comprise: highlight recovery unit 5, for highlighting after processing unit 4 highlights processing to the headline of the described predetermined number filtering out automatically described, through predetermined time, automatically to highlighting the headline of processing, recover acquiescence Graphics Processing, so that the headline of giving tacit consent to Graphics Processing through over recovery, after news client reads, is shown to user in news client in the mode of acquiescence.
In the present embodiment, ageing for the news that ensures to highlight, highlight after processing unit 4 highlights processing to the headline of the described predetermined number filtering out automatically described, process predetermined time was such as 2 days, highlight recovery unit 5 automatically to highlighting the headline of processing, recover acquiescence Graphics Processing, so that the headline of giving tacit consent to Graphics Processing through over recovery, after news client reads, is shown to user in news client in the mode of acquiescence.
In this case, in the time that news client reads described headline list, if find to have before this headline of the processing feature of highlighting, the feature that now highlights processing does not exist, such as field identification or the color field mark of top set do not exist, the mode that news client shows these headline with acquiescence is shown to user.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.