CN101207758B - Method for removing fragment in record program - Google Patents

Method for removing fragment in record program Download PDF

Info

Publication number
CN101207758B
CN101207758B CN 200710077505 CN200710077505A CN101207758B CN 101207758 B CN101207758 B CN 101207758B CN 200710077505 CN200710077505 CN 200710077505 CN 200710077505 A CN200710077505 A CN 200710077505A CN 101207758 B CN101207758 B CN 101207758B
Authority
CN
China
Prior art keywords
segment
program segment
program
covert marks
marks
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.)
Expired - Fee Related
Application number
CN 200710077505
Other languages
Chinese (zh)
Other versions
CN101207758A (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 Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN 200710077505 priority Critical patent/CN101207758B/en
Priority to PCT/CN2008/071361 priority patent/WO2009067867A1/en
Publication of CN101207758A publication Critical patent/CN101207758A/en
Application granted granted Critical
Publication of CN101207758B publication Critical patent/CN101207758B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

The invention provides a method used for cutting fragments in a recorded program, comprising the following steps: a. when in the process of recording program, at least one program fragment that needs to be cut is marked to be hidden, a program fragment hidden marker list is generated according to the program fragment hidden marker so that the plurality of program fragment hidden markers are not overlapped in the marking range; and b. when the recorded program is played, the program fragment that needs to be cut is skipped according to the program fragment hidden marker. The technical proposal provided by the invention can facilitate the user to quickly cut the needless fragments in the recorded program according to the need, thereby avoiding the problem of complex operation and over low efficiency when a document cutting method is adopted to delete and recombine the recorded program, and better satisfying the demand of the user.

Description

A kind of method of removing segment in program recording
Technical field
The invention belongs to the video technique field, relate in particular to the technology of removing segment in program recording.
Background technology
Along with the propelling day by day of global broadcast television digitization, Digital TV Receiving card, digital TV set-top box and the digital TV integrated machine on computer all becomes the different approaches of promoting Digital Television.Manufacturer provides increasing as services such as browsing page, video request program, subscription and video recording, game on line or interactive TVs along with television broadcasting, top box of digital machine also will be from the transitional product of existing collocation simulated television, becomes from now on important digital product in average family.In order to bring better service to the consumer, increasing set-top box begins to install additional hard disk, to substitute traditional video tape recorder, the recording function of digital television program is provided, the user can be by sending an instruction, as press " recording key ", with in progress television program record to hard disk; Also can send other instruction in needs, as press " playback key ", certain file of playback is appreciated the program under having recorded.
Generally in recording process, the user always specifies the program in the fixed time section of recording certain channel, as records " football all over the world " program of the 21:00-22:00 of CCTV-5.And at the appointed time in section, some advertisements always intert in TV station in the process of broadcast program, and these advertisements are not that the user needs, but have been recorded yet.During this recorded file of user's playback, hope can be got rid of the ad content that interts in the middle of program.
Middle advertising segment for program recording, existing solution generally all is based on File cutting, (stored the file of programme content for the stream file of having recorded, below all be called stream file), specify the advertising programme segment of needs removal according to the user, find the file fragment of this program fragment correspondence in stream file and delete it, then the stream file remainder being recombinated.
Because the data volume of video frequency program is very large, thereby stream file is very large often, is very loaded down with trivial details consuming time so adopt existing scheme to delete with reorganization operation to stream file, and the efficient of this mode is too low, can not meet consumers' demand.
Summary of the invention
The object of the present invention is to provide a kind of method of removing segment in program recording, be intended to solve the too low problem of segment complex operation, efficient of removing in prior art in program recording.
The present invention is achieved in that a kind of method of removing segment in program recording, and described method comprises following step:
A, in the process of program recording, the original position of user specified program fragment, and convert the original position of the program fragment of user's appointment to absolute position; The absolute position of the program segment of removing for needs generates at least one program segment covert marks, generates the list of program segment covert marks according to described program segment covert marks, makes a plurality of program segment covert marks scope non-overlapping copies; Described program segment covert marks comprises original position and the length of described needs removal program segment;
When b, the described program recording of broadcast, the program segment that described needs are removed is skipped in list according to described program segment covert marks.
Wherein step a specifically comprises:
A1, in the process of program recording, remove original position and the end position of program segment according to the needs of appointment, generate the program segment covert marks, described program segment covert marks is added in the list of program segment covert marks.
Describedly add described program segment covert marks to program segment covert marks listings step and also comprise:
Described program segment covert marks is arranged according to its original position ascending order.
Wherein step a1 also comprises:
The original position of described program segment is converted to the absolute position.
Specifically comprise:
The beginning position that described program segment is risen adds the length that is positioned at all the segment covert marks before this original position, the absolute position that obtains described program segment.
Wherein step b specifically comprises:
When b1, the described program recording of broadcast, the current play position of Real-time Obtaining;
Program segment covert marks in b2, the list of inquiry program segment covert marks, judge whether to exist the program segment covert marks that covers described current play position, if exist, skip program segment corresponding to program segment covert marks that covers described current play position, turn step b1.
Wherein described program segment corresponding to program segment covert marks that covers described current play position of skipping of step b2 specifically comprises:
Obtain current broadcasting speed, judge that current broadcasting speed is whether for just, if so, jump to the end position of the program segment covert marks of the current play position of described covering, otherwise jump to the original position of the program segment covert marks of the current play position of described covering.
The described program segment that needs to remove is the advertising programme segment.
The present invention overcomes the deficiencies in the prior art, employing is in the process of program recording, specify the program segment that needs to remove to generate the program segment covert marks for the user, skip the technical scheme of the program segment of this needs removal according to the program segment covert marks in the process of playback program recording, make the user can remove fast as required unwanted segment in program recording, avoid adopting the File cutting mode program recording to be deleted and complex operation, the too low problem of efficient when recombinating, better met user's request.
Description of drawings
Fig. 1 is the product process figure of the described segment covert marks of the embodiment of the present invention;
Fig. 2 is the described flow chart that the segment covert marks is added to the list of segment covert marks of the embodiment of the present invention;
Fig. 3 is the described flow chart of inquiring about from the list of segment covert marks of the embodiment of the present invention;
Fig. 4 is the flow chart of the described broadcast program recording of the embodiment of the present invention;
Fig. 5 is the flow chart that the embodiment of the present invention described absolute position is converted to relative position;
Fig. 6 is the flow chart that the described relative position of the embodiment of the present invention is converted to the absolute position.
Embodiment
Technical scheme provided by the invention is: in the process of program recording, specify the program segment that needs to remove to generate the program segment covert marks for the user, skip according to the program segment covert marks segment that these needs are removed in the process of playback program recording, the effect that the user sees is exactly that this segment has been removed.
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
At first the technical scheme that the embodiment of the present invention provides needs the adlink of specifying needs to remove to the user, generates and adds the segment covert marks.
For the effect that makes the removal program segment that technical solution of the present invention provides the same with the stream file cutting, not only need to hide all program segment of mark in playing process, also need the update playing positional information, namely the position that obtains of user is the position (deduct all segment covert marks length after position) after segment is hidden.Position after segment is hidden is called relative position, and the position that the user obtains is all relative position; Do not consider that when fragment is hidden, the position in stream file is called the absolute position, the play position that obtains from playing module and the position of segment covert marks record are all the absolute positions, the description that concrete transfer process sees below.
Specifically, the product process of segment covert marks specifically comprises following step as shown in Figure 1:
1, the position of user's given ad segment, the i.e. starting position of given ad segment and end position (being relative position);
2, position conversion is converted to the absolute position with the relative position of user's appointment;
3, generate a segment covert marks according to the absolute position after conversion, this tag content has comprised the starting position of segment and the length of segment;
4, add new segment covert marks the list of to segment covert marks;
5, preserve the list of segment covert marks.
The corresponding segment covert marks list of each stream file, the list of segment covert marks is stored in permanent storage appliance jointly with corresponding stream file.
Wherein, for efficient segment covert marks bookkeeping, when the new segment covert marks of each interpolation enters list, all must must guarantee the list of segment covert marks in order and zero lap (when the scope of two segment covert marks has covering, being called two segment covert marks overlapping).
The idiographic flow that adds the segment covert marks list of to segment covert marks specifically comprises the steps: as shown in Figure 2
1, first segment covert marks that obtains the list of segment covert marks is current mark;
2, for after guaranteeing that new segment covert marks inserts, list is still arranged according to the starting position ascending order of mark, so need to find the starting position greater than first mark of new mark starting position, whether the starting position that judges current mark is greater than the starting position of new mark, if not, turn step 3, otherwise turn step 5;
3, current the marking whether of judgement is last mark of list, if not, turns step 4, otherwise turns step 6;
4, continue to obtain next mark as current mark from list, turn step 2;
If the starting position of 5 current marks is greater than the starting position of new mark, current mark be the list starting position greater than first mark of new mark starting position, so new mark is inserted the front of current mark, turn step 7;
6, list traversal is completed and is not found the starting position greater than the mark of new mark starting position, newly is labeled as the mark of starting position maximum, directly adds the list end to and gets final product;
7, judge that current mark end position whether less than new mark end position, if so, turns step 8, otherwise turns step 6;
8, current mark and new mark are merged into new mark, namely delete current mark;
Because list is according to the ascending sort of starting position, and the current back that is marked at new mark, thereby the starting position of current mark is necessarily greater than new mark starting position, so, if the end position of current mark during less than new mark end position (because the user can only obtain relative position, thereby the situation that current mark covers new mark end position can not appear), current mark is certain and new mark is overlapped;
9, current the marking whether of judgement is last mark in list, if not, turns step 10, otherwise turns step 6;
If 10 current marks are not the last marks in list, continue to obtain next mark as current mark from list, turn step 7;
After specifying the hiding adlink generation segment covert marks of needs and add in the list of segment covert marks according to the user, the a certain segment of inquiry that can also be from the list of segment covert marks, because the list of segment covert marks is according to ascending sort, and be non-overlapping, so the inquiry to assigned address is just very convenient and quick, idiographic flow as shown in Figure 3:
1, first segment covert marks that obtains the list of segment covert marks is current mark.
2, whether the starting position that judges the present pieces covert marks if so, turns step 3 greater than assigned address, otherwise turns step 5;
3, current the marking whether of judgement if so, turns step 7, otherwise turns step 4 into last mark of segment covert marks list
If 4 current marks are not the last marks in list, continue to obtain next mark as current mark from list, turn step 2;
5, judge that present pieces covert marks end position whether greater than assigned address, if so, turns step 6, otherwise turns step 7;
6, successful inquiring is returned to the present pieces covert marks;
7, inquire about unsuccessfully.
After specifying the hiding adlink generation segment covert marks of needs and add in the list of segment covert marks according to the user, when the user needs the playback recorded file, system will hide the segment of user's appointment automatically according to the list of segment covert marks, as adlink, these segments will be skipped when playing automatically, idiographic flow comprises the steps: as shown in Figure 4
1, play in the recorded file process, obtain current play position from the set-top box playing module in real time;
2, according to the list of current play position inquiry segment covert marks, see whether exist certain segment covert marks to cover current play position, if having, to turn step 3, otherwise turn step 1;
The program segment (being the advertising programme segment of user's appointment) of the segment covert marks institute mark of 3, automatically hiding that inquiry obtains;
4, obtain current broadcasting speed and preservation;
5, judge that current broadcasting speed whether greater than 0, if so, turns step 6, otherwise turn step 7;
The purpose of this step is that the current broadcast of judgement is to be to putting, if along putting, jump backward, if put upside down, jump forward, skipping adlink corresponding to segment covert marks along releasing;
6, jump to segment covert marks end position, and current broadcasting speed be set to the to jump speed of front preservation;
7, jump to segment covert marks starting position, and current broadcasting speed be set to the to jump speed of front preservation;
For the effect that makes the removal program segment that technical solution of the present invention provides the same with the stream file cutting, not only need to hide all program segment of mark in playing process, also need the update playing positional information, namely the position that obtains of user is the position (deduct all segment covert marks length after position) after segment is hidden.Do not consider that when fragment is hidden, the position in stream file is called the absolute position, the play position that obtains from playing module and the position of segment covert marks record are all the absolute positions.The absolute position deducts the length that is positioned at all the segment covert marks before this position, and what obtain is exactly relative position; And relative position adds the length that is positioned at all the segment covert marks before this position, and what obtain is exactly the absolute position.
The flow process that the absolute position is converted to relative position comprises following step as shown in Figure 5:
1, compose initial value for specifying the absolute position to relative position;
2, obtain first segment covert marks of segment covert marks list, as the present pieces covert marks;
Whether the end position that 3, judges the present pieces covert marks if so, turns step 4, otherwise turns step 5 less than specifying the absolute position;
4, relative position deducts the program fragment length of present pieces covert marks institute mark;
5, judge that whether the present pieces covert marks is last mark of segment covert marks list, if so, turns step 7, otherwise turns step 6;
6, continuously obtain next mark as the present pieces covert marks from list, turn step 3;
7, return to the relative position that clearing obtain.
The flow process that relative position is converted to the absolute position specifically comprises following step as shown in Figure 6:
1, compose initial value for specifying relative position to the absolute position;
2, first segment covert marks that obtains the list of segment covert marks is the present pieces covert marks;
Whether the starting position that 3, judges the present pieces covert marks if so, turns step 7, otherwise turns step 4 greater than specifying the absolute position;
4, the absolute position adds the program fragment length of present pieces covert marks institute mark;
5, judge that whether the present pieces covert marks is last segment covert marks of segment covert marks list, if so, turns step 7, otherwise turns step 6;
6, obtain next segment covert marks as current mark from list;
7, return to the absolute position that clearing obtain.
In the embodiment of the present invention, program segment for the needs removal, adlink in the program recording describes as example, during practical application technical scheme provided by the invention, be not limited to adlink, other users do not want that the program segment of watching can adopt method provided by the invention to remove equally, and this does not give unnecessary details.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.

Claims (7)

1. a method of removing segment in program recording, is characterized in that, described method comprises following step:
A, in the process of program recording, the original position of user specified program fragment, and convert the original position of the program fragment of user's appointment to absolute position; The absolute position of the program segment of removing as required generates at least one program segment covert marks, generates the list of program segment covert marks according to described program segment covert marks, makes a plurality of program segment covert marks scope non-overlapping copies; Described program segment covert marks comprises original position and the length of described needs removal program segment;
When b, the described program recording of broadcast, the program segment that described needs are removed is skipped in list according to described program segment covert marks.
2. method according to claim 1, is characterized in that, wherein step a specifically comprises:
A1, in the process of program recording, remove original position and the end position of program segment according to the needs of appointment, generate the program segment covert marks, described program segment covert marks is added in the list of program segment covert marks.
3. method according to claim 2, is characterized in that, describedly adds described program segment covert marks to program segment covert marks listings step and also comprise:
Described program segment covert marks is arranged according to its original position ascending order.
4. method according to claim 1, is characterized in that, the original position of described program fragment with user's appointment converts the absolute position to and specifically comprises:
The position that described program segment is initial adds the length that is positioned at all the segment covert marks before this original position, the absolute position that obtains described program segment.
5. method according to claim 1, is characterized in that, wherein step b specifically comprises:
When b1, the described program recording of broadcast, the current play position of Real-time Obtaining;
Program segment covert marks in b2, the list of inquiry program segment covert marks, judge whether to exist the program segment covert marks that covers described current play position, if exist, skip program segment corresponding to program segment covert marks that covers described current play position, turn step b1.
6. method according to claim 5, is characterized in that, wherein described program segment corresponding to program segment covert marks that covers described current play position of skipping of step b2 specifically comprises:
Obtain current broadcasting speed, judge that current broadcasting speed is whether for just, if so, jump to the end position of the program segment covert marks of the current play position of described covering, otherwise jump to the original position of the program segment covert marks of the current play position of described covering.
7. method according to claim 1, is characterized in that, the described program segment that needs to remove is the advertising programme segment.
CN 200710077505 2007-11-27 2007-11-27 Method for removing fragment in record program Expired - Fee Related CN101207758B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200710077505 CN101207758B (en) 2007-11-27 2007-11-27 Method for removing fragment in record program
PCT/CN2008/071361 WO2009067867A1 (en) 2007-11-27 2008-06-19 A segments deleting method for record program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710077505 CN101207758B (en) 2007-11-27 2007-11-27 Method for removing fragment in record program

Publications (2)

Publication Number Publication Date
CN101207758A CN101207758A (en) 2008-06-25
CN101207758B true CN101207758B (en) 2013-06-05

Family

ID=39567577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710077505 Expired - Fee Related CN101207758B (en) 2007-11-27 2007-11-27 Method for removing fragment in record program

Country Status (2)

Country Link
CN (1) CN101207758B (en)
WO (1) WO2009067867A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207758B (en) * 2007-11-27 2013-06-05 深圳市同洲电子股份有限公司 Method for removing fragment in record program
CN102541962A (en) * 2010-12-31 2012-07-04 北大方正集团有限公司 Method and device for packing and extracting files
CN103313122B (en) * 2012-03-09 2018-02-27 联想(北京)有限公司 A kind of data processing method and electronic equipment
CN104093084B (en) * 2014-06-11 2018-03-30 北京猎豹网络科技有限公司 A kind of method and device for playing video
CN104505108B (en) * 2014-12-04 2018-01-19 广东欧珀移动通信有限公司 A kind of information locating method and terminal
US10757469B2 (en) 2015-12-16 2020-08-25 Rovi Guides, Inc. Methods and systems for bypassing preemptions in recorded media assets
JP6820930B2 (en) * 2015-12-16 2021-01-27 ロヴィ ガイズ, インコーポレイテッド Methods and systems for bypassing replacements in recorded media assets
CN107645680A (en) * 2017-09-20 2018-01-30 帕诺迪电器(深圳)有限公司 A kind of method watched video and skip advertisement
CN113207033B (en) * 2021-04-29 2022-09-20 读书郎教育科技有限公司 System and method for processing invalid video clips recorded in intelligent classroom

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394436A (en) * 2000-11-08 2003-01-29 皇家菲利浦电子有限公司 Method of composing list of TV or radio programs from given transmission schedule
CN1653809A (en) * 2002-05-09 2005-08-10 汤姆森许可贸易公司 Content identification method and apparatus in a digital video recorder

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10106237A (en) * 1996-09-25 1998-04-24 Sony Corp Editor
US6856755B1 (en) * 1999-11-10 2005-02-15 Thomson Licensing S.A. Method and apparatus for editing in a forward or reverse direction on a rewriteable disc media
KR20050076017A (en) * 2004-01-19 2005-07-26 삼성전자주식회사 Apparatus and method for recording video data, and apparatus and method for reproducing video data
US20050185921A1 (en) * 2004-02-20 2005-08-25 Dale Skran Systems and methods for enhanced video and audio program editing
JP2006309867A (en) * 2005-04-28 2006-11-09 Hitachi Ltd Image recording and reproducing device
CN101207758B (en) * 2007-11-27 2013-06-05 深圳市同洲电子股份有限公司 Method for removing fragment in record program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394436A (en) * 2000-11-08 2003-01-29 皇家菲利浦电子有限公司 Method of composing list of TV or radio programs from given transmission schedule
CN1653809A (en) * 2002-05-09 2005-08-10 汤姆森许可贸易公司 Content identification method and apparatus in a digital video recorder

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JP特开2001-320674A 2001.11.16
附图1、7.
附图1.
附图1-3.

Also Published As

Publication number Publication date
CN101207758A (en) 2008-06-25
WO2009067867A1 (en) 2009-06-04

Similar Documents

Publication Publication Date Title
CN101207758B (en) Method for removing fragment in record program
US20210217442A1 (en) In-band data recognition and synchronization system
AU2006344734C1 (en) Method and apparatus for creating and viewing customized multimedia segments
CA2442842C (en) Alternative advertising in pre-recorded media
CN102461194B (en) Insertion of recorded secondary digital video content during playback of primary digital video content
CN1223188C (en) Methods and apparatus for making and replaying digital video recordings, and recordings made by such method
CN100557604C (en) The system and method that is used for index and summarize music videos
CN102415095B (en) Record and present the digital video recorder of the program formed by the section of splicing
US20050193408A1 (en) Generating, transporting, processing, storing and presenting segmentation information for audio-visual programs
US20050193425A1 (en) Delivery and presentation of content-relevant information associated with frames of audio-visual programs
US20060013554A1 (en) Commercial storage and retrieval
EP1827008A1 (en) Content receiving, recording and reproducing device and content distribution system
US20060013556A1 (en) Commercial information and guide
CN102150424B (en) Method for file formation according to freeview AV service
WO2004073309A1 (en) Stream output device and information providing device
JP2006270960A (en) Identifying and indexing of extensible content
CA2563715A1 (en) Methods, apparatuses, and systems for presenting advertisement content within trick files
JPWO2002037841A1 (en) DIGITAL VIDEO CONTENT DISTRIBUTION SYSTEM, REPRODUCTION METHOD, AND RECORDING MEDIUM CONTAINING REPRODUCTION PROGRAM
KR20070101826A (en) Method for localizing a frame and presenting segmentation information for audio-visual programs
CA2366121A1 (en) Advertising extracting system
CN102611932B (en) Set top box and method for recording television program by set-top box
CN101356806A (en) Information processing device, information processing method, and computer program
JP6415652B1 (en) VIDEO REPRODUCTION DEVICE, VIDEO RECORDING DEVICE, AND VIDEO RECORDING METHOD
CN100553314C (en) The method of digital broadcast recorder and its record header of use
JP6600059B2 (en) Video playback device and video recording device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130605