CN106612462A - Fast-forward and fast-rewind processing method and terminal - Google Patents

Fast-forward and fast-rewind processing method and terminal Download PDF

Info

Publication number
CN106612462A
CN106612462A CN201510703222.4A CN201510703222A CN106612462A CN 106612462 A CN106612462 A CN 106612462A CN 201510703222 A CN201510703222 A CN 201510703222A CN 106612462 A CN106612462 A CN 106612462A
Authority
CN
China
Prior art keywords
frames
time point
frame
fast
duration
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.)
Granted
Application number
CN201510703222.4A
Other languages
Chinese (zh)
Other versions
CN106612462B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510703222.4A priority Critical patent/CN106612462B/en
Priority to PCT/CN2016/099377 priority patent/WO2017071428A1/en
Publication of CN106612462A publication Critical patent/CN106612462A/en
Application granted granted Critical
Publication of CN106612462B publication Critical patent/CN106612462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a fast-forward and fast-rewind processing method comprising the following steps: when receiving a fast-forward or fast-rewind request, a terminal selects I frames according to the length of the finished part of a current program, the pre-stored index information of the I frames of the current program and the speed contained in the fast-forward or fast-rewind request to get an I frame sequence; the terminal sends a data request message to the server at an interval of a preset first length, wherein each sent data request message carries one frame in the I frame sequence in order; and the terminal receives, decodes and outputs data of the I frames fed back by the server according to the received index information of the I frames. The invention further discloses a terminal. The beneficial effect is that the requirement on bandwidth can be reduced effectively.

Description

