CN105592369A - Video abstract processing method and device - Google Patents

Video abstract processing method and device Download PDF

Info

Publication number
CN105592369A
CN105592369A CN201410564633.5A CN201410564633A CN105592369A CN 105592369 A CN105592369 A CN 105592369A CN 201410564633 A CN201410564633 A CN 201410564633A CN 105592369 A CN105592369 A CN 105592369A
Authority
CN
China
Prior art keywords
file
video
terminal
level
server
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
CN201410564633.5A
Other languages
Chinese (zh)
Other versions
CN105592369B (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 Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410564633.5A priority Critical patent/CN105592369B/en
Publication of CN105592369A publication Critical patent/CN105592369A/en
Application granted granted Critical
Publication of CN105592369B publication Critical patent/CN105592369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video abstract processing method comprising the following steps: a terminal acquires a first operation of a user, wherein the first operation is used for indicating whether there is a need to play a video abstract; the terminal judges whether there is a need to play a video abstract based on the first operation to get a first judgment result; when the first judgment result indicates that there is a need to play a video abstract, the terminal makes a request to a server for a video abstract; the terminal receives a video abstract sent by the server, and plays the video abstract; the terminal makes a request to the server for a video body; and the terminal receives a video body sent by the server, and plays the video body. The invention further discloses a video abstract processing device.

Description

A kind of video frequency abstract processing method and device
Technical field
The present invention relates to electronic technology, relate in particular to a kind of video frequency abstract processing method and device.
Background technology
Web TV (NTV, NetworkTele-Vision) technology is taking broadband network as carrier, to look soundFrequently multimedia is form, turns to characteristic with interactive individual character, for all wide-band terminal users provide comprehensive paidThe technology of the business of service. Web TV mainly comprises IPTV (IPTV), from technical patternOn see, Web TV is based on internet, taking broadband ethernet (Ethernet) as transmission link, with individualPeople's computer (PC, PersonalComputer) or with DMA (DMA, DigitalMediaAdapter) TV that the simulated television connecting is terminal.
Video, as the non-structured data of one, has brought very large choosing to people's fast browsing and retrievalWar. Especially in Internet service, have the video data of magnanimity, people will browse and search spy in videoFixed event will be very time-consuming thing. At present, most of user is starting to watch internet televisionWhen video, predict video frequency abstract (being called again video content outline) if want, all need manually to drag playerPreview video summary. Because network just connects, most of video content is not also downloaded, therefore,User is in the time often dragging one time, and Web TV all needs foradownloaded video fragment again; Drag a little but also existBe not video highlight partial content, user does not see and oneself wants the content seen, thereby causes wasteTime, visible, it is poor that in prior art, user watches the experience of video frequency abstract.
Summary of the invention
In view of this, the embodiment of the present invention provides one for solving one of them problem existing in prior artKind of video frequency abstract processing method and device, can promote user and watch the experience of video frequency abstract.
For achieving the above object, the technical scheme of the embodiment of the present invention is achieved in that
First aspect, the embodiment of the present invention provides a kind of video frequency abstract processing method, and described method comprises:
Described terminal is obtained the first operation of user, and described the first operation is used for showing whether need displaying videoSummary;
Described terminal, based on described the first operation, judges whether to need displaying video summary, obtains the first judgementResult;
In the time that described the first judged result shows to need displaying video summary, described terminal to server request is lookedFrequently summary;
Described terminal receives the video frequency abstract that described server sends, and plays described video frequency abstract.
Second aspect, the embodiment of the present invention provides a kind of video frequency abstract processing method, and described method comprises:
Video main body is divided into video data (ts) burst by described server, analyzes the spy of each ts burstReference breath, the ts burst generating video that meets preset requirement according to described characteristic information is made a summary;
Described server record is for generating the identification information of each ts burst of described video frequency abstract and suitableOrder;
Described server obtains the URL address of the each ts burst in described video frequency abstract;
Described server generates the one-level m3u8 file of described video frequency abstract;
Described server is according to the mark of the URL address of the each ts burst in described video frequency abstract, ts burstInformation and order, generate the secondary m3u8 file corresponding with described one-level m3u8 file.
The third aspect, the embodiment of the present invention provides a kind of video frequency abstract treating apparatus, and described device comprises terminal,Described terminal comprises the first acquiring unit, the first judging unit, request unit and processing unit, wherein:
Described the first acquiring unit, for obtaining the first operation of user, described the first operation is used for being shown to beThe no displaying video summary that needs;
Described the first judging unit, for based on described the first operation, judges whether to need displaying video summary,Obtain the first judged result; When described the first judged result shows to need displaying video when summary, described in triggeringRequest unit;
Described request unit, for to server request video frequency abstract;
Described processing unit, the video frequency abstract sending for receiving described server, and play described video and pluckWant.
Fourth aspect, the embodiment of the present invention provides a kind of video frequency abstract treating apparatus, and described device comprises serviceDevice, described server comprises the first generation unit, record cell, the 3rd acquiring unit, the second generation unitWith the 3rd generation unit, wherein:
Described the first generation unit, for video main body is divided into ts burst, analyzes the spy of each ts burstReference breath, the ts burst generating video that meets preset requirement according to described characteristic information is made a summary;
Described record cell, for recording for the identification information of each ts burst of described video frequency abstract andSequentially;
Described the 3rd acquiring unit, for obtaining the URL address of each ts burst of described video frequency abstract;
Described the second generation unit, for generating the one-level m3u8 file of described video frequency abstract;
Described the 3rd generation unit, for according to the URL address of each ts burst of described video frequency abstract,The identification information of ts burst and order, generate the secondary m3u8 file corresponding with described one-level m3u8 file.
Video frequency abstract processing method and device that the embodiment of the present invention provides, wherein, described terminal is obtained userThe first operation, described the first operation is used for showing whether needing displaying video summary; Described terminal is based on instituteState the first operation, judge whether to need displaying video summary, obtain the first judged result; Sentence when described firstWhen disconnected result shows to need displaying video summary, described terminal to server request video frequency abstract; Described terminalReceive the video frequency abstract that described server sends, and play described video frequency abstract; Described terminal is to described serviceDevice request video main body; Described terminal receives the video main body that described server sends, and plays described videoMain body; So, can promote user and watch the experience of video frequency abstract.
Brief description of the drawings
Fig. 1-1 is the composition structural representation of embodiment of the present invention video frequency abstract treating apparatus;
Fig. 1-2 is the realization flow schematic diagram of the embodiment of the present invention one video frequency abstract processing method;
Fig. 2 is the realization flow schematic diagram of the embodiment of the present invention two video frequency abstract processing methods;
Fig. 3 is the realization flow schematic diagram one of step 203 and step 206 in the embodiment of the present invention two;
Fig. 4 is the realization flow schematic diagram two of step 203 and step 206 in the embodiment of the present invention two;
Fig. 5 is the composition structural representation of the embodiment of the present invention five servers;
Fig. 6-1 is the composition structural representation one of the embodiment of the present invention six video frequency abstract treating apparatus;
Fig. 6-2 are the composition structural representation two of the embodiment of the present invention six video frequency abstract treating apparatus;
Fig. 6-3 are the composition structural representation three of the embodiment of the present invention six video frequency abstract treating apparatus.
Detailed description of the invention
Present inventor will propose a kind of video frequency abstract processing method in following each embodiment, canBe applied to video frequency abstract treating apparatus, as Figure 1-1, this device comprises at least one server 11 and extremelyA few terminal 12, server 11 is positioned at video content provider side, and terminal 12 is positioned at user's side, terminal12 and server 11 between can for example be connected by carrying out network such as internet, network can have networkOperator provides, and in terminal 12, the video content of output is provided by server 11 by content supplier.Terminal 12 can be from server receiver, video content, and play or carry out this video content. Terminal 12Can be equipped with mixed-media network modules mixed-media, such as the radio receiver of Set Top Box or such as the outfit of the networking telephoneThe TV of the display unit of any other type of mixed-media network modules mixed-media. Only, for easy explanation, illustrate and receive extensively at thisBroadcast the radio receiver of signal.
In the present embodiment, described content supplier produces or distributes to be provided to the multiple of terminal 12The provider of content. Content supplier can for example comprise that video request program (VOD) provider, game provideBusiness or other suitable video content providers. Described terminal can be applicable to television set, computer, mobile phone,The video playing terminal such as personal digital assistant (PDA, PersonalDigitalAssistant), panel computer.
Provide a kind of embodiment by exemplary below, existing internet television framework great majority are based on Streaming MediaTransmission HLS (HttpLiveStreaming) agreement, is not affecting the end-to-end framework of whole internet televisionIn situation, experience for improving customer service, propose a kind of video frequency abstract processing side based on HLS agreement belowMethod, when terminal plays video, first plays the video frequency abstract for embodying video highlight fragment, gives user with thisThe general preview of video body matter (hereinafter to be referred as video main body), after video frequency abstract finishes, thenPlay whole video main body, greatly improve user and watch internet television.
First briefly introduce HLS agreement, HLS agreement is current used in Ge great Video service providerIn host-host protocol in occupation of consequence. HLS agreement is that the transmission based on hypertext that Apple realizes is assistedThe streaming media agreement of view (HTTP, Hyper-TextTransferProtocol), HLS agreement is by capacityHuge continuous media data are carried out segmentation, and the small documents that is divided into One's name is legion transmits. HLS adapts toThe file transfer of web page server, and adopt the lightweight index file of a continuous renewal to control to cut apartThe download of rear little media file and broadcasting, can realize the live and program request of Streaming Media. HLS agreement have withLower advantage: 1) Internet Transmission is convenient, and data are transmitted by http protocol, so need not consider fire prevention completelyWall or agency's problem; 2) client, by the mode of progressive download, can alleviate core network load;3) client can be according to network load condition, and dynamic regulating video is play code check.
After video data being processed by HLS agreement, be divided into video data ts file and media data indexM3u8 file, wherein, ts file is a kind of organizational form of file group, the filename of this video data fileSuffix is " ts ", is therefore called ts file; M3u8 file is in fact also a kind of organizational form of file group,Video data is organized together for multimedia player downloading and playing to these media with the form of playlistThe filename suffix of data directory file is " m3u8 ", is therefore called m3u8 file. Logical in m3u8 fileOften comprise multiple URLs (URL, the UniformResource of multiple video data tsLocation). Multimedia player obtains after m3u8 file, and then downloads corresponding according to URL whereinTs file is also play.
The embodiment of the present invention provides a kind of video frequency abstract processing method and device, wherein, video main body is dividedBecome ts burst, then according to ts burst generating video summary, and record forms the each ts in video frequency abstractIdentification information as (title), order and URL address; And pluck according to original video code rate information, videoIdentification information, order and the URL address of each ts in wanting generate the one-level m3u8 literary composition about video frequency abstractPart and secondary m3u8 file. Video frequency abstract processing method and device that the embodiment of the present invention provides have as followsFeature, server does not need store video summarized radio file, only needs to generate m3u8 file; TerminalWhen broadcasting, still first obtain the m3u8 file of video frequency abstract according to HLS agreement, then it is whole to obtain video contentIndividual m3u8 file, can realize first displaying video summary, then displaying video content.
From foregoing description, the embodiment of the present invention provides a kind of video frequency abstract processing method and device, is usingThe video frequency abstract of video highlight fragment, in the time watching video, can first preview can be embodied in family, then displaying videoMain body, thereby the psychology that meets user and watch video; And due to video frequency abstract and video main body be all based onInternet television system framework, two kinds of video playback are connected smooth, greatly improve and watch internet television videoUser experience. In addition, in correlation technique, in most of technology, video frequency abstract all needs independence after generatingCarry out independent store video summary in video main body, thereby bring burden to server. The embodiment of the present invention existsWhen raising user watches internet television to experience, implement simple; Multiplexing original video content burst is rawBecome video frequency abstract, do not need store video Summary file again at server side, directly generate respective index literary compositionPart, reduces storage pressure and the system complexity of system greatly. In addition, only need to meet base to terminalThis HLS agreement, does not need to transform.
Below in conjunction with the drawings and specific embodiments, the technical solution of the present invention is further elaborated.
Embodiment mono-
The embodiment of the present invention provides a kind of video frequency abstract processing method, and the method is applied to video frequency abstract and processes dressServer side in putting, Fig. 1-2 is the realization flow signal of the embodiment of the present invention one video frequency abstract processing methodFigure, as shown in Figure 1-2, the method comprises:
Step 101, video main body is divided into video data ts burst by described server, analyzes each ts and divideThe characteristic information of sheet, the ts burst generating video that meets preset requirement according to described characteristic information is made a summary;
Here, described characteristic information can face facial image information, natural scene image information, still life figurePicture information, moving scene information etc., wherein, moving scene information can be the scene of human or animal while runningThe scene information of the scene such as information, blast generation acute variation; Described preset requirement can be face face figurePicture information, for example, it is to belong to any in characteristic information that server is analyzed each ts burst, and to eachTs classifies; In the time of preset requirement behaviour face facial image information, those can be embodied face by serverThe ts burst of facial image information sorts according to time order and function order, regenerates video frequency abstract, simultaneouslyThe identification information of each ts of record composition video frequency abstract, in the time that identification information is the file name of ts burst,Identification information is for example, 10.ts, 60.ts, 140.ts, 343.ts Then, by video frequency abstract and videoThe m3u8 file of content is integrated, and when terminal plays video, can directly obtain and look according to index fileFrequently content, therefore the video content of video frequency abstract does not need extra storage.
Here, described video frequency abstract refers to the interested video segment according to the user of feature information extraction, instituteState step 101 and can also adopt video abstraction generating method conventional in this area to realize, therefore no longer superfluousState.
Step 102, described server record is used for the mark of the each ts burst that generates described video frequency abstractInformation and order;
Here, the identification information of described ts burst can be title (filename), the ts burst of ts burstThe information such as sequence number, numbering.
Here, described order can refer to the order taking temporal information as representative, for example, and one section of video totalHave 100 ts bursts, it is 001 to 100 that these 100 bursts are in chronological sequence sequentially numbered; ItsIn, ts burst be numbered 003,008 and 058 composition video frequency abstract, video frequency abstract so described hereIn the order of ts burst refer to 003,008 and 058.
Step 103, described server obtains the URL address of the each ts burst in described video frequency abstract;
Here, the URL address of described each ts burst refer to original video divide after the URL of ts burstAddress.
Step 104, described server generates the one-level m3u8 file of described video frequency abstract;
Step 105, described server is according to URL address, the ts of the each ts burst in described video frequency abstractThe identification information of burst and order, generate the secondary m3u8 file corresponding with described one-level m3u8 file.
In general, video, with the storage of ts burst form, generally, specifies ts according to HLS agreementThe duration of burst can be 10 seconds, and m3u8 file is at least for describing the URL address of ts burst, wherein,One-level m3u8 file relates generally to two parameters, and wherein first parameter is code check, second parameter be withThe URL address information that each code check parameter is corresponding; It is URL that secondary m3u8 file relates to a parameterAddress parameter;
Terminal is first obtained index file, then obtains ts burst. Particularly, terminal is first obtained one-level m3u8 literary compositionPart, plays according to a kind of suitable code stream of self bandwidth situation selection, and terminal is by one-level m3u8 literary compositionThe identification information of part sends server, server by according to the identification information of one-level m3u8 file by correspondenceSecondary m3u8 file sends to terminal, and terminal can be according to the URL address in secondary m3u8 file like thisDownload ts burst, and play according to the sequencing in secondary m3u8 file.
One-level m3u8 file and the secondary m3u8 file example of video content below:
One-level m3u8 file: example index.m3u8
BANDWIDTH=1280000bps,URL11/low.m3u8;
BANDWIDTH=2560000bps,URL12/mid.m3u8;
BANDWIDTH=7680000bps,URL13/hi.m3u8;
Taking secondary m3u8 file mid.m3u8 as example, theing contents are as follows in mid.m3u8:
URL12/01.ts;
URL12/02.ts;
URL12/03.ts;
URL12/04.ts;
URL12/05.ts;
URL12/06.ts;
……;
In above-mentioned example, the unit of bandwidth (BANDWIDTH) is bps (bps, bitspersecond),Wherein URL11, the URL12 in URL address and URL13 can represent same URL address, also canTo represent not identical URL address, " low.m3u8 ", " mid.m3u8 " in URL address, " hi.m3u8 "Represent respectively filename.
In the present embodiment, propose a kind of video frequency abstract processing method based on HLS agreement, server is first by videoMain body is divided into video data ts burst, analyzes the characteristic information of each ts burst, according to described characteristic informationMeet the ts burst generating video summary of preset requirement; Then, record is for generating described video frequency abstractThe identification information of each ts burst and order; Obtain again the URL of the each ts burst in described video frequency abstractAddress; Then generate the one-level m3u8 file of described video frequency abstract, finally according in described video frequency abstractThe URL address of each ts burst, the identification information of ts burst and order, generate and described one-level m3u8 literary compositionThe secondary m3u8 file that part is corresponding; So, when terminal plays internet television video, first play excellent sheetThe video frequency abstract of section, gives user the general preview with this video content, after video frequency abstract finishes, thenPlay whole video content, thereby raising user watches the experience of internet television.
To provide two kinds for realizing the method for the one-level m3u8 file that generates described video frequency abstract below, thisIn two kinds of methods, all do not need to be independent of video main body and carry out independent store video summary, wherein,
First method is:
In the embodiment of the present invention, described server generates the one-level m3u8 file of described video frequency abstract, comprising:
Described server obtains the one-level m3u8 file of video main body, as having not of described video frequency abstractWith the one-level m3u8 file of code check;
Accordingly, described server is according to URL address, the ts of the each ts burst in described video frequency abstractThe identification information of burst and order, generate the secondary m3u8 file corresponding with described one-level m3u8 file, bagDraw together:
Described server is by the mark letter of the URL address of the each ts burst in described video frequency abstract, ts burstCease and order, write the front portion of the secondary m3u8 file corresponding with the one-level m3u8 file of described video main body,To make terminal first get video frequency abstract in the time asking video main body.
Second method is:
Described server generates the one-level m3u8 file of described video frequency abstract, comprising:
Described server, according to the code rate information of video main body, generates the one-level m3u8 literary composition of described video frequency abstractPart.
The not independent one-level m3u8 file generating about video frequency abstract in first method, but directly adoptWith the one-level m3u8 file of video main body, by the ts burst information of the video frequency abstract video content that writes directM3u8 file in, wherein the one-level m3u8 file of video content is constant, by the ts burst of video frequency abstractInformation write video content in secondary m3u8 file before. Here, ts burst information mainly comprises eachThe URL address of burst, the identification information of ts burst are as title etc. Video frequency abstract in first method belowOne-level m3u8 file and the example of secondary m3u8 file;
The one-level m3u8 file of video frequency abstract, i.e. the one-level m3u8 file of video main body, exampleindex.m3u8:
BANDWIDTH=1280000bps,URL11/low.m3u8;
BANDWIDTH=2560000bps,URL12/mid.m3u8;
BANDWIDTH=7680000bps,URL13/hi.m3u8;
Taking secondary m3u8 file mid.m3u8 as example, theing contents are as follows in mid.m3u8:
URL12/10.ts;
URL12/60.ts;
URL12/140.ts;
URL12/343.ts;
* * * is video frequency abstract above, is below video main body * * * *
URL/01.ts;
URL/02.ts;
URL/03.ts;
……
In above-mentioned example, the unit of bandwidth (BANDWIDTH) is bps, wherein in URL addressURL11, URL12 and URL13 can represent same URL address, also can represent not identical URLAddress, " low.m3u8 ", " mid.m3u8 " in URL address, " hi.m3u8 " explain respectively filename.
In first method, owing to the ts burst information of video frequency abstract being write in advance to the secondary of video main bodyIn m3u8 file, so for the secondary m3u8 file of code check in each, server is wanted recording of video masterThe real original position of body, example described above, front four URL addresses of secondary m3u8 file are all lookedFrequently the ts burst address of summary, is only the ts burst address of video main body since the 5th URL address.The why real original position of recording of video main body, this is because sometimes user may not want to play and looksFrequently summary, at this moment just need to directly obtain video body matter, because server has recorded video main bodyReal original position, user can skip video frequency abstract like this, directly starts to watch video main body. IfWhether server is the real original position of recording of video main body not, may cause so user cannot select to playVideo frequency abstract, so, user is in the time of program request displaying video, and first play summary could displaying video masterBody, or user can only just can stop playing summary by dragging; After summary finishes, automatically broadcastPut video content. This method and the user interaction flow of the real original position of recording of video main body are not few,But realize relatively simple.
In second method, the ts burst information of video frequency abstract is generated to one-level m3u8 file and secondary m3u8File, the one-level m3u8 file of video frequency abstract and the one-level m3u8 file of video content are independent. BelowIn two kinds of methods, generate one-level m3u8 file and secondary m3u8 file according to the ts burst information of video frequency abstractExample;
The one-level m3u8 file of video frequency abstract, example index_ad.m3u8:
BANDWIDTH=1280000bps,URL21/low_ad.m3u8;
BANDWIDTH=2560000bps,URL22/mid_ad.m3u8;
BANDWIDTH=7680000bps,URL23/hi_ad.m3u8;
Taking the secondary m3u8 file mid_ad.m3u8 of video frequency abstract as example, theing contents are as follows in mid.m3u8:
URL22/10.ts;
URL22/60.ts;
URL22/140.ts;
URL22/343.ts;
The one-level m3u8 file of video main body in second method below, example index.m3u8:
BANDWIDTH=1280000bps,URL11/low.m3u8;
BANDWIDTH=2560000bps,URL12/mid.m3u8;
BANDWIDTH=7680000bps,URL13/hi.m3u8;
Taking the secondary m3u8 file mid.m3u8 of video main body as example, secondary m3u8 file mid.m3u8In file as follows:
URL12/01.ts
URL12/02.ts
URL12/03.ts
URL12/04.ts;
URL12/05.ts;
URL12/06.ts;
……;
In second method, although video frequency abstract and video content share ts burst information, both burstsIndex file (one-level m3u8 file and secondary m3u8 file) is completely independent. Therefore, in second methodIn, server needs the one-level m3u8 file of recording of video summary and the one-level m3u8 file of video main bodyStorage address; In video request-program process, select by user whether displaying video is made a summary, while being, then videoSummary can be play-overed video main body after playing, and can be more whether selects displaying video content by user,Visible, second method is better aspect user-interaction experience.
Embodiment bis-
The embodiment of the present invention provides a kind of video frequency abstract processing method, and the method is applied to video frequency abstract and processes dressPut, described device comprises server and terminal, and Fig. 2 is the embodiment of the present invention two video frequency abstract processing methodsRealization flow schematic diagram, as shown in Figure 2, the method comprises:
Step 201, described terminal is obtained the first operation of user;
Here, described the first operation is used for showing whether needing displaying video summary;
Step 202, described terminal, based on described the first operation, judges whether to need displaying video summary,To the first judged result;
Step 203, in the time that described the first judged result shows to need displaying video summary, described terminal is to clothesBusiness device request video frequency abstract;
Here, terminal to server request video frequency abstract can be realized like this: terminal can send to serverRequest message, this request message carries the first identification information, this first identification information be used for showing terminal toServer request video frequency abstract;
Step 204, server receive terminal send for asking the request of video frequency abstract;
Here, described request is for sending video frequency abstract to described terminal, and the request in step 204 can beThe request message that terminal to server sends.
Step 205, server sends video frequency abstract to terminal;
Step 206, described terminal receives the video frequency abstract that described server sends, and plays described video and pluckWant.
Step 207, described terminal is to described server request video main body;
Step 208, server receive terminal send for asking the request of video main body;
Step 209, server sends video main body to terminal;
Step 210, described terminal receives the video main body that described server sends, and plays described video masterBody.
In the embodiment of the present invention, between step 201, step 202, step 203, there is strict sequencing,Between step 203,204,205 and 206, be also to have strict sequencing, but step 207 and stepBetween rapid 203,204,205 and 206, there is no strict precedence relationship, therefore, step 207, described endEnd, to described server request video main body, can be in the process of playing described video frequency abstract in described terminalIn, to described server request video main body;
Accordingly, step 210, described terminal receives the video main body that described server sends, and plays instituteState video main body, specifically comprise:
Step 2101, described terminal, playing in the process of described video frequency abstract, receives described server and sendsVideo main body;
Step 2102, is playing after described video frequency abstract, continues and plays described video main body.
Based on description above, step 207 can also be simultaneous with step 203, step 203 like thisWith step 207, that is: described terminal is simultaneously to described server request video frequency abstract and video main body;
Accordingly, step 206, described terminal receives the video frequency abstract that described server sends, and plays instituteState video frequency abstract, and, step 210, described terminal receives the video main body that described server sends, andPlay described video main body, comprising:
Described terminal receives video frequency abstract and the video main body that described server sends;
Described terminal is first play described video frequency abstract, and described in playing and continuing after described video frequency abstract and to playVideo main body.
In the embodiment of the present invention, described method also comprises:
Step S21, when described the first judged result shows not need displaying video when summary, described terminal toServer request video main body.
In the embodiment of the present invention, after step 206, play described video frequency abstract, described method is also wrappedDraw together:
Step S22, described terminal is obtained the second operation of user, and described the second operation is used for selecting playing to be lookedFrequently summary or video main body;
Step S23, described terminal, based on described the second operation, judges displaying video summary or video main body,Obtain the first judged result;
Step S24, in the time that described the second judged result shows to need displaying video summary, described terminal is to clothesBusiness device request video frequency abstract;
Step S25, in the time that described the second judged result shows to need displaying video main body, described terminal is to clothesBusiness device request video main body.
In the embodiment of the present invention, due to the first operation and the second class of operation seemingly, be only operating as example with first here,Describe, when the display unit of terminal be can touch-control display unit, described the first operation can be like this: terminal shows a dialog box in touch-display unit, and for pointing out user, whether displaying video is made a summary,In the time that user clicks "Yes" by operating body in touch-display unit, clicking "Yes" can be this realityExecute the operation of first in example, user can click "No" certainly, clicks so "No" also in the present embodimentFirst operation. Similarly, when the display unit of terminal is not touch-display unit, user can be by auxiliaryHelp equipment to select "Yes" or "No" as remote controller, mouse etc., user by the selection such as remote controller, mouse is"Yes" or "No" also can be thought the operation of first in the present embodiment. Operating body described here is passableIt is the entity that pointer, finger etc. can operate touch-display unit.
Embodiment tri-
Based on the above embodiments two, the embodiment of the present invention will, taking HLS agreement as example, illustrate terminalHow to server request video frequency abstract, and how server sends the process of video frequency abstract to terminal. ThisIn inventive embodiments, between described server and described terminal, adopt streaming media HLS agreement; Fig. 3 isThe realization flow schematic diagram one of step 203 and step 206 in the embodiment of the present invention two, as shown in Figure 3, realExecute the step 203 in example two, described terminal to server request video frequency abstract, comprises the following steps:
Step 301, described terminal is to described server request one-level m3u8 file;
Here, the one-level m3u8 file of terminal to server request video frequency abstract, terminal can be to serverSend a request message, carry the second identification information in this request message, described the second identification information is for askingAsk the one-level m3u8 file of video frequency abstract.
Step 302, described server receiving terminal send for asking the request of one-level m3u8 file;
Here, the request message of the request in step 302 in can step 301, owing to taking in request messageWith the second identification information, server will be searched the one-level m3u8 of video frequency abstract according to this second identification informationFile, and the one-level m3u8 file of video frequency abstract is sent to terminal;
Step 303, described server sends the one-level m3u8 file of video frequency abstract to terminal;
Here, the one-level m3u8 file of the video frequency abstract in step 303 specifically can be referring in embodiment mono-The one-level m3u8 file providing, therefore repeats no more.
Step 304, described terminal receives the one-level m3u8 file that described server sends;
Step 305, described terminal is according to self bandwidth selection the first code check;
Here, described the first code check is a code check in the different code checks described in one-level m3u8 file;
Here referring to described in previous embodiment one, in one-level m3u8 file, generally comprise two above not,With code check, for example the first code check is that 1280000bps, the second code check are 2560000bps, theThree kinds of code checks are 7680000bps; Terminal is according to a kind of code check that is suitable for self of the bandwidth selection of self,For example terminal self bandwidth is 2000000, and terminal is by the code check parameter in one-level m3u8 file and oneself soBody bandwidth compares, and selects a kind of code check that is less than self bandwidth, that is, it is 1280 that terminal will be selected code check000bps. Except the system of selection of the selection code check described in step 305, those skilled in the art alsoCan realize according to various prior aries, how according in self bandwidth selection the first one-level m3u8 fileCode check, therefore repeat no more.
Step 306, described terminal sends the identification information of the first code check to described server;
Here, the identification information of described the first code check can be the first code check, the URL corresponding with the first code checkAddress; Server receives after the identification information of the first code check, can search and this first yard according to this identification informationThe secondary m3u8 file that rate is corresponding.
Step 307, described server receives the identification information of the first code check of described terminal transmission;
Step 308, the identification information of the first code check that described server sends according to described terminal, obtains theOne secondary m3u8 file;
Here, described the first secondary m3u8 file is the secondary m3u8 file corresponding with described the first code check;
Step 309, server sends the first secondary m3u8 file to terminal;
Here, the first secondary m3u8 file of the video frequency abstract in step 309 specifically can be referring to embodimentThe secondary m3u8 file providing in one, therefore repeats no more.
Accordingly, based on aforesaid step 301 to step 309, the step 206 in embodiment bis-, described endThe video frequency abstract that end reception server sends, and play described video frequency abstract, comprise the following steps:
Step 310, described terminal receives the first secondary m3u8 file that described server sends, and according to instituteState the uniform resource position mark URL address acquisition video data ts burst in the first secondary m3u8 file;
Step 311, described terminal is according to ts corresponding to played in order in described the first secondary m3u8 fileBurst.
Embodiment tetra-
Based on the above embodiments two, the embodiment of the present invention will, taking HLS agreement as example, illustrate terminalHow to server request video frequency abstract, and how server sends the process of video frequency abstract to terminal. ThisIn inventive embodiments, between described server and described terminal, adopt streaming media HLS agreement; Fig. 4 isThe realization flow schematic diagram two of step 203 and step 206 in the embodiment of the present invention two, as shown in Figure 4, realExecute the step 203 in example two, described terminal to server request video frequency abstract, comprises the following steps:
Step 401, described terminal to described server request one-level media data index m3u8 file and with instituteState the secondary m3u8 file that one-level m3u8 file is corresponding;
Here, terminal can send a request message to server, carries the 3rd mark letter in this request messageBreath, described the 3rd identification information for ask the one-level m3u8 file of video frequency abstract and with described one-level m3u8The secondary m3u8 file that file is corresponding.
Step 402, described server receiving terminal send for asking the one-level m3u8 literary composition of video frequency abstractThe request of part and secondary m3u8 file;
Here, the request message of the request in step 402 in can step 401, owing to taking in request messageWith the 3rd identification information, server will be searched the one-level m3u8 of video frequency abstract according to the 3rd identification informationFile, and by the one-level m3u8 file of video frequency abstract and the secondary corresponding with described one-level m3u8 fileM3u8 file with send to terminal;
Step 403, described server is to the one-level m3u8 file of terminal transmission video frequency abstract and with described oneSecondary m3u8 file corresponding to level m3u8 file;
Here, the one-level m3u8 file of the video frequency abstract in step 403, secondary m3u8 file specifically canReferring to the one-level m3u8 file providing in embodiment mono-and secondary m3u8 file, therefore repeat no more.
Step 404, described terminal receive one-level m3u8 file that described server sends and with described one-levelThe secondary m3u8 file that m3u8 file is corresponding;
Step 405, described terminal is according to self bandwidth selection the first code check;
Here, described the first code check is the one in the code check in one-level m3u8 file;
Here referring to described in previous embodiment one, in one-level m3u8 file, generally comprise two above not,With code check, for example the first code check is that 1280000bps, the second code check are 2560000bps, theThree kinds of code checks are 7680000bps; Terminal is according to a kind of code check that is suitable for self of the bandwidth selection of self,For example terminal self bandwidth is 2000000, and terminal is by the code check parameter in one-level m3u8 file and oneself soBody bandwidth compares, and selects a kind of code check that is less than self bandwidth, that is, it is 1280 that terminal will be selected code check000bps. Except the system of selection of the selection code check described in step 305, those skilled in the art alsoCan realize according to various prior aries, how according in self bandwidth selection the first one-level m3u8 fileCode check, therefore repeat no more.
Accordingly, based on aforesaid step 401 to step 405, the step 206 in embodiment bis-, described endThe video frequency abstract that end reception server sends, and play described video frequency abstract, comprise the following steps:
Step 406, described terminal is according to the uniform resource position mark URL ground in the first secondary m3u8 fileLocation obtains video data ts burst;
Here, described the first secondary m3u8 file is the secondary m3u8 file corresponding with described the first code check;
Step 407, described terminal is according to ts corresponding to played in order in described the first secondary m3u8 fileBurst.
The technical scheme that the embodiment of the present invention three and embodiment tetra-provide difference slightly in realization, embodiment tri-In, without existing HLS agreement is made to any change, and in embodiment tetra-, need to be to existing HLSAgreement is made change, because with regard to existing HLS agreement, terminal is obtained one-level m3u8 file and obtainedSecondary m3u8 file is (referring to the embodiment tri-) that point former and later two steps complete, but at embodiment tetra-Middle terminal is disposable obtains one-level m3u8 file and secondary m3u8 file from server, by embodiment tri-HesThe contrast of embodiment tetra-can find, although embodiment tetra-existing HLS is changed, due toThe data volume of m3u8 file itself is very little, thereby is once obtaining one-level m3u8 file and secondary m3u8 literary compositionIn the process of part, can't bring load to bandwidth; And owing to being one-level m3u8 file and secondary m3u8File, by once coming from server request, can be simplified the operating process of terminal and server.
Embodiment five
The embodiment of the present invention provides a kind of video frequency abstract treating apparatus, and described device comprises server, and Fig. 5 isThe composition structural representation of the embodiment of the present invention five servers, as shown in Figure 5, this server 500 comprisesOne generation unit 501, record cell 502, the 3rd acquiring unit 503, the second generation unit 504 and the 3rdGeneration unit 505, wherein:
Described the first generation unit 501, for video main body being divided to video data ts burst, analyzes eachThe characteristic information of ts burst, the ts burst generating video that meets preset requirement according to described characteristic information is made a summary;
Described record cell 502, for recording the mark letter for each ts burst of described video frequency abstractBreath and order;
Described the 3rd acquiring unit 503, for obtaining the URL ground of each ts burst of described video frequency abstractLocation;
Described the second generation unit 504, for generating the one-level m3u8 file of described video frequency abstract;
Described the 3rd generation unit 505, for according to the URL ground of each ts burst of described video frequency abstractThe identification information of location, ts burst and order, generate the secondary m3u8 literary composition corresponding with described one-level m3u8 filePart.
In the embodiment of the present invention, described the second generation unit, for obtaining the one-level m3u8 literary composition of video main bodyPart, as the one-level m3u8 file with different code checks of described video frequency abstract;
Accordingly, described the 3rd generation unit, for by the URL of each ts burst of described video frequency abstractThe identification information of address, ts burst and order, write corresponding with the one-level m3u8 file of described video main bodyThe front portion of secondary m3u8 file, to make terminal first get video frequency abstract when the request video main body.
In the embodiment of the present invention, described the second generation unit, for described server according to video main body codeRate information, generates the one-level m3u8 file of described video frequency abstract.
Here it is to be noted: be the description of video frequency abstract treating apparatus embodiment in the present embodiment five above,With the description of the video frequency abstract processing method embodiment in above-described embodiment one be similarly, have and method realThe identical beneficial effect of executing example, does not therefore repeat. For video frequency abstract treating apparatus in the present embodiment fiveExecute the ins and outs that do not disclose in example, please refer to retouching of embodiment of the present invention video frequency abstract processing method embodimentState.
Embodiment six
The embodiment of the present invention provides a kind of video frequency abstract treating apparatus, and Fig. 6-1 is the embodiment of the present invention six videosThe composition structural representation one of summary treating apparatus, as in Figure 6-1, this device comprises terminal 610 kimonosBusiness device 620, this terminal 610 comprises the first acquiring unit 611, the first judging unit 612, request unit 613With processing unit 614, this server 620 comprises transmitting element 621. Wherein:
Described the first acquiring unit 611, for obtaining the first operation of user, described the first operation is for tableThe bright displaying video summary that whether needs;
Described the first judging unit 612, for based on described the first operation, judges whether to need displaying videoSummary, obtains the first judged result; In the time that described the first judged result shows to need displaying video summary, touchSend out described request unit;
Described request unit 613, for to server request video frequency abstract;
Described transmitting element 621, for according to terminal send for asking the request of video frequency abstract, to instituteState terminal and send video frequency abstract;
Described processing unit 614, the video frequency abstract sending for receiving described server, and look described in playingFrequently summary.
In the embodiment of the present invention, described request unit, also for showing not need when described the first judged resultWhen displaying video summary, described terminal to server request video main body.
Accordingly, described transmitting element 621, for according to terminal send for ask video main body pleaseAsk, send video frequency abstract to described terminal;
In the embodiment of the present invention, playing described video frequency abstract, described terminal also comprises second acquisition unitWith the second judging unit, wherein:
Described second acquisition unit, for obtaining the second operation of user, described the second operation is broadcast for selectingPut video frequency abstract or video main body;
Described the second judging unit, for based on described the second operation, judges displaying video summary or videoMain body, obtains the first judged result; In the time that described the second judged result shows to need displaying video summary, instituteState and trigger described request unit to server request video frequency abstract; When described the second judged result shows to broadcastWhile putting video main body, trigger described request unit to server request video main body.
In the embodiment of the present invention, described request unit, is playing described video frequency abstract specifically for described terminalProcess in, to described server request video main body;
Accordingly, described processing unit, specifically for playing in the process of described video frequency abstract, receives instituteState the video main body that server sends, and playing after described video frequency abstract, continue and play described videoMain body.
In the embodiment of the present invention, described request unit, for simultaneously to described server request video frequency abstract andVideo main body;
Accordingly, described processing unit, the video frequency abstract and the video main body that send for receiving described server,And first play described video frequency abstract, and continue and play described video main body playing after described video frequency abstract.
In the embodiment of the present invention, between described terminal and described server, adopt streaming media HLS agreement;
Accordingly, as shown in Fig. 6-2, described request unit 613 comprises the first request module 6131, firstReceiver module 6132, the first selection module 6133 and the second request module 6134, accordingly, described transmissionUnit 621 comprise the 4th receiver module 6211, the first sending module 6212, the 5th receiver module 6213,The 3rd acquisition module 6214 and the second sending module 6215, wherein:
Described the first request module 6131, for to described server request one-level m3u8 file;
Described the 4th receiver module 6211, send for receiving terminal for asking one-level m3u8 fileRequest;
Described the first sending module 6212, for sending the one-level m3u8 file of video frequency abstract to terminal;
Described the first receiver module 6132, the one-level m3u8 file sending for receiving described server;
Described first selects module 6133, for according to self bandwidth selection the first code check;
Here, described the first code check is a code check in the different code checks described in one-level m3u8 file;
Described the second request module 6134, for sending the identification information of the first code check to described server;
Described the 5th receiver module 6213, for receiving the identification information of the first code check that described terminal sends;
Described the 3rd acquisition module 6214, for the identification information of the first code check of sending according to described terminal,Obtain the first secondary m3u8 file;
Here, described the first secondary m3u8 file is the secondary m3u8 file corresponding with described the first code check;
Described the second sending module 6215, for sending the first secondary m3u8 file to terminal;
Accordingly, described processing unit 614 comprises the second receiver module 6141, the first acquisition module 6142With the first playing module 6143, wherein:
Described the second receiver module 6141, the first secondary m3u8 file sending for receiving described server;
Described the first acquisition module 6142, for according to the unified resource of described the first secondary m3u8 fileFinger URL URL address acquisition video data ts burst;
Described the first playing module 6143, for according to the played in order of described the first secondary m3u8 fileCorresponding ts burst.
In the embodiment of the present invention, between described terminal and described server, adopt streaming media HLS agreement;
Accordingly, as shown in Fig. 6-3, described request unit 613 comprises the 3rd request module 6135, the 3rdReceiver module 6136 and second is selected module 6137, and described transmitting element 621 comprises the 6th receiver module6216, the 3rd sending module 6217, wherein:
Described the 3rd request module 6135, for to described server request one-level media data index m3u8File and the secondary m3u8 file corresponding with described one-level m3u8 file;
Described the 6th receiver module 6216, for receiving terminal send for asking the one-level of video frequency abstractThe request of m3u8 file and secondary m3u8 file;
Described the 3rd sending module 6217, for to terminal send video frequency abstract one-level m3u8 file andThe secondary m3u8 file corresponding with described one-level m3u8 file;
Described the 3rd receiver module 6136, for receive one-level m3u8 file that described server sends andThe secondary m3u8 file corresponding with described one-level m3u8 file;
Described second selects module 6137, for according to self bandwidth selection the first code check, described the first code checkFor the one of code check in one-level m3u8 file;
Accordingly, described processing unit 614 comprises the second acquisition module 6144 and the second playing module 6145,Wherein:
Described the second acquisition module 6144, for locating according to the unified resource of the first secondary m3u8 fileSymbol URL address acquisition video data ts burst, described the first secondary m3u8 file is and described the first code checkCorresponding secondary m3u8 file;
Described the second playing module 6145, for according to the played in order of described the first secondary m3u8 fileCorresponding ts burst.
Here it is to be noted: be the description of video frequency abstract treating apparatus embodiment in the present embodiment six above,With the description of the video frequency abstract processing method embodiment in above-described embodiment two, three and four be similarly, haveIdentical beneficial effect with embodiment of the method, does not therefore repeat. For video frequency abstract in the present embodiment sixTreating apparatus is executed the ins and outs that do not disclose in example, please refer to video frequency abstract processing method embodiment's of the present inventionDescribe.
In the several embodiment that provide in the application, should be understood that, disclosed equipment and method, canTo realize by another way. Apparatus embodiments described above is only schematically, for example, and instituteStating the division of unit, is only that a kind of logic function is divided, and when actual realization, can have other dividing mode,As: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be neglectedOmit, or do not carry out. In addition, shown or discussed each part coupling or direct coupling each otherClosing or communicate to connect can be by some interfaces, and the INDIRECT COUPLING of equipment or unit or communication connection, canTo be electrical, machinery or other form.
The above-mentioned unit as separating component explanation can or can not be also physically to separate, asThe parts that unit shows can be or can not be also physical locations; Both can be positioned at a place, also couldTo be distributed on multiple NEs; Can select according to the actual needs part or all of unit whereinRealize the object of the present embodiment scheme.
In addition, the each functional unit in various embodiments of the present invention can all be integrated in a processing unit,Also can be that each unit is distinguished separately as a unit, also can be integrated in one in two or more unitIn individual unit; Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt hardware to add softThe form of part functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment canTo complete by the relevant hardware of programmed instruction, aforesaid program can be stored in embodied on computer readable storageIn medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage is situated betweenMatter comprises: movable storage device, read-only storage (Read-OnlyMemory, ROM), magnetic disc orThe various media that can be program code stored such as CD.
Or, if the above-mentioned integrated unit of the present invention is realized also as independent using the form of software function moduleProduction marketing or use time, also can be stored in a computer read/write memory medium. Based on like thisUnderstanding, the part that the technical scheme of the embodiment of the present invention contributes to prior art in essence in other words canEmbody with the form with software product, this computer software product is stored in a storage medium, bagDrawing together some instructions (can be personal computer, server or network in order to make a computer equipmentEquipment etc.) carry out all or part of of method described in the present invention each embodiment. And aforesaid storage medium bagDraw together: the various media that can be program code stored such as movable storage device, ROM, magnetic disc or CD.
The above be only the specific embodiment of the present invention, but protection scope of the present invention is not limited toThis, any be familiar with those skilled in the art the present invention disclose technical scope in, can expect easilyChange or replace, within all should being encompassed in protection scope of the present invention. Therefore, protection scope of the present invention shouldProtection domain with described claim is as the criterion.

Claims (20)

1. a video frequency abstract processing method, is characterized in that, described method comprises:
Described terminal is obtained the first operation of user, and described the first operation is used for showing whether need displaying videoSummary;
Described terminal, based on described the first operation, judges whether to need displaying video summary, obtains the first judgementResult;
In the time that described the first judged result shows to need displaying video summary, described terminal to server request is lookedFrequently summary;
Described terminal receives the video frequency abstract that described server sends, and plays described video frequency abstract.
2. method according to claim 1, is characterized in that, between described terminal and described serverAdopt streaming media HLS agreement;
Accordingly, described terminal to server request video frequency abstract, comprising:
Described terminal is to described server request one-level media data index m3u8 file;
Described terminal receives the one-level m3u8 file that described server sends, and described one-level m3u8 file comprisesAt least comprise the file of a code check;
Described terminal is according to self bandwidth selection the first code check, and described the first code check is in one-level m3u8 fileA code check in described different code check;
Described terminal sends the identification information of described the first code check to described server;
Accordingly, the video frequency abstract that described terminal reception server sends, and play described video frequency abstract, bagDraw together:
Described terminal receives the first secondary m3u8 file that described server sends, described the first secondary m3u8File is the secondary m3u8 file corresponding with described the first code check;
Described terminal is according to the uniform resource position mark URL address acquisition in described the first secondary m3u8 fileVideo data ts burst;
Described terminal is according to ts burst corresponding to played in order in described the first secondary m3u8 file.
3. method according to claim 1, is characterized in that, between described terminal and described serverAdopt streaming media HLS agreement;
Accordingly, described terminal to server request video frequency abstract, comprising:
Described terminal to described server request one-level media data index m3u8 file and with described one-levelThe secondary m3u8 file that m3u8 file is corresponding;
Described terminal receive one-level m3u8 file that described server sends and with described one-level m3u8 fileCorresponding secondary m3u8 file;
Described terminal is according to self bandwidth selection the first code check, and described the first code check is in one-level m3u8 fileA code check in described different code check;
Accordingly, the video frequency abstract that described terminal reception server sends, and play described video frequency abstract, bagDraw together:
Described terminal, according to the identification information of described the first code check, is determined the first secondary m3u8 file;
Described terminal, according to the uniform resource position mark URL address in described the first secondary m3u8 file, obtainsGet video data ts burst, described the first secondary m3u8 file is the secondary corresponding with described the first code checkM3u8 file;
Described terminal is according to ts burst corresponding to played in order in described the first secondary m3u8 file.
4. method according to claim 1, is characterized in that, described method also comprises:
In the time that described the first judged result shows not need displaying video summary, described terminal to server requestVideo main body.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, described in playing, lookFrequently summary, described method also comprises:
Described terminal is obtained the second operation of user, and described the second operation is used for selecting displaying video to make a summary stillVideo main body;
Described terminal, based on described the second operation, judges displaying video summary or video main body, obtains firstJudged result;
In the time that described the second judged result shows to need displaying video summary, described terminal to server request is lookedFrequently summary;
In the time that described the second judged result shows to need displaying video main body, described terminal to server request is lookedFrequently main body.
6. a video frequency abstract processing method, is characterized in that, described method comprises:
Video main body is divided into video data ts burst by described server, analyzes the feature letter of each ts burstBreath, the ts burst generating video that meets preset requirement according to described characteristic information is made a summary;
Described server record is for generating the identification information of each ts burst of described video frequency abstract and suitableOrder;
Described server obtains the URL address of the each ts burst in described video frequency abstract;
Described server generates the one-level m3u8 file of described video frequency abstract;
Described server is according to the mark of the URL address of the each ts burst in described video frequency abstract, ts burstInformation and order, generate the secondary m3u8 file corresponding with described one-level m3u8 file.
7. method according to claim 6, is characterized in that, described server generates described video and plucksThe one-level m3u8 file of wanting, comprising:
Described server obtains the one-level m3u8 file of video main body, as having not of described video frequency abstractWith the one-level m3u8 file of code check;
Accordingly, described server is according to URL address, the ts of the each ts burst in described video frequency abstractThe identification information of burst and order, generate the secondary m3u8 file corresponding with described one-level m3u8 file, bagDraw together:
Described server is by the mark letter of the URL address of the each ts burst in described video frequency abstract, ts burstCease and order, write the front portion of the secondary m3u8 file corresponding with the one-level m3u8 file of described video main body,To make terminal first get video frequency abstract in the time asking video main body.
8. method according to claim 6, is characterized in that, described server generates described video and plucksThe one-level m3u8 file of wanting, comprising:
Described server, according to the code rate information of video main body, generates the one-level m3u8 literary composition of described video frequency abstractPart.
9. according to the method described in claim 6 to 8 any one, it is characterized in that, described method also comprises:
Described server sends video frequency abstract according to the request of terminal to described terminal, and described request is used for to instituteState terminal and send video frequency abstract.
10. method according to claim 9, is characterized in that, described server and described terminal itBetween adopt streaming media HLS agreement;
Accordingly, described server sends video frequency abstract according to the request of terminal to described terminal, comprising:
Described server sends one-level m3u8 file and with described according to the request of described terminal to described terminalThe secondary m3u8 file that one-level m3u8 file is corresponding;
Or,
Described server sends one-level m3u8 file according to the request of described terminal to described terminal;
The identification information of the one-level m3u8 file that described server sends according to terminal, obtains and transmission and instituteState the secondary m3u8 file that one-level m3u8 file is corresponding.
11. 1 kinds of video frequency abstract treating apparatus, is characterized in that, described device comprises terminal, described terminalComprise the first acquiring unit, the first judging unit, request unit and processing unit, wherein:
Described the first acquiring unit, for obtaining the first operation of user, described the first operation is used for being shown to beThe no displaying video summary that needs;
Described the first judging unit, for based on described the first operation, judges whether to need displaying video summary,Obtain the first judged result; When described the first judged result shows to need displaying video when summary, described in triggeringRequest unit;
Described request unit, for to server request video frequency abstract;
Described processing unit, the video frequency abstract sending for receiving described server, and play described video and pluckWant.
12. devices according to claim 11, is characterized in that, described terminal and described server itBetween adopt streaming media HLS agreement;
Accordingly, described request unit comprise the first request module, the first receiver module, first select module,The second request module, wherein:
Described the first request module, for to described server request one-level media data index m3u8 file;
Described the first receiver module, the one-level m3u8 file sending for receiving described server;
Described first selects module, and for according to self bandwidth selection the first code check, described the first code check is oneA code check in different code checks described in level m3u8 file;
Described the second request module, for sending the identification information of the first code check to described server;
Accordingly, described processing unit comprises the second receiver module, the first acquisition module and the first playing module,Wherein:
Described the second receiver module, the first secondary m3u8 file sending for receiving described server, instituteStating the first secondary m3u8 file is the secondary m3u8 file corresponding with described the first code check;
Described the first acquisition module, for locating according to the unified resource of described the first secondary m3u8 fileSymbol URL address acquisition video data ts burst;
Described the first playing module, for according to the played in order correspondence of described the first secondary m3u8 fileTs burst.
13. devices according to claim 11, is characterized in that, described terminal and described server itBetween adopt streaming media HLS agreement;
Accordingly, described request unit comprises the 3rd request module, the 3rd receiver module and the second selection module,Wherein:
Described the 3rd request module, for to described server request one-level media data index m3u8 fileWith the secondary m3u8 file corresponding with described one-level m3u8 file;
Described the 3rd receiver module, for receive one-level m3u8 file that described server sends and with instituteState the secondary m3u8 file that one-level m3u8 file is corresponding;
Described second selects module, and for according to self bandwidth selection the first code check, described the first code check is oneA code check in different code checks described in level m3u8 file;
Accordingly, described processing unit comprises determination module, the second acquisition module and the second playing module, itsIn:
Described determination module, for according to the identification information of described the first code check, determines the first secondary m3u8File;
Described the second acquisition module, for locating according to the unified resource of described the first secondary m3u8 fileSymbol URL address, obtains video data ts burst, and described the first secondary m3u8 file is and described first yardThe secondary m3u8 file that rate is corresponding;
Described the second playing module, for according to the played in order correspondence of described the first secondary m3u8 fileTs burst.
14. devices according to claim 11, is characterized in that, described request unit, also for working asWhen described the first judged result shows not need displaying video summary, described terminal to server request video masterBody.
15. according to claim 11 to the device described in 14 any one, it is characterized in that, playingState video frequency abstract, described terminal also comprises second acquisition unit and the second judging unit, wherein:
Described second acquisition unit, for obtaining the second operation of user, described the second operation is broadcast for selectingPut video frequency abstract or video main body;
Described the second judging unit, for based on described the second operation, judges displaying video summary or videoMain body, obtains the first judged result; In the time that described the second judged result shows to need displaying video summary, instituteState and trigger described request unit to server request video frequency abstract; When described the second judged result shows to broadcastWhile putting video main body, trigger described request unit to server request video main body.
16. 1 kinds of video frequency abstract treating apparatus, is characterized in that, described device comprises server, described clothesBusiness device comprises the first generation unit, record cell, the 3rd acquiring unit, the second generation unit and the 3rd generationUnit, wherein:
Described the first generation unit, for video main body being divided to video data ts burst, analyzes each ts and dividesThe characteristic information of sheet, the ts burst generating video that meets preset requirement according to described characteristic information is made a summary;
Described record cell, for recording for the identification information of each ts burst of described video frequency abstract andSequentially;
Described the 3rd acquiring unit, for obtaining the URL address of each ts burst of described video frequency abstract;
Described the second generation unit, for generating the one-level m3u8 file of described video frequency abstract;
Described the 3rd generation unit, for according to the URL address of each ts burst of described video frequency abstract,The identification information of ts burst and order, generate the secondary m3u8 file corresponding with described one-level m3u8 file.
17. devices according to claim 16, is characterized in that, described the second generation unit, forObtain the one-level m3u8 file of video main body, as the one-level with different code checks of described video frequency abstractM3u8 file;
Accordingly, described the 3rd generation unit, for by the URL of each ts burst of described video frequency abstractThe identification information of address, ts burst and order, write corresponding with the one-level m3u8 file of described video main bodyThe front portion of secondary m3u8 file, to make terminal first get video frequency abstract when the request video main body.
18. devices according to claim 16, is characterized in that, described the second generation unit, forDescribed server, according to the code rate information of video main body, generates the one-level m3u8 file of described video frequency abstract.
19. according to claim 16 to the device described in 18 any one, it is characterized in that described serverAlso comprise transmitting element, for sending video frequency abstract according to the request of terminal to described terminal, described request is usedSend video frequency abstract in request server to described terminal.
20. devices according to claim 19, is characterized in that, described server and described terminal itBetween adopt streaming media HLS agreement;
Accordingly, described transmitting element, for sending one-level according to the request of described terminal to described terminalM3u8 file and the secondary m3u8 file corresponding with described one-level m3u8 file;
Or described transmitting element comprises the first sending module and the second sending module, wherein:
Described the first sending module, for sending one-level m3u8 according to the request of described terminal to described terminalFile;
Described the second sending module, for according to the identification information of the one-level m3u8 file of terminal transmission, obtainsGet and secondary m3u8 file that transmission is corresponding with described one-level m3u8 file.
CN201410564633.5A 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device Active CN105592369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410564633.5A CN105592369B (en) 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410564633.5A CN105592369B (en) 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device

