Playback method, system and the server of adaptive stream media

文档序号:1759130 发布日期:2019-11-29 浏览:12次 中文

阅读说明:本技术 自适应流媒体的播放方法、系统以及服务器 (Playback method, system and the server of adaptive stream media ) 是由 陈学亮 武娟 庞涛 于 2018-05-22 设计创作,主要内容包括:本发明公开了自适应流媒体的播放方法、系统以及服务器,涉及通信技术领域,其中的方法包括:对客户端请求的媒体分片索引文件进行转换处理,用以将媒体分片索引文件中的媒体分片文件原URL地址替换为媒体分片文件新URL地址;媒体分片文件原URL地址的字符长度大于媒体分片文件新URL地址的字符长度;将进行转换处理后的媒体分片索引文件发送给客户端;客户端基于媒体分片索引文件下载媒体分片文件并进行播放。本发明的方法、系统以及服务器,可以大幅缩短分片URL地址长度,减少索引文件占用的存储和带宽,提高系统性能和效率;客户端需要重定向才能访问原始URL地址,能够隐藏分片内容真实的URL地址,提高内容访问的安全性。(The invention discloses the playback method of adaptive stream media, system and servers, it is related to field of communication technology, method therein includes: to carry out conversion process to the media slicing index file of client request, the address media slicing file original URL in media slicing index file is replaced with the new address URL of media slicing file;The character length of the address media slicing file original URL is greater than the character length of the new address URL of media slicing file;Media slicing index file after progress conversion process is sent to client;Client is based on media slicing index file downloads of media slicing files and plays out.Method, system and server of the invention can substantially shorten fragment URL address size, reduce storage and bandwidth that index file occupies, improve system performance and efficiency;Client, which needs to redirect, could access the original address URL, can hide the true address URL of fragment content, improve the safety of access to content.)

1. a kind of playback method of adaptive stream media characterized by comprising

Conversion process is carried out to the media slicing index file of client request based on preset transformation rule, to by the matchmaker The address media slicing file original URL in body fragment index file replaces with the new address URL of media slicing file;Wherein, described The character length of the address media slicing file original URL is greater than the character length of the new address URL of the media slicing file;

The media slicing index file after progress conversion process is sent to client;

Client is based on the media slicing index file downloads of media slicing files and plays out.

2. the method as described in claim 1, which is characterized in that it is described based on preset transformation rule to the matchmaker of client request Body fragment index file carries out conversion process

According to preset transfer algorithm by the media slicing file original URL address conversion be the new URL of media slicing file Address;

Establish the mapping relations between the new address URL of the media slicing file and the address the media slicing file original URL.

3. method according to claim 2, which is characterized in that the media slicing index file is m3u8 file, the matchmaker Body fragment be HLS slice, it is described according to preset transfer algorithm by the media slicing file original URL address conversion be the matchmaker The new address URL of body slicing files includes:

To the address URL of level-one m3u8 file without conversion process;

Extract the address media slicing file original URL in the second level m3u8 file;

According to the transfer algorithm by this media slicing file original URL address conversion be the media slicing file with regular length The new address URL;

In the second level m3u8 file, corresponding media slicing file is replaced using the new address URL of this media slicing file The former address URL.

4. method as claimed in claim 3, which is characterized in that further include:

Receive the downloads of media fragment request for carrying the new address URL of the media slicing file of client transmission;

With obtaining media slicing file original URL corresponding with the new address URL of this media slicing file according to the mapping relations Location;

The downloads of media fragment request is redirected to the address this media slicing file original URL so that client downloads and this The corresponding media slicing in the address media slicing file original URL.

5. method as claimed in claim 4, which is characterized in that described that the downloads of media fragment request is redirected to this matchmaker The address body slicing files original URL includes:

Response message corresponding with the downloads of media fragment request is sent to client;

Wherein, the response message, which carries, redirects status code and the address the media slicing file original URL.

6. method as claimed in claim 5, which is characterized in that further include:

Client receives second level m3u8 file, and the new address URL of the media slicing file is obtained from second level m3u8 file, raw At the downloads of media fragment request for carrying the new address URL of the media slicing file;

Client receives the response message corresponding with the downloads of media fragment request, obtains from the response message The address media slicing file original URL is taken, according to media slicing file original URL address downloads of media slicing files and is broadcast It puts.

7. method as claimed in claim 5 characterized by comprising

Client obtains the last one described new address URL of media slicing file from second level m3u8 file, in downloading and finally Corresponding downloads of media slicing files in one new address URL of media slicing file and after playing out, by this second level M3u8 file is deleted.

