一种智能电视的节目推荐方法及装置Program recommendation method and device for smart television交叉引用cross reference
本申请引用于2013年11月15日递交的名称为“一种智能电视的节目推荐方法及装置”的第201310579325.5号中国专利申请以及2013年11月15日递交的名称为“一种智能电视的节目推荐方法及装置”的第201310578381.7号中国专利申请,其通过引用被全部并入本申请。This application cites the Chinese Patent Application No. 201310579325.5, entitled "A Method and Apparatus for Promoting Programs for a Smart TV", which was submitted on November 15, 2013, and the name "a smart TV" submitted on November 15, 2013. The Chinese Patent Application No. 201310578381.7, which is incorporated herein by reference.
技术领域Technical field本申请涉及智能电视领域,特别涉及一种智能电视的节目推荐方法及装置。The present application relates to the field of smart televisions, and in particular, to a program recommendation method and apparatus for a smart television.
背景技术Background technique随着人们生活水平的提高,智能电视在家庭中的普及率日益广泛,替代传统电视的趋势越来越强,智能电视在人们的日常休闲与娱乐生活中起到越来越重要的作用。With the improvement of people's living standards, the popularity of smart TVs in the family is increasingly widespread, and the trend of replacing traditional TV is getting stronger and stronger. Smart TV plays an increasingly important role in people's daily leisure and entertainment life.
目前,智能电视已经可以播放来自多种信号源的节目,其中包括传统的直播电视节目以及网络视频节目等,使得用户对于所要观看的电视节目的可选择性越来越大,在任何时刻都能够自主地选择自己感兴趣的节目进行观看。其中,在智能电视的桌面上一般会按照节目类型排列所有的节目。用户通过操作遥控器来浏览位于智能电视的桌面上的节目,并寻找到自己感兴趣的节目。但是在播放节目的过程中,用户只能被动收看,播什么就只能看到什么,无法看到正在播放的节目的关联节目,如,以电视剧节目为例,关联节目可以是当前正在播放的电视剧的上一集或下一集,还可以是全集列表等。At present, smart TVs can already play programs from a variety of sources, including traditional live TV programs and online video programs, so that users can choose more and more TV programs to watch, at any time. Choose your own programs of interest for viewing. Among them, on the desktop of the smart TV, all the programs are generally arranged according to the program type. The user operates the remote control to browse the programs on the desktop of the smart TV and find programs that are of interest to them. However, in the process of playing the program, the user can only passively watch, and what can be seen only when the game is broadcasted, and the related program of the program being played cannot be seen. For example, in the case of a TV drama program, the related program may be currently being played. The last episode or the next episode of the TV series can also be a complete episode list.
针对这一问题,现有的智能电视通常会提供网络浏览功能,使得用户可以通过智能电视打开搜索引擎网页,利用遥控器操作,以类似电脑访问互联网的方式,利用智能电视访问互联网,从互联网中搜索正在播放的节目的关联节目,然后链接到关联节目的网络地址,通过电视在线观看关联节目。In response to this problem, the existing smart TV usually provides a web browsing function, so that the user can open the search engine webpage through the smart TV, operate with the remote controller, use the smart TV to access the Internet, and access the Internet from the Internet. Search for the associated program of the program being played, then link to the network address of the associated program, and watch the related program online through the TV.
但是,在实现本发明的过程中,本发明的发明人发现现有技术中至少存在如下问题:如果通过电视访问互联网,利用遥控器操作搜索关联节目的过程比较复杂,且操作繁琐耗时,无法简单方便的达到电脑的搜索和操作体验,且在搜索关联节目的过程中,用户无法同时观看该节目,也就是说,现有的智能电视无法使用户在观看节目的同时简单方便地查看该节目的关联节目,这势必造成用户的体验不佳。而且当按照节目类型排列所有的节目时,用户如果想要查找到自己感兴趣的节目,就需要先浏览海量节目,然后再对浏览到的各节目进行筛选,其中包括排除冗余的节目。而整个查找过程常常需要花费用户大量的时间,有时,用户按照上述繁琐的方式进行查找后,也无法找到自己感兴趣的节目,严重影响用户的观看效率,导致用户对智能电视的体验差。However, in the process of implementing the present invention, the inventors of the present invention have found that at least the following problems exist in the prior art: if the Internet is accessed through a television, the process of searching for a related program by using a remote controller is complicated, and the operation is cumbersome and time-consuming. It is simple and convenient to achieve the search and operation experience of the computer, and in the process of searching for related programs, the user cannot watch the program at the same time, that is, the existing smart TV cannot make the user view the program simply and conveniently while watching the program. The associated program, which is bound to cause poor user experience. Moreover, when all the programs are arranged according to the program type, if the user wants to find the program that he or she is interested in, the user needs to browse the mass program first, and then filter the programs that are browsed, including excluding redundant programs. The entire search process often requires a large amount of time for the user. Sometimes, after searching in the above-mentioned cumbersome manner, the user cannot find the program that he is interested in, which seriously affects the viewing efficiency of the user, resulting in poor user experience with the smart TV.
发明内容Summary of the invention
本申请实施例提供一种智能电视的节目推荐方法及装置,以解决智能电视用户观看效率低,对智能电视的体验不佳问题。The embodiment of the present invention provides a program recommendation method and device for a smart TV, so as to solve the problem that the smart TV user has low viewing efficiency and poor experience on the smart TV.
为达到上述目的,本申请实施例采用如下技术方案:To achieve the above objective, the embodiment of the present application adopts the following technical solutions:
第一方面,一种智能电视的节目推荐方法,该方法包括:In a first aspect, a method for recommending a program of a smart television, the method comprising:
获取正在播放的节目数据和/或当前用户数据;Obtaining program data and/or current user data being played;
根据所述正在播放的节目获取所述正在播放的节目的关联节目,和/或根据当前用户数据获取推荐给当前用户的节目;Acquiring an associated program of the program being played according to the program being played, and/or acquiring a program recommended to the current user according to current user data;
将描述所述关联节目的信息和/或描述所述推荐给当前用户的节目的信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的信息和/或描述所述推荐给当前用户的节目的信息,其中,所述描述所述关联节目的信息至少包括所述关联节目的节目名称和节目序号,所述描述所述推荐给当前用户的节目的信息中至少包括节目名称。Information describing the associated program and/or information describing the program recommended to the current user is loaded in the video data of the program being played to display the in the play screen of the program being played Describes information of the associated program and/or information describing the program recommended to the current user, wherein the information describing the associated program includes at least a program name and a program serial number of the associated program, the description The information recommended for the program of the current user includes at least the program name.
第二方面,一种在其上记录有用于执行上述方法的程序的计算机可读记录介质。In a second aspect, a computer readable recording medium having recorded thereon a program for executing the above method.
第三方面,一种智能电视的节目推荐装置,其特征在于,该装置包括:In a third aspect, a program recommendation device for a smart television, characterized in that the device comprises:
节目获取模块,用于获取正在播放的节目数据以及当前用户数据;a program acquisition module, configured to acquire program data being played and current user data;
节目搜索模块,用于根据所述正在播放的节目获取所述正在播放的节目的关联节目,并且根据当前用户数据获取推荐给当前用户的节目;a program search module, configured to acquire an associated program of the program being played according to the program being played, and acquire a program recommended to the current user according to current user data;
节目推荐模块,用于将描述所述关联节目的信息和/或描述所述推荐给当前用户的节目的信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的信息和/或描述所述推荐给当前用户的节目的信息,其中,所述描述所述关联节目的信息至少包括所述关联节目的节目名称和节目序号,所述描述所述推荐给当前用户的节目的信息中至少包括节目名称。a program recommendation module, configured to load information describing the associated program and/or information describing the program recommended to the current user in video data of the program being played, so as to be in the program being played Displaying the information describing the associated program and/or information describing the program recommended to the current user in a play screen, wherein the information describing the associated program includes at least a program name and a program of the associated program The serial number, the information describing the program recommended to the current user includes at least a program name.
附图概述BRIEF abstract
图1为本申请实施例一的一方法流程图。FIG. 1 is a flowchart of a method according to Embodiment 1 of the present application.
图2为本申请实施例二的一方法流程图。FIG. 2 is a flowchart of a method according toEmbodiment 2 of the present application.
图3为本申请实施例三的一方法流程图。FIG. 3 is a flowchart of a method according toEmbodiment 3 of the present application.
图4为本申请实施例四的一方法流程图。FIG. 4 is a flowchart of a method according toEmbodiment 4 of the present application.
图5为本申请实施例五的一方法流程图。FIG. 5 is a flowchart of a method according toEmbodiment 5 of the present application.
图6为本申请实施例六的一方法流程图。FIG. 6 is a flowchart of a method according to Embodiment 6 of the present application.
图7为本申请实施例七的一方法流程图。FIG. 7 is a flowchart of a method according to Embodiment 7 of the present application.
图8为本申请实施例八的一方法流程图。FIG. 8 is a flowchart of a method according to Embodiment 8 of the present application.
图9为本申请实施例九的一方法流程图。FIG. 9 is a flowchart of a method according to Embodiment 9 of the present application.
图10为本申请实施例十的一方法流程图。FIG. 10 is a flowchart of a method according to Embodiment 10 of the present application.
图11为本申请实施例十一的一种装置结构图。Figure 11 is a structural diagram of a device according to Embodiment 11 of the present application.
图12为本申请实施例十二的一种装置结构图。FIG. 12 is a structural diagram of a device according toEmbodiment 12 of the present application.
图13以及图14为本申请实施例十三的装置结构图。13 and FIG. 14 are structural diagrams of a device according to Embodiment 13 of the present application.
图15为本申请实施例十四的一种装置结构图。Figure 15 is a structural diagram of a device according to Embodiment 14 of the present application.
图16为本申请实施例十五的一种装置结构图。16 is a structural diagram of a device according to Embodiment 15 of the present application.
图17为本申请实施例十六的一种装置结构图。Figure 17 is a structural diagram of a device according to Embodiment 16 of the present application.
本申请的较佳实施方式Preferred embodiment of the present application
以下将配合图式及实施例来详细说明本申请的实施方式,藉此对本申请如何应用技术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。The embodiments of the present application will be described in detail below with reference to the drawings and the embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
实施例一Embodiment 1
图1为本申请实施例一的方法流程图。FIG. 1 is a flowchart of a method according to Embodiment 1 of the present application.
请参照图1所示,本申请实施例提供的一种智能电视的节目推荐方法,包括:Referring to FIG. 1 , a program recommendation method for a smart TV provided by an embodiment of the present application includes:
S100:获取正在播放的节目数据和/或当前用户数据。S100: Acquire program data and/or current user data being played.
正在播放的节目数据是指能够标识该节目的描述信息,如正在播放的节目的播放画面、和/或节目的网页描述、和/或节目的文件名称等;当前用户数据是指能够标识该用户的描述信息,如用户登录智能电视的用户名、和/或用户的智能电视的硬件信息、和/或用户的智能电视的网络地址等。The program data being played refers to description information capable of identifying the program, such as a play screen of a program being played, and/or a web page description of the program, and/or a file name of the program, etc.; current user data means that the user can be identified Descriptive information, such as the user name of the user logging in to the smart TV, and/or the hardware information of the user's smart TV, and/or the network address of the user's smart TV.
S200:根据所述正在播放的节目获取所述正在播放的节目的关联节目,和/或根据当前用户数据获取推荐给当前用户的节目。S200: Acquire an associated program of the program being played according to the program being played, and/or acquire a program recommended to the current user according to current user data.
在这里根据所述正在播放的节目获取所述正在播放的节目的关联节目是通过上述步骤S100中用户正在播放的节目数据获取正在播放的节目在存储该节目的服务器上的唯一标识,进而以所述标识为关键字,搜索标识为所述关键字的节目,并将搜索到的节目作为所述正在播放的节目的关联节目,具体方法详见下述实施例二。Acquiring, according to the program being played, the associated program of the program being played, by using the program data that the user is playing in the above step S100, acquiring the unique identifier of the program being played on the server storing the program, and further The identifier is a keyword, and the program identified as the keyword is searched for, and the searched program is used as the associated program of the program being played. For the specific method, refer to the following second embodiment.
根据当前用户数据获取推荐给当前用户的节目是通过上述步骤S100中用户的智能电视的当前用户数据获取当前用户的历史观看记录,进而根据所述历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度高的类型的节目作为推荐给当前用户的节目,具体方法详见下述实施例五。Obtaining, by the current user data, the program recommended to the current user is to obtain the historical viewing record of the current user by using the current user data of the user's smart TV in the above step S100, and then, according to the historical viewing record, the current user views each type of program. Frequently, a program of a type that is frequently searched as a program recommended to the current user. For details, see Example 5 below.
S300:将描述所述关联节目的信息和/或描述所述推荐给当前用户的节目的信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的信息和/或所述描述所述推荐给当前用户的节目的信息,其中,所述描述所述关联节目的信息至少包括所述关联节目的节目名称和节目序号,所述描述所述推荐给当前用户的节目的信息中至少包括节目名称。S300: loading information describing the associated program and/or information describing the program recommended to the current user in the video data of the program being played to be displayed in a play screen of the program being played. The information describing the associated program and/or the information describing the program recommended to the current user, wherein the information describing the associated program includes at least a program name and a program serial number of the associated program, The information describing the program recommended to the current user includes at least a program name.
在本申请实施例中,将以正在播放的节目的名称为关键字搜索到的关联节目,作为推荐给当前用户的关联节目,然后将描述这些关联节目的信息,比如包含节目名称和序号的列表等,加载在正在播放的节目的视频数据中,就可以在当前正在播放的节目画面中显示出这些关联节目的信息。In the embodiment of the present application, the related program searched by the name of the program being played is used as the related program recommended to the current user, and then information about the related programs, such as a list including the program name and the serial number, will be described. Etc., loaded in the video data of the program being played, the information of these associated programs can be displayed in the program screen currently being played.
在这里,在正在播放的节目画面中显示描述所述关联节目的信息,可以沿播放画面中的至少一个侧边设置信息推荐框,在所述信息推荐框中显示描述所述关联节目的信息,这样不会影响用户对于正在播放的节目的观看。Here, information describing the associated program is displayed in a program screen being played, and an information recommendation frame may be set along at least one side of the playback screen, and information describing the related program may be displayed in the information recommendation box. This does not affect the user's viewing of the program being played.
可以理解的是,当用户无需观看推荐的关联节目,或者为了避免节目推荐框影响用户观看正在播放的节目时,用户可以选择执行取消推荐节目或关闭节目推荐框的操作,此时,智能电视的服务器可以响应用户对所述推荐给当前用户的节目的关闭操作,停止将描述所述关联节目的信息加载在所述正在播放的节目的视频数据中,以便停止在所述正在播放的节目的播放画面中显示描述所述关联节目的信息,这样能够使节目推荐框随用户的需要显示或取消显示,进一步增加用户的人性化体验。It can be understood that when the user does not need to watch the recommended related program, or in order to prevent the program recommendation box from affecting the user to watch the program being played, the user can select to perform the operation of canceling the recommended program or closing the program recommendation box, at this time, the smart TV The server may stop loading information describing the associated program in the video data of the program being played in response to the user's closing operation of the program recommended to the current user, so as to stop playing the program being played. The information describing the associated program is displayed on the screen, so that the program recommendation box can be displayed or cancelled according to the user's needs, further increasing the user's humanized experience.
应用上述本申请实施例提供的技术方案,可以获取正在播放的节目的名称;以所述节目名称为关键字,搜索名称为所述关键字的节目,并将搜索到的节目作为所述正在播放的节目的关联节目;将描述所述关联节目的信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的信息,描述所述关联节目的信息至少包括所述关联节目的节目名称和节目序号。这样就可以在播放节目的同时为用户推荐该节目的关联节目,使用户在观看节目的过程中即可简单方便地在当前节目的播放画面中查看该节目的关联节目,从而能够快速找到自己想看的关联节目,提高观看电视节目的效率,提升用户体验。Applying the technical solution provided by the embodiment of the present application, the name of the program being played can be obtained; searching for the program whose name is the keyword by using the program name as a keyword, and searching for the program as the being played. An associated program of the program; loading information describing the associated program in video data of the program being played to display the information describing the associated program in a play screen of the program being played, The information describing the associated program includes at least a program name and a program number of the associated program. In this way, the related program of the program can be recommended for the user while the program is being played, so that the user can view the related program of the program in the play screen of the current program simply and conveniently during the process of watching the program, thereby being able to quickly find the desired program. See related programs to improve the efficiency of watching TV programs and enhance the user experience.
另外在本申请实施例中,搜索出当前用户观看频率高的类型的节目,作为推荐给当前用户的节目,然后将描述推荐给当前用户的节目的信息,比如包含节目名称的列表等,加载在正在播放的节目的视频数据中,就可以在当前正在播放的节目画面中显示出推荐给当前用户的节目。In addition, in the embodiment of the present application, a program of a type with a high current viewing frequency is searched for as a program recommended to the current user, and then information describing a program recommended to the current user, such as a list including the name of the program, etc., is loaded in In the video data of the program being played, it is possible to display the program recommended to the current user in the program screen currently being played.
在这里,在正在播放的节目画面中显示推荐给当前用户的节目,可以沿播放画面中的至少一个侧边设置信息推荐框,在所述信息推荐框中显示推荐的节目,这样不会影响用户对于正在播放的节目的观看。Here, the program recommended to the current user is displayed in the program screen being played, and the information recommendation box may be set along at least one side of the playback screen, and the recommended program is displayed in the information recommendation box, so that the user is not affected. For the viewing of the program being played.
可以理解的是,当用户无需观看推荐的节目,或者为了避免节目推荐框影响用户观看正在播放的节目时,用户可以选择执行取消推荐节目或关闭节目推荐框的操作,此时,智能电视的服务器可以响应于用户对所述推荐给当前用户的节目的关闭操作,停止将描述所述推荐给当前用户的节目的信息加载在所述正在播放的节目的视频数据中,以便停止在所述正在播放的节目的播放画面中显示所述推荐给当前用户的节目,这样能够使节目推荐框随用户的需要显示或取消显示,进一步增加用户的人性化体验。It can be understood that when the user does not need to watch the recommended program, or in order to prevent the program recommendation box from affecting the user watching the program being played, the user can select to perform the operation of canceling the recommended program or closing the program recommendation box. At this time, the smart TV server The information describing the program recommended to the current user may be stopped from being loaded in the video data of the program being played in response to the user's closing operation of the program recommended to the current user, so as to stop at the playing The program recommended to the current user is displayed in the play screen of the program, so that the program recommendation box can be displayed or cancelled according to the user's needs, thereby further increasing the user's humanized experience.
应用上述本申请实施例提供的技术方案,可以获取当前用户的历史观看记录,历史观看记录中至少包括用户观看过的节目的名称;根据历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度高的类型的节目作为推荐给当前用户的节目;将描述推荐给当前用户的节目的信息加载在正在播放的节目的视频数据中,以便在正在播放的节目的播放画面中显示推荐给当前用户的节目,描述推荐给当前用户的节目的信息中至少包括节目名称。这样就可以根据用户最常观看的节目类型为用户推荐感兴趣的节目,而且能够使用户在当前节目的播放画面中直接看到被推荐的感兴趣节目,从而能够快速找到自己感兴趣的节目,提高观看电视节目的效率,提升用户体验。The historical viewing record of the current user may be obtained by using the technical solution provided by the embodiment of the present application. The historical viewing record includes at least the name of the program viewed by the user; and the frequency of the current user watching each type of the program is counted according to the historical viewing record. Searching for a program of a type that is frequently frequent as a program recommended to the current user; information describing a program recommended to the current user is loaded in the video data of the program being played, so that the recommendation is displayed in the playback screen of the program being played. For the program of the current user, the information describing the program recommended to the current user includes at least the program name. In this way, the program of interest can be recommended for the user according to the type of the program most frequently viewed by the user, and the user can directly see the recommended program of interest in the play screen of the current program, so that the program of interest can be quickly found. Improve the efficiency of watching TV programs and enhance the user experience.
实施例二:Embodiment 2:
图2为本申请提供的一种根据所述正在播放的节目获取所述正在播放的节目的关联节目的方法的流程示意图。FIG. 2 is a schematic flowchart of a method for acquiring an associated program of a program being played according to the program being played according to the present application.
请参照图2所示,本申请实施例提供的方法,包括:Referring to FIG. 2, the method provided by the embodiment of the present application includes:
S201:根据正在播放的节目数据获取正在播放的节目的名称;S201: Acquire a name of a program being played according to program data being played;
由于用户正在观看的节目可能来自于直播电视,也可能来自于网络视频,所以在获取正在播放的节目的名称时,可以首先检测正在播放的节目的信号源,这里信号源为:直播电视信号源或网络视频信号源。Since the program that the user is watching may come from the live TV or from the network video, when obtaining the name of the program being played, the source of the program being played may be detected first, where the source is: live television signal source Or a network video source.
当信号源为直播电视信号源时,获取正在播放的节目名称的方法可以为:截取正在播放的节目的播放画面,识别播放画面中的电视台台标所标识的电视台,然后通过互联网从各电视台的节目单中搜索识别出的电视台的节目单,并从搜索到的节目单中提取与当前时刻对应的节目的名称,作为正在播放的节目的名称。When the signal source is a live television signal source, the method for obtaining the name of the program being played may be: intercepting the playing screen of the program being played, identifying the television station identified by the station logo in the playing screen, and then from the various television stations through the Internet. The program list searches for the program list of the identified television station, and extracts the name of the program corresponding to the current time from the searched program list as the name of the program being played.
当信号源为网络视频信号源时,可以从正在播放的节目的网页描述中提取节目的名称,作为正在播放的节目的名称。When the signal source is a network video signal source, the name of the program can be extracted from the web page description of the program being played as the name of the program being played.
此外,正在播放的节目也可能是本地存储或移动设备中存储的文件,此时可以直接提取该文件的名称作为正在播放的节目的名称。正在播放的节目的名称也可以从电视或服务器在播放节目时产生的缓存数据或cookie中获取,本实施例并不对此做任何限定。In addition, the program being played may also be a file stored in a local storage or mobile device, and the name of the file may be directly extracted as the name of the program being played. The name of the program being played can also be obtained from the cached data or the cookie generated by the television or the server when the program is being played. This embodiment does not limit the present.
S202:以所述节目名称为关键字,搜索名称为所述关键字的节目,并将搜索到的节目作为所述正在播放的节目的关联节目;S202: Search for a program whose name is the keyword by using the program name as a keyword, and use the searched program as an associated program of the program being played;
这里的关联节目可以是当前正在播放的节目的上一集或下一集,还可以是全集列表等,也可以是与当前正在播放的节目的类型或特点相同的其它节目,比如某节目的第一部、第二部,第一季、第二季,或由演员A主演的节目等等可以以正在播放的节目的名称为关键字搜索到的节目。The associated program here may be the previous episode or the next episode of the currently playing program, may also be a corpus list, or other programs that are the same type or feature as the currently playing program, such as the first program. One, the second, the first season, the second season, or the program starring actor A, etc., can search for the program with the name of the program being played as the key.
正在播放的节目的名称确定后,电视或服务器可以根据该节目名称从互联网或服务器本身资源中搜索该节目的关联节目,比如,由于节目可能通过网络在线观看,也可能通过直播电视频道观看,还可能通过某视频网站运营商的服务器直接推送给应用该视频网站运营商所提供的电视轮播系统的付费用户或会员,所以关联节目可以利用节目的名称由电视或服务器在互联网中搜索确定,也可以由服务器从本身存储的分类资源中获取该节目名称的关联节目,还可以通过各服务器之间进行资源交互获取,本实施例并不对此做任何限定。After the name of the program being played is determined, the television or the server may search for the associated program of the program from the Internet or the server's own resources according to the program name, for example, because the program may be viewed online through the network, or may be viewed through the live TV channel. It may be directly sent to the paying user or member of the TV carousel system provided by the video website operator through the server of a video website operator, so the associated program can be searched and determined by the TV or the server in the Internet by using the name of the program. The associated program of the program name may be obtained by the server from the classified resource stored by the server, and may also be obtained through resource interaction between the servers.What is the limit.
实施例三:Embodiment 3:
图3为本申请提供的一种将描述所述关联节目的信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的信息的方法的流程示意图。FIG. 3 is a diagram of the present application for loading information describing the associated program into video data of the program being played to display the associated program in a play screen of the program being played. Schematic diagram of the method of information.
请参照图3所示,本申请实施例提供的方法,包括:Referring to FIG. 3, the method provided by the embodiment of the present application includes:
S301:依据所述节目序号对所述描述所述关联节目的信息进行排序,生成描述所述关联节目的列表信息;S301: Sort the information describing the related program according to the program serial number, and generate list information describing the related program;
S302:将所述描述所述关联节目的列表信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的列表信息。S302: Load the list information describing the related program in the video data of the program being played, so as to display the list information describing the related program in a play screen of the program being played.
在本申请实施例中,描述所述关联节目的信息可以为包含节目名称的列表,具体实现方式可以是:将描述所述关联节目的信息按照预设的优先级进行排序,生成列表信息;将所述列表信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述列表信息。这里的预设的优先级可以为按照名称中的首字母顺序或按照名称中的序号顺序对节目信息进行正向排序或倒向排序,使得信息列表更加清楚,推荐的节目更加直观,方便用户查找和选取。In the embodiment of the present application, the information describing the related program may be a list including a program name, and the specific implementation manner may be: sorting information describing the related program according to a preset priority, and generating list information; The list information is loaded in the video data of the program being played to display the list information in a play screen of the program being played. The preset priority here may be that the program information is forwardly sorted or reverse sorted according to the first letter order in the name or according to the sequence number in the name, so that the information list is more clear, and the recommended program is more intuitive and convenient for the user to find. And select.
实施例四:Embodiment 4:
图4为本申请提供的另一种智能电视的节目推荐方法的流程示意图。FIG. 4 is a schematic flowchart diagram of another method for recommending a program of a smart television according to the present application.
请参照图4所示,本申请实施例提供的方法,在上述实施例的基础上,在描述所述关联节目的信息中还包含所述关联节目的链接地址,则本申请实施例提供的方法还包括:Referring to FIG. 4, the method provided by the embodiment of the present application, on the basis of the foregoing embodiment, the method for describing the associated program further includes the link address of the associated program, and the method provided by the embodiment of the present application Also includes:
S400:响应用户对所述描述所述关联节目的信息中包含的所述关联节目的链接地址的点击操作,停止播放所述正在播放的节目,开始播放用户点击的链接地址所对应的关联节目。S400: In response to the user clicking on the link address of the associated program included in the information describing the related program, stop playing the program being played, and start playing the related program corresponding to the link address clicked by the user.
这里的链接地址可以以图片或文字或缩略视频的形式呈现,也可以以文字描述加链接地址的形式呈现,本申请实施例不对此做任何限定。The link address may be presented in the form of a picture or a text or a thumbnail video, or may be presented in the form of a text description plus a link address, which is not limited in this embodiment.
需要说明的是,在上述描述所述关联节目的信息中还包括关联节目的链接地址时,当用户对推荐的关联节目中的某个节目更感兴趣时,可以点击该节目的链接地址,此时,智能电视或服务器可以响应用户对所述关联节目的链接地址的点击操作,停止播放所述正在播放的节目,开始播放用户点击的链接地址所对应的关联节目。这样,在为用户推荐关联节目后,用户点击推荐的节目、即发出播放指令时,服务器可以响应用户的播放指令,开始播放用户所选择的推荐的关联节目。It should be noted that, when the information about the related program described above further includes the link address of the associated program, when the user is more interested in a certain program in the recommended related program, the link address of the program may be clicked. The smart TV or the server may stop playing the program being played in response to the user's click operation on the link address of the associated program, and start playing the associated program corresponding to the link address clicked by the user. In this way, after the user is recommended to the related program, when the user clicks on the recommended program, that is, when the play instruction is issued, the server can start playing the recommended related program selected by the user in response to the user's play instruction.
应用本申请实施例的技术方案,用户不仅可以在播放界面中看到智能电视服务器根据正在播放的节目的名称为用户推荐的关联节目的信息,还可以直接从推荐的关联节目中直接选取自己感兴趣的节目点击观看,这样可以省略用户根据推荐的关联节目的信息手动搜索推荐的关联节目的播放地址的过程与时间,提高用户的节目观看效率,提升节目观看体验。Applying the technical solution of the embodiment of the present application, the user can not only see the information of the related program recommended by the smart TV server according to the name of the program being played in the play interface, but also directly select the feeling from the recommended related program directly. The program of interest is clicked and viewed, so that the process and time for the user to manually search for the play address of the recommended associated program according to the information of the recommended associated program can be omitted, the viewing efficiency of the program of the user is improved, and the viewing experience of the program is improved.
实施例五:Embodiment 5:
图5为本申请提供的一种根据当前用户数据获取推荐给当前用户的节目方法的流程示意图。FIG. 5 is a schematic flowchart of a method for obtaining a program recommended to a current user according to current user data according to the present application.
请参照图5所示,本申请实施例提供的方法,包括:Referring to FIG. 5, the method provided by the embodiment of the present application includes:
S203:根据当前用户数据获取当前用户的历史观看记录,所述历史观看记录中至少包括用户观看过的节目的名称;S203: Acquire a historical viewing record of the current user according to current user data, where the historical viewing record includes at least a name of a program viewed by the user;
这里的历史观看记录是指用户在一段时间内所观看的节目的记录,其中至少包括用户观看过的各节目的节目名称。历史观看记录可以从电视或服务器在播放节目后的缓存数据或cookie中获取,也可以在用户观看某一节目时,电视或服务器自动记录该节目的节目名称,在观看其它节目时,继续记录节目名称,则在一段时间之后电视和服务器中会生成一张历史观看记录。这里的历史观看记录可以保持在用户切换节目的同时实时更新,也可以在用户切换到某一节目后,观看该节目的时间满足预定时长后才进行更新,本实施例并不对此做任何限定。The historical viewing record herein refers to a record of a program viewed by the user over a period of time, including at least the program name of each program viewed by the user. The history watch record can be obtained from the cached data or cookie of the TV or server after playing the program, or when the user watches a certain program, the TV or the server automatically records the program name of the program, and continues to record the program while watching other programs. The name, after a period of time, will generate a historical viewing record on the TV and server. The historical view record here can be updated in real time while the user switches the program, and can also be updated after the time when the user switches to a certain program and the time for watching the program meets the predetermined duration, which is not limited in this embodiment.
S204:根据所述历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度高的类型的节目作为推荐给当前用户的节目。S204: Count, according to the historical viewing record, how frequently the current user views each type of program, and search for a program of a frequently frequent type as a program recommended to the current user.
历史观看记录中包含用户观看过的节目名称,电视或服务器可以根据该节目名称确定该节目的类型,比如动作片、战争片等节目类型,归属于某个导演、主演的节目类型,或者其它形式的节目类型,并且,由于节目可能通过网络在线观看,也可能通过直播电视频道观看,还可能通过某视频网站运营商的服务器直接推送给应用该视频网站运营商所提供的电视轮播系统的付费用户或会员,所以节目的类型可以利用节目的名称由电视或服务器在互联网中搜索确定,也可以由服务器从本身存储的分类资源中获取该节目名称对应的类型,还可以通过各服务器之间进行资源交互获取,本实施例并不对此做任何限定。The history watch record contains the name of the program viewed by the user, and the television or the server can determine the type of the program according to the program name, such as an action movie, a war movie, and the like, a program type attributed to a director, a starring program, or other forms. The type of program, and, as the program may be viewed online through the network, may also be viewed through a live TV channel, or may be directly pushed to the application of the TV carousel system provided by the video website operator through the server of a video website operator. User or member, so the type of the program can be determined by the name of the program by the television or the server in the Internet, or the server can obtain the type corresponding to the program name from the classified resource stored by the server, and can also be performed between the servers. The resource interaction is obtained, and the embodiment does not limit this.
判断出每个节目的类型之后,就可以统计历史观看记录中出现的每种类型的次数,次数越多,说明用户观看该类型的节目的频繁程度越高,也就可以看作用户对该类型的节目最感兴趣。After judging the type of each program, the number of times of each type appearing in the history viewing record can be counted. The more times, the higher the frequency with which the user watches the type of program, and the user can be regarded as the type. The program is most interesting.
实施例六:Example 6:
图6为本申请提供的一种根据所述历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度高的类型的节目作为推荐给当前用户的节目的方法的流程示意图。FIG. 6 is a schematic flowchart of a method for collecting, according to the historical viewing record, a current type of program for each type of program, and searching for a program of a type with a high degree of frequentness as a program recommended to the current user.
请参照图6所示,本申请实施例提供的方法,包括:Referring to FIG. 6, the method provided by the embodiment of the present application includes:
S2041a:统计所述历史观看记录中的节目总数量,以及,确定所述历史观看记录中的每个节目的类型,并统计每个类型的节目数量;S2041a: counting the total number of programs in the historical viewing record, and determining the type of each program in the historical viewing record, and counting the number of programs of each type;
历史观看记录中包含用户观看过的节目名称,电视或服务器可以根据该节目名称确定该节目的类型,比如动作片、战争片等节目类型,判断出每个节目的类型之后,就可以统计历史观看记录中出现的每种类型的次数,即每个类型的节目数量,某个类型的节目数量越多,说明用户观看该类型的节目的频繁程度越高,也就可以看作用户对该类型的节目最感兴趣。The historical viewing record contains the name of the program viewed by the user, and the television or the server can determine the type of the program according to the name of the program, such as an action movie, a war movie, and the like. After determining the type of each program, the historical viewing can be performed. The number of times each type of record appears in the record, that is, the number of programs of each type. The more the number of programs of a certain type, the higher the frequency with which the user watches the type of program, and the user can be regarded as the type of the program. The show is most interesting.
S2042a:分别计算每个类型的节目数量与所述历史观看记录中的节目总数量的比值;所述比值代表所述当前用户观看每个类型的节目的频繁程度;S2042a: calculating a ratio of the number of programs of each type to the total number of programs in the historical viewing record, respectively; the ratio represents a frequency of how the current user views each type of program;
用户观看每个类型的节目的频繁程度,具体表现在数值上,即为每个类型的节目数量与节目总数量的比值,也就是每个类型的节目数量在历史观看记录中的节目总数量中所占的比重大小。The frequency with which users view each type of program, specifically in numerical value, that is, the ratio of the number of programs of each type to the total number of programs, that is, the number of programs of each type is viewed in history.The proportion of the total number of programs in the record.
由于节目可能通过网络在线观看,也可能通过直播电视频道观看,还可能通过某视频网站运营商的服务器直接推送给应用该视频网站运营商所提供的电视轮播系统的付费用户或会员,所以节目的类型可以利用节目的名称由电视或服务器在互联网中搜索确定,也可以由服务器从本身存储的分类资源中获取该节目名称对应的类型,还可以通过各服务器之间进行资源交互获取,本实施例并不对此做任何限定。Since the program may be viewed online through the network, it may also be viewed through a live TV channel, or may be directly sent to a paying user or member of the TV carousel system provided by the video website operator through a video website operator's server, so the program The type of the program can be determined by searching for the name of the program by the television or the server in the Internet, or the server can obtain the type corresponding to the program name from the classified resource stored by the server, and can also obtain the resource interaction between the servers. The example does not limit this.
S2043a:选取所述比值中的最大值与次大值,以所述最大值对应的类型作为第一推荐类型,以所述次大值对应的类型作为第二推荐类型,搜索所述第一推荐类型的节目和第二推荐类型的节目作为推荐给当前用户的节目。S2043a: The maximum value and the second largest value of the ratio are selected, and the type corresponding to the maximum value is used as the first recommendation type, and the type corresponding to the second largest value is used as the second recommendation type to search for the first recommendation. The program of the type and the program of the second recommended type are used as programs recommended to the current user.
在本申请实施例中,为了使向用户推荐的节目更加符合用户的兴趣,避免偶然性,并不只是将用户观看的频繁程度最高的类型的节目向用户推荐,而是统计用户观看频繁程度最高和次高的节目类型,分别以第一推荐类型和第二推荐类型的方式向用户推荐,这样更能保证推荐结果的准确性,使推荐结果更加贴合用户的观看习惯。In the embodiment of the present application, in order to make the program recommended to the user more in line with the user's interest and avoid contingency, it is not only to recommend the program of the type that is most frequently watched by the user to the user, but to count the highest frequency of user viewing. The second highest program type is recommended to the user in the manner of the first recommendation type and the second recommendation type, so that the accuracy of the recommendation result is more ensured, and the recommendation result is more suitable for the user's viewing habits.
在这里,本申请实施例并不只限于将两种推荐类型的节目向用户推荐,当历史观看记录中同时存在几种观看频繁程度较高的节目类型,或者某种节目类型的观看频繁程度远远高于其它节目类型时,本申请实施例还可以同时搜索几种类型的节目,或者只搜索一种类型的节目,作为向用户推荐的节目。Here, the embodiment of the present application is not limited to recommending the programs of the two recommended types to the user. When there are several types of programs with high viewing frequency in the historical viewing record, or the viewing frequency of a certain program type is far away. When the program type is higher than other program types, the embodiment of the present application can also search for several types of programs at the same time, or search only one type of program as a program recommended to the user.
应用上述本申请实施例提供的技术方案,可以根据历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度最高和次高的类型的节目,作为第一推荐类型的节目和第二推荐类型的节目推荐给当前用户。这样可以保证推荐结果的准确性,避免偶然性,使向用户推荐的节目更加符合用户的兴趣和贴合用户的观看习惯。Applying the technical solution provided by the foregoing embodiment of the present application, the frequency of the current user watching each type of program can be counted according to the historical viewing record, and the program with the highest frequency and the second highest frequency is searched as the program of the first recommended type and the first Two recommended types of programs are recommended to the current user. This can ensure the accuracy of the recommendation results, avoid contingency, and make the program recommended to the user more in line with the user's interest and fit the user's viewing habits.
实施例七:Example 7:
图7为本申请提供的一种根据所述历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度高的类型的节目作为推荐给当前用户的节目的方法的流程示意图。FIG. 7 is a schematic flowchart of a method for collecting, according to the historical viewing record, a current program to view a frequency of each type of program, and searching for a program of a type that is frequently frequently used as a program recommended to the current user.
请参照图7所示,本申请实施例提供的方法,包括:Referring to FIG. 7, the method provided by the embodiment of the present application includes:
S2041b:统计所述历史观看记录中的节目总数量,以及,确定所述历史观看记录中的每个节目的导演姓名或主演姓名,并统计每个节目的导演姓名或主演姓名在所述历史观看记录中出现的次数;S2041b: counting the total number of programs in the historical viewing record, and determining a director name or a starring name of each program in the historical viewing record, and counting the director name or the starring name of each program in the history view The number of occurrences in the record;
历史观看记录中包含用户观看过的节目名称,电视或服务器可以根据该节目名称确定该节目的导演姓名或主演姓名,判断出每个节目的导演姓名或主演姓名之后,就可以统计历史观看记录中出现的导演姓名或主演姓名的次数,即与每个导演或主演有关的节目数量,某个导演或主演的出现的次数越多,说明用户观看与该导演或该主演有关的节目的频繁程度越高,也就可以看作用户对该类型的节目最感兴趣。The history watch record includes the name of the program viewed by the user, and the television or the server can determine the director name or the starring name of the program according to the program name, and after judging the director name or the starring name of each program, the historical viewing record can be counted. The number of director names or starring names that appear, that is, the number of programs associated with each director or starring, the more times a director or starring appears, indicating that the more frequent the user is watching the program related to the director or the starring High, it can be seen that users are most interested in this type of program.
S2042b:分别计算每个节目的导演姓名或主演姓名在所述历史观看记录中出现的次数与所述历史观看记录中的节目总数量的比值;所述比值代表所述当前用户观看每个导演或主演的节目的频繁程度;S2042b: calculating, respectively, a ratio of a number of occurrences of the director name or the starring name of each program in the historical viewing record to a total number of programs in the historical viewing record; the ratio representing the current user viewing each director or The frequency of the protagonist's program;
用户观看与每个导演或主演有关的节目的频繁程度,具体表现在数值上,即为每个节目的导演姓名或主演姓名在所述历史观看记录中出现的次数与所述历史观看记录中的节目总数量的比值,将每个导演或主演看作一个类型,该比值也就可以代表每个类型的节目数量在历史观看记录中的节目总数量中所占的比重大小。The frequency with which the user views the program related to each director or starring, specifically in numerical value, that is, the number of times the director's name or the starring name of each program appears in the historical viewing record and the historical viewing record The ratio of the total number of programs, each director or starring as a type, the ratio can also represent the proportion of the number of programs of each type in the total number of programs in the historical viewing record.
由于节目可能通过网络在线观看,也可能通过直播电视频道观看,还可能通过某视频网站运营商的服务器直接推送给应用该视频网站运营商所提供的电视轮播系统的付费用户或会员,所以节目的类型可以利用节目的名称由电视或服务器在互联网中搜索确定,也可以由服务器从本身存储的分类资源中获取该节目名称对应的类型,还可以通过各服务器之间进行资源交互获取,本实施例并不对此做任何限定。Since the program may be viewed online through the network, it may also be viewed through a live TV channel, or may be directly sent to a paying user or member of the TV carousel system provided by the video website operator through a video website operator's server, so the program The type of the program can be determined by searching for the name of the program by the television or the server in the Internet, or the server can obtain the type corresponding to the program name from the classified resource stored by the server, and can also obtain the resource interaction between the servers. The example does not limit this.
S2043b:选取所述比值中的最大值与次大值,以所述最大值对应的导演或主演的节目作为第一推荐类型,以所述次大值对应的导演或主演的节目作为第二推荐类型,搜索所述第一推荐类型的节目和第二推荐类型的节目作为推荐给当前用户的节目。S2043b: Select a maximum value and a second largest value of the ratio, and the director or the starring program corresponding to the maximum value is used as the first recommendation type, and the director or the starring program corresponding to the second largest value is used as the second recommendation. Type, searching for the program of the first recommendation type and the program of the second recommendation type as a program recommended to the current user.
在本申请实施例中,确定与每个导演或主演有关的节目与节目总数量的比值后,就可以根据比值大小搜索与比值最高的导演或主演有关的系列节目、作为向用户推荐的节目类型。In the embodiment of the present application, after determining the ratio of the program and the total number of programs related to each director or starring, the series program related to the director or the protagonist with the highest ratio may be searched according to the ratio value, as the program type recommended to the user. .
而为了使向用户推荐的节目更加符合用户的兴趣,避免偶然性,并不只是将用户观看的频繁程度最高的类型的节目向用户推荐,而是统计用户观看频繁程度最高和次高的节目类型,分别以第一推荐类型和第二推荐类型的方式向用户推荐,这样更能保证推荐结果的准确性,使推荐结果更加贴合用户的观看习惯。In order to make the program recommended to the user more in line with the user's interest, avoiding contingency, it is not only recommending the program of the type with the highest frequency of viewing by the user to the user, but counting the program type with the highest and second highest frequency of viewing by the user. The user is recommended to the user in the manner of the first recommendation type and the second recommendation type, so that the accuracy of the recommendation result is more ensured, and the recommendation result is more suitable for the user's viewing habits.
在这里,本申请实施例并不只限于将两种推荐类型的节目向用户推荐,当历史观看记录中同时存在几种观看频繁程度较高的节目类型,或者某种节目类型的观看频繁程度远远高于其它节目类型时,本申请实施例还可以同时搜索几种类型的节目,或者只搜索一种类型的节目,作为向用户推荐的节目。Here, the embodiment of the present application is not limited to recommending the programs of the two recommended types to the user. When there are several types of programs with high viewing frequency in the historical viewing record, or the viewing frequency of a certain program type is far away. When the program type is higher than other program types, the embodiment of the present application can also search for several types of programs at the same time, or search only one type of program as a program recommended to the user.
应用上述本申请实施例提供的技术方案,可以根据历史观看记录统计当前用户观看与每个导演或主演有关的节目的频繁程度,搜索频繁程度最高和次高的类型的节目,作为第一推荐类型的节目和第二推荐类型的节目推荐给当前用户。这样可以根据用户喜欢的导演或主演搜索用户感兴趣的节目,并且可以保证推荐结果的准确性,避免偶然性,使向用户推荐的节目更加符合用户的兴趣和贴合用户的观看习惯。Applying the technical solution provided by the foregoing embodiment of the present application, the frequency of the current user watching the program related to each director or starring can be counted according to the historical viewing record, and the program with the highest frequency and the second highest frequency is searched as the first recommendation type. The program and the second recommended type of program are recommended to the current user. In this way, the program of interest to the user can be searched according to the director or starring that the user likes, and the accuracy of the recommendation result can be ensured, and the contingency can be avoided, so that the program recommended to the user is more in line with the user's interest and fits the user's viewing habits.
实施例八:Example 8:
图8为本申请提供的一种将描述所述推荐给当前用户的节目的信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述推荐给当前用户的节目的方法的流程示意图。FIG. 8 is a diagram of the present application for loading information describing a program recommended to a current user in video data of a program being played, so as to display the recommendation to the current in a play screen of the program being played. A schematic flow diagram of a method of a user's program.
请参照图8所示,本申请实施例提供的方法,包括:Please refer to FIG. 8 , the method provided by the embodiment of the present application includes:
S303:将描述所述推荐给当前用户的节目的信息按照预设的优先级进行排序,生成信息列表;S303: Sort information describing the program recommended to the current user according to a preset priority, and generate a information list.
S304:将所述信息列表加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述信息列表。S304: Loading the information list in the video data of the program being played to display the information list in the play screen of the program being played.
在本申请实施例中,描述推荐给当前用户的节目的信息可以为包含节目名称的列表,具体实现方式可以是:将描述所述推荐给当前用户的节目的信息按照预设的优先级进行排序,生成信息列表;将所述信息列表加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述信息列表。这里的预设的优先级可以为按照名称中的首字母顺序或按照名称中的序号顺序对节目信息进行正向排序或倒向排序,使得信息列表更加清楚,推荐的节目更加直观,方便查找和选取。In the embodiment of the present application, the information describing the program recommended to the current user may be included in the program.The specific name may be: the information describing the program recommended to the current user is sorted according to a preset priority, and the information list is generated; and the information list is loaded in the video data of the program being played. In order to display the list of information in a play screen of the program being played. The preset priority here may be that the program information is forwardly sorted or reverse sorted according to the first letter order in the name or according to the sequence number in the name, so that the information list is more clear, the recommended program is more intuitive, and the search is easier. Select.
实施例九:Example 9:
图9为本申请提供的另一种智能电视的节目推荐方法的流程示意图。FIG. 9 is a schematic flowchart diagram of another method for recommending a program of a smart television according to the present application.
请参照图9所示,本申请实施例提供的智能电视的节目推荐方法,在上述描述所述推荐给当前用户的节目的信息中还可以包括:所述推荐给当前用户的节目的链接地址;则Referring to FIG. 9 , the program recommendation method of the smart TV provided by the embodiment of the present application may further include: the link address of the program recommended to the current user in the information about the program recommended to the current user. then
本申请实施例提供的智能电视的节目推荐方法,还包括:The program recommendation method of the smart TV provided by the embodiment of the present application further includes:
S500:响应于用户对所述推荐给当前用户的节目的链接地址的点击操作,停止播放所述正在播放的节目,开始播放用户点击的链接地址所对应的推荐给当前用户的节目。S500: In response to a click operation of the user to the link address of the program recommended to the current user, stop playing the program being played, and start playing a program recommended to the current user corresponding to the link address clicked by the user.
这里的链接地址可以以图片或文字或缩略视频的形式呈现,也可以以文字描述加链接地址的形式呈现,本申请实施例不对此做任何限定。The link address may be presented in the form of a picture or a text or a thumbnail video, or may be presented in the form of a text description plus a link address, which is not limited in this embodiment.
需要说明的是,在上述描述推荐给当前用户的节目的信息中还包括推荐给当前用户的节目的链接地址时,当用户对信息推荐框中的某个节目更感兴趣,可以点击该节目的链接地址,此时,智能电视或服务器可以响应于用户对所述推荐给当前用户的节目的链接地址的点击操作,停止播放所述正在播放的节目,开始播放用户点击的链接地址所对应的推荐给当前用户的节目。这样,在为用户推荐节目后,用户点击推荐的节目、即发出播放指令时,服务器可以响应于用户的播放指令,开始播放用户所选择的推荐的节目。It should be noted that, when the information about the program recommended for the current user in the above description further includes the link address of the program recommended to the current user, when the user is more interested in a program in the information recommendation box, the program may be clicked. Linking address, at this time, the smart TV or the server may stop playing the currently-played program in response to the user's click operation on the link address of the program recommended to the current user, and start to play the recommendation corresponding to the link address clicked by the user. Give the current user a show. In this way, after the user recommends the program, when the user clicks on the recommended program, that is, when the play instruction is issued, the server can start playing the recommended program selected by the user in response to the user's play instruction.
应用本申请实施例的技术方案,用户不仅可以在播放界面中看到智能电视服务器根据历史观看记录为用户推荐的节目的信息,还可以直接从推荐的节目中直接选取自己感兴趣的节目点击观看,这样可以省略用户根据推荐的节目的信息手动搜索推荐的节目的播放地址的过程与时间,提高用户的节目观看效率,提升节目观看体验。Applying the technical solution of the embodiment of the present application, the user can not only see the information of the program recommended by the smart TV server for the user according to the historical viewing record in the playing interface, but also directly select the program of interest from the recommended program and click to watch. In this way, the process and time for the user to manually search for the play address of the recommended program according to the information of the recommended program can be omitted, and the user's program is improved.View efficiency and enhance the viewing experience of the show.
实施例十:Example 10:
图10为本申请提供的又一种智能电视的节目推荐方法的流程示意图。FIG. 10 is a schematic flowchart diagram of still another program recommendation method for a smart TV according to the present application.
请参照图10所示,本申请实施例提供的智能电视的节目推荐方法,在上述实施例五的基础上,还包括:Referring to FIG. 10, the program recommendation method for the smart TV provided by the embodiment of the present application, based on the foregoing fifth embodiment, further includes:
S600:依据用户对所述链接地址的点击操作的记录,对所述推荐给当前用户的节目进行二次筛选,并将描述二次筛选出的节目的信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述二次筛选出的节目;描述二次筛选出的节目的信息中至少包括节目名称。S600: Perform secondary screening on the program recommended to the current user according to the record of the click operation of the link address by the user, and load information describing the program that is secondly filtered into the video data of the program being played. And the second screened program is displayed in the play screen of the program being played; the information describing the second screened program includes at least the program name.
在本申请实施例中,用户点击链接地址的同时,服务器或智能电视可以记录用户在推荐的节目中的点击操作,进而依据用户对所述链接地址的点击操作的记录,对所述推荐给当前用户的节目进行二次筛选,并将描述二次筛选出的节目的信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述二次筛选出的节目;描述二次筛选出的节目的信息中至少包括节目名称。这种二次筛选可以从推荐的节目中再次筛选用户更加感兴趣的节目,对用户进行二次推荐,能够使推荐的节目更加适配用户的兴趣,符合用户的观看习惯,从而进一步提升用户体验。In the embodiment of the present application, when the user clicks on the link address, the server or the smart TV may record the click operation of the user in the recommended program, and then refer to the current recommendation according to the record of the user's click operation on the link address. The user's program is subjected to secondary screening, and information describing the secondary screened program is loaded in the video data of the program being played, so that the secondary screen is displayed in the play screen of the currently playing program. The program; the information describing the secondary screened program includes at least the program name. This secondary screening can re-screen the programs that are more interesting to the user from the recommended programs, and make the second recommendation to the user, which can make the recommended programs more suitable for the user's interests, and conform to the user's viewing habits, thereby further improving the user experience. .
这里的二次筛选是指根据用户在推荐的节目中的观看记录,对推荐的节目进行再次筛选。二次筛选的依据可以是统计用户点击的链接地址所指向的节目的类型,根据用户点击的各类型的节目的频繁程度,从推荐给用户的节目中再次筛选出用户更感兴趣的节目。二次筛选的过程可以和节目推荐的方式类似,只是节目来源或搜索范围不同,此处不再赘述。The secondary screening here refers to re-screening the recommended programs according to the viewing records of the users in the recommended programs. The secondary screening may be based on the type of the program pointed to by the link address of the user clicked, and the program more interesting to the user is screened again from the program recommended to the user according to the frequency of the various types of programs clicked by the user. The process of secondary screening can be similar to the way the program is recommended, but the source of the program or the scope of the search is different, and will not be described here.
实施例十一:Example 11:
图11为本申请提供的一种智能电视的节目推荐装置的结构示意图。FIG. 11 is a schematic structural diagram of a program recommendation apparatus for a smart TV according to the present application.
请参照图11所示,本申请实施例提供的一种智能电视的节目推荐装置,该装置包括:Referring to FIG. 11 , a program recommendation apparatus for a smart TV according to an embodiment of the present application includes:
节目获取模块,用于获取正在播放的节目数据以及当前用户数据;a program acquisition module, configured to acquire program data being played and current user data;
节目搜索模块,用于根据所述正在播放的节目获取所述正在播放的节目的关联节目,并且根据当前用户数据获取推荐给当前用户的节目;a program search module, configured to acquire the program being played according to the program being playedAssociate the program, and obtain a program recommended to the current user based on the current user data;
节目推荐模块,用于将描述所述关联节目的信息和/或描述所述推荐给当前用户的节目的信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的信息和/或描述所述推荐给当前用户的节目的信息,其中,所述描述所述关联节目的信息至少包括所述关联节目的节目名称和节目序号,所述描述所述推荐给当前用户的节目的信息中至少包括节目名称。a program recommendation module, configured to load information describing the associated program and/or information describing the program recommended to the current user in video data of the program being played, so as to be in the program being played Displaying the information describing the associated program and/or information describing the program recommended to the current user in a play screen, wherein the information describing the associated program includes at least a program name and a program of the associated program The serial number, the information describing the program recommended to the current user includes at least a program name.
实施例十二:Example 12:
图12为本申请提供的一种智能电视的节目推荐装置的结构示意图。FIG. 12 is a schematic structural diagram of a program recommendation apparatus for a smart TV according to the present application.
请参照图12所示,本申请实施例提供的一种智能电视的节目推荐装置,该装置包括:Referring to FIG. 12, a program recommendation apparatus for a smart TV according to an embodiment of the present application includes:
所述节目获取模块,进一步用于获取正在播放的节目的名称;The program acquisition module is further configured to acquire a name of a program being played;
所述节目搜索模块,进一步用于以所述节目名称为关键字,搜索名称为所述关键字的节目,并将搜索到的节目作为所述正在播放的节目的关联节目;The program search module is further configured to search for a program whose name is the keyword by using the program name as a keyword, and use the searched program as an associated program of the program being played;
所述节目推荐模块,进一步用于将描述所述关联节目的信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的信息,描述所述关联节目的信息至少包括所述关联节目的节目名称和节目序号。The program recommendation module is further configured to load information describing the associated program into video data of the program being played, so as to display the description of the related program in a play screen of the program being played. The information describing the associated program includes at least a program name and a program serial number of the associated program.
其中,所述节目推荐模块包括:排序子模块31,用于依据所述节目序号对所述描述所述关联节目的信息进行排序,生成描述所述关联节目的列表信息;The program recommendation module includes: a sortingsub-module 31, configured to sort the information describing the related program according to the program serial number, and generate list information describing the related program;
加载子模块32,用于将所述描述所述关联节目的列表信息加载在所述正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述描述所述关联节目的列表信息。aloading submodule 32, configured to load the list information describing the associated program in video data of the program being played, so as to display the description of the association in a play screen of the program being played List information for the program.
在本申请实施例中,描述描述所述关联节目的信息可以为包含节目名称的列表,具体实现方式可以是:将描述所述关联节目的信息按照预设的优先级进行排序,生成列表信息;将所述列表信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述列表信息。这里的预设的优先级可以为按照名称中的首字母顺序或按照名称中的序号顺序对节目信息进行正向排序或倒向排序,使得信息列表更加清楚,推荐的节目更加直观,方便用户查找和选取。In the embodiment of the present application, the information describing the related program may be a list including a program name, and the specific implementation manner may be: sorting information describing the related program according to a preset priority, and generating list information; The list information is loaded in the video data of the program being played to display the list information in a play screen of the program being played. HereThe preset priority may be that the program information is forwardly sorted or reverse sorted according to the first letter order in the name or according to the sequence number in the name, so that the information list is more clear, the recommended program is more intuitive, and the user is convenient to find and Select.
实施例十三:Example 13:
图13和图14为本申请提供的一种智能电视的节目推荐装置的结构示意图。FIG. 13 and FIG. 14 are schematic diagrams showing the structure of a program recommendation apparatus for a smart TV according to the present application.
如图13或者图14所示,本申请实施例提供的一种智能电视的节目推荐装置,包括:As shown in FIG. 13 or FIG. 14 , a program recommendation apparatus for a smart TV according to an embodiment of the present application includes:
节目获取模块,用于获取当前用户的历史观看记录,所述历史观看记录中至少包括用户观看过的节目的名称;a program acquisition module, configured to acquire a historical viewing record of the current user, where the historical viewing record includes at least a name of a program viewed by the user;
这里的历史观看记录是指用户在一段时间内所观看的节目的记录,其中至少包括用户观看过的各节目的节目名称。历史观看记录可以从电视或服务器在播放节目后的缓存数据或cookie中获取,也可以在用户观看某一节目时,电视或服务器自动记录该节目的节目名称,在观看其它节目时,继续记录节目名称,则在一段时间之后电视和服务器中会生成一张历史观看记录。这里的历史观看记录可以保持在用户切换节目的同时实时更新,也可以在用户切换到某一节目后,观看该节目的时间满足预定时长后才进行更新,本实施例并不对此做任何限定。The historical viewing record herein refers to a record of a program viewed by the user over a period of time, including at least the program name of each program viewed by the user. The history watch record can be obtained from the cached data or cookie of the TV or server after playing the program, or when the user watches a certain program, the TV or the server automatically records the program name of the program, and continues to record the program while watching other programs. The name, after a period of time, will generate a historical viewing record on the TV and server. The historical view record here can be updated in real time while the user switches the program, and can also be updated after the time when the user switches to a certain program and the time for watching the program meets the predetermined duration, which is not limited in this embodiment.
节目搜索模块,用于根据所述历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度高的类型的节目作为推荐给当前用户的节目;a program search module, configured to count, according to the historical viewing record, how frequently the current user views each type of program, and search for a program of a frequently frequent type as a program recommended to the current user;
历史观看记录中包含用户观看过的节目名称,电视或服务器可以根据该节目名称确定该节目的类型,比如动作片、战争片等节目类型,归属于某个导演、主演的节目类型,或者其它形式的节目类型,并且,由于节目可能通过网络在线观看,也可能通过直播电视频道观看,还可能通过某视频网站运营商的服务器直接推送给应用该视频网站运营商所提供的电视轮播系统的付费用户或会员,所以节目的类型可以利用节目的名称由电视或服务器在互联网中搜索确定,也可以由服务器从本身存储的分类资源中获取该节目名称对应的类型,还可以通过各服务器之间进行资源交互获取,本实施例并不对此做任何限定。The history watch record contains the name of the program viewed by the user, and the television or the server can determine the type of the program according to the program name, such as an action movie, a war movie, and the like, a program type attributed to a director, a starring program, or other forms. The type of program, and, as the program may be viewed online through the network, may also be viewed through a live TV channel, or may be directly pushed to the application of the TV carousel system provided by the video website operator through the server of a video website operator. User or member, so the type of program can be determined by the TV or server searching in the Internet by using the name of the program, or the program can obtain the program name pair from the classified resource stored by the server.The type of the application may also be obtained through resource interaction between the servers, which is not limited in this embodiment.
判断出每个节目的类型之后,就可以统计历史观看记录中出现的每种类型的次数,次数越多,说明用户观看该类型的节目的频繁程度越高,也就可以看作用户对该类型的节目最感兴趣。After judging the type of each program, the number of times of each type appearing in the history viewing record can be counted. The more times, the higher the frequency with which the user watches the type of program, and the user can be regarded as the type. The program is most interesting.
节目推荐模块,用于将描述所述推荐给当前用户的节目的信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述推荐给当前用户的节目,描述所述推荐给当前用户的节目的信息中至少包括节目名称。a program recommendation module, configured to load information describing the program recommended to the current user in video data of the program being played, so as to display the program recommended to the current user in a play screen of the program being played The information describing the program recommended to the current user includes at least a program name.
在本申请实施例中,搜索出当前用户观看频率高的类型的节目,作为推荐给当前用户的节目,然后将描述推荐给当前用户的节目的信息,比如包含节目名称的列表等,加载在正在播放的节目的视频数据中,就可以在当前正在播放的节目画面中显示出推荐给当前用户的节目。In the embodiment of the present application, a program of a type with a high current viewing frequency is searched for as a program recommended to the current user, and then information describing a program recommended to the current user, such as a list including a program name, is loaded, and is being loaded. In the video data of the program being played, the program recommended to the current user can be displayed on the program screen currently being played.
在这里,在正在播放的节目画面中显示推荐给当前用户的节目,可以沿播放画面中的至少一个侧边设置信息推荐框,在所述信息推荐框中显示推荐的节目,这样不会影响用户对于正在播放的节目的观看。Here, the program recommended to the current user is displayed in the program screen being played, and the information recommendation box may be set along at least one side of the playback screen, and the recommended program is displayed in the information recommendation box, so that the user is not affected. For the viewing of the program being played.
可以理解的是,当用户无需观看推荐的节目,或者为了避免节目推荐框影响用户观看正在播放的节目时,用户可以选择执行取消推荐节目或关闭节目推荐框的操作,此时,智能电视的服务器可以响应于用户对所述推荐给当前用户的节目的关闭操作,停止将描述所述推荐给当前用户的节目的信息加载在所述正在播放的节目的视频数据中,以便停止在所述正在播放的节目的播放画面中显示所述推荐给当前用户的节目,这样能够使节目推荐框随用户的需要显示或取消显示,进一步增加用户的人性化体验。It can be understood that when the user does not need to watch the recommended program, or in order to prevent the program recommendation box from affecting the user watching the program being played, the user can select to perform the operation of canceling the recommended program or closing the program recommendation box. At this time, the smart TV server The information describing the program recommended to the current user may be stopped from being loaded in the video data of the program being played in response to the user's closing operation of the program recommended to the current user, so as to stop at the playing The program recommended to the current user is displayed in the play screen of the program, so that the program recommendation box can be displayed or cancelled according to the user's needs, thereby further increasing the user's humanized experience.
应用上述本申请实施例提供的技术方案,可以获取当前用户的历史观看记录,历史观看记录中至少包括用户观看过的节目的名称;根据历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度高的类型的节目作为推荐给当前用户的节目;将描述推荐给当前用户的节目的信息加载在正在播放的节目的视频数据中,以便在正在播放的节目的播放画面中显示推荐给当前用户的节目,描述推荐给当前用户的节目的信息中至少包括节目名称。这样就可以根据用户最常观看的节目类型为用户推荐感兴趣的节目,而且能够使用户在当前节目的播放画面中直接看到被推荐的感兴趣节目,从而能够快速找到自己感兴趣的节目,提高观看电视节目的效率,提升用户体验。The historical viewing record of the current user may be obtained by using the technical solution provided by the embodiment of the present application. The historical viewing record includes at least the name of the program viewed by the user; and the frequency of the current user watching each type of the program is counted according to the historical viewing record. Searching for a program of a type that is frequently frequent as a program recommended to the current user; information describing a program recommended to the current user is loaded in the video data of the program being played, so that the recommendation is displayed in the playback screen of the program being played. For the current user's program, the information describing the program recommended to the current user includes at least the programname. In this way, the program of interest can be recommended for the user according to the type of the program most frequently viewed by the user, and the user can directly see the recommended program of interest in the play screen of the current program, so that the program of interest can be quickly found. Improve the efficiency of watching TV programs and enhance the user experience.
请参照图13所示,本申请实施例提供的节目搜索模块2,包括:Referring to FIG. 13 , theprogram search module 2 provided by the embodiment of the present application includes:
第一统计子模块21a,用于统计所述历史观看记录中的节目总数量,以及,确定所述历史观看记录中的每个节目的类型,并统计每个类型的节目数量;The first statistic sub-module 21a is configured to count the total number of programs in the historical viewing record, and determine the type of each program in the historical viewing record, and count the number of programs of each type;
历史观看记录中包含用户观看过的节目名称,电视或服务器可以根据该节目名称确定该节目的类型,比如动作片、战争片等节目类型,判断出每个节目的类型之后,就可以统计历史观看记录中出现的每种类型的次数,即每个类型的节目数量,某个类型的节目数量越多,说明用户观看该类型的节目的频繁程度越高,也就可以看作用户对该类型的节目最感兴趣。The historical viewing record contains the name of the program viewed by the user, and the television or the server can determine the type of the program according to the name of the program, such as an action movie, a war movie, and the like. After determining the type of each program, the historical viewing can be performed. The number of times each type of record appears in the record, that is, the number of programs of each type. The more the number of programs of a certain type, the higher the frequency with which the user watches the type of program, and the user can be regarded as the type of the program. The show is most interesting.
第一计算子模块22a,用于分别计算每个类型的节目数量与所述历史观看记录中的节目总数量的比值;所述比值代表所述当前用户观看每个类型的节目的频繁程度;a first calculating sub-module 22a, configured to separately calculate a ratio of the number of programs of each type to the total number of programs in the historical viewing record; the ratio represents a frequency of how the current user views each type of program;
用户观看每个类型的节目的频繁程度,具体表现在数值上,即为每个类型的节目数量与节目总数量的比值,也就是每个类型的节目数量在历史观看记录中的节目总数量中所占的比重大小。The frequency with which the user views each type of program, specifically in numerical value, that is, the ratio of the number of programs of each type to the total number of programs, that is, the number of programs of each type in the total number of programs in the historical viewing record. The proportion of the proportion.
由于节目可能通过网络在线观看,也可能通过直播电视频道观看,还可能通过某视频网站运营商的服务器直接推送给应用该视频网站运营商所提供的电视轮播系统的付费用户或会员,所以节目的类型可以利用节目的名称由电视或服务器在互联网中搜索确定,也可以由服务器从本身存储的分类资源中获取该节目名称对应的类型,还可以通过各服务器之间进行资源交互获取,本实施例并不对此做任何限定。Since the program may be viewed online through the network, it may also be viewed through a live TV channel, or may be directly sent to a paying user or member of the TV carousel system provided by the video website operator through a video website operator's server, so the program The type of the program can be determined by searching for the name of the program by the television or the server in the Internet, or the server can obtain the type corresponding to the program name from the classified resource stored by the server, and can also obtain the resource interaction between the servers. The example does not limit this.
第一搜索子模块23a,用于选取所述比值中的最大值与次大值,以所述最大值对应的类型作为第一推荐类型,以所述次大值对应的类型作为第二推荐类型,搜索所述第一推荐类型的节目和第二推荐类型的节目作为推荐给当前用户的节目。Thefirst search sub-module 23a is configured to select a maximum value and a second largest value of the ratio, where the type corresponding to the maximum value is used as the first recommendation type, and the type corresponding to the second largest value is used as the second recommendation type. And searching for the program of the first recommendation type and the program of the second recommendation type as a program recommended to the current user.
在本申请实施例中,为了使向用户推荐的节目更加符合用户的兴趣,避免偶然性,并不只是将用户观看的频繁程度最高的类型的节目向用户推荐,而是统计用户观看频繁程度最高和次高的节目类型,分别以第一推荐类型和第二推荐类型的方式向用户推荐,这样更能保证推荐结果的准确性,使推荐结果更加贴合用户的观看习惯。In the embodiment of the present application, in order to make the program recommended to the user more in line with the user's interest and avoid contingency, it is not only to recommend the program of the type that is most frequently watched by the user to the user, but to count the highest frequency of user viewing. The second highest program type is recommended to the user in the manner of the first recommendation type and the second recommendation type, so that the accuracy of the recommendation result is more ensured, and the recommendation result is more suitable for the user's viewing habits.
在这里,本申请实施例并不只限于将两种推荐类型的节目向用户推荐,当历史观看记录中同时存在几种观看频繁程度较高的节目类型,或者某种节目类型的观看频繁程度远远高于其它节目类型时,本申请实施例还可以同时搜索几种类型的节目,或者只搜索一种类型的节目,作为向用户推荐的节目。Here, the embodiment of the present application is not limited to recommending the programs of the two recommended types to the user. When there are several types of programs with high viewing frequency in the historical viewing record, or the viewing frequency of a certain program type is far away. When the program type is higher than other program types, the embodiment of the present application can also search for several types of programs at the same time, or search only one type of program as a program recommended to the user.
应用上述本申请实施例提供的技术方案,可以根据历史观看记录统计当前用户观看每个类型的节目的频繁程度,搜索频繁程度最高和次高的类型的节目,作为第一推荐类型的节目和第二推荐类型的节目推荐给当前用户。这样可以保证推荐结果的准确性,避免偶然性,使向用户推荐的节目更加符合用户的兴趣和贴合用户的观看习惯。Applying the technical solution provided by the foregoing embodiment of the present application, the frequency of the current user watching each type of program can be counted according to the historical viewing record, and the program with the highest frequency and the second highest frequency is searched as the program of the first recommended type and the first Two recommended types of programs are recommended to the current user. This can ensure the accuracy of the recommendation results, avoid contingency, and make the program recommended to the user more in line with the user's interest and fit the user's viewing habits.
或者请参照图14所示,本申请实施例提供的节目搜索模块2,包括:Or, as shown in FIG. 14, theprogram search module 2 provided by the embodiment of the present application includes:
第二统计子模块21b,用于统计所述历史观看记录中的节目总数量,以及,确定所述历史观看记录中的每个节目的导演姓名或主演姓名,并统计每个节目的导演姓名或主演姓名在所述历史观看记录中出现的次数;a second statistic sub-module 21b, configured to count the total number of programs in the historical viewing record, and determine a director name or a starring name of each program in the historical viewing record, and count the director name of each program or The number of times the starring name appears in the historical viewing record;
历史观看记录中包含用户观看过的节目名称,电视或服务器可以根据该节目名称确定该节目的导演姓名或主演姓名,判断出每个节目的导演姓名或主演姓名之后,就可以统计历史观看记录中出现的导演姓名或主演姓名的次数,即与每个导演或主演有关的节目数量,某个导演或主演的出现的次数越多,说明用户观看与该导演或该主演有关的节目的频繁程度越高,也就可以看作用户对该类型的节目最感兴趣。The history watch record includes the name of the program viewed by the user, and the television or the server can determine the director name or the starring name of the program according to the program name, and after judging the director name or the starring name of each program, the historical viewing record can be counted. The number of director names or starring names that appear, that is, the number of programs associated with each director or starring, the more times a director or starring appears, indicating that the more frequent the user is watching the program related to the director or the starring High, it can be seen that users are most interested in this type of program.
第二计算子模块22b,用于分别计算每个节目的导演姓名或主演姓名在所述历史观看记录中出现的次数与所述历史观看记录中的节目总数量的比值;所述比值代表所述当前用户观看每个导演或主演的节目的频繁程度;a second calculating sub-module 22b, configured to separately calculate a ratio of a number of occurrences of the director name or the starring name of each program in the historical viewing record to a total number of programs in the historical viewing record; the ratio represents the How often the current user views each director or starring program;
用户观看与每个导演或主演有关的节目的频繁程度,具体表现在数值上,即为每个节目的导演姓名或主演姓名在所述历史观看记录中出现的次数与所述历史观看记录中的节目总数量的比值,将每个导演或主演看作一个类型,该比值也就可以代表每个类型的节目数量在历史观看记录中的节目总数量中所占的比重大小。The frequency with which users view programs related to each director or starring, as shown in the figures.That is, the ratio of the number of times the director's name or the starring name of each program appears in the historical viewing record to the total number of programs in the historical viewing record, and each director or starring is regarded as a type, and the ratio is also It can represent the proportion of the number of programs of each type in the total number of programs in the historical viewing record.
由于节目可能通过网络在线观看,也可能通过直播电视频道观看,还可能通过某视频网站运营商的服务器直接推送给应用该视频网站运营商所提供的电视轮播系统的付费用户或会员,所以节目的类型可以利用节目的名称由电视或服务器在互联网中搜索确定,也可以由服务器从本身存储的分类资源中获取该节目名称对应的类型,还可以通过各服务器之间进行资源交互获取,本实施例并不对此做任何限定。Since the program may be viewed online through the network, it may also be viewed through a live TV channel, or may be directly sent to a paying user or member of the TV carousel system provided by the video website operator through a video website operator's server, so the program The type of the program can be determined by searching for the name of the program by the television or the server in the Internet, or the server can obtain the type corresponding to the program name from the classified resource stored by the server, and can also obtain the resource interaction between the servers. The example does not limit this.
第二搜索子模块23b,用于选取所述比值中的最大值与次大值,以所述最大值对应的导演或主演的节目作为第一推荐类型,以所述次大值对应的导演或主演的节目作为第二推荐类型,搜索所述第一推荐类型的节目和第二推荐类型的节目作为推荐给当前用户的节目。asecond search sub-module 23b, configured to select a maximum value and a second largest value of the ratio, where the director or the starring program corresponding to the maximum value is used as the first recommendation type, and the director corresponding to the second largest value or The starred program, as the second recommendation type, searches for the program of the first recommendation type and the program of the second recommendation type as programs recommended to the current user.
在本申请实施例中,确定与每个导演或主演有关的节目与节目总数量的比值后,就可以根据比值大小搜索与比值最高的导演或主演有关的系列节目、作为向用户推荐的节目类型。In the embodiment of the present application, after determining the ratio of the program and the total number of programs related to each director or starring, the series program related to the director or the protagonist with the highest ratio may be searched according to the ratio value, as the program type recommended to the user. .
而为了使向用户推荐的节目更加符合用户的兴趣,避免偶然性,并不只是将用户观看的频繁程度最高的类型的节目向用户推荐,而是统计用户观看频繁程度最高和次高的节目类型,分别以第一推荐类型和第二推荐类型的方式向用户推荐,这样更能保证推荐结果的准确性,使推荐结果更加贴合用户的观看习惯。In order to make the program recommended to the user more in line with the user's interest, avoiding contingency, it is not only recommending the program of the type with the highest frequency of viewing by the user to the user, but counting the program type with the highest and second highest frequency of viewing by the user. The user is recommended to the user in the manner of the first recommendation type and the second recommendation type, so that the accuracy of the recommendation result is more ensured, and the recommendation result is more suitable for the user's viewing habits.
在这里,本申请实施例并不只限于将两种推荐类型的节目向用户推荐,当历史观看记录中同时存在几种观看频繁程度较高的节目类型,或者某种节目类型的观看频繁程度远远高于其它节目类型时,本申请实施例还可以同时搜索几种类型的节目,或者只搜索一种类型的节目,作为向用户推荐的节目。Here, the embodiment of the present application is not limited to recommending the programs of the two recommended types to the user. When there are several types of programs with high viewing frequency in the historical viewing record, or the viewing frequency of a certain program type is far away. When the program type is higher than other program types, the embodiment of the present application can also search for several types of programs at the same time, or search only one type of program as a program recommended to the user.
应用上述本申请实施例提供的技术方案,可以根据历史观看记录统计当前用户观看与每个导演或主演有关的节目的频繁程度,搜索频繁程度最高和次高的类型的节目,作为第一推荐类型的节目和第二推荐类型的节目推荐给当前用户。这样可以根据用户喜欢的导演或主演搜索用户感兴趣的节目,并且可以保证推荐结果的准确性,避免偶然性,使向用户推荐的节目更加符合用户的兴趣和贴合用户的观看习惯。Applying the technical solution provided by the foregoing embodiment of the present application, the frequency of the current user watching the program related to each director or starring can be counted according to the historical viewing record, and the program with the highest frequency and the second highest frequency is searched as the first recommendation type. Program and second recommended type of program recommended toCurrent user. In this way, the program of interest to the user can be searched according to the director or starring that the user likes, and the accuracy of the recommendation result can be ensured, and the contingency can be avoided, so that the program recommended to the user is more in line with the user's interest and fits the user's viewing habits.
实施例十四:Embodiment 14:
图15为本申请提供的一种节目推荐模块的结构示意图。FIG. 15 is a schematic structural diagram of a program recommendation module provided by the present application.
请参照图15所示,基于图11本申请实施例提供节目推荐模块3,包括:Referring to FIG. 15 , theprogram recommendation module 3 is provided according to the embodiment of the present application, and includes:
排序子模块31,用于将描述所述推荐给当前用户的节目的信息按照预设的优先级进行排序,生成信息列表;a sortingsub-module 31, configured to sort the information describing the program recommended to the current user according to a preset priority, to generate a list of information;
加载子模块32,用于将所述信息列表加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述信息列表。Theloading sub-module 32 is configured to load the information list into the video data of the program being played to display the information list in a play screen of the program being played.
在本申请实施例中,描述推荐给当前用户的节目的信息可以为包含节目名称的列表,具体实现方式可以是:将描述所述推荐给当前用户的节目的信息按照预设的优先级进行排序,生成信息列表;将所述信息列表加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述信息列表。这里的预设的优先级可以为按照名称中的首字母顺序或按照名称中的序号顺序对节目信息进行正向排序或倒向排序,使得信息列表更加清楚,推荐的节目更加直观,方便查找和选取。In the embodiment of the present application, the information about the program recommended to the current user may be a list including the program name. The specific implementation may be: sorting the information describing the program recommended to the current user according to a preset priority. Generating a list of information; loading the list of information in video data of a program being played to display the list of information in a play screen of the program being played. The preset priority here may be that the program information is forwardly sorted or reverse sorted according to the first letter order in the name or according to the sequence number in the name, so that the information list is more clear, the recommended program is more intuitive, and the search is easier. Select.
实施例十五:Example 15:
图16为本申请提供的另一种智能电视的节目推荐装置的结构示意图。FIG. 16 is a schematic structural diagram of another program recommendation apparatus for a smart TV according to the present application.
请参照图16所示,基于图11本申请实施例提供的智能电视的节目推荐装置,在上述实施例的基础上,还包括:节目播放模块4,用于响应于用户对所述推荐给当前用户的节目的链接地址的点击操作或响应用户对所述描述所述关联节目的信息中包含的所述关联节目的链接地址的点击操作,停止播放所述正在播放的节目,开始播放用户点击的链接地址所对应的关联节目或推荐给当前用户的节目。Referring to FIG. 16 , the program recommendation device of the smart TV provided by the embodiment of the present application, based on the foregoing embodiment, further includes: aprogram playing module 4, configured to respond to the recommendation to the current user in response to the user The click operation of the link address of the user's program or the user's click operation of the link address of the associated program included in the information describing the associated program, stop playing the program being played, and start playing the user click The associated program corresponding to the link address or the program recommended to the current user.
这里的链接地址可以以图片或文字或缩略视频的形式呈现,也可以以文字描述加链接地址的形式呈现,本申请实施例不对此做任何限定。The link address may be presented in the form of a picture or a text or a thumbnail video, or may be presented in the form of a text description plus a link address, which is not limited in this embodiment.
在本申请实施例中,当描述推荐给当前用户的节目的信息中还包括推荐给当前用户的节目的链接地址时,当用户对信息推荐框中的某个节目更感兴趣时,或者在上述描述所述关联节目的信息或中还包括关联节目的链接地址时,当用户对推荐的关联节目中的某个节目更感兴趣时,都可以点击该节目的链接地址,此时,智能电视或服务器可以响应于用户对所述推荐给当前用户的节目的链接地址的点击操作,停止播放所述正在播放的节目,开始播放用户点击的链接地址所对应的推荐给当前用户的节目。这样,在为用户推荐节目后,用户点击推荐的节目、即发出播放指令时,服务器可以响应于用户的播放指令,开始播放用户所选择的推荐的节目。In the embodiment of the present application, when the information describing the program recommended to the current user is included, the recommendation is further included.When the link address of the current user's program is given, when the user is more interested in a certain program in the information recommendation box, or when the information describing the related program described above also includes the link address of the associated program, when the user pairs When a certain program in the recommended related program is more interested, the link address of the program may be clicked. At this time, the smart TV or the server may respond to the user's click operation on the link address of the program recommended to the current user. Stop playing the program being played, and start playing the program recommended to the current user corresponding to the link address clicked by the user. In this way, after the user recommends the program, when the user clicks on the recommended program, that is, when the play instruction is issued, the server can start playing the recommended program selected by the user in response to the user's play instruction.
应用本申请实施例的技术方案,用户不仅可以在播放界面中看到智能电视服务器根据历史观看记录为用户推荐的节目的信息,还可以直接从推荐的节目中直接选取自己感兴趣的节目点击观看,这样可以省略用户根据推荐的节目的信息手动搜索推荐的节目的播放地址的过程与时间,提高用户的节目观看效率,提升节目观看体验。Applying the technical solution of the embodiment of the present application, the user can not only see the information of the program recommended by the smart TV server for the user according to the historical viewing record in the playing interface, but also directly select the program of interest from the recommended program and click to watch. In this way, the process and time for the user to manually search for the play address of the recommended program according to the information of the recommended program can be omitted, the viewing efficiency of the program of the user is improved, and the viewing experience of the program is improved.
实施例十六:Example 16:
图17为本申请提供的又一种智能电视的节目推荐装置的结构示意图。FIG. 17 is a schematic structural diagram of another program recommendation apparatus for a smart TV according to the present application.
请参照图17所示,基于图16本申请实施例提供的智能电视的节目推荐装置,在上述实施例十一的基础上,还包括:Referring to FIG. 17, the program recommendation device of the smart TV provided by the embodiment of the present application, based on the embodiment 11 of the present invention, further includes:
节目筛选模块5,用于依据用户对所述链接地址的点击操作的记录,对所述推荐给当前用户的节目进行二次筛选,并将描述二次筛选出的节目的信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述二次筛选出的节目;描述二次筛选出的节目的信息中至少包括节目名称。Theprogram screening module 5 is configured to perform secondary screening on the program recommended to the current user according to the record of the click operation of the user on the link address, and load information describing the program that is secondly filtered on the currently playing In the video data of the program, the secondary screened program is displayed in a play screen of the program being played; and the information describing the program screened in the second screen includes at least a program name.
在本申请实施例中,用户点击链接地址的同时,服务器或智能电视可以记录用户在推荐的节目中的点击操作,进而依据用户对所述链接地址的点击操作的记录,对所述推荐给当前用户的节目进行二次筛选,并将描述二次筛选出的节目的信息加载在正在播放的节目的视频数据中,以便在所述正在播放的节目的播放画面中显示所述二次筛选出的节目;描述二次筛选出的节目的信息中至少包括节目名称。这种二次筛选可以从推荐的节目中再次筛选用户更加感兴趣的节目,对用户进行二次推荐,能够使推荐的节目更加适配用户的兴趣,符合用户的观看习惯,从而进一步提升用户体验。In the embodiment of the present application, when the user clicks on the link address, the server or the smart TV may record the click operation of the user in the recommended program, and then refer to the current recommendation according to the record of the user's click operation on the link address. The user's program is subjected to secondary screening, and information describing the secondary screened program is loaded in the video data of the program being played, so that the secondary screen is displayed in the play screen of the currently playing program. The program; the information describing the secondary screened program includes at least the program name. This secondary screening can re-screen the programs that are more interesting to the user from the recommended programs, and make secondary recommendations to the users, which can make the recommended programs more suitable.The user's interest is in line with the user's viewing habits, thereby further enhancing the user experience.
这里的二次筛选是指根据用户在推荐的节目中的观看记录,对推荐的节目进行再次筛选。二次筛选的依据可以是统计用户点击的链接地址所指向的节目的类型,根据用户点击的各类型的节目的频繁程度,从推荐给用户的节目中再次筛选出用户更感兴趣的节目。二次筛选的过程可以和节目推荐的方式类似,只是节目来源或搜索范围不同,此处不再赘述。The secondary screening here refers to re-screening the recommended programs according to the viewing records of the users in the recommended programs. The secondary screening may be based on the type of the program pointed to by the link address of the user clicked, and the program more interesting to the user is screened again from the program recommended to the user according to the frequency of the various types of programs clicked by the user. The process of secondary screening can be similar to the way the program is recommended, but the source of the program or the scope of the search is different, and will not be described here.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that each embodiment in the specification is described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the embodiments are referred to each other. can. For the device type embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上对本发明所提供的一种智能电视的节目推荐方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for recommending a program of a smart TV provided by the present invention are described in detail. The principles and implementations of the present invention are described in the following. The description of the above embodiments is only for helping to understand the present invention. The method of the invention and its core idea; at the same time, for the person of ordinary skill in the art, according to the idea of the present invention, there are some changes in the specific embodiment and the scope of application. In summary, the content of the specification should not be understood. To limit the invention.
工业实用性Industrial applicability应用上述技术方案,本申请提供的智能电视的节目推荐方法及装置,使用户在观看节目的过程中即可简单方便地在当前节目的播放画面中查看该节目的关联节目,还可以根据用户最常观看的节目类型为用户推荐感兴趣的节目,而且能够使用户在当前节目的播放画面中直接看到被推荐的感兴趣节目,从而能够快速找到自己感兴趣的节目,提高观看电视节目的效率,提升用户体验。Applying the above technical solution, the program recommendation method and device of the smart TV provided by the present application enable the user to view the section in the play screen of the current program simply and conveniently during the process of watching the program.The purpose is to associate the program, and can also recommend the program of interest to the user according to the type of the program that the user views most frequently, and can enable the user to directly see the recommended program of interest in the play screen of the current program, thereby being able to quickly find the interested program. The program enhances the efficiency of watching TV programs and enhances the user experience.