CN104202618A - Method for acquiring broadcasting resource, proxy client, proxy server and system - Google Patents

Method for acquiring broadcasting resource, proxy client, proxy server and system Download PDF

Info

Publication number
CN104202618A
CN104202618A CN201410506341.6A CN201410506341A CN104202618A CN 104202618 A CN104202618 A CN 104202618A CN 201410506341 A CN201410506341 A CN 201410506341A CN 104202618 A CN104202618 A CN 104202618A
Authority
CN
China
Prior art keywords
configuration information
client
resource allocation
allocation information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410506341.6A
Other languages
Chinese (zh)
Other versions
CN104202618B (en
Inventor
王明豪
姜海超
朱勇平
王玮
刘欣
刘广超
李磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN201410506341.6A priority Critical patent/CN104202618B/en
Publication of CN104202618A publication Critical patent/CN104202618A/en
Application granted granted Critical
Publication of CN104202618B publication Critical patent/CN104202618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for acquiring broadcasting resources, a proxy client, a proxy server and a system. The embodiment of the method comprises the following steps: a first request used for acquiring target resource allocation information is received from a first proxy client; a second request used for acquiring the target resource allocation information is sent to a media server; first related resource allocation information is received from the media server; second related resource allocation information provided by one or more second proxy client is acquired; the target resource allocation information is extracted from related resource allocation information; the related resource allocation information comprises the first related resource allocation information and the second related resource allocation information; the target resource allocation information is sent to the proxy client. According to the invention, the method solves the problem that the self network resources of clients cannot be fully used when the bandwidth capacity of the media server isn't sufficient, and the downloading efficiency is improved.

Description

Obtain method, agent client, proxy server and the system of playing resource
Technical field
The application relates to network computer technical field, is specifically related to media play technical field, relates in particular to method, agent client, proxy server and the system of obtaining playing resource.
Background technology
Current, along with the fast development of network calculations machine technology, Web Video Service is also come into people's life gradually.Because different terminals has larger difference at aspects such as media processing capacity, network access modes, meanwhile, in video display process, the CPU usage of same terminal, the network bandwidth also can change over time.Therefore, Internet video operator, when media content is provided, not only needs to take into account all types of terminals, also needs to adapt to the dynamic change of same terminal in ability and bandwidth simultaneously, the displaying video of guarantee user smoothness.
Existing adaptive stream media technology, can select suitable Streaming Media fragment to download according to the bandwidth conditions of current network, in the low situation of bandwidth, select low bit rate stream, in the high situation of bandwidth, select high bit rate stream, thereby guarantee the displaying video of user's smoothness.But adaptive stream media technology to a certain extent, is subject to the amount of bandwidth of server and the number of users quantitative limitation of connection.When the number of users of connection server is too much, or in the situation that the bandwidth ability deficiency of server, the result of broadcast of Media Stream can be affected.In addition, when network occurs that, in congested situation, the result of broadcast of Media Stream also can be affected.
Summary of the invention
The application provides a kind of method, agent client, proxy server and system of obtaining playing resource.
First aspect, the application provides a kind of method of obtaining playing resource, and described method comprises:
From first agent's client, obtain the first request of target resource configuration information;
To media server, send second request of obtaining described target resource configuration information;
From described media server, receive the first relevant resource allocation information; And
Obtain the second relevant resource allocation information that one or more second agent's clients provide;
From related resource configuration information, extract target resource configuration information, described related resource configuration information comprises the described first relevant resource allocation information and the described second relevant resource allocation information;
To described agent client, send described target resource configuration information.
In some embodiments, the described target resource configuration information that extracts from related resource configuration information, comprising:
The resource allocation information that extraction meets predetermined condition from described related resource configuration information is as target resource configuration information.
In some embodiments, described method also comprises:
Every the scheduled time, from agent client, receive resource allocation information, described agent client comprises first agent's client and second agent's client, and described resource allocation information is the configuration information corresponding to the resource of the client current cache of described agent client.
In some preferred implementation, described in obtain the second relevant resource allocation information that one or more second agent's clients provide, comprising:
From obtain the first request of target resource configuration information described in receiving, obtain the relevant information of target resource;
From the resource allocation information being sent by one or more second agent's clients receiving, obtain the resource allocation information corresponding to described relevant information as the second relevant resource allocation information.
Second aspect, the application provides a kind of method of obtaining playing resource, and described method comprises:
Intercept and capture the 3rd request of obtaining target resource configuration information that client sends;
To proxy server, send first request of obtaining described target resource configuration information;
From described proxy server, receive described target resource configuration information, wherein, described target resource configuration information is extracted from the related resource configuration information getting by described proxy server, and described related resource configuration information comprises the first relevant resource allocation information that is received from media server and the second relevant resource allocation information that is received from one or more second agent's clients;
To described client, send described target resource configuration information, for described client, according to described target resource configuration information, obtain playing resource.
In some embodiments, described method also comprises:
Every the scheduled time, from client resource allocation information, described resource allocation information is the configuration information of the resource of described client current cache.
In some preferred implementation, described method also comprises:
Every the scheduled time, to proxy server, send the resource allocation information that is received from described client.
The third aspect, the application provides a kind of proxy server, and described proxy server comprises:
The first request reception unit, for obtaining the first request of target resource configuration information from first agent's client;
The second request transmitting unit, for sending second request of obtaining described target resource configuration information to media server;
The first relevant resource allocation information receiving element, for receiving the first relevant resource allocation information from described media server; And
The second relevant resource allocation information acquiring unit, the second relevant resource allocation information providing for obtaining one or more second agent's clients;
Target resource configuration information extraction unit, for extracting target resource configuration information from related resource configuration information, described related resource configuration information comprises the described first relevant resource allocation information and the described second relevant resource allocation information;
Target resource configuration information transmitting element, for sending described target resource configuration information to described agent client.
In some embodiments, described target resource configuration information extraction unit specifically for:
The resource allocation information that extraction meets predetermined condition from described related resource configuration information is as target resource configuration information.
In some embodiments, described proxy server also comprises:
Agent client configuration information receiving element, for receiving resource allocation information from agent client, described agent client comprises first agent's client and second agent's client, and described resource allocation information is the configuration information corresponding to the resource of the client current cache of described agent client.
In some preferred implementation, the described second relevant resource allocation information acquiring unit, comprising:
Target resource relevant information is obtained subelement, for obtain the relevant information that first of target resource configuration information asks to obtain target resource described in receiving;
The second relevant resource allocation information extracts subelement, for obtaining the resource allocation information corresponding to described relevant information as the second relevant resource allocation information from the resource allocation information being sent by one or more second agent's clients receiving.
Fourth aspect, the application provides a kind of agent client, and described agent client comprises:
The 3rd Request Interception unit, the 3rd request of obtaining target resource configuration information sending for intercepting and capturing client;
The first request transmitting unit, for sending first request of obtaining described target resource configuration information to proxy server;
Target resource configuration information receiving element, for receiving described target resource configuration information from described proxy server, wherein, described target resource configuration information is extracted from the related resource configuration information getting by described proxy server, and described related resource configuration information comprises the first relevant resource allocation information that is received from media server and the second relevant resource allocation information that is received from one or more second agent's clients;
Target resource configuration information feedback unit, for send described target resource configuration information to described client, obtains playing resource for described client according to described target resource configuration information.
In some embodiments, described agent client also comprises:
Resource allocation information receiving element, for every the scheduled time from client resource allocation information, described resource allocation information is the configuration information of the resource of described client current cache.
In some preferred implementation, described agent client also comprises:
Resource allocation information transmitting element, for every the scheduled time, sends the resource allocation information that is received from described client to proxy server.
The 5th aspect, the application provides a kind of system, comprising:
Agent client described in proxy server described in any possible implementation of the third aspect or the third aspect and any possible implementation of fourth aspect or fourth aspect.
The method of obtaining playing resource, agent client, proxy server and system that above-described embodiment of the application provides, by obtain related resource configuration information from media server and agent client, and from related resource configuration information, extracted target resource configuration information, solved under the condition of media server bandwidth ability deficiency, the problem that client self Internet resources are not fully utilized, has improved the efficiency of downloading.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that the application's other features, objects and advantages will become:
Fig. 1 is the flow chart of an embodiment of the application's method of obtaining playing resource;
Fig. 2 is the flow chart of an embodiment of the application's method of obtaining the second relevant resource allocation information that one or more second agent's clients provide;
Fig. 3 is the flow chart of another embodiment of the application's method of obtaining playing resource;
Fig. 4 is the application for obtaining the structural representation of an embodiment of the proxy server of playing resource;
Fig. 5 is the application for obtaining the structural representation of an embodiment of the agent client of playing resource;
Fig. 6 is the application for obtaining the structural representation of an embodiment of the system of playing resource;
Fig. 7 is the application for obtaining the interaction diagrams of an embodiment of the system of playing resource.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, only show the part relevant with relevant invention.
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the application in detail.
Please refer to Fig. 1, it shows the flow process 100 of an embodiment of the method for obtaining playing resource.In the present embodiment, for the ease of understanding, in conjunction with client that can displaying video, bring in and illustrate.It will be understood by those skilled in the art that this client includes but not limited to smart mobile phone, panel computer, pocket computer on knee, desktop computer, intelligent television and connects internet television box of Digital Television etc.
As shown in Figure 1, in step 101, from first agent's client, obtain the first request of target resource configuration information.
In the present embodiment, by proxy server, from first agent's client, obtained the first request of target resource configuration information.Wherein, the all corresponding agent client of each client, and client and agent client are one to one, agent client can be a feature card in client, also can be a program in client, it will be understood by those skilled in the art that agent client can also have other form, the application is not limited in this respect.For certain client, the agent client corresponding with it is first agent's client, agent client corresponding to other clients (relatively above-mentioned client) is second agent's client, therefore, first agent's client and second agent's client are identical in itself, are all agent clients, any one agent client is first agent's client with respect to its corresponding client, with respect to other clients, is second agent's clients.
In the present embodiment, obtain first of target resource configuration information and ask the request sending to proxy server for agent client.The first request can comprise the address of target resource, as the actual URL of target resource configuration information (Uniform Resource Locator, URL(uniform resource locator)) and desired bandwidth value, it will be appreciated by those skilled in the art that, the first request can also comprise other information, and the application specifically comprises the not restriction of what information to the first request.Wherein, desired bandwidth value is the maximum bandwidth value that client can bear, can be according to receiving the factors such as the size of data and time, cpu resource occupancy, the speed that the current burst of dynamic calculation is downloaded, and according to this speed, the expection bandwidth of next burst being made to anticipation, the application does not limit how obtaining desired bandwidth value.
In the present embodiment, resource allocation information can comprise source address, code rate information and the sound of sound, video, the contents such as information of video slicing.Certainly, it will be understood by those skilled in the art that resource allocation information can also comprise other content, what content is the application specifically comprise to resource allocation information does not limit.
In the present embodiment, obtain target resource configuration information and comprise the configuration information that obtains the configuration information of first broadcasting burst resource and upgrade broadcasting burst resource.
Then,, in step 102, to media server, send second request of obtaining above-mentioned target resource configuration information.
In the present embodiment, by proxy server, to media server, sent second request of obtaining above-mentioned target resource configuration information.Media server is for providing the server of media playing resources.Second request of obtaining target resource configuration information is the request of proxy server to media server transmission.Wherein, the second request can comprise the address (as the actual URL of target resource configuration information) of target resource, second request that it will be understood by those skilled in the art that can also comprise other information, and the application specifically comprises the not restriction of what information to the second request.The first request and the second request are the request of obtaining target resource configuration information, and the address (as the actual URL of target resource configuration information) that all comprises target resource, but may be different in formal or content, for example, the second request is on the basis of the first request, to rearrange and pack to obtain, and the application does not limit the concrete form of the first request and the second request.
Then,, in step 103, from media server, receive the first relevant resource allocation information.
In the present embodiment, by proxy server, from media server, receive the first relevant resource allocation information.Wherein, related resource configuration information is the resource allocation information relevant to target resource, and the first relevant resource allocation information is the related resource configuration information from media server.
Particularly, at media server, comprise a lot of playing resource, media server is after receiving second request of obtaining target resource configuration information being sent by proxy server, can obtain corresponding resource allocation information as the first relevant resource allocation information according to the address (as the actual URL of target resource configuration information) of target resource in request, and the first relevant resource allocation information is sent to media server.
Meanwhile, in step 104, obtain the second relevant resource allocation information that one or more second agent's clients provide.
In the present embodiment, by proxy server, obtain the second relevant resource allocation information that one or more second agent's clients provide.Wherein, the second relevant resource allocation information is the related resource configuration information from one or more second agent's clients.
Particularly, the burst that one or more second agent's clients can send a lot of playing resource is to proxy server, proxy server can, according to the relevant information of target resource, obtain corresponding resource allocation information as the second relevant resource allocation information from the burst of above-mentioned playing resource.
In the present embodiment, the first relevant resource allocation information and the second relevant resource allocation information are related resource configuration information, identical in essence, just source is different, the first relevant resource allocation information is from media server, and the second relevant resource allocation information is from one or more second agent's clients.
It should be noted that, in the present embodiment, step 103 can also can also can be carried out with step 104 before step 104 after step 104 simultaneously, and the application does not limit the order of step 103 and step 104.
Then, in step 105, extract target resource configuration information from related resource configuration information, related resource configuration information comprises that first-phase closes resource allocation information and the second relevant resource allocation information.
In the present embodiment, by proxy server, from the first relevant resource allocation information and the second relevant resource allocation information, extract target resource configuration information, because, related resource configuration information has a lot, but the downloading rate of the burst of the playing resource that these information are corresponding, the sizes that take up space etc. are all not identical, and the proxy server resource allocation information that extraction satisfies condition from related resource configuration information corresponding to the burst of these playing resource is as required as target resource configuration information.
Finally, in step 106, to agent client, send target resource configuration information.
In the present embodiment, by proxy server, the target resource configuration information extracting is sent to agent client, by agent client, this target resource configuration information is sent to client again, client is obtained the burst of playing resource according to target resource configuration information, and the burst of playing resource is carried out to buffer memory.
Although it should be noted that the operation of having described in the accompanying drawings the application's method with particular order,, this not requires or hint must be carried out these operations according to this particular order, or the operation shown in must carrying out all could realize the result of expectation.On the contrary, the step of describing in flow chart can change execution sequence.Additionally or alternatively, can omit some step, a plurality of steps be merged into a step and carry out, and/or a step is decomposed into a plurality of steps carries out.For example, client is when upgrading the configuration information of playing burst resource, and step 102 and step 103 also can be omitted, because the configuration information of the resource of media server can not change, only obtains once.
The method of obtaining playing resource that above-described embodiment of the application provides, by obtain related resource configuration information from media server and agent client, and from related resource configuration information, extracted target resource configuration information, solved under the condition of media server bandwidth ability deficiency, the problem that client self Internet resources are not fully utilized, has improved the efficiency of downloading.
In some optional execution modes, from related resource configuration information, extract target resource configuration information, comprising: the resource allocation information that extraction meets predetermined condition from related resource configuration information is as target resource configuration information.
In the present embodiment, predetermined condition can be the condition of setting as required, and for example, speed of download is the fastest, or nearest etc. apart from client, and which kind of condition is the application be specially to predetermined condition does not limit.
At some preferably in embodiment, from related resource configuration information, extracting the resource allocation information meet predetermined condition specifically comprises as target resource configuration information, according to bandwidth ability and the network congestion of uploading the client of related resource configuration information, URL to the buffer memory burst corresponding with above-mentioned related resource configuration information carries out prioritization, bandwidth ability is higher, the more unobstructed priority of network is higher, using the highest resource allocation information of priority as target resource configuration information.
In some optional execution modes, the method of obtaining playing resource also comprises: every the scheduled time, from agent client, receive resource allocation information, agent client comprises first agent's client and second agent's client, and resource allocation information is the configuration information corresponding to the resource of the client current cache of above-mentioned agent client.
Client is when displaying video, the fragment of download can be carried out to buffer memory, in the present embodiment, every scheduled time client, the resource allocation information of the fragment of buffer memory will be sent to proxy server by agent client, and be temporarily stored on proxy server, when this client sends the resource allocation information of buffer memory fragment of renewal again, by being temporarily stored in the original resource allocation information of this client on proxy server, upgrade.Wherein, the scheduled time can be time span (as 1 second or 2 seconds etc.) arbitrarily, and the application was specially and how long does not limit the scheduled time.
With further reference to Fig. 2, it shows the flow process 200 of an embodiment that step 104 in Fig. 1 is obtained the method for the second relevant resource allocation information that one or more second agent's clients provide.
As shown in Figure 2, in step 201, from first request of obtaining target resource configuration information receiving, obtain the relevant information of target resource.
In the present embodiment, the relevant information of target resource is the information relevant with playing resource, the relevant information of target resource can be title, the sign of playing resource or the data that parse from the fragment of playing resource etc., and which kind of information is the application be specially to the relevant information of target resource does not limit.By proxy server, from first request of obtaining target resource configuration information receiving, obtained the relevant information of target resource.
Then,, in step 202, from the resource allocation information being sent by one or more second agent's clients receiving, obtain the resource allocation information corresponding to relevant information as the second relevant resource allocation information.
In the present embodiment, by proxy server, from the resource allocation information being sent by one or more second agent's clients receiving, obtain the resource allocation information corresponding to relevant information as the second relevant resource allocation information.In the resource allocation information that the agent client receiving due to proxy server sends, some is the resource allocation information with irrelevant other of playing resource, therefore, according to the relevant information of target resource, obtain the resource allocation information corresponding to relevant information as the second relevant resource allocation information, for example, by title, the sign of coupling playing resource or the information such as data that parse, thereby find out the resource allocation information corresponding with relevant information from the fragment of playing resource.
With further reference to Fig. 3, it shows the flow process 300 of another embodiment of the method for obtaining playing resource.
As shown in Figure 3, in step 301, intercept and capture the 3rd request of obtaining target resource configuration information that client sends.
Client can send the request of obtaining target resource configuration information to media server when displaying video, in the present embodiment, Request Interception client being sent to media server by agent client, media server has not just received the request of client transmission.
Wherein, obtaining the 3rd of target resource configuration information asks to media server, to send the request of obtaining target resource configuration information for client.The 3rd request comprises the address (as the actual URL of target resource configuration information) of target resource, and the 3rd request that it will be understood by those skilled in the art that can also comprise other information, and the application specifically comprises the not restriction of what information to the 3rd request.
Then,, in step 302, to proxy server, send first request of obtaining described target resource configuration information.
In the present embodiment, obtain first of target resource configuration information and ask the request sending to proxy server for agent client.The first request comprises address (as the actual URL of target resource configuration information) and the desired bandwidth value of target resource, it will be appreciated by those skilled in the art that, the first request can also comprise other information, and the application specifically comprises the not restriction of what information to the first request.
In the present embodiment, obtain target resource configuration information and comprise the configuration information that obtains the configuration information of first broadcasting burst resource and upgrade broadcasting burst resource.
Then, in step 303, from proxy server receiving target resource allocation information.
In the present embodiment, above-mentioned target resource configuration information is extracted from the related resource configuration information getting by proxy server, and related resource configuration information comprises the first relevant resource allocation information that is received from media server and the second relevant resource allocation information that is received from one or more second agent's clients.
Finally, in step 304, to client, send target resource configuration information, for client, according to target resource configuration information, obtain playing resource.
The method of obtaining playing resource that above-described embodiment of the application provides, by obtain related resource configuration information from media server and agent client, and from related resource configuration information, extracted target resource configuration information, solved under the condition of media server bandwidth ability deficiency, the problem that client self Internet resources are not fully utilized, has improved the efficiency of downloading.
In some optional execution modes, the method for obtaining playing resource also comprises: every the scheduled time, from client resource allocation information, resource allocation information is the configuration information of the resource of client current cache.
Client, when displaying video, can be carried out buffer memory by the fragment of download, in the present embodiment, every scheduled time client, the resource allocation information of the fragment of buffer memory will be sent to agent client.
In some optional execution modes, the method for obtaining playing resource also comprises: every the scheduled time, send the resource allocation information that is received from client to proxy server.
In the present embodiment, every the scheduled time, by agent client, to proxy server, sent the resource allocation information that is received from client, this resource allocation information is temporarily stored on proxy server, when this client sends the resource allocation information of buffer memory fragment of renewal again, by being temporarily stored in the original resource allocation information of this client on proxy server, upgrade.Wherein, the scheduled time can be time span (as 1 second or 2 seconds etc.) arbitrarily, and the application was specially and how long does not limit the scheduled time.
With further reference to Fig. 4, it shows the structural representation 400 of an embodiment of proxy server.
As shown in Figure 4, the proxy server 400 of the present embodiment comprises: the first request reception unit 401, the second request transmitting unit 402, the first relevant resource allocation information receiving element 403, the second relevant resource allocation information acquiring unit 404, target resource configuration information extraction unit 405, target resource configuration information transmitting element 406.Wherein, the first request reception unit 401, for obtaining the first request of target resource configuration information from first agent's client; The second request transmitting unit 402, for sending second request of obtaining target resource configuration information to media server; The first relevant resource allocation information receiving element 403, for receiving the first relevant resource allocation information from media server; And the second relevant resource allocation information acquiring unit 404, the second relevant resource allocation information providing for obtaining one or more second agent's clients; Target resource configuration information extraction unit 405, for extracting target resource configuration information from related resource configuration information, related resource configuration information comprises that first-phase closes resource allocation information and the second relevant resource allocation information; Target resource configuration information transmitting element 406, for sending target resource configuration information to agent client.
In some optional execution modes, target resource configuration information extraction unit 405 specifically for: from related resource configuration information, extract meet predetermined condition resource allocation information as target resource configuration information.
In some optional execution modes, proxy server 400 also comprises: agent client configuration information receiving element (not shown), for receiving resource allocation information from agent client, agent client comprises first agent's client and second agent's client, and resource allocation information is the configuration information corresponding to the resource of the client current cache of above-mentioned agent client.
In some optional execution modes, the second relevant resource allocation information acquiring unit 404 comprises that target resource relevant information is obtained subelement and the second relevant resource allocation information extracts subelement, and target resource relevant information is obtained subelement for obtain the relevant information of target resource from first request of obtaining target resource configuration information receiving; The second relevant resource allocation information extracts subelement for obtaining the resource allocation information corresponding to relevant information as the second relevant resource allocation information from the resource allocation information being sent by one or more second agent's clients receiving.
With further reference to Fig. 5, it shows the structural representation 500 of an embodiment of agent client.
As shown in Figure 5, the agent client 500 of the present embodiment comprises: the 3rd Request Interception unit 501, the first request transmitting unit 502, target resource configuration information receiving element 503, target resource configuration information feedback unit 504.Wherein, the 3rd Request Interception unit 501, the 3rd request of obtaining target resource configuration information sending for intercepting and capturing client; The first request transmitting unit 502, for sending first request of obtaining target resource configuration information to proxy server; Target resource configuration information receiving element 503, be used for from proxy server receiving target resource allocation information, wherein, target resource configuration information is extracted from the related resource configuration information getting by proxy server, and related resource configuration information comprises the first relevant resource allocation information that is received from media server and the second relevant resource allocation information that is received from one or more second agent's clients; Target resource configuration information feedback unit 504, for sending target resource configuration information to described client, obtains playing resource for client according to target resource configuration information.
In some optional execution modes, described agent client 500 also comprises: resource allocation information receiving element (not shown), be used for every the scheduled time, from client resource allocation information, resource allocation information is the configuration information of the resource of client current cache.
In some optional execution modes, described agent client 500 also comprises: resource allocation information transmitting element (not shown), for every the scheduled time, sends the resource allocation information that is received from client to proxy server.
With further reference to Fig. 6, it shows the structural representation 600 of an embodiment of system.
As shown in Figure 6, the system 600 of the present embodiment comprises: proxy server 400 and agent client 500.It should be noted that, can be referring to figs. 1 to the description of the appropriate section of Fig. 5 about the associated description of proxy server 400 and agent client 500 in the present embodiment, the present embodiment will repeat no more herein.
With further reference to Fig. 7, it shows the interaction diagrams 700 of an embodiment of the system of obtaining playing resource.
As shown in Figure 7, the system interaction flow process 700 of obtaining playing resource comprises:
Step S701, client sends the 3rd request of obtaining target resource configuration information, by its corresponding first agent's client.
Step S702, first agent's client sends first request of obtaining target resource configuration information, by proxy server, is received.
Step S703, proxy server sends second request of obtaining target resource configuration information, by media server, is received.
Step S704, media server sends the first relevant resource allocation information, by proxy server, is received.
Step S705, second agent's client sends the second relevant resource allocation information, by proxy server, is received.
Step S706, proxy server extracts target resource configuration information from related resource configuration information.
Step S707, proxy server sends target resource configuration information, by first agent's client.
Step S708, first agent's client sends target resource configuration information, by client.
It should be noted that, can be referring to figs. 1 to the description of the appropriate section of Fig. 6 about the associated description of proxy server and agent client in the present embodiment, the present embodiment will repeat no more herein.
Being described in unit module involved in the embodiment of the present application can realize by the mode of software, also can realize by the mode of hardware.Described unit module also can be arranged in processor, for example, can be described as: a kind of processor comprises the 3rd Request Interception unit, the first request transmitting unit, target resource configuration information receiving element, target resource configuration information feedback unit.Wherein, the title of these unit modules does not form the restriction to this unit module itself under certain conditions, for example, the 3rd Request Interception unit can also be described to " the 3rd unit of asking that obtains target resource configuration information sending for intercepting and capturing client ".
As on the other hand, the application also provides a kind of computer-readable recording medium, and this computer-readable recording medium can be the computer-readable recording medium comprising in device described in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium of allocating in terminal.Described computer-readable recording medium stores the above program of or, and described program is used for carrying out by one or more than one processor the method for obtaining playing resource that is described in the application.
More than describing is only the application's preferred embodiment and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, related invention scope in the application, be not limited to the technical scheme that the particular combination of above-mentioned technical characterictic forms, also should be encompassed in the situation that does not depart from described inventive concept simultaneously, by above-mentioned technical characterictic or its equivalent feature, carry out combination in any and other technical scheme of forming.The technical characterictic that for example in above-mentioned feature and the application, disclosed (but being not limited to) has a similar functions is replaced mutually and the technical scheme that forms.

Claims (15)

1. a method of obtaining playing resource, is characterized in that, described method comprises:
From first agent's client, obtain the first request of target resource configuration information;
To media server, send second request of obtaining described target resource configuration information;
From described media server, receive the first relevant resource allocation information; And
Obtain the second relevant resource allocation information that one or more second agent's clients provide;
From related resource configuration information, extract target resource configuration information, described related resource configuration information comprises the described first relevant resource allocation information and the described second relevant resource allocation information;
To described agent client, send described target resource configuration information.
2. method according to claim 1, is characterized in that, the described target resource configuration information that extracts from related resource configuration information, comprising:
The resource allocation information that extraction meets predetermined condition from described related resource configuration information is as target resource configuration information.
3. method according to claim 1, is characterized in that, described method also comprises:
Every the scheduled time, from agent client, receive resource allocation information, described agent client comprises first agent's client and second agent's client, and described resource allocation information is the configuration information corresponding to the resource of the client current cache of described agent client.
4. method according to claim 3, is characterized in that, described in obtain the second relevant resource allocation information that one or more second agent's clients provide, comprising:
From obtain the first request of target resource configuration information described in receiving, obtain the relevant information of target resource;
From the resource allocation information being sent by one or more second agent's clients receiving, obtain the resource allocation information corresponding to described relevant information as the second relevant resource allocation information.
5. a method of obtaining playing resource, is characterized in that, described method comprises:
Intercept and capture the 3rd request of obtaining target resource configuration information that client sends;
To proxy server, send first request of obtaining described target resource configuration information;
From described proxy server, receive described target resource configuration information, wherein, described target resource configuration information is extracted from the related resource configuration information getting by described proxy server, and described related resource configuration information comprises the first relevant resource allocation information that is received from media server and the second relevant resource allocation information that is received from one or more second agent's clients;
To described client, send described target resource configuration information, for described client, according to described target resource configuration information, obtain playing resource.
6. method according to claim 5, is characterized in that, described method also comprises:
Every the scheduled time, from client resource allocation information, described resource allocation information is the configuration information of the resource of described client current cache.
7. method according to claim 6, is characterized in that, described method also comprises:
Every the scheduled time, to proxy server, send the resource allocation information that is received from described client.
8. a proxy server, is characterized in that, described proxy server comprises:
The first request reception unit, for obtaining the first request of target resource configuration information from first agent's client;
The second request transmitting unit, for sending second request of obtaining described target resource configuration information to media server;
The first relevant resource allocation information receiving element, for receiving the first relevant resource allocation information from described media server; And
The second relevant resource allocation information acquiring unit, the second relevant resource allocation information providing for obtaining one or more second agent's clients;
Target resource configuration information extraction unit, for extracting target resource configuration information from related resource configuration information, described related resource configuration information comprises the described first relevant resource allocation information and the described second relevant resource allocation information;
Target resource configuration information transmitting element, for sending described target resource configuration information to described agent client.
9. proxy server according to claim 8, is characterized in that, described target resource configuration information extraction unit specifically for:
The resource allocation information that extraction meets predetermined condition from described related resource configuration information is as target resource configuration information.
10. proxy server according to claim 8, is characterized in that, described proxy server also comprises:
Agent client configuration information receiving element, for receiving resource allocation information from agent client, described agent client comprises first agent's client and second agent's client, and described resource allocation information is the configuration information corresponding to the resource of the client current cache of described agent client.
11. proxy servers according to claim 10, is characterized in that, the described second relevant resource allocation information acquiring unit, comprising:
Target resource relevant information is obtained subelement, for obtain the relevant information that first of target resource configuration information asks to obtain target resource described in receiving;
The second relevant resource allocation information extracts subelement, for obtaining the resource allocation information corresponding to described relevant information as the second relevant resource allocation information from the resource allocation information being sent by one or more second agent's clients receiving.
12. 1 kinds of agent clients, is characterized in that, described agent client comprises:
The 3rd Request Interception unit, the 3rd request of obtaining target resource configuration information sending for intercepting and capturing client;
The first request transmitting unit, for sending first request of obtaining described target resource configuration information to proxy server;
Target resource configuration information receiving element, for receiving described target resource configuration information from described proxy server, wherein, described target resource configuration information is extracted from the related resource configuration information getting by described proxy server, and described related resource configuration information comprises the first relevant resource allocation information that is received from media server and the second relevant resource allocation information that is received from one or more second agent's clients;
Target resource configuration information feedback unit, for send described target resource configuration information to described client, obtains playing resource for described client according to described target resource configuration information.
13. agent clients according to claim 12, is characterized in that, described agent client also comprises:
Resource allocation information receiving element, for every the scheduled time from client resource allocation information, described resource allocation information is the configuration information of the resource of described client current cache.
14. agent clients according to claim 13, is characterized in that, described agent client also comprises:
Resource allocation information transmitting element, for every the scheduled time, sends the resource allocation information that is received from described client to proxy server.
15. 1 kinds of systems, is characterized in that, comprising: the proxy server as described in claim 8-11 any one and the agent client as described in claim 12-14 any one.
CN201410506341.6A 2014-09-26 2014-09-26 Obtain method, agent client, proxy server and the system of playing resource Active CN104202618B (en)

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 true CN104202618A (en) 2014-12-10
CN104202618B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016112639A1 (en) * 2015-01-16 2016-07-21 京东方科技集团股份有限公司 Streaming media data transmission method, client and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992889A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Mobile terminal adapting method of streaming media
US20090222890A1 (en) * 2005-12-07 2009-09-03 Electronics And Telecommunications Research Institute Method and apparatus for providing streaming service based on p2p and streaming service system using the same
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090222890A1 (en) * 2005-12-07 2009-09-03 Electronics And Telecommunications Research Institute Method and apparatus for providing streaming service based on p2p and streaming service system using the same
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016112639A1 (en) * 2015-01-16 2016-07-21 京东方科技集团股份有限公司 Streaming media data transmission method, client and server
US10516712B2 (en) 2015-01-16 2019-12-24 Boe Technology Group Co., Ltd. Streaming media data transmission method, client and server

Also Published As

Publication number Publication date
CN104202618B (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN104539977B (en) Method for previewing and device is broadcast live
CN110636339B (en) Scheduling method and device based on code rate and electronic equipment
CN106301865B (en) Data processing method and device applied to service providing device
CN109729386B (en) Video file playing starting method and system, electronic equipment and storage medium
CN108063769B (en) Method and device for realizing content service and content distribution network node
CN105451087A (en) Pushing method, terminals, historical data server and system for barrage information
CN104104971A (en) Video file processing method and system
CN103531218B (en) A kind of online multimedia file editing method and system
US20120221681A1 (en) Method, apparatus and system for hierarchically requesting contents in a http streaming system
CN110324680B (en) Video pushing method and device, server, client and storage medium
CN103826139A (en) CDN system, watching server and streaming media data transmission method
CN105187950A (en) Video file playing method, equipment and system
CN102739717A (en) Downloading method, downloading proxy server and network system
US20170142454A1 (en) Third-party video pushing method and system
WO2015035957A1 (en) Video resource obtaining method, backend server, video client, and system
US20120242841A1 (en) System and method for transmitting real-time images
CN112437329A (en) Method, device and equipment for playing video and readable storage medium
CN102404616A (en) Method and system for pushing data cloud based on digital television network
CN107040615B (en) Downloading method of media fragment, terminal and computer readable storage medium
EP3040877A1 (en) Method and system for processing associated content
CN110719526A (en) Video playing method and device
CN110213330B (en) Pre-push system, method, device, electronic equipment and computer readable medium
CN111835801B (en) File downloading method, device, server, edge equipment, terminal and medium
CN104202618A (en) Method for acquiring broadcasting resource, proxy client, proxy server and system
CN111477229B (en) Voice recognition request processing method and device

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