CN107277580A - A kind of method that the TV programme to be played back are cached on mobile phone - Google Patents

A kind of method that the TV programme to be played back are cached on mobile phone Download PDF

Info

Publication number
CN107277580A
CN107277580A CN201710374074.5A CN201710374074A CN107277580A CN 107277580 A CN107277580 A CN 107277580A CN 201710374074 A CN201710374074 A CN 201710374074A CN 107277580 A CN107277580 A CN 107277580A
Authority
CN
China
Prior art keywords
mobile phone
video
frames
programme
sent
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
CN201710374074.5A
Other languages
Chinese (zh)
Other versions
CN107277580B (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.)
China Science And Technology Co Ltd
Original Assignee
China Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Science And Technology Co Ltd filed Critical China Science And Technology Co Ltd
Priority to CN201710374074.5A priority Critical patent/CN107277580B/en
Publication of CN107277580A publication Critical patent/CN107277580A/en
Application granted granted Critical
Publication of CN107277580B publication Critical patent/CN107277580B/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of method that the TV programme to be played back are cached on mobile phone, set top box and mobile phone are set up radio communication by this method, mobile phone sends playback request, the frame of video for the TV programme that set top box will be played back is associated with its timeline, form timeline interface and be sent to mobile phone, mobile phone shows the timeline interface, and according to oneself frame of video interested, by inputting two time point selection video segments to be played back, the period inputted according to mobile phone is intercepted video segment by set top box, and dividing processing is carried out to video segment, simultaneously according to the network speed of mobile phone, judgement is sent to the video file of mobile phone, mobile phone is cached, then the playback speed of the video segment is controlled again by mobile phone, this method uses cooperatively mobile phone and set top box, it is not only able to be accurately positioned the video segment to be played back, and it ensure that the fluency of whole replayed section.

Description