8. method as claimed in claim 5, which is characterized in that

The transfer algorithm includes: hash algorithm;

The response message is http protocol message, and the redirection status code includes: 301.

9. a kind of streaming media server characterized by comprising

Conversion processing module, for being converted based on media slicing index file of the preset transformation rule to client request Processing, it is new the address media slicing file original URL in the media slicing index file is replaced with media slicing file The address URL;Wherein, the character length of the address the media slicing file original URL is greater than the new address URL of the media slicing file Character length;

Index issues module, for the media slicing index file after progress conversion process to be sent to client;Wherein, Client is based on the media slicing index file downloads of media slicing files and plays out.

10. streaming media server as claimed in claim 9, which is characterized in that

The conversion processing module, for being by the media slicing file original URL address conversion according to preset transfer algorithm The new address URL of media slicing file;It establishes the new address URL of the media slicing file and the media slicing file is former Mapping relations between the address URL.

11. streaming media server as claimed in claim 11, which is characterized in that the media slicing index file is m3u8 text Part, the media slicing are HLS slice;

The conversion processing module is also used to the address URL of level-one m3u8 file without conversion process;Extract the second level The address media slicing file original URL in m3u8 file turns this media slicing file address original URL according to the transfer algorithm It is changed to the new address URL of media slicing file with regular length;In the second level m3u8 file, this media slicing text is used Replace the address corresponding media slicing file original URL in the new address URL of part.

12. streaming media server as claimed in claim 11, which is characterized in that

The index issues module, comprising:

Request reception unit, for receiving the downloading matchmaker for carrying the new address URL of the media slicing file of client transmission Body fragment request;

Unit is redirected, for obtaining media corresponding with the new address URL of this media slicing file according to the mapping relations The address slicing files original URL;The downloads of media fragment request is redirected to the address this media slicing file original URL, so that Client downloads media slicing corresponding with this media slicing file address original URL.

13. streaming media server as claimed in claim 12, which is characterized in that

The redirection unit, for sending response message corresponding with the downloads of media fragment request to client;Its In, the response message, which carries, redirects status code and the address the media slicing file original URL.

14. streaming media server as claimed in claim 13, which is characterized in that

Client receives the second level m3u8 file that the index issues module transmission, from second level

The new address URL of the media slicing file is obtained in m3u8 file, is generated with carrying the new URL of media slicing file The downloads of media fragment request of location;

Client receives the response corresponding with the downloads of media fragment request that the index issues module transmission Message obtains the address media slicing file original URL, according to the address the media slicing file original URL from the response message Downloads of media slicing files simultaneously play out.

15. streaming media server as claimed in claim 13, which is characterized in that

Client obtains the last one described new address URL of media slicing file from second level m3u8 file, in downloading and finally Corresponding downloads of media slicing files in one new address URL of media slicing file and after playing out, by this second level M3u8 file is deleted.

16. streaming media server as claimed in claim 13, which is characterized in that

The transfer algorithm includes: hash algorithm;

The response message is http protocol message, and the redirection status code includes: 301.

17. a kind of play system of Streaming Media characterized by comprising

Such as the described in any item streaming media servers of claim 9 to 16.

18. a kind of streaming media server, wherein include:

Memory;And it is coupled to the processor of the memory, the processor is configured to based on the storage is stored in Instruction in device executes such as method described in any item of the claim 1 to 8.

19. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is handled by one or more The step of method described in claim 1 to 8 any one is realized when device executes.

Technical field

The present invention relates to the playback method of field of communication technology more particularly to adaptive stream media, system and servers.

Background technique

Adaptive stream media technology is a kind of emerging stream media technology, the Http Live proposed with Apple Inc. Streaming (abbreviation HLS) is representative, can preferably adapt to various network environments.HLS program generally comprises the video of multiple code rates Content, wherein the video content of every kind of code rate usually has hundreds of fragment ts files and corresponding m3u8 index description file, M3u8 index file has recorded the information such as duration, filename, the address URL of each fragment ts file.User terminal downloads m3u8 It is parsed after index file, the fragment content of code rate is corresponded to according to Network status Real time request.One typical HLS program knot Test.m3u8 is level-one index to structure example as shown in Figure 1:, and describing this program includes two kinds of codes of 200000bps, 787444bps The address URL of rate and corresponding secondary index index.m3u8.The code rate is contained in secondary index index.m3u8 Burst information, #EXTINF represent fragment duration 10 seconds.

