CN107277580B - A method of caching the TV programme to be played back on mobile phone - Google Patents
A method of caching the TV programme to be played back on mobile phone Download PDFInfo
- Publication number
- CN107277580B CN107277580B CN201710374074.5A CN201710374074A CN107277580B CN 107277580 B CN107277580 B CN 107277580B CN 201710374074 A CN201710374074 A CN 201710374074A CN 107277580 B CN107277580 B CN 107277580B
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- video
- frame
- time point
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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/72439—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
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 established and are wirelessly communicated by this method, mobile phone sends playback request, the video frame for the TV programme that set-top box will play back is associated with its timeline, it forms timeline interface and is sent to mobile phone, mobile phone shows the timeline interface, and according to oneself interested video frame, the video clip to be played back is selected by two time points of input, the period inputted according to mobile phone is intercepted video clip by set-top box, and processing is split to video clip, 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 clip is controlled again by mobile phone, mobile phone and set-top box are used cooperatively by this method, it is not only able to that the video clip to be played back is accurately positioned, and it can guarantee The fluency of entire replayed section.
Description
Technical field
The invention belongs to TV programme to play back field, in particular to a kind of that the TV programme to be played back are cached on mobile phone
Method.
Background technique
User is when watching TV programme, such as viewing TV play, film or ball match etc., in the middle between be inserted into advertisement or work as
When preceding user loses interest in current video clip, user either zapping or is returned the TV programme watched before
It puts, when the TV programme that playback has been seen before, needs to carry out cumbersome operation using remote controler, it is uncertain accurately to determine
Video clip of the position to desired viewing, it is desirable to which the video clip for accurately finding playback needs constantly to pin remote controler, and also want
By inquiring for a long time, the video clip 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, by selecting playback duration section, user is adjustable to be played back during the default playback duration this method
The frame number of one local sequence, and thus adjust the playback speed of corresponding local sequence, this method can select playback duration section and
Playback rate is controlled, but this method is the problem is that the video cached in control mobile phone, the TV that can not be played back to needs
Program carries out playback controls.
Summary of the invention
In order to solve the problems in the existing technology, the present invention provides a kind of caches the TV to be played back on mobile phone
The method of program.Mobile phone and set-top box are used cooperatively by this method, are not only able to that the video clip to be played back is accurately positioned, and
It can guarantee that entire replayed section is smooth, and which section piece of video user can also judge according to the file type that set-top box transmits
Section can carry out fast-forward play, which section video should be played according to normal speed, improve the overall effect of user's viewing.
Specific technical solution 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 and set-top box establish wireless communication;
S2: receiving the playback request that mobile phone is sent, and includes playback television programme title and television channel in the playback request;
S3: the corresponding video of TV programme of request is transferred out of set-top box, and makes and has and each video frame of the video
The corresponding timeline interface of sequence, is sent to mobile phone and is shown;
S4: first time point T1 and the second time point T2 that mobile phone inputs on timeline interface are received;
S5: from the video clip isolated in the video of TV programme between first time point T1 and the second time point T2,
Video clip is split processing, and the video file to be sent is judged according to mobile phone network speed;
S6: it after mobile phone receives the video file sent, is cached and is played.
Further to improve, step S50 includes:
S51: the duration C, C=for the video clip 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: it collects since the time point for receiving playback request in the t period and there is the video of intersection in T1 to the T2 period
The playback beginning and ending time of segment;
S53: calculating T1 to the T2 period and plays back the intersection of beginning and ending time, the corresponding time point T3 and T4 of record intersection;
S54: as T1=T3, T2=T4, step S55 is carried out;
S55: by the corresponding video segment of the duration at two layers of file, based on layer and enhancement layer, and by basal layer
Section Td is split to schedule with enhancement layer, and mutual corresponding sub- basal layer will be obtained after segmentation and sub- enhancement layer assigns
Identical and unique timestamp.
It is further to improve, step S50 further include:
S56: as T1=T3, T2 ≠ T4 or T1 ≠ T3, T2=T4, judge that T3 or T4 time point corresponding video frame is
No is I frame, if it is not, finding the T3 time point latter previous nearest I frame of nearest I frame or T4 time point, carries out step
S57, if so, carrying out step S57;
S57: judging that whether the I frame to its previous I frame is similar frame, if it is similar frame, continues to look for, until find and its
Dissimilar I frame, records the corresponding time point T ' of previous I frame;
S58: T1, T2 period corresponding video clip are cut into 2 sub- video clips from time point T ' punishment.
It is further to improve, step S50 further include:
S59: as T1 ≠ T3, T2 ≠ T4, judge whether T3 and T4 time point corresponding video frame is I frame respectively, if not
It is to find the T3 time point previous latter nearest I frame of nearest I frame and T4 time point, continues step S510, if so, carries out
Step S510;
S510: judging whether two I frames to its previous I frame, latter I frame are similar frame respectively, if it is similar frame, continues
It looks for, until finding the I frame dissimilar with it, records the corresponding time point T5 and T6 of two I frames found;
S511: T1, T2 period corresponding video clip are cut into 3 sub- video clips from time point T5 and T6 punishment.
It is further to improve, step S50 further include:
S512: the sub-video segment of acquisition is split processing again, is obtained two layers be made of basal layer and enhancement layer
File;
S513: judge video clip may be viewed by value H, and be compared with looking value threshold value H1, as H < H1, be walked
Rapid S514;
S514: judge whether the basal layer file one of the enhancement layer files of next sub-video segment and the sub-video segment
It is same to be sent to mobile phone.
It is further to improve, step S5 further include:
The video data packet containing basal layer and enhancement layer is sent to mobile phone in S515: predetermined amount of time Td;
S516: the number M of the total video data packet sent in Td is calculated;
S517: it calculates mobile phone and plays time Tm used in M video data packet;.
It is further to improve, step S5 further include:
S518: Tm is compared with Td, as Tm > Td, by the step S55 basal layer obtained and sub- enhancement layer files
And the basal layer and enhancement layer files that step S512 is obtained when H >=H1 carry out step S519, as Tm≤Td, by step when 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 obtain carry out step S520;
S519: being sent to mobile phone for the basal layer file in predetermined amount of time, and the moment in the predetermined amount of time to sending
Video data packet carry out step S516-S517, when judging Tm≤Td, carry out step S521;
S520: calculating time difference △ T, △ T=Td-Tm, and △ T be compared with time difference threshold value △ T1, when △ T≤
△ T1 carries out step S521, as △ T > △ T1, carries 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.
It is further to improve, step S5 further include:
S523: the number M2 of the video data packet of the basal layer file of step S514 mobile phone to be sent to is calculated, step is worked as
S518 judges Tm≤Td, the size of M2 and M is calculated, if M2 < M, by the enhancement layer files of latter sub-video segment and the sub- view
The basal layer file of frequency segment is sent to mobile phone together, if M2 >=M, is only sent to the basal layer file of the sub-video segment
Mobile phone.
It is further to improve, step S5 further include:
S524: when step S51 judges C > C1, extracting the I frame in first time point T1 to the second period at time point T2,
And judge whether n-th I frame and the N+1 I frame similar, N >=1, N indicate the number of I frame, if similar, by n-th I frame and
The N+1 I frame is put into identical memory block, otherwise, n-th I frame and the N+1 I frame is respectively put into different memory blocks
It is interior, and each memory block is numbered, and video clip corresponding in each memory block is subjected to step S513.
It is further to improve, it may be viewed by value H and be calculated by the following method:
Wherein, x, k, z, w indicate coefficient, and usual value is 0-1, and Y indicates that the return visit number of this section of video, Q indicate the section
Video thumbs up number, and G indicates that the F.F. number of this section of video, S indicate the return visit total duration of this section of video, and P indicates this section of video
The playing duration of corresponding TV programme.
Beneficial effects of the present invention are as follows:
The method that the present invention provides a kind of on mobile phone caches the TV programme to be played back, this method is by set-top box and hand
Machine establishes wireless communication, while mobile phone sends playback request, the video frame for the TV programme that set-top box will play back and its time
Line is associated, and is formed timeline interface and is sent to mobile phone, mobile phone shows the timeline interface, and according to oneself interested view
Frequency frame selects the video clip to be played back by two time points of input, and set-top box intercepts the period inputted according to mobile phone
Video clip, and processing is split to video clip, while according to the network speed of mobile phone, judgement is sent to the video text of mobile phone
Part, mobile phone are cached, and then control the playback speed of the video clip again by mobile phone, and this method matches mobile phone and set-top box
It closes and uses, be not only able to that the video clip to be played back is accurately positioned, and can guarantee the fluency of entire replayed section, user
It can also judge which section video clip can carry out fast-forward play according to the file type that set-top box transmits, which section video should be by
It is played according to normal speed, improves the overall effect of user's viewing.
Detailed description of the invention
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 2 step S51-S55, S515-S522 of embodiment;
Fig. 3 is the flow chart of embodiment 3 step S56-S514, S518, S523;
Fig. 4 is the flow chart of 4 step S5 of embodiment.
Specific embodiment
Invention is further described in detail with following embodiment with reference to the accompanying drawing.
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 includes the following steps:
S1: mobile phone and set-top box establish wireless communication;
S2: receiving the playback request that mobile phone is sent, and includes playback television programme title and television channel in the playback request;
S3: the corresponding video of TV programme of request is transferred out of set-top box, and makes and has and each video frame of the video
The corresponding timeline interface of sequence, is sent to mobile phone and is shown;
S4: first time point T1 and the second time point T2 that mobile phone inputs on timeline interface are received;
S5: from the video clip isolated in the video of TV programme between first time point T1 and the second time point T2,
Video clip is split processing, and the video file to be sent is judged according to mobile phone network speed;
S6: it after mobile phone receives the video file sent, is cached and is played.
The method that the present invention provides a kind of on mobile phone caches the TV programme to be played back, this method is by set-top box and hand
Machine establishes wireless communication, while mobile phone sends playback request, the video frame for the TV programme that set-top box will play back and its time
Line is associated, and is formed timeline interface and is sent to mobile phone, mobile phone shows the timeline interface, and according to oneself interested view
Frequency frame selects the video clip to be played back by two time points of input, and set-top box intercepts the period inputted according to mobile phone
Video clip, and processing is split to video clip, while according to the network speed of mobile phone, judgement is sent to the video text of mobile phone
Part, mobile phone are cached, and then control the playback speed of the video clip again by mobile phone, and this method matches mobile phone and set-top box
It closes and uses, be not only able to that the video clip to be played back is accurately positioned, and can guarantee the fluency of entire replayed section, user
It can also judge which section video clip can carry out fast-forward play according to the file type that set-top box transmits, which section video should be by
It is played according to normal speed, improves the overall effect 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, this method and implementation
Example 1 it is essentially identical, unlike, as shown in Fig. 2, step S5 includes:
S51: the duration C, C=for the video clip 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: it collects since the time point for receiving playback request in the t period and there is the video of intersection in T1 to the T2 period
The playback beginning and ending time of segment;
S53: calculating T1 to the T2 period and plays back the intersection of beginning and ending time, the corresponding time point T3 and T4 of record intersection;
S54: as T1=T3, T2=T4, step S55 is carried out;
S55: by the corresponding video segment of the duration at two layers of file, based on layer and enhancement layer, and by basal layer
Section Td is split to schedule with enhancement layer files, and mutual corresponding sub- basal layer and sub- enhancement layer will be obtained after segmentation
Assign identical and unique timestamp;
The video data packet containing basal layer and enhancement layer is sent to mobile phone in S515: predetermined amount of time Td;
S516: the number M of the total video data packet sent in Td is calculated;
S517: it calculates mobile phone and plays time Tm used in M video data packet;
S518: and be compared Tm with Td, as Tm > Td, by the step S55 basal layer obtained and sub- enhancement layer text
Part carries out step S519, and as Tm≤Td, the step S55 basal layer obtained and sub- enhancement layer are carried out step S520;
S519: being sent to mobile phone for the basal layer file in predetermined amount of time, and the moment in the predetermined amount of time to sending
Video data packet carry out step S516-S517, when judging Tm≤Td, carry out step S521;
S520: calculating time difference △ T, △ T=Td-Tm, and △ T is compared with time difference threshold value △ T1 when △ T≤
△ T1 carries out step S521, as △ T > △ T1, carries 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.
The present invention further defines how to be split to the video clip of request playback, first determines whether request playback
The duration of video clip, 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 intersection, and records two time points T3 and T4 of intersection, then respectively by T1 with
T3, T2 are compared with T4, and when two time points of intersection are just T1 and T2, the video clip of request playback is first divided into base
Then plinth layer and enhancement layer files are divided basal layer file and corresponding enhancement layer files according still further to preset time period
It cuts, then assigns identical timestamp to mutual corresponding sub- basal layer after segmentation and sub- enhancement layer files again, be intended to request back
After the video clip put is split processing, then judge the network speed of mobile phone, detailed process are as follows: set-top box is in predetermined amount of time first
Detection video is sent to mobile phone in Td comprising basal layer and enhancement layer files calculate of the detection video data packet of transmission
Then number M calculates the time Tm that mobile phone exports M data packet, Tm is compared with Td, as Tm > Td, shows the defeated of mobile phone
There is Caton phenomenon out does not influence to export, and first time point T1 is first started the sub- basal layer file in the Td period and is sent to hand
Machine, then mobile phone is exported, and when judging Tm≤Td, the time difference for calculating Td and Tm will be sub when the time difference is smaller
Basal layer file and the superposition of sub- enhancement layer files are sent to mobile phone, when the time difference is bigger, by basal layer and enhancement layer files
It is superimposed and the enhancement layer files of latter time period adjacent thereto is sent to mobile phone, the video of second time period to be sent together
When, the time that data packet number and mobile phone to the first time period of transmission export the number is compared, if iterative cycles,
Until the video file for being intended to playback is sent;When the point of intersection is just T1 and T2, show that this section of video belongs to hot spot piece
Section, so user also wants to play back the video clip of high definition and smoothness, so the present invention is split processing to the video clip, so
Judge which video file sent according to the time of mobile phone output data packet afterwards, improve whole viewing effect, Caton is not present, it is fixed
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, this method and implementation
Example 2 it is essentially identical, unlike, as shown in figure 3, step S5 further includes following steps:
S56: as T1=T3, T2 ≠ T4 or T1 ≠ T3, T2=T4, judge that T3 or T4 time point corresponding video frame is
No is I frame, if it is not, finding the T3 time point latter previous nearest I frame of nearest I frame or T4 time point, carries out step
S57, if so, carrying out step S57;
S57: judging that whether the I frame to its previous I frame is similar frame, if it is similar frame, continues to look for, until find and its
Dissimilar I frame, records the corresponding time point T ' of previous I frame;
S58: T1, T2 period corresponding video clip are cut into 2 sub- video clips from time point T ' punishment;
S59: as T1 ≠ T3, T2 ≠ T4, judge whether T3 and T4 time point corresponding video frame is I frame respectively, if not
It is to find the T3 time point previous latter nearest I frame of nearest I frame and T4 time point, continues step S510, if so, carries out
Step S510;
S510: judging whether two I frames to its previous I frame, latter I frame are similar frame respectively, if it is similar frame, continues
It looks for, until finding the I frame dissimilar with it, records the corresponding time point T5 and T6 of two I frames found;
S511: T1, T2 period corresponding video clip are cut into 3 sub- video clips from time point T5 and T6 punishment;
S512: the sub-video segment of acquisition is split processing again, is obtained two layers be made of basal layer and enhancement layer
File;
S513: judge video clip may be viewed by value H, and be compared with looking value threshold value H1, as H < H1, be walked
Rapid S514;
S514: judge whether the basal layer file one of the enhancement layer files of next sub-video segment and the sub-video segment
It is same to be sent to mobile phone;
S518: as Tm > Td, carrying out step S519 for the basal layer obtained of step S512 when H >=H1 and enhancement layer files,
As Tm≤Td, the basal layer obtained of step S512 when H >=H1 and enhancement layer files are subjected to step S520;
S523: the number M2 of the video data packet of the basal layer file of step S514 mobile phone to be sent to is calculated, step is worked as
S518 judges Tm≤Td, the size of M2 and M is calculated, if M2 < M, by the enhancement layer files of latter sub-video segment and the sub- view
The basal layer file of frequency segment is sent to mobile phone together, if M2 >=M, is only sent to the basal layer file of the sub-video segment
Mobile phone.
The case where present invention is not further T1 and T2 to two time points of intersection simultaneously judges, when intersection has one
When a point is not T1 or T2, judge whether the corresponding video frame of T3 or T4 is I frame, and if not I frame, it is latter to find T3 time point
The previous nearest I frame of nearest I frame or T4 time point carries out the I frame found and the case where be I frame consecutive frame similitude ratio
Compared with if similar, continually looking for, until finding dissimilar I frame, record the period T ' of the dissimilar previous I frame of I frame, root
According to the time point by video segment at 2 sub- video clips;When two points of intersection are not T1 or T2, judge T3 or
Whether the corresponding video frame of T4 is I frame, and if not I frame, it is latter most to find T3 time point previous nearest I frame and T4 time point
Close I frame carries out the I frame found and the case where be I frame consecutive frame similarity system design and continually looks for if similar, until looking for
To dissimilar I frame, the corresponding time point T5 and T6 of two I frames found is recorded, by T1, T2 period corresponding video clip
3 sub- video clips are cut into from time point T5 and T6 punishment, sub-video segment achieved above are split again, basis of formation layer
And enhancement layer files, then judge each sub-video segment 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 segment being only sent to mobile phone, when the mobile phone network speed of detection is big
When, judge the number of the video data packet for the basal layer file to be sent, if data packet number is more, only sends out basal layer file
Mobile phone is given, if data packet number is few, the enhancement layer files by basic document together with next sub-video segment are sent to mobile phone.
It should be noted that the similarity of I frame 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 invention is obtained by following formula:
Wherein, x, k, z, w indicate coefficient, and usual value is 0-1, and Y indicates that the return visit number of this section of video, Q indicate the section
Video thumbs up number, and G indicates that the F.F. number of this section of video, S indicate the return visit total duration of this section of video, and P indicates 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, this method and implementation
Example 1 it is essentially identical, unlike, as shown in figure 4, step S50 includes the following steps: step S5 further include:
S524: when step S51 judges C > C1, extracting the I frame in first time point T1 to the second period at time point T2,
And judge whether n-th I frame and the N+1 I frame similar, N >=1, N indicate the number of I frame, if similar, by n-th I frame and
The N+1 I frame is put into identical memory block, otherwise, n-th I frame and the N+1 I frame is respectively put into different memory blocks
It is interior, and each memory block is numbered, and video clip corresponding in each memory block is subjected to step S513.
The present invention is too long when the video length of request playback, judges the adjacent I frame volume similarity in this section of video,
Similar I frame is put into same memory block, dissimilar I frame is dealt into different memory blocks, it is right in memory block then to calculate again
Answering sub-video segment may be viewed by being worth, and the video file for being sent to mobile phone, mobile phone are judged according to the size that may be viewed by value and network speed
It is cached, and can be broadcast according to the progress constant speed playback of the file situation of the video of receiving or F.F. after receiving video file
It puts, it is simple to operate.
The present invention is not limited to above-mentioned preferred forms, anyone can show that other are various under the inspiration of the present invention
The product of form, however, make any variation in its shape or structure, it is all that there is skill identical or similar to the present application
Art scheme, is within the scope of the present invention.
Claims (7)
1. a kind of method for caching the TV programme to be played back on mobile phone, which is characterized in that described method includes following steps:
S1: mobile phone and set-top box establish wireless communication;
S2: receiving the playback request that mobile phone is sent, and includes playback television programme title and television channel in the playback request;
S3: the corresponding video of TV programme of request is transferred out of set-top box, and makes and has and each sequence of frames of video of the video
Corresponding timeline interface, is sent to mobile phone and is shown;
S4: first time point T1 and the second time point T2 that mobile phone inputs on timeline interface are received;
S5: it from the video clip isolated in the video of TV programme between first time point T1 and the second time point T2, will regard
Frequency segment is split processing, and judges the video file to be sent according to mobile phone network speed;
Step S5 includes:
S51: the duration C, C=for the video clip 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: it collects since the time point for receiving playback request in the t period and there is the video clip of intersection in T1 to the T2 period
The playback beginning and ending time;
S53: calculating T1 to the T2 period and plays back the intersection of beginning and ending time, the corresponding time point T3 and T4 of record intersection;
S54: as T1=T3, T2=T4, step S55 is carried out;
S55: by the corresponding video segment of the duration at two layers of file, based on layer and enhancement layer, and by basal layer and increasing
Section Td is split strong layer to schedule, and mutual corresponding sub- basal layer will be obtained after segmentation and the imparting of sub- enhancement layer is identical
And unique timestamp;
The video data packet containing basal layer and enhancement layer is sent to mobile phone in S515: predetermined amount of time Td;
S516: the number M of the total video data packet sent in Td is calculated;
S517: it calculates mobile phone and plays time Tm used in M video data packet;
S518: Tm is compared with Td, as Tm > Td, by the step S55 basal layer obtained and sub- enhancement layer files and H >=
The basal layer and enhancement layer files that step S512 is obtained when H1 carry out step S519 and obtain step S512 when H >=H1 as Tm≤Td
The sub- basal layer and sub- enhancement layer that the basal layer and enhancement layer files and step S55 obtained obtains carry out step S520;
S519: the basal layer file in predetermined amount of time is sent to mobile phone, and the moment is to the view sent in the predetermined amount of time
Frequency data packet carries out step S516-S517, when judging Tm≤Td, carries out step S521;
S520: calculating time difference △ T, △ T=Td-Tm, and △ T be compared with time difference threshold value △ T1 as △ T≤△ T1,
Step S521 is carried out, as △ T > △ T1, carries 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 the enhancement layer files of latter time period adjacent thereto are sent together
To mobile phone;
S6: it after mobile phone receives 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 described in claim 1, which is characterized in that step S5 is also
Include:
S56: as T1=T3, T2 ≠ T4 or T1 ≠ T3, T2=T4, judge whether T3 or T4 time point corresponding video frame is I
Frame carries out step S57 if it is not, finding the T3 time point latter previous nearest I frame of nearest I frame or T4 time point, if
It is to carry out step S57;
S57: judging that whether the I frame to its previous I frame is similar frame, if it is similar frame, continues to look for, until finding and its not phase
As I frame, record the corresponding time point T ' of previous I frame;
S58: T1, T2 period corresponding video clip are cut into 2 sub- video clips from time point T ' punishment.
3. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 2, which is characterized in that step S5 is also
Include:
S59: as T1 ≠ T3, T2 ≠ T4, judge whether T3 and T4 time point corresponding video frame is I frame respectively, if it is not, looking for
To the T3 time point previous latter nearest I frame of nearest I frame and T4 time point, continue step S510, if so, carrying out step
S510;
S510: judging that whether two I frames to its previous I frame, latter I frame are similar frame, if it is similar frame, continue to look for 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 clip are cut into 3 sub- video clips from time point T5 and T6 punishment.
4. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 3, which is characterized in that step S5 is also
Include:
S512: the sub-video segment of acquisition is split processing again, obtains two layers of file being made of basal layer and enhancement layer;
S513: judge video clip may be viewed by value H, and be compared with looking value threshold value H1, as H < H1, carry out step
S514;
S514: judge whether that the enhancement layer files by next sub-video segment are sent out together with the basal layer file of the sub-video segment
Give mobile phone.
5. the method for the TV programme to be played back is cached on mobile phone as described in claim 1, which is characterized in that step S5 is also
Include:
S523: the number M2 of the video data packet of the basal layer file of step S514 mobile phone to be sent to is calculated, as step S518
Judge Tm≤Td, the size of M2 and M is calculated, if M2 < M, by the enhancement layer files of latter sub-video segment and the sub-video piece
The basal layer file of section is sent to mobile phone together, if M2 >=M, the basal layer file of the sub-video segment is only sent to hand
Machine.
6. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 5, which is characterized in that step S5 is also
Include:
S524: when step S51 judges C > C1, the I frame in first time point T1 to the second period at time point T2 is extracted, and sentence
Whether disconnected n-th I frame and the N+1 I frame are similar, and N >=1, N indicate the number of I frame, if similar, by n-th I frame and N+1
A I frame is put into identical memory block, and otherwise, n-th I frame and the N+1 I frame are respectively put into different memory blocks, and
Each memory block is numbered, and video clip corresponding in each memory block is subjected to step S513.
7. the method for the TV programme to be played back is cached on mobile phone as claimed in claim 4, which is characterized in that may be viewed by being worth
H is calculated by the following method:
Wherein, x, k, z, w indicate coefficient, and usual value is 0-1, and Y indicates that the return visit number of this section of video, Q indicate this section of video
Thumb up number, G indicates that the F.F. number of this section of video, S indicate the return visit total duration of this section of video, and P indicates that this section of video is corresponding
TV programme playing duration.
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 CN107277580A (en) | 2017-10-20 |
CN107277580B true 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) |
Families Citing this family (3)
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 |
CN108965831B (en) * | 2018-09-05 | 2020-09-25 | 北京疯景科技有限公司 | Video processing method and device and intelligent visual doorbell |
CN111638840A (en) * | 2020-05-20 | 2020-09-08 | 维沃移动通信有限公司 | Display method and display device |
Citations (9)
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 |
CN104079984A (en) * | 2014-07-11 | 2014-10-01 | 四川金网通电子科技有限公司 | Method for controlling set top box PVR recording function through mobile phone short message |
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI488502B (en) * | 2012-12-06 | 2015-06-11 | Acer Inc | Video editing method and video editing device |
US9066132B2 (en) * | 2013-05-13 | 2015-06-23 | Rovi Guides, Inc. | Systems and methods for recording content from a different source when previous content runs over |
CN109460265A (en) * | 2014-06-30 | 2019-03-12 | 华为技术有限公司 | A kind of method, user terminal and server activating application program |
-
2017
- 2017-05-24 CN CN201710374074.5A patent/CN107277580B/en active Active
Patent Citations (9)
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 |
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN107277580A (en) | 2017-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210211476A1 (en) | Methods, systems, and media for recommending content based on network conditions | |
CN107277580B (en) | A method of caching the TV programme to be played back on mobile phone | |
AU2015284756B2 (en) | Real-time digital assistant knowledge updates | |
US9215510B2 (en) | Systems and methods for automatically tagging a media asset based on verbal input and playback adjustments | |
EP2965532B1 (en) | Video data provision | |
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 | |
US8583555B1 (en) | Synchronizing multiple playback device timing utilizing DRM encoding | |
KR101372131B1 (en) | Method of transmitting audiovisual streams ahead of the user commands, and receiver and transmitter for implementing the method | |
CN107241640B (en) | A kind of method that mobile device and television equipment are played simultaneously | |
US20160234566A1 (en) | System and method for generating instant storyline feed for live sporting event | |
CN102170584A (en) | Method, device and system for playing media between synchronic HS (HTTP (HyperText Transfer Protocol) Streaming) terminal equipment | |
CN103763581A (en) | Method and system for achieving back view of live program | |
JP2015225529A (en) | Information processing device, information processing method and program | |
JP2008103784A (en) | Video recording device | |
CN108415552A (en) | Virtual cinema interaction system and method | |
CN106658030B (en) | A kind of playback method and equipment of the composite video comprising SCVF single channel voice frequency multi-channel video | |
CN104080006B (en) | A kind of video process apparatus and method | |
US10021433B1 (en) | Video-production system with social-media features | |
CN106131671A (en) | A kind of method and device regulating video definition | |
CN110087116B (en) | Multi-rate live video stream editing method and device, terminal and storage medium | |
KR20150082074A (en) | Service server and method for providing contents information | |
EP2509333A1 (en) | Information processing apparatus, information processing method, and program for synchronized playback on multiple devices | |
CN110519619A (en) | A kind of variable playback method and system broadcast based on speed |
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 |
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 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |