CN111131881B - PVR (personal video recorder) recording method, smart television and computer readable storage medium - Google Patents

PVR (personal video recorder) recording method, smart television and computer readable storage medium Download PDF

Info

Publication number
CN111131881B
CN111131881B CN201911399554.2A CN201911399554A CN111131881B CN 111131881 B CN111131881 B CN 111131881B CN 201911399554 A CN201911399554 A CN 201911399554A CN 111131881 B CN111131881 B CN 111131881B
Authority
CN
China
Prior art keywords
key frame
eit
pmt
frame data
television program
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201911399554.2A
Other languages
Chinese (zh)
Other versions
CN111131881A (en
Inventor
黄中权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
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 Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201911399554.2A priority Critical patent/CN111131881B/en
Publication of CN111131881A publication Critical patent/CN111131881A/en
Application granted granted Critical
Publication of CN111131881B publication Critical patent/CN111131881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a PVR recording method, which comprises the following steps: in the process of recording a television program, acquiring a PMT (program management table) and an EIT (electronic equipment table) of the television program, and judging whether the PMT and the EIT are changed or not; and if the PMT table and/or the EIT table are/is changed, acquiring key frame data of the television program at the change time of the PMT table and/or the EIT table, and storing the acquired key frame data. The invention also discloses the intelligent television and a computer readable storage medium. The invention is convenient for the user to preview the key frame data when playing back the recorded video, and determines the video playback position according to the key frame data, thereby avoiding the workload of manually setting the key frame picture by the user, and improving the experience of the user in playing back the television program.

Description

PVR (personal video recorder) recording method, smart television and computer readable storage medium
Technical Field
The invention relates to the technical field of intelligent televisions, in particular to a PVR (personal video recorder) recording method, an intelligent television and a computer readable storage medium.
Background
PVR (Personal video recorder) recording technology has been widely applied to smart televisions, and is convenient for users to record various television programs interested in themselves instantly or in a scheduled manner. For example, when a user watches a certain television program, the user finds that the television program is worth saving and watching again, and can record the television program while watching the television program; or the user can look over the EPG (Electronic Program Guide) to find the television Program that he wants to record, and by setting a television Program recording command, when the playing time of the television Program is reached, the television automatically starts the related PVR recording unit in the television to record the television Program.
The existing PVR recording technology stores audio and video data related to a recorded television program in a memory when recording the television program, and does not have a key frame picture corresponding to each recorded television program, so that it is not beneficial for a user to select a time point to start playback from a plurality of recorded videos, and the user needs to manually set the key frame picture when previewing and playing the recorded television program, which results in unnecessary workload for the user and reduction of user experience.
Disclosure of Invention
The invention mainly aims to provide a PVR recording method, an intelligent television and a computer readable storage medium, and aims to solve the technical problem of unnecessary workload caused by the fact that a user needs to manually set key frame pictures.
In order to achieve the above object, the present invention provides a PVR recording method, which includes:
in the process of recording a television program, acquiring a PMT (program management table) and an EIT (electronic equipment table) of the television program, and judging whether the PMT and the EIT are changed or not;
and if the PMT table and/or the EIT table are/is changed, acquiring key frame data of the television program at the change time of the PMT table and/or the EIT table, and storing the acquired key frame data.
Preferably, if the PMT table and/or the EIT table change, the step of acquiring key frame data of the television program at the time of the PMT table and/or the EIT table change, and storing the acquired key frame data includes:
if the PMT table and/or the EIT table are/is changed, calling a corresponding callback function according to the change to set a numerical value of a target mark;
judging whether the numerical value of the target mark is true or not;
and if so, acquiring key frame data of the television program at the PMT table and/or EIT table change time, and storing the acquired key frame data.
Preferably, if the PMT table and/or the EIT table change, the step of calling the corresponding callback function according to the change to set the value of the target flag includes:
if the PMT table changes, calling a preset first callback function, and setting a numerical value of a target mark according to the first callback function;
and if the EIT table changes, calling a preset second callback function, and setting the value of a target mark according to the second callback function.
Preferably, after the step of acquiring the key frame data of the television program at the time of the change of the PMT and/or EIT table and storing the acquired key frame data, the method includes:
and analyzing a key frame picture from the key frame data, and storing the recording duration corresponding to the key frame picture as the name of the key frame picture.
Preferably, the step of parsing out the key frame picture from the key frame data includes:
sending the key frame data to a picture analysis tool;
and analyzing a key frame picture corresponding to the key frame data according to a preset function in the picture analysis tool.
Preferably, the step of saving the recording duration corresponding to the key frame picture as the name of the key frame picture includes:
calculating recording duration corresponding to the key frame data according to the recording starting time and the time for acquiring the key frame data;
and storing the recording duration as the name of the key frame picture.
Preferably, the step of acquiring the PMT table and the EIT table of the television program and determining whether the PMT table and the EIT table are changed includes:
acquiring the version number of a PMT (program management table) and an EIT (electronic equipment Table) of the television program;
judging whether the version number of the PMT table and the EIT table at the current moment and the version number of the EIT table at the previous moment are changed or not;
and if so, judging that the PMT table and the EIT table are changed.
Preferably, before the step of acquiring the PMT table and the EIT table of the television program and determining whether version numbers of the PMT table and the EIT table change during the recording of the television program, the method includes:
when a television program starts to be recorded, initializing program guide information and service information of the television program so as to enable a filter to filter a PMT (program map Table) and an EIT (electronic equipment Table) corresponding to the television program from a TS (transport stream).
In addition, to achieve the above object, the present invention further provides an intelligent television, including: the PVR recording program can be executed by the processor to realize the steps of the PVR recording method.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having a PVR recording program stored thereon, where the PVR recording program, when executed by a processor, implements the steps of the PVR recording method according to any one of the above aspects.
The method comprises the steps of acquiring a PMT table and an EIT table of the television program in the recording process of the television program and judging whether the PMT table and the EIT table are changed or not; and if the PMT table and/or the EIT table are/is changed, acquiring key frame data of the television program at the change time of the PMT table and/or the EIT table, and storing the acquired key frame data. Through the embodiment, whether the current TS code stream has the key frame or not can be judged by judging the change conditions of the PMT table and the EIT table of the television program, and the key frame data is acquired and stored when the key frame is judged to exist.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of a smart television according to the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a PVR recording method according to the present invention;
fig. 3 is a flowchart illustrating a PVR recording method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a PVR recording method according to a third embodiment of the present invention;
fig. 5 is a flowchart illustrating a fourth embodiment of a PVR recording method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an embodiment of a smart television according to the present invention.
The terminal of the embodiment of the invention is an intelligent television with a television program recording function. As shown in fig. 1, the smart tv may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the smart television may further include a camera, an infrared receiving module, a PVR recording module, and the like, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a PVR recording program. In the smart tv shown in fig. 1, the processor 1001 may be configured to call the PVR recording program stored in the storage 1005 and perform the following operations:
in the process of recording a television program, acquiring a PMT (program management table) and an EIT (electronic equipment table) of the television program, and judging whether the PMT and the EIT are changed or not;
and if the PMT table and/or the EIT table are/is changed, acquiring key frame data of the television program at the change time of the PMT table and/or the EIT table, and storing the acquired key frame data.
Further, the processor 1001 may call a PVR recording program stored in the memory 1005, and further perform the following operations:
if the PMT table and/or the EIT table are/is changed, calling a corresponding callback function according to the change to set a numerical value of a target mark;
judging whether the numerical value of the target mark is true or not;
and if so, acquiring key frame data of the television program at the PMT table and/or EIT table change time, and storing the acquired key frame data.
Further, the processor 1001 may call a PVR recording program stored in the memory 1005, and further perform the following operations:
if the PMT table changes, calling a preset first callback function, and setting a numerical value of a target mark according to the first callback function;
if the EIT table changes, calling a preset second callback function, and setting the value of a target mark according to the second callback function.
Further, the processor 1001 may call a PVR recording program stored in the memory 1005, and further perform the following operations:
and analyzing a key frame picture from the key frame data, and storing the recording duration corresponding to the key frame picture as the name of the key frame picture.
Further, the processor 1001 may call a PVR recording program stored in the memory 1005, and further perform the following operations:
sending the key frame data to a picture analysis tool;
and analyzing a key frame picture corresponding to the key frame data according to a preset function in the picture analyzing tool.
Further, the processor 1001 may call a PVR recording program stored in the memory 1005, and further perform the following operations:
calculating recording duration corresponding to the key frame data according to the recording starting time and the time for acquiring the key frame data;
and storing the recording duration as the name of the key frame picture.
Further, the processor 1001 may call a PVR recording program stored in the memory 1005, and further perform the following operations:
acquiring the version number of a PMT table and an EIT table of the television program;
judging whether the version number of the PMT table and the EIT table at the current moment and the version number of the EIT table at the previous moment are changed or not;
and if so, judging that the PMT table and the EIT table are changed.
Further, the processor 1001 may call a PVR recording program stored in the memory 1005, and further perform the following operations:
when a television program starts to be recorded, initializing program guide information and service information of the television program so as to enable a filter to filter a PMT (program map Table) and an EIT (electronic equipment Table) corresponding to the television program from a TS (transport stream).
The specific embodiment of the smart television of the present invention is substantially the same as the following embodiments of the PVR recording method, and will not be described herein again.
Referring to fig. 2, fig. 2 is a flowchart illustrating a PVR recording method according to a first embodiment of the present invention, where the PVR recording method includes:
step S10, in the process of recording the television program, obtaining the PMT table and the EIT table of the television program, and judging whether the PMT table and the EIT table are changed.
After receiving a television Program recording instruction, the PVR recording module acquires a Packet Identifier (PID) related to a television Program to be recorded according to the television Program recording instruction, sets all the analyzed PIDs of the television Program to be recorded into a de-multiplexing module (DEMUX), filters Program Specific Information (PSI) and Service Information (SI) in a TS code stream, and records the television Program to be recorded according to the filtered PSI and SI. In the process of recording the television Program, the smart television acquires a PMT (Program Map Table) and an EIT (Event Information Table) Table of the television Program from each PSI and SI. The PMT table is used for providing all PIDs of data such as audio, video and subtitles of a television program to be recorded, and the EIT table is used for providing information such as the name, the starting time, the time length and the running state of an event in the television playing process. And judging whether the PMT of the recorded television program changes or whether the next program is recorded according to the change conditions of the PMT table and the EIT table.
It should be noted that, when a television program starts to be recorded, the program guide information and the service information of the television program are initialized, so that the filter filters the PMT table and the EIT table corresponding to the television program from the TS code stream. Therefore, when the demultiplexing module records the television program, the video, the audio, the subtitle and the related data corresponding to the PID related to the television program are recorded.
And step S20, if the PMT table and/or the EIT table are/is changed, acquiring key frame data of the television program at the moment when the PMT table and/or the EIT table are/is changed, and storing the acquired key frame data.
If the PMT table and/or the EIT table of the television program change, the smart television considers the frame data at the time as the key frame, so that after the television program determines that the PMT table and/or the EIT table change, the smart television acquires the key frame data of the television program at the time of the PMT table and/or the EIT table change, such as audio, video, subtitle, and the like, from the current TS code stream, and stores the key frame data. After the key frame data is acquired, the key frame picture can be analyzed from the key frame data. Specifically, the image may be analyzed by a preset image analysis tool, such as ffmpeg, python, and the like, and the embodiment is not particularly limited.
In the embodiment, the key frame data of the television program is acquired by judging the change conditions of the PMT table and the EIT table, so that the key frame data can be synchronously stored in the recording process of the television program, a user can conveniently preview the key frame data when playing back and recording a video, the video playback position is determined according to the key frame data, the workload of manually setting key frame pictures by the user is avoided, and the experience of the user in playing back the television program is improved.
Further, referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a PVR recording method according to the present invention, and based on the embodiment shown in fig. 2, based on the step of acquiring key frame data of a television program at a time when the PMT table and/or the EIT table change and storing the acquired key frame data, the step includes:
step S201, if the PMT table and/or the EIT table changes, calling a corresponding callback function to set a numerical value of a target mark according to the change.
The intelligent television enters a recording cycle thread when the intelligent television starts to record the television program, the change conditions of the PMT table and the EIT table are monitored in real time in the cycle thread, and corresponding callback functions are called to set a target mark when the PMT table and the EIT table are changed. Specifically, if the PMT table changes, a preset first Callback function, that is, PMT Callback is called, and a value of a target flag is set according to the first Callback function, and if the EIT table changes, a preset second Callback function, that is, EIT Callback is called, and a value of a target flag is set according to the second Callback function. In other words, whether one or both of the PMT table and the EIT table are changed, the value of the target flag is set by the corresponding callback function.
Step S202, judging whether the value of the target mark is true.
And step S203, if so, acquiring key frame data of the television program at the PMT table and/or EIT table change time, and storing the acquired key frame data.
And monitoring the value of the target mark in real time in the recording circulation thread, judging whether the value of the target mark is true, if so, acquiring key frame data at the current moment, such as audio, video, subtitles, accessories, data and the like, from the current TS code stream, and analyzing the key frame data to obtain a key frame picture. And if the value of the current target mark is judged to be false, not acquiring the key frame data, and continuously monitoring the value of the target mark.
In the embodiment, the corresponding callback function is called when the change of the PMT table and the EIT table is monitored, so that the key frame picture is acquired, the automatic identification and acquisition of the key frame picture are realized, and unnecessary troubles caused by manual judgment of the key frame picture are reduced.
Further, referring to fig. 4, fig. 4 is a schematic flowchart of a third embodiment of a PVR recording method according to the present invention, and based on the embodiment shown in fig. 2 or fig. 3, after the step of acquiring key frame data of a television program at a time when the PMT table and/or the EIT table change and storing the acquired key frame data, the method includes:
step S30, parsing a key frame picture from the key frame data, and storing a recording duration corresponding to the key frame picture as a name of the key frame picture.
Specifically, the step S30 includes:
step S301, sending the key frame data to a picture analysis tool.
Step S302, parsing a key frame picture corresponding to the key frame data according to a preset function in the picture parsing tool.
And sending the acquired key frame data to a preset picture analysis tool such as ffmpeg, python and the like, and analyzing the key frame picture corresponding to the key frame data through the picture analysis tool. The present embodiment takes ffmpeg as an example for explanation. ffmpeg is a set of open source computer programs that can be used to record, convert digital audio, video, and convert them into streams. ffmpeg supports most picture processing, all but LJPEG (lossless JPEG) can be decoded, all but EXR, PIC, PTX can be encoded. The key frame picture corresponding to the key frame data can be analyzed from the key frame data by calling a related function in ffmpeg, for example, ffmpeg-i "xxx.mp4" -r 1-q: v 2-f image2 image-3% d.jpeg is called, wherein, i is used for acquiring an input video file, r is used for setting the number of frames of the extracted picture per second, wherein the value is 1 for extracting one frame per second, and q is used for setting the quality of the extracted picture, wherein the value is 2 for acquiring a high-quality picture from the video. It should be noted that, when acquiring the key frame picture, the key frame picture may be analyzed separately based on the key frame data acquired each time, or the key frame data acquired in the whole recording process may be saved and then the pictures of the key frame data may be acquired collectively.
The stored pictures may be in JPEG, JPG, BMP, GIF, PSD, or other formats, and the JPEG format is preferred in the present invention. And during storage, the recording duration corresponding to the key frame picture can be stored as the name of the key frame picture, so that a user can jump to a corresponding playing position according to the time corresponding to the key frame picture when playing back a television program.
Step S303, calculating the recording duration corresponding to the key frame data according to the recording start time and the time for acquiring the key frame data.
After the key frame picture is obtained, calculating the recording duration corresponding to the key frame data according to the recording starting time and the time for obtaining the key frame data. Specifically, the recording start time may be obtained from the received recording instruction by the smart television, and if the recording start time is the instant recording instruction, the time when the instant recording instruction is received is the recording start time; if the recording instruction is a reserved recording instruction, the recording starting time can be obtained from the reserved recording instruction. When the key frame is obtained, the time corresponding to the key frame is reserved, and then the difference value between the recording start time and the time for obtaining the key frame data is the recording duration corresponding to the key frame data. For example, the obtained recording start time is 9:00:00, the time for obtaining certain key frame data is 10:30:26, and the recording time length position of the key frame in the current video recording is 1:30: 26.
And step S304, storing the recording time as the name of the key frame picture.
After acquiring the recording time length of the key frame, the smart television converts the recording time length into a preset format, and stores the recording time length corresponding to each key frame as the name of the key frame picture. Therefore, the user can know the position of the key frame picture in the recorded video file better, and can jump to the corresponding position in the recorded video file for playing after the user selects a certain key frame picture.
In this embodiment, the key frame picture is analyzed from the key frame data, and the recording duration corresponding to the key frame picture is stored as a name, so that a user can quickly find a video position to be played back by previewing the key frame picture of the recorded video file.
Further, referring to fig. 5, fig. 5 is a flowchart illustrating a fourth embodiment of a PVR recording method according to the present invention, and based on the embodiment shown in fig. 2, the step of acquiring a PMT table and an EIT table of the television program and determining whether the PMT table and the EIT table are changed includes:
and step S101, acquiring the version numbers of the PMT table and the EIT table of the television program.
The PMT table records information included in a program, such as which streams the program is composed of and the types of the streams (video, audio, data), the PIDs corresponding to the streams in the program, and the PIDs corresponding to the PCRs of the program. The PMT table includes fields such as table _ id, program _ number, version _ number, section _ number, ES _ PID, and ES-related description. The EIT table further describes a certain program. It provides the name of the event, start time, length of time, running status, etc. The EIT table includes fields such as table _ id, section _ length, section _ id, version _ number, section _ number, even _ id, start _ time, running _ status, and the like.
Similarly, when the preset field in the EIT table, such as even _ id, etc., changes, the version _ number version number in the EIT table also changes. Therefore, it is necessary to monitor the content of the version _ number field in the PMT and EIT tables of the television program in real time, and determine whether the content of the version _ number field in the PMT and EIT tables at the current time and the previous time changes.
Step S102, judging whether the version number of the PMT table and the EIT table at the current time and the version number of the EIT table at the last time are changed.
And step S103, if yes, judging that the PMT table and the EIT table are changed.
And step S104, if not, determining that the PMT table and the EIT table are not changed.
And judging whether the version numbers of the PMT table and the EIT table are changed or not according to whether the content of the version _ number field in the PMT table and the EIT table is changed or not, so that whether the preset field in the PMT table, such as PID (proportion integration differentiation) of television program data to be recorded or ES (electronic file system) data, is changed or not or whether the preset field in the EIT table, such as an event name, is changed or not can be clearly understood.
In this embodiment, by obtaining the PMT table and the version number of the EIT table of the television program, it is determined whether the PMT of the recorded television program changes or whether the PMT of the recorded television program is recorded to the next program, so that the smart television can record the key frame pictures at these key moments conveniently.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a PVR recording program is stored on the computer-readable storage medium, and when executed by a processor, the PVR recording program implements the following operations:
in the process of recording a television program, acquiring a PMT (program management table) and an EIT (electronic equipment table) of the television program, and judging whether the PMT and the EIT are changed or not;
and if the PMT table and/or the EIT table are/is changed, acquiring key frame data of the television program at the change time of the PMT table and/or the EIT table, and storing the acquired key frame data.
Further, the PVR recording program when executed by the processor further implements the following operations:
if the PMT table and/or the EIT table are/is changed, calling a corresponding callback function according to the change to set a numerical value of a target mark;
judging whether the numerical value of the target mark is true or not;
and if so, acquiring key frame data of the television program at the change time of the PMT table and/or the EIT table, and storing the acquired key frame data.
Further, the PVR recording program when executed by the processor further implements the following operations:
if the PMT table changes, calling a preset first callback function, and setting a numerical value of a target mark according to the first callback function;
and if the EIT table changes, calling a preset second callback function, and setting the value of a target mark according to the second callback function.
Further, the PVR recording program when executed by the processor further implements the following operations:
and analyzing a key frame picture from the key frame data, and storing the recording duration corresponding to the key frame picture as the name of the key frame picture.
Further, the PVR recording program when executed by the processor further implements the following operations:
sending the key frame data to a picture analysis tool;
and analyzing a key frame picture corresponding to the key frame data according to a preset function in the picture analyzing tool.
Further, the PVR recording program when executed by the processor further implements the following operations:
calculating recording duration corresponding to the key frame data according to the recording starting time and the time for acquiring the key frame data;
and storing the recording duration as the name of the key frame picture.
Further, the PVR recording program when executed by the processor further implements the following operations:
acquiring the version number of a PMT table and an EIT table of the television program;
judging whether the version number of the PMT table and the EIT table at the current moment and the version number of the EIT table at the previous moment are changed or not;
and if so, judging that the PMT table and the EIT table are changed.
Further, the PVR recording program when executed by the processor further implements the following operations:
when a television program starts to be recorded, initializing program guide information and service information of the television program so as to enable a filter to filter a PMT (program map table) and an EIT (enhanced information Table) corresponding to the television program from a TS (transport stream) code stream.
The specific embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiments of the PVR recording method described above, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A PVR recording method, comprising:
in the process of recording a television program, acquiring a PMT (program management table) and an EIT (electronic equipment table) of the television program, and judging whether the PMT and the EIT are changed or not;
if the PMT table and/or the EIT table are/is changed, acquiring key frame data of a television program at the moment of changing the PMT table and/or the EIT table, and storing the acquired key frame data;
if the PMT table and/or the EIT table change, acquiring key frame data of a television program at the moment of change of the PMT table and/or the EIT table, and storing the acquired key frame data, wherein the step comprises:
if the PMT table and/or the EIT table are/is changed, calling a corresponding callback function according to the change to set a numerical value of a target mark;
judging whether the numerical value of the target mark is true or not;
and if so, acquiring key frame data of the television program at the PMT table and/or EIT table change time, and storing the acquired key frame data.
2. The PVR recording method according to claim 1, wherein the step of calling the corresponding callback function to set the value of the target flag according to the change if the PMT table and/or the EIT table is changed comprises:
if the PMT table changes, calling a preset first callback function, and setting a numerical value of a target mark according to the first callback function;
if the EIT table changes, calling a preset second callback function, and setting the value of a target mark according to the second callback function.
3. The PVR recording method according to claim 1, wherein after the step of acquiring key frame data of the tv program at the moment of the PMT and/or EIT table change and storing the acquired key frame data, the method comprises:
and analyzing a key frame picture from the key frame data, and storing the recording duration corresponding to the key frame picture as the name of the key frame picture.
4. The PVR recording method according to claim 3, wherein the step of parsing the key frame picture from the key frame data comprises:
sending the key frame data to a picture analysis tool;
and analyzing a key frame picture corresponding to the key frame data according to a preset function in the picture analysis tool.
5. The PVR recording method according to claim 3, wherein the step of storing the recording duration corresponding to the key frame picture as the name of the key frame picture comprises:
calculating recording duration corresponding to the key frame data according to the recording starting time and the time for acquiring the key frame data;
and storing the recording duration as the name of the key frame picture.
6. The PVR recording method according to claim 1, wherein the step of acquiring a PMT table and an EIT table of the television program and determining whether the PMT table and the EIT table are changed comprises:
acquiring the version number of a PMT (program management table) and an EIT (electronic equipment Table) of the television program;
judging whether the version number of the PMT table and the EIT table at the current moment and the version number of the EIT table at the last moment are changed or not;
and if so, judging that the PMT table and the EIT table are changed.
7. The PVR recording method according to claim 1, wherein before the steps of acquiring the PMT and EIT tables of the television program and determining whether version numbers of the PMT and EIT tables are changed during the recording of the television program, the method comprises:
when a television program starts to be recorded, initializing program guide information and service information of the television program so as to enable a filter to filter a PMT (program map Table) and an EIT (electronic equipment Table) corresponding to the television program from a TS (transport stream).
8. An intelligent television, characterized in that the intelligent television comprises: a memory, a processor and a PVR recording program stored on the memory and executable on the processor, the PVR recording program when executed by the processor implementing the steps of the PVR recording method according to any one of claims 1 to 7.
9. A computer readable storage medium having a PVR recording program stored thereon, wherein the PVR recording program, when executed by a processor, implements the steps of the PVR recording method according to any one of claims 1 to 7.
CN201911399554.2A 2019-12-30 2019-12-30 PVR (personal video recorder) recording method, smart television and computer readable storage medium Active CN111131881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911399554.2A CN111131881B (en) 2019-12-30 2019-12-30 PVR (personal video recorder) recording method, smart television and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911399554.2A CN111131881B (en) 2019-12-30 2019-12-30 PVR (personal video recorder) recording method, smart television and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111131881A CN111131881A (en) 2020-05-08
CN111131881B true CN111131881B (en) 2022-09-02

Family

ID=70505702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911399554.2A Active CN111131881B (en) 2019-12-30 2019-12-30 PVR (personal video recorder) recording method, smart television and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111131881B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073543B (en) * 2020-11-16 2021-02-02 全时云商务服务股份有限公司 Cloud video recording method and system and readable storage medium
CN113225508B (en) * 2021-04-29 2022-09-23 中山亿联智能科技有限公司 Section acquisition method based on recording mode
CN113556492B (en) * 2021-07-09 2023-10-20 深圳传音控股股份有限公司 Thumbnail generation method, mobile terminal and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103535046A (en) * 2011-04-20 2014-01-22 Lg电子株式会社 Transmission method for broadcast service, reception method therefor, and reception apparatus therefor
CN103733637A (en) * 2011-09-23 2014-04-16 Lg电子株式会社 Method for receiving broadcast service and reception device thereof
CN108495176A (en) * 2018-03-21 2018-09-04 青岛海信电器股份有限公司 A kind of PVR method for recording, system and television set

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080022757A (en) * 2006-09-07 2008-03-12 엘지전자 주식회사 Digital broadcasting signal and apparatus and method for processing the signal
CN1988665A (en) * 2006-09-13 2007-06-27 深圳创维-Rgb电子有限公司 Method and system for playing DVB realtime advertisement
CN102014302B (en) * 2010-12-01 2012-10-03 福建新大陆通信科技股份有限公司 Method for high-performance module scheduling of set-top box
CN102098575B (en) * 2010-12-31 2012-12-05 青岛海信宽带多媒体技术有限公司 Migration method compatible with multiple conditional access (CA) systems and CA method
US9060151B2 (en) * 2011-06-16 2015-06-16 Lg Electronics Inc. Method for transmitting a broadcast service, method for receiving a broadcast service, and apparatus for receiving a broadcast service
US9838741B2 (en) * 2011-08-10 2017-12-05 Lg Electronics Inc. Method for transmitting broadcast service, method for receiving broadcast service, and apparatus for receiving broadcast service
CN105744297A (en) * 2014-12-12 2016-07-06 中兴通讯股份有限公司 Method and device for code stream transmission
CN106303585B (en) * 2016-07-26 2020-03-10 华为技术有限公司 Program review method, media server, set top box and program review system
CN108235108A (en) * 2018-03-20 2018-06-29 青岛海信电器股份有限公司 A kind of PVR method for recording, system and television set
CN110180181B (en) * 2019-04-22 2022-12-23 努比亚技术有限公司 Method and device for capturing wonderful moment video and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103535046A (en) * 2011-04-20 2014-01-22 Lg电子株式会社 Transmission method for broadcast service, reception method therefor, and reception apparatus therefor
CN103733637A (en) * 2011-09-23 2014-04-16 Lg电子株式会社 Method for receiving broadcast service and reception device thereof
CN108495176A (en) * 2018-03-21 2018-09-04 青岛海信电器股份有限公司 A kind of PVR method for recording, system and television set

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《Highlight Scene Detection And Video Summarization for PVR-Enabled High-Definition Television Systems》;Sam Shipman;《2007 Digest of Technical papers International Conference on Consumer Electronics》;20070410;全文 *
《PVR trick-mode emulation through consecutive jumps》;Nemanja Fimic;《2015 23rd Telecommunications Forum Telfor(TELFOR)》;20160111;全文 *
《地面数字高清电视中嵌入式PVR***设计与开发》;金益鉴;《中国优秀硕士学位论文全文数据库》;20100615;全文 *
《数字电视机顶盒PVR功能的研究与实现》;戴静;《中国优秀硕士学位论文全文数据库》;20140615;全文 *

Also Published As

Publication number Publication date
CN111131881A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111131881B (en) PVR (personal video recorder) recording method, smart television and computer readable storage medium
US9813743B2 (en) Receiving device, receiving method, providing device, providing method, programs, and broadcasting system
US8260090B2 (en) Information processing apparatus, imaging apparatus, image display control method and computer program
EP1919206A2 (en) Recording apparatus
US8249430B2 (en) Digital broadcast receiving apparatus and method for displaying images with programming information
JP2006217343A (en) Signal processor and videotape recording method
US9807445B2 (en) Photosensitivity protection for video display
KR101490254B1 (en) Broadcast receiver and method for offering EPG of ACAP Channel
US7546627B2 (en) Digital broadcast receiving and recording apparatus
US20070266407A1 (en) Digital television receiver and method for processing broadcast signal
CN111698261A (en) Video playing method, device, equipment and storage medium based on streaming media
EP2359589B1 (en) Display device and method for providing data broadcasting thereof
JP4851909B2 (en) Video recording apparatus and program
KR20070058927A (en) Recording method of television with personal video recorder
US20110013086A1 (en) Data application method in audio visual device
KR100761256B1 (en) Program guidance method in open cable settop box
JP2007214708A (en) Video apparatus and method for creating program information using it
US11910059B2 (en) Method for retrieving program data and circuit system
KR101433942B1 (en) Display apparatus and method for controlling record
EP1341388A2 (en) V-chip data processing for decoder with personal video recording functionality
JP4357341B2 (en) Digital broadcast recording / reproducing device
JP2007053652A (en) Data broadcasting receiver
KR101319887B1 (en) Method for displaying a data broadcasting and Data broadcasting receiver
JP2006513604A (en) Method for inserting data into a timer of a video recording device
KR20080019793A (en) Method and apparatus for auto channel searching of digital television receiver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant