WO2013120321A1 - 一种录制视频节目的方法及装置 - Google Patents

一种录制视频节目的方法及装置 Download PDF

Info

Publication number
WO2013120321A1
WO2013120321A1 PCT/CN2012/074365 CN2012074365W WO2013120321A1 WO 2013120321 A1 WO2013120321 A1 WO 2013120321A1 CN 2012074365 W CN2012074365 W CN 2012074365W WO 2013120321 A1 WO2013120321 A1 WO 2013120321A1
Authority
WO
WIPO (PCT)
Prior art keywords
matching
video data
recording
module
image
Prior art date
Application number
PCT/CN2012/074365
Other languages
English (en)
French (fr)
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 WO2013120321A1 publication Critical patent/WO2013120321A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/782Television signal recording using magnetic recording on tape
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4184External card to be used in combination with the client device, e.g. for conditional access providing storage capabilities, e.g. memory stick
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present invention relates to the field of terminal equipment technologies, and in particular, to a method and apparatus for recording a video program.
  • the application of mobile multimedia broadcasting enables users to watch their favorite live programs in outdoor or mobile situations, but for various reasons, users may not be able to watch the programs in time. In order to provide users with better service quality, it is necessary for developers to implement the recording function of mobile multimedia broadcast programs.
  • the technical problem to be solved by the present invention is to provide a method and apparatus for recording a video program, which can accurately record a video program, avoiding accidental recording and unnecessary power loss caused by program cancellation.
  • the present invention uses the following technical solutions:
  • a method of recording a video program including:
  • the terminal device receives the wireless signal according to the basic condition of the recorded video program, performs decoding, obtains video data, performs matching of the task data on the video data, performs storage of the video data according to the matching result, and stops receiving the wireless signal. .
  • the task key includes a matching template that starts recording
  • the terminal device performs task key matching on the video data, and the step of storing the video data according to the matching result includes: traversing the decoded image of the video data, and the image of the video data and the start recording The matching template is matched, and if the matching is consistent, the video data is stored.
  • the terminal device determines whether the current time distance recording start time is less than a pre-configured start matching process time, and if not, continues to perform matching; Otherwise the recording ends.
  • the task key further includes a matching template that ends recording;
  • the step of the terminal device performing the task key matching on the video data, and stopping the receiving of the wireless signal according to the matching result includes: determining, in the process of storing the video data, whether the current time distance recording end time is less than a predetermined amount If the matching is consistent, the image of the video data is matched with the matching template that ends recording, and if the matching is consistent, the receiving of the wireless signal is stopped; if the matching is inconsistent, the device continues to be performed. The storage of the video data is performed; if the current time distance recording end time is not less than the end matching process time, the reception of the wireless signal is stopped.
  • the matching template that starts recording is a starting image of the video program; and the matching template that ends recording is an ending image of the video program;
  • the step of the terminal device matching the video data with the matching recording module and the ending recording matching template includes: scaling the corresponding matching module to be the same size as the image in the video data, extracting the Determining whether the matching is consistent, the r , wherein Said
  • f ⁇ m, n) is a matrix of gray values of images in the video data
  • g is a matrix of gray values of the corresponding matching module
  • is a gray average of the images in the video data, and is correspondingly matched The grayscale average of the module.
  • the basic condition includes a program channel, a date, and a recording time range of the video program; the terminal device receives the wireless signal according to a basic condition of the recorded video program, and the decoding comprises: recording according to the date and the The time range is that the wireless signal is received from the program channel when the recording start time is reached, and is decoded.
  • An apparatus for recording a video program comprising: a processing module, a wireless module, and a key judging module, wherein:
  • the processing module is configured to: start, according to a basic condition of recording a video program, the wireless module to receive a wireless signal, perform decoding, and obtain video data; and determine, according to the key, the module And storing the video data and stopping receiving the wireless signal; the wireless module is configured to: receive the wireless signal;
  • the key judging module is configured to: perform matching of the task data on the video data, and notify the processing module of the matching result.
  • the task key includes a matching template that starts recording
  • the key judging module is configured to perform matching of the task data on the video data in the following manner: traversing the image of the video data obtained by decoding, and performing an image of the video data with the matching template that is started to be recorded Match
  • the processing module is configured to perform storage of the video data according to a matching result obtained by the key judging module according to the following manner: if the matching result indicates that the matching is consistent, storing the video data.
  • the task key further includes a matching template that ends recording
  • the key judging module is configured to perform matching of the task data on the video data in the following manner: in the process of storing the video data by the processing module, determining whether the current time distance recording end time is less than a pre-configuration End matching process time, if less, matching the image of the video data with the matching recorded template; otherwise, notifying the processing module to stop receiving the wireless signal;
  • the processing module is configured to perform storage of the video data and stop receiving the wireless signal according to a matching result obtained by the key judging module in the following manner: matching an image of the video data with the end recording When the template matching is consistent, the reception of the wireless signal is stopped; if the matching is inconsistent, the storage of the video data is continued.
  • the matching template that starts recording is a starting image of the video program; and the matching template that ends recording is an ending image of the video program;
  • the key judging module is configured to: scale the matching module that starts recording and/or the matching template that ends recording to be the same as the image size in the video data, and extract an image in the video data and Corresponding to the gray value matrix of the module, the size of the gray value matrix is ⁇ ⁇ N, calculating a correlation coefficient r of the gray value matrix, determining whether the matching is consistent, Wherein the / is the number of videos
  • g is the gray value matrix of the corresponding matching module
  • M/ is the gray average value of the image in the video data, which is the gray average value of the corresponding matching module.
  • the above technical solution controls and matches the video data through the task key, and performs correlation calculation between the network data and the local data to determine whether it is useful data required by the terminal, and realizes accurate recording of the program, so that it cannot be viewed in time.
  • the user of the program provides an effective method for accurately recording the program, and the user can ensure that the mobile phone accurately records the program for the user when the program cannot be viewed.
  • the above technical solution can better reflect the accuracy and intelligence of the video recording task, and Combined with a large-capacity storage device, it can record large-capacity programs.
  • FIG. 1 is a flowchart of a method of recording a video program according to the embodiment
  • FIG. 2 is a schematic diagram of a connection between a memory card and a processing module in the embodiment
  • FIG. 3 is a block diagram of an apparatus for recording a video program according to the embodiment.
  • the time threshold is used to control the opening of the CMMB wireless module (MODEM), and the unnecessary loss of the power of the terminal is controlled by the limitation of the time domain.
  • the terminal receives and decodes the data carried by the air signal, and determines whether the recording function is started or stopped by the matching result of the task key, wherein the task key may be the beginning image and the ending image of the program, etc.
  • the key needs to be downloaded to the user through the carrier network or the terminal manufacturer network.
  • the download of the task key may be downloaded after the user actively queries, or the terminal automatically triggers the packet service (PS) automatically through the basic conditions set by the user.
  • PS packet service
  • the terminal device scales the image to be consistent with the image in the received video data, extracts a matrix of gray values, and passes For the video image traversal, the correlation coefficient of the gray value matrix is calculated to realize the detection of the recorded program, and the detected video data is imported into the memory to complete the storage of the video data.
  • the method for recording a video program in this embodiment includes:
  • Step 101 The terminal device receives the recording condition input by the user, and the recording conditions include: a basic condition, a start condition, and an end condition;
  • Basic conditions include: program channel, date, and recording time range.
  • the start condition includes the start of the matching module and the start of the matching process time
  • the end condition includes the end of the recorded matching template and the end of the matching process time.
  • the program channel is CCTV5, the date is 2011.12.09, and the recording time range is 09:00 ⁇ 12:00.
  • the basic conditions are manually input into the specified option box by the user according to the program schedule of the current day in the UI interface, or a keyword search interface is provided for the user, and the searched result is displayed for the user to select. After the selection, the user can automatically complete the network data. Parameter configuration of the basic conditions.
  • Start condition The starting feature picture of the world football (starting image), start matching process time
  • End condition End of the football feature picture (end image), end matching process time (T,): 10min.
  • the configuration of the start condition and the end condition can be implemented by the user manual configuration and the network automatic configuration.
  • the manual configuration requires the user to go to the specified official website to download the corresponding task key synchronously, and then configure the corresponding task option box;
  • the terminal device can automatically search the corresponding network through the PS service through the basic conditions configured by the user, and match the corresponding search information to the corresponding interface option box.
  • the matching process time refers to the time when the task key and the network side data are effectively compared. The process occurs in the initial phase and the ending phase of the recording task, so as to avoid unnecessary loss during the recording task, such as frequent invalidation. Matching can lead to power consumption problems, resource usage issues, and so on.
  • Step 102 When the recording time is reached, the clock generation starts to be interrupted, and the terminal device automatically turns on the MODEM to receive the wireless signal in the air for decoding.
  • the clock of this embodiment generates a start interrupt in 2011.12.09 09: 00 in the basic condition.
  • Step 103 Extract a matrix of gray values of all the images of the matched video module and the decoded video data, and traverse the gray value matrix of all the images of the decoded video data, and perform template matching in sequence, if the matching is consistent, Step 104 is performed; otherwise, step 107 is performed; Step 104: Write a memory card (T card), save the decoded video data to the memory card, and save the data segment in units of frames, when the saved data volume is greater than End the recording task when the storage space or the end time is interrupted;
  • T card memory card
  • Step 105 Determine whether the current distance recording end time is less than ⁇ ', if yes, execute step 106; otherwise, perform step 104;
  • Step 106 Perform matching between the matching template that ends the recording and the image in the video data, the matching is successful, and the recording task ends; if the matching fails, step 104 is performed to continue recording;
  • Step 107 Determine whether the current distance recording start time is less than ⁇ , if it is less than ⁇ , continue to perform matching; if it is greater than or equal to ⁇ , end the recording task.
  • the processing module saves the video data to the memory card through a connection with the memory card
  • the connection line between the memory card and the processing module includes: , clocks, commands, and data lines.
  • the matching value is scaled to be the same as the image size in the video data, and the image of the video data and the gray value matrix of the matching module are extracted to calculate the gray value matrix.
  • Correlation coefficient where f(m,n) and g(m,n) are respectively the gray value matrix of the image in the video data and the matching template, and the sizes are M x N, u f and Ug are respectively in the video data.
  • the grayscale average of the matching template find the covariance of f(m,n) and g(m,n), and the normalized correlation coefficient r of the variance of f(m,n).
  • the task key is not limited to a video image (still picture, dynamic picture, etc.). It also includes various forms of data information, and the principle is basically the same. It is the process of starting and stopping the recording task through the task key.
  • the embodiment further provides an apparatus for recording a video program, including: a processing module 31, a wireless module 32, and a key judging module 33, wherein:
  • the processing module 31 is directly in the working state. When the processing module 31 is in the terminal standby state, the wireless module 32 is not enabled. When it is initially determined that the playing time meets the basic condition, the wireless module 32 is enabled, although the wireless module 32 is activated at this time, but the processing is performed. The module 31 does not necessarily operate in the recording state, and the recording start and end actions are performed only when the key decision module 33 determines that the task key condition is met.
  • the method and apparatus of the present embodiment are applicable to various mobile multimedia broadcast systems, such as the China Mobile Multimedia Broadcasting (CMMB) system.
  • CMMB China Mobile Multimedia Broadcasting
  • the processing module 31 is configured to: start the wireless module 32 to receive the wireless signal according to the basic condition of the recorded video program, perform decoding, obtain the video data, store the video data according to the matching result obtained by the key determining module 33, and stop receiving the wireless signal;
  • the wireless module 32 is configured to: receive a wireless signal
  • the key judging module 33 is configured to: perform matching of the task key on the video data, and notify the processing module 31 of the matching result.
  • the task key includes a matching template for starting recording; the key judging module 33 is configured to: traverse the image of the decoded video data, and match the image of the video data with the matching template that starts recording; the processing module 31 is further configured to: if The result indicates that the matching is consistent, and the video data is stored.
  • the task key further includes a matching template for ending the recording;
  • the key determining module 33 is configured to: determine, in the process of storing the video data by the processing module 31, whether the current time distance recording end time is less than a pre-configured end matching process time, if If less than, the image of the video data is matched with the matching template that ends recording; if not less, the notification processing module 31 stops receiving the wireless signal;
  • the processing module 31 is further configured to: stop receiving the wireless signal when the image of the video data matches the matching template of the end recording; if the matching is inconsistent, continue to store the video data.
  • the matching template that starts recording is the beginning image of the video program; the matching template that ends the recording is the ending image of the video program;
  • the key judging module 33 is configured to: scale the matching module to be the same as the image size in the video data, extract the image of the image in the video data and the gray value matrix of the matching module, and the size of the gray value matrix is M x N , calculate a correlation coefficient r of the gray value matrix to determine whether the match is consistent, wherein, is a map in the video data
  • the gray value matrix of the image, g is the gray value matrix of the matching module, and M / is the gray average of the image in the video data, which is the gray average of the matching module.
  • each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific combination of hardware and software.
  • the above technical solution controls and matches the video data through the task key, and performs correlation calculation between the network data and the local data to determine whether it is useful data required by the terminal, realizes accurate recording of the program, and provides a user who cannot watch the program in time.
  • An effective method for accurately recording a program can ensure that the user can accurately record the program for the user when the program cannot be viewed.
  • the above technical solution can better reflect the accuracy and intelligence of the video recording task, and combined with the large-capacity storage.
  • the device is capable of recording large-capacity programs. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种录制视频节目的方法及装置,包括:终端设备根据录制视频节目的基本条件接收无线信号,进行解码,得到视频数据,对视频数据进行任务密匙的匹配,根据匹配结果进行视频数据的存储以及停止无线信号的接收。上述技术方案通过任务密钥对视频数据进行控制和匹配分析,由网络数据和本地数据进行相关性运算来判断是否是终端需要的有用数据,实现准确录制节目,为不能及时观看节目的用户提供一种准确录制节目的有效方法,可以实现用户在无法观看节目的情况下,保证手机准确为用户录制节目,上述技术方案更能体现视频录制任务的准确性和智能性,而且,结合大容量的存储设备,能够录制大容量的节目。