A kind of method that the TV programme to be played back are cached on mobile phone
Technical field
It is more particularly to a kind of that the TV programme to be played back are cached on mobile phone the invention belongs to TV programme playback field Method.
Background technology
User is when watching TV programme, such as viewing TV play, film or ball match, it is central between insertion advertisement or work as When preceding user loses interest in current video segment, user either zapping or is returned to the TV programme watched before Put, it is uncertain accurately to determine, it is necessary to carry out cumbersome operation using remote control during the TV programme seen before playback Video segment of the position to desired viewing, it is desirable to accurately find the video segment of playback, it is necessary to constantly pin remote control, and also By prolonged inquiry, the video segment for wanting playback can be found, this brings trouble to the video playback of user, drop The playback experience sense of low user, in order to solve the above-mentioned technical problem, CN104380380 disclose a kind of video editing method and its Digital device, this method is by selected playback duration section, and user can adjust what is played back during the default playback duration The frame number of one local sequence, and thus adjust the playback speed of the local sequence of correspondence, this method can select playback duration section and Playback rate is controlled, but this method is the video for controlling caching in mobile phone the problem of exist, it is impossible to the TV for needing to play back Program carries out playback controls.
The content of the invention
In order to solve problems of the prior art, the TV to be played back is cached on mobile phone the invention provides a kind of The method of program.This method uses cooperatively mobile phone and set top box, is not only able to be accurately positioned the video segment to be played back, and It ensure that whole replayed section is smooth, and which section piece of video is the file type that user can also transmit according to set top box judge Section can carry out fast-forward play, and which section video should be played according to normal speed, improve the whole structure of user's viewing.
Concrete technical scheme of the present invention is as follows:
The present invention provides a kind of method that the TV programme to be played back are cached on mobile phone, and this method comprises the following steps:
S1:Mobile phone sets up wireless communication with set top box;
S2:Receiving in the playback request that mobile phone is sent, the playback request includes playback television programme title and television channel;
S3:The corresponding video of TV programme of request is transferred out of set top box, and making is carried and each frame of video of the video The corresponding timeline interface of sequence, is sent to mobile phone and is shown;
S4:Receive first time point T1 and the second time point T2 that mobile phone is inputted on timeline interface;
S5:The video segment between first time point T1 and the second time point T2 is isolated from the video of TV programme, Video segment is subjected to dividing processing, and the video file to be sent is judged according to mobile phone network speed;
S6:Mobile phone is received after the video file sent, is cached and is played.
Further to improve, step S50 includes:
S51:The duration C, C=for the video segment that computation requests are paid a return visit | T1-T2 |, and be compared with duration threshold value C1, As C≤C1, step S52 is carried out;
S52:Collect since the video for having common factor in the t periods the time point for receiving playback request with T1 to the T2 periods The playback beginning and ending time of fragment;
S53:Calculate the common factor of T1 to T2 periods and playback beginning and ending time, the corresponding time point T3 and T4 of record common factor;
S54:As T1=T3, T2=T4, step S55 is carried out;
S55:By the corresponding video segment of the duration into two layers of file, based on layer and enhancement layer, and by basal layer Section Td is split to schedule with enhancement layer, and mutually corresponding sub- basal layer and sub- enhancement layer will be obtained after segmentation and is assigned Identical and unique timestamp.
Further to improve, step S50 also includes:
S56:As T1=T3, T2 ≠ T4, or when T1 ≠ T3, T2=T4, judge that T3 or T4 time points corresponding frame of video is No is I frames, if it is not, finding T3 time points latter nearest I frames or T4 time points previous nearest I frames, carries out step S57, if it is, carrying out step S57;
S57:Whether to its previous I frame be similar frame, if similar frame, continue to look for if judging the I frames, until finding and it Dissimilar I frames, record the corresponding time point T ' of previous I frames;
S58:T1, T2 period corresponding video segment are cut into 2 sub- video segments from time point T ' punishment.
Further to improve, step S50 also includes:
S59:As T1 ≠ T3, T2 ≠ T4, whether be I frame, if not if judging T3 and T4 time points corresponding frame of video respectively It is to find T3 time points previous nearest I frames and T4 time points latter nearest I frames, continues step S510, if it is, carries out Step S510;
S510:Whether to its previous I frame, latter I frame be similar frame, if similar frame if judging two I frames respectively, is continued Look for, until finding the I frame dissimilar with it, record the corresponding time point T5 and T6 of two I frames found;
S511:T1, T2 period corresponding video segment are cut into 3 sub- video segments from time point T5 and T6 punishment.
Further to improve, step S50 also includes:
S512:The sub-video fragment of acquisition is subjected to dividing processing again, two layers be made up of basal layer and enhancement layer is obtained File;
S513:Judge video segment may be viewed by value H, and is compared with looking value threshold value H1, as H < H1, be walked Rapid S514;
S514:Judge whether the basal layer file one by the enhancement layer files of next sub-video fragment and the sub-video fragment It is same to be sent to mobile phone.
Further to improve, step S5 also includes:
S515:In predetermined amount of time Td the video data bag containing basal layer and enhancement layer is sent to mobile phone;
S516:Calculate the number M of the total video packet sent in Td;
S517:Calculate the time Tm used in mobile phone M video data bag of broadcasting;.
Further to improve, step S5 also includes:
S518:Tm is compared with Td, as Tm > Td, by the step S55 basal layers obtained and sub- enhancement layer files And the basal layer and enhancement layer files that step S512 is obtained during H >=H1 carry out step S519, as Tm≤Td, by step during H >=H1 The sub- basal layer and sub- enhancement layer that the basal layer and enhancement layer files and step S55 that S512 is obtained are obtained carry out step S520;
S519:Basal layer file in predetermined amount of time is sent to mobile phone, and the moment in the predetermined amount of time to sending Video data bag carry out step S516-S517, when judging Tm≤Td, carry out step S521;
S520:Calculate time difference △ T, △ T=Td-Tm, and △ T be compared with time difference threshold value △ T1, when △ T≤ △ T1, carry out step S521, as △ T > △ T1, carry out step S522;
S521:Basal layer and enhancement layer files superposition are sent to mobile phone;
S522:By basal layer and enhancement layer files superposition and together by the enhancement layer files of latter time period adjacent thereto It is sent to mobile phone.
Further to improve, step S5 also includes:
S523:The number M2 of the video data bag of the basal layer file of calculation procedure S514 mobile phones to be sent to, works as step S518 judges Tm≤Td, calculates M2 and M size, if M2 < M, the enhancement layer files of latter sub-video fragment and the son are regarded The basal layer file of frequency fragment is together sent to mobile phone, if M2 >=M, is only sent to the basal layer file of the sub-video fragment Mobile phone.
Further to improve, step S5 also includes:
S524:When step S51 judges C > C1, the I frames in first time point T1 to the second period at time point T2 are extracted, And judge whether n-th I frames and the N+1 I frame similar, and N >=1, N represents the number of I frames, if similar, by n-th I frames and The N+1 I frame is put into identical memory block, otherwise, and n-th I frames and the N+1 I frame are respectively put into different memory blocks It is interior, and each memory block is numbered, and corresponding video segment in each memory block is subjected to step S513.
It is further to improve, it may be viewed by value H and calculate by the following method to obtain:
Wherein, x, k, z, w represent coefficient, and usual value is 0-1, and Y represents the return visit number of times of this section of video, and Q represents the section The thumb up number of video, G represents the F.F. number of times of this section of video, and S represents the return visit total duration of this section of video, and P represents this section of video The playing duration of corresponding TV programme.
Beneficial effects of the present invention are as follows:
The invention provides a kind of method that the TV programme to be played back are cached on mobile phone, this method is by set top box and hand Machine sets up radio communication, while mobile phone sends playback request, the frame of video for the TV programme that set top box will be played back and its time Line is associated, and is formed timeline interface and is sent to mobile phone, and mobile phone shows the timeline interface, and interested is regarded according to oneself Frequency frame, by inputting two time point selection video segments to be played back, set top box intercepts the period inputted according to mobile phone Video segment, and dividing processing is carried out to video segment, while according to the network speed of mobile phone, judging to be sent to the video text of mobile phone Part, mobile phone is cached, and then controls the playback speed of the video segment again by mobile phone, and this method matches somebody with somebody mobile phone and set top box Conjunction is used, and is not only able to be accurately positioned the video segment to be played back, and ensure that the fluency of whole replayed section, user The file type that can also be transmitted according to set top box judges which section video segment can carry out fast-forward play, and which section video should be by Played according to normal speed, improve the whole structure of user's viewing.
Brief description of the drawings
Fig. 1 is a kind of flow chart for the method that the TV programme to be played back are cached on mobile phone of embodiment 1;
Fig. 2 is the flow chart of step S51-S55, S515-S522 of embodiment 2;
Fig. 3 is embodiment 3 step S56-S514, S518, S523 flow chart;
Fig. 4 is the step S5 of embodiment 4 flow chart.
Embodiment
The present invention is described in further detail with following examples below in conjunction with the accompanying drawings.
Embodiment 1
The embodiment of the present invention 1 provides a kind of method that the TV programme to be played back are cached on mobile phone, as shown in figure 1, should Method comprises the following steps:
S1:Mobile phone sets up wireless communication with set top box;
S2:Receiving in the playback request that mobile phone is sent, the playback request includes playback television programme title and television channel;
S3:The corresponding video of TV programme of request is transferred out of set top box, and making is carried and each frame of video of the video The corresponding timeline interface of sequence, is sent to mobile phone and is shown;
S4:Receive first time point T1 and the second time point T2 that mobile phone is inputted on timeline interface;
S5:The video segment between first time point T1 and the second time point T2 is isolated from the video of TV programme, Video segment is subjected to dividing processing, and the video file to be sent is judged according to mobile phone network speed;
S6:Mobile phone is received after the video file sent, is cached and is played.
The invention provides a kind of method that the TV programme to be played back are cached on mobile phone, this method is by set top box and hand Machine sets up radio communication, while mobile phone sends playback request, the frame of video for the TV programme that set top box will be played back and its time Line is associated, and is formed timeline interface and is sent to mobile phone, and mobile phone shows the timeline interface, and interested is regarded according to oneself Frequency frame, by inputting two time point selection video segments to be played back, set top box intercepts the period inputted according to mobile phone Video segment, and dividing processing is carried out to video segment, while according to the network speed of mobile phone, judging to be sent to the video text of mobile phone Part, mobile phone is cached, and then controls the playback speed of the video segment again by mobile phone, and this method matches somebody with somebody mobile phone and set top box Conjunction is used, and is not only able to be accurately positioned the video segment to be played back, and ensure that the fluency of whole replayed section, user The file type that can also be transmitted according to set top box judges which section video segment can carry out fast-forward play, and which section video should be by Played according to normal speed, improve the whole structure of user's viewing.
Embodiment 2
The embodiment of the present invention 2 provides a kind of method that the TV programme to be played back are cached on mobile phone, and this method is with implementing Example 1 it is essentially identical, unlike, as shown in Fig. 2 step S5 includes:
S51:The duration C, C=for the video segment that computation requests are paid a return visit | T1-T2 |, and be compared with duration threshold value C1, As C≤C1, step S52 is carried out;
S52:Collect since the video for having common factor in the t periods the time point for receiving playback request with T1 to the T2 periods The playback beginning and ending time of fragment;
S53:Calculate the common factor of T1 to T2 periods and playback beginning and ending time, the corresponding time point T3 and T4 of record common factor;
S54:As T1=T3, T2=T4, step S55 is carried out;
S55:By the corresponding video segment of the duration into two layers of file, based on layer and enhancement layer, and by basal layer Section Td is split to schedule with enhancement layer files, mutually corresponding sub- basal layer and sub- enhancement layer will be obtained after segmentation Assign identical and unique timestamp;
S515:In predetermined amount of time Td the video data bag containing basal layer and enhancement layer is sent to mobile phone;
S516:Calculate the number M of the total video packet sent in Td;
S517:Calculate the time Tm used in mobile phone M video data bag of broadcasting;
S518:And be compared Tm with Td, as Tm > Td, by the step S55 basal layers obtained and sub- enhancement layer text Part carries out step S519, and as Tm≤Td, the step S55 basal layers obtained and sub- enhancement layer are carried out into step S520;
S519:Basal layer file in predetermined amount of time is sent to mobile phone, and the moment in the predetermined amount of time to sending Video data bag carry out step S516-S517, when judging Tm≤Td, carry out step S521;
S520:Calculate time difference △ T, △ T=Td-Tm, and by △ T and time difference threshold value △ T1 be compared when △ T≤ △ T1, carry out step S521, as △ T > △ T1, carry out step S522;
S521:Basal layer and enhancement layer files superposition are sent to mobile phone;
S522:By basal layer and enhancement layer files superposition and together by the enhancement layer files of latter time period adjacent thereto It is sent to mobile phone.
How the present invention splits to the video segment that request is played back if being further defined, first determine whether request playback The duration of video segment, if the duration of this section of video is shorter, this section of video reviews record in mobile phone time section t, find and Period T1-T2 has the playback beginning and ending time of common factor, and records two time points T3 and T4 of common factor, then respectively by T1 with T3, T2 and T4 are compared, and when two time points of common factor are just T1 and T2, the video segment for asking playback is first divided into base Plinth layer and enhancement layer files, are then divided basal layer file and corresponding enhancement layer files according still further to preset time period Cut, then assign identical timestamp to mutually corresponding sub- basal layer and sub- enhancement layer files after segmentation again, be intended to ask back The video segment put is carried out after dividing processing, then judges the network speed of mobile phone, and idiographic flow is:Set top box is in predetermined amount of time first Detection video is sent to mobile phone in Td, it includes basal layer and enhancement layer files, calculate of the detection video data bag sent Number M, then calculates the time Tm that mobile phone exports M packet, Tm is compared with Td, as Tm > Td, shows the defeated of mobile phone Going out to exist Caton phenomenon does not influence output, and the sub- basal layer file first started first time point T1 in the Td periods is sent to hand Machine, then mobile phone exported, when judging Tm≤Td, calculate Td and Tm time difference, when the time difference is smaller, by son Basal layer file and sub- enhancement layer files superposition is sent to mobile phone, when the time difference than it is larger when, by basal layer and enhancement layer files It is superimposed and the enhancement layer files of latter time period adjacent thereto is together sent to mobile phone, the video of second time period to be sent When, the time that the number is exported to the packet number and mobile phone of the first time period of transmission is compared, if iterative cycles, Until the video file for being intended to playback is sent;When the point of common factor is just T1 and T2, show that this section of video belongs to focus piece Section, so user also wants to the video segment for playing back high definition and smoothness, so the present invention carries out dividing processing to the video segment, so Judge which video file sent according to the time of mobile phone output data packet afterwards, improve overall viewing effect, it is fixed in the absence of interim card Level is true.
Embodiment 3
The embodiment of the present invention 3 provides a kind of method that the TV programme to be played back are cached on mobile phone, and this method is with implementing Example 2 it is essentially identical, unlike, as shown in figure 3, step S5 also comprises the following steps:
S56:As T1=T3, T2 ≠ T4, or when T1 ≠ T3, T2=T4, judge that T3 or T4 time points corresponding frame of video is No is I frames, if it is not, finding T3 time points latter nearest I frames or T4 time points previous nearest I frames, carries out step S57, if it is, carrying out step S57;
S57:Whether to its previous I frame be similar frame, if similar frame, continue to look for if judging the I frames, until finding and it Dissimilar I frames, record the corresponding time point T ' of previous I frames;
S58:T1, T2 period corresponding video segment are cut into 2 sub- video segments from time point T ' punishment;
S59:As T1 ≠ T3, T2 ≠ T4, whether be I frame, if not if judging T3 and T4 time points corresponding frame of video respectively It is to find T3 time points previous nearest I frames and T4 time points latter nearest I frames, continues step S510, if it is, carries out Step S510;
S510:Whether to its previous I frame, latter I frame be similar frame, if similar frame if judging two I frames respectively, is continued Look for, until finding the I frame dissimilar with it, record the corresponding time point T5 and T6 of two I frames found;
S511:T1, T2 period corresponding video segment are cut into 3 sub- video segments from time point T5 and T6 punishment;
S512:The sub-video fragment of acquisition is subjected to dividing processing again, two layers be made up of basal layer and enhancement layer is obtained File;
S513:Judge video segment may be viewed by value H, and is compared with looking value threshold value H1, as H < H1, be walked Rapid S514;
S514:Judge whether the basal layer file one by the enhancement layer files of next sub-video fragment and the sub-video fragment It is same to be sent to mobile phone;
S518:As Tm > Td, the basal layers obtained of step S512 during H >=H1 and enhancement layer files are subjected to step S519, As Tm≤Td, the basal layers obtained of step S512 during H >=H1 and enhancement layer files are subjected to step S520;
S523:The number M2 of the video data bag of the basal layer file of calculation procedure S514 mobile phones to be sent to, works as step S518 judges Tm≤Td, calculates M2 and M size, if M2 < M, the enhancement layer files of latter sub-video fragment and the son are regarded The basal layer file of frequency fragment is together sent to mobile phone, if M2 >=M, is only sent to the basal layer file of the sub-video fragment Mobile phone.
The present invention judges when further different to two time points of common factor for T1 and T2 situation, when common factor has one When individual point is not T1 or T2, whether be I frame, if not I frames, find T3 time points latter if judging the corresponding frame of video of T3 or T4 The previous nearest I frames of nearest I frames or T4 time points, by the I frames found and be I frames situation carry out consecutive frame similitude ratio Compared with, if similar, continually look for, until the I frames of dissmilarity are found, the period T ' of the dissimilar previous I frames of I frames of record, root According to the time point by video segment into 2 sub- video segments;When two points of common factor are not T1 or T2, judge T3 or Whether the corresponding frame of video of T4 is I frames, if not I frames, finds T3 time points previous nearest I frames and T4 time points are latter most Near I frames, by the I frames found and be that the situations of I frames carries out consecutive frame similarity system design, if similar, are continually looked for, until look for To dissimilar I frames, the corresponding time point T5 and T6 of two I frames found is recorded, by T1, T2 period corresponding video segment 3 sub- video segments are cut into from time point T5 and T6 punishment, sub-video fragment achieved above is split again, basis of formation layer And enhancement layer files, then judge each sub-video fragment after segmentation may be viewed by value H, and will may be viewed by value and threshold value progress Comparing, when may be viewed by being worth low, the basic document of the sub-video fragment being only sent to mobile phone, when the mobile phone network speed of detection is big When, judge the number of the video data bag for the basal layer file to be sent, if packet number is more, only send out basal layer file Mobile phone is given, if packet number is few, the enhancement layer files by basic document together with next sub-video fragment are sent to mobile phone. It should be noted that the similarity of I frames of the present invention can be judged according to the file applied before the applicant, or other Method is judged that the present invention is not specifically limited, and the value H that may be viewed by of the present invention is obtained by equation below:
Wherein, x, k, z, w represent coefficient, and usual value is 0-1, and Y represents the return visit number of times of this section of video, and Q represents the section The thumb up number of video, G represents the F.F. number of times of this section of video, and S represents the return visit total duration of this section of video, and P represents this section of video The playing duration of corresponding TV programme.
Embodiment 4
The embodiment of the present invention 4 provides a kind of method that the TV programme to be played back are cached on mobile phone, and this method is with implementing Example 1 it is essentially identical, unlike, as shown in figure 4, step S50 comprises the following steps:Step S5 also includes:
S524:When step S51 judges C > C1, the I frames in first time point T1 to the second period at time point T2 are extracted, And judge whether n-th I frames and the N+1 I frame similar, and N >=1, N represents the number of I frames, if similar, by n-th I frames and The N+1 I frame is put into identical memory block, otherwise, and n-th I frames and the N+1 I frame are respectively put into different memory blocks It is interior, and each memory block is numbered, and corresponding video segment in each memory block is subjected to step S513.
The present invention is long when the video duration of request playback, and the adjacent I frames volume similarity in this section of video is judged, Similar I frames are put into same memory block, dissimilar I frames are dealt into different memory blocks, then calculate right in memory block again That answers sub-video fragment may be viewed by value, be judged to be sent to the video file of mobile phone, mobile phone according to the size that may be viewed by value and network speed Receive to be cached after video file, and can be broadcast according to the progress constant speed playback of the file situation of the video of receiving or F.F. Put, it is simple to operate.
The present invention is not limited to above-mentioned preferred forms, and anyone can show that other are various under the enlightenment of the present invention The product of form, however, make any change in its shape or structure, it is every that there is skill identical or similar to the present application Art scheme, is within the scope of the present invention.

Claims (10)

1. a kind of method that the TV programme to be played back are cached on mobile phone, it is characterised in that methods described comprises the following steps:
S1:Mobile phone sets up wireless communication with set top box;
S2:Receiving in the playback request that mobile phone is sent, the playback request includes playback television programme title and television channel;
S3:The corresponding video of TV programme of request is transferred out of set top box, and making is carried and each sequence of frames of video of the video Corresponding timeline interface, is sent to mobile phone and is shown;
S4:Receive first time point T1 and the second time point T2 that mobile phone is inputted on timeline interface;
S5:The video segment between first time point T1 and the second time point T2 is isolated from the video of TV programme, will be regarded Frequency fragment carries out dividing processing, and judges the video file to be sent according to mobile phone network speed;
S6:Mobile phone is received after the video file sent, is cached and is played.
2. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 1, it is characterised in that step S50 Including:
S51:The duration C, C=for the video segment that computation requests are paid a return visit | T1-T2 |, and be compared with duration threshold value C1, when C≤ C1, carries out step S52;
S52:Collect since the video segment for having common factor in the t periods the time point for receiving playback request with T1 to the T2 periods The playback beginning and ending time;
S53:Calculate the common factor of T1 to T2 periods and playback beginning and ending time, the corresponding time point T3 and T4 of record common factor;
S54:As T1=T3, T2=T4, step S55 is carried out;
S55:By the corresponding video segment of the duration into two layers of file, based on layer and enhancement layer, and by basal layer and increasing Strong layer to schedule split by section Td, identical with the imparting of sub- enhancement layer by mutually corresponding sub- basal layer is obtained after segmentation And unique timestamp.
3. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 2, it is characterised in that step S50 Also include:
S56:Whether as T1=T3, T2 ≠ T4, or when T1 ≠ T3, T2=T4, it is I to judge T3 or T4 time points corresponding frame of video Frame, if it is not, finding T3 time points latter nearest I frames or T4 time points previous nearest I frames, carries out step S57, if It is to carry out step S57;
S57:Whether to its previous I frame be similar frame, if similar frame, continue to look for if judging the I frames, until finding and its not phase As I frames, record the corresponding time point T ' of previous I frames;
S58:T1, T2 period corresponding video segment are cut into 2 sub- video segments from time point T ' punishment.
4. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 3, it is characterised in that step S50 Also include:
S59:As T1 ≠ T3, T2 ≠ T4, whether be I frame, if it is not, looking for if judging T3 and T4 time points corresponding frame of video respectively To T3 time points previous nearest I frames and T4 time points latter nearest I frames, continue step S510, if it is, carrying out step S510;
S510:Whether to its previous I frame, latter I frame be similar frame, if similar frame, continue to look for if judging two I frames respectively, Until finding the I frame dissimilar with it, the corresponding time point T5 and T6 of two I frames found is recorded;
S511:T1, T2 period corresponding video segment are cut into 3 sub- video segments from time point T5 and T6 punishment.
5. the method that the TV programme to be played back are cached on mobile phone as described in claim 3 or 4, it is characterised in that step S50 also includes:
S512:The sub-video fragment of acquisition is subjected to dividing processing again, two layers of file being made up of basal layer and enhancement layer is obtained;
S513:Judge video segment may be viewed by value H, and is compared with looking value threshold value H1, as H < H1, carry out step S514;
S514:Judge whether together to send out the basal layer file of the enhancement layer files of next sub-video fragment and the sub-video fragment Give mobile phone.
6. the method that the TV programme to be played back are cached on mobile phone as described in claim 1-5 is any, it is characterised in that step Rapid S5 also includes:
S515:In predetermined amount of time Td the video data bag containing basal layer and enhancement layer is sent to mobile phone;
S516:Calculate the number M of the total video packet sent in Td;
S517:Calculate the time Tm used in mobile phone M video data bag of broadcasting.
7. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 6, it is characterised in that step S5 is also Including:
S518:Tm is compared with Td, as Tm > Td, by the step S55 basal layers obtained and sub- enhancement layer files and H >= The basal layer and enhancement layer files that step S512 is obtained during H1 carry out step S519, and as Tm≤Td, step S512 during H >=H1 is obtained The sub- basal layer and sub- enhancement layer that the basal layer and enhancement layer files and step S55 obtained is obtained carry out step S520;
S519:Basal layer file in predetermined amount of time is sent to mobile phone, and the moment is to regarding for being sent in the predetermined amount of time Frequency packet carries out step S516-S517, when judging Tm≤Td, carries out step S521;
S520:Time difference △ T, △ T=Td-Tm is calculated, and △ T and time difference threshold value △ T1 are compared as △ T≤△ T1, Step S521 is carried out, as △ T > △ T1, step S522 is carried out;
S521:Basal layer and enhancement layer files superposition are sent to mobile phone;
S522:By basal layer and enhancement layer files superposition and together the enhancement layer files of latter time period adjacent thereto are sent To mobile phone.
8. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 7, it is characterised in that step S5 is also Including:
S523:The number M2 of the video data bag of the basal layer file of calculation procedure S514 mobile phones to be sent to, as step S518 Judge Tm≤Td, M2 and M size is calculated, if M2 < M, by the enhancement layer files of latter sub-video fragment and the sub-video piece The basal layer file of section is together sent to mobile phone, if M2 >=M, and the basal layer file of the sub-video fragment only is sent into hand Machine.
9. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 2, it is characterised in that step S5 is also Including:
S524:When step S51 judges C > C1, the I frames in first time point T1 to the second period at time point T2 are extracted, and sentence Whether disconnected n-th I frames and the N+1 I frame are similar, and N >=1, N represents the number of I frames, if similar, by n-th I frames and N+1 Individual I frames are put into identical memory block, otherwise, and n-th I frames and the N+1 I frame are respectively put into different memory blocks, and Each memory block is numbered, and corresponding video segment in each memory block is subjected to step S513.
10. the method that the TV programme to be played back are cached on mobile phone as described in claim 5 or 6, it is characterised in that considerable See that value H is calculated by the following method to obtain:
<mrow> <mi>H</mi> <mo>=</mo> <mfrac> <mrow> <mfrac> <mrow> <mi>k</mi> <mi>S</mi> </mrow> <mi>P</mi> </mfrac> <mo>+</mo> <mi>z</mi> <mi>Y</mi> <mo>+</mo> <mi>x</mi> <mi>Q</mi> </mrow> <mrow> <mi>w</mi> <mi>G</mi> </mrow> </mfrac> </mrow>
Wherein, x, k, z, w represent coefficient, and usual value is 0-1, and Y represents the return visit number of times of this section of video, and Q represents this section of video Thumb up number, G represents the F.F. number of times of this section of video, and S represents the return visit total duration of this section of video, and P represents this section of video correspondence TV programme playing duration.
CN201710374074.5A 2017-05-24 2017-05-24 A method of caching the TV programme to be played back on mobile phone Active CN107277580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710374074.5A CN107277580B (en) 2017-05-24 2017-05-24 A method of caching the TV programme to be played back on mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710374074.5A CN107277580B (en) 2017-05-24 2017-05-24 A method of caching the TV programme to be played back on mobile phone

