WO2012013041A1 - Interactive personality television (iptv) system and viewing information statistical method thereof - Google Patents

Interactive personality television (iptv) system and viewing information statistical method thereof Download PDF

Info

Publication number
WO2012013041A1
WO2012013041A1 PCT/CN2011/071799 CN2011071799W WO2012013041A1 WO 2012013041 A1 WO2012013041 A1 WO 2012013041A1 CN 2011071799 W CN2011071799 W CN 2011071799W WO 2012013041 A1 WO2012013041 A1 WO 2012013041A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
information
program channel
viewing information
program
Prior art date
Application number
PCT/CN2011/071799
Other languages
French (fr)
Chinese (zh)
Inventor
曲红妮
杜立昕
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012013041A1 publication Critical patent/WO2012013041A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched

Definitions

  • the present invention relates to communication networks or, in particular, to an interactive network television (Interactive Personality TV, IPTV for short) system and its viewing information statistics. method. Background technique
  • IPTV is an interactive network TV. It is a brand-new technology that utilizes a broadband cable TV network and integrates various technologies such as Internet, multimedia, and communication to provide home users with a variety of interactive services including digital TV.
  • IPTV is an infrastructure that utilizes a broadband cable television network, with home television as the main terminal appliance, and provides a variety of digital media services including television programs through Internet Protocol. Similar to traditional TV, IPTV requires statistics on viewing information so that service providers can quickly deploy related services based on the viewing information.
  • diary method is a method of collecting viewing information by filling in a diary card by a family member in the sample household.
  • the measuring instrument method means that the surveying agency selects some users according to the sample distribution, and pays to install some "monitoring equipment" to record the user's changing of the station, and regularly collects the data to make statistics of the viewing information.
  • a primary object of the present invention is to provide an IPTV system and a method for collecting the same by using the IPTV system to solve at least the above-mentioned problem that the cost is high and the accuracy of the data is not high.
  • an interactive network television IPTV system comprising: an access office equipment, configured to receive a first request message from each terminal for requesting entry into a program channel, according to the first request message The viewing information of each terminal is recorded; the information statistics server is configured to extract the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and use the extracted viewing information to obtain the value of the statistical item.
  • the accessing the central office device includes: a receiving module, configured to receive the first request message, where the first request message includes: terminal information and program channel information; and an authentication module configured to determine the terminal information Whether the terminal has the right to play the program channel indicated by the program channel information;
  • the recording module is configured to record the viewing information of the terminal when the judgment result of the authentication module is privileged, wherein the viewing information comprises: terminal information, program channel information And the terminal broadcasts the program channel permission, and the terminal broadcasts the program channel start time; when the authentication module determines that the result is no permission, the terminal's viewing information is recorded, wherein the viewing information includes: terminal information, program channel information, and terminal The right to play the program channel.
  • the accessing the central office device further includes: a sending module, configured to upload the recorded viewing information to the database server when the determined viewing information reaches a predetermined number of thresholds, and/or arrives at the predetermined time; the system further includes: The database server is configured to store the viewing information uploaded by the access office device.
  • the receiving module is further configured to: when the determination result of the authentication module is privileged, receive a second request message from the terminal that is set to request to leave the program channel; the recording module is further configured to: according to the second request message The end time of the terminal playing the program channel is recorded in the viewing information of the terminal.
  • the permission of the terminal to play the program channel is one of the following: the permission permission, the preview permission, and the disallow permission, wherein the permission permission refers to not limiting the number of times the terminal plays the program channel, and the preview permission refers to restricting the terminal to play the program channel. The number of times and the time of each play, the permission is not allowed to allow the terminal to play the program channel.
  • the information statistics server includes: an extraction module, configured to extract, from the database server, the viewing information corresponding to the statistical item in the viewing information of the n terminals; Block, set to calculate the rating of the program P according to the following formula when the statistical item is the program rating
  • the second statistical module set to when the statistical item is the time-of-day rating, the value of the time-of-day rating of the program channel M is calculated according to the following formula:
  • the time period rating (%) " x ( £ _ , where, " indicates the number of terminals extracted,
  • ⁇ ' indicates the time when the i-th terminal in the terminal plays the program channel M
  • E and S are the end time and start time of the time period to be counted respectively
  • i 1,..., ";
  • third statistical module setting When the statistical item is the channel preview rate, the value of the preview rate of the program channel M is calculated according to the following formula:
  • the fourth statistical module is set to calculate the program channel according to the following formula when the statistical item is the unprivileged request rate.
  • the value of the unprivileged request rate is: The non-privileged request rate of the program channel ( (%)
  • the extracted terminals are terminals that meet some or all of the conditions of the statistical items in each terminal.
  • a method for collecting viewing information of an interactive network television IPTV system including: receiving, by a central office device, a first request message from each terminal for requesting entry into a program channel;
  • the ingress device records the viewing information of each terminal according to the first request message;
  • the information statistics server extracts the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and uses the extracted viewing information to collect statistics. Get the value of the statistic item.
  • the accessing the end office device to record the viewing information of each terminal according to the first request message includes: the accessing end office device determining whether the terminal indicated by the terminal information carried in the first request message is carried in the first request message.
  • the accessing end device records the viewing information of the terminal, wherein the viewing information includes: terminal information, program channel information, and permission of the terminal to play the program channel And the start time of the terminal playing the program channel; if the judgment result is no permission, the accessing end device records the viewing information of the terminal, wherein the viewing information comprises: terminal information, program channel information, and permission of the terminal to play the program channel;
  • the accessing central office device saves the recorded viewing information.
  • the information statistics server extracts the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and uses the extracted viewing information to obtain the value of the statistical item.
  • the method further includes: the access office device receives the second request message from the terminal for requesting to leave the program channel; and the access office device records the end time of the terminal playing the program channel to the terminal's viewing according to the second request message.
  • Information According to the present invention, each request message of all the terminals is counted by the existing access terminal device in the IPTV system, and only the information statistics server can be added to call different viewing according to different items required when statistics are needed. Information, in order to achieve the purpose of counting user ratings, that is, by collecting statistics on various types of viewing information under the IPTV service on the central office side, it is not necessary to spend a lot of manpower, material resources, and equipment on the terminal side to perform statistics, and solve related technologies.
  • FIG. 1 is a schematic diagram of an IPTV system according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an IPTV system according to a first preferred embodiment of the present invention
  • FIG. 3 is a second embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for collecting viewing information of an IPTV system according to an embodiment of the present invention
  • FIG. 5 is a recording terminal device for accessing a central office device according to a preferred embodiment of the present invention
  • FIG. 6 is a flow chart of storing database information by a database server according to a preferred embodiment of the present invention
  • FIG. 7 is a flow chart for calculating information statistics items in a preferred embodiment of the present invention.
  • the IPTV system includes: an access office device 10 and an information statistics server 20, wherein: the access office device 10 is configured to receive from each terminal 40 for receiving Requesting a first request message entering the program channel, and recording the viewing information of each terminal 40 according to the first request message; the information statistics server 20 is configured to extract the viewing information corresponding to the statistical item to be counted from the recorded viewing information. And use the extracted viewing information statistics to get the value of the statistical item.
  • the preferred embodiment is used by the existing access device in the IPTV system to perform statistics on each request message of all the terminals (including the first request message described above), and only the information statistics server can be added when the statistics are needed.
  • Different items that need to be counted call different viewing information to achieve the purpose of counting user ratings, that is, through various types of receiving information on the IPTV service at the central office side.
  • the statistics are performed without consuming a large amount of manpower, material resources, and equipment on the terminal side for statistics, thereby solving the problem of high cost in the related art, and realizing the viewing information according to the user's viewing situation in the IPTV system. Statistics, and greatly reduced the cost of statistics.
  • the access office device 10 includes: a receiving module 102, configured to receive a first request message, where the first request message includes: terminal information and program channel information; an authentication module 104, Is configured to determine whether the terminal indicated by the terminal information (such as terminal 1) has the right to play the program channel (such as program channel 5) indicated by the program channel information; and the recording module 106 is set to be in the authentication module 104.
  • a receiving module 102 configured to receive a first request message, where the first request message includes: terminal information and program channel information
  • an authentication module 104 Is configured to determine whether the terminal indicated by the terminal information (such as terminal 1) has the right to play the program channel (such as program channel 5) indicated by the program channel information
  • the recording module 106 is set to be in the authentication module 104.
  • the viewing information of the terminal (terminal 1) is recorded, wherein the viewing information includes: the terminal information (which can be uniquely indicated by the identifier of the terminal device and the port identifier), and the program channel information (may be Uniquely indicated by the IP (Internet Protocol) address of the program channel, the terminal (terminal 1) plays the program channel (program channel 5), and the terminal (terminal 1) plays the program channel (program) The start time of the channel 5); when the judgment result of the authentication module 104 is no permission, the viewing of the terminal (terminal 1) is recorded.
  • Information wherein the viewing information includes: the terminal information, the program channel information, and the right of the terminal (terminal 1) to play the program channel (program channel 5).
  • the preferred embodiment provides a specific implementation for accessing the viewing information of the terminal by the central office device. After determining that the terminal has the right to play a certain program channel, the related information is recorded, wherein the start time of the terminal playing the program channel may default to the time when the accessing end device determines that the terminal has the right.
  • the access office equipment can record all the viewing information of all the terminals that reflect the viewing condition through the received first request information, thereby providing sufficient data preparation for the calculation of the subsequent statistical items.
  • the access central office device 10 further includes: a sending module 108, configured to upload the recorded viewing information to the determined time when the recorded viewing information reaches a predetermined number of thresholds, and/or reaches a predetermined time
  • the database server 30; the IPTV system further includes: a database server 30, configured to store the viewing information uploaded by the access office device 10.
  • the preferred embodiment provides a specific implementation manner in which the access office device uploads the recorded information of each terminal recorded to the database server.
  • the database server stores the viewing information of each terminal, so that the information statistics server can search for the required terminal and its corresponding viewing information when performing statistics.
  • the receiving module 102 is further configured to receive, from the terminal 40 (terminal 1), a second request message for requesting to leave the program channel (program channel 5) if the judgment result of the authentication module 104 is privileged.
  • the recording module 106 is further configured to record the end time of the terminal 40 playing the program channel according to the second request message to the viewing information of the terminal 40.
  • the access central office device receives the first request message of the terminal to enter the program channel 5 and authenticates it to determine that it has the right to play the program channel 5, the terminal can play the program channel, and subsequently
  • the time at which the second request message is received may be set as the time when the terminal leaves the program channel 5.
  • the permission of the terminal to play a certain program channel may be one of the following: permission permission, preview permission, and disallow permission, wherein the permission permission refers to not limiting the number of times the terminal plays the program channel, and the preview permission refers to restricting the terminal to play.
  • the permission permission refers to not limiting the number of times the terminal plays the program channel
  • the preview permission refers to restricting the terminal to play.
  • the number of program channels and the time of each play, the permission is not allowed to allow the terminal to play the program channel. In this way, it is flexible to set different permissions for the terminal to play different program channels. As shown in FIG.
  • the database server 30 may include a viewing database and an operation and maintenance database, wherein the viewing database mainly stores the viewing information data of the terminal uploaded from the access office device, and the operation and maintenance.
  • the database is mainly used for the operation and maintenance information stored in the network operation and maintenance of the storage. It needs to be used when collecting statistics.
  • the above-mentioned authority information has been saved to the operation and maintenance database in the above database server, that is, the database server has pre-stored the authority of each terminal for different program channels.
  • the central office device receives the first request message of a certain terminal, and determines whether the terminal has the right to play the program channel, and searches the database server for the program.
  • the information statistics server 20 includes: an extraction module 202, a first statistics module 204, a second statistics module 206, a third statistics module 208, and a fourth statistics module 209.
  • the extracting module 202 is configured to extract, from the database server 30, the viewing information corresponding to the statistical item in the viewing information of the terminal; for example, when the statistical item is the program rating, the terminal needs to be taken out from the database server.
  • the time of a program when the statistical item is the time-of-view rating, it is necessary to take out the time when the terminal watches the channel M in the time period [S, E] from the database server.
  • the statistical item is the channel preview rate, it needs to be from the database.
  • the server take out the number of times the terminal previews the channel M and previews the number of all channels.
  • the statistical item is the unprivileged request rate, the number of times the terminal requests the unprivileged channel M and requests all are taken out from the database server.
  • the number of times of the unprivileged channel; the first statistic module 204 is set to calculate the rating of the program P according to the following formula when the statistical item is the program rating:
  • the time period rating (%) of the program channel M ⁇ —— -xl 00% , where w represents the number of terminals from which nx ⁇ E - S is extracted, and represents the ith terminal of the n terminals to play the program channel M
  • the third statistical module 208 is set to calculate the program channel according to the following formula when the statistical item is the channel preview rate
  • the value of M's preview rate is:
  • the preview rate of the program channel M (%) ⁇ ⁇ x l 00% , where "expresses the extracted
  • the number of terminals for preview permission of program channel M, ⁇ indicates that the i-th terminal in n terminals is certain
  • the number of times the program channel M is previewed during the time period, and 4 indicates the number of times the third terminal of the w terminals previews all the program channels in a certain period of time, 1, ..., "; fourth statistical module 209, set to be statistical
  • the value of the non-privileged request rate for calculating the program channel ⁇ is:
  • the number of terminals having no permission to the program channel indicating the number of times the first terminal in a terminal requests to enter the program channel within a certain period of time, ⁇ indicates that the ith terminal requests access to all of them within a certain period of time
  • the number of program channels that are allowed to be privileged, i !,.., n.
  • the preferred embodiment enriches the existing viewing statistics, and can not only count the program rating and the channel rating, but also conveniently count the user senses on the on-demand statistics of the channels with only preview permission and no permission.
  • Programs of interest can be customized to be targeted.
  • the extracted terminals are terminals that meet some or all of the conditions of the statistical items in each terminal. In this way, statistics can be collected from the entire user group in actual demand, and statistics can be performed in a similar manner. When the statistics are collected from the entire user group, the accuracy and accuracy of the data are further improved.
  • the terminal 40 as a user's viewing device is composed of a television set and a set top box, and is connected to the access central office device through the access terminal device.
  • FIG. 4 is a diagram showing a method for collecting viewing information of an IPTV system according to an embodiment of the present invention. As shown in FIG.
  • Step S402 The access office device receives a first request message from each terminal for requesting to enter a program channel.
  • Step S404 accessing the central office device according to the first A request message records the viewing information of each terminal.
  • the information statistics server extracts the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and uses the extracted viewing information to obtain the value of the statistical item.
  • step S404 includes the following steps: Step S502: The accessing end office device finds that a terminal requests to join a certain channel, that is, receives a request from a certain terminal to join a certain program channel.
  • Step S504 the access office device determines the authority of the terminal indicated by the terminal information in the first request message, and the rights may be three : Allow, preview or not allow, when the permission is allowed or previewed, it is determined that the terminal has the right to play the program channel indicated by the program channel information, and the process goes to step S506, and when the permission is not allowed, it is determined that the terminal does not have Playing the rights of the program channel, and proceeding to step 4, S208; Specifically, since the rights of each terminal to different program channels are stored in the operation and maintenance database of the database server in advance, the accessing end device is in the opposite terminal. When the authority is judged, it can be searched from the operation and maintenance database.
  • Step S506 the accessing end device records the terminal information, the channel to be viewed, the terminal's right to view the channel (ie, permission or preview), and the terminal views the start time and the end time of the channel. Then, the information is recorded by the step 4 S510; wherein, the end time is obtained by the access office device by the subsequently received second request message from the terminal for requesting to leave the program channel, and the default is received. The time of the second request message is the end time.
  • a log may be generated at a certain time (for example, 1 minute), and the log has the time when the log is generated, the terminal information and the program channel information, and is received.
  • Step S508 the access office device records the terminal information, the channel information that is viewed, the terminal's right to view the channel (that is, is not allowed), and the time when the terminal starts playing the channel (this time is empty), and then the steps are performed.
  • Step S510 records the information; in actual implementation, when it is judged that the terminal does not have the right to play the channel, a log is also generated, and the time when the log is generated and the permission of the terminal are not allowed.
  • the access office equipment stores the viewing information recorded in step S506 and step S508, and uploads the viewing information to the database server (specifically, uploads to the viewing database) after determining that the uploading condition is satisfied.
  • the stored data information is mainly composed of the following: one is user information, which is uniquely indicated by the device identifier and the port identifier; the second is the channel for viewing, which is indicated by the IP address of the channel; the third is permission, permission, preview, and no Allow one of the three; Fourth is the start time, the time unit, which records the time when the user joins a channel; 5 is the end time, the time unit, which records the time when the user left a channel, and the permission is not allowed. Empty; in step S512, the viewing information is uploaded to the database server. There are certain policies in the access office equipment to control the uploading of the viewing information.
  • the database server stores the viewing information according to the following steps:
  • the data storage is divided into two. The process is to collect the viewing information stored in the database, and the entire system provides the data information.
  • the other is the operation and maintenance database, which stores the relevant information of the operation and maintenance.
  • the user information and program channel information obtained from the operation and maintenance part are stored in the process. In this database.
  • Step S602 the viewing database receives the viewing data of each terminal uploaded by the accessing end device through the network; Step S604, the viewing database processes and processes the received viewing information. Since the obtained viewing information is relatively original data, further processing is required, one is user information, which is converted into the only user identifier in the operation and maintenance; the second is the channel to be viewed, and the IP address needs to be converted into actual channel information.
  • Step S606 storing the processed and processed viewing information into a database, and the key index of the database is terminal information.
  • step S406 in the method shown in FIG. 4 includes the following steps: Step S702, selecting an information statistics item, which mainly includes data statistics of four types of viewing information: program rating, time-of-view rating, and channel preview rate.
  • Step S704 selecting sample data, extracting the sample terminal from the database server according to the information statistical item selected in step S702
  • the viewing information, the channel program information that needs to be counted; the extracted sample terminal may be all terminals, or may be part of the terminal.
  • statistics can be performed from the entire user group or in a manner that is used in the same manner;
  • the information is statistically summarized and the results are output. Specifically include:
  • Program ratings refer to the percentage of the total number of viewers (or the total number of households) who watched a program within a certain period of time (or the number of households).
  • the n-sample terminal looks at the ratio of the weighted total time of the program P to n times the duration [S, E] of the program. Extracting n terminals, taking out the time when each terminal plays a certain program from the viewing database, and then accumulating the total viewing time of each terminal, and then the ratio of n times of the duration of the program is the rating of the program P. , ⁇ ] for each terminal to watch the program P time, the formula is as follows:
  • Nx (E - S) where ⁇ ] is obtained by the time when the start time and the end time of the channel in which the terminal plays the program P fall within the duration [S, E] of the program P input in advance.
  • the time-of-day rating refers to the percentage of the total number of viewers (or the total number of households) who watched a certain channel (or the number of households) in a certain period of time. The ratio of the weighted total time at which a sampling terminal plays a certain channel to n times the duration of the period. N terminals are extracted, and the time at which each terminal watches the channel M in the period [S, E] is taken out from the viewing database, and then the viewing time of each terminal is cumulatively added, and the ratio of n times of this period is the channel.
  • the time-of-view rate of M, the time for playing channel M for each terminal, the calculation formula is as follows:
  • Channel M's time frame rating (%) ⁇ ⁇ —— -x l 00%.
  • the channel preview rate is the percentage of the total number of users who have preview permission for a channel and who have the preview permission.
  • the preview channel information of the n terminals is extracted, the number of preview channels M of each terminal is extracted from the viewing database, and the number of times of previewing all the channels is 4, and the calculation formula is as follows:
  • ⁇ and 4 can be obtained by counting the number of related viewing information.
  • the unprivileged request rate is the percentage of the total number of user requests that do not have permission for a channel.
  • the ratio of the number of times that n terminals that do not have permission to a certain channel request the channel in a certain period of time and the total number of times all n terminals request all unprivileged channels.
  • the statistics statistics server's statistics on the viewing information and the results of the calculation information statistics project can provide reliable statistical data for operation and maintenance to complete various program adjustments, which greatly promotes the improvement of program quality and promotes the sound development of the media. From the above description, it can be seen that the present invention achieves the following technical effects:
  • the statistical information is very convenient.
  • the device can automatically collect the viewing information and upload it to the database, and call the data of the database when needed;

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

