CN104581374B - A kind of method, node and server for obtaining section file and generating sub- m3u8 files - Google Patents

A kind of method, node and server for obtaining section file and generating sub- m3u8 files Download PDF

Info

Publication number
CN104581374B
CN104581374B CN201410856586.1A CN201410856586A CN104581374B CN 104581374 B CN104581374 B CN 104581374B CN 201410856586 A CN201410856586 A CN 201410856586A CN 104581374 B CN104581374 B CN 104581374B
Authority
CN
China
Prior art keywords
files
file
sub
identification information
section file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410856586.1A
Other languages
Chinese (zh)
Other versions
CN104581374A (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.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN201410856586.1A priority Critical patent/CN104581374B/en
Publication of CN104581374A publication Critical patent/CN104581374A/en
Application granted granted Critical
Publication of CN104581374B publication Critical patent/CN104581374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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 encoded video stream 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/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/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26233Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving content or additional data duration or size, e.g. length of a movie, size of an executable file
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of method, node and server for obtaining section file and generating sub- m3u8 files.The present invention provides it is a kind of obtain section file method, including:Receive the order request of video file;The main m3u8 files of video file are obtained to CDN server according to order request, main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes the identification information of the section file of video file;Corresponding sub- m3u8 files are determined according to the code check of selection;Definite sub- m3u8 files are obtained to CDN server according to the fileinfo of definite sub- m3u8 files;If it is determined that sub- m3u8 files further include storage section file client node identification information, then according to section file identification information to client node obtain section file.The embodiment of the invention also discloses a kind of method, a kind of node and servers for generating sub- m3u8 files.Using the present invention, the time of request downloading video files can be saved, improves downloading video files speed.

Description

A kind of method, node and server for obtaining section file and generating sub- m3u8 files
Technical field
The present invention relates to field of communication technology more particularly to a kind of sides for obtaining section file and generating sub- m3u8 files Method, node and server.
Background technology
Stream media network transmission (HLS, HTTP Live Streaming) agreement is the stream matchmaker based on hypertext transfer protocol The characteristics of body transport protocol, HLS protocol is that video file is carried out section storage, and generates the index m3u8 files of media data And the section file of media data.Wherein m3u8 files be used in the form of playlist organizing together video file with It downloads and plays for multimedia player.M3u8 files include main m3u8 files and sub- m3u8 files, and sub- m3u8 files are used to retouch The fileinfos such as the file name of section file are stated, and main m3u8 files then position for describing the unified resource of sub- m3u8 files It accords with (URL, Uniform Resource Locator).Section file can be stored in reciprocity (P2P, Peer to Peer) network section In point or content distributing network (CDN, Content Delivery Network), and m3u8 files are then stored in CDN service In device.P2P networks are a kind of new communication patterns, can be with direct communication, shared resource and collaborative work between each node. The first new network content service system of CDN is provided based on access to content with the efficiency requirements etc. applied for each node The distribution of content.
Client first obtains the main m3u8 files of video file to CDN server in the prior art, then according to main m3u8 After file gets the sub- m3u8 files specified to CDN server, obtain video file section file file name, then to The index server acquisition of P2P networks includes the list of the P2P nodes of the section file.If the list of the node of the section file Not including the information of any P2P nodes, then client downloads section file to CDN server, if the node of the section file List includes the information of at least one P2P nodes, illustrates that these P2P nodes include the section file, then client is saved to P2P Point downloads the section file.
However, since a video file is usually split as multiple section files, when client needs to download should , it is necessary to include the list of the P2P nodes of each section file to index server acquisition successively during video file, taken to index The request that business device is sent is excessively frequent, so as to extend the time of request downloading video files, reduces downloading video files speed Degree.
The content of the invention
The present invention provides a kind of method, node and server for obtaining section file, can save request downloading video files Time, improve downloading video files speed.
First aspect present invention provides a kind of method for obtaining section file, including:
Receive the order request of video file;
The main m3u8 files of the video file, the main m3u8 texts are obtained to CDN server according to the order request Part includes the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes the section file of the video file Identification information;
Corresponding sub- m3u8 files are determined according to the code check of selection;
The definite sub- m3u8 texts are obtained to the CDN server according to the fileinfo of definite sub- m3u8 files Part;
If the definite sub- m3u8 files further include the identification information for the client node for storing the section file, The section file is obtained to the client node according to the identification information of the section file.
With reference to the realization method of first aspect present invention, in the first possible realization method of first aspect present invention In, if the definite sub- m3u8 files further include the identification information for the client node for storing the section file, The section file is obtained to the client node according to the identification information of the section file, is specifically included:
If the definite sub- m3u8 files further include the mark at least one client node for storing the section file Know information, then the section file is obtained according to the identification information of the section file respectively to each client node;
Alternatively,
If the definite sub- m3u8 files further include the mark at least one client node for storing the section file Information is known, wherein each client node also stores the son section file of the section file, then according to the section file Identification information obtains the son section file of the section file to each client node.
With reference to the realization method of first aspect present invention, in second of possible realization method of first aspect present invention In, the method further includes:
If the definite sub- m3u8 files are without the mark of the client node including the storage section file Information then obtains the section file according to the identification information of the section file to the CDN server.
Second aspect of the present invention provides a kind of method for generating sub- m3u8 files, including:
The request that CDN server is sent according to client sends the main m3u8 files of video file, institute to the client Stating main m3u8 files includes the fileinfo of sub- m3u8 files of different code checks, and every sub- m3u8 file includes the video file Section file identification information;
The CDN server receives the client and is believed according to the file of the corresponding sub- m3u8 files of code check of selection Cease the request sent;
If the CDN server finds the client node of the section file of the storage video file, the CDN Server is literary according to the identification information of the client node and the identification information generation sub- m3u8 of the section file Part;
The CDN server sends the sub- m3u8 files of generation to the client, so that the client is according to The identification information of section file obtains the section file to the client node.
With reference to the realization method of second aspect of the present invention, in the first possible realization method of second aspect of the present invention In, the method further includes:
If the CDN server does not find the client node of the section file of the storage video file, institute It states CDN server and the sub- m3u8 files is generated according to the identification information of the section file;
The CDN server sends the sub- m3u8 files of generation to the client, so that the client is according to The identification information of section file obtains the section file to the CDN server.
Third aspect present invention provides a kind of node, including:
First acquisition module for receiving the order request of video file, asks to obtain institute to CDN server according to described The main m3u8 files of video file are stated, the main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, each Sub- m3u8 files include the identification information of the section file of the video file;
Determining module, for determining corresponding sub- m3u8 files according to the code check of selection;
Second acquisition module, for the fileinfo of sub- m3u8 files that is determined according to the determining module to the CDN Server obtains the definite sub- m3u8 files;
3rd acquisition module, if further including the storage section file for the sub- m3u8 files that the determining module determines Client node identification information, then the client node according to the identification information of the section file to the client Node obtains the section file.
With reference to the realization method of third aspect present invention, in the first possible realization method of third aspect present invention In, the 3rd acquisition module is specifically used for:
If the sub- m3u8 files that the determining module determines further include at least one client for storing the section file The identification information of node, then the 3rd acquisition module according to the identification information of the section file to each client node point The section file is not obtained;
Alternatively,
If the sub- m3u8 files that the determining module determines further include at least one client for storing the section file The identification information of node wherein each client node also stores the son section file of the section file, then the described 3rd obtains Modulus root tuber obtains the son section file of the section file according to the identification information of the section file to each client node.
With reference to the realization method of third aspect present invention, in second of possible realization method of third aspect present invention In, if the 3rd acquisition module is additionally operable to the sub- m3u8 files that the determining module determines and does not include cutting described in the storage The identification information of the client node of piece file, then the 3rd acquisition module according to the identification information of the section file to institute It states CDN server and obtains the section file.
Fourth aspect present invention provides a kind of server, including:
First sending module, for the request sent according to client, to the master of client transmission video file M3u8 files, the main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes The identification information of the section file of the video file;
Receiving module is believed for receiving the client according to the file of the corresponding sub- m3u8 files of code check of selection Cease the request sent;
Generation module, if the request for being received according to the receiving module finds the section for storing the video file The client node of file is then generated according to the identification information of the identification information of the client node and the section file The sub- m3u8 files;
Second sending module, for sending the sub- m3u8 files of the generation module generation to the client, so that institute It states client and the section file is obtained to the client node according to the identification information of the section file.
With reference to the realization method of fourth aspect present invention, in the first possible realization method of fourth aspect present invention In, the generation module, if being additionally operable to not find the client node of the section file of the storage video file, root The sub- m3u8 files are generated according to the identification information of the section file;
Second sending module is additionally operable to send the sub- m3u8 files of the generation module generation to the client, So that the client obtains the section file according to the identification information of the section file to the server.
Using the present invention, the order request of video file is received, video file is obtained to CDN server according to order request Main m3u8 files, the fileinfo of the sub- m3u8 files of main m3u8 files including different code checks, every sub- m3u8 file include The identification information of the section file of video file;Corresponding sub- m3u8 files are determined according to the code check of selection, according to definite son The fileinfo of m3u8 files obtains definite sub- m3u8 files to CDN server, however, it is determined that sub- m3u8 files further include and deposit The identification information of the client node of storage section file is then obtained to client node according to the identification information of section file and cut into slices File, can be when client gets sub- m3u8 files it can be learnt that the client node of storage section file, then directly to depositing The client node of storage section file obtains section file, cuts into slices so as to reduce client to the storage of index server acquisition request The flow of the identification information of the client node of file saves the time of request downloading video files, improves foradownloaded video text Part speed.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, for this field For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of an embodiment of the method for acquisition section file of the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of another embodiment of the method for acquisition section file of the embodiment of the present invention;
Fig. 3 is a kind of flow diagram of the 3rd embodiment of the method for acquisition section file of the embodiment of the present invention;
Fig. 4 is a kind of structure diagram of node of the embodiment of the present invention;
Fig. 5 is the structure diagram of another node of the embodiment of the present invention;
Fig. 6 is a kind of structure diagram of server of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
Using the embodiment of the present invention, the time of request downloading video files can be saved, improves downloading video files speed.
Referring to Fig. 1, the flow that Fig. 1 is an a kind of embodiment of the method for acquisition section file of the embodiment of the present invention is shown It is intended to.The embodiment of the present invention can realize the specific steps of the embodiment of the present invention by client, and the client node being related to can For P2P nodes, after the section file of video file is got, download can be provided for other P2P nodes, to reduce CDN service The download bandwidth of device.
As shown in Figure 1, a kind of acquisition of the embodiment of the present invention is cut into slices, an embodiment of the method for file can include following Step.
S100 receives the order request of video file.
S101 obtains the main m3u8 files of the video file, the master according to the order request to CDN server M3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes cutting for the video file The identification information of piece file.
In the specific implementation, in order to improve the real-time of transmitting video files and availability, video file can be divided into multiple Section file is transmitted.Since CDN server is responsible for each node distribution content (content number such as including multimedia file According to), therefore the section file of video file can be stored.Optionally, section file can also be stored in different P2P nodes, and The P2P nodes for preserving section file are recorded by P2P servers.P2P nodes are peer network nodes, therefore can between P2P nodes To be in communication with each other, when one of P2P nodes need to obtain section file, the P2P that section file can be preserved by knowing is saved It puts and directly obtains section file to the P2P nodes for preserving the section file.During file of cutting into slices is obtained, client needs The relevant information of video file is obtained by obtaining the m3u8 files of video file to CDN server.
In the specific implementation, after client receives the request of playing video file A input by user, in order to obtain video text Part A, client send to CDN server ask first, which is used to obtain the main m3u8 files of video file A.Main m3u8 File includes the fileinfo for obtaining the sub- m3u8 files of the different code checks of video file A.Client is parsing main m3u8 After file, the fileinfo of sub- m3u8 files is obtained, wherein, the fileinfo of sub- m3u8 files can be the URL of sub- m3u8 files. The URL for the sub- m3u8 files that client passes through selection obtains sub- m3u8 files to CDN server.Wherein, sub- m3u8 files include The identification information of each section file, so that client should from CDN server or preservation according to the identification information of section file The P2P nodes of section file download the section file.
S102 determines corresponding sub- m3u8 files according to the code check of selection.
In the specific implementation, code check refers to the data bits that the unit interval transmits during data transmission.If client selection plays The video file of high code check can cause video file that cannot swimmingly play when broadcasting speed is more than speed of download, objective at this time Family end needs to reduce the code check of video file.Therefore, can cut into slices file before client obtains sub- m3u8 files according to download Speed, play section file speed and the factors such as bandwidth selection phase code rate sub- m3u8 files.Due to different code checks Sub- its URL of m3u8 files and differ, therefore in the sub- m3u8 files of different code checks that are provided in main m3u8 files of client After the sub- m3u8 files for choosing phase code rate, the URL of the sub- m3u8 files of the code check is obtained.
S103 obtains the definite son according to the fileinfo of definite sub- m3u8 files to the CDN server M3u8 files.
In the specific implementation, client according to the URL of the sub- m3u8 files of the code check of acquisition to CDN server acquisition request The sub- m3u8 files of the code check.
S104, if the definite sub- m3u8 files further include the mark letter for the client node for storing the section file Breath then obtains the section file according to the identification information of the section file to the client node.
In the specific implementation, after CDN server receives the request of the sub- m3u8 files for obtaining the code check of client transmission, Search whether there is the P2P nodes of storage section file.If finding the P2P nodes of storage section file, extract storage and cut The identification information of the P2P nodes of piece file, finally according to the identification information of section file and the mark of the P2P nodes for file of cutting into slices Know the data such as information and generate sub- m3u8 files.Identification information is for prompting the P2P nodes of storage section file, so that client exists After parsing sub- m3u8 files, section file is directly obtained to the P2P nodes according to the identification information of P2P nodes.
As a kind of enforceable mode, CDN server can store the P2P nodes of section file in P2P whois lookups, The information of P2P nodes is obtained from database or index server.
Using the embodiment of the present invention, the order request of video file is received, is regarded according to order request to CDN server acquisition The main m3u8 files of frequency file, main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, every sub- m3u8 text Part includes the identification information of the section file of video file;Corresponding sub- m3u8 files are determined according to the code check of selection, according to true The fileinfo of fixed sub- m3u8 files obtains definite sub- m3u8 files to CDN server, however, it is determined that sub- m3u8 files also The identification information of client node including storage section file, then obtain according to the identification information of section file to client node Take section file, can when client gets sub- m3u8 files it can be learnt that storage section file P2P nodes, then directly to The P2P nodes of storage section file obtain section file, cut into slices so as to reduce client to the storage of index server acquisition request The flow of the identification information of the P2P nodes of file saves the time of request downloading video files, improves downloading video files speed Degree.
Referring to Fig. 2, Fig. 2 is a kind of flow of another embodiment of the method for acquisition section file of the embodiment of the present invention Schematic diagram.The embodiment of the present invention can realize the specific steps of the embodiment of the present invention, the client node being related to by client It can be P2P nodes, after the section file of video file is got, download can be provided for other P2P nodes, to reduce CDN clothes The download bandwidth of business device.
As shown in Fig. 2, the embodiment of the present invention a kind of acquisition section file method another embodiment can include with Lower step.
S200 receives the order request of video file.
S201 obtains the main m3u8 files of the video file, the master according to the order request to CDN server M3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes cutting for the video file The identification information of piece file.
In the specific implementation, after client receives the request of playing video file A input by user, in order to obtain video text Part A, client send to CDN server ask first, which is used to obtain the main m3u8 files of video file A.Main m3u8 File includes the fileinfo for obtaining the sub- m3u8 files of the different code checks of video file A.Client is parsing main m3u8 After file, the fileinfo of sub- m3u8 files is obtained, wherein, the fileinfo of sub- m3u8 files can be the URL of sub- m3u8 files. The URL for the sub- m3u8 files that client passes through selection obtains sub- m3u8 files to CDN server.Wherein, sub- m3u8 files include The identification information of each section file, so that client should from CDN server or preservation according to the identification information of section file The P2P nodes of section file download the section file.
As a kind of enforceable mode, the content that client receives the main m3u8 files that CDN server is sent can be as follows It is shown:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1636352, RESOLU TION= 720x576
TEST_1500.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1123488, RESOLU TION= 640x480
TEST_1000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=609120, RESOLUT ION= 480x360
TEST_500.m3u8
Wherein, which includes the sub- m3u8 files of TEST_1500, TEST_1000 and TEST_500 tri-, often The attribute information of sub- m3u8 files is described before a sub- m3u8 files, wherein BANDWIDTH is the code check of sub- m3u8 files.By this Main m3u8 files can be seen that the main m3u8 files include the sub- m3u8 files of three kinds of code checks, and the code check of TEST_1500 is 1636352 bits per seconds, the code check of TEST_1000 is 1123488 bits per seconds, and the code check of TEST_500 is then 609120 bits It is per second.The identification information of section file of the every sub- m3u8 file including video file A.
S202 determines corresponding sub- m3u8 files according to the code check of selection.
In the specific implementation, code check refers to the data bits that the unit interval transmits during data transmission.If client selection plays The video file of high code check can cause video file that cannot swimmingly play when broadcasting speed is more than speed of download, objective at this time Family end needs to reduce the code check of video file.Therefore, can cut into slices file before client obtains sub- m3u8 files according to download Speed, play section file speed and the factors such as bandwidth selection phase code rate sub- m3u8 files.Due to different code checks Sub- its URL of m3u8 files and differ, therefore in the sub- m3u8 files of different code checks that are provided in main m3u8 files of client After the sub- m3u8 files for choosing phase code rate, the URL of the sub- m3u8 files of the code check is obtained.
As a kind of enforceable mode, client can be according to the speed downloaded the speed of section file, play file of cutting into slices The factors such as degree and bandwidth select the code check of 609120 bits per seconds, and corresponding sub- m3u8 files are TEST_500.
S203 obtains the definite son according to the fileinfo of definite sub- m3u8 files to the CDN server M3u8 files.
In the specific implementation, client according to the URL of the sub- m3u8 files of the code check of acquisition to CDN server acquisition request Code check is the sub- m3u8 files TEST_500 of 609120 bits per seconds.CDN server receives the acquisition code of client transmission After the request of the sub- m3u8 files of rate, search whether there is the P2P nodes of storage section file.If find storage section file P2P nodes, then extract storage section file P2P nodes identification information, finally according to section file identification information with And the data such as identification information of P2P nodes of section file generate sub- m3u8 files.Identification information is literary for prompting storage section The P2P nodes of part, so that client directly saves after sub- m3u8 files are parsed, according to the identification information of P2P nodes to the P2P Point obtains section file.
As a kind of enforceable mode, CDN server requests to generate sub- m3u8 files TEST_500 according to client, The content of its sub- m3u8 files TEST_500 can be as follows:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10,
TEST_500_1.ts/peer1/peer2/peer3
#EXTINF:10,
TEST_500_2.ts/peer1/peer2/peer3
#EXTINF:10,
TEST_500_3.ts
#EXT-X-ENDLIST
Wherein, TEST_500_1, TEST_500_2 and TEST_500_3 are the identification information of section file, therefore sub M3u8 files TEST_500 includes tri- section files of TEST_500_1, TEST_500_2 and TEST_500_3.peer1、 Peer2 and peer3 includes the P2P nodes of section file for identifying.By taking the file TEST_500_1 that cuts into slices as an example, TEST_ The P2P nodes that 500_1.ts/peer1/peer2/peer3 is used to indicate storage section file TEST_500_1.ts include node Peer1, node peer2 and node peer3.And for there is no the mark for including P2P nodes after section file TEST_500_3.ts Know information and then illustrate no P2P nodes storage section file TEST_500_3.ts.
As a kind of enforceable mode, CDN server can store the P2P nodes of section file in P2P whois lookups, The information of P2P nodes is obtained from database or index server.
S204, if the definite sub- m3u8 files further include at least one client node for storing the section file Identification information, then according to it is described section file identification information obtain the section file respectively to each client node.
In the specific implementation, after client parses sub- m3u8 files TEST_500, the identification information of browsing section file judges Whether the identification information of section file carries the identification information for the P2P nodes for storing the section file.Specifically, due to section text Part TEST_500_1 and section file TEST_500_2 carries the mark of node peer1, node peer2 and node peer3 Information, therefore at least one P2P nodes that can be directly into node peer1, node peer2 or node peer3 obtain section File TEST_500_1 and section file TEST_500_2.Exemplified by obtaining section file TEST_500_1, in order to accelerate to download Speed, client can download section text at least one P2P nodes in node peer1, node peer2 or node peer3 Part TEST_500_1 when a P2P node (such as node peer1) downloads completion to client thereto, can interrupt other nodes The download flow of (node peer2 or node peer3).
S205, if the definite sub- m3u8 files further include at least one client node for storing the section file Identification information, wherein each client node also store it is described section file son section file, then according to it is described section text The identification information of part obtains the son section file of the section file to each client node.
In the specific implementation, section file TEST_500_1 can also be continued to cutting, cutting is multiple sub- section files, and is deposited In node peer1, node peer2 and node peer3, i.e. node peer1, node peer2 and node peer3 are deposited for storage All sub- section files of storage section file TEST_500_1.It thus, can when client obtains section file TEST_500_1 Download the son section file of selection from the P2P nodes of the son section file of storage section file TEST_500_1, such as from node Peer1 downloads the son section file of first portion, and the son section file of second portion is downloaded from node peer2, then from node Peer3 downloads the son section file of remainder, so as to accelerate speed of download, improves the success rate for downloading section file.
S206, if the definite sub- m3u8 files are without the client node including the storage section file Identification information then obtains the section file according to the identification information of the section file to the CDN server.
In the specific implementation, the identification information of the partially sliced file in sub- m3u8 files may store the section without carrying Section file TEST_500_ in the identification information of at least one P2P nodes of file, such as sub- m3u8 files TEST_500 There is no the identification information for the P2P nodes for carrying storage section file TEST_500_3.ts after 3.ts, then client can be to CDN Server obtains section file TEST_500_3.ts, so as to accelerate to download the efficiency of section file.
Optionally, client storage section file, and the notice for having stored section file is sent to P2P servers.
In the specific implementation, after client gets section file, the section file is stored, is sent to P2P servers The notice of storage section file, so that P2P servers record client stores the situation of the section file.When other clients When needing to obtain the section file, also directly section file can be obtained to the client.
Using the embodiment of the present invention, the order request of video file is received, is regarded according to order request to CDN server acquisition The main m3u8 files of frequency file, main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, every sub- m3u8 text Part includes the identification information of the section file of video file;Corresponding sub- m3u8 files are determined according to the code check of selection, according to true The fileinfo of fixed sub- m3u8 files obtains definite sub- m3u8 files to CDN server, however, it is determined that sub- m3u8 files also The identification information of client node including storage section file, then obtain according to the identification information of section file to client node Take section file, however, it is determined that sub- m3u8 files include storage section file P2P nodes identification information, then according to cutting The identification information of piece file obtains section file to CDN server, is deposited so as to reduce client to index server acquisition request The flow of the identification information of the P2P nodes of storage section file reduces the number of acquisition request section file, and saving request, which is downloaded, to be regarded The time of frequency file improves downloading video files speed.
Referring to Fig. 3, Fig. 3 is a kind of flow of the 3rd embodiment of the method for acquisition section file of the embodiment of the present invention Schematic diagram.The present embodiment to CDN server according to each implementation steps for requesting to generate sub- m3u8 files that client is sent into Row illustrates.
As shown in figure 3, the embodiment of the present invention a kind of acquisition section file method 3rd embodiment can include with Lower step.
S300, the request that CDN server is sent according to client, the main m3u8 that video file is sent to the client are literary Part, the main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes described regard The identification information of the section file of frequency file.
In the specific implementation, after CDN server receives the main m3u8 files for obtaining video file A of client transmission, The corresponding main m3u8 files of video file A are sent to client, so that client parses main m3u8 files, obtain different code checks Sub- m3u8 files fileinfo, wherein, the fileinfos of sub- m3u8 files can be the URL of sub- m3u8 files.It is specifically, main The content of m3u8 files can refer to the step S201 of embodiment Fig. 2, and the present embodiment then repeats no more.
S301, the CDN server receive the client according to the corresponding sub- m3u8 files of code check of selection The request that fileinfo is sent.
In the specific implementation, client can be according to the speed and bandwidth downloaded the speed of section file, play file of cutting into slices Etc. factors selection phase code rate sub- m3u8 files, according to the URL of the sub- m3u8 files of the code check of acquisition to CDN server please Seek the sub- m3u8 files for obtaining the code check.
S302, if the CDN server finds the client node of the section file of the storage video file, institute It states CDN server and the son is generated according to the identification information of the client node and the identification information of the section file M3u8 files.
In the specific implementation, after CDN server receives the request of the sub- m3u8 files for obtaining the code check of client transmission, Search whether there is the P2P nodes of storage section file.If finding the P2P nodes of storage section file, extract storage and cut The identification information of the P2P nodes of piece file, finally according to the identification information of section file and the P2P nodes of storage section file The data such as identification information generate sub- m3u8 files.
As a kind of enforceable mode, CDN server can store the P2P nodes of section file in P2P whois lookups, The information of P2P nodes is obtained from database or index server.
S303, the CDN server to the client send generation sub- m3u8 files so that the client according to The identification information of the section file obtains the section file to the client node.
In the specific implementation, CDN server sends the sub- m3u8 files of generation to client, so that client is in parsing After m3u8 files, section file is directly obtained to the P2P nodes according to the identification information of P2P nodes.
Optionally, if the CDN server does not find client's end segment of the section file of the storage video file Point, then the CDN server the sub- m3u8 files are generated according to the identification information of the section file.
Optionally, the CDN server sends the sub- m3u8 files of generation to the client, so that the client root According to the identification information of the section file section file is obtained to the CDN server.
If in the specific implementation, CDN server do not found in P2P servers storage section file P2P nodes, The sub- m3u8 files are generated according only to the identification information of section file.Client finds section text after sub- m3u8 files are parsed The identification information of part does not carry the identification information for the P2P nodes for storing the section file, then can obtain and cut into slices to CDN server File, so as to accelerate to download the efficiency of section file.Specifically, content detailed in Example Fig. 2 of the sub- m3u8 files of generation Step S203, the present embodiment then repeat no more.
The request sent using the embodiment of the present invention, CDN server according to client sends video file to client Main m3u8 files, main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes regarding The identification information of the section file of frequency file, CDN server receive code check corresponding sub- m3u8 file of the client according to selection Fileinfo send request, if CDN server find storage video file section file client node, CDN server generates sub- m3u8 files, CDN service according to the identification information of client node and the identification information for file of cutting into slices Device sends the sub- m3u8 files of generation to client, so that client is after sub- m3u8 files are parsed, according to client node Identification information directly to the client node obtain section file, deposited so as to reduce client to index server acquisition request The flow of the identification information of the client node of storage section file, reduces the number that client request obtains section file, saves The time of client request downloading video files improves client downloads video file speed.
Referring to Fig. 4, Fig. 4 is a kind of structure diagram of node of the embodiment of the present invention.Node as shown in Figure 4 includes Receiving module 400, the first acquisition module 401, determining module 402, the second acquisition module 403 and the 3rd acquisition module 404.
Receiving module 400, for receiving the order request of video file.
First acquisition module 401, for obtaining the master of the video file to CDN server according to the order request M3u8 files, the main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes The identification information of the section file of the video file;
Determining module 402, for determining corresponding sub- m3u8 files according to the code check of selection;
Second acquisition module 403, for the fileinfo of sub- m3u8 files that is determined according to the determining module 402 to institute It states CDN server and obtains the definite sub- m3u8 files;
3rd acquisition module 404 is cut if being further included for the sub- m3u8 files that the determining module 402 determines described in storage The identification information of the client node of piece file is then obtained according to the identification information of the section file to the client node The section file.
In the specific implementation, after client receives the request of playing video file A input by user, in order to obtain video text Part A, client send to CDN server ask first, which is used to obtain the main m3u8 files of video file A.Main m3u8 File includes the fileinfo for obtaining the sub- m3u8 files of the different code checks of video file A.Client is parsing main m3u8 After file, the fileinfo of sub- m3u8 files is obtained, wherein, the fileinfo of sub- m3u8 files can be the URL of sub- m3u8 files. The URL for the sub- m3u8 files that client passes through selection obtains sub- m3u8 files to CDN server.Wherein, sub- m3u8 files include The identification information of each section file, so that client should from CDN server or preservation according to the identification information of section file The P2P nodes of section file download the section file.
In the specific implementation, code check refers to the data bits that the unit interval transmits during data transmission.If client selection plays The video file of high code check can cause video file that cannot swimmingly play when broadcasting speed is more than speed of download, objective at this time Family end needs to reduce the code check of video file.Therefore, can cut into slices file before client obtains sub- m3u8 files according to download Speed, play section file speed and the factors such as bandwidth selection phase code rate sub- m3u8 files.Due to different code checks Sub- its URL of m3u8 files and differ, therefore in the sub- m3u8 files of different code checks that are provided in main m3u8 files of client After the sub- m3u8 files for choosing phase code rate, the URL of the sub- m3u8 files of the code check is obtained.
In the specific implementation, client according to the URL of the sub- m3u8 files of the code check of acquisition to CDN server acquisition request The sub- m3u8 files of the code check.
In the specific implementation, after CDN server receives the request of the sub- m3u8 files for obtaining the code check of client transmission, Search whether there is the P2P nodes of storage section file.If finding the P2P nodes of storage section file, extract storage and cut The identification information of the P2P nodes of piece file, finally according to the identification information of section file and the mark of the P2P nodes for file of cutting into slices Know the data such as information and generate sub- m3u8 files.Identification information is for prompting the P2P nodes of storage section file, so that client exists After parsing sub- m3u8 files, section file is directly obtained to the P2P nodes according to the identification information of P2P nodes.
Optionally, the 3rd acquisition module 404 is specifically used for:
If the definite sub- m3u8 files of the determining module 402 further include at least one client for storing the section file The identification information of end node, then the 3rd acquisition module according to the identification information of the section file to each client node The section file is obtained respectively;
Alternatively,
If the definite sub- m3u8 files of the determining module 402 further include at least one client for storing the section file The identification information of end node, wherein each client node also stores the son section file of the section file, then the described 3rd Acquisition module obtains the son section text of the section file according to the identification information of the section file to each client node Part.
Optionally, if the 3rd acquisition module 404 is additionally operable to the determining module 402, definite sub- m3u8 files do not have The identification information of client node including the storage section file, then the 3rd acquisition module 404 is according to described The identification information of section file obtains the section file to the CDN server.
In the specific implementation, the identification information of the partially sliced file in sub- m3u8 files may store the section without carrying The identification information of at least one P2P nodes of file, then client can be to CDN server acquisition section file, under accelerating Carry the efficiency of section file.
Optionally, as shown in figure 5, the node may also include sending module 405.
Sending module 405 for storing the section file, and has stored the section file to the transmission of P2P servers Notice.
In the specific implementation, after client node gets section file, the section file is stored, is sent out to P2P servers The notice for having stored section file is sent, so that P2P servers record client node stores the situation of the section file.When it When his client node needs to obtain the section file, also directly section file can be obtained to the client node.
Using the embodiment of the present invention, the order request of video file is received, is regarded according to order request to CDN server acquisition The main m3u8 files of frequency file, main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, every sub- m3u8 text Part includes the identification information of the section file of video file;Corresponding sub- m3u8 files are determined according to the code check of selection, according to true The fileinfo of fixed sub- m3u8 files obtains definite sub- m3u8 files to CDN server, however, it is determined that sub- m3u8 files also The identification information of client node including storage section file, then obtain according to the identification information of section file to client node Take section file, however, it is determined that sub- m3u8 files include storage section file P2P nodes identification information, then client Section file is obtained to CDN server according to the identification information of section file, is asked so as to reduce client to index server The flow of the identification information of the P2P nodes of storage section file is obtained, the number of acquisition request section file is reduced, saves request The time of downloading video files improves downloading video files speed.
Referring to Fig. 6, Fig. 6 is a kind of structure diagram of server of the embodiment of the present invention.Server as shown in Figure 6 Including the first sending module 600, receiving module 601,602 and second sending module 603 of generation module.
First sending module 600, for the request sent according to client, to the master of client transmission video file M3u8 files, the main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes The identification information of the section file of the video file;
Receiving module 601, for receiving text of the client according to the corresponding sub- m3u8 files of code check of selection The request that part information is sent;
Generation module 602, if the request for being received according to the receiving module 601 finds the storage video file Section file client node, then according to the identification information of the client node and it is described section file mark believe Breath generates the sub- m3u8 files;
Second sending module 603, for sending the sub- m3u8 files of the generation of generation module 602 to the client, So that the client obtains the section file according to the identification information of the section file to the client node.
In the specific implementation, after CDN server receives the main m3u8 files for obtaining video file A of client transmission, The corresponding main m3u8 files of video file A are sent to client, so that client parses main m3u8 files, obtain different code checks Sub- m3u8 files fileinfo, wherein, the fileinfos of sub- m3u8 files can be the URL of sub- m3u8 files.
In the specific implementation, client can be according to the speed and bandwidth downloaded the speed of section file, play file of cutting into slices Etc. factors selection phase code rate sub- m3u8 files, according to the URL of the sub- m3u8 files of the code check of acquisition to CDN server please Seek the sub- m3u8 files for obtaining the code check.
In the specific implementation, after CDN server receives the request of the sub- m3u8 files for obtaining the code check of client transmission, Search whether there is the P2P nodes of storage section file.If finding the P2P nodes of storage section file, extract storage and cut The identification information of the P2P nodes of piece file, finally according to the identification information of section file and the mark of the P2P nodes for file of cutting into slices Know the data such as information and generate sub- m3u8 files.
As a kind of enforceable mode, CDN server can store the P2P nodes of section file in P2P whois lookups, The information of P2P nodes is obtained from database or index server.
In the specific implementation, CDN server sends the sub- m3u8 files of generation to client, so that client is in parsing After m3u8 files, section file is directly obtained to the P2P nodes according to the identification information of P2P nodes.
Optionally, the generation module 602, if being additionally operable to not searched according to the request that the receiving module 601 receives To the client node for the section file for storing the video file, then according to the identification information generation of the section file Sub- m3u8 files;
Second sending module 603 is additionally operable to the sub- m3u8 for sending the generation module 602 to the client and generating File, so that the client obtains the section file according to the identification information of the section file to the server.
If in the specific implementation, CDN server do not found in P2P servers storage section file P2P nodes, The sub- m3u8 files are generated according only to the identification information of section file.Client finds section text after sub- m3u8 files are parsed The identification information of part does not carry the identification information for the P2P nodes for storing the section file, then can obtain and cut into slices to CDN server File, so as to accelerate to download the efficiency of section file.
The request sent using the embodiment of the present invention, CDN server according to client sends video file to client Main m3u8 files, main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes regarding The identification information of the section file of frequency file, CDN server receive code check corresponding sub- m3u8 file of the client according to selection Fileinfo send request, if CDN server find storage video file section file client node, CDN server generates sub- m3u8 files, CDN service according to the identification information of client node and the identification information for file of cutting into slices Device sends the sub- m3u8 files of generation to client, so that client is after sub- m3u8 files are parsed, according to the mark of P2P nodes Know information and directly obtain section file to the P2P nodes, section is stored to index server acquisition request so as to reduce client The flow of the identification information of the P2P nodes of file reduces the number that client request obtains section file, saves client request The time of downloading video files improves client downloads video file speed.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can To be or may not be physically separate, the component shown as unit may or may not be physics list Member, you can be located at a place or can also be distributed in multiple network element.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The module or module of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with special Integrated circuit (ASIC) is realized.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on Technical solution is stated substantially in other words to embody the part that the prior art contributes in the form of software product, it should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers Order, which is used, so that computer equipment (can be personal computer, server or the network equipment etc.) performs each implementation Method described in some parts of example or embodiment.
Embodiments described above does not form the restriction to the technical solution protection domain.It is any in above-mentioned implementation Modifications, equivalent substitutions and improvements made within the spirit and principle of mode etc., should be included in the protection model of the technical solution Within enclosing.

Claims (10)

  1. A kind of 1. method for obtaining section file, which is characterized in that including:
    Receive the order request of video file;
    The main m3u8 files of the video file, the main m3u8 files bag are obtained to CDN server according to the order request The fileinfo of the sub- m3u8 files of different code checks is included, every sub- m3u8 file includes the mark of the section file of the video file Know information;
    Corresponding sub- m3u8 files are determined according to the code check of selection;
    The definite sub- m3u8 files are obtained to the CDN server according to the fileinfo of definite sub- m3u8 files;
    If the definite sub- m3u8 files further include the identification information for the client node for storing the section file, basis The identification information of the section file obtains the section file to the client node;The identification information of the section file The middle identification information for carrying multiple client node, and the section file is the identification information from the multiple client node Corresponding client node download and obtain jointly.
  2. 2. if according to the method described in claim 1, it is characterized in that, the definite sub- m3u8 files further include storage The identification information of the client node of the section file, then according to the identification information of the section file to client's end segment Point obtains the section file, specifically includes:
    If the definite sub- m3u8 files further include the mark letter at least one client node for storing the section file Breath then obtains the section file respectively according to the identification information of the section file to each client node;
    Alternatively,
    If the definite sub- m3u8 files further include the mark letter at least one client node for storing the section file Breath, wherein each client node also stores the son section file of the section file, then according to the mark of the section file Information obtains the son section file of the section file to each client node.
  3. 3. according to the method described in claim 1, it is characterized in that, the method further includes:
    If the definite sub- m3u8 files without including it is described storage it is described section file client node identification information, The section file is then obtained to the CDN server according to the identification information of the section file.
  4. A kind of 4. method for generating sub- m3u8 files, which is characterized in that including:
    The request that CDN server is sent according to client sends the main m3u8 files of video file, the master to the client M3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes cutting for the video file The identification information of piece file;
    The CDN server receives the client and is sent out according to the fileinfo of the corresponding sub- m3u8 files of code check of selection The request sent;
    If the CDN server finds the client node of the section file of the storage video file, the CDN service Device generates the sub- m3u8 files according to the identification information of the client node and the identification information of the section file;
    The CDN server sends the sub- m3u8 files of generation to the client, so that the client is according to the section The identification information of file obtains the section file to the client node;It is carried in the identification information of the section file more The identification information of a client node, and the section file is right respectively from the identification information of the multiple client node institute The client node answered downloads what is obtained jointly.
  5. 5. according to the method described in claim 4, it is characterized in that, the method further includes:
    If the CDN server does not find the client node of the section file of the storage video file, the CDN Server generates the sub- m3u8 files according to the identification information of the section file;
    The CDN server sends the sub- m3u8 files of generation to the client, so that the client is according to the section The identification information of file obtains the section file to the CDN server.
  6. 6. a kind of node, which is characterized in that including:
    Receiving module, for receiving the order request of video file;
    First acquisition module, for the main m3u8 files of the video file to be obtained to CDN server according to the order request, The main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes video text The identification information of the section file of part;
    Determining module, for determining corresponding sub- m3u8 files according to the code check of selection;
    Second acquisition module, for the fileinfo of sub- m3u8 files that is determined according to the determining module to the CDN service Device obtains the definite sub- m3u8 files;
    3rd acquisition module, if further including the visitor for storing the section file for the sub- m3u8 files that the determining module determines The identification information of family end node then obtains the section text according to the identification information of the section file to the client node Part;The identification information of multiple client node is carried in the identification information of the section file, and the section file is from institute State the identification information of multiple client node corresponding client node download and obtain jointly.
  7. 7. node according to claim 6, which is characterized in that the 3rd acquisition module is specifically used for:
    If the sub- m3u8 files that the determining module determines further include at least one client node for storing the section file Identification information, then the 3rd acquisition module according to it is described section file identification information obtained respectively to each client node Take the section file;
    Alternatively,
    If the sub- m3u8 files that the determining module determines further include at least one client node for storing the section file Identification information, wherein each client node also store it is described section file son section file, then it is described 3rd obtain mould Root tuber obtains the son section file of the section file according to the identification information of the section file to each client node.
  8. 8. node according to claim 6, which is characterized in that
    If the 3rd acquisition module, which is additionally operable to the sub- m3u8 files that the determining module determines, not to be included described in the storage Cut into slices file client node identification information, then the 3rd acquisition module according to it is described section file identification information to The CDN server obtains the section file.
  9. 9. a kind of server, which is characterized in that including:
    First sending module, for the request sent according to client, the main m3u8 that video file is sent to the client is literary Part, the main m3u8 files include the fileinfo of the sub- m3u8 files of different code checks, and every sub- m3u8 file includes described regard The identification information of the section file of frequency file;
    Receiving module is sent out for receiving the client according to the fileinfo of the corresponding sub- m3u8 files of code check of selection The request sent;
    Generation module, if the request for being received according to the receiving module finds the section file for storing the video file Client node, then according to the identification information of the client node and it is described section file identification information generation described in Sub- m3u8 files;
    Second sending module, for sending the sub- m3u8 files of the generation module generation to the client, so that the visitor Family end obtains the section file according to the identification information of the section file to the client node;The section file The identification information of multiple client node is carried in identification information, and the section file is from the multiple client node Identification information corresponding client node download and obtain jointly.
  10. 10. server according to claim 9, which is characterized in that
    The generation module, if being additionally operable to not find the client node of the section file of the storage video file, The sub- m3u8 files are generated according to the identification information of the section file;
    Second sending module is additionally operable to send the sub- m3u8 files of the generation module generation to the client, so that The client obtains the section file according to the identification information of the section file to the server.
CN201410856586.1A 2014-12-31 2014-12-31 A kind of method, node and server for obtaining section file and generating sub- m3u8 files Active CN104581374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410856586.1A CN104581374B (en) 2014-12-31 2014-12-31 A kind of method, node and server for obtaining section file and generating sub- m3u8 files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856586.1A CN104581374B (en) 2014-12-31 2014-12-31 A kind of method, node and server for obtaining section file and generating sub- m3u8 files

Publications (2)

Publication Number Publication Date
CN104581374A CN104581374A (en) 2015-04-29
CN104581374B true CN104581374B (en) 2018-05-29

Family

ID=53096418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856586.1A Active CN104581374B (en) 2014-12-31 2014-12-31 A kind of method, node and server for obtaining section file and generating sub- m3u8 files

Country Status (1)

Country Link
CN (1) CN104581374B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017035783A1 (en) * 2015-09-01 2017-03-09 深圳好视网络科技有限公司 Streaming media transmission and play method, and transmission and play device
WO2017035795A1 (en) * 2015-09-01 2017-03-09 深圳好视网络科技有限公司 Method and device for transmitting streaming media data
CN105578216B (en) * 2015-12-21 2018-11-13 武汉市烽视威科技有限公司 A method of realizing HLS program request fast forwarding and fast rewindings
CN105578263A (en) * 2015-12-28 2016-05-11 山东泰信电子股份有限公司 Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment
CN105847393A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Content distribution method, device and system
CN107920262A (en) * 2016-10-08 2018-04-17 北京优朋普乐科技有限公司 A kind of media file dissemination method and device
CN107948670A (en) * 2016-10-12 2018-04-20 北京优朋普乐科技有限公司 A kind of small documents playback method and device
CN107959667B (en) * 2016-10-18 2020-10-09 华为技术有限公司 Media fragment pushing method, server and client
CN110830821A (en) * 2018-08-14 2020-02-21 海能达通信股份有限公司 RTP (real-time transport protocol) stream transmission method and device based on slices, terminal and server
CN111064969B (en) * 2018-10-16 2023-07-11 中兴通讯股份有限公司 Streaming media data transmission method, equipment, device and computer storage medium
CN109347967B (en) * 2018-11-02 2021-08-03 网宿科技股份有限公司 Method and device for acquiring audio and video data
CN114745371A (en) * 2022-05-09 2022-07-12 湖南快乐阳光互动娱乐传媒有限公司 Point-to-point downloading method, device, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378494A (en) * 2008-10-07 2009-03-04 中兴通讯股份有限公司 System and method for implementing internet television medium interaction
CN101635737A (en) * 2008-07-25 2010-01-27 阿里巴巴集团控股有限公司 Downloading method, system, P2P server and client
CN101677328A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Content-fragment based multimedia distributing system and content-fragment based multimedia distributing method
CN103313091A (en) * 2012-09-27 2013-09-18 中兴通讯股份有限公司 Speed-multiplying playing method, device and system
EP2658271A1 (en) * 2012-04-23 2013-10-30 Thomson Licensing Peer-assisted video distribution
CN103648019A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Video downloading method and device based on HLS protocol
CN103986976A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Content delivery network (CDN)-based transmission system and method
CN104244079A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 Video download method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635737A (en) * 2008-07-25 2010-01-27 阿里巴巴集团控股有限公司 Downloading method, system, P2P server and client
CN101677328A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Content-fragment based multimedia distributing system and content-fragment based multimedia distributing method
CN101378494A (en) * 2008-10-07 2009-03-04 中兴通讯股份有限公司 System and method for implementing internet television medium interaction
EP2658271A1 (en) * 2012-04-23 2013-10-30 Thomson Licensing Peer-assisted video distribution
CN103313091A (en) * 2012-09-27 2013-09-18 中兴通讯股份有限公司 Speed-multiplying playing method, device and system
CN104244079A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 Video download method and device
CN103648019A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Video downloading method and device based on HLS protocol
CN103986976A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Content delivery network (CDN)-based transmission system and method

Also Published As

Publication number Publication date
CN104581374A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104581374B (en) A kind of method, node and server for obtaining section file and generating sub- m3u8 files
CN106559677B (en) Terminal, cache server and method and device for acquiring video fragments
US10116572B2 (en) Method, device, and system for acquiring streaming media data
CN104506493B (en) A kind of method for realizing HLS contents Hui Yuan and caching
EP2852125A1 (en) Server selection for content distribution
EP3206406A1 (en) Hls protocol-based user information acquisition method and server
CN101326493B (en) Method and device for distributing load of multiprocessor server
US20130132544A1 (en) Precise geolocation for content caching in evolved packet core networks
CN109787983A (en) Live stream dicing method, device and system
US20130219441A1 (en) Method, server and terminal for audio and video on demand
CN103813185B (en) A kind of method that segment programs are quickly distributed, server and client
EP2894870A1 (en) Method for downloading, at a client terminal, an upcoming sequence of segments of a multimedia content, and corresponding terminal
CN105228001B (en) A kind of method and system that FLV format videos play online
CN105187950B (en) A kind of method, apparatus and system that video file plays
US20160134900A1 (en) Streaming media processing method, apparatus, and system
KR20120036901A (en) Method, system and network equipment for implementing http-based streaming media service
CN108668146A (en) A kind of method and apparatus of adjustment streaming media bit rate
CN104854838A (en) System and method for delivering an audio-visual content to a client device
WO2013086707A1 (en) Routing method, device, and system in content delivery network (cdn)
US20170331922A1 (en) Methods and network nodes for monitoring services in a content delivery network
CN105049873A (en) Method, device and system for streaming media transmission
CN105872572A (en) Live broadcast video processing method and device
CN105323597A (en) MP4 file playing method, MP4 file processing method, MP4 file playing device, MP4 file processing device and MP4 file playing system
CN102843615B (en) The caching indexing means of Online Video file and caching server
US10298653B1 (en) Methods for monitoring streaming video content quality of experience (QOE) and devices thereof

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