Summary of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of method and the receiving terminal for digital television that realize favor program guide, user can be made to find the program liked easily.
In order to solve the problems of the technologies described above, embodiments provide a kind of method realizing favor program guide, comprising:
Program according to user watches situation, the favor program antistop list of maintenance customer, and described favor program antistop list comprises: keyword title;
Searching epg EPG information from transport stream, described EPG information comprises: containing the programme information of programm name;
Described keyword title is mated with described programm name, if described keyword title is included in described programm name, then the programme information containing described programm name is added in the favor program guide set up in advance.
Wherein, the described program according to user watches situation, and the step of the favor program antistop list of maintenance customer comprises:
When user watches that same joint exceedes continuous viewing time threshold value object time continuously, judge that described program is as by user's favor program, and obtain the described programm name by user's favor program;
Described programm name is mated with the keyword title in favor program antistop list;
If when the ratio shared in described programm name and described keyword title of the length of described programm name and the consecutive identical part of described keyword title is all greater than default identical decision threshold, adopt described programm name to replace described keyword title;
Otherwise, described programm name is added into described favor program antistop list as new keyword title.
Wherein, described favor program antistop list also comprises: update times and update time, described keyword title, update times and update time one_to_one corresponding;
The described program according to user watches situation, and the step of the favor program antistop list of maintenance customer also comprises:
When adopting described programm name to replace described keyword title, update times corresponding for described keyword title is added 1 and update time corresponding for described keyword title is revised as current time;
Or,
When described programm name is added into described antistop list as new keyword title, update times corresponding for described new keyword title is set to update times initial value and update time corresponding for described new keyword title is set to current time.
Wherein, the described program according to user watches situation, and the step of the favor program antistop list of maintenance customer also comprises:
After being revised as current time update time corresponding for described keyword title or update time corresponding for described new keyword title is set to current time,
If described keyword or new keyword did not upgrade corresponding update time in one week, then from described favor program antistop list, remove described keyword or new keyword.
Wherein, described by after adding the step in the favor program guide set up in advance to containing the programme information of described programm name, also comprise:
The update times of the keyword title comprised according to described programm name in favor program antistop list and/or update time, determine the arrangement position of programme information in described favor program guide containing described programm name.
Correspondingly, the embodiment of the present invention additionally provides a kind of receiving terminal for digital television, comprising:
Maintenance module, watches situation for the program according to user, the favor program antistop list of maintenance customer, and described favor program antistop list comprises: keyword title;
Search module, for searching epg EPG information from transport stream, described EPG information comprises: containing the programme information of programm name;
Processing module, for described keyword title being mated with described programm name, if described keyword title is included in described programm name, then adds to the programme information containing described programm name in the favor program guide set up in advance.
Wherein, described maintenance module comprises:
Acquiring unit, during for watching that as user same joint exceedes continuous viewing time threshold value object time continuously, judging that described program is as by user's favor program, and obtaining the described programm name by user's favor program;
Matching unit, for mating described programm name with the keyword title in favor program antistop list;
Maintenance unit, if when being all greater than default identical decision threshold for the ratio that described programm name is shared in described programm name and described keyword title with the length of the consecutive identical part of described keyword title, described programm name is adopted to replace described keyword title, otherwise, described programm name is added into described favor program antistop list as new keyword title.
Wherein, described favor program antistop list also comprises: update times and update time, described keyword title, update times and update time one_to_one corresponding;
Described maintenance unit, time also for adopting described programm name to replace described keyword title, adds 1 and update time corresponding for described keyword title is revised as current time by update times corresponding for described keyword title; Or,
Time also for described programm name is added into described antistop list as new keyword title, update times corresponding for described new keyword title is set to update times initial value and update time corresponding for described new keyword title is set to current time.
Wherein, described maintenance unit, also for after being revised as current time update time corresponding for described keyword title or update time corresponding for described new keyword title is set to current time, if described keyword or new keyword did not upgrade corresponding update time in one week, then from described favor program antistop list, remove described keyword or new keyword.
Wherein, described processing module, also for described by after adding in the favor program guide set up in advance containing the programme information of described programm name, the update times of the keyword title comprised according to described programm name in favor program antistop list and/or update time, determine the arrangement position of programme information in described favor program guide containing described programm name.
Implement the embodiment of the present invention, there is following beneficial effect:
The embodiment of the present invention watches situation due to the program according to user, the favor program antistop list of maintenance customer, and add favor program guide in EPG information to containing the programme information that the programm name of keyword title is corresponding, therefore user directly checks that favor program guide just can understand the information of favor program, and user can be made by favor program guide to be found the program liked easily.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, be the schematic flow sheet realizing the embodiment of the method for favor program guide of the present invention, described method comprises:
Step S11, the program according to user watches situation, the favor program antistop list of maintenance customer.
Wherein, favor program antistop list comprises: keyword title.Step S11 can when user watches program, watches situation, add, upgrade or delete keyword title in favor program antistop list according to user to different program; Such as after user watches that the duration of certain program reaches half an hour continuously, the programm name of this program can be added in favor program antistop list.Further, also comprise in favor program antistop list: update times and update time, keyword title, update times and update time one_to_one corresponding, usual update times value is larger, update time and current time more close, then illustrate that the program that gone out by this keyword name index will be higher by the favorable rating of user.In one embodiment, the structure of favor program antistop list can be as shown in the table:
Table one, favor program antistop list
Keyword title (character type, maximum 128 characters) |
Update times (numerical value between 1 to 66535) |
Update time (year, month, day, hour, min, second) |
XXX |
XXX |
XXX |
Step S12, searching epg EPG information from transport stream, described EPG information comprises: containing the programme information of programm name.
Wherein, the programme information that EPG information comprises can have one or more, and programme information, except comprising programm name, can also comprise: the information such as program category, reproduction time and broadcast frequency.
Step S13, keyword title in favor program antistop list is mated with the programm name in EPG information, if described keyword title is included in described programm name, then the programme information containing described programm name is added in the favor program guide set up in advance.
Wherein, step S13 can extract keyword successively from favor program antistop list, and mates with all programm names in EPG information; When keyword is included in certain programm name, then programme information corresponding for this programm name is added in favor program guide.By this kind of mode, the programme information by user's favor program can being found out from EPG information, making user by directly browsing favor program guide, the programme information of favor program can be obtained.
Further, after programme information is added to the favor program guide set up in advance by step S13, can also update times corresponding to the keyword title that comprises of programm name and/or determine the arrangement position of programme information in favor program guide update time, programme information corresponding to the keyword title that such as update times value is larger, update time is more close with current time has more forward position in favorite program list.
The embodiment of the present invention watches situation due to the program according to user, the favor program antistop list of maintenance customer, and add favor program guide in EPG information to containing the programme information that the programm name of keyword title is corresponding, therefore user directly checks that favor program guide just can understand the information of favor program, and user can be made by favor program guide to be found the program liked easily.
Please refer to Fig. 2, be the schematic flow sheet of the embodiment about step S11 in Fig. 1, described step S11 comprises:
Step S21, when user watches that same joint exceedes continuous viewing time threshold value object time continuously, judges that described program is as by user's favor program, and obtains the described programm name by user's favor program.
Herein, continuous viewing time threshold value can be set to 30 minutes or 35 minutes etc.
Step S22, mates described programm name with the keyword title in favor program antistop list.
Wherein, step S22 can extract keyword title successively from antistop list, and the programm name obtained with step S21 respectively mates, if the ratio of the length of both consecutive identical parts shared by the programm name that step S21 obtains and keyword title is all greater than default identical judgment threshold (such as: time 80% or 85% etc.), then think the programm name that step S21 obtains and keyword name-matches, turn to step S23, otherwise turn to step S24.Illustrate below and this step be described:
Suppose that presetting identical judgment threshold is 80%, the programm name that step S21 obtains is " ABCDEFGH ", favor program antistop list comprises three keywords, " ABCJKLMG ", " JKLXYZWY " and " ABCDEFGK " respectively, because " ABCDEFGH " and consecutive identical part in " ABCDEFGK " are " ABCDEFG ", and it is 87.5% at " ABCDEFGH " with the ratio shared by " ABCDEFGK " and is greater than identical judgment threshold 80%, therefore can think that " ABCDEFGH " mates with " ABCDEFGK ".
Further, if the programm name mated with step S21 has multiple, then the highest keyword name of wherein matching precision is selected to be referred to as the keyword title of finally mating with programm name.
Step S23, adopts described programm name to replace described keyword title.
Further, after execution of step S23, turn to step S25.
Step S24, is added into described favor program antistop list using described programm name as new keyword title.
Further, after execution of step S23, turn to step S26.
Step S25, adds 1 and update time corresponding for described keyword title is revised as current time by update times corresponding for described keyword title.
Further, after execution of step S25, turn to step S27.
Step S26, is set to update times initial value (such as " 1 ") and update time corresponding for described new keyword title is set to current time by update times corresponding for described new keyword title.
Further, after execution of step S26, turn to step S27.
Step S27, if described keyword title or new keyword title did not upgrade corresponding update time in one week, then removes described keyword title or new keyword title from described favor program antistop list.
It should be noted that, can according to update times corresponding to keyword title and/or the arrangement position determining keyword title update time in favor program antistop list.
The present embodiment watches situation to by the program according to user, safeguards (comprise and add new keyword title, more new keywords title or delete keyword title) favor program antistop list; By the maintenance to favor program antistop list, favor program antistop list can be made to reflect in real time, and the program of user likes situation, and then ensure that the favor program that indexed out by this favor program antistop list is the favor program of user truly, avoiding adding in favor program guide is not the programme information of user's favor program.
Above-mentionedly to elaborate from the method realizing favor program guide of method flow to the embodiment of the present invention, receiving terminal for digital television 3 below in conjunction with accompanying drawing 3 pairs of embodiment of the present invention carries out Jie and begins, this receiving terminal for digital television 3 may be used for performing above-mentioned method flow, and this receiving terminal for digital television 3 can be Set Top Box, network protocol television, Digital Video Broadcasting Handheld, digital TV integrated machine, etc.
Please refer to Fig. 3, be the structural representation of the embodiment of receiving terminal for digital television 3 of the present invention, described receiving terminal for digital television 3 comprises:
Maintenance module 31, watches situation for the program according to user, the favor program antistop list of maintenance customer.
Wherein, favor program antistop list comprises: keyword title.Maintenance module 31 can when user watches program, watches situation, add, upgrade or delete keyword title in favor program antistop list according to user to different program; Such as after user watches that the duration of certain program reaches half an hour continuously, the programm name of this program can be added in favor program antistop list.Further, also comprise in favor program antistop list: update times and update time, keyword title, update times and update time one_to_one corresponding, usual update times value is larger, update time and current time more close, then illustrate that the program that gone out by this keyword name index will be higher by the favorable rating of user.In one embodiment, the structure of favor program antistop list can be as shown in the table:
Table two, favor program antistop list
Keyword title (character type, maximum 128 characters) |
Update times (numerical value between 1 to 66535) |
Update time (year, month, day, hour, min, second) |
XXX |
XXX |
XXX |
Search module 32, for searching epg EPG information from transport stream, described EPG information comprises: containing the programme information of programm name.
Wherein, the programme information that EPG information comprises can have one or more, and programme information, except comprising programm name, can also comprise: the information such as program category, reproduction time and broadcast frequency; Search module 32 can receiving terminal for digital television 3 when at every turn starting or when the EPG information detecting in transport stream changes, and performs the operation of search EPG information.
Processing module 33, for the keyword title in favor program antistop list is mated with the programm name in EPG information, if described keyword title is included in described programm name, then the programme information containing described programm name is added in the favor program guide set up in advance.
Wherein, processing module 33 can extract keyword successively from favor program antistop list, and mates with all programm names in EPG information; When keyword is included in certain programm name, then programme information corresponding for this programm name is added in favor program guide.By this kind of mode, the programme information by user's favor program can being found out from EPG information, making user by directly browsing favor program guide, the programme information of favor program can be obtained.
Further, after programme information is added to the favor program guide set up in advance by processing module 33, can also update times corresponding to the keyword title that comprises of programm name and/or determine the arrangement position of programme information in favor program guide update time, programme information corresponding to the keyword title that such as update times value is larger, update time is more close with current time has more forward position in favorite program list.
The embodiment of the present invention watches situation due to the program according to user, the favor program antistop list of maintenance customer, and add favor program guide in EPG information to containing the programme information that the programm name of keyword title is corresponding, therefore user directly checks that favor program guide just can understand the information of favor program, and user can be made by favor program guide to be found the program liked easily.
Show the structural representation of a kind of execution mode of maintenance module 31 please continue to refer to Fig. 3, Fig. 3, maintenance module 31 comprises:
Acquiring unit 311, during for watching that as user same joint exceedes continuous viewing time threshold value object time continuously, judging that described program is as by user's favor program, and obtaining the described programm name by user's favor program.
Herein, continuous viewing time threshold value can be set to 30 minutes or 35 minutes etc.
Matching unit 312, for mating described programm name with the keyword title in favor program antistop list.
Wherein, matching unit 312 can extract keyword title successively from antistop list, and the programm name obtained with step S21 respectively mates, if shared ratio is all greater than default identical judgment threshold (such as: time 80% or 85% etc.) in the programm name that the length of both consecutive identical parts obtains at acquiring unit 311 and keyword title, then think the programm name that acquiring unit 311 obtains and keyword name-matches, maintenance unit 313 is then indicated to perform the operation adopting described programm name to replace described keyword title, otherwise instruction maintenance unit 313 performs the operation described programm name being added into described favor program antistop list as new keyword title.The matching process of citing matching module 312 is described below:
Suppose that presetting identical judgment threshold is 80%, the programm name that step S21 obtains is " ABCDEFGH ", favor program antistop list comprises three keywords, " ABCJKLMG ", " JKLXYZWY " and " ABCDEFGK " respectively, because " ABCDEFGH " and consecutive identical part in " ABCDEFGK " are " ABCDEFG ", and it is 87.5% at " ABCDEFGH " with the ratio shared by " ABCDEFGK " and is greater than identical judgment threshold 80%, therefore can think that " ABCDEFGH " mates with " ABCDEFGK ".
Further, if the programm name mated with matching unit 312 has multiple, then the highest keyword name of wherein matching precision is selected to be referred to as the keyword title of finally mating with programm name.
Maintenance unit 313 perform adopt described programm name to replace the operation of described keyword title time, processing module 313 is also for adding 1 and update time corresponding for described keyword title is revised as current time by update times corresponding for described keyword title.
Maintenance unit 313 perform described programm name is added into the operation of described favor program antistop list as new keyword title time, maintenance unit 313 is also for being set to update times initial value (such as " 1 ") and update time corresponding for described new keyword title being set to current time by update times corresponding for described new keyword title.
Further, maintenance unit 313 is also for after being revised as current time or update time corresponding for described new keyword title is set to current time by update time corresponding for described keyword title, if described keyword or new keyword did not upgrade corresponding update time in one week, then from described favor program antistop list, remove described keyword or new keyword.
It should be noted that, maintenance unit 313 according to update times corresponding to keyword title and/or can determine the arrangement position of keyword title in favor program antistop list update time.
The present embodiment watches situation to by the program according to user, safeguards (comprise and add new keyword title, more new keywords title or delete keyword title) favor program antistop list; By the maintenance to favor program antistop list, favor program antistop list can be made to reflect in real time, and the program of user likes situation, and then ensure that the favor program that indexed out by this favor program antistop list is the favor program of user truly, avoiding adding in favor program guide is not the programme information of user's favor program.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.