An Interactive Personality Television (IPTV) system and a viewing information statistical method thereof are disclosed in the present invention. Wherein, the IPTV system includes: an access side device which is set to receive a first request message for requesting access to program channels from each terminal, and record viewing information of each terminal according to the first request message and a information statistical server which is set to extract viewing information corresponding to a statistical entry which needs to be counted from recorded viewing information, and count a value of the statistical entry by using the extracted viewing information. The present invention enables viewing information statistic according to viewing situation of users in the IPTV system, and saves cost of the statistic greatly.

Description

交互式网络电视 IPTV系统及其欠^ L信息统计方法 技术领域 本发明涉及通信领 i或, 具体而言, 涉及一种交互式网络电视(Interactive Personality TV , 简称为 IPTV ) 系统及其收视信息统计方法。 背景技术  BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to communication networks or, in particular, to an interactive network television (Interactive Personality TV, IPTV for short) system and its viewing information statistics. method. Background technique
IPTV即交互式网络电视, 是一种利用宽带有线电视网, 集互联网、 多媒 体、 通讯等多种技术于一体, 向家庭用户提供包括数字电视在内的多种交互 式服务的崭新技术。 IPTV是利用宽带有线电视网的基础设施, 以家用电视机 作为主要终端电器, 通过互联网络协议来提供包括电视节目在内的多种数字 媒体服务。 IPTV与传统电视类似, 都需要进行收视信息统计, 以便于服务提 供商能够根据收视信息快速部署相关服务。 目前, 相关技术中对收视信息的统计主要有两种方法: 日记法和测量仪 法。 其中, 日记法是通过由样本户中的家庭成员填写日记卡来收集收视信息 的方法。 样本户中每一家庭成员都有各自的日记卡, 要求他们 4巴每天收看电 视的情况随时记录在自己的日记卡上。 但是, 该种方法存在以下问题: 需要 大量的人力、 物力、 和资金来完成收视信息的收集和统计, 并且由于人工地 记录、 统计收视信息容易出现错误。 此外, 釆样的方式可能会因为样本选择 的不合理导致最终得到的统计结果的是错误的。 测量仪法是指调查机构按照样本分布选定一些用户,付费安装一些 "监测 设备"用来记录用户的换台情况, 定期地搜集这些数据做出收视信息的统计。 但是, 该种方法存在以下问题: 需要为每个样本户的终端都额外安装"监测设 备", 增加了成本, 并且釆样的方式可能会因为样本选择的不合理导致最终得 到的统计结果的是错误的。 综上所述, 上述两种方法均是从终端侧来收集收视信息, 因此都存在成 本较高, 而且数据的准确性不高的问题。 发明内容 本发明的主要目的在于提供一种 IPTV系统及其收视信息统计方法, 以 至少解决上述的成本较高, 而且数据的准确性不高的问题。 根据本发明的一个方面, 提供了一种交互式网络电视 IPTV系统, 包括: 接入局端设备, 设置为接收来自各个终端的用于请求进入节目频道的第一请 求消息, 根据第一请求消息记录各个终端的收视信息; 信息统计服务器, 设 置为从记录的收视信息中提取出与所要统计的统计项目相对应的收视信息, 并使用提取出的收视信息统计得到统计项目的值。 优选地, 上述接入局端设备包括: 接收模块, 设置为接收第一请求消息, 其中, 第一请求消息中包括: 终端信息和节目频道信息; 鉴权模块, 设置为 判断终端信息所指示的终端是否有播放节目频道信息所指示的节目频道的权 限; 记录模块, 设置为在鉴权模块的判断结果为有权限时, 记录终端的收视 信息, 其中, 收视信息包括: 终端信息、 节目频道信息、 终端播放节目频道 的权限、 和终端播放节目频道的开始时间; 在鉴权模块的判断结果为无权限 时, 记录终端的收视信息, 其中, 收视信息包括: 终端信息、 节目频道信息、 和终端播放节目频道的权限。 优选地, 上述接入局端设备还包括: 发送模块, 设置为在确定记录的收 视信息达到预定数量阈值、 和 /或到达预定时间时, 将记录的收视信息上传到 数据库服务器; 系统还包括: 数据库服务器, 设置为存储接入局端设备上传 来的收视信息。 优选地, 上述接收模块还设置为在鉴权模块的判断结果为有权限的情况 下, 接收来自终端的设置为请求离开节目频道的第二请求消息; 记录模块还 设置为根据第二请求消息将终端播放节目频道的结束时间记录到终端的收视 信息中。 优选地, 上述终端播放节目频道的权限为以下之一: 允许权限、 预览权 限、 和不允许权限, 其中, 允许权限是指不限制终端播放节目频道的次数, 预览权限是指限制终端播放节目频道的次数和每次播放的时间, 不允许权限 是指不允许终端播放节目频道。 优选地, 上述信息统计服务器包括: 提取模块, 设置为从数据库服务器 中提取出 n个终端的收视信息中与统计项目相对应的收视信息; 第一统计模 块, 设置为当统计项目为节目收视率时, 按照下式计算节目 P的收视率的值 IPTV is an interactive network TV. It is a brand-new technology that utilizes a broadband cable TV network and integrates various technologies such as Internet, multimedia, and communication to provide home users with a variety of interactive services including digital TV. IPTV is an infrastructure that utilizes a broadband cable television network, with home television as the main terminal appliance, and provides a variety of digital media services including television programs through Internet Protocol. Similar to traditional TV, IPTV requires statistics on viewing information so that service providers can quickly deploy related services based on the viewing information. At present, there are two main methods for collecting statistics on related information in the related art: diary method and measuring instrument method. Among them, the diary method is a method of collecting viewing information by filling in a diary card by a family member in the sample household. Each family member in the sample household has their own diary card, and they are required to record on their own diary card at any time. However, this method has the following problems: It requires a large amount of manpower, material resources, and funds to complete the collection and statistics of the viewing information, and it is prone to errors due to manual recording and statistical viewing of the information. In addition, the way the sample may be wrong due to the unreasonable selection of the sample may result in the wrong result. The measuring instrument method means that the surveying agency selects some users according to the sample distribution, and pays to install some "monitoring equipment" to record the user's changing of the station, and regularly collects the data to make statistics of the viewing information. However, this method has the following problems: It is necessary to install an additional "monitoring device" for each sample terminal, which increases the cost, and the method may be because the sample selection is unreasonable, and the final statistical result is wrong. In summary, the above two methods all collect the viewing information from the terminal side, so there is a problem that the cost is high and the accuracy of the data is not high. SUMMARY OF THE INVENTION A primary object of the present invention is to provide an IPTV system and a method for collecting the same by using the IPTV system to solve at least the above-mentioned problem that the cost is high and the accuracy of the data is not high. According to an aspect of the present invention, an interactive network television IPTV system is provided, comprising: an access office equipment, configured to receive a first request message from each terminal for requesting entry into a program channel, according to the first request message The viewing information of each terminal is recorded; the information statistics server is configured to extract the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and use the extracted viewing information to obtain the value of the statistical item. Preferably, the accessing the central office device includes: a receiving module, configured to receive the first request message, where the first request message includes: terminal information and program channel information; and an authentication module configured to determine the terminal information Whether the terminal has the right to play the program channel indicated by the program channel information; the recording module is configured to record the viewing information of the terminal when the judgment result of the authentication module is privileged, wherein the viewing information comprises: terminal information, program channel information And the terminal broadcasts the program channel permission, and the terminal broadcasts the program channel start time; when the authentication module determines that the result is no permission, the terminal's viewing information is recorded, wherein the viewing information includes: terminal information, program channel information, and terminal The right to play the program channel. Preferably, the accessing the central office device further includes: a sending module, configured to upload the recorded viewing information to the database server when the determined viewing information reaches a predetermined number of thresholds, and/or arrives at the predetermined time; the system further includes: The database server is configured to store the viewing information uploaded by the access office device. Preferably, the receiving module is further configured to: when the determination result of the authentication module is privileged, receive a second request message from the terminal that is set to request to leave the program channel; the recording module is further configured to: according to the second request message The end time of the terminal playing the program channel is recorded in the viewing information of the terminal. Preferably, the permission of the terminal to play the program channel is one of the following: the permission permission, the preview permission, and the disallow permission, wherein the permission permission refers to not limiting the number of times the terminal plays the program channel, and the preview permission refers to restricting the terminal to play the program channel. The number of times and the time of each play, the permission is not allowed to allow the terminal to play the program channel. Preferably, the information statistics server includes: an extraction module, configured to extract, from the database server, the viewing information corresponding to the statistical item in the viewing information of the n terminals; Block, set to calculate the rating of the program P according to the following formula when the statistical item is the program rating
-χ100% -χ100%
为: 节目 p的收视率(%) = "x(£ _ ) , 其中, "表示提取出的终端的 数量, 表示 "个终端中第 个终端播放节目 P的时间, E、 S分别为节目 P 的结束时间和开始时间, = 1,...,"; 第二统计模块, 设置为当统计项目为时 段收视率时, 按照下式计算节目频道 M的时段收视率的值为: 节目频道 M For: The rating of the program p (%) = " x ( £ _ ) , where " indicates the number of extracted terminals, indicating the time when the first terminal in the terminal plays the program P, E and S are the program P respectively End time and start time, = 1,...,"; The second statistical module, set to when the statistical item is the time-of-day rating, the value of the time-of-day rating of the program channel M is calculated according to the following formula: Program channel M
-χ100% -χ100%
的时段收视率 (% ) = "x (£ _ , 其中, "表示提取出的终端的数量, The time period rating (%) = " x ( £ _ , where, " indicates the number of terminals extracted,
Τ'表示 "个终端中第 i个终端播放节目频道 M的时间 , E、 S分别为所要统计 的时段的结束时间和开始时间, i = 1,..., "; 第三统计模块, 设置为当统计项 目为频道预览率时,按照下式计算节目频道 M的预览率的值为: 节目频道 M Τ ' indicates the time when the i-th terminal in the terminal plays the program channel M, E and S are the end time and start time of the time period to be counted respectively, i = 1,..., "; third statistical module, setting When the statistical item is the channel preview rate, the value of the preview rate of the program channel M is calculated according to the following formula: Program channel M
-χ100% 的预览率 (% ) = , 其中, "表示提取出的具有节目频道 Μ的预 览权限的终端的数量, ^表示"个终端中第 个终端在一定时段内预览节目频 道 Μ的次数, 4'表示第 个终端在一定时段内预览所有节目频道的次数, = 1,...,"; 第四统计模块, 设置为当统计项目为无权限请求率时, 按照下式 计算节目频道 Μ的无权限请求率的值为: 节目频道 Μ的无权限请求率(% ) - χ 100% preview rate (%) = , where "" indicates the number of extracted terminals having the preview permission of the program channel ,, ^ indicates the number of times the first terminal in the terminal previews the program channel within a certain period of time, 4' indicates the number of times the first terminal previews all program channels in a certain period of time, = 1,...,"; The fourth statistical module is set to calculate the program channel according to the following formula when the statistical item is the unprivileged request rate. The value of the unprivileged request rate is: The non-privileged request rate of the program channel ( (%)
-χ100% -χ100%
, 其中, "表示提取出的对节目频道 Μ具有不允许权限的终端 的数量, ^表示"个终端中第 ζ '个终端在一定时段内请求进入节目频道 Μ的 次数, 表示第 个终端在一定时段内请求进入所有其具有不允许权限的节 目频道的次数, = 1,...,《。 优选地, 提取出的《个终端为各个终端中部分或全部的满足统计项目的 条件的终端。 根据本发明的另一方面, 提供了一种交互式网络电视 IPTV系统的收视 信息统计方法, 包括: 接入局端设备接收到来自各个终端的用于请求进入节 目频道的第一请求消息; 接入局端设备根据第一请求消息记录各个终端的收 视信息; 信息统计月艮务器从记录的收视信息中提取出与所要统计的统计项目 相对应的收视信息, 并使用提取出的收视信息统计得到统计项目的值。 优选地, 上述接入局端设备根据第一请求消息记录各个终端的收视信息 包括: 接入局端设备判断第一请求消息中携带的终端信息所指示的终端是否 有播放第一请求消息中携带的节目频道信息所指示的节目频道的权限; 若判 断结果为有权限, 则接入局端设备记录终端的收视信息, 其中, 收视信息包 括: 终端信息、 节目频道信息、 终端播放节目频道的权限、 和终端播放节目 频道的开始时间; 若判断结果为无权限, 则接入局端设备记录终端的收视信 息, 其中, 收视信息包括: 终端信息、 节目频道信息、 和终端播放节目频道 的权限; 接入局端设备保存记录的收视信息。 优选地, 当判断结果为有权限时, 在信息统计 艮务器从记录的收视信息 中提取出与所要统计的统计项目相对应的收视信息, 并使用提取出的收视信 息统计得到统计项目的值之前, 还包括: 接入局端设备接收到来自终端的用 于请求离开节目频道的第二请求消息; 接入局端设备根据第二请求消息将终 端播放节目频道的结束时间记录到终端的收视信息中。 通过本发明, 由 IPTV系统中已有的接入局端设备对所有终端的每一次 请求消息进行统计, 仅增加信息统计服务器即可在需要进行统计时根据所需 要统计的不同项目调用不同的收视信息, 以达到统计用户收视情况的目的, 即通过在局端侧对 IPTV业务下的各类收视信息进行统计, 无需在终端侧耗 费大量的人力、 物力、 和设备来进行统计, 解决了相关技术中存在的成本较 高的问题, 实现了在 IPTV系统中根据用户的收视情况进行收视信息统计, 并极大地节约了统计的成本。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是才艮据本发明实施例的 IPTV系统的示意图; 图 2是才艮据本发明第一优选实施例的 IPTV系统的示意图; 图 3是才艮据本发明第二优选实施例的 IPTV系统的组网示意图; 图 4是才艮据本发明实施例的 IPTV系统的收视信息统计方法的流程图; 图 5是根据本发明优选实施例的接入局端设备记录终端的收视信息的流 程图; 图 6是根据本发明优选实施例的数据库服务器存储收视信息的流程图; 图 7是 居本发明优选实施例的信息统计项目的计算流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的 IPTV系统的示意图,该 IPTV系统包括: 接 入局端设备 10和信息统计服务器 20 , 其中: 接入局端设备 10, 设置为接收来自各个终端 40的用于请求进入节目频 道的第一请求消息, 并根据第一请求消息记录各个终端 40的收视信息; 信息统计服务器 20 ,设置为从记录的收视信息中提取出与所要统计的统 计项目相对应的收视信息,并使用提取出的收视信息统计得到统计项目的值。 该优选实施例由 IPTV系统中已有的接入局端设备对所有终端的每一次 请求消息 (包括上述的第一请求消息) 进行统计, 仅增加信息统计服务器即 可在需要进行统计时根据所需要统计的不同项目调用不同的收视信息, 以达 到统计用户收视情况的目的, 即通过在局端侧对 IPTV业务下的各类收视信 息进行统计, 而无需在终端侧耗费大量的人力、 物力、 和设备来进行统计, 从而解决了相关技术中存在的成本较高的问题, 实现了在 IPTV系统中根据 用户的收视情况进行收视信息统计, 并极大地节约了统计的成本。 优选地, 如图 2所示, 接入局端设备 10包括: 接收模块 102 , 设置为接 收第一请求消息, 其中, 第一请求消息中包括: 终端信息和节目频道信息; 鉴权模块 104 , 设置为判断该终端信息所指示的终端 (如为终端 1 ) 是否有 播放该节目频道信息所指示的节目频道 (如为节目频道 5 ) 的权限; 记录模 块 106 , 设置为在鉴权模块 104的判断结果为有权限时, 记录该终端 (终端 1 ) 的收视信息, 其中, 收视信息包括: 上述终端信息 (可以由终端设备的 标示符和端口标示符来唯一标示)、 上述节目频道信息 (可以用节目频道的 IP ( Internet Protocol, 网络互联协议) 地址来唯一标示)、 该终端 (终端 1 ) 播放该节目频道 (节目频道 5 ) 的权限、 和该终端 (终端 1 )播放该节目频 道 (节目频道 5 ) 的开始时间; 在鉴权模块 104的判断结果为无权限时, 记 录该终端 (终端 1 ) 的收视信息, 其中, 收视信息包括: 上述终端信息、 上 述节目频道信息、 和该终端 (终端 1 ) 播放该节目频道 (节目频道 5 ) 的权 限。 该优选实施例提供了接入局端设备记录终端的收视信息的具体实施方 案。 在判断终端有权限播放某一个节目频道后, 记录相关信息, 其中, 终端 播放节目频道的开始时间可以默认为接入局端设备确定该终端有权限的时 间。 这样, 接入局端设备通过接收到的第一请求信息, 可以记录下所有终端 的所有反映收视情况的收视信息, 从而为后续的统计项目的计算提供了充分 的数据准备。 优选地, 如图 2所示, 接入局端设备 10还包括: 发送模块 108 , 设置为 在确定记录的收视信息达到预定数量阈值、 和 /或到达预定时间时, 将记录的 收视信息上传到数据库服务器 30; 则, 上述的 IPTV系统还包括: 数据库服 务器 30 , 设置为存储接入局端设备 10上传来的收视信息。 该优选实施例提供了接入局端设备向数据库服务器上传记录的各个终端 的收视信息的具体实施方案。 由数据库服务器来存储各个终端的收视信息, 便于信息统计服务器在进行统计时对所需的终端及其相应的收视信息进行查 找。 优选地, 接收模块 102还设置为在鉴权模块 104的判断结果为有权限的 情况下, 接收来自终端 40 (终端 1 ) 的用于请求离开上述节目频道 (节目频 道 5 ) 的第二请求消息; 记录模块 106还设置为根据该第二请求消息将终端 40播放该节目频道的结束时间记录到终端 40的收视信息中。 当接入局端设备接收到某一个终端的请求进入节目频道 5的第一请求消 息, 并对其进行鉴权确定其具有播放节目频道 5的权限后, 该终端即可播放 该节目频道,后续当接收到该终端的请求离开节目频道 5的第二请求消息时, 即可以将接收到该第二请求消息的时间设置为该终端离开节目频道 5的时 间。 这样, 在终端具有播放某一节目频道的权限时, 可以记录下终端播放该 节目频道的开始时间和结束时间。 优选地, 终端播放某一个节目频道的权限可以为以下之一: 允许权限、 预览权限、 和不允许权限, 其中, 允许权限是指不限制终端播放节目频道的 次数, 预览权限是指限制终端播放节目频道的次数和每次播放的时间, 不允 许权限是指不允许终端播放节目频道。 这样, 灵活地为终端播放不同的节目 频道设置不同的权限。 如图 3所示, 在实际实施时, 数据库月艮务器 30 , 可以包括收视数据库和 运维数据库, 其中收视数据库中主要存储从接入局端设备上传过来的终端的 收视信息数据, 运维数据库主要是存储的网络运维中存储的运维信息, 在进 行收视情况统计时需要使用。 在用户对节目频道进行订购时, 上述的权限信息已经保存到上述的数据 库服务器中的运维数据库, 即数据库服务器已经预先保存有各个终端对不同 的节目频道的权限。 这样, 在上述的优选实施例中, 局端设备接收到某一个 终端的第一请求消息, 判断该终端是否有播放该节目频道的权限时, 从数据 库月艮务器中查找该终端对该节目频道的权限, 若查找到的权限为允许权限或 预览权限, 则确定该终端有播放该节目频道的权限, 若查找到的权限为不允 许权限, 则确定该终端没有播放该节目频道的权限。 优选地, 如图 2所示, 信息统计服务器 20包括: 提取模块 202、 第一统 计模块 204、 第二统计模块 206、 第三统计模块 208、 和第四统计模块 209 , 其巾: 提取模块 202, 设置为从数据库服务器 30中提取出《个终端的收视信息 中与统计项目相对应的收视信息; 如当统计项目为节目收视率时, 需从数据 库服务器中取出《个终端播放某一节目的时间, 当统计项目为时段收视率时, 需从数据库服务器中取出《个终端在时段 [S , E]观看频道 M的时间, 当统计 项目为频道预览率时, 需从数据库月艮务器中取出《个终端预览频道 M的次数 和预览所有频道的次数, 当统计项目为无权限请求率时, 需从数据库 艮务器 中取出《个终端请求无权限频道 M的次数和请求所有无权限频道的次数; 第一统计模块 204 , 设置为当统计项目为节目收视率时, 按照下式计算 节目 P的收视率的值为: , Where "denotes the extracted terminal number of the program channels having Μ allowed permissions, ^ represents a" first terminals ζ 'terminals in a certain period of time the number of program channels Μ requests come represents some terminals The number of times to request access to all program channels with disallowed privileges during the time period, = 1,...,". Preferably, the extracted terminals are terminals that meet some or all of the conditions of the statistical items in each terminal. According to another aspect of the present invention, a method for collecting viewing information of an interactive network television IPTV system is provided, including: receiving, by a central office device, a first request message from each terminal for requesting entry into a program channel; The ingress device records the viewing information of each terminal according to the first request message; the information statistics server extracts the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and uses the extracted viewing information to collect statistics. Get the value of the statistic item. Preferably, the accessing the end office device to record the viewing information of each terminal according to the first request message includes: the accessing end office device determining whether the terminal indicated by the terminal information carried in the first request message is carried in the first request message. The access of the program channel indicated by the program channel information; if the result of the judgment is that the access is performed, the accessing end device records the viewing information of the terminal, wherein the viewing information includes: terminal information, program channel information, and permission of the terminal to play the program channel And the start time of the terminal playing the program channel; if the judgment result is no permission, the accessing end device records the viewing information of the terminal, wherein the viewing information comprises: terminal information, program channel information, and permission of the terminal to play the program channel; The accessing central office device saves the recorded viewing information. Preferably, when the judgment result is that the authority is authorized, the information statistics server extracts the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and uses the extracted viewing information to obtain the value of the statistical item. The method further includes: the access office device receives the second request message from the terminal for requesting to leave the program channel; and the access office device records the end time of the terminal playing the program channel to the terminal's viewing according to the second request message. Information. According to the present invention, each request message of all the terminals is counted by the existing access terminal device in the IPTV system, and only the information statistics server can be added to call different viewing according to different items required when statistics are needed. Information, in order to achieve the purpose of counting user ratings, that is, by collecting statistics on various types of viewing information under the IPTV service on the central office side, it is not necessary to spend a lot of manpower, material resources, and equipment on the terminal side to perform statistics, and solve related technologies. The problem of high cost in the implementation of the IPTV system is based on the user's viewing situation, and the statistical cost is greatly saved. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of an IPTV system according to an embodiment of the present invention; FIG. 2 is a schematic diagram of an IPTV system according to a first preferred embodiment of the present invention; FIG. 3 is a second embodiment of the present invention. FIG. 4 is a flowchart of a method for collecting viewing information of an IPTV system according to an embodiment of the present invention; FIG. 5 is a recording terminal device for accessing a central office device according to a preferred embodiment of the present invention; FIG. 6 is a flow chart of storing database information by a database server according to a preferred embodiment of the present invention; and FIG. 7 is a flow chart for calculating information statistics items in a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. 1 is a schematic diagram of an IPTV system according to an embodiment of the present invention. The IPTV system includes: an access office device 10 and an information statistics server 20, wherein: the access office device 10 is configured to receive from each terminal 40 for receiving Requesting a first request message entering the program channel, and recording the viewing information of each terminal 40 according to the first request message; the information statistics server 20 is configured to extract the viewing information corresponding to the statistical item to be counted from the recorded viewing information. And use the extracted viewing information statistics to get the value of the statistical item. The preferred embodiment is used by the existing access device in the IPTV system to perform statistics on each request message of all the terminals (including the first request message described above), and only the information statistics server can be added when the statistics are needed. Different items that need to be counted call different viewing information to achieve the purpose of counting user ratings, that is, through various types of receiving information on the IPTV service at the central office side. The statistics are performed without consuming a large amount of manpower, material resources, and equipment on the terminal side for statistics, thereby solving the problem of high cost in the related art, and realizing the viewing information according to the user's viewing situation in the IPTV system. Statistics, and greatly reduced the cost of statistics. Preferably, as shown in FIG. 2, the access office device 10 includes: a receiving module 102, configured to receive a first request message, where the first request message includes: terminal information and program channel information; an authentication module 104, Is configured to determine whether the terminal indicated by the terminal information (such as terminal 1) has the right to play the program channel (such as program channel 5) indicated by the program channel information; and the recording module 106 is set to be in the authentication module 104. When the result of the judgment is that the user has the permission, the viewing information of the terminal (terminal 1) is recorded, wherein the viewing information includes: the terminal information (which can be uniquely indicated by the identifier of the terminal device and the port identifier), and the program channel information (may be Uniquely indicated by the IP (Internet Protocol) address of the program channel, the terminal (terminal 1) plays the program channel (program channel 5), and the terminal (terminal 1) plays the program channel (program) The start time of the channel 5); when the judgment result of the authentication module 104 is no permission, the viewing of the terminal (terminal 1) is recorded. Information, wherein the viewing information includes: the terminal information, the program channel information, and the right of the terminal (terminal 1) to play the program channel (program channel 5). The preferred embodiment provides a specific implementation for accessing the viewing information of the terminal by the central office device. After determining that the terminal has the right to play a certain program channel, the related information is recorded, wherein the start time of the terminal playing the program channel may default to the time when the accessing end device determines that the terminal has the right. In this way, the access office equipment can record all the viewing information of all the terminals that reflect the viewing condition through the received first request information, thereby providing sufficient data preparation for the calculation of the subsequent statistical items. Preferably, as shown in FIG. 2, the access central office device 10 further includes: a sending module 108, configured to upload the recorded viewing information to the determined time when the recorded viewing information reaches a predetermined number of thresholds, and/or reaches a predetermined time The database server 30; the IPTV system further includes: a database server 30, configured to store the viewing information uploaded by the access office device 10. The preferred embodiment provides a specific implementation manner in which the access office device uploads the recorded information of each terminal recorded to the database server. The database server stores the viewing information of each terminal, so that the information statistics server can search for the required terminal and its corresponding viewing information when performing statistics. Preferably, the receiving module 102 is further configured to receive, from the terminal 40 (terminal 1), a second request message for requesting to leave the program channel (program channel 5) if the judgment result of the authentication module 104 is privileged. The recording module 106 is further configured to record the end time of the terminal 40 playing the program channel according to the second request message to the viewing information of the terminal 40. When the access central office device receives the first request message of the terminal to enter the program channel 5 and authenticates it to determine that it has the right to play the program channel 5, the terminal can play the program channel, and subsequently When receiving the request of the terminal to leave the second request message of the program channel 5, the time at which the second request message is received may be set as the time when the terminal leaves the program channel 5. Thus, when the terminal has the right to play a certain program channel, the start time and the end time at which the terminal plays the program channel can be recorded. Preferably, the permission of the terminal to play a certain program channel may be one of the following: permission permission, preview permission, and disallow permission, wherein the permission permission refers to not limiting the number of times the terminal plays the program channel, and the preview permission refers to restricting the terminal to play. The number of program channels and the time of each play, the permission is not allowed to allow the terminal to play the program channel. In this way, it is flexible to set different permissions for the terminal to play different program channels. As shown in FIG. 3, in actual implementation, the database server 30 may include a viewing database and an operation and maintenance database, wherein the viewing database mainly stores the viewing information data of the terminal uploaded from the access office device, and the operation and maintenance. The database is mainly used for the operation and maintenance information stored in the network operation and maintenance of the storage. It needs to be used when collecting statistics. When the user orders the program channel, the above-mentioned authority information has been saved to the operation and maintenance database in the above database server, that is, the database server has pre-stored the authority of each terminal for different program channels. Thus, in the above preferred embodiment, the central office device receives the first request message of a certain terminal, and determines whether the terminal has the right to play the program channel, and searches the database server for the program. The permission of the channel, if the found permission is the permission permission or the preview permission, it is determined that the terminal has the right to play the program channel, and if the found permission is the permission permission, it is determined that the terminal does not have the right to play the program channel. Preferably, as shown in FIG. 2, the information statistics server 20 includes: an extraction module 202, a first statistics module 204, a second statistics module 206, a third statistics module 208, and a fourth statistics module 209. The extracting module 202 is configured to extract, from the database server 30, the viewing information corresponding to the statistical item in the viewing information of the terminal; for example, when the statistical item is the program rating, the terminal needs to be taken out from the database server. The time of a program, when the statistical item is the time-of-view rating, it is necessary to take out the time when the terminal watches the channel M in the time period [S, E] from the database server. When the statistical item is the channel preview rate, it needs to be from the database. In the server, take out the number of times the terminal previews the channel M and previews the number of all channels. When the statistical item is the unprivileged request rate, the number of times the terminal requests the unprivileged channel M and requests all are taken out from the database server. The number of times of the unprivileged channel; the first statistic module 204 is set to calculate the rating of the program P according to the following formula when the statistical item is the program rating:
节目 P的收视率(% ) = ~ —— -x l 00% , 其中, 《表示提取出的终端的 nx {E - S) 数量, ;表示 w个终端中第 个终端播放节目 P的时间, E、 S分别为节目 P 的结束时间和开始时间, i = 1,. , n; 第二统计模块 206 , 设置为当统计项目为时段收视率时, 按照下式计算 节目频道 M的时段收视率的值为: The rating of the program P (%) = ~ —— -xl 00% , where "represents the number of nx {E - S" of the extracted terminal, ; represents the time when the first terminal of the w terminals plays the program P, E And S are respectively the end time and the start time of the program P, i = 1, . , n; the second statistic module 206 is set to calculate the time-of-day rating of the program channel M according to the following formula when the statistical item is the time-of-day rating The value is:
节目频道 M的时段收视率 (% ) = ~ —— -x l 00% , 其中, w表示提取 nx {E - S) 出的终端的数量, ;表示 n个终端中第 i个终端播放节目频道 M的时间, E、 S分别为所要统计的时段的结束时间和开始时间, i = 1,. , n; 第三统计模块 208 , 设置为当统计项目为频道预览率时, 按照下式计算 节目频道 M的预览率的值为: The time period rating (%) of the program channel M = ~ —— -xl 00% , where w represents the number of terminals from which nx {E - S is extracted, and represents the ith terminal of the n terminals to play the program channel M Time, E, S are the end time and start time of the time period to be counted respectively, i = 1, . , n; The third statistical module 208 is set to calculate the program channel according to the following formula when the statistical item is the channel preview rate The value of M's preview rate is:
节目频道 M的预览率 (%) =^ ~ x l 00% , 其中, 《表示提取出的具有 The preview rate of the program channel M (%) =^ ~ x l 00% , where "expresses the extracted
节目频道 M的预览权限的终端的数量, ^表示 n个终端中第 i个终端在一定 时段内预览节目频道 M的次数, 4表示 w个终端中第 ζ·个终端在一定时段内 预览所有节目频道的次数, = 1,...,《; 第四统计模块 209 , 设置为当统计项目为无权限请求率时, 按照下式计 算节目频道 Μ的无权限请求率的值为: The number of terminals for preview permission of program channel M, ^ indicates that the i-th terminal in n terminals is certain The number of times the program channel M is previewed during the time period, and 4 indicates the number of times the third terminal of the w terminals previews all the program channels in a certain period of time, = 1, ..., "; fourth statistical module 209, set to be statistical When the item is a non-privileged request rate, the value of the non-privileged request rate for calculating the program channel 按照 according to the following formula is:
节目频道 Μ的无权限请求率 (% ) =^ ~ x l 00%, 其中, w表示提取出 Program channel Μ no permission request rate (%) =^ ~ x l 00%, where w means extract
的对节目频道 Μ具有不允许权限的终端的数量, 表示《个终端中第 个终 端在一定时段内请求进入节目频道 Μ的次数, Α表示第 i个终端在一定时段 内请求进入所有其具有不允许权限的节目频道的次数, i = !,.., n。 显然, 在统计得到上述的统计项目的值后, 可以输出各种统计项目的结 果, 供运维参考。 该优选实施例能够灵活地根据各种需求来统计各类收视信息, 完全实现 由系统根据需要自动统计, 可以提高数据的精确度, 降低了成本而且精度更 高。 此外, 该优选实施例丰富了现有的收视统计, 不仅能够统计节目收视率 和频道收视率, 还可以 居用户平时对只有预览权限和没有权限的频道的点 播统计, 来准确定位各类用户感兴趣的节目, 可以针对性地进行定制。 优选地, 提取出的《个终端为各个终端中部分或全部的满足统计项目的 条件的终端。 这样, 可以 居实际需求, 从整个用户群中进行统计, 也可以 釆用釆样的方式进行统计。 从整个用户群中进行统计时, 进一步提高了数据 的正确性和精度。 如图 3所示, 在实际实施时, 上述终端 40作为用户的收视设备由电视 机和机顶盒组成, 其通过接入终端设备与接入局端设备连接。 用户可以在家 里使用终端收看 IPTV, 终端 40在每一个家庭用户中都存在, 有的甚至存在 多个。 终端在系统中主要作用是发起收视 (即发送上述第一请求消息) 和终 止收视 (即发送上述第二请求消息)。 接入局端设备和接入终端设备, 下面接的是电视系统, 大量的终端通过 接入终端设备接入到局端侧, 局端侧包括接入局端设备、 数据库艮务器、 和 信息统计服务器, 这三者通过网络相互通信。 图 4时才艮据本发明实施例的 IPTV系统的收视信息统计方法。 如图 4所 示, 该方法包括以下步 4聚: 步骤 S402,接入局端设备接收到来自各个终端的用于请求进入节目频道 的第一请求消息; 步骤 S404 , 接入局端设备根据第一请求消息记录各个终端的收视信息; 步骤 S406,信息统计服务器从记录的收视信息中提取出与所要统计的统 计项目相对应的收视信息,并使用提取出的收视信息统计得到统计项目的值。 优选地, 如图 5所示, 步骤 S404包括以下步骤: 步骤 S502, 接入局端设备发现了有终端请求加入某一个频道, 即接收到 来自某一个终端的用户请求加入某一个节目频道的第一请求消息, 其中, 该 第一请求消息中包括终端信息和节目频道信息; 步骤 S504,接入局端设备对第一请求消息中的终端信息所指示的终端的 权限进行判断, 权限可以有三种: 允许、 预览或不允许, 当权限为允许或者 预览时就确定该终端有播放上述节目频道信息所指示的节目频道的权限, 并 转入步骤 S506, 当权限为不允许时就确定该终端没有播放该节目频道的权 限, 并转入步 4聚 S208; 具体地, 由于预先在数据库月艮务器的运维数据库中存储有各个终端对不 同节目频道的权限, 接入局端设备在对终端的权限进行判断时, 可以从运维 数据库中去查找。 步骤 S506, 接入局端设备记录下终端信息, 收视的频道, 终端对收视这 个频道的权限(即为允许或者预览), 终端收视这个频道的开始时间和结束时 间。 然后会由步 4聚 S510来记录这些信息; 其中, 结束时间是接入局端设备通过后续接收到的来自终端的用于请求 离开节目频道的第二请求消息来得到的, 默认接收到该第二请求消息的时间 为该结束时间。 在实际实施时, 当判断终端有播放该频道的允许权限时, 可以每隔一定 时间 (如 1分钟) 生成一条日志, 该日志中有该日志产生的时间, 终端信息 和节目频道信息, 在接收到上述第一请求消息和用于离开频道的第二请求消 息时还有终端播放的开始时间和结束时间; 当判断终端有播放该频道的预览 权限时, 仅在终端离开该节目频道时才会产生一条日志, 该日志还可以记录 有这是终端第几次预览该频道。 所有的这些日志称为终端的收视信息。 步骤 S508, 接入局端设备记录下终端信息, 收视的频道信息, 终端对收 视这个频道的权限(即为不允许 ),终端开始播放这个频道的时间(此时为空), 然后会由步骤 S510来记录这些信息; 在实际实施时, 当判断终端没有播放该频道的权限时, 同样会产生一条 日志, 记录有该日志的产生时间、 终端的权限为不允许。 步骤 S510,接入局端设备存储在步骤 S506和步骤 S508中记录的收视信 息, 并在判断满足上传条件后将收视信息上传给数据库服务器 (具体的是上 传给收视数据库)。 存储的数据信息主要由以下组成,一是用户信息, 由设备 标示符和端口标示符来唯一标示; 二是收视的频道, 使用频道的 IP地址来标 示; 三是权限, 允许、 预览、 和不允许三个中的一个; 四是开始时间, 时间 单位, 记录了用户加入某个频道的时间; 五是结束时间, 时间单位, 记录了 用户离开某个频道的时间, 权限为不允许时这个数据为空; 步骤 S512, 将收视信息上传给数据库服务器。 在接入局端设备中会有一 定的策略来控制收视信息的上传, 一般会有两种方式结合来控制, 达到一定 存储条目 (即预定数量阈值) 时上传给数据库服务器, 如果没有达到一定存 储条目, 但是达到一定时间时也上传给数据库服务器。 在图 5所示的流程中, 接入局端设备将记录的各个终端的收视信息上传 给了数据库服务器后, 如图 6所示, 数据库服务器按照以下步骤存储这些收 视信息: 数据存储共分两个过程, 一个是收视数据库中存储的收视信息, 由 整个系统提供数据信息, 另外一个是运维数据库, 存储了运维的相关信息, 从运维部分获取到的用户信息和节目频道信息存储在这个数据库中。 步骤 S602 ,收视数据库通过网络接收接入局端设备上传来的各个终端的 收视数据; 步骤 S604 , 收视数据库对接收到的收视信息进行加工和处理。 由于获得 的收视信息是比较原始的数据, 需要经过进一步的加工处理,一是用户信息, 转换为运维中唯一表示的用户标示符; 二是收视的频道, 需要将 IP地址转换 为实际频道信息; 步骤 S606 , 将经过加工和处理后的收视信息存储入数据库中, 数据库的 关键索引为终端信息。 如图 7所示, 上述图 4所示的方法中的步骤 S406包括以下步骤: 步骤 S702 , 选择信息统计项目, 主要包括四种收视信息的数据统计: 节 目收视率、 时段收视率、 频道预览率、 和无权限请求率, 可以从这四种统计 项目中选择一项或多项进行统计; 步骤 S704 , 选择样本数据, 根据步骤 S702中选择的信息统计项目, 从 数据库服务器中提取出样本终端的收视信息, 需要统计的频道节目信息; 提 取出的样本终端可以是全部终端, 也可以是一部分终端。 这样, 可以才艮据不 同的需求, 从整个用户群进行统计或者釆用釆样的方式进行统计; 步骤 S706 ,根据步骤 S702中选择的信息统计项目和步骤 S504中提取出 的数据进行计算, 获取信息统计结果, 并输出结果。 具体包括: The number of terminals having no permission to the program channel ,, indicating the number of times the first terminal in a terminal requests to enter the program channel within a certain period of time, Α indicates that the ith terminal requests access to all of them within a certain period of time The number of program channels that are allowed to be privileged, i = !,.., n. Obviously, after the statistics of the above statistical items are obtained, the results of various statistical items can be output for reference. The preferred embodiment can flexibly count various types of viewing information according to various requirements, and fully realize automatic counting by the system according to needs, can improve data accuracy, reduce cost and have higher precision. In addition, the preferred embodiment enriches the existing viewing statistics, and can not only count the program rating and the channel rating, but also conveniently count the user senses on the on-demand statistics of the channels with only preview permission and no permission. Programs of interest can be customized to be targeted. Preferably, the extracted terminals are terminals that meet some or all of the conditions of the statistical items in each terminal. In this way, statistics can be collected from the entire user group in actual demand, and statistics can be performed in a similar manner. When the statistics are collected from the entire user group, the accuracy and accuracy of the data are further improved. As shown in FIG. 3, in actual implementation, the terminal 40 as a user's viewing device is composed of a television set and a set top box, and is connected to the access central office device through the access terminal device. The user can watch the IPTV at the home using the terminal, and the terminal 40 exists in every home user, and some even have multiple. The main role of the terminal in the system is to initiate viewing (ie, sending the first request message) and terminating the viewing (ie, sending the second request message). Accessing the central office equipment and the access terminal equipment, followed by the television system, a large number of terminals accessing the central office side through the access terminal equipment, and the central office side includes the access office equipment, the database server, and the information The statistics server, these three communicate with each other through the network. FIG. 4 is a diagram showing a method for collecting viewing information of an IPTV system according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps: Step S402: The access office device receives a first request message from each terminal for requesting to enter a program channel. Step S404, accessing the central office device according to the first A request message records the viewing information of each terminal. In step S406, the information statistics server extracts the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and uses the extracted viewing information to obtain the value of the statistical item. Preferably, as shown in FIG. 5, step S404 includes the following steps: Step S502: The accessing end office device finds that a terminal requests to join a certain channel, that is, receives a request from a certain terminal to join a certain program channel. a request message, where the first request message includes terminal information and program channel information; Step S504, the access office device determines the authority of the terminal indicated by the terminal information in the first request message, and the rights may be three : Allow, preview or not allow, when the permission is allowed or previewed, it is determined that the terminal has the right to play the program channel indicated by the program channel information, and the process goes to step S506, and when the permission is not allowed, it is determined that the terminal does not have Playing the rights of the program channel, and proceeding to step 4, S208; Specifically, since the rights of each terminal to different program channels are stored in the operation and maintenance database of the database server in advance, the accessing end device is in the opposite terminal. When the authority is judged, it can be searched from the operation and maintenance database. Step S506, the accessing end device records the terminal information, the channel to be viewed, the terminal's right to view the channel (ie, permission or preview), and the terminal views the start time and the end time of the channel. Then, the information is recorded by the step 4 S510; wherein, the end time is obtained by the access office device by the subsequently received second request message from the terminal for requesting to leave the program channel, and the default is received. The time of the second request message is the end time. In actual implementation, when it is judged that the terminal has the permission to play the channel, a log may be generated at a certain time (for example, 1 minute), and the log has the time when the log is generated, the terminal information and the program channel information, and is received. When the first request message and the second request message for leaving the channel are used, there is also a start time and an end time of the terminal broadcast; when it is judged that the terminal has the preview permission to play the channel, only when the terminal leaves the program channel A log is generated, which can also record that this is the terminal to preview the channel several times. All of these logs are called terminal viewing information. Step S508, the access office device records the terminal information, the channel information that is viewed, the terminal's right to view the channel (that is, is not allowed), and the time when the terminal starts playing the channel (this time is empty), and then the steps are performed. S510 records the information; in actual implementation, when it is judged that the terminal does not have the right to play the channel, a log is also generated, and the time when the log is generated and the permission of the terminal are not allowed. Step S510, the access office equipment stores the viewing information recorded in step S506 and step S508, and uploads the viewing information to the database server (specifically, uploads to the viewing database) after determining that the uploading condition is satisfied. The stored data information is mainly composed of the following: one is user information, which is uniquely indicated by the device identifier and the port identifier; the second is the channel for viewing, which is indicated by the IP address of the channel; the third is permission, permission, preview, and no Allow one of the three; Fourth is the start time, the time unit, which records the time when the user joins a channel; 5 is the end time, the time unit, which records the time when the user left a channel, and the permission is not allowed. Empty; in step S512, the viewing information is uploaded to the database server. There are certain policies in the access office equipment to control the uploading of the viewing information. Generally, there are two ways to control the uploading to the database server when a certain storage item (that is, the predetermined number of thresholds) is reached, if the storage is not reached. An entry, but is also uploaded to the database server when it reaches a certain time. In the process shown in FIG. 5, after the access office device uploads the recorded viewing information of each terminal to the database server, as shown in FIG. 6, the database server stores the viewing information according to the following steps: The data storage is divided into two. The process is to collect the viewing information stored in the database, and the entire system provides the data information. The other is the operation and maintenance database, which stores the relevant information of the operation and maintenance. The user information and program channel information obtained from the operation and maintenance part are stored in the process. In this database. Step S602, the viewing database receives the viewing data of each terminal uploaded by the accessing end device through the network; Step S604, the viewing database processes and processes the received viewing information. Since the obtained viewing information is relatively original data, further processing is required, one is user information, which is converted into the only user identifier in the operation and maintenance; the second is the channel to be viewed, and the IP address needs to be converted into actual channel information. Step S606, storing the processed and processed viewing information into a database, and the key index of the database is terminal information. As shown in FIG. 7, step S406 in the method shown in FIG. 4 includes the following steps: Step S702, selecting an information statistics item, which mainly includes data statistics of four types of viewing information: program rating, time-of-view rating, and channel preview rate. And the non-privileged request rate, one or more of the four statistical items may be selected for statistics; Step S704, selecting sample data, extracting the sample terminal from the database server according to the information statistical item selected in step S702 The viewing information, the channel program information that needs to be counted; the extracted sample terminal may be all terminals, or may be part of the terminal. In this way, according to different requirements, statistics can be performed from the entire user group or in a manner that is used in the same manner; Step S706, according to the information statistical item selected in step S702 and the data extracted in step S504, the calculation is performed. The information is statistically summarized and the results are output. Specifically include:
( 1 ) 节目收视率, 是指一定时段内收看某一节目的人数 (或家户数) 占观众总人数(或总家户数) 的百分比。 为 n个取样终端收看节目 P的加权 总时间与这个节目的持续时间 [S , E]的 n倍的比值。 抽取 n个终端, 从收视 数据库中取出每个终端播放某一节目的时间, 然后将每个终端的观看时间全 部累计相加,再与这个节目持续时间的 n倍的比值就是节目 P的收视率, Ί]为 每个终端观看节目 P的时间, 计算公式如下: (1) Program ratings refer to the percentage of the total number of viewers (or the total number of households) who watched a program within a certain period of time (or the number of households). The n-sample terminal looks at the ratio of the weighted total time of the program P to n times the duration [S, E] of the program. Extracting n terminals, taking out the time when each terminal plays a certain program from the viewing database, and then accumulating the total viewing time of each terminal, and then the ratio of n times of the duration of the program is the rating of the program P. , Ί] for each terminal to watch the program P time, the formula is as follows:
节目 P的收视率 (% ) = ~ —— -xl 00%。 The rating of program P (%) = ~ —— -xl 00%.
nx (E - S) 其中, Ί]由终端播放节目 P所在的频道的开始时间和结束时间落入预先 输入的节目 P的持续时间 [S , E]的时间得到。 ( 2 ) 时段收视率是指一定时段内收看某一频道的人数 (或家户数) 占 观众总人数 (或总家户数) 的百分比。 为 n个取样终端在某一时段播放某一 频道的加权总时间与这个时段持续时间的 n倍的比值。 抽取 n个终端, 从收 视数据库中取出每个终端在时段 [S , E]观看频道 M的时间, 然后将每个终端 的观看时间全部累计相加,再与这个时段的 n倍的比值就是频道 M的时段收 视率, ;为每个终端播放频道 M的时间, 计算公式如下: Nx (E - S) where Ί] is obtained by the time when the start time and the end time of the channel in which the terminal plays the program P fall within the duration [S, E] of the program P input in advance. (2) The time-of-day rating refers to the percentage of the total number of viewers (or the total number of households) who watched a certain channel (or the number of households) in a certain period of time. The ratio of the weighted total time at which a sampling terminal plays a certain channel to n times the duration of the period. N terminals are extracted, and the time at which each terminal watches the channel M in the period [S, E] is taken out from the viewing database, and then the viewing time of each terminal is cumulatively added, and the ratio of n times of this period is the channel. The time-of-view rate of M, the time for playing channel M for each terminal, the calculation formula is as follows:
频道 M的时段收视率 ( % ) = ~ ψ—— -x l 00%。 Channel M's time frame rating (%) = ~ ψ—— -x l 00%.
nx (E - S) 其中, ;可以由终端播放频道 M的开始时间和结束时间落入时段 [S , E] 的时间得到。 ( 3 ) 频道预览率是指对某一频道具有预览权限的用户预览次数占有预 览权限总用户的百分比。 为 n个对某一频道具有预览权限的终端在一定时段 内预览这个频道的次数与 n个终端预览所有频道总次数的比值。 抽取 n个终 端的预览频道信息, 从收视数据库中取出每个终端预览频道 M的次数 和 预览所有频道的次数 4 , 计算公式如下:  Nx (E - S) where , ; can be obtained by the time when the terminal plays the channel M start time and end time falls into the period [S , E]. (3) The channel preview rate is the percentage of the total number of users who have preview permission for a channel and who have the preview permission. The ratio of the number of times that n terminals with preview permission to a certain channel preview the channel in a certain period of time and the total number of times all n channels preview the total number of channels. The preview channel information of the n terminals is extracted, the number of preview channels M of each terminal is extracted from the viewing database, and the number of times of previewing all the channels is 4, and the calculation formula is as follows:
频道 M的预览率 ( % ) = ^ ~ x l 00%„ Channel M preview rate ( % ) = ^ ~ x l 00% „
其中, ^和 4可以通过统计相关的收视信息的条数来得到。 Among them, ^ and 4 can be obtained by counting the number of related viewing information.
( 4 ) 无权限请求率是指对某一频道无权限的用户请求数占无权限总用 户的百分比。 为 n个对某一频道无权限的终端在一定时段内请求这个频道的 次数与 n个终端请求所有无权限频道总次数的比值。 抽取 n个终端的无权限 频道请求信息,从收视数据库中取出每个终端请求无权限频道 M的次数 ^和 请求所有无权限频道的次数 , 计算公式如下: 频道 Μ的无权限请求率 (% ) = ^一 xl 00%。 (4) The unprivileged request rate is the percentage of the total number of user requests that do not have permission for a channel. The ratio of the number of times that n terminals that do not have permission to a certain channel request the channel in a certain period of time and the total number of times all n terminals request all unprivileged channels. The unprivileged channel request information of the n terminals is extracted, and the number of times each terminal requests the unprivileged channel M and the number of requests for all unprivileged channels are extracted from the viewing database, and the calculation formula is as follows: Channel 无 no permission request rate (%) = ^ a xl 00%.
其中, ^和 可以通过统计相关的收视信息的条数来得到。 上述信息统计服务器对收视信息的统计和计算信息统计项目的结果能够 为运维提供可靠的统计数据来完成各种节目调整, 对节目质量的提高和促进 媒体的良性发展具有巨大的推动作用。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: Among them, ^ and can be obtained by counting the number of related viewing information. The statistics statistics server's statistics on the viewing information and the results of the calculation information statistics project can provide reliable statistical data for operation and maintenance to complete various program adjustments, which greatly promotes the improvement of program quality and promotes the sound development of the media. From the above description, it can be seen that the present invention achieves the following technical effects:
( 1 )可以与现有 IPTV系统兼容, 只需要做部分修改, 不需要做太多额 外投资; (1) It can be compatible with existing IPTV systems, and only needs to be partially modified, so there is no need to make too much extra investment;
( 2 ) 统计信息非常方便, 可以由设备自动统计收视信息并上传至数据 库, 在需要时调用数据库的数据; (2) The statistical information is very convenient. The device can automatically collect the viewing information and upload it to the database, and call the data of the database when needed;
( 3 ) 取样精确, 甚至可以将所有用户全体取样, 维护用户信息, 可以 很容易的获得各种取样的结果; (3) Sampling is accurate, and even all users can be sampled to maintain user information, and various sampling results can be easily obtained;
( 4 ) 丰富现有的收视统计, 不仅能够统计节目收视率和频道收视率, 还可以根据用户平时对只有预览权限和没有权限的频道的点播统计, 来准确 定位各类用户感兴趣的节目, 可以针对性地进行定制。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步 4聚, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 W 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 (4) Enrich existing viewing statistics, not only can count program ratings and channel ratings, but also accurately locate programs of interest to users based on the on-demand statistics of channels that only have preview rights and no rights. It can be customized to be targeted. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Where in the invention ^" God and Within the W principle, any modifications, equivalent substitutions, improvements, etc., are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claims
1. 一种交互式网络电视 IPTV系统, 包括: 1. An interactive network television IPTV system, comprising:
接入局端设备, 设置为接收来自各个终端的用于请求进入节目频 道的第一请求消息, 根据所述第一请求消息记录各个所述终端的收视 信息;  Accessing the central office device, configured to receive a first request message from each terminal for requesting to enter a program channel, and record the viewing information of each terminal according to the first request message;
信息统计服务器, 设置为从记录的所述收视信息中提取出与所要 统计的统计项目相对应的收视信息, 并使用提取出的收视信息统计得 到所述统计项目的值。  The information statistics server is configured to extract the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and use the extracted viewing information to statistically obtain the value of the statistical item.
2. 根据权利要求 1所述的系统, 其中, 所述接入局端设备包括: 2. The system according to claim 1, wherein the accessing the central office device comprises:
接收模块, 设置为接收所述第一请求消息, 其中, 所述第一请求 消息中包括: 终端信息和节目频道信息;  The receiving module is configured to receive the first request message, where the first request message includes: terminal information and program channel information;
鉴权模块, 设置为判断所述终端信息所指示的终端是否有播放所 述节目频道信息所指示的节目频道的权限;  The authentication module is configured to determine whether the terminal indicated by the terminal information has the right to play the program channel indicated by the program channel information;
记录模块, 设置为在所述鉴权模块的判断结果为有权限时, 记录 所述终端的收视信息, 其中, 所述收视信息包括: 所述终端信息、 所 述节目频道信息、 所述终端播放所述节目频道的权限、 和所述终端播 放所述节目频道的开始时间;在所述鉴权模块的判断结果为无权限时, 记录所述终端的收视信息, 其中, 所述收视信息包括: 所述终端信息、 所述节目频道信息、 和所述终端播放所述节目频道的权限。  a recording module, configured to: when the judgment result of the authentication module is privileged, record the viewing information of the terminal, where the viewing information includes: the terminal information, the program channel information, and the terminal playing The permission of the program channel, and the start time of the terminal to play the program channel; when the determination result of the authentication module is no permission, the viewing information of the terminal is recorded, where the viewing information includes: The terminal information, the program channel information, and the right of the terminal to play the program channel.
3. 根据权利要求 2所述的系统, 其中, 3. The system according to claim 2, wherein
所述接入局端设备还包括: 发送模块, 设置为在确定所述记录的 收视信息达到预定数量阈值、 和 /或到达预定时间时, 将所述记录的收 视信息上传到数据库 艮务器;  The accessing end device further includes: a sending module, configured to: when determining that the recorded viewing information reaches a predetermined number threshold, and/or arrive at a predetermined time, uploading the recorded viewing information to a database server;
所述系统还包括: 所述数据库 艮务器, 设置为存储所述接入局端 设备上传来的收视信息。  The system further includes: the database server configured to store the viewing information uploaded by the access office device.
4. 根据权利要求 2所述的系统, 其中, 所述接收模块还设置为在所述鉴权模块的判断结果为有权限的情 况下, 接收来自所述终端的用于请求离开所述节目频道的第二请求消 息; 4. The system of claim 2, wherein The receiving module is further configured to receive, when the determination result of the authentication module is privileged, a second request message from the terminal for requesting to leave the program channel;
所述记录模块还设置为根据所述第二请求消息将所述终端播放所 述节目频道的结束时间记录到所述终端的所述收视信息中。 才艮据权利要求 3或 4所述的系统, 其中, 所述终端播放所述节目频道 的权限为以下之一: 允许权限、 预览权限、 和不允许权限, 其中, 所 述允许权限是指不限制所述终端播放所述节目频道的次数, 所述预览 权限是指限制所述终端播放所述节目频道的次数和每次播放的时间, 所述不允许权限是指不允许所述终端播放所述节目频道。 根据权利要求 5所述的系统, 其中, 所述信息统计服务器包括:  The recording module is further configured to record an end time of the terminal playing the program channel to the viewing information of the terminal according to the second request message. The system according to claim 3 or 4, wherein the terminal has the right to play the program channel as one of: permission, preview permission, and disallow permission, wherein the permission permission means no Limiting the number of times the terminal plays the program channel, the preview permission refers to limiting the number of times the terminal plays the program channel and the time of each play, and the disallowing permission means that the terminal is not allowed to play the Said program channel. The system according to claim 5, wherein the information statistics server comprises:
提取模块, 设置为从所述数据库服务器中提取出 n个所述终端的 收视信息中与所述统计项目相对应的收视信息; An extraction module, configured to extract, from the database server, the viewing information corresponding to the statistical item in the viewing information of the n terminals;
第一统计模块, 设置为当所述统计项目为节目收视率时, 按照下 式计算节目 P的收视率的值为:  The first statistic module is configured to calculate, when the statistic item is the program rating, the value of the rating of the program P according to the following formula:
节目 P的收视率 (% ) = ~ —— -x l 00%, 其中, 《表示提取出的 nx (E - S) 终端的数量, T表示 n个终端中第 i个终端播放所述节目 P的时间, E、 S分别为所述节目 P的结束时间和开始时间, i = 1,. , n; The rating of the program P (%) = ~ —— -xl 00%, where "represents the number of extracted nx (E - S) terminals, and T represents the ith terminal of the n terminals playing the program P Time, E, S are the end time and start time of the program P, respectively, i = 1, . , n;
第二统计模块, 设置为当所述统计项目为时段收视率时, 按照下 式计算节目频道 M的时段收视率的值为:  The second statistic module is configured to: when the statistical item is the time period rating, calculate the value of the time period of the program channel M according to the following formula:
节目频道 M的时段收视率(% ) = ~ —— -x l 00%, 其中, w表示 nx {E - S) 提取出的终端的数量, Ί]表示所述《个终端中第 i个终端播放所述节目 频道 M的时间, E、 S分别为所要统计的时段的结束时间和开始时间, i = n; The time-of-day rating (%) of the program channel M = ~ —— -xl 00%, where w represents the number of terminals extracted by nx {E - S, Ί] indicates that the i-th terminal in the terminal plays The time of the program channel M, E, S are the end time and the start time of the time period to be counted respectively, i = n;
第三统计模块, 设置为当所述统计项目为频道预览率时, 按照下 式计算节目频道 M的预览率的值为: 节目频道 M的预览率 (%) =^ ~ χ 100% , 其中, 《表示提取出 The third statistic module is configured to calculate, when the statistic item is a channel preview rate, a value of a preview rate of the program channel M according to the following formula: The preview rate (%) of the program channel M = ^ ~ χ 100% , where "extracts the extraction
的具有所述节目频道 Μ的所述预览权限的终端的数量, 表示所述《 个终端中第 个终端在一定时段内预览所述节目频道 Μ的次数, 4表 示所述第 个终端在所述一定时段内预览所有节目频道的次数, i = n; The number of terminals having the preview authority of the program channel ,, indicating the number of times the first terminal in the terminal previews the program channel 在 within a certain period of time, 4 indicating that the first terminal is in the The number of times to preview all program channels in a certain period of time, i = n;
第四统计模块, 设置为当所述统计项目为无权限请求率时, 按照 下式计算节目频道 M的无权限请求率的值为:  The fourth statistic module is configured to calculate, when the statistic item is a non-privileged request rate, the value of the non-privileged request rate of the program channel M according to the following formula:
节目频道 M的无权限请求率 (% ) =^ ~ x l 00% , 其中, n表示 The no-privileged request rate (%) of the program channel M = ^ ~ x l 00% , where n represents
提取出的对所述节目频道 M具有所述不允许权限的终端的数量, 表 示所述《个终端中第 个终端在一定时段内请求进入所述节目频道 M 的次数, A表示所述第 个终端在所述一定时段内请求进入所有其具有 所述不允许权限的节目频道的次数, i = 1,. , n。 根据权利要求 6所述的系统, 其中, 提取出的《个所述终端为所述各 个终端中部分或全部的满足所述统计项目的条件的终端。 一种交互式网络电视 IPTV系统的收视信息统计方法, 包括: The extracted number of terminals having the disallowed authority for the program channel M, indicating the number of times the first terminal in the terminal requests to enter the program channel M within a certain period of time, and A indicates the first The number of times the terminal requests access to all program channels with the disallowed authority within the certain period of time, i = 1, . , n. The system according to claim 6, wherein the extracted "the terminals are terminals of some or all of the respective terminals that satisfy the condition of the statistical item. A method for collecting viewing information of an interactive network television IPTV system, comprising:
接入局端设备接收到来自各个终端的用于请求进入节目频道的第 一请求消息;  Accessing the central office device receives a first request message from each terminal for requesting entry into a program channel;
所述接入局端设备才艮据所述第一请求消息记录各个所述终端的收 视信息;  And the accessing end office device records the viewing information of each of the terminals according to the first request message;
信息统计服务器从记录的所述收视信息中提取出与所要统计的统 计项目相对应的收视信息, 并使用提取出的收视信息统计得到所述统 计项目的值。 The information statistics server extracts the viewing information corresponding to the statistical item to be counted from the recorded viewing information, and obtains the value of the statistical item using the extracted viewing information statistics.
. 根据权利要求 8所述的方法, 其中, 所述接入局端设备根据所述第一 请求消息记录各个所述终端的收视信息包括: The method according to claim 8, wherein the accessing the end office device to record the viewing information of each of the terminals according to the first request message comprises:
所述接入局端设备判断所述第一请求消息中携带的终端信息所指 示的终端是否有播放所述第一请求消息中携带的节目频道信息所指示 的节目频道的权限;  The accessing end device determines whether the terminal indicated by the terminal information carried in the first request message has the right to play the program channel indicated by the program channel information carried in the first request message;
若判断结果为有权限, 则所述接入局端设备记录所述终端的收视 信息, 其中, 所述收视信息包括: 所述终端信息、 所述节目频道信息、 所述终端播放所述节目频道的权限、 和所述终端播放所述节目频道的 开始时间;  If the result of the determination is that the user has the right, the accessing terminal device records the viewing information of the terminal, where the viewing information includes: the terminal information, the program channel information, and the terminal playing the program channel. Permission, and a start time at which the terminal plays the program channel;
若判断结果为无权限, 则所述接入局端设备记录所述终端的收视 信息, 其中, 所述收视信息包括: 所述终端信息、 所述节目频道信息、 和所述终端播放所述节目频道的权限;  If the result of the determination is that the user does not have the right, the accessing terminal device records the viewing information of the terminal, where the viewing information includes: the terminal information, the program channel information, and the terminal playing the program. Channel permissions;
所述接入局端设备保存记录的所述收视信息。  The access office device saves the recorded viewing information.
10. 才艮据权利要求 9所述的方法, 其中, 当所述判断结果为有权限时, 在 信息统计服务器从记录的所述收视信息中提取出与所要统计的统计项 目相对应的收视信息, 并使用提取出的收视信息统计得到所述统计项 目的值之前, 还包括: 10. The method according to claim 9, wherein, when the judgment result is that there is authority, the information statistics server extracts, from the recorded viewing information, the viewing information corresponding to the statistical item to be counted. And before using the extracted viewing information statistics to obtain the value of the statistical item, the method further includes:
所述接入局端设备接收到来自所述终端的用于请求离开所述节目 频道的第二请求消息;  Receiving, by the access office device, a second request message from the terminal for requesting to leave the program channel;
所述接入局端设备根据所述第二请求消息将所述终端播放所述节 目频道的结束时间记录到所述终端的所述收视信息中。  And the accessing end office device records, according to the second request message, an end time of the terminal playing the program channel to the viewing information of the terminal.
PCT/CN2011/071799 2010-07-26 2011-03-15 Interactive personality television (iptv) system and viewing information statistical method thereof WO2012013041A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010245161.9 2010-07-26
CN201010245161.9A CN102348131B (en) 2010-07-26 2010-07-26 IPTV system and viewing information statistical method thereof