Description

一种录制视频节目的方法及装置
技术领域
本发明涉及终端设备技术领域, 尤其涉及一种录制视频节目的方法及装
背景技术
移动多媒体广播的应用使得用户能够在户外场合或者移动状态下观看到 自己喜欢的直播节目, 但是由于各种原因, 用户可能无法及时观看节目。 为 了给用户提供更好的服务质量, 开发商有必要实现移动多媒体广播节目的录 制功能。
发明内容
本发明要解决的技术问题是提供一种录制视频节目的方法及装置, 能够 准确录制视频节目, 避免因节目取消导致的误录和不必要的电量损耗。
为解决上述技术问题, 本发明釆用如下技术方案:
一种录制视频节目的方法, 包括:
终端设备根据录制视频节目的基本条件接收无线信号, 进行解码, 得到 视频数据, 对所述视频数据进行任务密匙的匹配, 根据匹配结果进行所述视 频数据的存储以及停止所述无线信号的接收。
可选地, 所述任务密钥包括开始录制的匹配模板;
终端设备对所述视频数据进行任务密匙的匹配, 根据匹配结果进行视频 数据的存储的步骤包括: 遍历解码得到的所述视频数据的图像, 将所述视频 数据的图像与所述开始录制的匹配模板进行匹配, 如果匹配一致, 则进行所 述视频数据的存储。
可选地, 所述终端设备在所述视频数据的图像与所述开始匹配数据匹配 不一致时, 判断当前时间距离录制开始时间是否小于预先配置的开始匹配过 程时间, 如果小于, 则继续进行匹配; 否则结束录制。 可选地, 所述任务密钥还包括结束录制的匹配模板;
终端设备对所述视频数据进行任务密匙的匹配, 根据匹配结果停止所述 无线信号的接收的步骤包括: 在进行所述视频数据的存储的过程中, 判断当 前时间距离录制结束时间是否小于预先配置的结束匹配过程时间,如果小于, 则将所述视频数据的图像与所述结束录制的匹配模板进行匹配, 如果匹配一 致, 则停止所述无线信号的接收; 如果匹配不一致, 则继续进行所述视频数 据的存储; 如果当前时间距离录制结束时间不小于所述结束匹配过程时间, 则停止所述无线信号的接收。
可选地, 所述开始录制的匹配模板为视频节目的开头图像; 所述结束录 制的匹配模板为视频节目的结尾图像;
终端设备将所述视频数据与所述开始录制的匹配模块和所述结束录制的 匹配模板进行匹配的步骤均包括: 将相应匹配模块缩放为与所述视频数据中 的图像大小相同, 提取出所述视频数据中的图像和相应匹配模块的灰度值矩 阵, 所述灰度值矩阵的尺寸为 Μ χ N, 计算灰度值矩阵的相关系数 r, 确定是 否匹配一致, 所述 r , 其中, 所述
Figure imgf000004_0001
f {m, n)为所述视频数据中的图像的灰度值矩阵, g , 为相应匹配模块的灰 度值矩阵, ^为所述视频数据中的图像的灰度平均值, 为相应匹配模块的 灰度平均值。
可选地,所述基本条件包含视频节目的节目频道、日期和录制时间范围; 所述终端设备根据录制视频节目的基本条件接收无线信号, 进行解码的 步骤包括: 根据所述日期和所述录制时间范围, 在到达录制开始时间时从节 目频道接收所述无线信号, 进行解码。
一种录制视频节目的装置,包括:处理模块、无线模块和密钥判断模块, 其中:
所述处理模块设置成: 根据录制视频节目的基本条件启动所述无线模块 接收无线信号, 进行解码, 得到视频数据; 根据所述密钥判断模块得到的匹 配结果进行所述视频数据的存储以及停止所述无线信号的接收; 所述无线模块设置成: 接收所述无线信号;
所述密钥判断模块设置成: 对所述视频数据进行任务密匙的匹配, 将匹 配结果通知给所述处理模块。
可选地, 所述任务密钥包括开始录制的匹配模板;
所述密钥判断模块设置成按照以下方式对所述视频数据进行任务密匙的 匹配: 遍历解码得到的所述视频数据的图像, 将所述视频数据的图像与所述 开始录制的匹配模板进行匹配;
所述处理模块设置成按照以下方式根据所述密钥判断模块得到的匹配结 果进行所述视频数据的存储: 如果匹配结果指示匹配一致, 则进行所述视频 数据的存储。
可选地, 所述任务密钥还包括结束录制的匹配模板;
所述密钥判断模块设置成按照以下方式对所述视频数据进行任务密匙的 匹配: 在所述处理模块进行所述视频数据的存储的过程中, 判断当前时间距 离录制结束时间是否小于预先配置的结束匹配过程时间, 如果小于, 则将所 述视频数据的图像与所述结束录制的匹配模板进行匹配; 否则通知所述处理 模块停止所述无线信号的接收;
所述处理模块设置成按照以下方式根据所述密钥判断模块得到的匹配结 果进行所述视频数据的存储以及停止所述无线信号的接收: 在所述视频数据 的图像与所述结束录制的匹配模板匹配一致时, 停止所述无线信号的接收; 如果匹配不一致, 则继续进行所述视频数据的存储。 可选地, 所述开始录制的匹配模板为视频节目的开头图像; 所述结束录 制的匹配模板为视频节目的结尾图像;
所述密钥判断模块设置成:将所述开始录制的匹配模块和 /或所述结束录 制的匹配模板缩放为与所述视频数据中的图像大小相同, 提取出所述视频数 据中的图像和相应匹配模块的灰度值矩阵,所述灰度值矩阵的尺寸为 Μ χ N, 计算灰度值矩阵的相关 系数 r , 确定是否 匹配一致, 所述 其中, 所述/ 为所述视频数
Figure imgf000006_0001
据中的图像的灰度值矩阵, g , 为相应匹配模块的灰度值矩阵, M/为所述 视频数据中的图像的灰度平均值, 为相应匹配模块的灰度平均值。
综上所述,上述技术方案通过任务密钥对视频数据进行控制和匹配分析, 由网络数据和本地数据进行相关性运算来判断是否是终端需要的有用数据, 实现准确录制节目, 为不能及时观看节目的用户提供一种准确录制节目的有 效方法, 可以实现用户在无法观看节目的情况下, 保证手机准确为用户录制 节目, 上述技术方案更能体现视频录制任务的准确性和智能性, 而且, 结合 大容量的存储设备, 能够录制大容量的节目。
附图概述
图 1为本实施方式的录制视频节目的方法的流程图;
图 2为本实施方式中存储卡与处理模块之间的连接示意图;
图 3为本实施方式的录制视频节目的装置的架构图。
本发明的较佳实施方式
本实施方式釆用时间门限的方式控制 CMMB无线模块( MODEM )的打 开, 通过时间域的限制控制终端电量不必要的损耗。 在无线模块打开后, 终 端对空中信号携带的数据进行接收、 解码, 通过任务密匙的匹配结果决定录 制功能启动或停止, 其中, 任务密匙可以是节目惯用的开头图像和结尾图像 等, 任务密匙需要通过运营商网络或者终端厂商网络以下载的方式提供给用 户, 任务密钥的下载可以是用户主动查询后下载, 也可以是终端自动通过用 户设置的基本条件自动触发分组业务(PS )进行同步下载, 不同的终端可以 有不同的实现方式。 在釆用图像作为任务密匙的方式中, 终端设备将图像在 格式上缩放为与接收到的视频数据中的图像一致, 提取出灰度值矩阵, 通过 对视频图像遍历, 计算灰度值矩阵的相关系数来实现对被录制节目的检测, 将检测到的视频数据导入到存储器中, 完成视频数据的存储。
如图 1所示, 本实施方式的录制视频节目的方法, 包括:
步骤 101 : 终端设备接收用户输入的录制条件, 录制条件包括: 基本条 件、 开始条件和结束条件;
基本条件包括: 节目频道、 日期和录制时间范围。
开始条件包括开始录制的匹配模块和开始匹配过程时间;
结束条件包括结束录制的匹配模板和结束匹配过程时间。
比如, 需要观看天下足球节目, 可以按照下面设置。
基本条件: 节目频道为 CCTV5、 日期为 2011.12.09、 录制时间范围为 09:00~12:00。 基本条件由用户根据当日的节目时刻表在 UI界面手动输入到 指定的选项框中, 或者为用户提供一个关键词搜寻界面, 显示搜寻到的结果 供用户选择, 选择后, 可以通过网络数据自动完成基本条件的参数配置。
开始条件: 天下足球的开始特征图片 (开头图像) , 开始匹配过程时间
( T ) : 10min。
结束条件: 天下足球的结尾特征图片 (结尾图像) , 结束匹配过程时间 ( T,) : 10min。
开始条件和结束条件的配置, 可以通过用户手动配置和网络自动配置两 种方式实现,手动配置需要用户去指定的官方网站同步下载对应的任务密匙, 然后配置到对应的界面选项框中; 而网络自动配置则终端设备可以通过用户 配置的基本条件自动通过 PS业务对对应网络进行搜寻, 将对应的搜寻信息 匹配到对应的界面选项框中。 另外, 匹配过程时间是指任务密匙和网侧数据 进行有效比对的时间, 该过程发生在录制任务的起始阶段和结束阶段, 目的 在于避免录制任务过程中不必要的损耗,比如频繁无效匹配会带来功耗问题, 资源占用问题等。
步骤 102: 在到达录制时间时, 时钟产生开始中断, 终端设备自动打开 MODEM, 接收空中的无线信号, 进行解码; 本实施方式时钟在基本条件中的 2011.12.09 09: 00产生开始中断。
步骤 103 : 提取开始录制的匹配模块和解码得到的视频数据的所有图像 的灰度值矩阵, 遍历解码得到的视频数据的所有图像的灰度值矩阵, 依先后 顺序进行模板匹配, 如果匹配一致, 则执行步骤 104; 否则, 执行步骤 107; 步骤 104: 对存储卡(T卡)进行写操作, 将解码得到的视频数据保存 到存储卡, 以帧为单位保存数据段, 当保存的数据量大于存储空间或者产生 结束时间中断时, 结束录制任务;
步骤 105: 判断当前距离录制结束时间是否小于 Τ' , 如果是, 则执行步 骤 106; 否则, 执行步骤 104;
步骤 106: 进行结束录制的匹配模板与视频数据中的图像的匹配, 匹配 成功, 录制任务结束; 匹配失败, 执行步骤 104继续录制;
步骤 107: 判断当前距离录制开始时间是否小于 Τ, 如果小于 Τ, 则继续 进行匹配; 如果大于等于 Τ, 结束录制任务。
如图 2所示, 为存储卡与处理模块之间的连接示意图, 处理模块通过与 存储卡之间的连接将视频数据保存到存储卡中, 存储卡和处理模块之间的连 接线包括: 电源、 时钟、 命令和数据线。
本实施方式中, 在进入任务密钥的匹配时, 通过将匹配模块缩放为与视 频数据中的图像大小相同, 提取出视频数据中的图像和匹配模块的灰度值矩 阵, 计算灰度值矩阵的相关系数, 其中, f(m,n)和 g(m,n)分别为视频数据中的 图像和匹配模板的灰度值矩阵, 尺寸为 M x N, uf和 Ug分别为视频数据中的 图像和匹配模板的灰度平均值, 求出 f(m,n)和 g(m,n)的协方差、 f(m,n)的方差 归 一 化 相 关 系 数 r ,
Figure imgf000008_0001
本实施方式中任务密匙不局限于视频图像(静态图片, 动态图片等) , 还包括各种形式的数据信息, 原理基本一致, 都是通过任务密匙开始和停止 录制任务的过程。
如图 3所示, 本实施方式还提供了一种录制视频节目的装置, 包括: 处 理模块 31、 无线模块 32和密钥判断模块 33 , 其中:
处理模块 31—直处于工作状态, 当处理模块 31在终端待机状态时, 不 启用无线模块 32, 当初步判定播放时间符合基本条件时, 启用无线模块 32, 虽然此时启动无线模块 32, 但处理模块 31并不一定工作在录制状态, 只有 当密钥判定模块 33判定任务密钥条件符合时,才进行录制的开始和结束动作。
本实施方式的方法和装置可应用于各种移动多媒体广播系统中, 如中国 移动多媒体广播(CMMB ) 系统中。
处理模块 31设置成: 根据录制视频节目的基本条件启动无线模块 32接 收无线信号, 进行解码, 得到视频数据, 根据密钥判断模块 33得到的匹配结 果进行视频数据的存储以及停止无线信号的接收;
无线模块 32设置成: 接收无线信号;
密钥判断模块 33设置成:对视频数据进行任务密匙的匹配,将匹配结果 通知给处理模块 31。
任务密钥包括开始录制的匹配模板; 密钥判断模块 33设置成:遍历解码 得到的视频数据的图像,将视频数据的图像与开始录制的匹配模板进行匹配; 处理模块 31还设置成:如果匹配结果指示匹配一致,则进行视频数据的 存储。
任务密钥还包括结束录制的匹配模板; 密钥判断模块 33设置成: 在处理 模块 31进行视频数据的存储的过程中,判断当前时间距离录制结束时间是否 小于预先配置的结束匹配过程时间, 如果小于, 则将视频数据的图像与结束 录制的匹配模板进行匹配;如果不小于,则通知处理模块 31停止无线信号的 接收;
处理模块 31还设置成:在视频数据的图像与结束录制的匹配模板匹配一 致时,停止无线信号的接收;如果匹配不一致,则继续进行视频数据的存储。 开始录制的匹配模板为视频节目的开头图像; 结束录制的匹配模板为视 频节目的结尾图像;
密钥判断模块 33设置成:将匹配模块缩放为与视频数据中的图像大小相 同, 提取出视频数据中的图像和匹配模块的灰度值矩阵, 灰度值矩阵的尺寸 为 M x N , 计算灰度值矩阵的相关系数 r , 确定是否匹配一致, , 其中, 为视频数据中的图
Figure imgf000010_0001
像的灰度值矩阵, g , 为匹配模块的灰度值矩阵, M/为视频数据中的图像 的灰度平均值, 为匹配模块的灰度平均值。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 程序可以存储于计算机可读存储介质中, 如只读存储 器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用一个 或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用硬件 的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任何特 定形式的硬件和软件的结合。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明的保护范围之内。
工业实用 4生
上述技术方案通过任务密钥对视频数据进行控制和匹配分析, 由网络数 据和本地数据进行相关性运算来判断是否是终端需要的有用数据, 实现准确 录制节目, 为不能及时观看节目的用户提供一种准确录制节目的有效方法, 可以实现用户在无法观看节目的情况下, 保证手机准确为用户录制节目, 上 述技术方案更能体现视频录制任务的准确性和智能性, 而且, 结合大容量的 存储设备, 能够录制大容量的节目。 因此本发明具有很强的工业实用性。

Claims

权 利 要 求 书
1、 一种录制视频节目的方法, 包括:
终端设备根据录制视频节目的基本条件接收无线信号, 进行解码, 得到 视频数据, 对所述视频数据进行任务密匙的匹配, 根据匹配结果进行所述视 频数据的存储以及停止所述无线信号的接收。
2、 如权利要求 1所述的方法, 其中:
所述任务密钥包括开始录制的匹配模板;
终端设备对所述视频数据进行任务密匙的匹配, 根据匹配结果进行视频 数据的存储的步骤包括: 遍历解码得到的所述视频数据的图像, 将所述视频 数据的图像与所述开始录制的匹配模板进行匹配, 如果匹配一致, 则进行所 述视频数据的存储。
3、 如权利要求 2所述的方法, 该方法还包括:
所述终端设备在所述视频数据的图像与所述开始匹配数据匹配不一致时 , 判断当前时间距离录制开始时间是否小于预先配置的开始匹配过程时间, 如 果小于, 则继续进行匹配; 否则结束录制。
4、 如权利要求 2所述的方法, 其中, 还包括:
所述任务密钥还包括结束录制的匹配模板;
终端设备对所述视频数据进行任务密匙的匹配, 根据匹配结果停止所述 无线信号的接收的步骤包括: 在进行所述视频数据的存储的过程中, 判断当 前时间距离录制结束时间是否小于预先配置的结束匹配过程时间,如果小于, 则将所述视频数据的图像与所述结束录制的匹配模板进行匹配, 如果匹配一 致, 则停止所述无线信号的接收; 如果匹配不一致, 则继续进行所述视频数 据的存储; 如果当前时间距离录制结束时间不小于所述结束匹配过程时间, 则停止所述无线信号的接收。
5、 如权利要求 4所述的方法, 其中:
所述开始录制的匹配模板为视频节目的开头图像; 所述结束录制的匹配 模板为视频节目的结尾图像;
终端设备将所述视频数据与所述开始录制的匹配模块和所述结束录制的 匹配模板进行匹配的步骤均包括: 将相应匹配模块缩放为与所述视频数据中 的图像大小相同, 提取出所述视频数据中的图像和相应匹配模块的灰度值矩 阵, 所述灰度值矩阵的尺寸为 Μ χ N, 计算灰度值矩阵的相关系数 r, 确定是 否匹配一致, 所述 r , 其中, 所述
Figure imgf000012_0001
f {m, n)为所述视频数据中的图像的灰度值矩阵, g , 为相应匹配模块的灰 度值矩阵, ^为所述视频数据中的图像的灰度平均值, 为相应匹配模块的 灰度平均值。
6、 如权利要求 1所述的方法, 其中:
所述基本条件包含视频节目的节目频道、 日期和录制时间范围; 所述终端设备根据录制视频节目的基本条件接收无线信号, 进行解码的 步骤包括: 根据所述日期和所述录制时间范围, 在到达录制开始时间时从节 目频道接收所述无线信号, 进行解码。
7、 一种录制视频节目的装置, 包括: 处理模块、 无线模块和密钥判断 模块, 其中:
所述处理模块设置成: 根据录制视频节目的基本条件启动所述无线模块 接收无线信号, 进行解码, 得到视频数据; 根据所述密钥判断模块得到的匹 配结果进行所述视频数据的存储以及停止所述无线信号的接收;
所述无线模块设置成: 接收所述无线信号;
所述密钥判断模块设置成: 对所述视频数据进行任务密匙的匹配, 将匹 配结果通知给所述处理模块。
8、 如权利要求 7所述的装置, 其中:
所述任务密钥包括开始录制的匹配模板;
所述密钥判断模块设置成按照以下方式对所述视频数据进行任务密匙的 匹配: 遍历解码得到的所述视频数据的图像, 将所述视频数据的图像与所述 开始录制的匹配模板进行匹配;
所述处理模块设置成按照以下方式根据所述密钥判断模块得到的匹配结 果进行所述视频数据的存储: 如果匹配结果指示匹配一致, 则进行所述视频 数据的存储。
9、 如权利要求 8所述的装置, 其中:
所述任务密钥还包括结束录制的匹配模板;
所述密钥判断模块设置成按照以下方式对所述视频数据进行任务密匙的 匹配: 在所述处理模块进行所述视频数据的存储的过程中, 判断当前时间距 离录制结束时间是否小于预先配置的结束匹配过程时间, 如果小于, 则将所 述视频数据的图像与所述结束录制的匹配模板进行匹配; 否则通知所述处理 模块停止所述无线信号的接收;
所述处理模块设置成按照以下方式根据所述密钥判断模块得到的匹配结 果进行所述视频数据的存储以及停止所述无线信号的接收: 在所述视频数据 的图像与所述结束录制的匹配模板匹配一致时, 停止所述无线信号的接收; 如果匹配不一致, 则继续进行所述视频数据的存储。
10、 如权利要求 8所述的装置, 其中:
所述开始录制的匹配模板为视频节目的开头图像; 所述结束录制的匹配 模板为视频节目的结尾图像;
所述密钥判断模块设置成:将所述开始录制的匹配模块和 /或所述结束录 制的匹配模板缩放为与所述视频数据中的图像大小相同, 提取出所述视频数 据中的图像和相应匹配模块的灰度值矩阵,所述灰度值矩阵的尺寸为 Μ χ N, 确定是否 匹配一致, 所述
Figure imgf000013_0001
据中的图像的灰度值矩阵, g , 为相应匹配模块的灰度值矩阵, M/为所述 视频数据中的图像的灰度平均值, 为相应匹配模块的灰度平均值。
PCT/CN2012/074365 2012-02-14 2012-04-19 一种录制视频节目的方法及装置 WO2013120321A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210032628.0 2012-02-14
CN2012100326280A CN102572349A (zh) 2012-02-14 2012-02-14 一种录制视频节目的方法及装置

