CN106161351A - Method, device and the CDN server that streaming media service is merged with file download - Google Patents

Method, device and the CDN server that streaming media service is merged with file download Download PDF

Info

Publication number
CN106161351A
CN106161351A CN201510147701.2A CN201510147701A CN106161351A CN 106161351 A CN106161351 A CN 106161351A CN 201510147701 A CN201510147701 A CN 201510147701A CN 106161351 A CN106161351 A CN 106161351A
Authority
CN
China
Prior art keywords
request
streaming media
media service
isp
file download
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.)
Withdrawn
Application number
CN201510147701.2A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510147701.2A priority Critical patent/CN106161351A/en
Priority to PCT/CN2016/077572 priority patent/WO2016155599A1/en
Publication of CN106161351A publication Critical patent/CN106161351A/en
Withdrawn legal-status Critical Current

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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Abstract

The present invention proposes method, device and the CDN server that a kind of streaming media service is merged with file download, the method includes: when receiving streaming media service request and the file download request that client user sends, respond respectively according to the corresponding different service regulations of each request.The present invention extract each ISP block of information of formation by knowing key point, by to the active arrangement of this ISP block of information, fuzzy matching, be accurately positioned, make to deploy the CDN server compliant stream media services simultaneously of the method for the invention function and internet document is downloaded and accelerated, i.e. unified fusion is accelerated.Enhance the acceleration service performance of CDN system.

Description