Publications (1)

Publication Number Publication Date
WO2012013041A1 true WO2012013041A1 (en) 2012-02-02

Family

ID=45529391

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071799 WO2012013041A1 (en) 2010-07-26 2011-03-15 Interactive personality television (iptv) system and viewing information statistical method thereof

Country Status (2)

Country Link
CN (1) CN102348131B (en)
WO (1) WO2012013041A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301759B (en) * 2014-10-28 2018-02-02 北京国双科技有限公司 The acquisition methods and acquisition device of rating duration
CN104394433B (en) * 2014-11-27 2019-04-12 北京国双科技有限公司 The method and apparatus for detecting the broadcasting time of multimedia file in television channel
CN107404658A (en) * 2016-05-19 2017-11-28 中兴通讯股份有限公司 A kind of interactive Web TV system and user data real time acquiring method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889558A (en) * 2006-07-20 2007-01-03 华为技术有限公司 Program channel difference processing method in IPIV bearing network
CN101014117A (en) * 2007-02-08 2007-08-08 中兴通讯股份有限公司 Authentication authority method and system for packet user of IP network TV
CN101207788A (en) * 2006-12-22 2008-06-25 中兴通讯股份有限公司 System and method for statisticsing audience rating of interactive network television system
CN101742247A (en) * 2009-12-08 2010-06-16 中兴通讯股份有限公司 Method and system for interactive web TV service authentication and EPG server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001236426A (en) * 2000-02-21 2001-08-31 Mitsubishi Electric Corp Statistical popularity polling device
CN101222609A (en) * 2008-01-28 2008-07-16 天栢宽带网络科技(上海)有限公司 Audience investigation system based on bidirectional digital television techniques

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889558A (en) * 2006-07-20 2007-01-03 华为技术有限公司 Program channel difference processing method in IPIV bearing network
CN101207788A (en) * 2006-12-22 2008-06-25 中兴通讯股份有限公司 System and method for statisticsing audience rating of interactive network television system
CN101014117A (en) * 2007-02-08 2007-08-08 中兴通讯股份有限公司 Authentication authority method and system for packet user of IP network TV
CN101742247A (en) * 2009-12-08 2010-06-16 中兴通讯股份有限公司 Method and system for interactive web TV service authentication and EPG server