Publications (2)

Publication Number Publication Date
CN105592369A true CN105592369A (en) 2016-05-18
CN105592369B CN105592369B (en) 2019-11-05

Family

ID=55931529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410564633.5A Active CN105592369B (en) 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device

Country Status (1)

Country Link
CN (1) CN105592369B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360476A (en) * 2017-08-31 2017-11-17 苏州科达科技股份有限公司 Video abstraction generating method and device
CN108228829A (en) * 2018-01-03 2018-06-29 北京百度网讯科技有限公司 For generating the method and apparatus of information
CN108305622A (en) * 2018-01-04 2018-07-20 海尔优家智能科技(北京)有限公司 A kind of audio summary texts creation method and its creating device based on speech recognition
CN108900851A (en) * 2018-06-19 2018-11-27 中兴通讯股份有限公司 The transmission method of file, the playback method and device of video are described
CN111614744A (en) * 2020-05-15 2020-09-01 武汉麦子科技有限公司 Large file downloading and transmitting method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003065728A2 (en) * 2002-01-31 2003-08-07 Matsushita Electric Industrial Co., Ltd. Video digest system and method as well as medium and program therefor
US20120042041A1 (en) * 2010-08-11 2012-02-16 Sony Corporation Information processing apparatus, information processing system, information processing method, and program
CN102487456A (en) * 2009-11-30 2012-06-06 国际商业机器公司 Method for providing visit rate of online video and device thereof
CN102724550A (en) * 2012-06-12 2012-10-10 北京奇艺世纪科技有限公司 Video playback method and device
CN102819528A (en) * 2011-06-10 2012-12-12 中国电信股份有限公司 Method and device for generating video abstraction
CN104093045A (en) * 2014-07-17 2014-10-08 百视通网络电视技术发展有限责任公司 Method and system for processing OTT TV playing request based on source return

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003065728A2 (en) * 2002-01-31 2003-08-07 Matsushita Electric Industrial Co., Ltd. Video digest system and method as well as medium and program therefor
CN102487456A (en) * 2009-11-30 2012-06-06 国际商业机器公司 Method for providing visit rate of online video and device thereof
US20120042041A1 (en) * 2010-08-11 2012-02-16 Sony Corporation Information processing apparatus, information processing system, information processing method, and program
CN102819528A (en) * 2011-06-10 2012-12-12 中国电信股份有限公司 Method and device for generating video abstraction
CN102724550A (en) * 2012-06-12 2012-10-10 北京奇艺世纪科技有限公司 Video playback method and device
CN104093045A (en) * 2014-07-17 2014-10-08 百视通网络电视技术发展有限责任公司 Method and system for processing OTT TV playing request based on source return

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
R.PANTOS,ED: "《HTTP Live Streaming draft-pantos-http-live-streaming-00, https://tools.ietf.org/html/draft-pantos-http-live-streaming-00》", 《IETF INTERNET DRAFT》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360476A (en) * 2017-08-31 2017-11-17 苏州科达科技股份有限公司 Video abstraction generating method and device
CN107360476B (en) * 2017-08-31 2019-09-20 苏州科达科技股份有限公司 Video abstraction generating method and device
CN108228829A (en) * 2018-01-03 2018-06-29 北京百度网讯科技有限公司 For generating the method and apparatus of information
CN108228829B (en) * 2018-01-03 2022-01-11 北京百度网讯科技有限公司 Method and apparatus for generating information
CN108305622A (en) * 2018-01-04 2018-07-20 海尔优家智能科技(北京)有限公司 A kind of audio summary texts creation method and its creating device based on speech recognition
CN108900851A (en) * 2018-06-19 2018-11-27 中兴通讯股份有限公司 The transmission method of file, the playback method and device of video are described
WO2019242142A1 (en) * 2018-06-19 2019-12-26 南京中兴软件有限责任公司 Description file transmission method and video playing method and device
CN111614744A (en) * 2020-05-15 2020-09-01 武汉麦子科技有限公司 Large file downloading and transmitting method