Method, device and the CDN server that streaming media service is merged with file download
Technical field
The present invention relates to CDN (Content Delivery Network, content distributing network) service technology field, particularly relate to method, device and CDN server that a kind of streaming media service is merged with file download.
Background technology
The basic ideas of content distributing network CDN are to avoid being possible on internet affecting bottleneck and the link of data transmission bauds and stability as far as possible, make that content transmits faster, more stable.By placing, at network, on existing Internet basic one layer of intelligent virtual network that node i.e. CDN server is constituted everywhere, CDN system the connection according to network traffics and each node, load state and resource to the integrated information such as the distance of user and response time, can be re-directed to the request of user on the nearest node of user in real time.Its objective is to make user can obtain required content nearby, solve the crowded situation of Internet network, improve user and access the response speed of website, save inter-network settlement.
nullThe type of current CDN service is broadly divided into webpage according to the content that it services and accelerates、Streaming media service、File download accelerates and application protocol accelerates 4 classes,Wherein,The host-host protocol using in streaming media service comprises HTTP Live Streaming (being called for short HLS),HLS is the Streaming transfer protocol based on HTTP that Apple (Apple Inc.) realizes,The live of Streaming Media and program request can be realized,Originally it is mainly used in iOS system,For iOS device (such as iPhone、IPad) provide that audio frequency and video are live and demand scheme,The streaming media service that increasing at present video server and android terminal use HLS protocol to provide the user high-quality,Therefore,Development with Internet service,Emerging in large numbers of multitude of video website,Flow media flux rises rapidly therewith,Thus the priority application driving CDN also progressively turns to and accelerates for streaming media service.
There is provided file download to accelerate by using the node of CDN system, can significantly alleviate performance pressures and the bandwidth pressure that file download brings, improve the speed of download of user.Be mainly used in patch issue, virus base updates, game client is downloaded, and especially can accelerate for the download in present various Android markets, appstore raising mobile client installation file.
In existing CDN system, provide the CDN node of OTT (Over The Top, open the Internet) Video service and have no idea to provide internet document delivery acceleration service, otherwise or.In the mobile Internet epoch, often multiple business be mutually merge, boundary obscures, and OTT set-top box terminal, mobile phone, pad, computer in user family, substantially all under same network wifi, but a kind of streaming media service acceleration can merged in CDN service and file download is not but had to be accelerated in the scheme of one.
Content of the invention
The technical problem to be solved in the present invention is to provide method, device and the CDN server that a kind of streaming media service is merged with file download, realizes that streaming media service acceleration and file download accelerate to merge in CDN system.
The technical solution used in the present invention is, the method that described streaming media service is merged with file download, comprising:
When receiving streaming media service request and the file download request that client user sends, respond respectively according to the corresponding different service regulations of each request.
Further, described respond respectively according to the corresponding different service regulations of each request, comprising:
Arbitrary request in asking for described streaming media service request and file download, judge that described arbitrary request is belonging to streaming media service request or file download request based on the service request feature being pre-configured with, use corresponding service regulation to respond described arbitrary request according to judged result.
Further, judge that described arbitrary request is belonging to streaming media service request or file download request based on the service request feature being pre-configured with, use corresponding service regulation to respond described arbitrary request according to judged result, comprising:
Ask for arbitrary streaming media service request or file download, based on each ISP (the Internet Service Provider being pre-configured with, ISP) information concentrate coupling URL (Uniform Resource Locator, uniform resource locator) regular expression, to described arbitrary streaming media service request or described file download request mate;Each ISP information collection, comprising: with streaming media service specification corresponding ISP information collection and with file download service specification corresponding ISP information collection;
According to the ISP information collection matching, described arbitrary streaming media service request or the request of described file download are responded.
Further, described client user sends streaming media service request and the form all with uniform resource locator URL request for the file download request send;The part of each ISP information collection, also includes: COS, content provider identification, the acquisition rule obtaining rule and filename of content identification;
The ISP information collection that described basis matches, responds to described arbitrary streaming media service request or the request of described file download, comprising:
Call corresponding Service Processing Module according to the COS that the ISP information that described URL request is mated is concentrated;Described COS includes: file download and streaming media service, described streaming media service includes: live, VOD (Video On Demand, video request program), TVOD (True Video-On-Demand, true video-on-demand), NVOD (Near-Video-On-Demand, formula video request program nearby) or TSTV (Time-shifted Television, time-moving television);
By described Service Processing Module according to the acquisition rule obtaining rule and filename of content provider identification, content identification, respond described URL request.
Further, the part of each ISP information collection, also includes: certification key;
The ISP information collection that described basis matches, responds to described arbitrary streaming media service request or the request of described file download, also includes:
It before according to calling corresponding Service Processing Module with the COS that the ISP information of described URL request coupling is concentrated, is decrypted based on the authentication information carrying in URL request described in the certification double secret key of the ISP information concentration of described coupling;Authentication information after deciphering is verified.
Further, the ISP information collection that described basis is mated with described URL request, responds described URL request, also includes:
If the URL request that client user sends belongs to the COS of file download and responds, then while carrying out local cache to the file downloaded first, content identification and the filename concentrated according at least to the ISP information of described coupling determine the first cashing indication of described file;
When receiving the URL request that other client users send and belonging to file download service type, if the required corresponding cashing indication of file downloaded of the URL request that other client users described send and the first cashing indication are identical, then the direct described file having cached for client user's offer from this locality.
Further, the part of each ISP information collection, also includes: ISP identification code;
During the described URL request of Service Processing Module response, performed flow process also specifically includes:
If the URL request that client user sends belongs to the COS of streaming media service, then send time shift ts (Time-shifted to client user, time shift) index file, described ts index file comprises the ts burst index of the relative path with ISP identification code, when sending URL request again for client user.
Further, the detailed process that the URL request sending based on each ISP information set pair client user being pre-configured with is mated replaces with:
Based on ISP identification code, the URL request sending client user is mated with each ISP information collection being pre-configured with;
When it fails to match, based on the regular expression of coupling URL, described URL request is mated with each ISP information collection being pre-configured with.
Further, the part of each ISP information collection, also include: ISP type, time source dates, rewriting URL and tstv time format, for described Service Processing Module always according to ISP type, time source dates, rewriting URL and tstv time format, respond described URL request.
The present invention also provides the device that a kind of streaming media service is merged with file download, comprising:
Receiver module, for receiving streaming media service request and the file download request that client user sends;
Respond module, for when receiving streaming media service request and the file download request that client user sends, responds respectively according to the corresponding different service regulations of each request.
The present invention also provides a kind of CDN server, including the device that above-mentioned streaming media service is merged with file download.
Using technique scheme, the present invention at least has the advantage that
Method, device and the CDN server that streaming media service of the present invention is merged with file download, it extract each ISP block of information of formation by knowing key point, by to the active arrangement of this ISP block of information, fuzzy matching, be accurately positioned, make to deploy the CDN server compliant stream media services simultaneously of the method for the invention function and internet document is downloaded and accelerated, i.e. unified fusion is accelerated.Enhance the acceleration service performance of CDN system.
Brief description
Fig. 1 is the method flow diagram with file download fusion for the streaming media service of first embodiment of the invention;
Fig. 2 is the method flow diagram with file download fusion for the streaming media service of second embodiment of the invention;
Fig. 3 is that the streaming media service of sixth embodiment of the invention forms structural representation with the device that file download merges;
Fig. 4 is that the fusion treatment structural diagrams of the CDN system of eighth embodiment of the invention is intended to;
Fig. 5 is the generalized flowsheet schematic diagram after eighth embodiment of the invention user's URL request is scheduled for aggregators inside.
Detailed description of the invention
By further illustrating the technological means and effect that the present invention taked by reaching predetermined purpose, below in conjunction with accompanying drawing and preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of method that streaming media service and file download merge, can apply and implement in CDN server, as it is shown in figure 1, the method includes step in detail below:
Step S101, receives streaming media service request and the file download request that client user sends;
Step S102, responds respectively according to the corresponding different service regulations of each request receiving.
Concrete, step S102, including: the arbitrary request in asking for described streaming media service request and file download, judge that described arbitrary request is belonging to streaming media service request or file download request based on the service request feature being pre-configured with, use corresponding service regulation to respond described arbitrary request according to judged result.
Further, in step s 102, ask for arbitrary streaming media service request or file download, based on the regular expression of the coupling URL that each ISP information being pre-configured with is concentrated, described arbitrary streaming media service request or the request of described file download are mated;Each ISP information collection, comprising: with streaming media service specification corresponding ISP information collection and with file download service specification corresponding ISP information collection;
According to the ISP information collection matching, described arbitrary streaming media service request or the request of described file download are responded.
Streaming media service request and the form all with uniform resource locator URL request for the file download request that described client user sends send;The part of each ISP information collection, also includes: COS, content provider identification, the acquisition rule obtaining rule and filename of content identification;
Further, the ISP information collection that described basis matches, responds to described arbitrary streaming media service request or the request of described file download, comprising:
Call corresponding Service Processing Module according to the COS that the ISP information that described URL request is mated is concentrated;Described COS includes: file download and streaming media service, and described streaming media service includes: live, video on demand, true video-on-demand TVOD, the NVOD of formula video request program nearby or time-moving television TSTV;
By described Service Processing Module according to the acquisition rule obtaining rule and filename of content provider identification, content identification, respond described URL request.
Second embodiment of the invention, a kind of method that streaming media service is merged with file download, can apply and implement in CDN server, and method described in the present embodiment is consistent with the basic ideas of method described in first embodiment, as in figure 2 it is shown, the method includes step in detail below:
Step S201, is pre-configured with each ISP block of information.
Concrete, described each ISP block of information includes: from various flows media services specification ISP block of information one to one and with different file download service specification one_to_one corresponding ISP block of information (concept of the ISP information collection being similar in first embodiment).The embodiment of the present invention does the streaming media service that the various different streaming media service specification supported is all based on HLS protocol.
The part of each the ISP block of information being pre-configured with, all includes: the regular expression of coupling URL, COS, content provider identification, the acquisition rule obtaining rule and filename of content identification.
Described COS includes: file download and streaming media service, and described streaming media service includes: VOD, TVOD, NVOD or TSTV.
Step S202, the URL request sending client user based on each ISP block of information being pre-configured with is mated;
Concrete, step S202 includes:
Based on the regular expression of the coupling URL in each ISP information being pre-configured with, the URL request sending client user is mated with each ISP block of information.
Step S203, according to the ISP block of information mated with described URL request, responds described URL request.
Concrete, step S203 includes:
A1: call corresponding Service Processing Module according to the COS in the ISP block of information that described URL request is mated.COS in each ISP block of information can obtain from the URL request that client user sends, and now, is provided with the acquisition rule of COS in ISP block of information;Or, COS has been configured in the regular expression of described coupling URL, now, by mating the URL request that client user is sent by each ISP block of information being pre-configured with, it is possible to determine service type information.
A2: by described Service Processing Module according to the acquisition rule obtaining rule and filename of content provider identification, content identification, respond described URL request.Wherein, regular and filename the rule that obtains that obtains of content identification is respectively used to indicate how to obtain content identification from the URL request that client user sends and how to obtain filename from the URL request that client user sends.Owing to each Service Processing Module carries out, for the URL request that client user sends, the existing capability that the concrete processing procedure of response process is CDN server, so place is not described in detail.
Preferably, in embodiments of the present invention, the part of each ISP block of information, also include: the spreading parameters such as ISP type, time source dates, rewriting URL and tstv time format, for described Service Processing Module always according to ISP type, return source dates, rewriting URL and tstv time format, respond described URL request.Wherein, ISP type can be file download label and streaming media service label.Return source dates to include: returning Source Type, the rule returning origin url, Hui Yuan refers to province center CND server from edge C DN server or obtain to source station and preserve resource.Rewrite URL, the URL for filling in when CDN server changes URL request address.
Third embodiment of the invention, a kind of method that streaming media service and file download merge, method described in the present embodiment is roughly the same with the second embodiment, and difference is, the part of each ISP block of information, also includes: certification key;
According to the ISP block of information mated with described URL request described in step S203, respond described URL request, also specifically include:
It before step A1 is according to calling corresponding Service Processing Module with the COS in the ISP block of information that described URL request is mated, is decrypted based on the authentication information carrying in URL request described in the certification double secret key in the ISP block of information of described coupling;Authentication information after deciphering is verified.Authentication information includes: client user IP address, content identification, the term of validity of described URL request.
Fourth embodiment of the invention, a kind of method that streaming media service is merged with file download, method described in the present embodiment is roughly the same with the second embodiment or the 3rd embodiment, difference is, according to the ISP block of information mated with described URL request described in step S203, respond described URL request, also specifically include:
A3, if the URL request that client user sends belongs to the COS of file download and responds, then while local cache is carried out to the file downloaded first, determine the first cashing indication of described file according at least to the content identification in the ISP block of information of described coupling and filename;
A4, when receiving the URL request that other client users send and belonging to file download service type, if the required corresponding cashing indication of file downloaded of the URL request that other client users described send and the first cashing indication are identical, then the direct described file having cached for client user's offer from this locality, has further speeded up the speed providing file download service for client user.The determination mode of the required corresponding cashing indication of file downloaded of the URL request that other client users described send, is also the content identification in the ISP block of information according to described coupling and filename is determined.
Fifth embodiment of the invention, a kind of method that streaming media service and file download merge, method described in the present embodiment is roughly the same with second, third or the 4th embodiment, and difference is, the part of each ISP block of information, also includes: ISP identification code;
In step A2 during the described URL request of Service Processing Module response, performed flow process also specifically includes:
If the URL request that client user sends belongs to the COS of streaming media service, then send ts (Time-shifted to client user, time shift) index file, described ts index file comprises the ts burst index of the relative path with ISP identification code, when sending URL request again for client user.
nullConcrete,CDN server is when responding streaming media service,It is to send ts index file to client user in the form of a list,Carry out the ts burst to the corresponding Streaming Media of CDN server request for volume client user based on each ts index file in list,Ts index file is improved by the embodiment of the present invention,Add ISP identification code wherein,Define each ts burst index of the relative path with ISP identification code,When sending URL request again for client user,The URL request that so client user sends again will carry the information of ISP identification code,The effect of addition ISP identification code is: CDN server can be compared directly to determine the ISP block of information matching before with the ISP identification code in each ISP block of information according to the ISP identification code in URL request,And need not have matched based on the regular expression of coupling URL again,Further shorten the time of coupling.
Further, as the optional technical scheme of one, the detailed process that step S202 in previous embodiment is mated based on the URL request that client user is sent by each ISP block of information being pre-configured with, by the regular expression based on the coupling URL in each ISP information being pre-configured with, the URL request sending client user is mated with each ISP block of information, replaces to:
Based on ISP identification code, the URL request sending client user is mated with each ISP block of information being pre-configured with;
When it fails to match, then the regular expression based on coupling URL, described URL request is mated with each ISP block of information being pre-configured with.
Sixth embodiment of the invention, with second, third, the 4th or the 5th embodiment corresponding, the present embodiment introduces the device that a kind of streaming media service and file download merge, and first-selected introduces and the corresponding situation of first embodiment, as it is shown on figure 3, this device includes consisting of part:
1) configure module 100, be used for being pre-configured with each ISP block of information;
Concrete, the part of each ISP block of information, comprising: the regular expression of coupling URL, COS, content provider identification, the acquisition rule obtaining rule and filename of content identification;
2) matching module 200, for mating based on the URL request that client user is sent by each ISP block of information being pre-configured with;Described each ISP block of information includes: from various flows media services specification ISP block of information one to one and with different file download service specification one_to_one corresponding ISP block of information;
Concrete, matching module 200 is based on the regular expression of coupling URL, and the URL request sending client user is mated with each ISP block of information being pre-configured with.
3) respond module 300, for according to the ISP block of information mated with described URL request, responding described URL request.
Concrete, respond module 300 is for calling corresponding Service Processing Module according to the COS in the ISP block of information of described URL request coupling;Described COS includes: file download and streaming media service, and described streaming media service includes: VOD, TVOD, NVOD or TSTV;
By described Service Processing Module according to the acquisition rule obtaining rule and filename of content provider identification, content identification, respond described URL request.
4) Service Processing Module 400, corresponding respectively from different COSs, in order to provide file download to accelerate or streaming media service acceleration process based on the acceleration capacity layer of CDN server and storage capacity layer for client user.Concrete, the functional module that Service Processing Module 400 accelerates as offer file download existing in CDN server or streaming media service acceleration is processed, the function of itself does not has change in embodiments of the present invention, but provide in a CDN server, it is called for the URL request of the different COS of response.
Then, introduce and the corresponding situation of the second embodiment, respond module 300 in this device is additionally operable to: before according to calling corresponding Service Processing Module with the COS in the ISP block of information of described URL request coupling, be decrypted based on the authentication information carrying in URL request described in the certification double secret key in the ISP block of information of described coupling;Authentication information after deciphering is verified.Authentication information includes: client user IP address, content identification, the term of validity of described URL request.
Next, introduce and the corresponding situation of the 3rd embodiment, respond module 300 in this device is additionally operable to: if the URL request that client user sends belongs to the COS of file download and responds, then while local cache is carried out to the file downloaded first, determine the first cashing indication of described file according at least to the content identification in the ISP block of information of described coupling and filename;
When receiving the URL request that other client users send and belonging to file download service type, if the required corresponding cashing indication of file downloaded of the URL request that other client users described send and the first cashing indication are identical, then the direct described file having cached for client user's offer from this locality, has further speeded up the speed providing file download service for client user.The determination mode of the required corresponding cashing indication of file downloaded of the URL request that other client users described send, is also the content identification in the ISP block of information according to described coupling and filename is determined.
It follows that introduce and the corresponding situation of the 4th embodiment, the part of each ISP block of information, also include: ISP identification code;Service Processing Module 400 in this device responds described URL request provides file download to accelerate or during streaming media service acceleration process for client user, also particularly useful for:
If the URL request that client user sends belongs to the COS of streaming media service, then send ts (Time-shifted to client user, time shift) index file, described ts index file comprises the ts burst index of the relative path with ISP identification code, when sending URL request again for client user.
nullConcrete,CDN server is when responding streaming media service,It is to send ts index file to client user in the form of a list,Carry out the ts burst to the corresponding Streaming Media of CDN server request for volume client user based on each ts index file in list,Ts index file is improved by the embodiment of the present invention,Add ISP identification code wherein,Define each ts burst index of the relative path with ISP identification code,When sending URL request again for client user,The URL request that so client user sends again will carry the information of ISP identification code,The effect of addition ISP identification code is: the ISP identification code during CDN server can be asked according to URL be compared with the ISP identification code in each ISP block of information directly to determine the ISP block of information matching before,And need not have matched based on the regular expression of coupling URL again,Further shorten the time of coupling.
Further, as the optional technical scheme of one, the concrete function of matching module 200, by the regular expression based on the coupling URL in each ISP information being pre-configured with, the URL request sending client user is mated with each ISP block of information, is replaced to:
Based on ISP identification code, the URL request sending client user is mated with each ISP block of information being pre-configured with;
When it fails to match, then the regular expression based on coupling URL, described URL request is mated with each ISP block of information being pre-configured with.
Seventh embodiment of the invention, the present embodiment is on the basis of sixth embodiment, introducing a kind of CDN server, this numerous CDN server forms CDN system as CDN node, and this CDN server comprises the device that the streaming media service in sixth embodiment is merged with file download.The terminal of the present embodiment can understand as entity apparatus.
Eighth embodiment of the invention, the present embodiment is on the basis of above-described embodiment, using the request OTT video request program of client user's OTT box as the example 1 of streaming media service, using client user's request in appstore one application program of download as the example 2 of file download, introduce the application example of the present invention in conjunction with accompanying drawing 4~5.
Fig. 4 is the fusion treatment structure chart of the CDN system of the present embodiment, as it is shown on figure 3, the operational system in CDN system includes the information such as ISP configuration by unified management interface to aggregators (i.e. CDN server) transmission;User services request through GSLB (Global Server Load Balance, GSLB) equipment scheduling access aggregators, distinguish OTT video-on-demand service and file download service by ISP identification module (matching module in the i.e. the 5th embodiment), then corresponding OTT business module and file downloading service module (OTT business module and file downloading service module the two module are equivalent to the Service Processing Module in the 5th embodiment) are called, each business module is again by public acceleration capacity layer and storage capacity layer, realize merging and accelerate.
Fig. 5 is the generalized flowsheet after user's URL request of the present embodiment is scheduled for aggregators inside, as it is shown in figure 5, this flow process is as follows:
S1: user asks to enter unified entrance;
nullS2:ISP identification module travels through according to the regular expression (urlfrom) of the coupling URL in request url and each ISP block of information in ISP configuration information,Canonical matches corresponding ISP block of information,This block of information comprises following information: ISP type (isptype)、ISP identification code (ispcode)、COS (servicetype)、Content provider identification (cpid)、Acquisition rule (cidurl) of content identification、And acquisition rule (filenameurl) of filename、Return Source Type (upstreamtype)、Return the rule (upstreamurl) of source request URL、And some other privately owned field informations in inside,Such as time format matched rule.
S3: according to the key (Authinfokey) identifying and the authentication information Authinfo being come by URL request band and key version, carry out door chain verification, specifically the IP address of user, the content identification of request, the term of validity of request are verified, if there being illegal request, then return 403 and forbid accessing.
S4: entering different process hooks (certain Handler) according to the COS (servicetype) in ISP block of information, servicetype mainly includes download, vod, tvod, tstv, nvod etc..nullThe trend of Video service operation flow and specially treated,According to the information in ISP configuration block,Obtain the process of fully necessity,Provide the user good service accurately,The embodiment of the present invention also provides one for HLS Video service can mitigate server stress、Improve the ispcode mechanism of Consumer's Experience,It is described as follows: when user asks the ts index file of video playback,If having obtained accurate ISP block of information coupling and door chain verification,Return in the ts index file of user,The url of ts can actively be added an ispcode field,This field is really the md5 value of urlfrom character string,When asking again Deng user,Can first mate according to ispcode,Do not need again to carry out Regularized Fuzzy coupling、Content identification (cid) calculates、The steps such as door chain verification,So alleviate the request pressure of ts burst,Owing to user's primary video is play,Most request is all ts fragment request,So significantly reducing the pressure of server,The broadcasting also improving user is experienced.
S5: in corresponding process hook, can carry out the process in operation flow according to cpid, cidurl, filenameurl, rewriting URL (rewriteurl), time Source Type (upstreamtype), the rule (upstreamurl) returning source request URL, tstv time format (starttime, endtime) and other possible spreading parameters etc..Further, because having refined these crucial identification information, operation flow is also made can to accomplish the unification on big frame.Detail repeats no more.
S6: according to Hui Yuan/link deployment, carries out back source or relay process.
Embodiment 1: the application scenarios of client user's OTT box request OTT video request program.
First, ISP configuration phase
First according to China Telecom 3.0 streaming media service extension specification, ISP information configuration is carried out to aggregators, as follows:
This arrangement provides following information, be explained as follows successively:
The coupling regular expression of url, ISP type be ottcache, ISP identification code, certification key, Video service type, content provider identification, content identification obtain rule, the obtaining rule, return Source Type, return the rule of source request Url, rewrite url, tstv time format of filename.
2nd, boost phase is merged
Assume the OTT set-top box request order program service of only one China telecommunication specification.
The URL request of client user is:
http://ip:port/DemoCPID/2/DemoCID/index.m3u8?AuthInfo=SpwsfIN8AYMWkbBb2JeomWFFh87RT3lnNxLLVDF%2BZVhyf %2FZKTamT%2F13JothwYij0&version=1.0&param1=1&paramN=n&vi rtualDomain=DemoCPID.vod_hls.zte.com
Through ISP identification module, can by urlfrom field fuzzy matching to for ISP block of information, corresponding isptype is ottcache, and ispcode is 9f14f26664a0ffc79efdbefc53fc8ccb.Recognizing this url form is China Telecom's specification, and enters door chain module, Authinfo and version coming url band, and corresponding key, carry out AES128 deciphering and to User IP, content identification CID, request the term of validity legitimacy verification.It is assumed here that verification is passed through.
Afterwards according to COS vod, enter Vodhandler processing module, carry out the relevant treatment of demand (telecommunication) service, the rewriting ts index file that the embodiment of the present invention is mentioned is to increase ISPcode field, can complete in this module, return to the ts index file with the relative path of ISPcode for the client user, such as:
#EXTM3U
#EXT-X-VERSION:1
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10,
1-1.ts&virtualDomain=DemoCPID.vod_hls.zte.com&ispcode=9f 14f26664a0ffc79efdbefc53fc8ccb
#EXTINF:10,
1-2.ts&virtualDomain=DemoCPID.vod_hls.zte.com&ispcode=9f 14f26664a0ffc79efdbefc53fc8ccb
#EXTINF:10,
1-3.ts&virtualDomain=DemoCPID.vod_hls.zte.com&ispcode=9f 14f26664a0ffc79efdbefc53fc8ccb
#EXTINF:10,
1-4.ts&virtualDomain=DemoCPID.vod_hls.zte.com&ispcode=9f 14f26664a0ffc79efdbefc53fc8ccb
#EXTINF:10,
When user asks ts burst according to above-mentioned ts index file, aggregators can eliminate the fuzzy matching of canonical according to ispcode, the ISP block of information matching before directly obtaining, and enters Vodhandler process.
Embodiment 2: the application scenarios of an application program is downloaded in client user's request at appstore.
First, ISP configuration phase
First download specification according to appstore, carry out ISP information configuration to aggregators, as follows
This arrangement provides following information, be explained as follows successively:
The coupling regular expression of url, ISP type be webcache, ISP identification code, certification key, file download service type, content provider identification, content identification obtain rule, filename obtain rule, return Source Type, return the rule of source request Url, rewrite url, tstv time format.
2nd, boost phase is merged
The URL request of client user is:
http://ip:port/a1156.phobos.apple.com/us/r1000/034/Purple3/v4/ac/6b/87/ac6b875b-2886-6953-2e9b-eb08890d255b/ypb2714011175547172506.D2.pd.ipa?DownloadKey=1418273539_150c5e5988d3ccd7886bfc1a898b04e9
Through ISP identification module, can by urlfrom field fuzzy matching to for ISP block of information, corresponding isptype is webcache, and ispcode is f3f962c217afce6af3b83da48f558e71.
Entering door chain module afterwards, to this ISP block of information, if there is no the configuration of key, being defaulted as not carrying out door chain verification.
Afterwards according to type of service, enter DownloadHandler processing module, content identification according to the acquisition in ISP block of information and filename assemble, through set, the cashing indication cachekey that rule risks this app, this mode of the embodiment of the present invention can filter out door chain information downloadKey of apple self, different user request in making same aggregators all can be based on the comparison of cashing indication, accurately hit this unique content, provide the CDN file delivery acceleration service of high-quality.
Method, device and the CDN server that the described streaming media service of the embodiment of the present invention is merged with file download, it extract each ISP block of information (or being called ISP information collection) of formation by knowing key point, by to the active arrangement of this ISP block of information, fuzzy matching, be accurately positioned, make to deploy the CDN server compliant stream media services simultaneously of the method for the invention function and internet document is downloaded and accelerated, i.e. unified fusion is accelerated.Enhance the acceleration service performance of CDN system.
By the explanation of detailed description of the invention, it should the technological means can taked the present invention by reaching predetermined purpose and effect are able to more go deep into and concrete understanding, but appended diagram is only to provide reference and purposes of discussion, is not used for being any limitation as the present invention.