Currently, the address fragment URL is longer, including domain name (hls.com), catalogue (20160802/gear1/), filename The information, usually more than 50 characters or even 100 characters such as the verification of (001.ts, 002.ts ... 999.ts) and door chain More than, a HLS program generally comprises hundreds of or even thousands of a fragments, and cause index.m3u8 index file volume larger, Memory space and network bandwidth are wasted, also, the transmission of fragment URL address-transparent does not encrypt, there are Information Securities such as the Tripartite illegally steals the hidden danger such as chain.

Summary of the invention

In view of this, the invention solves a technical problem be to provide the playback method of adaptive stream media, system And server.

According to an aspect of the present invention, a kind of playback method of adaptive stream media is provided, comprising: be based on preset turn It changes rule and conversion process is carried out to the media slicing index file of client request, to will be in the media slicing index file The address media slicing file original URL replace with the new address URL of media slicing file;Wherein, the media slicing file original URL The character length of address is greater than the character length of the new address URL of the media slicing file;Described in carrying out after conversion process Media slicing index file is sent to client;Client is based on the media slicing index file downloads of media slicing files simultaneously It plays out.

Optionally, described to be carried out at conversion based on media slicing index file of the preset transformation rule to client request Reason includes: according to preset transfer algorithm that the media slicing file original URL address conversion is new for the media slicing file The address URL;The mapping established between the new address URL of the media slicing file and the address the media slicing file original URL is closed System.

Optionally, the media slicing index file is m3u8 file, and the media slicing is HLS slice, the basis The media slicing file original URL address conversion is that the new address URL of the media slicing file includes: by preset transfer algorithm To the address URL of level-one m3u8 file without conversion process;The media slicing file extracted in the second level m3u8 file is former The address URL;According to the transfer algorithm by this media slicing file original URL address conversion be the media slicing with regular length The new address URL of file;In the second level m3u8 file, corresponding matchmaker is replaced using the new address URL of this media slicing file The address body slicing files original URL.

Optionally, the downloads of media for carrying the new address URL of the media slicing file point of client transmission is received Piece request;Media slicing file original URL corresponding with the new address URL of this media slicing file is obtained according to the mapping relations Address;The downloads of media fragment request is redirected to the address this media slicing file original URL so that client downloads and this The corresponding media slicing in the address media slicing file original URL.

Optionally, described the downloads of media fragment request is redirected to the address this media slicing file original URL to include: Response message corresponding with the downloads of media fragment request is sent to client;Wherein, the response message carries weight Orient status code and the address the media slicing file original URL.

Optionally, client receives second level m3u8 file, and the media slicing file is obtained from second level m3u8 file The new address URL, generates the downloads of media fragment request for carrying the new address URL of the media slicing file;Client's termination The response message corresponding with the downloads of media fragment request is received, media slicing text is obtained from the response message The address part original URL according to media slicing file original URL address downloads of media slicing files and plays out.

Optionally, client obtains the last one described new address URL of media slicing file, In from second level m3u8 file After downloading downloads of media slicing files corresponding with the new address URL of media slicing file described in the last one and playing out, This second level m3u8 file is deleted.

Optionally, the transfer algorithm includes: hash algorithm;The response message is http protocol message, described to reset It include: 301 to status code.

According to another aspect of the present invention, a kind of streaming media server is provided, comprising: conversion processing module, for being based on Preset transformation rule carries out conversion process to the media slicing index file of client request, to by the media slicing rope The address media slicing file original URL in quotation part replaces with the new address URL of media slicing file;Wherein, the media slicing The character length of the address file original URL is greater than the character length of the new address URL of the media slicing file;Index issues module, For the media slicing index file after progress conversion process to be sent to client;Wherein, client is based on the matchmaker Body fragment index file downloads of media slicing files simultaneously play out.

Optionally, the conversion processing module, for according to preset transfer algorithm by the media slicing file original URL Address conversion is the new address URL of the media slicing file;Establish the new address URL of the media slicing file and the media point Mapping relations between the address piece file original URL.

Optionally, the media slicing index file is m3u8 file, and the media slicing is HLS slice;The conversion Processing module is also used to the address URL of level-one m3u8 file without conversion process;It extracts in the second level m3u8 file The address media slicing file original URL, according to the transfer algorithm by this media slicing file original URL address conversion for fixation The new address URL of the media slicing file of length;In the second level m3u8 file, the new address URL of this media slicing file is used Replace the address corresponding media slicing file original URL.