Publications (1)

Publication Number Publication Date
WO2013120321A1 true WO2013120321A1 (zh) 2013-08-22

Family

ID=46416676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074365 WO2013120321A1 (zh) 2012-02-14 2012-04-19 一种录制视频节目的方法及装置

Country Status (2)

Country Link
CN (1) CN102572349A (zh)
WO (1) WO2013120321A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016035020A2 (en) * 2014-09-02 2016-03-10 Koninklijke Philips N.V. Image fingerprinting

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5585865A (en) * 1994-03-01 1996-12-17 Sony Corporation Television broadcast receiver which selects programs by genre and past viewing habits
CN1513260A (zh) * 2001-06-06 2004-07-14 皇家菲利浦电子有限公司 寻找节目开始和结束段的增强电子广播节目指南
CN1997132A (zh) * 2006-07-14 2007-07-11 深圳创维-Rgb电子有限公司 可录电视及电视节目的录制方法
CN101068328A (zh) * 2007-06-08 2007-11-07 四川长虹电器股份有限公司 自动录像方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282442A (zh) * 2008-04-30 2008-10-08 中兴通讯股份有限公司 一种用户可定制的录制片花的方法及移动终端
CN101605241B (zh) * 2009-07-10 2012-02-08 中兴通讯股份有限公司 一种管理移动多媒体广播节目录制权限的方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5585865A (en) * 1994-03-01 1996-12-17 Sony Corporation Television broadcast receiver which selects programs by genre and past viewing habits
CN1513260A (zh) * 2001-06-06 2004-07-14 皇家菲利浦电子有限公司 寻找节目开始和结束段的增强电子广播节目指南
CN1997132A (zh) * 2006-07-14 2007-07-11 深圳创维-Rgb电子有限公司 可录电视及电视节目的录制方法
CN101068328A (zh) * 2007-06-08 2007-11-07 四川长虹电器股份有限公司 自动录像方法