Claims (11)

1. the method that a streaming media service is merged with file download, it is characterised in that include:
When receiving streaming media service request and the file download request that client user sends, according to each request Corresponding different service regulation responds respectively.
2. the method that streaming media service according to claim 1 is merged with file download, it is characterised in that Described respond respectively according to the corresponding different service regulations of each request, comprising:
Arbitrary request in asking for described streaming media service request and file download, based on be pre-configured with Service request feature judges that described arbitrary request is belonging to streaming media service request or file download request, root It is judged that result uses corresponding service regulation to respond described arbitrary request.
3. the method that streaming media service according to claim 2 is merged with file download, it is characterised in that Judge that described arbitrary request is belonging to streaming media service request or literary composition based on the service request feature being pre-configured with Part downloads request, uses corresponding service regulation to respond described arbitrary request according to judged result, bag Include:
Ask for arbitrary streaming media service request or file download, based on each ISP information collection being pre-configured with In the regular expression of coupling URL, to described arbitrary streaming media service request or the request of described file download Mate;Each ISP information collection, comprising: with streaming media service specification corresponding ISP information collection, Yi Jiyu File download service specification corresponding ISP information collection;
According to the ISP information collection matching, please to described arbitrary streaming media service request or described file download Ask and respond.
4. the method that streaming media service according to claim 3 is merged with file download, it is characterised in that
Streaming media service request and file download request that described client user sends all position with unified resource The form of device URL request sends;The part of each ISP information collection, also includes: COS, interior Hold the acquisition rule obtaining rule and filename of provider's mark, content identification;
The ISP information collection that described basis matches, under described arbitrary streaming media service request or described file Load request responds, comprising:
Call corresponding Business Processing according to the COS that the ISP information that described URL request is mated is concentrated Module;Described COS includes: file download and streaming media service, and described streaming media service includes: straight Broadcast, video on demand, true video-on-demand TVOD, the NVOD of formula video request program nearby or time shift TV TSTV;
By described Service Processing Module according to content provider identification, the acquisition rule of content identification, Yi Jiwen The acquisition rule of part name, responds described URL request.
5. the method that streaming media service according to claim 4 is merged with file download, it is characterised in that The part of each ISP information collection, also includes: certification key;
The ISP information collection that described basis matches, under described arbitrary streaming media service request or described file Load request responds, and also includes:
Calling at corresponding business according to the COS that the ISP information of described URL request coupling is concentrated Before reason module, carry in URL request described in the certification double secret key of the ISP information concentration of described coupling Authentication information be decrypted;Authentication information after deciphering is verified.
6. the method that streaming media service according to claim 4 is merged with file download, it is characterised in that The ISP information collection that described basis is mated with described URL request, responds described URL request, also includes:
If the URL request that client user sends belongs to the COS of file download and responds, Then while local cache is carried out to the file downloaded first, according at least to the ISP information collection of described coupling In content identification and filename determine the first cashing indication of described file;
When receiving the URL request that other client users send and belonging to file download service type, if described The required corresponding cashing indication of file downloaded of the URL request that other client users send and the first caching mark Sensible with the then direct described file having cached for client user's offer from this locality.
7. the method that streaming media service according to claim 4 is merged with file download, it is characterised in that The part of each ISP information collection, also includes: ISP identification code;
During the described URL request of Service Processing Module response, performed flow process also specifically includes:
If the URL request that client user sends belongs to the COS of streaming media service, then use to client Family sends time shift ts index file, comprises the relative path with ISP identification code in described ts index file Ts burst indexes, when sending URL request again for client user.
8. the method that streaming media service according to claim 7 is merged with file download, it is characterised in that The concrete mistake mated based on the URL request that each ISP information set pair client user being pre-configured with sends Journey replaces with:
Based on ISP identification code, the URL request that client user is sent and each ISP information being pre-configured with Collection mates;
When it fails to match, based on coupling URL regular expression, to described URL request with join in advance The each ISP information collection put mates.
9. the method that streaming media service according to claim 4 is merged with file download, it is characterised in that The part of each ISP information collection, also includes: ISP type, return source dates, rewrite URL and Tstv time format, for described Service Processing Module always according to ISP type, return source dates, rewrite URL, with And tstv time format, respond described URL request.
10. the device that a streaming media service is merged with file download, it is characterised in that include:
Receiver module, for receiving streaming media service request and the file download request that client user sends;
Respond module, for when receiving the streaming media service request that client user sends and file download please When asking, respond respectively according to the corresponding different service regulations of each request.
11. 1 kinds of content distribution network CDN service devices, it is characterised in that include as claimed in claim 9 The device that merges of streaming media service and file download.
CN201510147701.2A 2015-03-31 2015-03-31 Method, device and the CDN server that streaming media service is merged with file download Withdrawn CN106161351A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510147701.2A CN106161351A (en) 2015-03-31 2015-03-31 Method, device and the CDN server that streaming media service is merged with file download
PCT/CN2016/077572 WO2016155599A1 (en) 2015-03-31 2016-03-28 Streaming media service and file downloading combination method and apparatus, and cdn server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510147701.2A CN106161351A (en) 2015-03-31 2015-03-31 Method, device and the CDN server that streaming media service is merged with file download