Optionally, the index issues module, comprising: request reception unit, for receiving carrying for client transmission The downloads of media fragment request of the new address URL of media slicing file;Unit is redirected, for obtaining according to the mapping relations Take the address media slicing file original URL corresponding with the new address URL of this media slicing file;The downloads of media fragment is asked It asks and is redirected to the address this media slicing file original URL, so that client downloads are opposite with this media slicing file address original URL The media slicing answered.

Optionally, the redirection unit, it is corresponding with the downloads of media fragment request for being sent to client Response message;Wherein, the response message, which carries, redirects status code and the address the media slicing file original URL.

Optionally, client receives the second level m3u8 file that the index issues module transmission, from second level m3u8 file It is middle to obtain the new address URL of media slicing file, generate the downloading for carrying the new address URL of the media slicing file Media slicing request;Client receives the index and issues the corresponding with the downloads of media fragment request of module transmission The response message obtains the address media slicing file original URL from the response message, former according to the media slicing file The address URL downloads of media slicing files simultaneously play out.

Optionally, client obtains the last one described new address URL of media slicing file, In from second level m3u8 file After downloading downloads of media slicing files corresponding with the new address URL of media slicing file described in the last one and playing out, This second level m3u8 file is deleted.

Optionally, the transfer algorithm includes: hash algorithm;The response message is http protocol message, described to reset It include: 301 to status code.

According to another aspect of the invention, a kind of play system of Streaming Media, including Streaming Media as described above clothes are provided Business device.

According to another aspect of the invention, a kind of streaming media server is provided, wherein include: memory;And it is coupled to The processor of the memory, the processor is configured to the instruction based on storage in the memory, executes institute as above The method stated.

In accordance with a further aspect of the present invention, a kind of computer readable storage medium is provided, computer program is stored thereon with The step of instruction, which realizes method as described above when being executed by one or more processors.

Playback method, system and the server of adaptive stream media of the invention, to the media slicing of client request Index file carries out conversion process, and the address media slicing file original URL in media slicing index file is replaced with length and is subtracted The new address URL of small media slicing file can substantially shorten fragment URL address size, reduce the storage that index file occupies And bandwidth, improve system performance and efficiency;Client, which needs to redirect, could access the original address URL, can hide in fragment Hold the true address URL, improves the safety of access to content.

Detailed description of the invention

In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only Some embodiments of the present invention, for those of ordinary skill in the art, without any creative labor, also Other drawings may be obtained according to these drawings without any creative labor.

Fig. 1 is the schematic diagram of level-one m3u8 file in the prior art and second level m3u8 file;

Fig. 2A is the flow diagram of one embodiment of the playback method of adaptive stream media according to the present invention;

Fig. 2 B is in one embodiment of the playback method of adaptive stream media according to the present invention to m3u8 index text Part converted before and after contrast schematic diagram;

Fig. 3 is the information exchange signal of another embodiment of the playback method of adaptive stream media according to the present invention Figure;

Fig. 4 is the module diagram of one embodiment of streaming media server according to the present invention;

Fig. 5 is the module signal of the index acquisition module in one embodiment of streaming media server according to the present invention Figure;

Fig. 6 is the module diagram of another embodiment of streaming media server according to the present invention.

Specific embodiment

With reference to the accompanying drawings to invention is more fully described, wherein illustrating exemplary embodiment of the present invention.Under Face will combine the attached drawing in the embodiment of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, show So, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the reality in the present invention Example is applied, every other embodiment obtained by those of ordinary skill in the art without making creative efforts all belongs to In the scope of protection of the invention.Various descriptions are carried out to technical solution of the present invention below with reference to each figure and embodiment.

Fig. 2A is the flow diagram of one embodiment of the playback method of adaptive stream media according to the present invention, is such as schemed Shown in 2A:

Step 201, conversion process is carried out based on media slicing index file of the preset transformation rule to client request, The address media slicing file original URL in media slicing index file is replaced with the new address URL of media slicing file.Matchmaker The character length of the address body slicing files original URL is greater than the character length of the new address URL of media slicing file;

Client can be mobile phone, PC, ipad etc..Media slicing index file can be existing a plurality of types of media Fragment index file, such as media slicing are HLS format, and media slicing index file is the index file of m3u8 format.

Step 202, the media slicing index file after progress conversion process is sent to client.

Step 203, client is based on media slicing index file downloads of media slicing files and plays out.

