CN105763960A - Method and apparatus for network video playing - Google Patents

Method and apparatus for network video playing Download PDF

Info

Publication number
CN105763960A
CN105763960A CN201610115025.5A CN201610115025A CN105763960A CN 105763960 A CN105763960 A CN 105763960A CN 201610115025 A CN201610115025 A CN 201610115025A CN 105763960 A CN105763960 A CN 105763960A
Authority
CN
China
Prior art keywords
video
key frame
play
video segment
segment data
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
CN201610115025.5A
Other languages
Chinese (zh)
Other versions
CN105763960B (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.)
Poly Polytron Technologies Inc
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201610115025.5A priority Critical patent/CN105763960B/en
Publication of CN105763960A publication Critical patent/CN105763960A/en
Application granted granted Critical
Publication of CN105763960B publication Critical patent/CN105763960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Abstract

An embodiment of the invention provides a method and apparatus for network video playing. The method comprises the steps of acquiring a key frame file of a video when detecting a trigger operation for the video from a user; determining key frame information that the video requires to play based on the key frame file; acquiring video slice data corresponding the key frame information required to play; and playing the video slice data. The invention can download the video slice data according to the key frame information as needed, without downloading the whole video file, thereby saving bandwidth resources, improving the video download progress, reducing the video load time, achieving fast access to the network video and enhancing the user experience.

Description