Publications (1)

Publication Number Publication Date
CN106161351A true CN106161351A (en) 2016-11-23

Family

ID=57006553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510147701.2A Withdrawn CN106161351A (en) 2015-03-31 2015-03-31 Method, device and the CDN server that streaming media service is merged with file download

Country Status (2)

Country Link
CN (1) CN106161351A (en)
WO (1) WO2016155599A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449395A (en) * 2018-03-05 2018-08-24 北京云端智度科技有限公司 A kind of more CDN tasks adaptation methods and system
CN109753322A (en) * 2017-08-29 2019-05-14 武汉斗鱼网络科技有限公司 To the acceleration method and device of application program on a kind of ios platform
CN110401552A (en) * 2018-04-24 2019-11-01 贵州白山云科技股份有限公司 A kind of CDN business automated tuning method and device
CN112052413A (en) * 2020-08-28 2020-12-08 上海谋乐网络科技有限公司 URL fuzzy matching method, device and system
CN114466000A (en) * 2021-12-22 2022-05-10 天翼云科技有限公司 CDN gateway source returning method and device
CN114786042A (en) * 2022-04-12 2022-07-22 北京字节跳动网络技术有限公司 Video playing method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040191B (en) * 2018-07-03 2021-11-09 平安科技(深圳)有限公司 File downloading method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129159A1 (en) * 2001-03-09 2002-09-12 Michael Luby Multi-output packet server with independent streams
CN102843616A (en) * 2012-08-13 2012-12-26 中兴通讯股份有限公司 Method for realizing playing and downloading by IPTV (Internet Protocol Television) system, terminal and CDN (Content Delivery Network) server
CN103888487A (en) * 2012-12-19 2014-06-25 中国电信股份有限公司 Media stream control method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882454B (en) * 2010-03-24 2012-05-02 深圳市万兴软件有限公司 Playing method and playing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129159A1 (en) * 2001-03-09 2002-09-12 Michael Luby Multi-output packet server with independent streams
CN102843616A (en) * 2012-08-13 2012-12-26 中兴通讯股份有限公司 Method for realizing playing and downloading by IPTV (Internet Protocol Television) system, terminal and CDN (Content Delivery Network) server
CN103888487A (en) * 2012-12-19 2014-06-25 中国电信股份有限公司 Media stream control method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753322A (en) * 2017-08-29 2019-05-14 武汉斗鱼网络科技有限公司 To the acceleration method and device of application program on a kind of ios platform
CN109753322B (en) * 2017-08-29 2022-04-15 武汉斗鱼网络科技有限公司 Method and device for accelerating application program on IOS platform
CN108449395A (en) * 2018-03-05 2018-08-24 北京云端智度科技有限公司 A kind of more CDN tasks adaptation methods and system
CN110401552A (en) * 2018-04-24 2019-11-01 贵州白山云科技股份有限公司 A kind of CDN business automated tuning method and device
CN112052413A (en) * 2020-08-28 2020-12-08 上海谋乐网络科技有限公司 URL fuzzy matching method, device and system
CN112052413B (en) * 2020-08-28 2024-02-13 上海谋乐网络科技有限公司 URL fuzzy matching method, device and system
CN114466000A (en) * 2021-12-22 2022-05-10 天翼云科技有限公司 CDN gateway source returning method and device
CN114466000B (en) * 2021-12-22 2023-10-10 天翼云科技有限公司 CDN gateway source returning method and device
CN114786042A (en) * 2022-04-12 2022-07-22 北京字节跳动网络技术有限公司 Video playing method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2016155599A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
CN106161351A (en) Method, device and the CDN server that streaming media service is merged with file download
US20180199115A1 (en) Broadcasting, multicasting, or unicasting advertising content based on user context
US8850523B2 (en) Watermarks for roaming
SG178429A1 (en) Network selection method based on multi-link and apparatus thereof
KR101439796B1 (en) Systems and methods for authorizing access to network services using information obtained from subscriber equipment
CN105208434A (en) Media projection method, media projection equipment, control terminal, and cloud server
CN108076071B (en) Method for accessing broadcast television system
CN101753976A (en) The method, apparatus and system of control interactive network TV service
KR102496890B1 (en) Information processing device, client device, and data processing method
US8838480B2 (en) Method and apparatus for display of operator ads
EP2850808B1 (en) Method and apparatus for display of operator ads
CN103220297B (en) Method for carrying out multi-screen interaction through social network
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN105165019A (en) Method and apparatus for transmitting and receiving additional information in a broadcast communication system
CN103596019A (en) A method and a system used for displaying IPTV content across screens
CN102984546A (en) Transcoding service system for distributed video transcoding
US20100332590A1 (en) Inheritance communication administrating apparatus
WO2013181996A1 (en) Method, device and system for acquiring information
CN104093045A (en) Method and system for processing OTT TV playing request based on source return
CA3021173A1 (en) Systems and methods for signaling of an identifier of a data channel
US8407313B2 (en) Obtaining customized content using a pilot packet
JP2011523253A (en) Internet protocol television (IPTV) service providing method and internet broadcast system therefor
KR20140024553A (en) Contents delivery service method for live streaming contents, and apparatus therefor
CN104780591B (en) Business interoperability implementation method, device, system and relevant device between terminal device
Endo et al. Broadcast and broadband reception quality field experiment to validate the effectiveness of Media-Unifying platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20161123

WW01 Invention patent application withdrawn after publication