Preset transformation rule can there are many.For example, by media slicing file original URL according to preset transfer algorithm Location is converted to the new address URL of media slicing file, with establishing the new address URL of media slicing file and media slicing file original URL Mapping relations between location.Transfer algorithm can be hash algorithm etc., for example, the hash algorithm (such as MD5) by open source will The original long link URL address of cache of fragment in index.m3u8 index file is short link URL address, updates m3u8 index text Part, as shown in Figure 2 B.It can be by long link and short link one-to-one mapping relationship writing system database, when client request is short When link, client is redirected to original long connection by 301 protocol responses of HTTP and completes fragment request by server end.

In one embodiment, media slicing index file is m3u8 file, and media slicing is HLS slice, to level-one The address URL of m3u8 file is without conversion process.Since the level-one index file (test.m3u8) of HLS program only includes two The code rate and URL of grade index do not include burst information, file very little, therefore keep intact for level-one index, for including sea The secondary index file (index.m3u8) of amount burst information optimizes.Extract the media slicing file in second level m3u8 file The former address URL, it is according to transfer algorithm that this media slicing file original URL address conversion is literary for the media slicing with regular length The new address URL of part.In second level m3u8 file, corresponding media slicing is replaced using the new address URL of this media slicing file The address file original URL.

The downloads of media fragment request for carrying the new address URL of media slicing file for receiving client transmission, according to Mapping relations obtain the address media slicing file original URL corresponding with the new address URL of this media slicing file.By downloads of media Fragment request is redirected to the address this media slicing file original URL, so that client downloads and this media slicing file original URL The corresponding media slicing in location.

Downloads of media fragment request is redirected to the address this media slicing file original URL can be there are many method.For example, Response message corresponding with downloads of media fragment request is sent to client, response message, which carries, redirects status code and matchmaker The address body slicing files original URL.Response message is HTTP message, and redirecting status code includes: 301 etc..Client has obtained one A HTTP 301 is responded, and the media slicing file original URL to return from server feedback can be revised as in the address of request automatically Address, response message are cacheable.

Client receives second level m3u8 file, and the new address URL of media slicing file is obtained from second level m3u8 file, raw At the downloads of media fragment request for carrying the new address URL of media slicing file.Client is received asks with downloads of media fragment Corresponding response message is sought, the address media slicing file original URL is obtained from response message, it is former according to media slicing file The address URL downloads of media slicing files simultaneously play out.

Client requests short link URL address, and server end passes through 301 protocol responses of HTTP for client End is redirected to original long link URL address, completes fragment content requests.Client obtains last from second level m3u8 file Downloads of media corresponding with the new address URL of the last one media slicing file is being downloaded in a new address URL of media slicing file Slicing files and after playing out, this second level m3u8 file is deleted.

In one embodiment, the secondary index file index.m3u8 index of HLS program is normative text file, not It encrypts, therefore hash algorithm URL original to each fragment can be used and generate unique short link URL, and be updated.It is not necessarily to Network and hardware device are changed, only need to carry out simple software development in server end.

Fig. 3 is the information exchange signal of another embodiment of the playback method of adaptive stream media according to the present invention Figure, as shown in Figure 3: client request secondary index file index.m3u8, server will by hash algorithm after receiving request The original long link URL string processing of each fragment is short link URL character string, updates the transmission of index.m3u8 index file To client, mapping relations are written in database.By hash algorithm the binary value of random length can be mapped as compared with The binary value of short regular length.Client requests first fragment content 001.ts by short link URL, and server passes through Database Mapping relationship finds corresponding original long link URL, and carries out application layer redirection by 301 protocol responses of HTTP, Client is gone into original long link URL and obtains fragment content;Client continues through short link URL and requests in second fragment Hold 002.ts, server continues to retrieve original long link URL, redirect by 301 protocol responses of HTTP, to the last One fragment 999.ts request is completed.

In one embodiment, the present invention provides a kind of streaming media server 40, comprising: conversion processing module 41 and index Issue module 42.Conversion processing module 41 is carried out based on media slicing index file of the preset transformation rule to client request Conversion process is new the address media slicing file original URL in media slicing index file is replaced with media slicing file The address URL;Wherein, the character length of the address media slicing file original URL is long greater than the character of the new address URL of media slicing file Degree.Index issues module 42 and the media slicing index file after carrying out conversion process is sent to client;Wherein, client's end group In media slicing index file downloads of media slicing files and play out.