Also Published As

Publication number Publication date
CN105592369B (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN104081787B (en) Receiving device, method of reseptance, sending device and sending method
CN103379362B (en) VOD method and system
US9716908B2 (en) Distributing media content via media channels based on associated content being provided over other media channels
JP6219022B2 (en) Broadcast receiving apparatus, related information providing method, computer program, and storage medium
CN100385424C (en) Information processing apparatus and content information processing method
CN105657498A (en) Video recording method and device of mobile terminal
CN101715104B (en) Network interaction reading system and method for user and content management
CN105592369A (en) Video abstract processing method and device
CN106489150A (en) For recognize and preserve media asset a part system and method
CN101467451A (en) Method for displaying a mosaic image in a receiver for the selection of audiovisual programs, receivers and related servers
CN101960445A (en) Techniques to consume content and metadata
CN102460412A (en) System and method for managing and/or rendering internet multimedia content in a network
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
CN104185039A (en) Method and device for audio and video synchronous playing
CN103096182A (en) Network television program information sharing method and system
CN104471914A (en) Content-specific identification and timing behavior in dynamic adaptive streaming over hypertext transfer protocol
US20100138655A1 (en) Terminal apparatus and operation information collecting system
CN104168507A (en) Video playing method, video processing device and browsing device
CN109660858A (en) Transmission method, device, terminal and the server of direct broadcasting room interaction data
CN101656688B (en) Method, system and device for displaying instant messages
CN109522462A (en) A kind of cloud querying method, device, equipment and storage medium based on block chain
CN107615774A (en) Reception device, dispensing device and data processing method
CN103873956A (en) Media file playing method and system, player, terminal and media storage platform
CN103139601B (en) The implementation method of IPTV service and device
CN105872857B (en) Video processing method and device and electronic equipment

Legal Events

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