Publications (2)

Publication Number Publication Date
CN107277580A true CN107277580A (en) 2017-10-20
CN107277580B CN107277580B (en) 2019-07-05

Family

ID=60064733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710374074.5A Active CN107277580B (en) 2017-05-24 2017-05-24 A method of caching the TV programme to be played back on mobile phone

Country Status (1)

Country Link
CN (1) CN107277580B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965831A (en) * 2018-09-05 2018-12-07 北京疯景科技有限公司 Method for processing video frequency, device and intelligent visual door bell
WO2019113804A1 (en) * 2017-12-12 2019-06-20 Arris Enterprises Llc Playback resume between mobile entertainment system and set-top box
CN111638840A (en) * 2020-05-20 2020-09-08 维沃移动通信有限公司 Display method and display device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964836A (en) * 2009-07-23 2011-02-02 中兴通讯股份有限公司 Time shift processing method and device for mobile terminal television
CN102419685A (en) * 2010-09-24 2012-04-18 Lg电子株式会社 Mobile terminal and method for controlling playback speed thereof
US8363087B2 (en) * 2008-09-25 2013-01-29 Hitachi, Ltd. Television receiver with a TV phone function
US20140161422A1 (en) * 2012-12-06 2014-06-12 Acer Incorporated Video editing method and video editing device
CN104079984A (en) * 2014-07-11 2014-10-01 四川金网通电子科技有限公司 Method for controlling set top box PVR recording function through mobile phone short message
US20140337893A1 (en) * 2013-05-13 2014-11-13 United Video Properties Inc. Systems and methods for recording content from a different source when previous content runs over
CN104380380A (en) * 2012-06-08 2015-02-25 Lg电子株式会社 Video editing method and digital device therefor
CN104394457A (en) * 2014-09-16 2015-03-04 东方有线网络有限公司 Implementation method of television program scheduled recording and automatic downloading service system
CN104427352A (en) * 2013-09-09 2015-03-18 北京下周科技有限公司 Method and system for recording and playing television video by mobile terminals to realize user interaction and sharing
CN105165013A (en) * 2012-11-29 2015-12-16 视觉迷娱乐有限公司 Mobile device with personalized content
CN106534946A (en) * 2016-10-26 2017-03-22 腾讯科技(深圳)有限公司 Control method and device for video playing
US20170109339A1 (en) * 2014-06-30 2017-04-20 Huawei Technologies Co., Ltd. Application program activation method, user terminal, and server

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8363087B2 (en) * 2008-09-25 2013-01-29 Hitachi, Ltd. Television receiver with a TV phone function
CN101964836A (en) * 2009-07-23 2011-02-02 中兴通讯股份有限公司 Time shift processing method and device for mobile terminal television
CN102419685A (en) * 2010-09-24 2012-04-18 Lg电子株式会社 Mobile terminal and method for controlling playback speed thereof
CN104380380A (en) * 2012-06-08 2015-02-25 Lg电子株式会社 Video editing method and digital device therefor
CN105165013A (en) * 2012-11-29 2015-12-16 视觉迷娱乐有限公司 Mobile device with personalized content
US20140161422A1 (en) * 2012-12-06 2014-06-12 Acer Incorporated Video editing method and video editing device
US20140337893A1 (en) * 2013-05-13 2014-11-13 United Video Properties Inc. Systems and methods for recording content from a different source when previous content runs over
CN104427352A (en) * 2013-09-09 2015-03-18 北京下周科技有限公司 Method and system for recording and playing television video by mobile terminals to realize user interaction and sharing
US20170109339A1 (en) * 2014-06-30 2017-04-20 Huawei Technologies Co., Ltd. Application program activation method, user terminal, and server
CN104079984A (en) * 2014-07-11 2014-10-01 四川金网通电子科技有限公司 Method for controlling set top box PVR recording function through mobile phone short message
CN104394457A (en) * 2014-09-16 2015-03-04 东方有线网络有限公司 Implementation method of television program scheduled recording and automatic downloading service system
CN106534946A (en) * 2016-10-26 2017-03-22 腾讯科技(深圳)有限公司 Control method and device for video playing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019113804A1 (en) * 2017-12-12 2019-06-20 Arris Enterprises Llc Playback resume between mobile entertainment system and set-top box
US11375267B2 (en) 2017-12-12 2022-06-28 Arris Enterprises Llc Playback resume between mobile entertainment system and set-top box
CN108965831A (en) * 2018-09-05 2018-12-07 北京疯景科技有限公司 Method for processing video frequency, device and intelligent visual door bell
CN111638840A (en) * 2020-05-20 2020-09-08 维沃移动通信有限公司 Display method and display device