Media slicing file original URL address conversion is media slicing according to preset transfer algorithm by conversion processing module 41 The mapping relations between the new address URL of media slicing file and the address media slicing file original URL are established in the new address URL of file. Media slicing index file is m3u8 file, and media slicing is HLS slice.Conversion processing module 42 is to level-one m3u8 file The address media slicing file original URL in second level m3u8 file is extracted, according to transfer algorithm without conversion process in the address URL It is the new address URL of media slicing file with regular length by this media slicing file original URL address conversion.Conversion process mould Block 42 replaces corresponding media slicing file original URL in second level m3u8 file, using the new address URL of this media slicing file Address.

In one embodiment, as shown in figure 5, it includes: that request reception unit 421 and redirection are single that index, which issues module 42, Member 422.Request reception unit 421 receives the downloads of media for carrying the new address URL of media slicing file point that client is sent Piece request.It redirects unit 422 and obtains media slicing corresponding with the new address URL of this media slicing file according to mapping relations The address file original URL.It redirects unit 422 and downloads of media fragment request is redirected to the address this media slicing file original URL, So that client downloads media slicing corresponding with this media slicing file address original URL.Unit 422 is redirected to client Send response message corresponding with downloads of media fragment request;Wherein, response message, which carries, redirects status code and media The address slicing files original URL.

In one embodiment, client receives the second level m3u8 file that index issues the transmission of module 42, from second level The new address URL of media slicing file is obtained in m3u8 file, generates the downloads of media for carrying the new address URL of media slicing file Fragment request.Client receives the response message corresponding with downloads of media fragment request that index issues the transmission of module 42, The address media slicing file original URL is obtained from response message, according to the address media slicing file original URL downloads of media fragment text Part simultaneously plays out.Client obtains the new address URL of the last one media slicing file from second level m3u8 file, downloading with Corresponding downloads of media slicing files in the new address URL of the last one media slicing file and after playing out, by this second level M3u8 file is deleted.

In one embodiment, the present invention provides a kind of play system of Streaming Media, including in any embodiment as above Streaming media server.

Fig. 6 is the module diagram according to another embodiment of streaming media server disclosed by the invention.Such as Fig. 6 institute Show, which may include memory 61, processor 62, communication interface 63 and bus 64.Memory 61 is for depositing Storage instruction, processor 62 are coupled to memory 61, and the instruction execution that processor 62 is configured as storing based on memory 61 is realized The playback method of above-mentioned adaptive stream media.

Memory 61 can be high speed RAM memory, nonvolatile memory (NoN-volatile memory) etc., deposit Reservoir 61 is also possible to memory array.Memory 61 is also possible to by piecemeal, and block can be combined into virtually by certain rule Volume.Processor 62 can be central processor CPU or application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the one of the playback method of adaptive stream media disclosed by the invention A or multiple integrated circuits.

In one embodiment, the disclosure also provides a kind of computer readable storage medium, wherein computer-readable storage Media storage has computer instruction, and the adaptive stream media that any embodiment as above is related to is realized in instruction when being executed by processor Playback method.It should be understood by those skilled in the art that, embodiment of the disclosure can provide as method, apparatus or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the disclosure The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the disclosure, which can be used in one or more, Machine can use the meter implemented in non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of calculation machine program product.

The disclosure is reference according to the method for the embodiment of the present disclosure, the flow chart of equipment (system) and computer program product And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.

So far, the disclosure is described in detail.In order to avoid covering the design of the disclosure, it is public that this field institute is not described The some details known.Those skilled in the art as described above, completely it can be appreciated how implementing technology disclosed herein Scheme.

Playback method, system and the server of adaptive stream media in above-described embodiment, to the matchmaker of client request Body fragment index file carries out conversion process, and the address media slicing file original URL in media slicing index file is replaced with The new address URL of media slicing file that length reduces can substantially shorten fragment URL address size, reduce index file and occupy Storage and bandwidth, improve system performance and efficiency;Client, which needs to redirect, could access the original address URL, can hide The true address URL of fragment content, improves the safety of access to content;And it only need to be simply transformed in server end row.

Method and system of the invention may be achieved in many ways.For example, can by software, hardware, firmware or Software, hardware, firmware any combination realize method and system of the invention.The said sequence of the step of for method is only In order to be illustrated, the step of method of the invention, is not limited to sequence described in detail above, especially says unless otherwise It is bright.In addition, in some embodiments, also the present invention can be embodied as to record program in the recording medium, these programs include For realizing machine readable instructions according to the method for the present invention.Thus, the present invention also covers storage for executing according to this hair The recording medium of the program of bright method.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种防水抗振型通讯设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类