The processing method and terminal of fast forwarding and fast rewinding
Technical field
The present invention relates to streaming media communication technical field, more particularly to a kind of fast forwarding and fast rewinding processing method and Terminal.
Background technology
At present OTT (Over The Top) business is modal business in Internet service, and based on opening The OTT mobile video service business for putting the Internet is to meet live (Live), program request (On Demand) in the future One of and the best solution of many application demands such as time shift (Time Shift).
The broadcasting control of common OTT business uses code stream adaptive mode, and conventional agreement includes: Http Live Streaming, MPEG DASH, Microsoft Smooth Streaming etc..And General OTT business in fast forwarding and fast rewinding be all using bottom positioning by the way of, it is current under this mode The Consumer's Experience of the fast forwarding and fast rewinding of program is than network convention TV (Internet Protocol Television, IPTV) fast forwarding and fast rewinding in business Consumer's Experience it is poor, wherein IPTV service is to adopt I frames (I Frame) play mode realizes fast forwarding and fast rewinding.Wherein, I frames are a kind of full frame compressions Coded frame, alternatively referred to as intracoded frame, the data volume of I frames typically than larger, and I frames without necessarily referring to Other frames and generate, belong to reference frame, during decoding, only can just reconstruct a complete figure with an I town Picture.
At present, the agreement that OTT video playbacks are used also supports the I frame play mode of fast forwarding and fast rewinding in consideration, And be based on OTT video playback business, usually terminal from server by the institute of the program being currently played The I frame data for having I frames are all downloaded, after the state into fast forwarding and fast rewinding, the I that will be downloaded successively Frame data are exported.
However, as the data volume of I frames is larger, downloading requirement of all I frames of actual program to bandwidth It is higher.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is Prior art.
The content of the invention
Present invention is primarily targeted at providing a kind of processing method and terminal of fast forwarding and fast rewinding, it is intended to solve Need when fast forwarding and fast rewinding is realized in prior art that the I frame data for downloading substantial amounts of I frames bring to bandwidth The too high problem of requirement.
For achieving the above object, the present invention provides a kind of processing method of fast forwarding and fast rewinding, including:
When receiving fast forward and fast reverse and asking, according to actual program playing duration, the institute for pre-saving The speed included in index information and the fast forward and fast reverse request for stating each I frames of actual program chooses I Frame, obtains I frame sequences;
At interval of the first duration for pre-setting, a data request information is sent to server, and it is described Carry the index information of the I frames in the I frame sequences in data request information successively;
Receive and decode the I frame numbers that the output server is fed back according to the index information of the I frames for receiving According to.
Preferably, it is described when receive fast forward and fast reverse ask when, according to actual program playing duration, Include in the index information of each I frames of the actual program for pre-saving and fast forward and fast reverse request Speed choose I frames, obtain I frame sequences, including:
When F.F. request or fast rewinding request is received, second is determined according to the speed of the fast forward and fast reverse Duration;
According to each I frames of the actual program playing duration, second duration and the actual program Time point choose I frames, obtain the I frame sequences, the time point of the I frames is included in the I frames Index information in.
Preferably, it is described according to actual program playing duration, second duration and described current The time point of each I frames of program chooses I frames, obtains the I frame sequences, including:
If F.F., then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration plus m times second duration and as having Effect time point;
Step 2:According to the time point of each I frames of the actual program, the effective time point is judged backward Whether I frames are also had;
Step 3:If the effective time point also has I frames backward, access time point is effective with described backward The m+1 frame of the nearest I frame of time point as the I frame sequences, makes m=m+1, returns and performs Step 1;
Step 4:If the effective time point no I frames backward, terminate the selection to I frames.
Preferably, it is described according to actual program playing duration, second duration and described current The time point of the I frames included in the index information of each I frames of program chooses I frames, obtains the I frames sequence Row, including:
If rewind, then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration deduct m times second duration difference as having Effect time point;
Step 2:According to the time point of each I frames of the actual program, the effective time point is judged forward Whether I frames are also had;
Step 3:If the effective time point also has forward I frames, access time point is effective with described forward The m+1 frame of the nearest I frame of time point as the I frame sequences, makes m=m+1, returns and performs Step 1;
Step 4:If the effective time point no I frames forward, terminate the selection to I frames.
Preferably, it is described pre-set first when a length of time less than or equal to 1 second for pre-setting Value, or be based on the calculated time value for being less than or equal to 1 second of the speed.
In order to solve the above problems, the present invention also provides a kind of terminal, including:
Choose module, for when receive fast forward and fast reverse ask when, according to actual program playing duration, Include in the index information of each I frames of the actual program for pre-saving and fast forward and fast reverse request Speed choose I frames, obtain I frame sequences;
Sending module, after obtaining the I frame sequences in the selection module, at interval of setting in advance The first duration put, to server send a data request information, and in the data request information according to The secondary index information for carrying the I frames in the I frame sequences;
Output module is received, and after data request information being sent in the sending module, is received and is solved The I frame data that the code output server is fed back according to the index information of the I frames for receiving.
Preferably, the selection module includes:
Duration determining module, for when F.F. request or fast rewinding request is received, according to the F.F. or The speed of rewind determines the second duration;
Frame chooses module, after determining second duration in the duration determining module, according to institute The time for stating each I frames of actual program playing duration, second duration and the actual program clicks I frames are taken, the I frame sequences are obtained, the time point of the I frames is included in the index information of the I frames In.
Preferably, the frame choose module specifically for:
If F.F., then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration plus m times second duration and as having Effect time point;
Step 2:According to the time point of each I frames of the actual program, the effective time point is judged backward Whether I frames are also had;
Step 3:If the effective time point also has I frames backward, access time point is effective with described backward The m+1 frame of the nearest I frame of time point as the I frame sequences, makes m=m+1, returns and performs Step 1;
Step 4:If the effective time point no I frames backward, terminate the selection to I frames.
Preferably, the frame choose module specifically for:
If rewind, then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration deduct m times second duration difference as having Effect time point;
Step 2:According to the time point of each I frames of the actual program, the effective time point is judged forward Whether I frames are also had;
Step 3:If the effective time point also has forward I frames, access time point is effective with described forward The m+1 frame of the nearest I frame of time point as the I frame sequences, makes m=m+1, returns and performs Step 1;
Step 4:If the effective time point no I frames forward, terminate the selection to I frames.
Preferably, it is described pre-set first when a length of time less than or equal to 1 second for pre-setting Value, or be based on the calculated time value for being less than or equal to 1 second of the speed.
The present invention provide fast forwarding and fast rewinding method embodiment be receive fast forward and fast reverse ask when, Terminal according to actual program playing duration, the index information of each I frames of actual program for pre-saving and In fast forwarding and fast rewinding request, the speed that includes chooses I frames, obtain I frame sequences, and at interval of pre-setting First duration, sends in a data request information, and the data request information for sending successively to server Carry an I frame in the I frame sequences, terminal will also be received and export server be decoded according to receiving I frames index information feedback I frames data, to realize fast forwarding and fast rewinding.As the I frames chosen are A part of I frames of actual program so that when fast forwarding and fast rewinding is realized, it is not necessary to by all I of actual program The I frame data of frame are all downloaded, and can effectively be subtracted while the output effect of fast forwarding and fast rewinding is realized The download of few I frame data, and the reduction of I frame data downloads can effectively reduce the requirement to broadband.
Description of the drawings
Fig. 1 is the schematic flow sheet of the first embodiment of the processing method of fast forwarding and fast rewinding of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of the processing method of fast forwarding and fast rewinding of the present invention;
Fig. 3 is the schematic diagram of the functional module of the first embodiment of terminal of the present invention;
Fig. 4 is the schematic diagram of the functional module of the second embodiment of terminal of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawings Explanation.
Specific embodiment
It should be appreciated that specific embodiment described herein is not used to limit only to explain the present invention The fixed present invention.
The primary solutions of the embodiment of the present invention are:When fast forward and fast reverse request is received, terminal root According to actual program, playing duration, the index information of each I frames of actual program for pre-saving and F.F. are fast The speed included in moving back request chooses I frames, obtains I frame sequences, and actual program is included in the I frame sequences Part I frames.Terminal after the I frame sequences are chosen, at interval of the first duration for pre-setting, to Server carries the I frame sequences in sending a data request information, and the data request information for sending successively An I frame in row, and terminal will also receive and decodes rope of the export server according to the I frames for receiving Draw the data of the I frames of feedback of the information, to realize fast forwarding and fast rewinding.As the I frames chosen are actual program A part of I frames so that during fast forwarding and fast rewinding is realized, it is not necessary to by all I frames of actual program I frame data all download, I can be effectively reduced while the output effect of fast forwarding and fast rewinding is realized The download of frame data, and the reduction of I frame data downloads can effectively reduce the requirement to broadband.
Specifically, Fig. 1 is referred to, is a kind of the first reality of the processing method of fast forwarding and fast rewinding proposed by the present invention The schematic diagram of example is applied, the method includes:
Step 101, when receiving fast forward and fast reverse and asking, according to actual program playing duration, in advance The speed included in the index information of each I frames of the actual program of preservation and fast forward and fast reverse request chooses I Frame, obtains I frame sequences;
In embodiments of the present invention, terminal will send I frames to server when program is initially commenced play out Index information request message, server, will parsings after the I frame index information request messages are received The video source of the terminal actual program, obtains the index information for deserving each I frames of prosthomere purpose, and will obtain To the index information of each I frames feed back to terminal.
Wherein, terminal is deserved preserving after the index information of each I frames for receiving its actual program The index information of each I frames of prosthomere purpose.
Wherein, time point of the index information of I frames including at least I frames, and the time point of I frames refers to the I The residing time point in actual program of frame.
Additionally, can also include the title of I frames place burst, I frames in burst in the index information of I frames Deviation post and I frames size etc. parameter.
In embodiments of the present invention, user can be by the mode such as remote control control or touch screen touch to end End sends the request of fast forward and fast reverse, the speed comprising fast forward and fast reverse in the request of the fast forward and fast reverse, Wherein, the speed of fast forward and fast reverse can be 2,4,8,16 etc..
Terminal, will be according to actual program playing duration, pre- after fast forward and fast reverse request is received The index information for deserving each I frames of prosthomere purpose for first preserving and the speed included in the fast forward and fast reverse request I frames are chosen, I frame sequences are obtained.
Wherein, terminal will stop the broadcasting of normal playback speed after fast forward and fast reverse request is received Pattern, and terminal will get playing duration of the actual program when fast forward and fast reverse request is received, For example:If fast forward and fast reverse request, actual program are received when actual program is played 10 minutes Playing duration is 10 minutes.
In embodiments of the present invention, terminal can be television set, computer, Set Top Box, PAD, smart mobile phone Etc..
Step 102, at interval of the first duration for pre-setting, send a data request information to server, And the index information of I frames in I frame sequences in data request information, is carried successively;
Step 103, receive and decode the I that export server is fed back according to the index information of the I frames for receiving The data of frame.
In embodiments of the present invention, terminal, will be at interval of pre- after choosing I frames and obtaining I frame sequences The first duration for first arranging, to server send a data request information, and data request information according to The index information of the I frames in secondary carrying I frame sequences.
It should be noted that in embodiments of the present invention, the I frames in I frame sequences are the elder generations according to time point Sequentially arranged afterwards, if the I frame sequences obtained in the case of F.F., then the I in I frame sequences Frame be according to time point gradually increase it is tactic, if the I frame sequences obtained in the case of rewind, Then the I frames in I frame sequences be according to time point be gradually reduced it is tactic.
Terminal often sends a data request information, all will be comprising in I frame sequences in the data request information I frames index information, and terminal is carry according to be put in order for the I frames in I frame sequences successively Send in data request information.
For example:I frame sequences are [I0, I1, I2, I3 ... ..., I10], then terminal is obtaining the I frames After sequence, by interval of the first duration for pre-setting, the number of the index information for carrying I0 is sent successively According to request message, the data request information of the index information for carrying I1, the number of the index information of I2 is carried According to request message, the data request information ... ... of the index information for carrying I3, the index letter of I10 is carried The data request information of breath.
Wherein, terminal to server send data request information when, its carry I frames index information Time point comprising the I frames, I frames place burst title, I frames deviation post and I frame signs in burst.
Server after data request information is received, by the index information using its I frame for carrying The time point of I frames determine position of the I frames in the total duration of actual program, and be located using I frames Burst title determines the burst that I frames are located, and it is determined that after burst, using I frames in the burst Deviation post and I frame signs extract I frame data, and the I frame data of extraction are fed back to terminal.
After server receives data request information every time, all by rope in the manner described above based on I frames Fuse breath determines corresponding I frame data, and the I frame data for getting are fed back to terminal.And terminal is every It is secondary after I frame data are received, all will carry out decoding output to receiving I frame data, enabling The output effect of fast forward and fast reverse is shown on the display interface of terminal.
In embodiments of the present invention, when terminal receives fast forward and fast reverse asks, will be according to actual program The speed of the index information and fast forward and fast reverse of each I frames of playing duration, actual program chooses I frames, obtains To I frame sequences, and every the first duration for pre-setting, a data request information is sent to server, And the index information of I frames in I frame sequences in data request information, is carried successively, receiving server After I frame data according to the index information of the I frames for receiving feedback, terminal will be decoded and export the I frame numbers According to.By the way so that the I frames for only needing to download the part chosen from server are capable of achieving soon Enter the output effect of rewind, without all I frames of current program are downloaded, effectively reduce I The download of frame data, and the requirement to broadband can be effectively reduced.
For the technical scheme being better understood from the embodiment of the present invention, Fig. 2 is referred to, be offer of the present invention Fast forwarding and fast rewinding processing method second embodiment schematic diagram, the step 201 and step in the method 202 is the refinement to the step 101 in first embodiment, and specifically, the method includes:
Step 201, when F.F. request or fast rewinding request is received, according to the speed of fast forward and fast reverse determine Second duration;
In embodiments of the present invention, when fast forward and fast reverse request is received, terminal will be according to F.F. or fast The speed moved back determines the second duration, wherein, second duration is used to choose I frames.
Wherein, the speed of fast forward and fast reverse is carried in fast forward and fast reverse request, the use of using terminal Family can pass through the speed for selecting to determine fast forward and fast reverse.
Further, determine that the second duration can be according to the speed of fast forward and fast reverse:If fast forward and fast reverse Speed be N, it is determined that a length of N seconds when second, or determine second when a length of N seconds speed.
Further, the second duration can be related to the first duration, first duration be pre-set to Server sends the time interval of data request information, specifically:Second duration is equal to fast forward and fast reverse The product of speed and the first duration, a length of 1 second when even first, when speed is N, it is determined that when second A length of N seconds, if when a length of 1/3 second when first, it is determined that a length of N/3 seconds when second.
Step 202, according to the rope of actual program each I frames of playing duration, the second duration and actual program The time point of the I frames included in fuse breath chooses I frames, obtains I frame sequences;
In embodiments of the present invention, terminal also the second duration and will be worked as according to actual program playing duration The time point of each I frames of prosthomere purpose chooses I frames, obtains I frame sequences, wherein, in the index information of I frames Time point comprising I frames, additionally, time point, the I frames institute of I frames can be also included in the index information of I frames Deviation post and I frame sign etc. parameter of the title, I frames in burst in burst.
The process that terminal chooses I frames will be described respectively based on the different situation of fast forward and reverse below:
If F.F., then the initial value of m is 0, and terminal performs following steps:
Step 1:Using actual program playing duration plus m times the second duration and as effective time point;
Step 2:According to the time point of each I frames of actual program, judge whether effective time point also has backward I frames;
Step 3:If effective time point also has I frames backward, access time point and effective time point be most backward The m+1 frame of the near I frame as I frame sequences, makes m=m+1, returns execution step 1;
Step 4:If effective time point no I frames backward, terminate the selection to I frames.
Or;
If rewind, then the initial value of m is 0, and terminal performs following steps:
Step 1:Using actual program playing duration deduct m times the second duration difference as effective time point;
Step 2:According to the time point of each I frames of actual program, judge whether effective time point also has forward I frames;
Step 3:If effective time point also has forward I frames, access time point and effective time point be most forward The m+1 frame of the near I frame as I frame sequences, makes m=m+1, returns execution step 1;
Step 4:If effective time point no I frames forward, terminate the selection to I frames.
It should be noted that the I frame sequences for obtaining in the manner described above, the I frames in the I frame sequences are What the sequencing according to time point was arranged, it is easy to when data request information is sent to server, can Order according to the time point of I frames carries the index information of I frames in data request information successively, and So that the I frame data that terminal is received will also be tactic according to time point, such terminal can be by Output I frame data, the effect of the output with preferable fast forwarding and fast rewinding are decoded successively according to the sequencing of time point Really, it is to avoid get muddled.
It should be noted that in embodiments of the present invention, when being forward the broadcasting based on actual program backward Between describing, if F.F., be then the direction of the time do not played toward the actual program, if rewind, It is then the direction toward actual program reproduction time.
Step 203, at interval of the first duration for pre-setting, send a data request information to server, And the index information of I frames in I frame sequences in data request information, is carried successively;
In embodiments of the present invention, terminal is sent at interval of the first duration for pre-setting to server Carry the index letter of the I frames in I frame sequences in one data request information, and data request information successively Breath.
Specifically:At the sT moment, terminal to server sends data request information, in data request information The s+1 I frame in I frame sequences is carried, wherein, the value of s is [0,1,2 ... ..., S], and T is first S+1 I frame is included in duration, and I frame sequences.Wherein, when s is 0, it is to represent that terminal is being obtained To after I frame sequences, will immediately begin to server send the 1st I frame carried in I frame sequences Data request information.
In embodiments of the present invention, first duration for pre-setting can be pre-set less than or wait In the time value of 1 second, or it is based on the calculated time value for being less than or equal to 1 second of speed.
For example:If this first when a length of 1 second, terminal will every 1 second send a data request information, And by it is per second transmission data request information, it is possible to achieve by the first duration as step-length speed To embody the difference between the speed of different fast forward and fast reverses, Consumer's Experience is good.
Further, terminal can also calculate the first duration based on the speed of fast forward and fast reverse, be N in speed When, then first when a length of 1/logsN, wherein s are more than 1, for example:If the speed of fast forward and fast reverse is 8, Then terminal sent a data request information to server every 1/3 second.
It should be noted that in embodiments of the present invention, data request information is a kind of Hyper text transfer association View (Hyper Text Transfer Protocol, http) request.
Step 204, receive and decode the I that export server is fed back according to the index information of the I frames for receiving Frame data.
In embodiments of the present invention, server is solved after the data request information for receiving terminal transmission The data request information is analysed, the index information of the I frames included in obtaining the data request information, and according to The index information of the I frames obtains corresponding I frame data, and the I frame data of acquisition are fed back to terminal.
Terminal after the I frame data that server is fed back according to the index information of the I frames for receiving are received, Decoding output will be carried out to the I frame data, as terminal is sent out to server at interval of first duration Data request information is sent, then terminal also will receive the I frame data of server feedback at interval of a duration, Allow effective output of fast forwarding and fast rewinding to be realized on the display interface of terminal.
Wherein, terminal can be exported after decoding according to normal play mode after decoding I frame data I frame data, it is also possible to the play mode according to I frames exports decoded I frame data, it is actual should It is configured according to specific needs with middle section, is not limited herein.
It should be noted that in embodiments of the present invention, terminal is circulation execution step 203 and step 204 , i.e., after terminal sends a data request information every time, a server will be received according to the number The I frame data that feed back according to the index information of the I frames included in request message simultaneously decode output, and in distance In the case of the first duration of last transmission interval, a data request information, and the reception server are sent Feedback I frame data and decode output, the like, until for each I in I frame sequences Frame all have sent a data request information and have received the I frame data of feedback.And in execution step 203 During step 204, the output interface of terminal will form the output effect of fast forwarding and fast rewinding.
In embodiments of the present invention, when receive fast forward and fast reverse ask when, according to fast forward and fast reverse times Speed determines the second duration, and according to each I of actual program playing duration, the second duration and actual program The I frame times included in the index information of frame choose I frames, obtain I frame sequences, and are obtaining I frame sequences After row, terminal sends at interval of the first duration for pre-setting a request of data to server and disappears Breath, and the index information of I frames in I frame sequences in data request information, is carried successively;And terminal will also Receive and decode export server to be fed back according to the index information of the I frames in the data request information for receiving I frame data.By above-mentioned mode so that only need from server to download in the I frame sequences chosen I frames, without download actual program in all I frames, the download of I frames can be effectively reduced Amount, reduces the requirement to broadband.
For the technical scheme being better understood from the embodiment of the present invention, one is described in detail below specifically Application scenarios, including:
1) terminal is received in F.F. request, F.F. speed N included in extracting the F.F. request, and really Determine actual program playing duration T1;
2) terminal determine to server send data request information time interval the first when a length of 1/logsN, For choosing a length of N/log during the second of I framessN;
3) terminal utilizes the second duration N/logsN, playing duration T1 and terminal have been preserved actual program The time point of each I frames of actual program determines I frame sequences, the I frame sequences for [I0, I1, I2, I3 ... ..., I10];
4) terminal to server sends data request information, the I frame data of the I0 in request I frame sequences;
5) the I frame data of the I0 of terminal the reception server feedback, and decode output;
6) terminal to server sends data request information, the I frame data of the I1 in request I frame sequences;
7) the I frame data of the I1 of terminal the reception server feedback, and decode output;
……
8) terminal to server sends data request information, the I frame data of the I10 in request I frame sequences;
9) the I frame data of the I10 of terminal the reception server feedback, and decode output.
In embodiments of the present invention, during N speeds fast forward and fast reverse, Pgmtime step-length per second is N, but It is but the 1/T0 I frame without all I frames in the acquisition N seconds per second, the T0 refers to the first duration, The quantity of the I frames for needing to download thus can be largely reduced, the demand to bandwidth is reduced, together When, multiple is bigger, and the I frame numbers of acquisition are also more, and the picture transition effect of the fast forwarding and fast rewinding of output is more preferable, Also Consumer's Experience can further be lifted.
In embodiments of the present invention, chosen by each I frames to actual program so that only need to down The I frame data of part I frames are carried, the I frame data of all I frames without downloading actual program, energy Enough downloads for effectively reducing I frame data, while reducing the requirement to broadband.
Fig. 3 is referred to, is the embodiment of the structure of terminal in the embodiment of the present invention, including:
Choose module 301, for when receive fast forward and fast reverse ask when, when played according to actual program Include in the long, index information of each I frames of actual program that pre-saves and fast forward and fast reverse request times Speed chooses I frames, obtains I frame sequences;
Sending module 302, for choosing after module 301 obtains I frame sequences, at interval of pre-setting The first duration, to server send a data request information, and data request information in carry I successively The index information of the I frames in frame sequence;
Output module 303 is received, and after data request information being sent in sending module 302, is received simultaneously I frame data of the decoding export server according to the I frame index feedback of the information for receiving.
In embodiments of the present invention, terminal will send I frames to server when program is initially commenced play out Index information request message, server, will parsings after the I frame index information request messages are received The video source of the terminal actual program, obtains the index information for deserving each I frames of prosthomere purpose, and will obtain To the index information of each I frames feed back to terminal.
Wherein, terminal is deserved preserving after the index information of each I frames for receiving its actual program The index information of each I frames of prosthomere purpose.
Wherein, time point of the index information of I frames including at least I frames, and the time point of I frames refers to the I The residing time point in actual program of frame.
Additionally, can also include the title of I frames place burst, I frames in burst in the index information of I frames Deviation post and I frames size etc. parameter.
In embodiments of the present invention, user can be by the mode such as remote control control or touch screen touch to end End sends the request of fast forward and fast reverse, the speed comprising fast forward and fast reverse in the request of the fast forward and fast reverse, Wherein, the speed of fast forward and fast reverse can be 2,4,8,16 etc..
Terminal, will be according to actual program playing duration, pre- after fast forward and fast reverse request is received The index information for deserving each I frames of prosthomere purpose for first preserving and the speed included in the fast forward and fast reverse request I frames are chosen, I frame sequences are obtained.
Wherein, terminal to server send data request information when, its carry I frames index information Time point comprising the I frames, I frames place burst title, I frames deviation post and I frame signs in burst.
Server after data request information is received, by the index information using its I frame for carrying The time point of I frames determine position of the I frames in the total duration of actual program, and be located using I frames Burst title determines the burst that I frames are located, and it is determined that after burst, using I frames in the burst Deviation post and I frame signs extract I frame data, and the I frame data of extraction are fed back to terminal.
In embodiments of the present invention, terminal can be television set, computer, Set Top Box, PAD, smart mobile phone Etc..
In embodiments of the present invention, when receive fast forward and fast reverse ask when, choose module 301 according to work as Front program playing duration, the index information of each I frames of actual program for pre-saving and fast forward and fast reverse The speed included in request chooses I frames, obtains I frame sequences;Then, sending module 302 is at interval of pre- The first duration for first arranging, to server send a data request information, and data request information according to The index information of the I frames in secondary carrying I frame sequences;And received and decoded defeated by output module 303 is received Go out the I frame data that server is fed back according to the index information of the I frames for receiving.
In embodiments of the present invention, when terminal receives fast forward and fast reverse asks, will be according to actual program The speed of the index information and fast forward and fast reverse of each I frames of playing duration, actual program chooses I frames, obtains To I frame sequences, and every the first duration for pre-setting, a data request information is sent to server, And the index information of I frames in I frame sequences in data request information, is carried successively, receiving server After the I frame data of the I frame index feedback of the information that the data request information according to receiving is included, terminal will Decoding exports the I frame data.By the way so that only need to from server download the part chosen I frames be capable of achieving the output effect of fast forwarding and fast rewinding, without all I frames of current program are downloaded Get off, effectively reduce the download of I frame data, and effectively reduce the requirement to broadband.
For the terminal being better understood from the embodiment of the present invention, Fig. 4 is referred to, in being the embodiment of the present invention The embodiment of the structure of terminal, including the selection module 301 described in embodiment as shown in Figure 3, send mould Block 302, receives output module 303, and similar to the content described in embodiment illustrated in fig. 3, herein not Repeat again.
In embodiments of the present invention, choosing module 301 includes:
Duration determining module 401, for when F.F. request or fast rewinding request is received, according to F.F. or fast The speed moved back determines the second duration;
Frame chooses module 402, after determining the second duration in duration determining module 401, according to current Program each I frames of playing duration, the second duration and actual program time point choose I frames, obtain I Frame sequence, the time point of I frames are included in the index information of I frames.
Wherein, frame choose module 402 specifically for:
If F.F., then the initial value of m is 0, performs following steps:
Step 1:Using actual program playing duration plus m times the second duration and as effective time point;
Step 2:According to the time point of each I frames of actual program, judge whether effective time point also has backward I frames;
Step 3:If effective time point also has I frames backward, access time point and effective time point be most backward The m+1 frame of the near I frame as I frame sequences, makes m=m+1, returns execution step 1;
Step 4:If effective time point no I frames backward, terminate the selection to I frames.
Or, frame choose module 402 specifically for:
If rewind, then the initial value of m is 0, performs following steps:
Step 1:Using actual program playing duration deduct m times the second duration difference as effective time point;
Step 2:According to the time point of each I frames of actual program, judge whether effective time point also has forward I frames;
Step 3:If effective time point also has forward I frames, access time point and effective time point be most forward The m+1 frame of the near I frame as I frame sequences, makes m=m+1, returns execution step 1;
Step 4:If effective time point no I frames forward, terminate the selection to I frames.
In embodiments of the present invention, pre-set first when it is a length of pre-set less than or equal to 1 second Time value, or be based on the calculated time value for being less than or equal to 1 second of speed.
In embodiments of the present invention, when receive fast forward and fast reverse ask when, choose module 301 according to work as Front program playing duration, the index information of each I frames of actual program for pre-saving and fast forward and fast reverse The speed included in request chooses I frames, obtains I frame sequences;Specifically:Choose module 301 in when Long determining module 401 determines the second duration according to the speed of fast forward and fast reverse, and chooses module 402 by frame According to actual program each I frames of playing duration, the second duration and actual program time point choose I frames, I frame sequences are obtained, the time point comprising I frames in index information.
Then, sending module 302 sends a number to server at interval of the first duration for pre-setting According to request message, and the index information of I frames in I frame sequences in data request information, is carried successively;And By receiving, output module 303 is received and to decode export server anti-according to the index information of the I frames for receiving The I frame data of feedback.
In embodiments of the present invention, when receive fast forward and fast reverse ask when, according to fast forward and fast reverse times Speed determines the second duration, and according to each I of actual program playing duration, the second duration and actual program The I frame times included in the index information of frame choose I frames, obtain I frame sequences, and are obtaining I frame sequences After row, terminal sends at interval of the first duration for pre-setting a request of data to server and disappears Breath, and the index information of I frames in I frame sequences in data request information, is carried successively;And terminal will also Receive and decode the I frame data that export server is fed back according to the index information of the I frames for receiving.Pass through Above-mentioned mode so that only need from server to download the I frames in the I frame sequences chosen, without The all I frames in actual program are downloaded, the download of I frames can be effectively reduced, reduced to broadband Require.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical Cross hardware, but the former is more preferably embodiment in many cases.It is based on such understanding, of the invention The part that technical scheme is substantially contributed to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD) In, use so that a station terminal equipment including some instructions (can be mobile phone, computer, server, Air-conditioner, or the network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every The equivalent structure made using description of the invention and accompanying drawing content or equivalent flow conversion, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (10)

1. a kind of processing method of fast forwarding and fast rewinding, it is characterised in that include:
When receiving fast forward and fast reverse and asking, according to actual program playing duration, the institute for pre-saving The speed included in index information and the fast forward and fast reverse request for stating each I frames of actual program chooses I Frame, obtains I frame sequences;
At interval of the first duration for pre-setting, a data request information is sent to server, and it is described Carry the index information of the I frames in the I frame sequences in data request information successively;
Receive and decode the I that the output server is fed back according to the index information of the I frames for receiving Frame data.
2. processing method according to claim 1, it is characterised in that it is described when receive F.F. or During fast rewinding request, according to actual program playing duration, each I frames of the actual program for pre-saving Index information and fast forward and fast reverse request in the speed that includes choose I frames, obtain I frame sequences, Including:
When F.F. request or fast rewinding request is received, second is determined according to the speed of the fast forward and fast reverse Duration;
According to each I frames of the actual program playing duration, second duration and the actual program Time point choose I frames, obtain the I frame sequences, the time point of the I frames is included in the I frames Index information in.
3. processing method according to claim 2, it is characterised in that work as prosthomere described in the basis Mesh each I frames of playing duration, second duration and the actual program time point choose I frames, The I frame sequences are obtained, including:
If F.F., then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration plus m times second duration and as Effective time point;
Step 2:According to the time point of each I frames of the actual program, judge that the effective time point is past Whether I frames are also had afterwards;
Step 3:If the effective time point also has I frames backward, access time point is had with described backward A nearest I frame of effect time point makes m=m+1 as the m+1 frame of the I frame sequences, returns Execution step 1;
Step 4:If the effective time point no I frames backward, terminate the selection to I frames.
4. processing method according to claim 2, it is characterised in that work as prosthomere described in the basis What mesh had been included in the index information of each I frames of playing duration, second duration and the actual program The time point of I frames chooses I frames, obtains the I frame sequences, including:
If rewind, then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration deduct m times second duration it is poor as Effective time point;
Step 2:According to the time point of each I frames of the actual program, judge that the effective time point is past It is front whether to also have I frames;
Step 3:If the effective time point also has forward I frames, access time point is had with described forward A nearest I frame of effect time point makes m=m+1 as the m+1 frame of the I frame sequences, returns Execution step 1;
Step 4:If the effective time point no I frames forward, terminate the selection to I frames.
5. processing method according to claim 1, it is characterised in that it is described pre-set first The time value less than or equal to 1 second that Shi Changwei pre-sets, or be to be calculated based on the speed The time value less than or equal to 1 second.
6. a kind of terminal, it is characterised in that include:
Choose module, for when receive fast forward and fast reverse ask when, according to actual program playing duration, Include in the index information of each I frames of the actual program for pre-saving and fast forward and fast reverse request Speed choose I frames, obtain I frame sequences;
Sending module, after obtaining the I frame sequences in the selection module, at interval of setting in advance The first duration put, to server send a data request information, and in the data request information according to The secondary index information for carrying the I frames in the I frame sequences;
Output module is received, and after data request information being sent in the sending module, is received and is solved The I frame data that the code output server is fed back according to the index information of the I frames for receiving.
7. terminal according to claim 6, it is characterised in that the selection module includes:
Duration determining module, for when F.F. request or fast rewinding request is received, according to the F.F. or The speed of rewind determines the second duration;
Frame chooses module, after determining second duration in the duration determining module, according to institute The time for stating each I frames of actual program playing duration, second duration and the actual program clicks I frames are taken, the I frame sequences are obtained, the time point of the I frames is included in the index information of the I frames In.
8. terminal according to claim 7, it is characterised in that the frame choose module specifically for:
If F.F., then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration plus m times second duration and as Effective time point;
Step 2:According to the time point of each I frames of the actual program, judge that the effective time point is past Whether I frames are also had afterwards;
Step 3:If the effective time point also has I frames backward, access time point is had with described backward A nearest I frame of effect time point makes m=m+1 as the m+1 frame of the I frame sequences, returns Execution step 1;
Step 4:If the effective time point no I frames backward, terminate the selection to I frames.
9. terminal according to claim 7, it is characterised in that the frame choose module specifically for:
If rewind, then the initial value of m is 0, performs following steps:
Step 1:Using the actual program playing duration deduct m times second duration it is poor as Effective time point;
Step 2:According to the time point of each I frames of the actual program, judge that the effective time point is past It is front whether to also have I frames;
Step 3:If the effective time point also has forward I frames, access time point is had with described forward A nearest I frame of effect time point makes m=m+1 as the m+1 frame of the I frame sequences, returns Execution step 1;
Step 4:If the effective time point no I frames forward, terminate the selection to I frames.
10. terminal according to claim 6, it is characterised in that it is described pre-set first when A length of time value less than or equal to 1 second for pre-setting, or be calculated based on the speed Time value less than or equal to 1 second.
CN201510703222.4A 2015-10-26 2015-10-26 Fast forward and fast backward processing method and terminal Active CN106612462B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510703222.4A CN106612462B (en) 2015-10-26 2015-10-26 Fast forward and fast backward processing method and terminal
PCT/CN2016/099377 WO2017071428A1 (en) 2015-10-26 2016-09-19 Fast forward/rewind processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510703222.4A CN106612462B (en) 2015-10-26 2015-10-26 Fast forward and fast backward processing method and terminal

Publications (2)

Publication Number Publication Date
CN106612462A true CN106612462A (en) 2017-05-03
CN106612462B CN106612462B (en) 2021-02-19

Family

ID=58613792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510703222.4A Active CN106612462B (en) 2015-10-26 2015-10-26 Fast forward and fast backward processing method and terminal

Country Status (2)

Country Link
CN (1) CN106612462B (en)
WO (1) WO2017071428A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348280A (en) * 2018-10-23 2019-02-15 深圳Tcl新技术有限公司 Network TV program switching method, smart television and computer readable storage medium
CN112188254A (en) * 2020-09-29 2021-01-05 深圳创维-Rgb电子有限公司 Video playing double-speed switching processing method and device based on television terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501166A (en) * 2021-11-18 2022-05-13 武汉市烽视威科技有限公司 DASH on-demand fast-forward and fast-backward method and system
CN114173202A (en) * 2021-11-23 2022-03-11 武汉市烽视威科技有限公司 RTSP (real time streaming protocol) -based continuous speed doubling playing method and related equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018323A (en) * 2007-02-08 2007-08-15 华为技术有限公司 A method and stream media server for fast-forward and fast back of the video data
US20100135382A1 (en) * 2008-12-01 2010-06-03 Duk-Sung Kim Image display apparatus, image transmitting apparatus, image transmitting method and recording medium
CN101841692A (en) * 2010-04-23 2010-09-22 深圳市茁壮网络股份有限公司 Method for fast forwarding and fast rewinding video stream
CN102025956A (en) * 2009-09-23 2011-04-20 华为技术有限公司 Processing method, device and system for fast forward and fast backward playing of network stream media
CN102487458A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Method for broadcasting and processing TS (Transport Stream) document and device thereof
CN102550038A (en) * 2011-11-16 2012-07-04 华为技术有限公司 Method, terminal, server and system for playing media files
CN102761524A (en) * 2011-04-27 2012-10-31 中兴通讯股份有限公司 Steaming media storage and playing method and corresponding system
CN103024440A (en) * 2013-01-11 2013-04-03 德科仕通信(上海)有限公司 Video quality evaluation and fault diagnosis method aiming at HAS (HTTP Adaptive Streaming)
CN103096132A (en) * 2013-02-05 2013-05-08 北京赛科世纪数码科技有限公司 Method and device of fast forward and fast backward of TS documents
CN103369351A (en) * 2012-03-29 2013-10-23 深圳市龙视传媒有限公司 Streaming media fast-forward and fast-backward processing method, video server and system
CN103581693A (en) * 2013-11-12 2014-02-12 北京清源新创科技有限公司 Internet-oriented large-scale live time shifting method and system based on fragment transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2985703B2 (en) * 1995-01-19 1999-12-06 日本ビクター株式会社 Image compression recording medium playback device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018323A (en) * 2007-02-08 2007-08-15 华为技术有限公司 A method and stream media server for fast-forward and fast back of the video data
US20100135382A1 (en) * 2008-12-01 2010-06-03 Duk-Sung Kim Image display apparatus, image transmitting apparatus, image transmitting method and recording medium
CN102025956A (en) * 2009-09-23 2011-04-20 华为技术有限公司 Processing method, device and system for fast forward and fast backward playing of network stream media
CN101841692A (en) * 2010-04-23 2010-09-22 深圳市茁壮网络股份有限公司 Method for fast forwarding and fast rewinding video stream
CN102487458A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Method for broadcasting and processing TS (Transport Stream) document and device thereof
CN102761524A (en) * 2011-04-27 2012-10-31 中兴通讯股份有限公司 Steaming media storage and playing method and corresponding system
CN102550038A (en) * 2011-11-16 2012-07-04 华为技术有限公司 Method, terminal, server and system for playing media files
CN103369351A (en) * 2012-03-29 2013-10-23 深圳市龙视传媒有限公司 Streaming media fast-forward and fast-backward processing method, video server and system
CN103024440A (en) * 2013-01-11 2013-04-03 德科仕通信(上海)有限公司 Video quality evaluation and fault diagnosis method aiming at HAS (HTTP Adaptive Streaming)
CN103096132A (en) * 2013-02-05 2013-05-08 北京赛科世纪数码科技有限公司 Method and device of fast forward and fast backward of TS documents
CN103581693A (en) * 2013-11-12 2014-02-12 北京清源新创科技有限公司 Internet-oriented large-scale live time shifting method and system based on fragment transmission

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348280A (en) * 2018-10-23 2019-02-15 深圳Tcl新技术有限公司 Network TV program switching method, smart television and computer readable storage medium
CN109348280B (en) * 2018-10-23 2021-11-09 深圳Tcl新技术有限公司 Network television program switching method, intelligent television and computer readable storage medium
CN112188254A (en) * 2020-09-29 2021-01-05 深圳创维-Rgb电子有限公司 Video playing double-speed switching processing method and device based on television terminal

Also Published As

Publication number Publication date
WO2017071428A1 (en) 2017-05-04
CN106612462B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
US7860996B2 (en) Media streaming with seamless ad insertion
CN104053026B (en) A kind of reception of DTV STB start video ads and player method and system
CN107547940A (en) Video playback processing method, equipment and computer-readable recording medium
US20120246335A1 (en) Method, terminal, and server for implementing fast playout
EP1694071A1 (en) Interactive video applications
CN104159151A (en) Device and method for intercepting and processing of videos on OTT box
US20150020099A1 (en) Set top box interaction method and related set top box system
CN103024456A (en) Online video playing method and video playing server
CN106612462A (en) Fast-forward and fast-rewind processing method and terminal
CN101272478A (en) Content delivery system and method, and server apparatus and receiving apparatus
CN106888169A (en) Video broadcasting method and device
CN110691260A (en) IPTV multi-split screen coding playing control method and device
CN102802052A (en) Video on demand program method and device
CN109729385A (en) Method for downloading video, device, computer equipment, storage medium and terminal
CN104902344A (en) System and method of obtaining television program short videos and sharing through network
CN104202652A (en) Television set top box and playback control method thereof
CN101127780A (en) Method for downloading, saving and replaying online video and construction of online video network
CN110446080B (en) Video playing method and device
CN107318052A (en) Player method, television set and the storage medium of television video
CN112804538B (en) Customer service live broadcast method
CN101778287B (en) Digital television navigation method, system and device
CN108055554A (en) Video broadcasting method, TV, server and computer readable storage medium
US20150026711A1 (en) Method and apparatus for video content distribution
CN101622873B (en) Method for the delivery of audio and video data sequences by a server
EP2978225B1 (en) Method for obtaining in real time a user selected multimedia content part

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