Also Published As

Publication number Publication date
CN102348131B (en) 2017-03-22
CN102348131A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
US20220053225A1 (en) Image Sampling from Multicast Streams
WO2016054916A1 (en) Video content recommending and evaluating methods and devices
US9113203B2 (en) Generating a sequence of audio fingerprints at a set top box
US8843952B2 (en) Determining TV program information based on analysis of audio fingerprints
KR20150027279A (en) Generating a sequence of audio fingerprints at a set top box
KR100922730B1 (en) System for gathering TV audience rating in real time in IPTV network and method thereof
CN106034262B (en) Adaptive streaming media processing method and device
GB2486033A (en) Media content monitoring
CN101371570B (en) A method and apparatus for providing a picture in picture service
CN103947219A (en) Methods, devices and computer programs for transmitting or for receiving and playing media streams
US8255942B2 (en) Broadcast area authentication
US20100223673A1 (en) Providing multimedia content with access restrictions
WO2012068980A1 (en) Method and system for positioning fault of abnormal broadcast of unicast programs
WO2007065628A1 (en) Method and system for automatic ip tv program generation
US20170347152A1 (en) Systems and Methods for Using Content Protection Signaling to Collect Audience Measurement Data
CN106060663A (en) Method and system for monitoring video smoothness in live video streaming process
WO2010051058A1 (en) System and method for recording and distributing media content
NL2015755B1 (en) Over-the-top digital media distribution of automated time-zone shifted content to client devices.
CN108540857B (en) Television audience rating and user preference control method and system based on mobile phone remote controller
WO2012013041A1 (en) Interactive personality television (iptv) system and viewing information statistical method thereof
CN106688240A (en) Method and device for remotely recording video programs
CN101388738B (en) Broadcasting receiver and method of transmitting/receiving broadcasting signal
US20150067740A1 (en) System for providing audio recordings
US20120266196A1 (en) Method and device for controlling bandwidth of set top boxes in internet protocol television (iptv) system
WO2015027860A1 (en) Video service processing method and apparatus, and network device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11811743

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11811743

Country of ref document: EP

Kind code of ref document: A1