The method and apparatus that a kind of Internet video is play
Technical field
The present invention relates to video display arts field, particularly relate to the method for a kind of Internet video broadcasting and the device of a kind of Internet video broadcasting.
Background technology
Along with the development of computer and Internet technology, the raising of bandwidth, network video service obtains constantly development and extensively universal.People are when webpage watches video, and the requirement for video is also more and more higher, and the quickly access of video and the dragging relevant to when video playback require also more and more higher, and improvement and the raising of this video display arts are had higher requirement.
Storage scheme currently for Internet video resource mainly has two kinds, and a kind of is the storage of a complete big video;Another kind is the small video storage having be carried out video segment.For the first scheme, big video, when playing, first has to foradownloaded video, is then decoded video analyzing, and the dragging then carrying out being correlated with is play;For first scheme, the broadcasting to the video cut into slices, being primarily directed in the broadcasting of mobile terminal (andriod system and ios system) video, video playback is only energy played in order, and dragging to play needs other flow process to realize.
Summary of the invention
In view of the above problems, it is proposed that the embodiment of the present invention in case provide a kind of overcome the problems referred to above or solve at least in part the problems referred to above a kind of Internet video play method and corresponding a kind of Internet video play device.
In order to solve the problems referred to above, the embodiment of the invention discloses a kind of method that Internet video is play, described method includes:
When user being detected for the trigger action of video, obtain the key frame file of described video;
Based on described key frame file, it is determined that described video needs the key frame information play;
Obtain the video segment data corresponding with the described key frame information needing to play;
Play described video segment data.
The embodiment of the invention also discloses the device that a kind of Internet video is play, described device includes:
Key frame file acquisition module, for when user being detected for the trigger action of video, obtaining the key frame file of described video;
Key frame information determines module, for based on described key frame file, it is determined that described video needs the key frame information play;
Video segment data acquisition module, for obtaining the video segment data corresponding with the described key frame information needing to play;
Video playback module, is used for playing described video segment data.
The embodiment of the present invention includes advantages below:
In embodiments of the present invention, can determine that video needs the key frame information play according to the key frame file of video, and the key frame information play according to these needs obtains corresponding video segment data, and play this video segment data so that client can according to the on-demand foradownloaded video slice of data of key frame information, without downloading whole video file, save bandwidth resources, improve video download progress, reduce the video load time, realize the quick access of Internet video, promote Consumer's Experience.
Further, the video segment data of the embodiment of the present invention can be play at mobile terminal and PC end, enriches the one kind broadcasts carriers of video segment data, and facilitates docking and video acceleration of client and third party's service platform.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the embodiment of the method one of a kind of Internet video broadcasting of the present invention;
Fig. 2 is the flow chart of steps of the embodiment of the method two of a kind of Internet video broadcasting of the present invention;
Fig. 3 is the structured flowchart of the device embodiment of a kind of Internet video broadcasting of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
One of core idea of the embodiment of the present invention is in that, during user's first time playing network video, client first asks key frame file, client resolves the key frame file of video, and the needs according to user determine key frame information to be played from key frame file, and, from third party's service platform and/or server, ask the video segment data corresponding with this key frame information to be played, by this video segment data playback to user.
With reference to Fig. 1, it is shown that the flow chart of steps of the embodiment of the method one that a kind of Internet video of the present invention is play, specifically may include steps of:
Step 101, when user being detected for the trigger action of video, obtains the key frame file of described video;
Step 102, based on described key frame file, it is determined that described video needs the key frame information play;
Step 103, obtains the video segment data corresponding with the described key frame information needing to play;
Step 104, plays described video segment data.
In embodiments of the present invention, can determine that video needs the key frame information play according to the key frame file of video, and the key frame information play according to these needs obtains corresponding video segment data, and play this video segment data, enable a client to according to the on-demand foradownloaded video slice of data of key frame information, without downloading whole video file, thus saving bandwidth resources, improve video download progress, reduce the video load time, realize the quick access of Internet video, promote Consumer's Experience.
With reference to Fig. 2, it is shown that the flow chart of steps of the embodiment of the method two that a kind of Internet video of the present invention is play, specifically may include steps of:
Step 201, when user being detected for the trigger action of video, generates video playback request, and sends the request of described video playback to third party's service platform and/or server;
In implementing, user is to the clicking operation that the trigger action of video can be the video labeling represented in user's client to video playback.Wherein, video playback client can include the client of video playback application program, such as video APP client, browser client etc..
When client detects user to the trigger action of video, it is possible to determine the video labeling of this video being triggered according to this trigger action, based on this video labeling, client can generate video playback request, and the request of this video playback can include video labeling.
Meanwhile, client can also judge this video playback application program whether add-on third party service platform, and as a kind of example, this third party's service platform can include CDN (ContentDeliveryNetwork, content distributing network) service platform.
If this video playback application program adds CDN service platform, then can pass through DNS (DomainNameSystem, domain name system) redirecting technique and determine the best CDN node closest to user, this node be pointed in video playback request simultaneously.When video playback request arrives and specifies node, the video labeling that the server of CDN can carry in asking according to this video playback judges whether CDN this locality stores the key frame file corresponding with this video labeling, if existing, then directly this key frame file is returned client;If CDN this locality does not store the key frame file corresponding with this video labeling, then the request of this video playback is sent to server by the server of CDN.
If this video playback application program does not add CDN service platform, then the request of this video playback is directly sent to server by client.
In server side, after the video playback request that the server receiving client or CDN sends, the storage catalogue that this video labeling is corresponding can be searched according to video labeling, and from this storage catalogue, obtain the key frame file of this video, this key frame file is returned in the server of client or CDN.
After the server of CDN receives key frame file, at CDN this key frame file locally stored, then receive next time for, after the video playback request of same video, directly obtaining key frame file from this locality and return client, such that it is able to improve client to obtain the speed of key frame file.
It is applied to the embodiment of the present invention, key frame file can include all key frame informations (Keyframe) in video, wherein, key frame refers to that frame residing for key operations in role or object of which movement or change, as a kind of example, key frame information can include the play time of key frame corresponding to this key frame information, and the storage position of video data corresponding to current play time point.
In implementing, the program qt-faststart that server can pass through to increase income obtains the key frame information of video.
The video of this key frame file and correspondence can be stored under the same first class catalogue of the shared storage of server.
Specifically, video stores in the server in the way of video file.User can pass through user end to server uploaded videos file, after server receives video file, it is possible to be stored in by video file in the shared storage of server.In shared storage, server can also to video file according to video code conversion parameter set in advance, and the interface function calling coding and decoding video storehouse realizes the transcoding process of video file.
A kind of preferred exemplary as the embodiment of the present invention, video code conversion parameter set in advance can include code check, resolution etc., this video code conversion parameter can be preset by developer, it is also possible to is set by User Defined, the embodiment of the present invention to this without being any limitation as.
In embodiments of the present invention, server is after the transcoding carrying out video file processes, it is also possible to obtains the key frame information of this video file, and is saved in key frame file by all key frame informations.
After obtaining key frame file, it is also possible to this key frame file is carried out form conversion, to convert this key frame file to form that front-end client can resolve.
In practice, key frame file can be an xml document (for example, it is possible to being expressed as meta.xml), and as a kind of preferred exemplary of the embodiment of the present invention, completing the key frame file after form conversion can be expressed as follows:
Wherein, time represents the play time of transcoding rear video key frame, and bytes represents the storage position of the video data that current play time point is corresponding.
In implementing, key frame file is except comprising key frame information, it is also possible to include this video file the total duration of broadcasting and, the incidence relation of the key frame information of the multiple time schedules required broadcasting corresponding with described time schedule preset.
Further, each time schedule includes the time from default initial play time to the play time terminated, for instance, time schedule can be 0 second-1.5 seconds, 1.5 seconds-1.73 seconds, 1.73 seconds-3.27 seconds, etc..
Accordingly, the key frame information of the required broadcasting corresponding with time schedule includes initial play position and terminates play position, wherein, the storage position of the video data that play time that initial play position is initial is corresponding, terminate storage position that play position is video data corresponding to play time terminated such as, Preset Time progress is 0 second to 1.5 seconds, and the initial play position of its correspondence is 675, and terminating play position is 1531;Preset Time progress is 1.5 seconds to 1.73 seconds, and the initial play position of its correspondence is 1531, and terminating play position is 197216;Preset Time progress is 1.73 seconds to 3.27 seconds, and the initial play position of its correspondence is 197216, and terminating play position is 274405, etc..
Step 202, receives described third party's service platform and/or the key frame file corresponding with described video labeling of described server return;
After third party's service platform and/or described server obtain the key frame file corresponding with video labeling, it is possible to this key frame file is returned client, then client can obtain this key frame file.
Step 203, based on described key frame file, it is determined that described video needs the key frame information play;
In the key frame file of video, storage has multiple key frame information, and the embodiment of the present invention can extract the key frame information that video needs to play from this key frame file.
In a kind of preferred embodiment of the embodiment of the present invention, step 203 can include following sub-step:
Sub-step S11, represents total for described broadcasting duration in the way of playing progress bar;
After client knows the total duration of broadcasting of video, it is possible to generating playing progress bar according to the total duration of this broadcasting, the concrete mode generating progress bar is referred to general progress bar generating mode, and this is not limited as by the embodiment of the present invention.
After generating playing progress bar, it is possible to this playing progress bar is represented in the client.
User can perform the drag operations such as left and right dragging in this playing progress bar, with on-demand broadcasting video.
Sub-step S12, when user being detected to the drag operation of described playing progress bar, based on described key frame file, obtains time schedule residing in progress bar when described drag operation stops;
If user performs drag operation on a progress bar, when this drag operation stops, client can obtain progress bar time point residing when this drag operation stops, then in all play time of key frame file, progress bar time point residing when this drag operation stops is mated, it is thus achieved that corresponding some match time.Subsequently, all default time schedules are mated this of some match time, when the future time progress after putting in described match time is stopped as described drag operation in progress bar residing for time schedule.Such as, match time, point was 1.73 seconds, then the future time progress after this match time of point is 1.73 seconds to 3.27 seconds, and time schedule residing in progress bar when namely drag operation stops is 1.73 seconds to 3.27 seconds.
Further, above-mentioned in all play time of key frame file, mate residing progress bar time point when this drag operation stops, obtain corresponding some match time, it is specifically as follows: if all play time exist the time point that progress bar time point residing when stopping with this drag operation is identical, then using this identical time point as some match time;If all play time are absent from the time point that progress bar time point residing when stopping with this drag operation is identical, then using next play time after the progress bar time point residing when this drag operation stops as some match time.Such as, if residing progress bar time point is 1.70 seconds when drag operation stops, and in play time and be absent from 1.70 seconds, only exist 1.50 seconds, 1.73 seconds, then can using 1.73 seconds as some match time.
Sub-step S13, obtains the key frame information play required with described residing time schedule, needs the key frame information play as described video.
After the time schedule residing in progress bar when determining that drag operation stops, can according to the incidence relation of the key frame information of the multiple time schedules required broadcasting corresponding with described time schedule preset in this key frame file, obtain the key frame information of required broadcasting corresponding to time schedule residing in progress bar when stopping with this drag operation, need the key frame information play as video.
It should be noted that, if being not detected by the drag operation of user in embodiments of the present invention, then can according to progress bar progress, according to the incidence relation of the key frame information of the multiple time schedules required broadcasting corresponding with described time schedule preset in key frame file, the key frame information of required broadcasting corresponding for the future time progress of current time progress is needed as video the key frame information of broadcasting.
Step 204, obtains the video segment data corresponding with the described key frame information needing to play;
It is applied to the embodiment of the present invention, it is determined that after video needs broadcasting key frame information, it is possible to only obtain video segment data corresponding with the key frame information that these needs are play and play out, without downloading whole video file.
In a kind of preferred embodiment of the embodiment of the present invention, if video playback application program add-on third party service platform, step 204 can include following sub-step:
Sub-step S21, the termination play position corresponding based on the described key frame information needing initial play position corresponding to key frame information play, described needs to play and described video labeling generate video segment mark;
After determining that video needs the key frame information play, the initial play position of correspondence can be extracted further from the key frame information that these needs are play and terminate play position, obtaining from initial play position to the video segment data terminated play position.Such as, if user drags progress bar to 1.73 seconds and stops, then the time schedule that can obtain this dragging stopping is 1.73 seconds to 3.27 seconds, then the initial play position obtaining correspondence is 197216, and terminating play position is 274405.
After obtaining initial play position and the termination play position of the video that needs are play, it is possible to according to this initial play position and termination play position, and the video labeling of this video, generate video segment and identify.Such as, according to this initial play position and termination play position, and the video labeling of this video, obtain video segment mark by MD5 algorithm.
Sub-step S22, generates video request information based on described video segment mark, and sends described video request information to third party's service platform;
Described third party's service platform is for searching whether in this locality to there is described video segment mark;If existing, then return the video segment data that described video segment mark is corresponding;If being absent from, then described video request information is sent to server, described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data to third party's service platform, by described third party's service platform in locally stored described video segment data, and described video segment data are returned client.
Specifically, after client generates video segment mark, it is possible to generate video request information based on this video segment mark, this video request information includes video segment mark.
If video playback application program adds CDN service platform, then client can determine the best CDN node closest to user by DNS redirecting technique, simultaneously by this node of video request information points.When video request information arrives and specifies node, according to the video segment mark carried in this video request information, the server of CDN can judge whether CDN this locality stores the video segment data corresponding with this video segment mark, if existing, then directly these video segment data are returned client;If CDN this locality does not store the video segment data corresponding with this video segment mark, then this video request information is sent to server by the server of CDN.
In server side, when obtaining after video request information, it is possible to obtain corresponding video segment mark, and resolve this video segment mark, it is thus achieved that initial play position that corresponding video labeling, this video labeling are corresponding and terminate play position.Subsequently, server can position the storage catalogue of correspondence according to this video labeling in shared drive, and intercepts in the video file of storage from initial play position to the video segment data terminated play position from this storage catalogue.
After server obtains video segment data, these video segment data are returned third-party server platform, after third party's service platform receives video segment data, client is returned in these video segment data locally stored and by these video segment data, so, when third party's service platform receives the video request information identified for same video segment next time, it is possible to directly obtain these video segment data from this locality and return client.Adopt the method obtaining video segment data of the embodiment of the present invention, it is possible to facilitate docking of client and third party's service platform, raising video playback speed.
Sub-step S23, receives the video segment data corresponding with described video request information that described third party's service platform returns.
In the another kind of preferred embodiment of the embodiment of the present invention, if video playback application program does not have add-on third party service platform, step 204 can include following sub-step:
Sub-step S31, the termination play position corresponding based on the described key frame information needing initial play position corresponding to key frame information play, described needs to play and described video labeling generate video segment mark;
After determining that video needs the key frame information play, the initial play position of correspondence can be extracted further from the key frame information that these needs are play and terminate play position, obtaining from this initial play position to the video segment data terminated play position.
After obtaining initial play position and the termination play position of the video that needs are play, it is possible to according to this initial play position and termination play position, and the video labeling of this video, generate video segment and identify.
Sub-step S32, generates video request information based on described video segment mark, and sends described video request information to server;
Described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data.
Specifically, after client generates video segment mark, it is possible to generate video request information based on this video segment mark, this video request information includes video segment mark.
If video playback application program does not add CDN service platform, then this video request information can be sent to server by client.In server side, when obtaining after video request information, it is possible to obtain video segment identifies, and resolve this video segment mark, it is thus achieved that initial play position that corresponding video labeling, this video labeling are corresponding and terminate play position.Subsequently, server can position the storage catalogue of correspondence according to this video labeling in shared drive, and intercepts in the video file of storage from initial play position to the video segment data terminated play position from this storage catalogue.
After server obtains video segment data, these video segment data are returned client.
Sub-step S33, receives the video segment data corresponding with described video request information that described server returns.
Step 205, plays described video segment data.
Client plays this video segment data after receiving the video segment data of server or the return of third party's service platform according to the order of sequence.
In embodiments of the present invention, when user being detected for the trigger action of video, client can generate video playback request, and from third party's service platform and/or server, the key frame file of this video is obtained according to the request of this video playback, according to this key frame file, client determines that video needs the key frame information play further, and the key frame information play according to these needs obtains the video segment data of correspondence from third party's service platform and/or server, and play this video segment data, enable a client to according to the on-demand foradownloaded video slice of data of key frame information, without downloading whole video file, save bandwidth resources, improve video download progress, reduce the video load time, realize the quick access of Internet video, promote Consumer's Experience.
Further, the video segment data of the embodiment of the present invention can be play at mobile terminal and PC end, enriches the one kind broadcasts carriers of video segment data, and convenient docking and video acceleration with third party's service platform.
It should be noted that, for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 3, it is shown that the structured flowchart of the device embodiment that a kind of Internet video of the present invention is play, specifically can include such as lower module:
Key frame file acquisition module 301, for when user being detected for the trigger action of video, obtaining the key frame file of described video;
Key frame information determines module 302, for based on described key frame file, it is determined that described video needs the key frame information play;
Video segment data acquisition module 303, for obtaining the video segment data corresponding with the described key frame information needing to play;
Video playback module 304, is used for playing described video segment data.
In a kind of preferred embodiment of the embodiment of the present invention, described key frame file acquisition module 301 can include following submodule:
Video playback request generates submodule, for when user being detected for the trigger action of video, generation video playback is asked, and sends the request of described video playback to third party's service platform and/or server, and the request of described video playback includes the video labeling of described video;
Key frame file reception submodule, for receiving described third party's service platform and/or the key frame file corresponding with described video labeling of described server return.
In a kind of preferred embodiment of the embodiment of the present invention, described key frame file and described video are stored under the same storage catalogue of server.
In a kind of preferred embodiment of the embodiment of the present invention, described key frame file includes multiple key frame informations of described video, and described key frame information includes the play time of key frame corresponding to described key frame information and the storage position of video data corresponding to described play time.
In a kind of preferred embodiment of the embodiment of the present invention, the total duration of broadcasting that described key frame file also includes described video;And, the incidence relation of the key frame information of the required broadcasting that default multiple time schedules are corresponding with described time schedule, wherein, the key frame information play needed for described and described time schedule includes initial play position and terminates play position.
Described key frame information determines that module 302 can include following submodule:
Progress bar represents submodule, for being represented in the way of playing progress bar by total for described broadcasting duration;
Time schedule obtains submodule, for when user being detected to the drag operation of described playing progress bar, based on described key frame file, obtaining time schedule residing in progress bar when described drag operation stops;
Key frame determines submodule, for obtain with described residing time schedule needed for the key frame information play, need the key frame information play as described video.
In a kind of preferred embodiment of the embodiment of the present invention, described video segment data acquisition module 303 can include following submodule:
Video segment mark determines submodule, and the termination play position corresponding for the key frame information of the initial play position corresponding based on the described key frame information needing to play, the broadcasting of described needs and described video labeling generate video segment mark;
Video request information generates submodule, for generating video request information based on described video segment mark, and described video request information is sent to third party's service platform, described third party's service platform is for searching whether in this locality to there is described video segment mark;If existing, then return the video segment data that described video segment mark is corresponding;If being absent from, then described video request information is sent to server, described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data to third party's service platform, by described third party's service platform in locally stored described video segment data, and described video segment data are returned client;
Video segment data receiver submodule, for receiving the video segment data corresponding with described video request information that described third party's service platform returns.
In the another kind of preferred embodiment of the embodiment of the present invention, described video segment data acquisition module 303 can include following submodule:
Video segment mark determines submodule, and the termination play position corresponding for the key frame information of the initial play position corresponding based on the described key frame information needing to play, the broadcasting of described needs and described video labeling generate video segment mark;
Video request information generates submodule, for generating video request information based on described video segment mark, and described video request information is sent to server, described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data;
Video segment data receiver submodule, for receiving the video segment data corresponding with described video request information that described server returns.
For device embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the embodiment of the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The embodiment of the present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, terminal unit (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment so that the instruction performed by the processor of computer or other programmable data processing terminal equipment is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing terminal equipment work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make on computer or other programmable terminal equipment, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable terminal equipment provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of range of embodiment of the invention.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or terminal unit not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or terminal unit.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
The device that the method above a kind of Internet video provided by the present invention play and a kind of Internet video are play, it is described in detail, having serviced specific case herein principles of the invention and embodiment are set forth, the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in detailed description of the invention and service area, in sum, this specification content should not be construed as limitation of the present invention.

Claims (14)

1. the method that an Internet video is play, it is characterised in that described method includes:
When user being detected for the trigger action of video, obtain the key frame file of described video;
Based on described key frame file, it is determined that described video needs the key frame information play;
Obtain the video segment data corresponding with the described key frame information needing to play;
Play described video segment data.
2. method according to claim 1, it is characterised in that described when user being detected for the trigger action of video, the step of the key frame file obtaining described video includes:
When user being detected for the trigger action of video, generating video playback request, and send the request of described video playback to third party's service platform and/or server, the request of described video playback includes the video labeling of described video;
Receive described third party's service platform and/or the key frame file corresponding with described video labeling of described server return.
3. method according to claim 1, it is characterised in that described key frame file and described video are stored under the same storage catalogue of server.
4. the method according to claim 1 or 2 or 3, it is characterized in that, described key frame file includes multiple key frame informations of described video, and described key frame information includes the play time of key frame corresponding to described key frame information and the storage position of video data corresponding to described play time.
5. method according to claim 4, it is characterized in that, the total duration of broadcasting that described key frame file also includes described video, and, the incidence relation of the key frame information of the required broadcasting that default multiple time schedules are corresponding with described time schedule, wherein, the key frame information play needed for described and described time schedule includes initial play position and terminates play position;
Described based on described key frame file, it is determined that described video needs the step of the key frame information play to include:
Total for described broadcasting duration is represented in the way of playing progress bar;
When user being detected to the drag operation of described playing progress bar, based on described key frame file, obtain time schedule residing in progress bar when described drag operation stops;
Obtain the key frame information play required with described residing time schedule, need the key frame information play as described video.
6. method according to claim 5, it is characterised in that the step of the video segment data that described acquisition is corresponding with the described key frame information needing to play includes:
The termination play position corresponding based on the described key frame information needing initial play position corresponding to key frame information play, described needs to play and described video labeling generate video segment mark;
Generating video request information based on described video segment mark, and described video request information sent to third party's service platform, described third party's service platform is for searching whether in this locality to there is described video segment mark;If existing, then return the video segment data that described video segment mark is corresponding;If being absent from, then described video request information is sent to server, described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data to third party's service platform, by described third party's service platform in locally stored described video segment data, and described video segment data are returned client;
Receive the video segment data corresponding with described video request information that described third party's service platform returns.
7. method according to claim 5, it is characterised in that the step of the video segment data that described acquisition is corresponding with the described key frame information needing to play includes:
The termination play position corresponding based on the described key frame information needing initial play position corresponding to key frame information play, described needs to play and described video labeling generate video segment mark;
Video request information is generated based on described video segment mark, and described video request information is sent to server, described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data;
Receive the video segment data corresponding with described video request information that described server returns.
8. the device that an Internet video is play, it is characterised in that described device includes:
Key frame file acquisition module, for when user being detected for the trigger action of video, obtaining the key frame file of described video;
Key frame information determines module, for based on described key frame file, it is determined that described video needs the key frame information play;
Video segment data acquisition module, for obtaining the video segment data corresponding with the described key frame information needing to play;
Video playback module, is used for playing described video segment data.
9. device according to claim 8, it is characterised in that described key frame file acquisition module includes:
Video playback request generates submodule, for when user being detected for the trigger action of video, generation video playback is asked, and sends the request of described video playback to third party's service platform and/or server, and the request of described video playback includes the video labeling of described video;
Key frame file reception submodule, for receiving described third party's service platform and/or the key frame file corresponding with described video labeling of described server return.
10. device according to claim 8, it is characterised in that described key frame file and described video are stored under the same storage catalogue of server.
11. the device described according to Claim 8 or 9 or 10, it is characterized in that, described key frame file includes multiple key frame informations of described video, and described key frame information includes the play time of key frame corresponding to described key frame information and the storage position of video data corresponding to described play time.
12. device according to claim 11, it is characterized in that, the total duration of broadcasting that described key frame file also includes described video, and, the incidence relation of the key frame information of the required broadcasting that default multiple time schedules are corresponding with described time schedule, wherein, the key frame information play needed for described and described time schedule includes initial play position and terminates play position;
Described key frame information determines that module includes:
Progress bar represents submodule, for being represented in the way of playing progress bar by total for described broadcasting duration;
Time schedule obtains submodule, for when user being detected to the drag operation of described playing progress bar, based on described key frame file, obtaining time schedule residing in progress bar when described drag operation stops;
Key frame determines submodule, for obtain with described residing time schedule needed for the key frame information play, need the key frame information play as described video.
13. device according to claim 12, it is characterised in that described video segment data acquisition module includes:
Video segment mark determines submodule, and the termination play position corresponding for the key frame information of the initial play position corresponding based on the described key frame information needing to play, the broadcasting of described needs and described video labeling generate video segment mark;
Video request information generates submodule, for generating video request information based on described video segment mark, and described video request information is sent to third party's service platform, described third party's service platform is for searching whether in this locality to there is described video segment mark;If existing, then return the video segment data that described video segment mark is corresponding;If being absent from, then described video request information is sent to server, described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data to third party's service platform, by described third party's service platform in locally stored described video segment data, and described video segment data are returned client;
Video segment data receiver submodule, for receiving the video segment data corresponding with described video request information that described third party's service platform returns.
14. device according to claim 12, it is characterised in that described video segment data acquisition module includes:
Video segment mark determines submodule, and the termination play position corresponding for the key frame information of the initial play position corresponding based on the described key frame information needing to play, the broadcasting of described needs and described video labeling generate video segment mark;
Video request information generates submodule, for generating video request information based on described video segment mark, and described video request information is sent to server, described server is used for resolving described video segment mark, obtain corresponding initial play position and terminate play position, and from described video, extract the video data from described initial play position to described termination play position as video segment data, and, return described video segment data;
Video segment data receiver submodule, for receiving the video segment data corresponding with described video request information that described server returns.
CN201610115025.5A 2016-03-01 2016-03-01 A kind of method and apparatus that network video plays Active CN105763960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610115025.5A CN105763960B (en) 2016-03-01 2016-03-01 A kind of method and apparatus that network video plays

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610115025.5A CN105763960B (en) 2016-03-01 2016-03-01 A kind of method and apparatus that network video plays

Publications (2)

Publication Number Publication Date
CN105763960A true CN105763960A (en) 2016-07-13
CN105763960B CN105763960B (en) 2019-01-01

Family

ID=56332169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610115025.5A Active CN105763960B (en) 2016-03-01 2016-03-01 A kind of method and apparatus that network video plays

Country Status (1)

Country Link
CN (1) CN105763960B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803999A (en) * 2017-02-14 2017-06-06 北京时间股份有限公司 A kind of video cache processing method, device and server
CN109085995A (en) * 2017-06-14 2018-12-25 中国电信股份有限公司 Storage method, the device and system of data Dynamic Program Slicing
CN109547864A (en) * 2017-09-21 2019-03-29 腾讯科技(深圳)有限公司 Media data processing method and device
CN109714299A (en) * 2017-10-26 2019-05-03 创盛视联数码科技(北京)有限公司 The method that encrypted video plays
CN109819306A (en) * 2018-12-29 2019-05-28 华为技术有限公司 Media file clipping method, electronic device and server
CN110113655A (en) * 2019-05-05 2019-08-09 北京奇艺世纪科技有限公司 A kind of method, apparatus and user terminal of video playing
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading and device
CN110493324A (en) * 2019-07-29 2019-11-22 咪咕视讯科技有限公司 Method for down loading, downloader and computer readable storage medium
WO2020094012A1 (en) * 2018-11-06 2020-05-14 中兴通讯股份有限公司 Streaming media video data processing method and apparatus, and computer device and storage medium
CN111526387A (en) * 2020-03-30 2020-08-11 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN113115120A (en) * 2021-05-27 2021-07-13 武汉斗鱼鱼乐网络科技有限公司 Video slicing method and device, electronic equipment and storage medium
CN113473247A (en) * 2020-03-30 2021-10-01 北京金山云网络技术有限公司 Video playing request processing method, device and system and electronic equipment
CN115314755A (en) * 2022-07-12 2022-11-08 天翼云科技有限公司 Video playing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137302A (en) * 2010-12-09 2011-07-27 华为技术有限公司 Method and device for playing video contents of streaming media
CN103024561A (en) * 2011-09-28 2013-04-03 深圳市快播科技有限公司 Method and device for displaying dragging progress bar
CN105245940A (en) * 2015-10-08 2016-01-13 北京时医康科技发展有限公司 Method and player for online playing high definition videos on narrow bandwidth
CN105282627A (en) * 2014-07-22 2016-01-27 中兴通讯股份有限公司 Method for acquiring a live video clip and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137302A (en) * 2010-12-09 2011-07-27 华为技术有限公司 Method and device for playing video contents of streaming media
CN103024561A (en) * 2011-09-28 2013-04-03 深圳市快播科技有限公司 Method and device for displaying dragging progress bar
CN105282627A (en) * 2014-07-22 2016-01-27 中兴通讯股份有限公司 Method for acquiring a live video clip and server
CN105245940A (en) * 2015-10-08 2016-01-13 北京时医康科技发展有限公司 Method and player for online playing high definition videos on narrow bandwidth

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803999A (en) * 2017-02-14 2017-06-06 北京时间股份有限公司 A kind of video cache processing method, device and server
CN109085995A (en) * 2017-06-14 2018-12-25 中国电信股份有限公司 Storage method, the device and system of data Dynamic Program Slicing
CN109547864A (en) * 2017-09-21 2019-03-29 腾讯科技(深圳)有限公司 Media data processing method and device
CN109547864B (en) * 2017-09-21 2021-05-07 腾讯科技(深圳)有限公司 Media data processing method and device
CN109714299A (en) * 2017-10-26 2019-05-03 创盛视联数码科技(北京)有限公司 The method that encrypted video plays
WO2020094012A1 (en) * 2018-11-06 2020-05-14 中兴通讯股份有限公司 Streaming media video data processing method and apparatus, and computer device and storage medium
CN109819306A (en) * 2018-12-29 2019-05-28 华为技术有限公司 Media file clipping method, electronic device and server
CN109819306B (en) * 2018-12-29 2022-11-04 花瓣云科技有限公司 Media file clipping method, electronic device and server
CN110113655A (en) * 2019-05-05 2019-08-09 北京奇艺世纪科技有限公司 A kind of method, apparatus and user terminal of video playing
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading and device
CN110493324A (en) * 2019-07-29 2019-11-22 咪咕视讯科技有限公司 Method for down loading, downloader and computer readable storage medium
CN111526387A (en) * 2020-03-30 2020-08-11 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN113473247A (en) * 2020-03-30 2021-10-01 北京金山云网络技术有限公司 Video playing request processing method, device and system and electronic equipment
CN111526387B (en) * 2020-03-30 2022-09-23 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN113115120A (en) * 2021-05-27 2021-07-13 武汉斗鱼鱼乐网络科技有限公司 Video slicing method and device, electronic equipment and storage medium
CN113115120B (en) * 2021-05-27 2022-12-23 武汉斗鱼鱼乐网络科技有限公司 Video slicing method and device, electronic equipment and storage medium
CN115314755A (en) * 2022-07-12 2022-11-08 天翼云科技有限公司 Video playing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105763960B (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN105763960A (en) Method and apparatus for network video playing
CN109582644B (en) File storage method, device, equipment and computer readable storage medium
US20210067578A1 (en) Streaming media segments
CN108965907B (en) Method, device and system for playing video
US8589368B1 (en) Media players and download manager functionality
KR20200092249A (en) Method, apparatus and system for slicing live streaming
US9356985B2 (en) Streaming video to cellular phones
CN102055717A (en) Quick playing method, terminal and server
CN104135670A (en) Video playing method and device
CN111625743B (en) Resource loading method and device and electronic equipment
US9584842B2 (en) Method and apparatus for playing multimedia resource
CN105100839A (en) Video file downloading method, device, server and terminal equipment
CN107566477B (en) Method and device for acquiring files in distributed file system cluster
CN110798716A (en) Video highlight playing method and related device
US20170187837A1 (en) Ad download method, the client and the server
CN104333813A (en) Video playing method, device and system
US10299012B2 (en) Descriptive metadata extraction and linkage with editorial content
CN101883079A (en) Method and device used for accelerating to request multimedia contents in internet
CN112449250B (en) Method, device, equipment and medium for downloading video resources
CN103096131A (en) Processing method and processing device of live broadcast stream
CN111385660B (en) Video on demand method, device, equipment and storage medium
CN108182030B (en) Player control hiding method and device
CN104486347A (en) Method and device for pushing multimedia
CN114025199A (en) Live video editing method, device and system
CN110113298A (en) Data transmission method, device, signal server and computer-readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20170213

Address after: 266000 Shandong Province, Qingdao city Laoshan District Songling Road No. 399

Applicant after: Poly Polytron Technologies Inc

Address before: 266100 Laoshan, Qingdao province Hongkong District No. East Road, room 248, room 131

Applicant before: Qingdao Hisense Media Networks Co., Ltd.

GR01 Patent grant
GR01 Patent grant