Also Published As

Publication number Publication date
CN107277580B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
US11768872B2 (en) Apparatus, systems and methods for media content searching
US11303939B2 (en) Establishment and use of time mapping based on interpolation using low-rate fingerprinting, to help facilitate frame-accurate content revision
US20210211476A1 (en) Methods, systems, and media for recommending content based on network conditions
EP3494873A1 (en) Apparatus, systems and methods for generating an emotional-based content recommendation list
US11363323B2 (en) Method and system for providing content
US10992719B2 (en) Systems and methods for establishing a voice link between users accessing media
US9215510B2 (en) Systems and methods for automatically tagging a media asset based on verbal input and playback adjustments
CN109792545B (en) Method for transmitting video content from server to client device
WO2016054916A1 (en) Video content recommending and evaluating methods and devices
US8531597B2 (en) Video processing apparatus that stores input viewpoint information and control method thereof
CN103763581A (en) Method and system for achieving back view of live program
CN107277580B (en) A method of caching the TV programme to be played back on mobile phone
US20160035392A1 (en) Systems and methods for clipping video segments
JP2008103784A (en) Video recording device
JP2008113301A (en) Video transmitter and transmitting method
WO2015169141A1 (en) Channel classification method and device
US10021433B1 (en) Video-production system with social-media features
KR20150082074A (en) Service server and method for providing contents information
CN110087116B (en) Multi-rate live video stream editing method and device, terminal and storage medium
US20160088365A1 (en) Video reception device, video recognition method and additional information display system
US8839323B2 (en) Random backoff apparatus and method for receiving augmented content
JP2004104408A (en) My-channel receiving system
JP2009253820A (en) Content distribution server, communication system and content distribution method
US20170285912A1 (en) Methods, systems, and media for media guidance
JP2004282212A (en) Image likeness estimating method and image distribution system

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method of caching TV programs to be played back on mobile phone

Effective date of registration: 20210622

Granted publication date: 20190705

Pledgee: Beijing culture science and technology financing Company limited by guarantee

Pledgor: CBC CLOUD TECHNOLOGY Co.,Ltd.

Registration number: Y2021980005035