Also Published As

Publication number Publication date
CN102572349A (zh) 2012-07-11

Similar Documents

Publication Publication Date Title
US8750677B2 (en) Method for transferring media playback from a different device
US10135898B2 (en) Method, terminal, and system for reproducing content
US9678705B2 (en) Displaying information on wearable devices
WO2017161665A1 (zh) 图像识别方法、装置、设备及非易失性计算机存储介质
KR101656633B1 (ko) 파일 백업 방법, 장치, 프로그램 및 기록매체
KR101828889B1 (ko) 공유된 장치 및 개인용 장치를 이용한 개인맞춤화된 사용자 기능의 협력적 제공
US11601714B2 (en) Methods, apparatus, and machine-readable storage media to monitor a media presentation
US20150189176A1 (en) Domain aware camera system
US11818428B2 (en) Identifying viewing characteristics of an audience of a content channel
KR20160050697A (ko) 디스플레이 장치, 이의 제어 방법 및 디스플레이 시스템
US10291967B2 (en) Function upgrade device, display apparatus and method for controlling display apparatus thereof
US20160234550A1 (en) Display apparatus and information providing method thereof
WO2019237552A1 (zh) 在移动设备中呈现遥控器界面的方法
WO2017088395A1 (zh) 用于多媒体预览的方法、装置、移动终端设备和计算机设备
CN104837020B (zh) 播放视频的方法和装置
WO2013120321A1 (zh) 一种录制视频节目的方法及装置
KR20130021891A (ko) 위치 기반 소셜 네트워크 서비스 접속 방법 및 그 장치
US20120303707A1 (en) Computer and method for remotely sharing operations of the computer with an electronic device
US8824854B2 (en) Method and arrangement for transferring multimedia data
CN115379275A (zh) 用于控制机顶盒状态的方法、介质、程序产品和机顶盒
CN110502714A (zh) 信息检测的方法、装置、电子设备及存储介质
WO2017107382A1 (zh) 用于确定电视开机时需要连接的无线从设备的方法及装置
JP2010283439A (ja) 混雑状況通知システム
US20120066406A1 (en) Reproduction device, reproduction method, and program
JP2016004546A (ja) 表示装置、表示プログラム、及び表示制御方法。

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: 12868399

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: 12868399

Country of ref document: EP

Kind code of ref document: A1