CN104202618B - Obtain method, agent client, proxy server and the system of playing resource - Google Patents
Obtain method, agent client, proxy server and the system of playing resource Download PDFInfo
- Publication number
- CN104202618B CN104202618B CN201410506341.6A CN201410506341A CN104202618B CN 104202618 B CN104202618 B CN 104202618B CN 201410506341 A CN201410506341 A CN 201410506341A CN 104202618 B CN104202618 B CN 104202618B
- Authority
- CN
- China
- Prior art keywords
- configuration information
- resource configuration
- client
- resource
- agent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
This application discloses the method, agent client, proxy server and the systems that obtain playing resource.One specific embodiment of the method includes: that the first request for obtaining target resource configuration information is received from first agent's client;The second request for obtaining the target resource configuration information is sent to media server;The first related resource configuration information is received from the media server;And obtain the second related resource configuration information that one or more second agent's clients provide;Target resource configuration information is extracted from related resource configuration information, the related resource configuration information includes the first related resource configuration information and the second related resource configuration information;The target resource configuration information is sent to the agent client.The problem of embodiment solves under the conditions of media server bandwidth ability is insufficient, and client own net resource is not fully utilized, improves the efficiency of downloading.
Description
Technical field
This application involves network computer technology fields, and in particular to technical field of media play, more particularly to obtain and broadcast
Put method, agent client, proxy server and the system of resource.
Background technique
Currently, with the fast development of network computer technology, Web Video Service also gradually comes into people's lives.By
In different terminals media processing capacity, in terms of have biggish difference, meanwhile, in video playing mistake
Cheng Zhong, CPU usage, the network bandwidth of same terminal can also change with time.Therefore, network video operator exists
When media content is provided, not only need to take into account all types of terminals, while also needing to adapt to same terminal in ability and bandwidth
On dynamic change, just can guarantee the broadcasting video of user's smoothness.
Existing adaptive stream media technology can select suitable Streaming Media piece according to the bandwidth conditions of current network
Section is downloaded, and selects to select high bit rate stream in the case that low bit- rate stream, bandwidth are high in the case that bandwidth is low, to guarantee user
Smooth broadcasting video.But adaptive stream media technology is to a certain extent, by the amount of bandwidth and connection of server
The limitation of number of users.When the number of users for connecting server is excessive, or the situation of the bandwidth ability deficiency in server
Under, the result of broadcast of Media Stream will receive influence.In addition, in the case that congestion occurs in network, the result of broadcast of Media Stream
It will receive influence.
Summary of the invention
This application provides a kind of method, agent client, proxy server and systems for obtaining playing resource.
In a first aspect, this application provides a kind of methods for obtaining playing resource, which comprises
The first request for obtaining target resource configuration information is received from first agent's client;
The second request for obtaining the target resource configuration information is sent to media server;
The first related resource configuration information is received from the media server;And
Obtain the second related resource configuration information that one or more second agent's clients provide;
Target resource configuration information is extracted from related resource configuration information, the related resource configuration information includes described
First related resource configuration information and the second related resource configuration information;
The target resource configuration information is sent to the agent client.
It is in some embodiments, described that target resource configuration information is extracted from related resource configuration information, comprising:
The resource allocation information that extraction meets predetermined condition from the related resource configuration information is matched as target resource
Confidence breath.
In some embodiments, the method also includes:
At predetermined time intervals, resource allocation information is received from agent client, the agent client includes first agent
Client and second agent's client, the resource allocation information are the client current cache corresponding to the agent client
Resource configuration information.
It is described to obtain the one or more second agent's clients provide second related money in certain preferred embodiments
Source configuration information, comprising:
The relevant information of target resource is obtained from the first request of the acquisition target resource configuration information received;
It is obtained and the phase from the resource allocation information sent by one or more second agent's clients received
The corresponding resource allocation information of information is closed as the second related resource configuration information.
Second aspect, this application provides a kind of methods for obtaining playing resource, which comprises
Intercept and capture the third request for the acquisition target resource configuration information that client is sent;
The first request for obtaining the target resource configuration information is sent to proxy server;
Receive the target resource configuration information from the proxy server, wherein the target resource configuration information by
The proxy server is extracted from the related resource configuration information got, the related resource configuration information include received from
First related resource configuration information of media server money related to second received from one or more second agent's clients
Source configuration information;
The target resource configuration information is sent to the client, so that the client is matched according to the target resource
Set acquisition of information playing resource.
In some embodiments, the method also includes:
At predetermined time intervals, resource allocation information is received from client, the resource allocation information is that the client is worked as
The configuration information of the resource of preceding caching.
In certain preferred embodiments, the method also includes:
At predetermined time intervals, the resource allocation information from the client is transmitted and received to proxy server.
The third aspect, this application provides a kind of proxy server, the proxy server includes:
First request reception unit is asked for receiving the first of acquisition target resource configuration information from first agent's client
It asks;
Second request transmitting unit is asked for sending the second of the acquisition target resource configuration information to media server
It asks;
First related resource configuration information receiving unit, for receiving the configuration of the first related resource from the media server
Information;And
Second related resource configuration information acquiring unit, for obtaining that one or more second agent's clients provide
Two related resource allocation informations;
Target resource configuration information extraction unit matches confidence for extracting target resource from related resource configuration information
Breath, the related resource configuration information include the first related resource configuration information and second related resource with confidence
Breath;
Target resource configuration information transmission unit matches confidence for sending the target resource to the agent client
Breath.
In some embodiments, the target resource configuration information extraction unit is specifically used for:
The resource allocation information that extraction meets predetermined condition from the related resource configuration information is matched as target resource
Confidence breath.
In some embodiments, the proxy server further include:
Agent client configuration information receiving unit, for receiving resource allocation information, the agency from agent client
Client includes first agent's client and second agent's client, and the resource allocation information is corresponding to the proxy client
The configuration information of the resource of the client current cache at end.
In certain preferred embodiments, the second related resource configuration information acquiring unit, comprising:
Target resource relevant information obtains subelement, for from the of the acquisition target resource configuration information received
The relevant information of target resource is obtained in one request;
Second related resource configuration information extract subelement, for from receiving by one or more second agent clients
Acquisition resource allocation information corresponding with the relevant information in the resource allocation information sent is held to match as the second related resource
Confidence breath.
Fourth aspect, this application provides a kind of agent client, the agent client includes:
Third Request Interception unit, the third request of the acquisition target resource configuration information for intercepting and capturing client transmission;
First request transmitting unit is asked for sending the first of the acquisition target resource configuration information to proxy server
It asks;
Target resource configuration information receiving unit matches confidence for receiving the target resource from the proxy server
Breath, wherein the target resource configuration information is extracted from the related resource configuration information got by the proxy server,
The related resource configuration information include the first related resource configuration information received from media server and received from one or
Second related resource configuration information of multiple second agent's clients;
Target resource configuration information feedback unit, for sending the target resource configuration information to the client, with
Playing resource is obtained according to the target resource configuration information for the client.
In some embodiments, the agent client further include:
Resource allocation information receiving unit, for receiving resource allocation information, the money from client at predetermined time intervals
Source configuration information is the configuration information of the resource of the client current cache.
In certain preferred embodiments, the agent client further include:
Resource allocation information transmission unit, at predetermined time intervals, transmitting and receiving to proxy server from the client
The resource allocation information at end.
5th aspect, this application provides a kind of systems, comprising:
Proxy server and fourth aspect described in any possible implementation of the third aspect or the third aspect
Or agent client described in any possible implementation of fourth aspect.
The method of the acquisition playing resource provided by the above embodiment of the application, agent client, proxy server and it is
System, by obtaining related resource configuration information from media server and agent client, and from related resource configuration information
It is extracted target resource configuration information, is solved under the conditions of media server bandwidth ability is insufficient, client own net
The problem of resource is not fully utilized improves the efficiency of downloading.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of the one embodiment for the method that the application obtains playing resource;
Fig. 2 is the side that the application obtains the second related resource configuration information that one or more second agent's clients provide
The flow chart of one embodiment of method;
Fig. 3 is the flow chart of another embodiment of the method that the application obtains playing resource;
Fig. 4 is the structural schematic diagram of the one embodiment for the proxy server that the application is used to obtain playing resource;
Fig. 5 is the structural schematic diagram of the one embodiment for the agent client that the application is used to obtain playing resource;
Fig. 6 is the structural schematic diagram of the one embodiment for the system that the application is used to obtain playing resource;
Fig. 7 is the interaction diagrams of the one embodiment for the system that the application is used to obtain playing resource.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Referring to FIG. 1, it illustrates the processes 100 of the one embodiment for the method for obtaining playing resource.In the present embodiment
In, in order to make it easy to understand, being illustrated in conjunction with the client that can play video.It will be understood by those skilled in the art that should
Client includes but is not limited to smart phone, tablet computer, pocket computer on knee, desktop computer, smart television and company
Connect the internet television box etc. of DTV.
As shown in Figure 1, in a step 101, being received from first agent's client and obtaining the first of target resource configuration information
Request.
In the present embodiment, it is received by proxy server from first agent's client and obtains the of target resource configuration information
One request.Wherein, each client corresponds to an agent client, and client and agent client are to correspond
, agent client can be a feature card in client, a program being also possible in client, this field skill
Art personnel are appreciated that agent client can also have other forms, and the application is not limited in this respect.For some client
For, corresponding agent client is first agent's client, and corresponding to other clients, (relatively above-mentioned client is come
Say) agent client be second agent's client, therefore, first agent's client and second agent's client are inherently
It is identical, it is agent client, any one agent client is first agent visitor for its corresponding client
Family end is second agent's client for other clients.
In the present embodiment, the first request for obtaining target resource configuration information is that agent client is sent out to proxy server
The request sent.First request may include the address of target resource, such as the practical URL (Uniform of target resource configuration information
Resource Locator, uniform resource locator) and desired bandwidth value, it will be understood by those skilled in the art that first asks
Asking can also include other information, what information is the application specifically include to the first request, and there is no limit.Wherein, desired bandwidth
Value is the maximum bandwidth value that client can bear, can according to the size and time, cpu resource occupancy etc. for receiving data because
Element, dynamic calculate the rate of current slice downloading, and make anticipation, the application according to expection bandwidth of the rate to next fragment
To how to obtain desired bandwidth value without limit.
In the present embodiment, resource allocation information may include sound, the source address of video, code rate information and sound, video point
The contents such as the information of piece.Certainly, it will be understood by those skilled in the art that resource allocation information can also include other contents, this
Application specifically includes any content to resource allocation information without limiting.
In the present embodiment, obtain target resource configuration information include obtain it is first play fragment resource configuration information and
Update the configuration information for playing fragment resource.
Then, in a step 102, the second request for obtaining above-mentioned target resource configuration information is sent to media server.
In the present embodiment, it is sent from proxy server to media server and obtains the of above-mentioned target resource configuration information
Two requests.Media server is to provide the server of media playing resources.The second of acquisition target resource configuration information is requested
The request that proxy server is sent to media server.Wherein, the second request may include address (such as target money of target resource
The practical URL of source configuration information), it will be understood by those skilled in the art that the second request can also include other information, this Shen
What information please specifically included to the second request, and there is no limit.First request and the second request are to obtain target resource with confidence
The request of breath, and include the address (the practical URL of such as target resource configuration information) of target resource, but it is formal or interior
May be different in appearance, for example, the second request is to rearrange and be packaged acquisition, the application on the basis of the first request
It requests first and the concrete form of the second request is without limiting.
Then, in step 103, the first related resource configuration information is received from media server.
In the present embodiment, the first related resource configuration information is received from media server by proxy server.Wherein, phase
Pass resource allocation information is resource allocation information relevant to target resource, and the first related resource configuration information is to take from media
The related resource configuration information of business device.
It specifically, in the media server include many playing resources, media server is being received by proxy server
It, can be according to address (such as target resource of target resource in request after second request of the acquisition target resource configuration information of transmission
The practical URL of configuration information) corresponding resource allocation information is obtained as the first related resource configuration information, and it is related by first
Resource allocation information is sent to media server.
Meanwhile at step 104, it obtains the second related resource that one or more second agent's clients provide and matches confidence
Breath.
In the present embodiment, the second related money that one or more second agent's clients provide is obtained by proxy server
Source configuration information.Wherein, the second related resource configuration information is the related resource from one or more second agent's clients
Configuration information.
Specifically, one or more second agent's clients can send the fragments of many playing resources to proxy server,
Proxy server can obtain corresponding resource distribution letter according to the relevant information of target resource from the fragment of above-mentioned playing resource
Breath is used as the second related resource configuration information.
In the present embodiment, the first related resource configuration information and the second related resource configuration information are that related resource is matched
Confidence breath, be substantially it is identical, only source is different, and the first related resource configuration information comes from media server, the second phase
It closes resource allocation information and comes from one or more second agent's clients.
It should be noted that in the present embodiment, step 103 can before step 104, can also step 104 it
Afterwards, it can also be carried out simultaneously with step 104, the application is to the sequence of step 103 and step 104 without limiting.
Then, in step 105, target resource configuration information is extracted from related resource configuration information, related resource is matched
Confidence breath includes the first related resource configuration information and the second related resource configuration information.
In the present embodiment, by proxy server from the first related resource configuration information and the second related resource configuration information
Middle extraction target resource configuration information, because related resource configuration information has very much, but the corresponding playing resource of these information
Fragment downloading rate, the size etc. to take up space is all different, and proxy server is as needed from these playing resources
The resource allocation information for the condition that meets is extracted in the corresponding related resource configuration information of fragment as target resource configuration information.
Finally, in step 106, sending target resource configuration information to agent client.
In the present embodiment, the target resource configuration information extracted is sent to agent client by proxy server,
The target resource configuration information is sent to client by agent client again, client is obtained according to target resource configuration information
The fragment of playing resource, and the fragment of playing resource is cached.
It should be noted that although describing the operation of the application method in the accompanying drawings with particular order, this is not required that
Or hint must execute these operations in this particular order, or have to carry out operation shown in whole and be just able to achieve the phase
The result of prestige.On the contrary, the step of describing in flow chart can change and execute sequence.Additionally or alternatively, it is convenient to omit certain
Multiple steps are merged into a step and executed, and/or a step is decomposed into execution of multiple steps by step.For example, client
It holds when updating the configuration information for playing fragment resource, step 102 and step 103 also can be omitted, because, media server
The configuration information of resource will not change, and only obtain primary.
The method of the acquisition playing resource provided by the above embodiment of the application, by from media server and proxy client
Related resource configuration information is obtained in end, and is extracted target resource configuration information from related resource configuration information, is solved
Under the conditions of media server bandwidth ability is insufficient, the problem of client own net resource is not fully utilized, is improved
The efficiency of downloading.
In some optional embodiments, target resource configuration information is extracted from related resource configuration information, comprising: from
The resource allocation information for meeting predetermined condition is extracted in related resource configuration information as target resource configuration information.
In the present embodiment, predetermined condition can be the condition being set as needed, for example, speed of download is most fast, or
Recently apart from client etc., which kind of condition is the application be specially without limiting to predetermined condition.
In some preferred embodiments, the resource distribution letter for meeting predetermined condition is extracted from related resource configuration information
Breath is specifically included as target resource configuration information, according to the bandwidth ability for the client for uploading related resource configuration information and
Network congestion carries out priority ranking, bandwidth energy to the URL of caching fragment corresponding with above-mentioned related resource configuration information
Power is higher, and network is more unobstructed, and priority is higher, using the resource allocation information of highest priority as target resource configuration information.
In some optional embodiments, the method that obtains playing resource further include: at predetermined time intervals, from proxy client
End receives resource allocation information, and agent client includes first agent's client and second agent's client, resource allocation information
For the configuration information of the resource of the client current cache corresponding to above-mentioned agent client.
Client can cache the segment of downloading when playing video, in the present embodiment, objective at predetermined time intervals
The resource allocation information of the segment of caching will be sent to proxy server by agent client by family end, and be temporarily stored in agency
On server, when the client sends the resource allocation information of the caching segment updated again, proxy server will be temporarily stored in
The original resource allocation information of the upper client is updated.Wherein, the predetermined time can be arbitrary time span (such as 1 second
Or 2 seconds etc.), how long the application is specially without limiting to the predetermined time.
With further reference to Fig. 2, one or more second agent's clients are obtained it illustrates the step 104 in Fig. 1 and are provided
The second related resource configuration information method one embodiment process 200.
As shown in Fig. 2, in step 201, being obtained from the first request of the acquisition target resource configuration information received
The relevant information of target resource.
In the present embodiment, the relevant information of target resource is information relevant with playing resource, the correlation of target resource
Information can be title, mark or the data parsed from the segment of playing resource of playing resource etc., the application couple
Which kind of information is the relevant information of target resource be specially without limiting.By proxy server from the acquisition target resource received
The relevant information of target resource is obtained in first request of configuration information.
Then, in step 202, believe from the resource distribution sent by one or more second agent's clients received
Resource allocation information corresponding with relevant information is obtained in breath as the second related resource configuration information.
In the present embodiment, by proxy server from receiving the money sent by one or more second agent's clients
Resource allocation information corresponding with relevant information is obtained in the configuration information of source as the second related resource configuration information.Due to agency
In the resource allocation information that the agent client that server receives is sent, some are the other resources unrelated with playing resource
Therefore configuration information obtains resource allocation information corresponding with relevant information as second according to the relevant information of target resource
Related resource configuration information, for example, parsing by the title of matching playing resource, mark or from the segment of playing resource
The information such as data out, to find out resource allocation information corresponding with relevant information.
With further reference to Fig. 3, it illustrates the processes 300 of another embodiment of the method for obtaining playing resource.
As shown in figure 3, in step 301, intercepting and capturing the third request for the acquisition target resource configuration information that client is sent.
Client can send the request for obtaining target resource configuration information when playing video to media server, in this reality
It applies in example, the Request Interception for being sent client to media server from agent client, media server does not just receive visitor
What family end was sent requests.
Wherein, the third request for obtaining target resource configuration information, which sends for client to media server, obtains target money
The request of source configuration information.Third request includes the address (the practical URL of such as target resource configuration information) of target resource, ability
Field technique personnel are appreciated that third request can also include other information, what the application specifically includes to third request
There is no limit for information.
Then, in step 302, the first request for obtaining the target resource configuration information is sent to proxy server.
In the present embodiment, the first request for obtaining target resource configuration information is that agent client is sent out to proxy server
The request sent.First request includes address (the practical URL of such as target resource configuration information) and the desired bandwidth of target resource
Value, it will be understood by those skilled in the art that the first request can also include other information, the application is to the specific packet of the first request
Including what information, there is no limit.
In the present embodiment, obtain target resource configuration information include obtain it is first play fragment resource configuration information and
Update the configuration information for playing fragment resource.
Then, in step 303, target resource configuration information is received from proxy server.
In the present embodiment, above-mentioned target resource configuration information matches confidence from the related resource got by proxy server
It is extracted in breath, related resource configuration information includes the first related resource configuration information received from media server and received from one
Second related resource configuration information of a or multiple second agent's clients.
Finally, in step 304, target resource configuration information is sent to client, so that client is according to target resource
Configuration information obtains playing resource.
The method of the acquisition playing resource provided by the above embodiment of the application, by from media server and proxy client
Related resource configuration information is obtained in end, and is extracted target resource configuration information from related resource configuration information, is solved
Under the conditions of media server bandwidth ability is insufficient, the problem of client own net resource is not fully utilized, is improved
The efficiency of downloading.
In some optional embodiments, the method that obtains playing resource further include: at predetermined time intervals, terminated from client
Resource allocation information is received, resource allocation information is the configuration information of the resource of client current cache.
Client can cache the segment of downloading when playing video, in the present embodiment, objective at predetermined time intervals
The resource allocation information of the segment of caching will be sent to agent client by family end.
In some optional embodiments, the method that obtains playing resource further include: at predetermined time intervals, to agency service
Device transmits and receives the resource allocation information from client.
In the present embodiment, at predetermined time intervals, it is transmitted and received from agent client to proxy server from client
Resource allocation information, the resource allocation information are temporarily stored on proxy server, when the client sends the cache slice of update again
When the resource allocation information of section, the resource allocation information that the client is original on proxy server will be temporarily stored in and be updated.Its
In, the predetermined time can be arbitrary time span (such as 1 second or 2 seconds), and how long the application is specially to the predetermined time
Without limiting.
With further reference to Fig. 4, it illustrates the structural schematic diagrams 400 of one embodiment of proxy server.
As shown in figure 4, the proxy server 400 of the present embodiment includes: the first request reception unit 401, the second request hair
Send unit 402, the first related resource configuration information receiving unit 403, the second related resource configuration information acquiring unit 404, mesh
Mark resource allocation information extraction unit 405, target resource configuration information transmission unit 406.Wherein, the first request reception unit
401, for receiving the first request for obtaining target resource configuration information from first agent's client;Second request transmitting unit
402, for sending the second request for obtaining target resource configuration information to media server;First related resource configuration information connects
Unit 403 is received, for receiving the first related resource configuration information from media server;And second related resource configuration information obtain
Unit 404 is taken, the second related resource configuration information provided for obtaining one or more second agent's clients;Target resource
Configuration information extraction unit 405, for extracting target resource configuration information, related resource configuration from related resource configuration information
Information includes the first related resource configuration information and the second related resource configuration information;Target resource configuration information transmission unit
406, for sending target resource configuration information to agent client.
In some optional embodiments, target resource configuration information extraction unit 405 is specifically used for: matching from related resource
The resource allocation information for meeting predetermined condition is extracted in confidence breath as target resource configuration information.
In some optional embodiments, proxy server 400 further include: agent client configuration information receiving unit
(not shown), for receiving resource allocation information from agent client, agent client includes first agent's client and second
Agent client, resource allocation information are the resource of the client current cache corresponding to above-mentioned agent client with confidence
Breath.
In some optional embodiments, the second related resource configuration information acquiring unit 404 includes that target resource is related
Acquisition of information subelement and the second related resource configuration information extract subelement, and target resource relevant information obtains subelement and is used for
The relevant information of target resource is obtained from the first request of the acquisition target resource configuration information received;Second related resource
Configuration information extracts subelement and is used for from the resource allocation information sent by one or more second agent's clients received
It is middle to obtain resource allocation information corresponding with relevant information as the second related resource configuration information.
With further reference to Fig. 5, it illustrates the structural schematic diagrams 500 of one embodiment of agent client.
As shown in figure 5, the agent client 500 of the present embodiment includes: third Request Interception unit 501, the first request hair
Send unit 502, target resource configuration information receiving unit 503, target resource configuration information feedback unit 504.Wherein, third is asked
It asks and intercepts and captures unit 501, the third request of the acquisition target resource configuration information for intercepting and capturing client transmission;First request is sent
Unit 502, for sending the first request for obtaining target resource configuration information to proxy server;Target resource configuration information connects
Unit 503 is received, for receiving target resource configuration information from proxy server, wherein target resource configuration information is taken by agency
Business device is extracted from the related resource configuration information got, and related resource configuration information includes the received from media server
One related resource configuration information and the second related resource configuration information received from one or more second agent's clients;Target
Resource allocation information feedback unit 504, for sending target resource configuration information to the client, so that client is according to mesh
It marks resource allocation information and obtains playing resource.
In some optional embodiments, the agent client 500 further include: resource allocation information receiving unit is (not
Show), at predetermined time intervals, receiving resource allocation information from client, resource allocation information is client current cache
Resource configuration information.
In some optional embodiments, the agent client 500 further include: resource allocation information transmission unit is (not
Show), at predetermined time intervals, transmitting and receiving the resource allocation information from client to proxy server.
With further reference to Fig. 6, it illustrates the structural schematic diagrams 600 of one embodiment of system.
As shown in fig. 6, the system 600 of the present embodiment includes: proxy server 400 and agent client 500.It needs to illustrate
, can be referring to figs. 1 to the phase of Fig. 5 about the associated description of proxy server 400 and agent client 500 in the present embodiment
The description of part is answered, the present embodiment will not be described in great detail herein.
With further reference to Fig. 7, it illustrates the interaction diagrams 700 of the one embodiment for the system for obtaining playing resource.
As shown in fig. 7, the system interaction process 700 for obtaining playing resource includes:
Step S701, client sends the third request for obtaining target resource configuration information, by its corresponding first agent
Client receives.
Step S702, first agent's client sends the first request for obtaining target resource configuration information, by agency service
Device receives.
Step S703, proxy server send the second request for obtaining target resource configuration information, are connect by media server
It receives.
Step S704, media server send the first related resource configuration information, are received by proxy server.
Step S705, second agent's client send the second related resource configuration information, are received by proxy server.
Step S706, proxy server extract target resource configuration information from related resource configuration information.
Step S707, proxy server send target resource configuration information, are received by first agent's client.
Step S708, first agent's client send target resource configuration information, are received by client.
It should be noted that can be with reference to figure about the associated description of proxy server and agent client in the present embodiment
The description of 1 to Fig. 6 corresponding portion, the present embodiment will not be described in great detail herein.
Being described in unit module involved in the embodiment of the present application can be realized by way of software, can also be led to
The mode of hardware is crossed to realize.Described unit module also can be set in the processor, for example, can be described as: a kind of
Processor includes third Request Interception unit, the first request transmitting unit, target resource configuration information receiving unit, target resource
Configuration information feedback unit.Wherein, the title of these unit modules is not constituted to the unit module itself under certain conditions
Restriction, for example, third Request Interception unit be also described as " for intercept and capture client transmission acquisition target resource match
The unit of the third request of confidence breath ".
As on the other hand, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums
Matter can be computer readable storage medium included in device described in above-described embodiment;It is also possible to individualism, not
The computer readable storage medium being fitted into terminal.The computer-readable recording medium storage have one or more than one
Program, described program are used to execute the side for being described in the acquisition playing resource of the application by one or more than one processor
Method.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (15)
1. a kind of method for obtaining playing resource, which is characterized in that the described method includes:
The first request for obtaining target resource configuration information is received from first agent's client;
The second request for obtaining the target resource configuration information is sent to media server;
The first related resource configuration information is received from the media server, the first related resource configuration information includes basis
The corresponding resource allocation information that the address of target resource obtains in second request;And
The second related resource configuration information that one or more second agent's clients provide is obtained, second related resource is matched
Confidence breath includes the corresponding resource allocation information obtained from the fragment of playing resource;
Target resource configuration information is extracted from related resource configuration information, the related resource configuration information includes described first
Related resource configuration information and the second related resource configuration information;
The target resource configuration information is sent to first agent's client.
2. the method according to claim 1, wherein described extract target resource from related resource configuration information
Configuration information, comprising:
The resource allocation information for meeting predetermined condition is extracted from the related resource configuration information as target resource with confidence
Breath.
3. the method according to claim 1, wherein the method also includes:
At predetermined time intervals, resource allocation information is received from agent client, the agent client includes first agent client
End and second agent's client, the resource allocation information are the money of the client current cache corresponding to the agent client
The configuration information in source.
4. according to the method described in claim 3, it is characterized in that, acquisition one or more second agent's client provides
The second related resource configuration information, comprising:
The relevant information of target resource is obtained from the first request of the acquisition target resource configuration information received;
It is obtained from the resource allocation information sent by one or more second agent's clients received and the related letter
Corresponding resource allocation information is ceased as the second related resource configuration information.
5. a kind of method for obtaining playing resource, which is characterized in that the described method includes:
Intercept and capture the third request for the acquisition target resource configuration information that client is sent;
The first request for obtaining the target resource configuration information is sent to proxy server;
Proxy server sends the second request for obtaining the target resource configuration information to media server;
The target resource configuration information is received from the proxy server, wherein the target resource configuration information is by described
Proxy server is extracted from the related resource configuration information got, and the related resource configuration information includes received from media
First related resource configuration information of server and the second related resource received from one or more second agent's clients are matched
Confidence breath, the first related resource configuration information include according to it is described second request in target resource address obtain it is corresponding
Resource allocation information, the second related resource configuration information includes the corresponding resource obtained from the fragment of playing resource
Configuration information;
The target resource configuration information is sent to the client, so that the client matches confidence according to the target resource
Breath obtains playing resource.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
At predetermined time intervals, resource allocation information is received from client, the resource allocation information is that the client is currently delayed
The configuration information for the resource deposited.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
At predetermined time intervals, the resource allocation information from the client is transmitted and received to proxy server.
8. a kind of proxy server, which is characterized in that the proxy server includes:
First request reception unit, for receiving the first request for obtaining target resource configuration information from first agent's client;
Second request transmitting unit, for sending the second request for obtaining the target resource configuration information to media server;
First related resource configuration information receiving unit matches confidence for receiving the first related resource from the media server
Breath, the first related resource configuration information include the corresponding money obtained according to the address of target resource in second request
Source configuration information;And
Second related resource configuration information acquiring unit, the second phase provided for obtaining one or more second agent's clients
Resource allocation information is closed, the second related resource configuration information includes the corresponding resource obtained from the fragment of playing resource
Configuration information;
Target resource configuration information extraction unit, for extracting target resource configuration information, institute from related resource configuration information
Stating related resource configuration information includes the first related resource configuration information and the second related resource configuration information;
Target resource configuration information transmission unit matches confidence for sending the target resource to first agent's client
Breath.
9. proxy server according to claim 8, which is characterized in that the target resource configuration information extraction unit tool
Body is used for:
The resource allocation information for meeting predetermined condition is extracted from the related resource configuration information as target resource with confidence
Breath.
10. proxy server according to claim 8, which is characterized in that the proxy server further include:
Agent client configuration information receiving unit, for receiving resource allocation information, the proxy client from agent client
End includes first agent's client and second agent's client, and the resource allocation information is corresponding to the agent client
The configuration information of the resource of client current cache.
11. proxy server according to claim 10, which is characterized in that the second related resource configuration information obtains
Unit, comprising:
Target resource relevant information obtains subelement, for asking from the first of the acquisition target resource configuration information received
Seek the middle relevant information for obtaining target resource;
Second related resource configuration information extracts subelement, for being sent out from what is received by one or more second agent's clients
Resource allocation information corresponding with the relevant information is obtained in the resource allocation information sent as the second related resource matches confidence
Breath.
12. a kind of agent client, which is characterized in that the agent client includes:
Third Request Interception unit, the third request of the acquisition target resource configuration information for intercepting and capturing client transmission;
First request transmitting unit, for sending the first request for obtaining the target resource configuration information to proxy server,
Proxy server sends the second request for obtaining the target resource configuration information to media server;
Target resource configuration information receiving unit, for receiving the target resource configuration information from the proxy server,
In, the target resource configuration information is extracted from the related resource configuration information got by the proxy server, described
Related resource configuration information includes the first related resource configuration information received from media server and received from one or more
Second related resource configuration information of second agent's client, the first related resource configuration information include according to described second
The corresponding resource allocation information that the address of target resource obtains in request, the second related resource configuration information include from broadcasting
Put the corresponding resource allocation information obtained in the fragment of resource;
Target resource configuration information feedback unit, for sending the target resource configuration information to the client, for institute
It states client and playing resource is obtained according to the target resource configuration information.
13. agent client according to claim 12, which is characterized in that the agent client further include:
Resource allocation information receiving unit, for receiving resource allocation information from client at predetermined time intervals, the resource is matched
Confidence breath is the configuration information of the resource of the client current cache.
14. agent client according to claim 13, which is characterized in that the agent client further include:
Resource allocation information transmission unit, at predetermined time intervals, transmitting and receiving to proxy server from the client
Resource allocation information.
15. a kind of system for obtaining playing resource characterized by comprising as claim 8-11 is described in any item
Proxy server and the described in any item agent clients of claim 12-14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410506341.6A CN104202618B (en) | 2014-09-26 | 2014-09-26 | Obtain method, agent client, proxy server and the system of playing resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410506341.6A CN104202618B (en) | 2014-09-26 | 2014-09-26 | Obtain method, agent client, proxy server and the system of playing resource |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104202618A CN104202618A (en) | 2014-12-10 |
CN104202618B true CN104202618B (en) | 2019-02-15 |
Family
ID=52087833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410506341.6A Active CN104202618B (en) | 2014-09-26 | 2014-09-26 | Obtain method, agent client, proxy server and the system of playing resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104202618B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104581229B (en) | 2015-01-16 | 2018-08-03 | 京东方科技集团股份有限公司 | A kind of transmission of flow media data device, method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1992889A (en) * | 2005-12-28 | 2007-07-04 | 中兴通讯股份有限公司 | Mobile terminal adapting method of streaming media |
CN102291412A (en) * | 2011-08-29 | 2011-12-21 | 中兴通讯股份有限公司 | Multimedia service implementation method, system and device based on HTTP (hyper text transfer protocol) |
CN103248962A (en) * | 2013-04-23 | 2013-08-14 | 华为技术有限公司 | Method, equipment and system for obtaining streaming media data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100823730B1 (en) * | 2005-12-07 | 2008-04-21 | 한국전자통신연구원 | Method and apparatus for providing streaming service based on P2P, and streaming service system using the same |
-
2014
- 2014-09-26 CN CN201410506341.6A patent/CN104202618B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1992889A (en) * | 2005-12-28 | 2007-07-04 | 中兴通讯股份有限公司 | Mobile terminal adapting method of streaming media |
CN102291412A (en) * | 2011-08-29 | 2011-12-21 | 中兴通讯股份有限公司 | Multimedia service implementation method, system and device based on HTTP (hyper text transfer protocol) |
CN103248962A (en) * | 2013-04-23 | 2013-08-14 | 华为技术有限公司 | Method, equipment and system for obtaining streaming media data |
Also Published As
Publication number | Publication date |
---|---|
CN104202618A (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106464945B (en) | Method, system and the computer-readable medium of enhanced stream media playback | |
US9967622B2 (en) | Receiver, reception method, program, and information processing system for utilizing a trigger correlation table | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
CN102394880B (en) | Method and device for processing jump response in content delivery network | |
CN102055718B (en) | Method, device and system for layering request content in http streaming system | |
CN103139137B (en) | Network service provider method and device | |
CN103813185B (en) | A kind of method that segment programs are quickly distributed, server and client | |
KR101743228B1 (en) | Streaming apparatus and method thereof, streaming service system using the streaming apparatus and computer readable recording medium | |
US9386099B2 (en) | Local caching device, system and method for providing content caching service | |
CN104506493A (en) | HLS content source returning and caching realization method | |
CN104581374A (en) | Methods for obtaining slicing files and generating sub m3u8 files, node and server | |
WO2014166275A1 (en) | Video loading method, device and system of mobile terminal | |
CN103826139A (en) | CDN system, watching server and streaming media data transmission method | |
CN103841135A (en) | File accelerative download method and apparatus | |
CN108134811B (en) | Method, device and system for distributing or downloading target file | |
CN102404616A (en) | Method and system for pushing data cloud based on digital television network | |
CN103747365A (en) | Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream | |
CN103546829A (en) | Method and device for processing video service | |
CN104063475A (en) | User-defined list processing method and device | |
CN104615597A (en) | Method, device and system for clearing cache file in browser | |
US20160073137A1 (en) | Transmission apparatus, transmission method, reception apparatus, and reception method | |
CN108959278A (en) | A kind of method of data synchronization, device, electronic equipment and storage medium | |
EP3579526B1 (en) | Resource file feedback method and apparatus | |
CN105812839B (en) | Video stream data acquisition, page data transmission method, system and network server | |
CN105227514A (en) | Based on document transmission processing method and the browser of browser |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |